cnhis-design-vue 3.1.45-beta.8 → 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 (118) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +2 -0
  3. package/es/components/base-search/src/index.vue.d.ts +2 -0
  4. package/es/components/base-search/style/index.css +1 -1
  5. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  6. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  7. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  8. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  9. package/es/components/classification/index.d.ts +165 -11
  10. package/es/components/classification/src/components/search-filter/index.vue.d.ts +165 -11
  11. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  12. package/es/components/classification/src/components/set-classification/index.vue.d.ts +165 -11
  13. package/es/components/classification/src/index.vue.d.ts +165 -11
  14. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  17. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  18. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
  19. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
  20. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
  21. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
  22. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
  23. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
  24. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
  25. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +3 -0
  26. package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
  27. package/es/components/index.css +1 -1
  28. package/es/components/quick-search/index.d.ts +2 -0
  29. package/es/components/quick-search/src/index.vue.d.ts +2 -0
  30. package/es/components/quick-search/style/index.css +1 -1
  31. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  32. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
  33. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
  34. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
  35. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
  36. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
  37. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  38. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  39. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +165 -10
  40. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  41. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +16 -1
  42. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  43. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -0
  44. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  45. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +128 -10
  46. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  47. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +61 -0
  48. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -0
  49. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  50. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +163 -10
  51. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +165 -10
  52. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +218 -0
  53. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
  54. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
  55. package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
  56. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
  57. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
  58. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
  59. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
  60. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
  61. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +99 -5
  62. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  63. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -9
  64. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  65. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +7 -5
  66. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  67. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +6 -5
  68. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  69. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +15 -25
  70. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  71. package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +45 -0
  72. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +175 -0
  73. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
  74. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
  75. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +114 -0
  76. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
  77. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
  78. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +520 -25
  79. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  80. package/es/components/table-filter/src/components/render-widget/enums.d.ts +10 -3
  81. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  82. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
  83. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
  84. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
  85. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
  86. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
  87. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
  88. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
  89. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  90. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  91. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +548 -24
  92. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  93. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
  94. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  95. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  96. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  97. package/es/components/table-filter/src/types/enums.d.ts +2 -0
  98. package/es/components/table-filter/src/types/enums.js +1 -1
  99. package/es/env.d.ts +25 -25
  100. package/es/shared/assets/img/failure.png.js +1 -1
  101. package/es/shared/assets/img/no-permission.png.js +1 -1
  102. package/es/shared/assets/img/nodata.png.js +1 -1
  103. package/es/shared/assets/img/notfound.png.js +1 -1
  104. package/es/shared/assets/img/qr.png.js +1 -1
  105. package/es/shared/assets/img/success.png.js +1 -1
  106. package/es/shared/assets/img/video.png.js +1 -1
  107. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  108. package/es/shared/assets/img/xb_big.png.js +1 -1
  109. package/es/shared/assets/img/xb_small.png.js +1 -1
  110. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  111. package/es/shared/package.json.js +1 -1
  112. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  113. package/es/shared/utils/tapable/index.d.ts +139 -0
  114. package/package.json +2 -2
  115. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
  116. package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
  117. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
  118. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
@@ -21,11 +21,68 @@ export declare const WidgetCfgMaps: Map<string, {
21
21
  value: {
22
22
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
23
23
  };
24
+ componentCfg: {
25
+ type: ObjectConstructor;
26
+ };
27
+ }, {
28
+ $attrs: {
29
+ [x: string]: unknown;
30
+ };
31
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
32
+ value: {
33
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
34
+ };
35
+ componentCfg: {
36
+ type: ObjectConstructor;
37
+ };
38
+ }>> & {
39
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
40
+ }>>;
41
+ emit: (event: "update:value", ...args: any[]) => void;
42
+ valueCp: import("vue").WritableComputedRef<any>;
43
+ NSelect: any;
44
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
+ value: {
46
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
47
+ };
48
+ componentCfg: {
49
+ type: ObjectConstructor;
50
+ };
51
+ }>> & {
52
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
53
+ }, {}>;
54
+ props: {
55
+ clearable: boolean;
56
+ filterable: boolean;
57
+ multiple: boolean;
58
+ maxTagCount: string;
59
+ type?: undefined;
60
+ valueFormat?: undefined;
61
+ };
62
+ eventsBySearch: {
63
+ name: string;
64
+ handler(e: KeyboardEvent, search: funcVoid, props: any): void;
65
+ }[];
66
+ handlerProps(props: any, { valueList, multiple, title }?: any): any;
67
+ setDefaultValue: (defaultValue: any) => any;
68
+ style?: undefined;
69
+ } | {
70
+ component: import("vue").DefineComponent<{
71
+ value: {
72
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
73
+ };
74
+ componentCfg: {
75
+ type: ObjectConstructor;
76
+ };
24
77
  }, {
78
+ message: import("naive-ui").MessageApi;
25
79
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
26
80
  value: {
27
81
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
28
82
  };
83
+ componentCfg: {
84
+ type: ObjectConstructor;
85
+ };
29
86
  }>> & {
30
87
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
31
88
  onChangeInitState?: ((...args: any[]) => any) | undefined;
@@ -35,27 +92,151 @@ export declare const WidgetCfgMaps: Map<string, {
35
92
  [x: string]: unknown;
36
93
  };
37
94
  emit: (event: "update:value" | "changeInitState", ...args: any[]) => void;
38
- selectOptions: import("vue").Ref<any[]>;
39
- isRemote: import("vue").Ref<boolean>;
40
95
  isLoading: import("vue").Ref<boolean>;
41
96
  filterApiConfig: import("../../../..").AnyObject;
42
- valueCp: import("vue").WritableComputedRef<unknown>;
43
- searchOptions: (keyword: string) => Promise<any>;
97
+ curPage: import("vue").Ref<number>;
98
+ fieldTitleList: import("vue").Ref<any>;
99
+ selectOptions: import("vue").Ref<any[]>;
100
+ keywordVal: import("vue").Ref<any>;
101
+ totalPage: import("vue").Ref<number>;
102
+ menuProps: {
103
+ class: string;
104
+ };
105
+ isMultiple: import("vue").ComputedRef<unknown>;
106
+ dynamicOptionInfos: import("vue").ComputedRef<any>;
107
+ isLastPage: import("vue").ComputedRef<boolean>;
108
+ valueCp: import("vue").ComputedRef<string | number | any[] | null>;
109
+ setOptionActive: (selectIds: string[]) => void;
110
+ handleUpdateSelect: (value: string[] | null) => void;
111
+ handleUpdatePage: (page: number) => Promise<void>;
112
+ getOptionsData: (keyword: string, curPage: number) => Promise<any>;
44
113
  _handleSearch: (query: string) => Promise<void>;
45
114
  handleSearch: (query: string) => Promise<void>;
46
115
  handleInitData: () => Promise<void>;
47
- renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
- [key: string]: any;
49
- }>;
116
+ handleClear: () => Promise<void>;
50
117
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
118
  [key: string]: any;
52
119
  }>;
53
120
  init: () => Promise<void>;
54
121
  NSelect: any;
122
+ SelectDynamicOption: import("vue").DefineComponent<{
123
+ dynamicOptionInfo: {
124
+ type: import("vue").PropType<import("../../../..").AnyObject>;
125
+ default: () => {};
126
+ };
127
+ fieldTitleList: {
128
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
129
+ default: () => never[];
130
+ };
131
+ optionList: {
132
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
133
+ default: () => never[];
134
+ };
135
+ isMultiple: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ curPage: {
140
+ type: NumberConstructor;
141
+ default: number;
142
+ };
143
+ isLastPage: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ }, {
148
+ selectMinWidth: number;
149
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
150
+ dynamicOptionInfo: {
151
+ type: import("vue").PropType<import("../../../..").AnyObject>;
152
+ default: () => {};
153
+ };
154
+ fieldTitleList: {
155
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
156
+ default: () => never[];
157
+ };
158
+ optionList: {
159
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
160
+ default: () => never[];
161
+ };
162
+ isMultiple: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ curPage: {
167
+ type: NumberConstructor;
168
+ default: number;
169
+ };
170
+ isLastPage: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ }>> & {
175
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
176
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
177
+ }>>;
178
+ emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
179
+ dragEndWidth: import("vue").Ref<number>;
180
+ showKeys: import("vue").ComputedRef<any>;
181
+ titleList: import("vue").ComputedRef<string[]>;
182
+ handleSelect: (option: any) => void;
183
+ searchByPage: (onePage: number) => void;
184
+ changeWidth: ({ distance }: any) => void;
185
+ saveWidth: () => void;
186
+ NEmpty: any;
187
+ NButtonGroup: any;
188
+ NButton: any;
189
+ NIcon: any;
190
+ NPopover: any;
191
+ vFlexibleResize: {
192
+ mounted(el: any, { value }: any): void;
193
+ beforeUnmount(el: any): void;
194
+ };
195
+ 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<{}>>, {}>;
196
+ 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<{}>>, {}>;
197
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
198
+ dynamicOptionInfo: {
199
+ type: import("vue").PropType<import("../../../..").AnyObject>;
200
+ default: () => {};
201
+ };
202
+ fieldTitleList: {
203
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
204
+ default: () => never[];
205
+ };
206
+ optionList: {
207
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
208
+ default: () => never[];
209
+ };
210
+ isMultiple: {
211
+ type: BooleanConstructor;
212
+ default: boolean;
213
+ };
214
+ curPage: {
215
+ type: NumberConstructor;
216
+ default: number;
217
+ };
218
+ isLastPage: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
222
+ }>> & {
223
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
224
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
225
+ }, {
226
+ dynamicOptionInfo: import("../../../..").AnyObject;
227
+ fieldTitleList: import("../../../..").AnyObject[];
228
+ optionList: import("../../../..").AnyObject[];
229
+ isMultiple: boolean;
230
+ curPage: number;
231
+ isLastPage: boolean;
232
+ }>;
55
233
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "changeInitState")[], "update:value" | "changeInitState", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
234
  value: {
57
235
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
58
236
  };
237
+ componentCfg: {
238
+ type: ObjectConstructor;
239
+ };
59
240
  }>> & {
60
241
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
61
242
  onChangeInitState?: ((...args: any[]) => any) | undefined;
@@ -77,6 +258,236 @@ export declare const WidgetCfgMaps: Map<string, {
77
258
  style?: undefined;
78
259
  } | {
79
260
  component: import("vue").DefineComponent<{
261
+ componentCfg: {
262
+ type: import("vue").PropType<import("../../../..").AnyObject>;
263
+ };
264
+ type: {
265
+ type: import("vue").PropType<"date" | "datetime">;
266
+ default: string;
267
+ };
268
+ clearable: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ valueFormat: {
273
+ type: StringConstructor;
274
+ default: string;
275
+ };
276
+ placeholder: {
277
+ type: StringConstructor;
278
+ default: string;
279
+ };
280
+ value: {
281
+ type: StringConstructor;
282
+ default: string;
283
+ };
284
+ }, {
285
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
286
+ componentCfg: {
287
+ type: import("vue").PropType<import("../../../..").AnyObject>;
288
+ };
289
+ type: {
290
+ type: import("vue").PropType<"date" | "datetime">;
291
+ default: string;
292
+ };
293
+ clearable: {
294
+ type: BooleanConstructor;
295
+ default: boolean;
296
+ };
297
+ valueFormat: {
298
+ type: StringConstructor;
299
+ default: string;
300
+ };
301
+ placeholder: {
302
+ type: StringConstructor;
303
+ default: string;
304
+ };
305
+ value: {
306
+ type: StringConstructor;
307
+ default: string;
308
+ };
309
+ }>> & {
310
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
311
+ }>>;
312
+ emit: (event: "update:value", ...args: any[]) => void;
313
+ valueCp: import("vue").Ref<any>;
314
+ isShowDateRange: import("vue").Ref<boolean>;
315
+ radioValue: import("vue").Ref<string>;
316
+ dateFormat: import("vue").ComputedRef<string>;
317
+ showTabStr: import("vue").ComputedRef<string>;
318
+ optionSetting: import("vue").ComputedRef<any>;
319
+ isPastTime: import("vue").ComputedRef<boolean>;
320
+ isFutureTime: import("vue").ComputedRef<boolean>;
321
+ onlyRadio: import("vue").ComputedRef<boolean>;
322
+ defaultTime: import("vue").ComputedRef<string>;
323
+ changeDateShowType: () => void;
324
+ handleClickQuickBtn: (result: string) => void;
325
+ changeRadioValue: (value: string) => void;
326
+ handleChange: (val: any) => void;
327
+ isDateDisabled: (ts: number) => boolean;
328
+ timeDisabled: (ts: number) => {
329
+ isHourDisabled(hour: number): boolean | undefined;
330
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
331
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
332
+ };
333
+ init: () => void;
334
+ NButton: any;
335
+ CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
336
+ updateUnchangedValue: {
337
+ type: BooleanConstructor;
338
+ };
339
+ onConfirm: {
340
+ type: FunctionConstructor;
341
+ };
342
+ }, {
343
+ attrs: {
344
+ [x: string]: unknown;
345
+ };
346
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
347
+ updateUnchangedValue: {
348
+ type: BooleanConstructor;
349
+ };
350
+ onConfirm: {
351
+ type: FunctionConstructor;
352
+ };
353
+ }>> & {}>>;
354
+ datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
355
+ panelInstRef: import("vue").Ref<null>;
356
+ isDateTime: import("vue").ComputedRef<boolean>;
357
+ formatRef: import("vue").ComputedRef<string>;
358
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
359
+ focus: () => any;
360
+ blur: () => any;
361
+ onUpdateShow: (show: boolean) => void;
362
+ onConfirm: (...args: any[]) => void;
363
+ NDatePicker: any;
364
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
365
+ updateUnchangedValue: {
366
+ type: BooleanConstructor;
367
+ };
368
+ onConfirm: {
369
+ type: FunctionConstructor;
370
+ };
371
+ }>>, {
372
+ updateUnchangedValue: boolean;
373
+ }>>;
374
+ DateQuickBtn: import("vue").DefineComponent<{
375
+ componentCfg: {
376
+ type: import("vue").PropType<import("../../../..").AnyObject>;
377
+ };
378
+ type: {
379
+ type: import("vue").PropType<"date" | "datetime">;
380
+ default: string;
381
+ };
382
+ dateFormat: {
383
+ type: StringConstructor;
384
+ default: string;
385
+ };
386
+ radioValue: {
387
+ type: StringConstructor;
388
+ default: string;
389
+ };
390
+ }, {
391
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
392
+ componentCfg: {
393
+ type: import("vue").PropType<import("../../../..").AnyObject>;
394
+ };
395
+ type: {
396
+ type: import("vue").PropType<"date" | "datetime">;
397
+ default: string;
398
+ };
399
+ dateFormat: {
400
+ type: StringConstructor;
401
+ default: string;
402
+ };
403
+ radioValue: {
404
+ type: StringConstructor;
405
+ default: string;
406
+ };
407
+ }>> & {
408
+ onClickQuickBtn?: ((...args: any[]) => any) | undefined;
409
+ onChangeRadioValue?: ((...args: any[]) => any) | undefined;
410
+ }>>;
411
+ emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
412
+ dateList: import("vue").Ref<any[]>;
413
+ optionSetting: import("vue").ComputedRef<any>;
414
+ isRange: import("vue").ComputedRef<any>;
415
+ initData: () => void;
416
+ handleRadioClick: (value: string) => void;
417
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
418
+ componentCfg: {
419
+ type: import("vue").PropType<import("../../../..").AnyObject>;
420
+ };
421
+ type: {
422
+ type: import("vue").PropType<"date" | "datetime">;
423
+ default: string;
424
+ };
425
+ dateFormat: {
426
+ type: StringConstructor;
427
+ default: string;
428
+ };
429
+ radioValue: {
430
+ type: StringConstructor;
431
+ default: string;
432
+ };
433
+ }>> & {
434
+ onClickQuickBtn?: ((...args: any[]) => any) | undefined;
435
+ onChangeRadioValue?: ((...args: any[]) => any) | undefined;
436
+ }, {
437
+ type: "date" | "datetime";
438
+ dateFormat: string;
439
+ radioValue: string;
440
+ }>;
441
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
442
+ componentCfg: {
443
+ type: import("vue").PropType<import("../../../..").AnyObject>;
444
+ };
445
+ type: {
446
+ type: import("vue").PropType<"date" | "datetime">;
447
+ default: string;
448
+ };
449
+ clearable: {
450
+ type: BooleanConstructor;
451
+ default: boolean;
452
+ };
453
+ valueFormat: {
454
+ type: StringConstructor;
455
+ default: string;
456
+ };
457
+ placeholder: {
458
+ type: StringConstructor;
459
+ default: string;
460
+ };
461
+ value: {
462
+ type: StringConstructor;
463
+ default: string;
464
+ };
465
+ }>> & {
466
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
467
+ }, {
468
+ type: "date" | "datetime";
469
+ value: string;
470
+ placeholder: string;
471
+ clearable: boolean;
472
+ valueFormat: string;
473
+ }>;
474
+ props: {
475
+ type: string;
476
+ clearable: boolean;
477
+ valueFormat: string;
478
+ filterable?: undefined;
479
+ multiple?: undefined;
480
+ maxTagCount?: undefined;
481
+ };
482
+ handlerProps(props: any, data?: any): any;
483
+ setDefaultValue: (defaultValue: any) => any;
484
+ eventsBySearch?: undefined;
485
+ style?: undefined;
486
+ } | {
487
+ component: import("vue").DefineComponent<{
488
+ componentCfg: {
489
+ type: import("vue").PropType<import("../../../..").AnyObject>;
490
+ };
80
491
  type: {
81
492
  type: import("vue").PropType<"date" | "datetime">;
82
493
  default: string;
@@ -99,6 +510,9 @@ export declare const WidgetCfgMaps: Map<string, {
99
510
  };
100
511
  }, {
101
512
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
513
+ componentCfg: {
514
+ type: import("vue").PropType<import("../../../..").AnyObject>;
515
+ };
102
516
  type: {
103
517
  type: import("vue").PropType<"date" | "datetime">;
104
518
  default: string;
@@ -124,8 +538,17 @@ export declare const WidgetCfgMaps: Map<string, {
124
538
  }>>;
125
539
  emit: (event: "update:value", ...args: any[]) => void;
126
540
  valueCp: import("vue").Ref<any>;
541
+ rangeShortcuts: import("vue").Ref<any>;
127
542
  dateFormat: import("vue").ComputedRef<string>;
543
+ optionSetting: import("vue").ComputedRef<any>;
128
544
  handleChange: (val: any) => void;
545
+ isDateDisabled: (ts: number) => boolean;
546
+ timeDisabled: (ts: number) => {
547
+ isHourDisabled(hour: number): boolean | undefined;
548
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
549
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
550
+ };
551
+ init: () => void;
129
552
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
130
553
  updateUnchangedValue: {
131
554
  type: BooleanConstructor;
@@ -166,6 +589,9 @@ export declare const WidgetCfgMaps: Map<string, {
166
589
  updateUnchangedValue: boolean;
167
590
  }>>;
168
591
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
592
+ componentCfg: {
593
+ type: import("vue").PropType<import("../../../..").AnyObject>;
594
+ };
169
595
  type: {
170
596
  type: import("vue").PropType<"date" | "datetime">;
171
597
  default: string;
@@ -209,6 +635,9 @@ export declare const WidgetCfgMaps: Map<string, {
209
635
  style?: undefined;
210
636
  } | {
211
637
  component: import("vue").DefineComponent<{
638
+ componentCfg: {
639
+ type: import("vue").PropType<import("../../../..").AnyObject>;
640
+ };
212
641
  type: {
213
642
  type: import("vue").PropType<"date" | "datetime">;
214
643
  default: string;
@@ -235,6 +664,9 @@ export declare const WidgetCfgMaps: Map<string, {
235
664
  };
236
665
  }, {
237
666
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
667
+ componentCfg: {
668
+ type: import("vue").PropType<import("../../../..").AnyObject>;
669
+ };
238
670
  type: {
239
671
  type: import("vue").PropType<"date" | "datetime">;
240
672
  default: string;
@@ -263,18 +695,35 @@ export declare const WidgetCfgMaps: Map<string, {
263
695
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
264
696
  }>>;
265
697
  emit: (event: "update:value", ...args: any[]) => void;
266
- dateList: import("vue").Ref<any[]>;
267
698
  isShowDateRange: import("vue").Ref<boolean>;
268
699
  radioValue: import("vue").Ref<string>;
269
700
  startDate: import("vue").Ref<any>;
270
701
  endDate: import("vue").Ref<any>;
702
+ optionSetting: import("vue").ComputedRef<any>;
703
+ onlyRadio: import("vue").ComputedRef<boolean>;
704
+ isPastTime: import("vue").ComputedRef<boolean>;
705
+ isFutureTime: import("vue").ComputedRef<boolean>;
271
706
  dateFormat: import("vue").ComputedRef<string>;
272
707
  showTabStr: import("vue").ComputedRef<string>;
273
- initData: () => void;
274
- handleRadioClick: (value: string) => void;
708
+ startDefault: import("vue").ComputedRef<string>;
709
+ endDefault: import("vue").ComputedRef<string>;
710
+ handleClickQuickBtn: (result: string) => void;
711
+ changeRadioValue: (value: string) => void;
712
+ changeDateShowType: () => void;
275
713
  handleChange: (val: any, type: "end" | "start") => void;
276
714
  isStartDateDisabled: (ts: number) => boolean;
715
+ timeStartDisabled: (ts: number) => {
716
+ isHourDisabled(hour: number): boolean | 0;
717
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
718
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
719
+ };
277
720
  isEndDateDisabled: (ts: number) => boolean;
721
+ timeEndDisabled: (ts: number) => {
722
+ isHourDisabled(hour: number): boolean | 0;
723
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
724
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
725
+ };
726
+ init: () => void;
278
727
  NButton: any;
279
728
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
280
729
  updateUnchangedValue: {
@@ -315,7 +764,77 @@ export declare const WidgetCfgMaps: Map<string, {
315
764
  }>>, {
316
765
  updateUnchangedValue: boolean;
317
766
  }>>;
767
+ DateQuickBtn: import("vue").DefineComponent<{
768
+ componentCfg: {
769
+ type: import("vue").PropType<import("../../../..").AnyObject>;
770
+ };
771
+ type: {
772
+ type: import("vue").PropType<"date" | "datetime">;
773
+ default: string;
774
+ };
775
+ dateFormat: {
776
+ type: StringConstructor;
777
+ default: string;
778
+ };
779
+ radioValue: {
780
+ type: StringConstructor;
781
+ default: string;
782
+ };
783
+ }, {
784
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
785
+ componentCfg: {
786
+ type: import("vue").PropType<import("../../../..").AnyObject>;
787
+ };
788
+ type: {
789
+ type: import("vue").PropType<"date" | "datetime">;
790
+ default: string;
791
+ };
792
+ dateFormat: {
793
+ type: StringConstructor;
794
+ default: string;
795
+ };
796
+ radioValue: {
797
+ type: StringConstructor;
798
+ default: string;
799
+ };
800
+ }>> & {
801
+ onClickQuickBtn?: ((...args: any[]) => any) | undefined;
802
+ onChangeRadioValue?: ((...args: any[]) => any) | undefined;
803
+ }>>;
804
+ emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
805
+ dateList: import("vue").Ref<any[]>;
806
+ optionSetting: import("vue").ComputedRef<any>;
807
+ isRange: import("vue").ComputedRef<any>;
808
+ initData: () => void;
809
+ handleRadioClick: (value: string) => void;
810
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
811
+ componentCfg: {
812
+ type: import("vue").PropType<import("../../../..").AnyObject>;
813
+ };
814
+ type: {
815
+ type: import("vue").PropType<"date" | "datetime">;
816
+ default: string;
817
+ };
818
+ dateFormat: {
819
+ type: StringConstructor;
820
+ default: string;
821
+ };
822
+ radioValue: {
823
+ type: StringConstructor;
824
+ default: string;
825
+ };
826
+ }>> & {
827
+ onClickQuickBtn?: ((...args: any[]) => any) | undefined;
828
+ onChangeRadioValue?: ((...args: any[]) => any) | undefined;
829
+ }, {
830
+ type: "date" | "datetime";
831
+ dateFormat: string;
832
+ radioValue: string;
833
+ }>;
318
834
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
835
+ componentCfg: {
836
+ type: import("vue").PropType<import("../../../..").AnyObject>;
837
+ };
319
838
  type: {
320
839
  type: import("vue").PropType<"date" | "datetime">;
321
840
  default: string;
@@ -419,14 +938,17 @@ export declare const WidgetCfgMaps: Map<string, {
419
938
  }>>;
420
939
  emit: (event: "update:value", ...args: any[]) => void;
421
940
  valueCp: import("vue").Ref<any>;
941
+ rangeShortcuts: import("vue").Ref<any>;
422
942
  dateFormat: import("vue").ComputedRef<string>;
423
- rangeShortcuts: {
424
- 今天: number[];
425
- 昨天: number[];
426
- 近一周: number[];
427
- 近一月: number[];
428
- };
943
+ optionSetting: import("vue").ComputedRef<any>;
429
944
  handleChange: (val: any) => void;
945
+ isDateDisabled: (ts: number) => boolean;
946
+ timeDisabled: (ts: number) => {
947
+ isHourDisabled(hour: number): boolean | undefined;
948
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
949
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
950
+ };
951
+ init: () => void;
430
952
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
431
953
  updateUnchangedValue: {
432
954
  type: BooleanConstructor;
@@ -496,10 +1018,10 @@ export declare const WidgetCfgMaps: Map<string, {
496
1018
  }, {
497
1019
  type: "datetimerange" | "daterange";
498
1020
  value: string;
1021
+ componentCfg: Record<string, any>;
499
1022
  clearable: boolean;
500
1023
  startPlaceholder: string;
501
1024
  endPlaceholder: string;
502
- componentCfg: Record<string, any>;
503
1025
  }>;
504
1026
  props: {
505
1027
  type: string;
@@ -510,7 +1032,7 @@ export declare const WidgetCfgMaps: Map<string, {
510
1032
  maxTagCount?: undefined;
511
1033
  };
512
1034
  handlerProps(props: any, data?: any): any;
513
- setDefaultValue(defaultValue: any, defValueUnit: any): any;
1035
+ setDefaultValue(defaultValue: any, defValueUnit: any, optionSetting?: string): any;
514
1036
  eventsBySearch?: undefined;
515
1037
  style?: undefined;
516
1038
  } | {
@@ -632,7 +1154,7 @@ export declare const WidgetCfgMaps: Map<string, {
632
1154
  } | {
633
1155
  component: import("vue").DefineComponent<{
634
1156
  componentCfg: {
635
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ISearchType>;
1157
+ type: import("vue").PropType<import("../../../..").AnyObject>;
636
1158
  };
637
1159
  value: {
638
1160
  type: StringConstructor;
@@ -640,10 +1162,11 @@ export declare const WidgetCfgMaps: Map<string, {
640
1162
  };
641
1163
  }, {
642
1164
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
1165
+ message: import("naive-ui").MessageApi;
643
1166
  baseActiveColor: string;
644
1167
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
645
1168
  componentCfg: {
646
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ISearchType>;
1169
+ type: import("vue").PropType<import("../../../..").AnyObject>;
647
1170
  };
648
1171
  value: {
649
1172
  type: StringConstructor;
@@ -678,7 +1201,7 @@ export declare const WidgetCfgMaps: Map<string, {
678
1201
  };
679
1202
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
680
1203
  componentCfg: {
681
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ISearchType>;
1204
+ type: import("vue").PropType<import("../../../..").AnyObject>;
682
1205
  };
683
1206
  value: {
684
1207
  type: StringConstructor;
@@ -704,7 +1227,7 @@ export declare const WidgetCfgMaps: Map<string, {
704
1227
  } | {
705
1228
  component: import("vue").DefineComponent<{
706
1229
  componentCfg: {
707
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ISearchType>;
1230
+ type: import("vue").PropType<import("../../../..").AnyObject>;
708
1231
  };
709
1232
  value: {
710
1233
  type: StringConstructor;
@@ -715,9 +1238,10 @@ export declare const WidgetCfgMaps: Map<string, {
715
1238
  $attrs: {
716
1239
  [x: string]: unknown;
717
1240
  };
1241
+ message: import("naive-ui").MessageApi;
718
1242
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
719
1243
  componentCfg: {
720
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ISearchType>;
1244
+ type: import("vue").PropType<import("../../../..").AnyObject>;
721
1245
  };
722
1246
  value: {
723
1247
  type: StringConstructor;
@@ -735,7 +1259,7 @@ export declare const WidgetCfgMaps: Map<string, {
735
1259
  NSelect: any;
736
1260
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
737
1261
  componentCfg: {
738
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ISearchType>;
1262
+ type: import("vue").PropType<import("../../../..").AnyObject>;
739
1263
  };
740
1264
  value: {
741
1265
  type: StringConstructor;