cnhis-design-vue 3.1.52-beta.33 → 3.1.52-beta.35

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 (47) hide show
  1. package/README.md +87 -87
  2. package/es/components/classification/index.d.ts +10 -10
  3. package/es/components/classification/src/components/search-filter/index.vue.d.ts +10 -10
  4. package/es/components/classification/src/components/set-classification/index.vue.d.ts +10 -10
  5. package/es/components/classification/src/index.vue.d.ts +10 -10
  6. package/es/components/date-picker/index.d.ts +5 -5
  7. package/es/components/date-picker/src/DatePicker.vue.d.ts +7 -5
  8. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  9. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  10. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +5 -5
  11. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  12. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +5 -5
  13. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  14. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  15. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  16. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
  17. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +10 -10
  18. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +5 -5
  19. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +6 -5
  20. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +10 -10
  21. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +10 -10
  22. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +5 -5
  23. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +5 -5
  24. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +5 -5
  25. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +5 -5
  26. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +20 -20
  27. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +20 -20
  28. package/es/env.d.ts +25 -25
  29. package/es/shared/assets/img/failure.png.js +1 -1
  30. package/es/shared/assets/img/no-permission.png.js +1 -1
  31. package/es/shared/assets/img/nodata.png.js +1 -1
  32. package/es/shared/assets/img/notfound.png.js +1 -1
  33. package/es/shared/assets/img/qr.png.js +1 -1
  34. package/es/shared/assets/img/success.png.js +1 -1
  35. package/es/shared/assets/img/video.png.js +1 -1
  36. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  37. package/es/shared/assets/img/xb_big.png.js +1 -1
  38. package/es/shared/assets/img/xb_small.png.js +1 -1
  39. package/es/shared/package.json.js +1 -1
  40. package/package.json +2 -2
  41. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  42. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  43. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  44. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  45. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  46. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  47. package/es/shared/utils/tapable/index.d.ts +0 -139
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
+ ```
@@ -807,7 +807,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
807
807
  type: FunctionConstructor;
808
808
  };
809
809
  formattedValue: {
810
- type: StringConstructor;
810
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
811
811
  };
812
812
  placeholder: {
813
813
  type: StringConstructor;
@@ -827,7 +827,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
827
827
  type: FunctionConstructor;
828
828
  };
829
829
  formattedValue: {
830
- type: StringConstructor;
830
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
831
831
  };
832
832
  placeholder: {
833
833
  type: StringConstructor;
@@ -842,7 +842,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
842
842
  datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
843
843
  panelInstRef: import("vue").Ref<null>;
844
844
  placeholderRef: import("vue").Ref<any>;
845
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
845
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
846
846
  isDateTime: import("vue").ComputedRef<boolean>;
847
847
  formatRef: import("vue").ComputedRef<string>;
848
848
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -851,7 +851,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
851
851
  handleConfirm: (target: HTMLInputElement) => void;
852
852
  onUpdateShow: (show: boolean) => void;
853
853
  onConfirm: (...args: any[]) => Promise<void>;
854
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
854
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
855
855
  NDatePicker: any;
856
856
  }, 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<{
857
857
  updateUnchangedValue: {
@@ -861,7 +861,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
861
861
  type: FunctionConstructor;
862
862
  };
863
863
  formattedValue: {
864
- type: StringConstructor;
864
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
865
865
  };
866
866
  placeholder: {
867
867
  type: StringConstructor;
@@ -1434,7 +1434,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1434
1434
  type: FunctionConstructor;
1435
1435
  };
1436
1436
  formattedValue: {
1437
- type: StringConstructor;
1437
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1438
1438
  };
1439
1439
  placeholder: {
1440
1440
  type: StringConstructor;
@@ -1454,7 +1454,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1454
1454
  type: FunctionConstructor;
1455
1455
  };
1456
1456
  formattedValue: {
1457
- type: StringConstructor;
1457
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1458
1458
  };
1459
1459
  placeholder: {
1460
1460
  type: StringConstructor;
@@ -1469,7 +1469,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1469
1469
  datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
1470
1470
  panelInstRef: import("vue").Ref<null>;
1471
1471
  placeholderRef: import("vue").Ref<any>;
1472
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
1472
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1473
1473
  isDateTime: import("vue").ComputedRef<boolean>;
1474
1474
  formatRef: import("vue").ComputedRef<string>;
1475
1475
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -1478,7 +1478,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1478
1478
  handleConfirm: (target: HTMLInputElement) => void;
1479
1479
  onUpdateShow: (show: boolean) => void;
1480
1480
  onConfirm: (...args: any[]) => Promise<void>;
1481
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
1481
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1482
1482
  NDatePicker: any;
1483
1483
  }, 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<{
1484
1484
  updateUnchangedValue: {
@@ -1488,7 +1488,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1488
1488
  type: FunctionConstructor;
1489
1489
  };
1490
1490
  formattedValue: {
1491
- type: StringConstructor;
1491
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1492
1492
  };
1493
1493
  placeholder: {
1494
1494
  type: StringConstructor;
@@ -284,7 +284,7 @@ declare const _default: import("vue").DefineComponent<{
284
284
  type: FunctionConstructor;
285
285
  };
286
286
  formattedValue: {
287
- type: StringConstructor;
287
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
288
288
  };
289
289
  placeholder: {
290
290
  type: StringConstructor;
@@ -304,7 +304,7 @@ declare const _default: import("vue").DefineComponent<{
304
304
  type: FunctionConstructor;
305
305
  };
306
306
  formattedValue: {
307
- type: StringConstructor;
307
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
308
308
  };
309
309
  placeholder: {
310
310
  type: StringConstructor;
@@ -319,7 +319,7 @@ declare const _default: import("vue").DefineComponent<{
319
319
  datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
320
320
  panelInstRef: import("vue").Ref<null>;
321
321
  placeholderRef: import("vue").Ref<any>;
322
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
322
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
323
323
  isDateTime: import("vue").ComputedRef<boolean>;
324
324
  formatRef: import("vue").ComputedRef<string>;
325
325
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -328,7 +328,7 @@ declare const _default: import("vue").DefineComponent<{
328
328
  handleConfirm: (target: HTMLInputElement) => void;
329
329
  onUpdateShow: (show: boolean) => void;
330
330
  onConfirm: (...args: any[]) => Promise<void>;
331
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
331
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
332
332
  NDatePicker: any;
333
333
  }, 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<{
334
334
  updateUnchangedValue: {
@@ -338,7 +338,7 @@ declare const _default: import("vue").DefineComponent<{
338
338
  type: FunctionConstructor;
339
339
  };
340
340
  formattedValue: {
341
- type: StringConstructor;
341
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
342
342
  };
343
343
  placeholder: {
344
344
  type: StringConstructor;
@@ -911,7 +911,7 @@ declare const _default: import("vue").DefineComponent<{
911
911
  type: FunctionConstructor;
912
912
  };
913
913
  formattedValue: {
914
- type: StringConstructor;
914
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
915
915
  };
916
916
  placeholder: {
917
917
  type: StringConstructor;
@@ -931,7 +931,7 @@ declare const _default: import("vue").DefineComponent<{
931
931
  type: FunctionConstructor;
932
932
  };
933
933
  formattedValue: {
934
- type: StringConstructor;
934
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
935
935
  };
936
936
  placeholder: {
937
937
  type: StringConstructor;
@@ -946,7 +946,7 @@ declare const _default: import("vue").DefineComponent<{
946
946
  datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
947
947
  panelInstRef: import("vue").Ref<null>;
948
948
  placeholderRef: import("vue").Ref<any>;
949
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
949
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
950
950
  isDateTime: import("vue").ComputedRef<boolean>;
951
951
  formatRef: import("vue").ComputedRef<string>;
952
952
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -955,7 +955,7 @@ declare const _default: import("vue").DefineComponent<{
955
955
  handleConfirm: (target: HTMLInputElement) => void;
956
956
  onUpdateShow: (show: boolean) => void;
957
957
  onConfirm: (...args: any[]) => Promise<void>;
958
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
958
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
959
959
  NDatePicker: any;
960
960
  }, 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<{
961
961
  updateUnchangedValue: {
@@ -965,7 +965,7 @@ declare const _default: import("vue").DefineComponent<{
965
965
  type: FunctionConstructor;
966
966
  };
967
967
  formattedValue: {
968
- type: StringConstructor;
968
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
969
969
  };
970
970
  placeholder: {
971
971
  type: StringConstructor;
@@ -594,7 +594,7 @@ declare const _default: import("vue").DefineComponent<{
594
594
  type: FunctionConstructor;
595
595
  };
596
596
  formattedValue: {
597
- type: StringConstructor;
597
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
598
598
  };
599
599
  placeholder: {
600
600
  type: StringConstructor;
@@ -614,7 +614,7 @@ declare const _default: import("vue").DefineComponent<{
614
614
  type: FunctionConstructor;
615
615
  };
616
616
  formattedValue: {
617
- type: StringConstructor;
617
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
618
618
  };
619
619
  placeholder: {
620
620
  type: StringConstructor;
@@ -629,7 +629,7 @@ declare const _default: import("vue").DefineComponent<{
629
629
  datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
630
630
  panelInstRef: import("vue").Ref<null>;
631
631
  placeholderRef: import("vue").Ref<any>;
632
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
632
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
633
633
  isDateTime: import("vue").ComputedRef<boolean>;
634
634
  formatRef: import("vue").ComputedRef<string>;
635
635
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -638,7 +638,7 @@ declare const _default: import("vue").DefineComponent<{
638
638
  handleConfirm: (target: HTMLInputElement) => void;
639
639
  onUpdateShow: (show: boolean) => void;
640
640
  onConfirm: (...args: any[]) => Promise<void>;
641
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
641
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
642
642
  NDatePicker: any;
643
643
  }, 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<{
644
644
  updateUnchangedValue: {
@@ -648,7 +648,7 @@ declare const _default: import("vue").DefineComponent<{
648
648
  type: FunctionConstructor;
649
649
  };
650
650
  formattedValue: {
651
- type: StringConstructor;
651
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
652
652
  };
653
653
  placeholder: {
654
654
  type: StringConstructor;
@@ -1221,7 +1221,7 @@ declare const _default: import("vue").DefineComponent<{
1221
1221
  type: FunctionConstructor;
1222
1222
  };
1223
1223
  formattedValue: {
1224
- type: StringConstructor;
1224
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1225
1225
  };
1226
1226
  placeholder: {
1227
1227
  type: StringConstructor;
@@ -1241,7 +1241,7 @@ declare const _default: import("vue").DefineComponent<{
1241
1241
  type: FunctionConstructor;
1242
1242
  };
1243
1243
  formattedValue: {
1244
- type: StringConstructor;
1244
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1245
1245
  };
1246
1246
  placeholder: {
1247
1247
  type: StringConstructor;
@@ -1256,7 +1256,7 @@ declare const _default: import("vue").DefineComponent<{
1256
1256
  datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
1257
1257
  panelInstRef: import("vue").Ref<null>;
1258
1258
  placeholderRef: import("vue").Ref<any>;
1259
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
1259
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1260
1260
  isDateTime: import("vue").ComputedRef<boolean>;
1261
1261
  formatRef: import("vue").ComputedRef<string>;
1262
1262
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -1265,7 +1265,7 @@ declare const _default: import("vue").DefineComponent<{
1265
1265
  handleConfirm: (target: HTMLInputElement) => void;
1266
1266
  onUpdateShow: (show: boolean) => void;
1267
1267
  onConfirm: (...args: any[]) => Promise<void>;
1268
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
1268
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1269
1269
  NDatePicker: any;
1270
1270
  }, 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<{
1271
1271
  updateUnchangedValue: {
@@ -1275,7 +1275,7 @@ declare const _default: import("vue").DefineComponent<{
1275
1275
  type: FunctionConstructor;
1276
1276
  };
1277
1277
  formattedValue: {
1278
- type: StringConstructor;
1278
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1279
1279
  };
1280
1280
  placeholder: {
1281
1281
  type: StringConstructor;
@@ -808,7 +808,7 @@ declare const _default: import("vue").DefineComponent<{
808
808
  type: FunctionConstructor;
809
809
  };
810
810
  formattedValue: {
811
- type: StringConstructor;
811
+ type: PropType<(string | [string, string]) | null | undefined>;
812
812
  };
813
813
  placeholder: {
814
814
  type: StringConstructor;
@@ -828,7 +828,7 @@ declare const _default: import("vue").DefineComponent<{
828
828
  type: FunctionConstructor;
829
829
  };
830
830
  formattedValue: {
831
- type: StringConstructor;
831
+ type: PropType<(string | [string, string]) | null | undefined>;
832
832
  };
833
833
  placeholder: {
834
834
  type: StringConstructor;
@@ -843,7 +843,7 @@ declare const _default: import("vue").DefineComponent<{
843
843
  datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
844
844
  panelInstRef: import("vue").Ref<null>;
845
845
  placeholderRef: import("vue").Ref<any>;
846
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
846
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
847
847
  isDateTime: import("vue").ComputedRef<boolean>;
848
848
  formatRef: import("vue").ComputedRef<string>;
849
849
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -852,7 +852,7 @@ declare const _default: import("vue").DefineComponent<{
852
852
  handleConfirm: (target: HTMLInputElement) => void;
853
853
  onUpdateShow: (show: boolean) => void;
854
854
  onConfirm: (...args: any[]) => Promise<void>;
855
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
855
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
856
856
  NDatePicker: any;
857
857
  }, 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<{
858
858
  updateUnchangedValue: {
@@ -862,7 +862,7 @@ declare const _default: import("vue").DefineComponent<{
862
862
  type: FunctionConstructor;
863
863
  };
864
864
  formattedValue: {
865
- type: StringConstructor;
865
+ type: PropType<(string | [string, string]) | null | undefined>;
866
866
  };
867
867
  placeholder: {
868
868
  type: StringConstructor;
@@ -1435,7 +1435,7 @@ declare const _default: import("vue").DefineComponent<{
1435
1435
  type: FunctionConstructor;
1436
1436
  };
1437
1437
  formattedValue: {
1438
- type: StringConstructor;
1438
+ type: PropType<(string | [string, string]) | null | undefined>;
1439
1439
  };
1440
1440
  placeholder: {
1441
1441
  type: StringConstructor;
@@ -1455,7 +1455,7 @@ declare const _default: import("vue").DefineComponent<{
1455
1455
  type: FunctionConstructor;
1456
1456
  };
1457
1457
  formattedValue: {
1458
- type: StringConstructor;
1458
+ type: PropType<(string | [string, string]) | null | undefined>;
1459
1459
  };
1460
1460
  placeholder: {
1461
1461
  type: StringConstructor;
@@ -1470,7 +1470,7 @@ declare const _default: import("vue").DefineComponent<{
1470
1470
  datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
1471
1471
  panelInstRef: import("vue").Ref<null>;
1472
1472
  placeholderRef: import("vue").Ref<any>;
1473
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
1473
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1474
1474
  isDateTime: import("vue").ComputedRef<boolean>;
1475
1475
  formatRef: import("vue").ComputedRef<string>;
1476
1476
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -1479,7 +1479,7 @@ declare const _default: import("vue").DefineComponent<{
1479
1479
  handleConfirm: (target: HTMLInputElement) => void;
1480
1480
  onUpdateShow: (show: boolean) => void;
1481
1481
  onConfirm: (...args: any[]) => Promise<void>;
1482
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
1482
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1483
1483
  NDatePicker: any;
1484
1484
  }, 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<{
1485
1485
  updateUnchangedValue: {
@@ -1489,7 +1489,7 @@ declare const _default: import("vue").DefineComponent<{
1489
1489
  type: FunctionConstructor;
1490
1490
  };
1491
1491
  formattedValue: {
1492
- type: StringConstructor;
1492
+ type: PropType<(string | [string, string]) | null | undefined>;
1493
1493
  };
1494
1494
  placeholder: {
1495
1495
  type: StringConstructor;
@@ -7,7 +7,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
7
7
  type: FunctionConstructor;
8
8
  };
9
9
  formattedValue: {
10
- type: StringConstructor;
10
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
11
11
  };
12
12
  placeholder: {
13
13
  type: StringConstructor;
@@ -27,7 +27,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
27
27
  type: FunctionConstructor;
28
28
  };
29
29
  formattedValue: {
30
- type: StringConstructor;
30
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
31
31
  };
32
32
  placeholder: {
33
33
  type: StringConstructor;
@@ -42,7 +42,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
42
42
  datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
43
43
  panelInstRef: import("vue").Ref<null>;
44
44
  placeholderRef: import("vue").Ref<any>;
45
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
45
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
46
46
  isDateTime: import("vue").ComputedRef<boolean>;
47
47
  formatRef: import("vue").ComputedRef<string>;
48
48
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -51,7 +51,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
51
51
  handleConfirm: (target: HTMLInputElement) => void;
52
52
  onUpdateShow: (show: boolean) => void;
53
53
  onConfirm: (...args: any[]) => Promise<void>;
54
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
54
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
55
55
  NDatePicker: any;
56
56
  }, 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<{
57
57
  updateUnchangedValue: {
@@ -61,7 +61,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
61
61
  type: FunctionConstructor;
62
62
  };
63
63
  formattedValue: {
64
- type: StringConstructor;
64
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
65
65
  };
66
66
  placeholder: {
67
67
  type: StringConstructor;
@@ -1,4 +1,6 @@
1
+ import { PropType } from 'vue';
1
2
  import { AnyObject } from '../../../../es/shared/types';
3
+ declare type FormattedValue = string | [string, string];
2
4
  declare const _default: import("vue").DefineComponent<{
3
5
  updateUnchangedValue: {
4
6
  type: BooleanConstructor;
@@ -7,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
7
9
  type: FunctionConstructor;
8
10
  };
9
11
  formattedValue: {
10
- type: StringConstructor;
12
+ type: PropType<FormattedValue | null | undefined>;
11
13
  };
12
14
  placeholder: {
13
15
  type: StringConstructor;
@@ -27,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
27
29
  type: FunctionConstructor;
28
30
  };
29
31
  formattedValue: {
30
- type: StringConstructor;
32
+ type: PropType<FormattedValue | null | undefined>;
31
33
  };
32
34
  placeholder: {
33
35
  type: StringConstructor;
@@ -42,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
42
44
  datePickerRef: import("vue").Ref<AnyObject | null>;
43
45
  panelInstRef: import("vue").Ref<null>;
44
46
  placeholderRef: import("vue").Ref<any>;
45
- currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
47
+ currentFormattedValue: import("vue").WritableComputedRef<FormattedValue | null | undefined>;
46
48
  isDateTime: import("vue").ComputedRef<boolean>;
47
49
  formatRef: import("vue").ComputedRef<string>;
48
50
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
@@ -51,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
51
53
  handleConfirm: (target: HTMLInputElement) => void;
52
54
  onUpdateShow: (show: boolean) => void;
53
55
  onConfirm: (...args: any[]) => Promise<void>;
54
- isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
56
+ isAllowedInvalidValue: (value: FormattedValue | null | undefined) => boolean | "" | undefined;
55
57
  NDatePicker: any;
56
58
  }, 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<{
57
59
  updateUnchangedValue: {
@@ -61,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
61
63
  type: FunctionConstructor;
62
64
  };
63
65
  formattedValue: {
64
- type: StringConstructor;
66
+ type: PropType<FormattedValue | null | undefined>;
65
67
  };
66
68
  placeholder: {
67
69
  type: StringConstructor;