cnhis-design-vue 3.3.3-beta.73 → 3.3.3-beta.75

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 (59) hide show
  1. package/README.md +87 -87
  2. package/es/components/big-table/src/hooks/useBatchEditing.js +25 -24
  3. package/es/components/classification/index.d.ts +16 -258
  4. package/es/components/classification/src/components/search-filter/index.vue.d.ts +16 -258
  5. package/es/components/classification/src/components/set-classification/index.vue.d.ts +16 -258
  6. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  7. package/es/components/classification/src/index.vue.d.ts +16 -258
  8. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  9. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  10. package/es/components/form-render/src/constants/index.d.ts +1 -1
  11. package/es/components/iho-chat/index.d.ts +19 -2
  12. package/es/components/iho-chat/src/Index.vue.d.ts +19 -2
  13. package/es/components/iho-chat/src/Index.vue2.js +14 -6
  14. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  15. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  16. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +0 -1
  17. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +0 -20
  18. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  19. package/es/components/iho-chat/src/components/Video.vue.d.ts +6 -1
  20. package/es/components/iho-chat/src/components/Video.vue2.js +23 -11
  21. package/es/components/iho-chat/src/hooks/useVideo.d.ts +8 -8
  22. package/es/components/iho-chat/src/hooks/useVideo.js +22 -2
  23. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  24. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -22
  25. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  26. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  27. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  28. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  29. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  30. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  31. package/es/components/info-header/index.d.ts +9 -17
  32. package/es/components/info-header/src/InfoHeader.vue.d.ts +9 -17
  33. package/es/components/info-header/src/InfoHeader.vue2.js +2 -2
  34. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +3 -2
  35. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -1
  36. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +9 -17
  37. package/es/components/info-header/src/constants/index.d.ts +1 -1
  38. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  39. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  40. package/es/components/shortcut-provider/src/types/index.d.ts +1 -0
  41. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  42. package/es/components/shortcut-provider/src/utils/index.js +3 -1
  43. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -258
  44. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +7 -129
  45. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +107 -13
  46. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +7 -129
  47. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +7 -129
  48. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +2 -8
  49. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -258
  50. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +26 -1
  51. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -258
  52. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +3 -1
  53. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +16 -1
  54. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  55. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  56. package/es/components/table-filter/src/types/enums.js +1 -0
  57. package/es/env.d.ts +25 -25
  58. package/es/shared/package.json.js +1 -1
  59. package/package.json +2 -3
package/README.md CHANGED
@@ -1,87 +1,87 @@
1
- # 安装
2
-
3
- ```shell
4
- npm i cnhis-design-vue@[版本号]
5
- # or
6
- yarn add cnhis-design-vue@[版本号] #推荐
7
- ```
8
-
9
- ## 1.全局引入
10
-
11
- ```typescript
12
- // main.ts
13
- import { createApp } from 'vue';
14
- import App from './App.vue';
15
- import 'cnhis-design-vue/es/packages/index.css';
16
- import cui from 'cnhis-design-vue';
17
-
18
- const app = createApp(App);
19
- app.use(cui).mount('#app');
20
- ```
21
-
22
- ## 2. 按需引入
23
-
24
- 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
-
26
- ### 2.1 样式处理方式1 (按需引入样式)
27
-
28
- ```shell
29
- # 安装自动导入样式的插件
30
- npm i -d vite-plugin-style-import
31
- ```
32
-
33
- ```typescript
34
- // vite.config.ts
35
- import { defineConfig } from 'vite';
36
- import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
-
38
- export default defineConfig({
39
- plugins: [
40
- // ...otherPlugins
41
- createStyleImportPlugin({
42
- libs: [
43
- {
44
- libraryName: 'cnhis-design-vue',
45
- esModule: true,
46
- ensureStyleFile: true,
47
- resolveStyle: name => {
48
- return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
- }
50
- }
51
- ]
52
- })
53
- ]
54
- });
55
- ```
56
-
57
- ### 2.2 样式处理方式2 (全局引入样式)
58
-
59
- ```typescript
60
- // main.ts
61
- import 'cnhis-design-vue/es/components/index.css';
62
- ```
63
-
64
- ## 3.FAQ
65
-
66
- ### 3.1 项目打包后样式丢失
67
-
68
- 处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
69
-
70
- ```typescript
71
- // vite.config.ts
72
- import { defineConfig } from 'vite';
73
-
74
- export default defineConfig({
75
- build: {
76
- rollupOptions: {
77
- // ..otherOptions
78
- output: {
79
- dir: './dist',
80
- manualChunks: {
81
- 'cnhis-vendor': ['cnhis-design-vue']
82
- }
83
- }
84
- }
85
- }
86
- });
87
- ```
1
+ # 安装
2
+
3
+ ```shell
4
+ npm i cnhis-design-vue@[版本号]
5
+ # or
6
+ yarn add cnhis-design-vue@[版本号] #推荐
7
+ ```
8
+
9
+ ## 1.全局引入
10
+
11
+ ```typescript
12
+ // main.ts
13
+ import { createApp } from 'vue';
14
+ import App from './App.vue';
15
+ import 'cnhis-design-vue/es/packages/index.css';
16
+ import cui from 'cnhis-design-vue';
17
+
18
+ const app = createApp(App);
19
+ app.use(cui).mount('#app');
20
+ ```
21
+
22
+ ## 2. 按需引入
23
+
24
+ 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
+
26
+ ### 2.1 样式处理方式1 (按需引入样式)
27
+
28
+ ```shell
29
+ # 安装自动导入样式的插件
30
+ npm i -d vite-plugin-style-import
31
+ ```
32
+
33
+ ```typescript
34
+ // vite.config.ts
35
+ import { defineConfig } from 'vite';
36
+ import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
+
38
+ export default defineConfig({
39
+ plugins: [
40
+ // ...otherPlugins
41
+ createStyleImportPlugin({
42
+ libs: [
43
+ {
44
+ libraryName: 'cnhis-design-vue',
45
+ esModule: true,
46
+ ensureStyleFile: true,
47
+ resolveStyle: name => {
48
+ return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
+ }
50
+ }
51
+ ]
52
+ })
53
+ ]
54
+ });
55
+ ```
56
+
57
+ ### 2.2 样式处理方式2 (全局引入样式)
58
+
59
+ ```typescript
60
+ // main.ts
61
+ import 'cnhis-design-vue/es/components/index.css';
62
+ ```
63
+
64
+ ## 3.FAQ
65
+
66
+ ### 3.1 项目打包后样式丢失
67
+
68
+ 处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
69
+
70
+ ```typescript
71
+ // vite.config.ts
72
+ import { defineConfig } from 'vite';
73
+
74
+ export default defineConfig({
75
+ build: {
76
+ rollupOptions: {
77
+ // ..otherOptions
78
+ output: {
79
+ dir: './dist',
80
+ manualChunks: {
81
+ 'cnhis-vendor': ['cnhis-design-vue']
82
+ }
83
+ }
84
+ }
85
+ }
86
+ });
87
+ ```
@@ -1,7 +1,7 @@
1
1
  import { computed, watch } from 'vue';
2
2
 
3
3
  const useBatchEditing = (props, state, emit, xGrid) => {
4
- let _batchFieldList = [];
4
+ const _batchFieldList = [];
5
5
  const allSelectedLength = computed(() => {
6
6
  var _a;
7
7
  return (_a = state.checkedRows) == null ? void 0 : _a.length;
@@ -49,8 +49,8 @@ const useBatchEditing = (props, state, emit, xGrid) => {
49
49
  var _a;
50
50
  if (props.isNestTable)
51
51
  return false;
52
- let id = props.inlineEditCurrentOperateBtnId;
53
- let find = (_a = props.btnList) == null ? void 0 : _a.find((item) => {
52
+ const id = props.inlineEditCurrentOperateBtnId;
53
+ const find = (_a = props.btnList) == null ? void 0 : _a.find((item) => {
54
54
  var _a2, _b;
55
55
  return ((_b = (_a2 = item == null ? void 0 : item.settingObj) == null ? void 0 : _a2[0]) == null ? void 0 : _b.obj_id) === id;
56
56
  });
@@ -59,17 +59,17 @@ const useBatchEditing = (props, state, emit, xGrid) => {
59
59
  const setRowStatus = (vxeTable, rowIndex, value) => {
60
60
  if (!vxeTable)
61
61
  return false;
62
- let tableWrap = [vxeTable.querySelector(".vxe-table--main-wrapper"), vxeTable.querySelector(".vxe-table--fixed-left-wrapper"), vxeTable.querySelector(".vxe-table--fixed-right-wrapper"), vxeTable.querySelector(".vxe-table--body-wrapper")].filter((item) => item);
62
+ const tableWrap = [vxeTable.querySelector(".vxe-table--main-wrapper"), vxeTable.querySelector(".vxe-table--fixed-left-wrapper"), vxeTable.querySelector(".vxe-table--fixed-right-wrapper"), vxeTable.querySelector(".vxe-table--body-wrapper")].filter((item) => item);
63
63
  let rowWrap = [];
64
64
  tableWrap.forEach((table) => {
65
- let row = [...table.querySelectorAll(".vxe-body--row")];
65
+ const row = [...table.querySelectorAll(".vxe-body--row")];
66
66
  rowWrap.push(row[rowIndex]);
67
67
  });
68
68
  rowWrap = rowWrap.filter((item) => item);
69
- let height = value ? `${value}px` : value;
70
- let lineHeight = value ? `${value - 10}px` : value;
69
+ const height = value ? `${value}px` : value;
70
+ const lineHeight = value ? `${value - 10}px` : value;
71
71
  rowWrap.forEach((wrap) => {
72
- let rowItemWrap = [...wrap.querySelectorAll(".vxe-cell")];
72
+ const rowItemWrap = [...wrap.querySelectorAll(".vxe-cell")];
73
73
  rowItemWrap.push(...[...wrap.querySelectorAll(".vxe-body--column")]);
74
74
  rowItemWrap.forEach((dom) => {
75
75
  dom.style.setProperty("height", height, "important");
@@ -89,7 +89,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
89
89
  if (state.isTree != 0)
90
90
  return false;
91
91
  const vxeTable = xGrid.value;
92
- let {
92
+ const {
93
93
  tableData
94
94
  } = vxeTable.getTableData();
95
95
  vxeTable.clearActived();
@@ -103,7 +103,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
103
103
  const hideSelectCloumns = () => {
104
104
  var _a;
105
105
  const vxeTable = xGrid.value;
106
- let findSelectCloumns = (_a = vxeTable.getColumns()) == null ? void 0 : _a.find((item) => item.type === state.selectType);
106
+ const findSelectCloumns = (_a = vxeTable.getColumns()) == null ? void 0 : _a.find((item) => item.type === state.selectType);
107
107
  findSelectCloumns && vxeTable.hideColumn(findSelectCloumns);
108
108
  };
109
109
  const checkListFormUnionSettingParamsList = () => {
@@ -114,7 +114,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
114
114
  emit("triggerSpinning", false);
115
115
  return false;
116
116
  }
117
- let find = (_c = props.fieldListOriginal) == null ? void 0 : _c.find((item) => item.isEdit == 1);
117
+ const find = (_c = props.fieldListOriginal) == null ? void 0 : _c.find((item) => item.isEdit == 1);
118
118
  if (!find) {
119
119
  window.$message.warning("\u6CA1\u6709\u8BBE\u7F6E\u53EF\u7F16\u8F91\u5B57\u6BB5\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");
120
120
  emit("resetInlineEditAll", false);
@@ -131,7 +131,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
131
131
  const getInlineOpreateRow = () => {
132
132
  const vxeTable = xGrid.value;
133
133
  if (props.isInlineAdding) {
134
- let {
134
+ const {
135
135
  tableData
136
136
  } = vxeTable.getTableData();
137
137
  return {
@@ -140,7 +140,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
140
140
  };
141
141
  }
142
142
  if (state.showButtonTop == 0) {
143
- let {
143
+ const {
144
144
  row: row2,
145
145
  index: rowIndex
146
146
  } = state.currentClickBtnInfo || {};
@@ -149,9 +149,10 @@ const useBatchEditing = (props, state, emit, xGrid) => {
149
149
  rowIndex
150
150
  };
151
151
  }
152
- let row = props.clickRowData;
153
- for (var i = 0; i < props.oldtableData.length; i++) {
154
- let item = props.oldtableData[i];
152
+ const row = props.clickRowData;
153
+ let i = 0;
154
+ for (i = 0; i < props.oldtableData.length; i++) {
155
+ const item = props.oldtableData[i];
155
156
  if (item[props.primaryKey] === row[props.primaryKey])
156
157
  break;
157
158
  }
@@ -162,7 +163,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
162
163
  };
163
164
  const setAllRowInlineStatus = (disabled = false) => {
164
165
  const vxeTable = xGrid.value;
165
- let {
166
+ const {
166
167
  tableData
167
168
  } = vxeTable.getTableData();
168
169
  tableData.forEach((row) => {
@@ -180,7 +181,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
180
181
  if (state.isTree != 0)
181
182
  return false;
182
183
  const vxeTable = xGrid.value;
183
- let {
184
+ const {
184
185
  row,
185
186
  rowIndex
186
187
  } = getInlineOpreateRow();
@@ -210,7 +211,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
210
211
  const getBatchOpreateRows = () => {
211
212
  const vxeTable = xGrid.value;
212
213
  let arr = state.checkedRows;
213
- let {
214
+ const {
214
215
  tableData
215
216
  } = vxeTable.getTableData();
216
217
  if (props.isEditAllRow) {
@@ -219,7 +220,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
219
220
  arr.forEach((item, i) => {
220
221
  let rowIndex = i;
221
222
  if (!props.isEditAllRow) {
222
- let matchIndex = tableData.findIndex((v) => v[props.primaryKey] == item[props.primaryKey]);
223
+ const matchIndex = tableData.findIndex((v) => v[props.primaryKey] == item[props.primaryKey]);
223
224
  if (matchIndex > -1) {
224
225
  rowIndex = matchIndex;
225
226
  }
@@ -235,7 +236,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
235
236
  }
236
237
  let arr = state.checkedRows;
237
238
  const vxeTable = xGrid.value;
238
- let {
239
+ const {
239
240
  tableData
240
241
  } = vxeTable.getTableData();
241
242
  if (props.isEditAllRow) {
@@ -247,7 +248,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
247
248
  getBatchOpreateRows();
248
249
  };
249
250
  const handleEditFormLength = () => {
250
- let fieldLength = _batchFieldList.length;
251
+ const fieldLength = _batchFieldList.length;
251
252
  if (!fieldLength)
252
253
  return;
253
254
  if (props.isInlineAdding) {
@@ -255,7 +256,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
255
256
  }
256
257
  let rowLen = allSelectedLength.value;
257
258
  const vxeTable = xGrid.value;
258
- let {
259
+ const {
259
260
  tableData
260
261
  } = vxeTable.getTableData();
261
262
  if (props.isEditAllRow) {
@@ -270,7 +271,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
270
271
  return false;
271
272
  emit("resetBatchEditDoneStatus");
272
273
  let formDom = document.querySelectorAll(".js-inlineEditForm");
273
- let sliceLen = handleEditFormLength();
274
+ const sliceLen = handleEditFormLength();
274
275
  formDom = [...formDom].slice(0, sliceLen);
275
276
  formDom.forEach((item) => {
276
277
  item.__vue__.handleSubmitForm();
@@ -626,6 +626,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
626
626
  class: string;
627
627
  };
628
628
  specialDateRange: string[];
629
+ specialCustomDateRange: string[];
629
630
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
630
631
  actionList_prop: {
631
632
  type: import("vue").PropType<import("..").IClassifyListType>;
@@ -1017,6 +1018,12 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1017
1018
  label: string;
1018
1019
  value: string;
1019
1020
  }[];
1021
+ widgetRangeOptions: {
1022
+ label: string;
1023
+ value: string;
1024
+ }[];
1025
+ startDateNum: import("vue").Ref<any>;
1026
+ endDateNum: import("vue").Ref<any>;
1020
1027
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1021
1028
  filterType: {
1022
1029
  type: StringConstructor;
@@ -1049,135 +1056,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1049
1056
  emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
1050
1057
  valueCp: import("vue").WritableComputedRef<any>;
1051
1058
  presetValCp: import("vue").WritableComputedRef<string>;
1052
- CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
1053
- updateUnchangedValue: {
1054
- type: BooleanConstructor;
1055
- };
1056
- onConfirm: {
1057
- type: FunctionConstructor;
1058
- };
1059
- formattedValue: {
1060
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1061
- };
1062
- placeholder: {
1063
- type: StringConstructor;
1064
- };
1065
- allowedInvalidValue: {
1066
- type: StringConstructor;
1067
- };
1068
- to: {
1069
- type: import("vue").PropType<string | false | HTMLElement>;
1070
- default: string;
1071
- };
1072
- holidays: {
1073
- type: import("vue").PropType<Date[]>;
1074
- default: () => never[];
1075
- };
1076
- type: {
1077
- type: StringConstructor;
1078
- default: string;
1079
- };
1080
- isDateDisabled: {
1081
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1082
- };
1083
- }, {
1084
- attrs: {
1085
- [x: string]: unknown;
1086
- };
1087
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1088
- updateUnchangedValue: {
1089
- type: BooleanConstructor;
1090
- };
1091
- onConfirm: {
1092
- type: FunctionConstructor;
1093
- };
1094
- formattedValue: {
1095
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1096
- };
1097
- placeholder: {
1098
- type: StringConstructor;
1099
- };
1100
- allowedInvalidValue: {
1101
- type: StringConstructor;
1102
- };
1103
- to: {
1104
- type: import("vue").PropType<string | false | HTMLElement>;
1105
- default: string;
1106
- };
1107
- holidays: {
1108
- type: import("vue").PropType<Date[]>;
1109
- default: () => never[];
1110
- };
1111
- type: {
1112
- type: StringConstructor;
1113
- default: string;
1114
- };
1115
- isDateDisabled: {
1116
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1117
- };
1118
- }>> & {
1119
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1120
- }>>;
1121
- emit: (event: "update:formatted-value", ...args: any[]) => void;
1122
- datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
1123
- panelInstRef: import("vue").Ref<null>;
1124
- placeholderRef: import("vue").Ref<any>;
1125
- oldValue: string;
1126
- currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1127
- isDateTime: import("vue").ComputedRef<boolean>;
1128
- formatRef: import("vue").ComputedRef<string>;
1129
- panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1130
- _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1131
- focus: () => any;
1132
- blur: () => any;
1133
- handleConfirm: (target: HTMLInputElement) => void;
1134
- onUpdateShow: (show: boolean) => Promise<void>;
1135
- watchers: import("../../shared/types").AnyFn[];
1136
- stopWatcher: () => void;
1137
- setHoliday: (show: boolean) => Promise<void>;
1138
- onConfirm: (...args: any[]) => Promise<void>;
1139
- isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1140
- setShortcutValue: (type: "month" | "week") => Promise<void>;
1141
- NDatePicker: any;
1142
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1143
- updateUnchangedValue: {
1144
- type: BooleanConstructor;
1145
- };
1146
- onConfirm: {
1147
- type: FunctionConstructor;
1148
- };
1149
- formattedValue: {
1150
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1151
- };
1152
- placeholder: {
1153
- type: StringConstructor;
1154
- };
1155
- allowedInvalidValue: {
1156
- type: StringConstructor;
1157
- };
1158
- to: {
1159
- type: import("vue").PropType<string | false | HTMLElement>;
1160
- default: string;
1161
- };
1162
- holidays: {
1163
- type: import("vue").PropType<Date[]>;
1164
- default: () => never[];
1165
- };
1166
- type: {
1167
- type: StringConstructor;
1168
- default: string;
1169
- };
1170
- isDateDisabled: {
1171
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1172
- };
1173
- }>> & {
1174
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1175
- }, {
1176
- type: string;
1177
- updateUnchangedValue: boolean;
1178
- to: string | false | HTMLElement;
1179
- holidays: Date[];
1180
- }>>;
1059
+ handleChange: (val: any, type: "start" | "end") => void;
1181
1060
  NSelect: any;
1182
1061
  NInputNumber: any;
1183
1062
  }, 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<{
@@ -1972,6 +1851,12 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1972
1851
  label: string;
1973
1852
  value: string;
1974
1853
  }[];
1854
+ widgetRangeOptions: {
1855
+ label: string;
1856
+ value: string;
1857
+ }[];
1858
+ startDateNum: import("vue").Ref<any>;
1859
+ endDateNum: import("vue").Ref<any>;
1975
1860
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1976
1861
  filterType: {
1977
1862
  type: StringConstructor;
@@ -2004,135 +1889,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2004
1889
  emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
2005
1890
  valueCp: import("vue").WritableComputedRef<any>;
2006
1891
  presetValCp: import("vue").WritableComputedRef<string>;
2007
- CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
2008
- updateUnchangedValue: {
2009
- type: BooleanConstructor;
2010
- };
2011
- onConfirm: {
2012
- type: FunctionConstructor;
2013
- };
2014
- formattedValue: {
2015
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
2016
- };
2017
- placeholder: {
2018
- type: StringConstructor;
2019
- };
2020
- allowedInvalidValue: {
2021
- type: StringConstructor;
2022
- };
2023
- to: {
2024
- type: import("vue").PropType<string | false | HTMLElement>;
2025
- default: string;
2026
- };
2027
- holidays: {
2028
- type: import("vue").PropType<Date[]>;
2029
- default: () => never[];
2030
- };
2031
- type: {
2032
- type: StringConstructor;
2033
- default: string;
2034
- };
2035
- isDateDisabled: {
2036
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2037
- };
2038
- }, {
2039
- attrs: {
2040
- [x: string]: unknown;
2041
- };
2042
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2043
- updateUnchangedValue: {
2044
- type: BooleanConstructor;
2045
- };
2046
- onConfirm: {
2047
- type: FunctionConstructor;
2048
- };
2049
- formattedValue: {
2050
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
2051
- };
2052
- placeholder: {
2053
- type: StringConstructor;
2054
- };
2055
- allowedInvalidValue: {
2056
- type: StringConstructor;
2057
- };
2058
- to: {
2059
- type: import("vue").PropType<string | false | HTMLElement>;
2060
- default: string;
2061
- };
2062
- holidays: {
2063
- type: import("vue").PropType<Date[]>;
2064
- default: () => never[];
2065
- };
2066
- type: {
2067
- type: StringConstructor;
2068
- default: string;
2069
- };
2070
- isDateDisabled: {
2071
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2072
- };
2073
- }>> & {
2074
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2075
- }>>;
2076
- emit: (event: "update:formatted-value", ...args: any[]) => void;
2077
- datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
2078
- panelInstRef: import("vue").Ref<null>;
2079
- placeholderRef: import("vue").Ref<any>;
2080
- oldValue: string;
2081
- currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
2082
- isDateTime: import("vue").ComputedRef<boolean>;
2083
- formatRef: import("vue").ComputedRef<string>;
2084
- panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
2085
- _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
2086
- focus: () => any;
2087
- blur: () => any;
2088
- handleConfirm: (target: HTMLInputElement) => void;
2089
- onUpdateShow: (show: boolean) => Promise<void>;
2090
- watchers: import("../../shared/types").AnyFn[];
2091
- stopWatcher: () => void;
2092
- setHoliday: (show: boolean) => Promise<void>;
2093
- onConfirm: (...args: any[]) => Promise<void>;
2094
- isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
2095
- setShortcutValue: (type: "month" | "week") => Promise<void>;
2096
- NDatePicker: any;
2097
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2098
- updateUnchangedValue: {
2099
- type: BooleanConstructor;
2100
- };
2101
- onConfirm: {
2102
- type: FunctionConstructor;
2103
- };
2104
- formattedValue: {
2105
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
2106
- };
2107
- placeholder: {
2108
- type: StringConstructor;
2109
- };
2110
- allowedInvalidValue: {
2111
- type: StringConstructor;
2112
- };
2113
- to: {
2114
- type: import("vue").PropType<string | false | HTMLElement>;
2115
- default: string;
2116
- };
2117
- holidays: {
2118
- type: import("vue").PropType<Date[]>;
2119
- default: () => never[];
2120
- };
2121
- type: {
2122
- type: StringConstructor;
2123
- default: string;
2124
- };
2125
- isDateDisabled: {
2126
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2127
- };
2128
- }>> & {
2129
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2130
- }, {
2131
- type: string;
2132
- updateUnchangedValue: boolean;
2133
- to: string | false | HTMLElement;
2134
- holidays: Date[];
2135
- }>>;
1892
+ handleChange: (val: any, type: "start" | "end") => void;
2136
1893
  NSelect: any;
2137
1894
  NInputNumber: any;
2138
1895
  }, 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<{
@@ -2394,6 +2151,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2394
2151
  ConditionEnums: {
2395
2152
  NULL: string;
2396
2153
  EQUAL: string;
2154
+ CUSTOM_RANGE: string;
2397
2155
  IN_THE_PAST: string;
2398
2156
  IN_THE_FUTURE: string;
2399
2157
  IN_THE_PAST_DI: string;