cnhis-design-vue 3.1.52-beta.13 → 3.1.52-beta.14
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.
- package/README.md +87 -87
- package/es/components/classification/index.d.ts +22 -4
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +22 -4
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +22 -4
- package/es/components/classification/src/index.vue.d.ts +22 -4
- package/es/components/date-picker/index.d.ts +11 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +11 -2
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +11 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +11 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/recommend-search/index.d.ts +1 -1
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +22 -4
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +22 -4
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +22 -4
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +44 -8
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +44 -8
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +2 -1
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- 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
|
+
```
|
|
@@ -809,6 +809,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
809
809
|
placeholder: {
|
|
810
810
|
type: StringConstructor;
|
|
811
811
|
};
|
|
812
|
+
allowedInvalidValue: {
|
|
813
|
+
type: StringConstructor;
|
|
814
|
+
};
|
|
812
815
|
}, {
|
|
813
816
|
attrs: {
|
|
814
817
|
[x: string]: unknown;
|
|
@@ -826,6 +829,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
826
829
|
placeholder: {
|
|
827
830
|
type: StringConstructor;
|
|
828
831
|
};
|
|
832
|
+
allowedInvalidValue: {
|
|
833
|
+
type: StringConstructor;
|
|
834
|
+
};
|
|
829
835
|
}>> & {
|
|
830
836
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
831
837
|
}>>;
|
|
@@ -833,7 +839,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
833
839
|
datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
|
|
834
840
|
panelInstRef: import("vue").Ref<null>;
|
|
835
841
|
placeholderRef: import("vue").Ref<any>;
|
|
836
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
842
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
837
843
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
838
844
|
formatRef: import("vue").ComputedRef<string>;
|
|
839
845
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -842,7 +848,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
842
848
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
843
849
|
onUpdateShow: (show: boolean) => void;
|
|
844
850
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
845
|
-
|
|
851
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
846
852
|
NDatePicker: any;
|
|
847
853
|
}, 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<{
|
|
848
854
|
updateUnchangedValue: {
|
|
@@ -857,6 +863,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
857
863
|
placeholder: {
|
|
858
864
|
type: StringConstructor;
|
|
859
865
|
};
|
|
866
|
+
allowedInvalidValue: {
|
|
867
|
+
type: StringConstructor;
|
|
868
|
+
};
|
|
860
869
|
}>> & {
|
|
861
870
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
862
871
|
}, {
|
|
@@ -1428,6 +1437,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1428
1437
|
placeholder: {
|
|
1429
1438
|
type: StringConstructor;
|
|
1430
1439
|
};
|
|
1440
|
+
allowedInvalidValue: {
|
|
1441
|
+
type: StringConstructor;
|
|
1442
|
+
};
|
|
1431
1443
|
}, {
|
|
1432
1444
|
attrs: {
|
|
1433
1445
|
[x: string]: unknown;
|
|
@@ -1445,6 +1457,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1445
1457
|
placeholder: {
|
|
1446
1458
|
type: StringConstructor;
|
|
1447
1459
|
};
|
|
1460
|
+
allowedInvalidValue: {
|
|
1461
|
+
type: StringConstructor;
|
|
1462
|
+
};
|
|
1448
1463
|
}>> & {
|
|
1449
1464
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1450
1465
|
}>>;
|
|
@@ -1452,7 +1467,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1452
1467
|
datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
|
|
1453
1468
|
panelInstRef: import("vue").Ref<null>;
|
|
1454
1469
|
placeholderRef: import("vue").Ref<any>;
|
|
1455
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1470
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
1456
1471
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1457
1472
|
formatRef: import("vue").ComputedRef<string>;
|
|
1458
1473
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1461,7 +1476,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1461
1476
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1462
1477
|
onUpdateShow: (show: boolean) => void;
|
|
1463
1478
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1464
|
-
|
|
1479
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
1465
1480
|
NDatePicker: any;
|
|
1466
1481
|
}, 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<{
|
|
1467
1482
|
updateUnchangedValue: {
|
|
@@ -1476,6 +1491,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1476
1491
|
placeholder: {
|
|
1477
1492
|
type: StringConstructor;
|
|
1478
1493
|
};
|
|
1494
|
+
allowedInvalidValue: {
|
|
1495
|
+
type: StringConstructor;
|
|
1496
|
+
};
|
|
1479
1497
|
}>> & {
|
|
1480
1498
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1481
1499
|
}, {
|
|
@@ -286,6 +286,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
286
|
placeholder: {
|
|
287
287
|
type: StringConstructor;
|
|
288
288
|
};
|
|
289
|
+
allowedInvalidValue: {
|
|
290
|
+
type: StringConstructor;
|
|
291
|
+
};
|
|
289
292
|
}, {
|
|
290
293
|
attrs: {
|
|
291
294
|
[x: string]: unknown;
|
|
@@ -303,6 +306,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
303
306
|
placeholder: {
|
|
304
307
|
type: StringConstructor;
|
|
305
308
|
};
|
|
309
|
+
allowedInvalidValue: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
};
|
|
306
312
|
}>> & {
|
|
307
313
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
308
314
|
}>>;
|
|
@@ -310,7 +316,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
316
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
311
317
|
panelInstRef: import("vue").Ref<null>;
|
|
312
318
|
placeholderRef: import("vue").Ref<any>;
|
|
313
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
319
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
314
320
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
315
321
|
formatRef: import("vue").ComputedRef<string>;
|
|
316
322
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -319,7 +325,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
319
325
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
320
326
|
onUpdateShow: (show: boolean) => void;
|
|
321
327
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
322
|
-
|
|
328
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
323
329
|
NDatePicker: any;
|
|
324
330
|
}, 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<{
|
|
325
331
|
updateUnchangedValue: {
|
|
@@ -334,6 +340,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
334
340
|
placeholder: {
|
|
335
341
|
type: StringConstructor;
|
|
336
342
|
};
|
|
343
|
+
allowedInvalidValue: {
|
|
344
|
+
type: StringConstructor;
|
|
345
|
+
};
|
|
337
346
|
}>> & {
|
|
338
347
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
339
348
|
}, {
|
|
@@ -905,6 +914,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
905
914
|
placeholder: {
|
|
906
915
|
type: StringConstructor;
|
|
907
916
|
};
|
|
917
|
+
allowedInvalidValue: {
|
|
918
|
+
type: StringConstructor;
|
|
919
|
+
};
|
|
908
920
|
}, {
|
|
909
921
|
attrs: {
|
|
910
922
|
[x: string]: unknown;
|
|
@@ -922,6 +934,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
922
934
|
placeholder: {
|
|
923
935
|
type: StringConstructor;
|
|
924
936
|
};
|
|
937
|
+
allowedInvalidValue: {
|
|
938
|
+
type: StringConstructor;
|
|
939
|
+
};
|
|
925
940
|
}>> & {
|
|
926
941
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
927
942
|
}>>;
|
|
@@ -929,7 +944,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
929
944
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
930
945
|
panelInstRef: import("vue").Ref<null>;
|
|
931
946
|
placeholderRef: import("vue").Ref<any>;
|
|
932
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
947
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
933
948
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
934
949
|
formatRef: import("vue").ComputedRef<string>;
|
|
935
950
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -938,7 +953,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
938
953
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
939
954
|
onUpdateShow: (show: boolean) => void;
|
|
940
955
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
941
|
-
|
|
956
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
942
957
|
NDatePicker: any;
|
|
943
958
|
}, 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<{
|
|
944
959
|
updateUnchangedValue: {
|
|
@@ -953,6 +968,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
953
968
|
placeholder: {
|
|
954
969
|
type: StringConstructor;
|
|
955
970
|
};
|
|
971
|
+
allowedInvalidValue: {
|
|
972
|
+
type: StringConstructor;
|
|
973
|
+
};
|
|
956
974
|
}>> & {
|
|
957
975
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
958
976
|
}, {
|
|
@@ -596,6 +596,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
596
596
|
placeholder: {
|
|
597
597
|
type: StringConstructor;
|
|
598
598
|
};
|
|
599
|
+
allowedInvalidValue: {
|
|
600
|
+
type: StringConstructor;
|
|
601
|
+
};
|
|
599
602
|
}, {
|
|
600
603
|
attrs: {
|
|
601
604
|
[x: string]: unknown;
|
|
@@ -613,6 +616,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
613
616
|
placeholder: {
|
|
614
617
|
type: StringConstructor;
|
|
615
618
|
};
|
|
619
|
+
allowedInvalidValue: {
|
|
620
|
+
type: StringConstructor;
|
|
621
|
+
};
|
|
616
622
|
}>> & {
|
|
617
623
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
618
624
|
}>>;
|
|
@@ -620,7 +626,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
620
626
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
621
627
|
panelInstRef: import("vue").Ref<null>;
|
|
622
628
|
placeholderRef: import("vue").Ref<any>;
|
|
623
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
629
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
624
630
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
625
631
|
formatRef: import("vue").ComputedRef<string>;
|
|
626
632
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -629,7 +635,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
629
635
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
630
636
|
onUpdateShow: (show: boolean) => void;
|
|
631
637
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
632
|
-
|
|
638
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
633
639
|
NDatePicker: any;
|
|
634
640
|
}, 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<{
|
|
635
641
|
updateUnchangedValue: {
|
|
@@ -644,6 +650,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
644
650
|
placeholder: {
|
|
645
651
|
type: StringConstructor;
|
|
646
652
|
};
|
|
653
|
+
allowedInvalidValue: {
|
|
654
|
+
type: StringConstructor;
|
|
655
|
+
};
|
|
647
656
|
}>> & {
|
|
648
657
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
649
658
|
}, {
|
|
@@ -1215,6 +1224,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1215
1224
|
placeholder: {
|
|
1216
1225
|
type: StringConstructor;
|
|
1217
1226
|
};
|
|
1227
|
+
allowedInvalidValue: {
|
|
1228
|
+
type: StringConstructor;
|
|
1229
|
+
};
|
|
1218
1230
|
}, {
|
|
1219
1231
|
attrs: {
|
|
1220
1232
|
[x: string]: unknown;
|
|
@@ -1232,6 +1244,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1232
1244
|
placeholder: {
|
|
1233
1245
|
type: StringConstructor;
|
|
1234
1246
|
};
|
|
1247
|
+
allowedInvalidValue: {
|
|
1248
|
+
type: StringConstructor;
|
|
1249
|
+
};
|
|
1235
1250
|
}>> & {
|
|
1236
1251
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1237
1252
|
}>>;
|
|
@@ -1239,7 +1254,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1239
1254
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1240
1255
|
panelInstRef: import("vue").Ref<null>;
|
|
1241
1256
|
placeholderRef: import("vue").Ref<any>;
|
|
1242
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1257
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
1243
1258
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1244
1259
|
formatRef: import("vue").ComputedRef<string>;
|
|
1245
1260
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1248,7 +1263,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1248
1263
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1249
1264
|
onUpdateShow: (show: boolean) => void;
|
|
1250
1265
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1251
|
-
|
|
1266
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
1252
1267
|
NDatePicker: any;
|
|
1253
1268
|
}, 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<{
|
|
1254
1269
|
updateUnchangedValue: {
|
|
@@ -1263,6 +1278,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1263
1278
|
placeholder: {
|
|
1264
1279
|
type: StringConstructor;
|
|
1265
1280
|
};
|
|
1281
|
+
allowedInvalidValue: {
|
|
1282
|
+
type: StringConstructor;
|
|
1283
|
+
};
|
|
1266
1284
|
}>> & {
|
|
1267
1285
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1268
1286
|
}, {
|
|
@@ -810,6 +810,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
810
810
|
placeholder: {
|
|
811
811
|
type: StringConstructor;
|
|
812
812
|
};
|
|
813
|
+
allowedInvalidValue: {
|
|
814
|
+
type: StringConstructor;
|
|
815
|
+
};
|
|
813
816
|
}, {
|
|
814
817
|
attrs: {
|
|
815
818
|
[x: string]: unknown;
|
|
@@ -827,6 +830,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
827
830
|
placeholder: {
|
|
828
831
|
type: StringConstructor;
|
|
829
832
|
};
|
|
833
|
+
allowedInvalidValue: {
|
|
834
|
+
type: StringConstructor;
|
|
835
|
+
};
|
|
830
836
|
}>> & {
|
|
831
837
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
832
838
|
}>>;
|
|
@@ -834,7 +840,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
834
840
|
datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
|
|
835
841
|
panelInstRef: import("vue").Ref<null>;
|
|
836
842
|
placeholderRef: import("vue").Ref<any>;
|
|
837
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
843
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
838
844
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
839
845
|
formatRef: import("vue").ComputedRef<string>;
|
|
840
846
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -843,7 +849,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
843
849
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
844
850
|
onUpdateShow: (show: boolean) => void;
|
|
845
851
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
846
|
-
|
|
852
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
847
853
|
NDatePicker: any;
|
|
848
854
|
}, 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<{
|
|
849
855
|
updateUnchangedValue: {
|
|
@@ -858,6 +864,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
858
864
|
placeholder: {
|
|
859
865
|
type: StringConstructor;
|
|
860
866
|
};
|
|
867
|
+
allowedInvalidValue: {
|
|
868
|
+
type: StringConstructor;
|
|
869
|
+
};
|
|
861
870
|
}>> & {
|
|
862
871
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
863
872
|
}, {
|
|
@@ -1429,6 +1438,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1429
1438
|
placeholder: {
|
|
1430
1439
|
type: StringConstructor;
|
|
1431
1440
|
};
|
|
1441
|
+
allowedInvalidValue: {
|
|
1442
|
+
type: StringConstructor;
|
|
1443
|
+
};
|
|
1432
1444
|
}, {
|
|
1433
1445
|
attrs: {
|
|
1434
1446
|
[x: string]: unknown;
|
|
@@ -1446,6 +1458,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1446
1458
|
placeholder: {
|
|
1447
1459
|
type: StringConstructor;
|
|
1448
1460
|
};
|
|
1461
|
+
allowedInvalidValue: {
|
|
1462
|
+
type: StringConstructor;
|
|
1463
|
+
};
|
|
1449
1464
|
}>> & {
|
|
1450
1465
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1451
1466
|
}>>;
|
|
@@ -1453,7 +1468,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1453
1468
|
datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
|
|
1454
1469
|
panelInstRef: import("vue").Ref<null>;
|
|
1455
1470
|
placeholderRef: import("vue").Ref<any>;
|
|
1456
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1471
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
1457
1472
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1458
1473
|
formatRef: import("vue").ComputedRef<string>;
|
|
1459
1474
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1462,7 +1477,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1462
1477
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1463
1478
|
onUpdateShow: (show: boolean) => void;
|
|
1464
1479
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1465
|
-
|
|
1480
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
1466
1481
|
NDatePicker: any;
|
|
1467
1482
|
}, 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<{
|
|
1468
1483
|
updateUnchangedValue: {
|
|
@@ -1477,6 +1492,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1477
1492
|
placeholder: {
|
|
1478
1493
|
type: StringConstructor;
|
|
1479
1494
|
};
|
|
1495
|
+
allowedInvalidValue: {
|
|
1496
|
+
type: StringConstructor;
|
|
1497
|
+
};
|
|
1480
1498
|
}>> & {
|
|
1481
1499
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1482
1500
|
}, {
|
|
@@ -12,6 +12,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
12
12
|
placeholder: {
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
};
|
|
15
|
+
allowedInvalidValue: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
15
18
|
}, {
|
|
16
19
|
attrs: {
|
|
17
20
|
[x: string]: unknown;
|
|
@@ -29,6 +32,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
29
32
|
placeholder: {
|
|
30
33
|
type: StringConstructor;
|
|
31
34
|
};
|
|
35
|
+
allowedInvalidValue: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
32
38
|
}>> & {
|
|
33
39
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
34
40
|
}>>;
|
|
@@ -36,7 +42,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
36
42
|
datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
|
|
37
43
|
panelInstRef: import("vue").Ref<null>;
|
|
38
44
|
placeholderRef: import("vue").Ref<any>;
|
|
39
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
45
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
40
46
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
41
47
|
formatRef: import("vue").ComputedRef<string>;
|
|
42
48
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -45,7 +51,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
45
51
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
46
52
|
onUpdateShow: (show: boolean) => void;
|
|
47
53
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
48
|
-
|
|
54
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
49
55
|
NDatePicker: any;
|
|
50
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<{
|
|
51
57
|
updateUnchangedValue: {
|
|
@@ -60,6 +66,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
60
66
|
placeholder: {
|
|
61
67
|
type: StringConstructor;
|
|
62
68
|
};
|
|
69
|
+
allowedInvalidValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
63
72
|
}>> & {
|
|
64
73
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
65
74
|
}, {
|
|
@@ -12,6 +12,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
placeholder: {
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
};
|
|
15
|
+
allowedInvalidValue: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
15
18
|
}, {
|
|
16
19
|
attrs: {
|
|
17
20
|
[x: string]: unknown;
|
|
@@ -29,6 +32,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
32
|
placeholder: {
|
|
30
33
|
type: StringConstructor;
|
|
31
34
|
};
|
|
35
|
+
allowedInvalidValue: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
32
38
|
}>> & {
|
|
33
39
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
34
40
|
}>>;
|
|
@@ -36,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
42
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
37
43
|
panelInstRef: import("vue").Ref<null>;
|
|
38
44
|
placeholderRef: import("vue").Ref<any>;
|
|
39
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
45
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
40
46
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
41
47
|
formatRef: import("vue").ComputedRef<string>;
|
|
42
48
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -45,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
51
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
46
52
|
onUpdateShow: (show: boolean) => void;
|
|
47
53
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
48
|
-
|
|
54
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
49
55
|
NDatePicker: any;
|
|
50
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<{
|
|
51
57
|
updateUnchangedValue: {
|
|
@@ -60,6 +66,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
66
|
placeholder: {
|
|
61
67
|
type: StringConstructor;
|
|
62
68
|
};
|
|
69
|
+
allowedInvalidValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
63
72
|
}>> & {
|
|
64
73
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
65
74
|
}, {
|