cnhis-design-vue 3.1.52-beta.3 → 3.1.52-beta.5
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 +40 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +40 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +40 -6
- package/es/components/classification/src/index.vue.d.ts +40 -6
- package/es/components/date-picker/index.d.ts +20 -3
- package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -3
- 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/iho-table/src/plugins/defaultValuePlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +20 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -3
- 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 +40 -6
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +40 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +40 -6
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +80 -12
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +80 -12
- 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 +7 -2
- 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
|
+
```
|
|
@@ -803,6 +803,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
803
803
|
onConfirm: {
|
|
804
804
|
type: FunctionConstructor;
|
|
805
805
|
};
|
|
806
|
+
formattedValue: {
|
|
807
|
+
type: StringConstructor;
|
|
808
|
+
};
|
|
806
809
|
}, {
|
|
807
810
|
attrs: {
|
|
808
811
|
[x: string]: unknown;
|
|
@@ -814,9 +817,17 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
814
817
|
onConfirm: {
|
|
815
818
|
type: FunctionConstructor;
|
|
816
819
|
};
|
|
817
|
-
|
|
820
|
+
formattedValue: {
|
|
821
|
+
type: StringConstructor;
|
|
822
|
+
};
|
|
823
|
+
}>> & {
|
|
824
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
825
|
+
}>>;
|
|
826
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
818
827
|
datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
|
|
819
828
|
panelInstRef: import("vue").Ref<null>;
|
|
829
|
+
placeholder: import("vue").Ref<any>;
|
|
830
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
820
831
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
821
832
|
formatRef: import("vue").ComputedRef<string>;
|
|
822
833
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -825,15 +836,21 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
825
836
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
826
837
|
onUpdateShow: (show: boolean) => void;
|
|
827
838
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
839
|
+
isOtherValue: (value?: string) => boolean;
|
|
828
840
|
NDatePicker: any;
|
|
829
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
841
|
+
}, 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<{
|
|
830
842
|
updateUnchangedValue: {
|
|
831
843
|
type: BooleanConstructor;
|
|
832
844
|
};
|
|
833
845
|
onConfirm: {
|
|
834
846
|
type: FunctionConstructor;
|
|
835
847
|
};
|
|
836
|
-
|
|
848
|
+
formattedValue: {
|
|
849
|
+
type: StringConstructor;
|
|
850
|
+
};
|
|
851
|
+
}>> & {
|
|
852
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
853
|
+
}, {
|
|
837
854
|
updateUnchangedValue: boolean;
|
|
838
855
|
}>>;
|
|
839
856
|
NSelect: any;
|
|
@@ -1396,6 +1413,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1396
1413
|
onConfirm: {
|
|
1397
1414
|
type: FunctionConstructor;
|
|
1398
1415
|
};
|
|
1416
|
+
formattedValue: {
|
|
1417
|
+
type: StringConstructor;
|
|
1418
|
+
};
|
|
1399
1419
|
}, {
|
|
1400
1420
|
attrs: {
|
|
1401
1421
|
[x: string]: unknown;
|
|
@@ -1407,9 +1427,17 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1407
1427
|
onConfirm: {
|
|
1408
1428
|
type: FunctionConstructor;
|
|
1409
1429
|
};
|
|
1410
|
-
|
|
1430
|
+
formattedValue: {
|
|
1431
|
+
type: StringConstructor;
|
|
1432
|
+
};
|
|
1433
|
+
}>> & {
|
|
1434
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1435
|
+
}>>;
|
|
1436
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1411
1437
|
datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
|
|
1412
1438
|
panelInstRef: import("vue").Ref<null>;
|
|
1439
|
+
placeholder: import("vue").Ref<any>;
|
|
1440
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1413
1441
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1414
1442
|
formatRef: import("vue").ComputedRef<string>;
|
|
1415
1443
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1418,15 +1446,21 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1418
1446
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1419
1447
|
onUpdateShow: (show: boolean) => void;
|
|
1420
1448
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1449
|
+
isOtherValue: (value?: string) => boolean;
|
|
1421
1450
|
NDatePicker: any;
|
|
1422
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1451
|
+
}, 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<{
|
|
1423
1452
|
updateUnchangedValue: {
|
|
1424
1453
|
type: BooleanConstructor;
|
|
1425
1454
|
};
|
|
1426
1455
|
onConfirm: {
|
|
1427
1456
|
type: FunctionConstructor;
|
|
1428
1457
|
};
|
|
1429
|
-
|
|
1458
|
+
formattedValue: {
|
|
1459
|
+
type: StringConstructor;
|
|
1460
|
+
};
|
|
1461
|
+
}>> & {
|
|
1462
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1463
|
+
}, {
|
|
1430
1464
|
updateUnchangedValue: boolean;
|
|
1431
1465
|
}>>;
|
|
1432
1466
|
WidgetValEnums: {
|
|
@@ -280,6 +280,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
280
280
|
onConfirm: {
|
|
281
281
|
type: FunctionConstructor;
|
|
282
282
|
};
|
|
283
|
+
formattedValue: {
|
|
284
|
+
type: StringConstructor;
|
|
285
|
+
};
|
|
283
286
|
}, {
|
|
284
287
|
attrs: {
|
|
285
288
|
[x: string]: unknown;
|
|
@@ -291,9 +294,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
291
294
|
onConfirm: {
|
|
292
295
|
type: FunctionConstructor;
|
|
293
296
|
};
|
|
294
|
-
|
|
297
|
+
formattedValue: {
|
|
298
|
+
type: StringConstructor;
|
|
299
|
+
};
|
|
300
|
+
}>> & {
|
|
301
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
302
|
+
}>>;
|
|
303
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
295
304
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
296
305
|
panelInstRef: import("vue").Ref<null>;
|
|
306
|
+
placeholder: import("vue").Ref<any>;
|
|
307
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
297
308
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
298
309
|
formatRef: import("vue").ComputedRef<string>;
|
|
299
310
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -302,15 +313,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
302
313
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
303
314
|
onUpdateShow: (show: boolean) => void;
|
|
304
315
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
316
|
+
isOtherValue: (value?: string) => boolean;
|
|
305
317
|
NDatePicker: any;
|
|
306
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
318
|
+
}, 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<{
|
|
307
319
|
updateUnchangedValue: {
|
|
308
320
|
type: BooleanConstructor;
|
|
309
321
|
};
|
|
310
322
|
onConfirm: {
|
|
311
323
|
type: FunctionConstructor;
|
|
312
324
|
};
|
|
313
|
-
|
|
325
|
+
formattedValue: {
|
|
326
|
+
type: StringConstructor;
|
|
327
|
+
};
|
|
328
|
+
}>> & {
|
|
329
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
330
|
+
}, {
|
|
314
331
|
updateUnchangedValue: boolean;
|
|
315
332
|
}>>;
|
|
316
333
|
NSelect: any;
|
|
@@ -873,6 +890,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
873
890
|
onConfirm: {
|
|
874
891
|
type: FunctionConstructor;
|
|
875
892
|
};
|
|
893
|
+
formattedValue: {
|
|
894
|
+
type: StringConstructor;
|
|
895
|
+
};
|
|
876
896
|
}, {
|
|
877
897
|
attrs: {
|
|
878
898
|
[x: string]: unknown;
|
|
@@ -884,9 +904,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
884
904
|
onConfirm: {
|
|
885
905
|
type: FunctionConstructor;
|
|
886
906
|
};
|
|
887
|
-
|
|
907
|
+
formattedValue: {
|
|
908
|
+
type: StringConstructor;
|
|
909
|
+
};
|
|
910
|
+
}>> & {
|
|
911
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
912
|
+
}>>;
|
|
913
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
888
914
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
889
915
|
panelInstRef: import("vue").Ref<null>;
|
|
916
|
+
placeholder: import("vue").Ref<any>;
|
|
917
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
890
918
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
891
919
|
formatRef: import("vue").ComputedRef<string>;
|
|
892
920
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -895,15 +923,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
895
923
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
896
924
|
onUpdateShow: (show: boolean) => void;
|
|
897
925
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
926
|
+
isOtherValue: (value?: string) => boolean;
|
|
898
927
|
NDatePicker: any;
|
|
899
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
928
|
+
}, 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<{
|
|
900
929
|
updateUnchangedValue: {
|
|
901
930
|
type: BooleanConstructor;
|
|
902
931
|
};
|
|
903
932
|
onConfirm: {
|
|
904
933
|
type: FunctionConstructor;
|
|
905
934
|
};
|
|
906
|
-
|
|
935
|
+
formattedValue: {
|
|
936
|
+
type: StringConstructor;
|
|
937
|
+
};
|
|
938
|
+
}>> & {
|
|
939
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
940
|
+
}, {
|
|
907
941
|
updateUnchangedValue: boolean;
|
|
908
942
|
}>>;
|
|
909
943
|
WidgetValEnums: {
|
|
@@ -590,6 +590,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
590
590
|
onConfirm: {
|
|
591
591
|
type: FunctionConstructor;
|
|
592
592
|
};
|
|
593
|
+
formattedValue: {
|
|
594
|
+
type: StringConstructor;
|
|
595
|
+
};
|
|
593
596
|
}, {
|
|
594
597
|
attrs: {
|
|
595
598
|
[x: string]: unknown;
|
|
@@ -601,9 +604,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
601
604
|
onConfirm: {
|
|
602
605
|
type: FunctionConstructor;
|
|
603
606
|
};
|
|
604
|
-
|
|
607
|
+
formattedValue: {
|
|
608
|
+
type: StringConstructor;
|
|
609
|
+
};
|
|
610
|
+
}>> & {
|
|
611
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
612
|
+
}>>;
|
|
613
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
605
614
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
606
615
|
panelInstRef: import("vue").Ref<null>;
|
|
616
|
+
placeholder: import("vue").Ref<any>;
|
|
617
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
607
618
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
608
619
|
formatRef: import("vue").ComputedRef<string>;
|
|
609
620
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -612,15 +623,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
612
623
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
613
624
|
onUpdateShow: (show: boolean) => void;
|
|
614
625
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
626
|
+
isOtherValue: (value?: string) => boolean;
|
|
615
627
|
NDatePicker: any;
|
|
616
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
628
|
+
}, 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<{
|
|
617
629
|
updateUnchangedValue: {
|
|
618
630
|
type: BooleanConstructor;
|
|
619
631
|
};
|
|
620
632
|
onConfirm: {
|
|
621
633
|
type: FunctionConstructor;
|
|
622
634
|
};
|
|
623
|
-
|
|
635
|
+
formattedValue: {
|
|
636
|
+
type: StringConstructor;
|
|
637
|
+
};
|
|
638
|
+
}>> & {
|
|
639
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
640
|
+
}, {
|
|
624
641
|
updateUnchangedValue: boolean;
|
|
625
642
|
}>>;
|
|
626
643
|
NSelect: any;
|
|
@@ -1183,6 +1200,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1183
1200
|
onConfirm: {
|
|
1184
1201
|
type: FunctionConstructor;
|
|
1185
1202
|
};
|
|
1203
|
+
formattedValue: {
|
|
1204
|
+
type: StringConstructor;
|
|
1205
|
+
};
|
|
1186
1206
|
}, {
|
|
1187
1207
|
attrs: {
|
|
1188
1208
|
[x: string]: unknown;
|
|
@@ -1194,9 +1214,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1194
1214
|
onConfirm: {
|
|
1195
1215
|
type: FunctionConstructor;
|
|
1196
1216
|
};
|
|
1197
|
-
|
|
1217
|
+
formattedValue: {
|
|
1218
|
+
type: StringConstructor;
|
|
1219
|
+
};
|
|
1220
|
+
}>> & {
|
|
1221
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1222
|
+
}>>;
|
|
1223
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1198
1224
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1199
1225
|
panelInstRef: import("vue").Ref<null>;
|
|
1226
|
+
placeholder: import("vue").Ref<any>;
|
|
1227
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1200
1228
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1201
1229
|
formatRef: import("vue").ComputedRef<string>;
|
|
1202
1230
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1205,15 +1233,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1205
1233
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1206
1234
|
onUpdateShow: (show: boolean) => void;
|
|
1207
1235
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1236
|
+
isOtherValue: (value?: string) => boolean;
|
|
1208
1237
|
NDatePicker: any;
|
|
1209
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1238
|
+
}, 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<{
|
|
1210
1239
|
updateUnchangedValue: {
|
|
1211
1240
|
type: BooleanConstructor;
|
|
1212
1241
|
};
|
|
1213
1242
|
onConfirm: {
|
|
1214
1243
|
type: FunctionConstructor;
|
|
1215
1244
|
};
|
|
1216
|
-
|
|
1245
|
+
formattedValue: {
|
|
1246
|
+
type: StringConstructor;
|
|
1247
|
+
};
|
|
1248
|
+
}>> & {
|
|
1249
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1250
|
+
}, {
|
|
1217
1251
|
updateUnchangedValue: boolean;
|
|
1218
1252
|
}>>;
|
|
1219
1253
|
WidgetValEnums: {
|
|
@@ -804,6 +804,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
804
804
|
onConfirm: {
|
|
805
805
|
type: FunctionConstructor;
|
|
806
806
|
};
|
|
807
|
+
formattedValue: {
|
|
808
|
+
type: StringConstructor;
|
|
809
|
+
};
|
|
807
810
|
}, {
|
|
808
811
|
attrs: {
|
|
809
812
|
[x: string]: unknown;
|
|
@@ -815,9 +818,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
815
818
|
onConfirm: {
|
|
816
819
|
type: FunctionConstructor;
|
|
817
820
|
};
|
|
818
|
-
|
|
821
|
+
formattedValue: {
|
|
822
|
+
type: StringConstructor;
|
|
823
|
+
};
|
|
824
|
+
}>> & {
|
|
825
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
826
|
+
}>>;
|
|
827
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
819
828
|
datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
|
|
820
829
|
panelInstRef: import("vue").Ref<null>;
|
|
830
|
+
placeholder: import("vue").Ref<any>;
|
|
831
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
821
832
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
822
833
|
formatRef: import("vue").ComputedRef<string>;
|
|
823
834
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -826,15 +837,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
826
837
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
827
838
|
onUpdateShow: (show: boolean) => void;
|
|
828
839
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
840
|
+
isOtherValue: (value?: string) => boolean;
|
|
829
841
|
NDatePicker: any;
|
|
830
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
842
|
+
}, 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<{
|
|
831
843
|
updateUnchangedValue: {
|
|
832
844
|
type: BooleanConstructor;
|
|
833
845
|
};
|
|
834
846
|
onConfirm: {
|
|
835
847
|
type: FunctionConstructor;
|
|
836
848
|
};
|
|
837
|
-
|
|
849
|
+
formattedValue: {
|
|
850
|
+
type: StringConstructor;
|
|
851
|
+
};
|
|
852
|
+
}>> & {
|
|
853
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
854
|
+
}, {
|
|
838
855
|
updateUnchangedValue: boolean;
|
|
839
856
|
}>>;
|
|
840
857
|
NSelect: any;
|
|
@@ -1397,6 +1414,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1397
1414
|
onConfirm: {
|
|
1398
1415
|
type: FunctionConstructor;
|
|
1399
1416
|
};
|
|
1417
|
+
formattedValue: {
|
|
1418
|
+
type: StringConstructor;
|
|
1419
|
+
};
|
|
1400
1420
|
}, {
|
|
1401
1421
|
attrs: {
|
|
1402
1422
|
[x: string]: unknown;
|
|
@@ -1408,9 +1428,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1408
1428
|
onConfirm: {
|
|
1409
1429
|
type: FunctionConstructor;
|
|
1410
1430
|
};
|
|
1411
|
-
|
|
1431
|
+
formattedValue: {
|
|
1432
|
+
type: StringConstructor;
|
|
1433
|
+
};
|
|
1434
|
+
}>> & {
|
|
1435
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1436
|
+
}>>;
|
|
1437
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1412
1438
|
datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
|
|
1413
1439
|
panelInstRef: import("vue").Ref<null>;
|
|
1440
|
+
placeholder: import("vue").Ref<any>;
|
|
1441
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1414
1442
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1415
1443
|
formatRef: import("vue").ComputedRef<string>;
|
|
1416
1444
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1419,15 +1447,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1419
1447
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1420
1448
|
onUpdateShow: (show: boolean) => void;
|
|
1421
1449
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1450
|
+
isOtherValue: (value?: string) => boolean;
|
|
1422
1451
|
NDatePicker: any;
|
|
1423
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1452
|
+
}, 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<{
|
|
1424
1453
|
updateUnchangedValue: {
|
|
1425
1454
|
type: BooleanConstructor;
|
|
1426
1455
|
};
|
|
1427
1456
|
onConfirm: {
|
|
1428
1457
|
type: FunctionConstructor;
|
|
1429
1458
|
};
|
|
1430
|
-
|
|
1459
|
+
formattedValue: {
|
|
1460
|
+
type: StringConstructor;
|
|
1461
|
+
};
|
|
1462
|
+
}>> & {
|
|
1463
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1464
|
+
}, {
|
|
1431
1465
|
updateUnchangedValue: boolean;
|
|
1432
1466
|
}>>;
|
|
1433
1467
|
WidgetValEnums: {
|
|
@@ -6,6 +6,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
6
6
|
onConfirm: {
|
|
7
7
|
type: FunctionConstructor;
|
|
8
8
|
};
|
|
9
|
+
formattedValue: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
};
|
|
9
12
|
}, {
|
|
10
13
|
attrs: {
|
|
11
14
|
[x: string]: unknown;
|
|
@@ -17,9 +20,17 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
17
20
|
onConfirm: {
|
|
18
21
|
type: FunctionConstructor;
|
|
19
22
|
};
|
|
20
|
-
|
|
23
|
+
formattedValue: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>>;
|
|
29
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
21
30
|
datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
|
|
22
31
|
panelInstRef: import("vue").Ref<null>;
|
|
32
|
+
placeholder: import("vue").Ref<any>;
|
|
33
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
23
34
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
24
35
|
formatRef: import("vue").ComputedRef<string>;
|
|
25
36
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -28,15 +39,21 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
28
39
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
29
40
|
onUpdateShow: (show: boolean) => void;
|
|
30
41
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
42
|
+
isOtherValue: (value?: string) => boolean;
|
|
31
43
|
NDatePicker: any;
|
|
32
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
44
|
+
}, 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<{
|
|
33
45
|
updateUnchangedValue: {
|
|
34
46
|
type: BooleanConstructor;
|
|
35
47
|
};
|
|
36
48
|
onConfirm: {
|
|
37
49
|
type: FunctionConstructor;
|
|
38
50
|
};
|
|
39
|
-
|
|
51
|
+
formattedValue: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
55
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
}, {
|
|
40
57
|
updateUnchangedValue: boolean;
|
|
41
58
|
}>>;
|
|
42
59
|
export default DatePicker;
|