cnhis-design-vue 3.2.3-beta.14 → 3.2.3-beta.16
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/es/components/biunique-chat/index.d.ts +2 -0
- package/es/components/biunique-chat/src/Index.vue.d.ts +2 -0
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +2 -0
- package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +2 -0
- package/es/components/classification/index.d.ts +6 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +6 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +6 -0
- package/es/components/classification/src/index.vue.d.ts +6 -0
- package/es/components/date-picker/index.d.ts +2 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +2 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -0
- package/es/components/field-set/src/components/condition.vue.d.ts +2 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +4 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +2 -0
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -0
- package/es/components/index.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +2 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +4 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +4 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +8 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +8 -0
- package/es/shared/hooks/index.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +1 -0
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -1091,6 +1091,7 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1091
1091
|
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
1092
1092
|
panelInstRef: import("vue").Ref<null>;
|
|
1093
1093
|
placeholderRef: import("vue").Ref<any>;
|
|
1094
|
+
oldValue: string;
|
|
1094
1095
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1095
1096
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1096
1097
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1101,6 +1102,7 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1101
1102
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1102
1103
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1103
1104
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1105
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1104
1106
|
NDatePicker: any;
|
|
1105
1107
|
}, 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<{
|
|
1106
1108
|
updateUnchangedValue: {
|
|
@@ -1094,6 +1094,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1094
1094
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
1095
1095
|
panelInstRef: import("vue").Ref<null>;
|
|
1096
1096
|
placeholderRef: import("vue").Ref<any>;
|
|
1097
|
+
oldValue: string;
|
|
1097
1098
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1098
1099
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1099
1100
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1104,6 +1105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1104
1105
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1105
1106
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1106
1107
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1108
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1107
1109
|
NDatePicker: any;
|
|
1108
1110
|
}, 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<{
|
|
1109
1111
|
updateUnchangedValue: {
|
|
@@ -609,6 +609,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
609
609
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
610
610
|
panelInstRef: import("vue").Ref<null>;
|
|
611
611
|
placeholderRef: import("vue").Ref<any>;
|
|
612
|
+
oldValue: string;
|
|
612
613
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
613
614
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
614
615
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -619,6 +620,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
619
620
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
620
621
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
621
622
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
623
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
622
624
|
NDatePicker: any;
|
|
623
625
|
}, 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<{
|
|
624
626
|
updateUnchangedValue: {
|
|
@@ -65,6 +65,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
65
65
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
66
66
|
panelInstRef: import("vue").Ref<null>;
|
|
67
67
|
placeholderRef: import("vue").Ref<any>;
|
|
68
|
+
oldValue: string;
|
|
68
69
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
69
70
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
70
71
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -75,6 +76,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
75
76
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
76
77
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
77
78
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
79
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
78
80
|
NDatePicker: any;
|
|
79
81
|
}, 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<{
|
|
80
82
|
updateUnchangedValue: {
|
|
@@ -848,6 +848,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
848
848
|
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
849
849
|
panelInstRef: import("vue").Ref<null>;
|
|
850
850
|
placeholderRef: import("vue").Ref<any>;
|
|
851
|
+
oldValue: string;
|
|
851
852
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
852
853
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
853
854
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -858,6 +859,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
858
859
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
859
860
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
860
861
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
862
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
861
863
|
NDatePicker: any;
|
|
862
864
|
}, 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<{
|
|
863
865
|
updateUnchangedValue: {
|
|
@@ -1489,6 +1491,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1489
1491
|
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
1490
1492
|
panelInstRef: import("vue").Ref<null>;
|
|
1491
1493
|
placeholderRef: import("vue").Ref<any>;
|
|
1494
|
+
oldValue: string;
|
|
1492
1495
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1493
1496
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1494
1497
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1499,6 +1502,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1499
1502
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1500
1503
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1501
1504
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1505
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1502
1506
|
NDatePicker: any;
|
|
1503
1507
|
}, 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<{
|
|
1504
1508
|
updateUnchangedValue: {
|
|
@@ -1936,6 +1940,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1936
1940
|
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
1937
1941
|
panelInstRef: import("vue").Ref<null>;
|
|
1938
1942
|
placeholderRef: import("vue").Ref<any>;
|
|
1943
|
+
oldValue: string;
|
|
1939
1944
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1940
1945
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1941
1946
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1946,6 +1951,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1946
1951
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1947
1952
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1948
1953
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1954
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1949
1955
|
NDatePicker: any;
|
|
1950
1956
|
}, 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<{
|
|
1951
1957
|
updateUnchangedValue: {
|
|
@@ -320,6 +320,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
320
320
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
321
321
|
panelInstRef: import("vue").Ref<null>;
|
|
322
322
|
placeholderRef: import("vue").Ref<any>;
|
|
323
|
+
oldValue: string;
|
|
323
324
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
324
325
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
325
326
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -330,6 +331,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
330
331
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
331
332
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
332
333
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
334
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
333
335
|
NDatePicker: any;
|
|
334
336
|
}, 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<{
|
|
335
337
|
updateUnchangedValue: {
|
|
@@ -961,6 +963,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
961
963
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
962
964
|
panelInstRef: import("vue").Ref<null>;
|
|
963
965
|
placeholderRef: import("vue").Ref<any>;
|
|
966
|
+
oldValue: string;
|
|
964
967
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
965
968
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
966
969
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -971,6 +974,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
971
974
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
972
975
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
973
976
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
977
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
974
978
|
NDatePicker: any;
|
|
975
979
|
}, 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<{
|
|
976
980
|
updateUnchangedValue: {
|
|
@@ -1408,6 +1412,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1408
1412
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1409
1413
|
panelInstRef: import("vue").Ref<null>;
|
|
1410
1414
|
placeholderRef: import("vue").Ref<any>;
|
|
1415
|
+
oldValue: string;
|
|
1411
1416
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1412
1417
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1413
1418
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1418,6 +1423,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1418
1423
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1419
1424
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1420
1425
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1426
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1421
1427
|
NDatePicker: any;
|
|
1422
1428
|
}, 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
1429
|
updateUnchangedValue: {
|
|
@@ -614,6 +614,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
614
614
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
615
615
|
panelInstRef: import("vue").Ref<null>;
|
|
616
616
|
placeholderRef: import("vue").Ref<any>;
|
|
617
|
+
oldValue: string;
|
|
617
618
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
618
619
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
619
620
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -624,6 +625,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
624
625
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
625
626
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
626
627
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
628
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
627
629
|
NDatePicker: any;
|
|
628
630
|
}, 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<{
|
|
629
631
|
updateUnchangedValue: {
|
|
@@ -1255,6 +1257,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1255
1257
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1256
1258
|
panelInstRef: import("vue").Ref<null>;
|
|
1257
1259
|
placeholderRef: import("vue").Ref<any>;
|
|
1260
|
+
oldValue: string;
|
|
1258
1261
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1259
1262
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1260
1263
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1265,6 +1268,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1265
1268
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1266
1269
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1267
1270
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1271
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1268
1272
|
NDatePicker: any;
|
|
1269
1273
|
}, 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<{
|
|
1270
1274
|
updateUnchangedValue: {
|
|
@@ -1702,6 +1706,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1702
1706
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1703
1707
|
panelInstRef: import("vue").Ref<null>;
|
|
1704
1708
|
placeholderRef: import("vue").Ref<any>;
|
|
1709
|
+
oldValue: string;
|
|
1705
1710
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1706
1711
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1707
1712
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1712,6 +1717,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1712
1717
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1713
1718
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1714
1719
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1720
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1715
1721
|
NDatePicker: any;
|
|
1716
1722
|
}, 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<{
|
|
1717
1723
|
updateUnchangedValue: {
|
|
@@ -853,6 +853,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
853
853
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
854
854
|
panelInstRef: import("vue").Ref<null>;
|
|
855
855
|
placeholderRef: import("vue").Ref<any>;
|
|
856
|
+
oldValue: string;
|
|
856
857
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
857
858
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
858
859
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -863,6 +864,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
863
864
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
864
865
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
865
866
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
867
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
866
868
|
NDatePicker: any;
|
|
867
869
|
}, 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<{
|
|
868
870
|
updateUnchangedValue: {
|
|
@@ -1494,6 +1496,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1494
1496
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
1495
1497
|
panelInstRef: import("vue").Ref<null>;
|
|
1496
1498
|
placeholderRef: import("vue").Ref<any>;
|
|
1499
|
+
oldValue: string;
|
|
1497
1500
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1498
1501
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1499
1502
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1504,6 +1507,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1504
1507
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1505
1508
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1506
1509
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1510
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1507
1511
|
NDatePicker: any;
|
|
1508
1512
|
}, 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<{
|
|
1509
1513
|
updateUnchangedValue: {
|
|
@@ -1941,6 +1945,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1941
1945
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
1942
1946
|
panelInstRef: import("vue").Ref<null>;
|
|
1943
1947
|
placeholderRef: import("vue").Ref<any>;
|
|
1948
|
+
oldValue: string;
|
|
1944
1949
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1945
1950
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1946
1951
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1951,6 +1956,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1951
1956
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1952
1957
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1953
1958
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1959
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1954
1960
|
NDatePicker: any;
|
|
1955
1961
|
}, 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<{
|
|
1956
1962
|
updateUnchangedValue: {
|
|
@@ -42,6 +42,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
42
42
|
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
43
43
|
panelInstRef: import("vue").Ref<null>;
|
|
44
44
|
placeholderRef: import("vue").Ref<any>;
|
|
45
|
+
oldValue: string;
|
|
45
46
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
46
47
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
47
48
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -52,6 +53,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
52
53
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
53
54
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
54
55
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
56
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
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: {
|
|
@@ -44,6 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
45
45
|
panelInstRef: import("vue").Ref<null>;
|
|
46
46
|
placeholderRef: import("vue").Ref<any>;
|
|
47
|
+
oldValue: string;
|
|
47
48
|
currentFormattedValue: import("vue").WritableComputedRef<FormattedValue | null | undefined>;
|
|
48
49
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
49
50
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -54,6 +55,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
55
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
55
56
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
56
57
|
isAllowedInvalidValue: (value: FormattedValue | null | undefined) => boolean | "" | undefined;
|
|
58
|
+
setShortcutValue: (type: 'week' | 'month') => Promise<void>;
|
|
57
59
|
NDatePicker: any;
|
|
58
60
|
}, 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<{
|
|
59
61
|
updateUnchangedValue: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as
|
|
1
|
+
import{defineComponent as e,useAttrs as t,ref as a,computed as l,watch as n,openBlock as o,createBlock as u,unref as r,isRef as i,createSlots as s,renderList as d,withCtx as c,renderSlot as f,nextTick as m}from"vue";import{NDatePicker as p}from"naive-ui";import"../../../shared/utils/index.js";import{isArray as v,isEqual as y,isString as h}from"lodash-es";import{useDateTime as g,handleInputEvent as w}from"../../../shared/hooks/useDateTime.js";import"@vue/shared";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{format as V,sub as k,startOfDay as R,endOfDay as D}from"date-fns";var I=e({__name:"DatePicker",props:{updateUnchangedValue:{type:Boolean},onConfirm:{type:Function},formattedValue:{type:[String,Array]},placeholder:{type:String},allowedInvalidValue:{type:String}},emits:["update:formatted-value"],setup(e,{expose:I,emit:S}){const C=e,M=t(),_=a(null),$=a(null),P=a();let U="";const b=l({get:()=>z(C.formattedValue)?null:C.formattedValue,set(e){v(e)&&v(U)&&y(U,e)||U===e||(S("update:formatted-value",e,h(e)?Date.parse(e):v(e)?[Date.parse(e[0]),Date.parse(e[1])]:null),U=e)}}),j=l((()=>{const e=Reflect.get(M,"type")||"";return["datetime","datetimerange"].includes(e)})),x=l((()=>{if(Reflect.get(M,"format"))return M.format;const e=M.type||"";return j.value?"yyyy-MM-dd HH:mm:ss":"month"===e?"yyyy-MM":"year"===e?"yyyy":"yyyy-MM-dd"})),H=l((()=>j.value?x.value.split(" "):"")),{focus:q,blur:A,handleConfirm:B}=g(_,{formatRef:x,attrs:M,emit:S,allowedInvalidValue:C.allowedInvalidValue});async function F(e){e&&j.value&&(await m(),async function e(t=0){var a;t>2||($.value=null==(a=_.value)?void 0:a.panelInstRef,$.value?g($,{formatRef:H,attrs:M,isPanel:!0}):(await m(),e(++t)))}())}async function T(...e){var t,a,l,n,o,u;const r=Reflect.get(M,"type")||"",i=null==(n=null==(l=null==(a=null==(t=_.value)?void 0:t.inputInstRef)?void 0:a.$el)?void 0:l.querySelector)?void 0:n.call(l,"input");if(r.includes("range")?null==(o=C.onConfirm)||o.call(C,...e):(await m(),i.focus(),B(i),i.blur(),null==(u=C.onConfirm)||u.call(C,Date.parse(i.value),i.value)),!(null==i?void 0:i.value)||!C.updateUnchangedValue||r.includes("range"))return;const s=i.value;w(i,V(new Date,x.value)),w(i,s)}function z(e){return C.allowedInvalidValue&&C.allowedInvalidValue===e}return n((()=>C.formattedValue),(e=>{P.value=z(e)?e:C.placeholder?C.placeholder:"选择日期时间"}),{immediate:!0}),I({$datePicker:_,focus:q,blur:A,setShortcutValue:async function(e){const t=Reflect.get(M,"type")||"";if(!t||!t.includes("range")||!_.value)return;const a=_.value.$el.querySelectorAll(".n-input__input-el");let l,n;const o=new Date;if("week"===e){const e=k(o,{weeks:1});l=V(R(e),x.value)}else{const e=k(o,{months:1});l=V(R(e),x.value)}n=V(D(o),x.value),w(a[0],l),await m(),w(a[1],n)}}),(e,t)=>(o(),u(r(p),{ref_key:"datePickerRef",ref:_,"onUpdate:show":F,onConfirm:T,placeholder:P.value,"formatted-value":r(b),"onUpdate:formatted-value":t[0]||(t[0]=e=>i(b)?b.value=e:null)},s({_:2},[d(e.$slots,((t,a)=>({name:a,fn:c((()=>[f(e.$slots,a)]))})))]),1032,["placeholder","formatted-value"]))}});export{I as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawTextGroup as e,defaultRectStyle as i,drawTextAndIconGroup as o,drawText as n,defaultTextStyle as r,defaultStyle as l}from"../useDraw.js";import{useBirthProcessCumputedPoint as s}from"../useCumputedPoint.js";import"../useEvent.js";import{drawScaleNumber as a}from"../useScaleColumn.js";import{useCommon as u}from"../useCommon.js";import"vue";import{getScaleNumberList as d}from"../../utils/index.js";import{cloneDeep as c,last as f}from"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function p(p,g,h,m,v,y,k,w){const{getYValue:j,getXValue:x}=s(g),{getEqualXTypes:b,handleAddPrevent:X,isGridLimit:W}=u(p,h,g),{originY:C,endY:E,borderStyle:S,left:Y,itemList:K,scaleValues:L,originX:M,endX:N,yCellHeight:V,markHeight:G,canvasWidth:H,canvasHeight:T,xCellWidth:A}=g;!function(){if(!Y)return;const{title:t,titleWidth:i,titleStyle:o}=Y,n=e({width:i,height:E-C+G,...S},{value:t.split("").join("\n"),...o||{}},{left:0,top:C},!0);p.value.add(n)}(),L.forEach(((e,i)=>{var o,s;const{range:u,spaceValue:c,title:g,unit:h,titleStyle:m,spaceGridNumber:v=1,showNumber:y,showMaxMinNumber:k,titleMargin:w=[5,30],margin:j=5}=e,x="left"===e.layout?M-j:N+j,b=[],X=d(u,c),W=X.length;X.forEach(((t,i)=>{const o=0===i?E-5:E-i*V*v;!y||(0===i||i===W-1)&&!k||b.push(a(String(t),{...e,position:e.layout},x,o))}));const C="left"===e.layout?"right":"left",S=g&&n(["left"===e.layout?M-w[0]:N+w[0],(null!=(s=null==(o=f(b))?void 0:o.top)?s:330)-V-w[1]],{value:`${g}${h?"\n"+h:""}`,...r,...m,textAlign:C,originX:C,originY:"bottom"}),Y=new t.Group([...b,...S?[S]:[]],{objectCaching:!1,...l});p.value.add(Y),Y.sendToBack()})),function(){const e=new t.Rect({width:M-Y.titleWidth,height:E-C+G,left:Y.titleWidth,top:C,...i,originX:"left",originY:"top",...S});p.value.add(e);const n=c(K),r=c(Y.externalIconList||[]).map((t=>({...t,isExternal:!0}))),{projectNameMargin:l=[5,30],titleWidth:s=20}=Y;let a=E+G-l[0];const u=s+l[1];r.concat(n.reverse()).forEach((t=>{a-=10;const e=t.title,{text:i,icon:n}=o(e,t,{text:{left:u,top:a},icon:{leftX:u,topY:a,originX:"center",...t.isExternal?{evented:!1,selectable:!1}:{},origin:{linkKey:t.linkKey}}});var r;a-=i.height||30,n.set("left",n.left+n.width/2),(r=n).on("moving",(()=>{r.set("originX","center"),W(r)?(v(r),y(r)):m.show=!1})),r.on("mouseup:before",(t=>{if(m.show=!1,0===t.e.button&&W(r)){const t=r.origin.linkKey||r.origin.key;if(b(w(),r.left,"key",2*A).includes(t))X("repeat");else{const e={data:{time:x(r.left),value:j(r.origin.type,r.top),...r.origin.linkKey?{key:r.origin.key}:{}},...r.origin};h("add",e),k({...e,key:t})}}!function(t){t.setCoords().set({originX:"left",left:t.originLeft,top:t.originTop})}(r)})),p.value.add(i,n)}))}(),p.value.add(new t.Rect({left:0,top:0,width:H-S.strokeWidth,height:T-S.strokeWidth,fill:"transparent",...S}))}export{p as useLeft};
|
|
1
|
+
import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawTextGroup as e,defaultRectStyle as i,drawTextAndIconGroup as o,drawText as n,defaultTextStyle as r,defaultStyle as l}from"../useDraw.js";import{useBirthProcessCumputedPoint as s}from"../useCumputedPoint.js";import"../useEvent.js";import{drawScaleNumber as a}from"../useScaleColumn.js";import{useCommon as u}from"../useCommon.js";import"vue";import{getScaleNumberList as d}from"../../utils/index.js";import{cloneDeep as c,last as f}from"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function p(p,g,h,m,v,y,k,w){const{getYValue:j,getXValue:x}=s(g),{getEqualXTypes:b,handleAddPrevent:X,isGridLimit:W}=u(p,h,g),{originY:C,endY:E,borderStyle:S,left:Y,itemList:K,scaleValues:L,originX:M,endX:N,yCellHeight:V,markHeight:G,canvasWidth:H,canvasHeight:T,xCellWidth:A}=g;!function(){if(!Y)return;const{title:t,titleWidth:i,titleStyle:o}=Y,n=e({width:i,height:E-C+G,...S},{value:t.split("").join("\n"),...o||{}},{left:0,top:C},!0);p.value.add(n)}(),L.forEach(((e,i)=>{var o,s;const{range:u,spaceValue:c,title:g,unit:h,titleStyle:m,spaceGridNumber:v=1,showNumber:y,showMaxMinNumber:k,titleMargin:w=[5,30],margin:j=5}=e,x="left"===e.layout?M-j:N+j,b=[],X=d(u,c),W=X.length;X.forEach(((t,i)=>{const o=0===i?E-5:E-i*V*v;!y||(0===i||i===W-1)&&!k||b.push(a(String(t),{...e,position:e.layout},x,o))}));const C="left"===e.layout?"right":"left",S=(g||h)&&n(["left"===e.layout?M-w[0]:N+w[0],(null!=(s=null==(o=f(b))?void 0:o.top)?s:330)-V-w[1]],{value:`${g}${h?"\n"+h:""}`,...r,...m,textAlign:C,originX:C,originY:"bottom"}),Y=new t.Group([...b,...S?[S]:[]],{objectCaching:!1,...l});p.value.add(Y),Y.sendToBack()})),function(){const e=new t.Rect({width:M-Y.titleWidth,height:E-C+G,left:Y.titleWidth,top:C,...i,originX:"left",originY:"top",...S});p.value.add(e);const n=c(K),r=c(Y.externalIconList||[]).map((t=>({...t,isExternal:!0}))),{projectNameMargin:l=[5,30],titleWidth:s=20}=Y;let a=E+G-l[0];const u=s+l[1];r.concat(n.reverse()).forEach((t=>{a-=10;const e=t.title,{text:i,icon:n}=o(e,t,{text:{left:u,top:a},icon:{leftX:u,topY:a,originX:"center",...t.isExternal?{evented:!1,selectable:!1}:{},origin:{linkKey:t.linkKey}}});var r;a-=i.height||30,n.set("left",n.left+n.width/2),(r=n).on("moving",(()=>{r.set("originX","center"),W(r)?(v(r),y(r)):m.show=!1})),r.on("mouseup:before",(t=>{if(m.show=!1,0===t.e.button&&W(r)){const t=r.origin.linkKey||r.origin.key;if(b(w(),r.left,"key",2*A).includes(t))X("repeat");else{const e={data:{time:x(r.left),value:j(r.origin.type,r.top),...r.origin.linkKey?{key:r.origin.key}:{}},...r.origin};h("add",e),k({...e,key:t})}}!function(t){t.setCoords().set({originX:"left",left:t.originLeft,top:t.originTop})}(r)})),p.value.add(i,n)}))}(),p.value.add(new t.Rect({left:0,top:0,width:H-S.strokeWidth,height:T-S.strokeWidth,fill:"transparent",...S}))}export{p as useLeft};
|
|
@@ -1307,6 +1307,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1307
1307
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
1308
1308
|
panelInstRef: import("vue").Ref<null>;
|
|
1309
1309
|
placeholderRef: import("vue").Ref<any>;
|
|
1310
|
+
oldValue: string;
|
|
1310
1311
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1311
1312
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1312
1313
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1317,6 +1318,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1317
1318
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1318
1319
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1319
1320
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1321
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1320
1322
|
NDatePicker: any;
|
|
1321
1323
|
}, 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<{
|
|
1322
1324
|
updateUnchangedValue: {
|
|
@@ -1574,6 +1576,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1574
1576
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
1575
1577
|
panelInstRef: import("vue").Ref<null>;
|
|
1576
1578
|
placeholderRef: import("vue").Ref<any>;
|
|
1579
|
+
oldValue: string;
|
|
1577
1580
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1578
1581
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1579
1582
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1584,6 +1587,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1584
1587
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1585
1588
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1586
1589
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1590
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1587
1591
|
NDatePicker: any;
|
|
1588
1592
|
}, 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<{
|
|
1589
1593
|
updateUnchangedValue: {
|
|
@@ -129,6 +129,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
129
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
130
130
|
panelInstRef: import("vue").Ref<null>;
|
|
131
131
|
placeholderRef: import("vue").Ref<any>;
|
|
132
|
+
oldValue: string;
|
|
132
133
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
133
134
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
134
135
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -139,6 +140,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
140
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
140
141
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
141
142
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
143
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
142
144
|
NDatePicker: any;
|
|
143
145
|
}, 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<{
|
|
144
146
|
updateUnchangedValue: {
|
|
@@ -847,6 +847,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
847
847
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
848
848
|
panelInstRef: import("vue").Ref<null>;
|
|
849
849
|
placeholderRef: import("vue").Ref<any>;
|
|
850
|
+
oldValue: string;
|
|
850
851
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
851
852
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
852
853
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -857,6 +858,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
857
858
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
858
859
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
859
860
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
861
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
860
862
|
NDatePicker: any;
|
|
861
863
|
}, 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<{
|
|
862
864
|
updateUnchangedValue: {
|
|
@@ -1114,6 +1116,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1114
1116
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
1115
1117
|
panelInstRef: import("vue").Ref<null>;
|
|
1116
1118
|
placeholderRef: import("vue").Ref<any>;
|
|
1119
|
+
oldValue: string;
|
|
1117
1120
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1118
1121
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1119
1122
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1124,6 +1127,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1124
1127
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1125
1128
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1126
1129
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1130
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1127
1131
|
NDatePicker: any;
|
|
1128
1132
|
}, 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<{
|
|
1129
1133
|
updateUnchangedValue: {
|
|
@@ -227,6 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
227
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
228
228
|
panelInstRef: import("vue").Ref<null>;
|
|
229
229
|
placeholderRef: import("vue").Ref<any>;
|
|
230
|
+
oldValue: string;
|
|
230
231
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
231
232
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
232
233
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -237,6 +238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
238
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
238
239
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
239
240
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
241
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
240
242
|
NDatePicker: any;
|
|
241
243
|
}, 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<{
|
|
242
244
|
updateUnchangedValue: {
|
|
@@ -68,6 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
datePickerRef: import("vue").Ref<import("../../../../../shared/types").AnyObject | null>;
|
|
69
69
|
panelInstRef: import("vue").Ref<null>;
|
|
70
70
|
placeholderRef: import("vue").Ref<any>;
|
|
71
|
+
oldValue: string;
|
|
71
72
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
72
73
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
73
74
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -78,6 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
79
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
79
80
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
80
81
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
82
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
81
83
|
NDatePicker: any;
|
|
82
84
|
}, 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<{
|
|
83
85
|
updateUnchangedValue: {
|
|
@@ -155,6 +155,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
155
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
156
156
|
panelInstRef: import("vue").Ref<null>;
|
|
157
157
|
placeholderRef: import("vue").Ref<any>;
|
|
158
|
+
oldValue: string;
|
|
158
159
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
159
160
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
160
161
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -165,6 +166,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
166
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
166
167
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
167
168
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
169
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
168
170
|
NDatePicker: any;
|
|
169
171
|
}, 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<{
|
|
170
172
|
updateUnchangedValue: {
|
package/es/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./grid/index.js";export{default as CGrid}from"./grid/index.js";import r from"./big-table/index.js";export{default as CBigTable}from"./big-table/index.js";import o from"./field-set/index.js";export{default as CFieldSet}from"./field-set/index.js";import s from"./button-print/index.js";export{default as CButtonPrint}from"./button-print/index.js";import t from"./select-person/index.js";export{default as CSelectPerson}from"./select-person/index.js";import i,{CLabelFormContent as a}from"./select-label/index.js";export{CLabelFormContent,default as CSelectLabel}from"./select-label/index.js";import d from"./map/index.js";export{default as CMap}from"./map/index.js";import n from"./vod-chunk-upload/index.js";export{default as CVodChunkUpload}from"./vod-chunk-upload/index.js";import{CScaleView as m,CRadio as f,CCheckbox as p,CSelect as l,CDatetime as u}from"./scale-view/index.js";export{CCheckbox,CDatetime,CRadio,CScaleView,CSelect}from"./scale-view/index.js";import c from"./info-header/index.js";export{default as CInfoHeader}from"./info-header/index.js";import x from"./time-line/index.js";export{default as CTimeLine}from"./time-line/index.js";import C from"./base-search/index.js";export{default as CBaseSearch}from"./base-search/index.js";import j from"./quick-search/index.js";export{default as CQuickSearch}from"./quick-search/index.js";import h from"./classification/index.js";export{default as CClassification}from"./classification/index.js";import k from"./bpmn-workflow/index.js";export{default as CBpmnWorkflow}from"./bpmn-workflow/index.js";import b from"./steps-wheel/index.js";export{default as CStepsWheel}from"./steps-wheel/index.js";import S from"./editor/index.js";export{default as CEditor}from"./editor/index.js";import g from"./form-render/index.js";export{default as CFormRender}from"./form-render/index.js";import F from"./fabric-chart/index.js";export{default as CFabricChart}from"./fabric-chart/index.js";import
|
|
1
|
+
import e from"./grid/index.js";export{default as CGrid}from"./grid/index.js";import r from"./big-table/index.js";export{default as CBigTable}from"./big-table/index.js";import o from"./field-set/index.js";export{default as CFieldSet}from"./field-set/index.js";import s from"./button-print/index.js";export{default as CButtonPrint}from"./button-print/index.js";import t from"./select-person/index.js";export{default as CSelectPerson}from"./select-person/index.js";import i,{CLabelFormContent as a}from"./select-label/index.js";export{CLabelFormContent,default as CSelectLabel}from"./select-label/index.js";import d from"./map/index.js";export{default as CMap}from"./map/index.js";import n from"./vod-chunk-upload/index.js";export{default as CVodChunkUpload}from"./vod-chunk-upload/index.js";import{CScaleView as m,CRadio as f,CCheckbox as p,CSelect as l,CDatetime as u}from"./scale-view/index.js";export{CCheckbox,CDatetime,CRadio,CScaleView,CSelect}from"./scale-view/index.js";import c from"./info-header/index.js";export{default as CInfoHeader}from"./info-header/index.js";import x from"./time-line/index.js";export{default as CTimeLine}from"./time-line/index.js";import C from"./base-search/index.js";export{default as CBaseSearch}from"./base-search/index.js";import j from"./quick-search/index.js";export{default as CQuickSearch}from"./quick-search/index.js";import h from"./classification/index.js";export{default as CClassification}from"./classification/index.js";import k from"./bpmn-workflow/index.js";export{default as CBpmnWorkflow}from"./bpmn-workflow/index.js";import b from"./steps-wheel/index.js";export{default as CStepsWheel}from"./steps-wheel/index.js";import S from"./editor/index.js";export{default as CEditor}from"./editor/index.js";import g from"./form-render/index.js";export{default as CFormRender}from"./form-render/index.js";import F from"./fabric-chart/index.js";export{default as CFabricChart}from"./fabric-chart/index.js";import v from"./shortcut-provider/index.js";export{default as CShortcutProvider}from"./shortcut-provider/index.js";import y from"./shortcut-setter/index.js";export{default as CShortcutSetter}from"./shortcut-setter/index.js";import D from"./form-config/index.js";export{default as CFormConfig}from"./form-config/index.js";import T from"./iho-table/index.js";export{default as CIhoTable,useIhoTablePresetPlugins}from"./iho-table/index.js";import P from"./keyboard/index.js";export{default as CKeyboard}from"./keyboard/index.js";import R from"./search-cascader/index.js";export{default as CSearchCascader}from"./search-cascader/index.js";import w from"./recommend-search/index.js";export{default as CRecommendSearch}from"./recommend-search/index.js";import A from"./date-picker/index.js";export{default as CDatePicker}from"./date-picker/index.js";import E from"./time-picker/index.js";export{default as CTimePicker}from"./time-picker/index.js";import L from"./config-provider/index.js";export{default as CConfigProvider}from"./config-provider/index.js";import B from"./picture-clipper/index.js";export{default as CPictureClipper}from"./picture-clipper/index.js";import I from"./table-export-field/index.js";export{default as CTableExportField}from"./table-export-field/index.js";import O from"./expand-field/index.js";export{default as CExpandField}from"./expand-field/index.js";import V from"./biunique-chat/index.js";export{default as CBiuniqueChat}from"./biunique-chat/index.js";import H from"./callback/index.js";export{default as CCallback}from"./callback/index.js";import K from"./slider-tree/index.js";export{default as CSliderTree}from"./slider-tree/index.js";import N from"./body-select/index.js";export{default as CBodySelect}from"./body-select/index.js";import q from"./default-page/index.js";export{default as CDefaultPage}from"./default-page/index.js";import M from"./step-notice/index.js";export{default as CStepNotice}from"./step-notice/index.js";export{default as CInsuranceSDK}from"./card-reader-sdk/src/insuranceSDK.js";export{default as CCardReaderSDK}from"./card-reader-sdk/src/cardReaderSDK.js";export{formatDateRangeInfo,presetValToDateRangestr,presetValToTimestamp}from"./table-filter/src/components/render-widget/helpers/presetValToTimestamp.js";export{DatePresetValEnums,DateRangeInnerValEnums,DateRangeOutDefEnums}from"./table-filter/src/components/render-widget/enums.js";export{createOpacityColor,useTheme}from"../shared/hooks/useTheme.js";export{handleInputEvent,useDateTime}from"../shared/hooks/useDateTime.js";export{AsyncQueue,ENTRY_STATE}from"../shared/hooks/useAsyncQueue/index.js";export{presetRequestHandler,useFormAsyncQueue,useFormRequest}from"../shared/hooks/useFormRequest/index.js";export{useLevelSearchCascader}from"../shared/hooks/useLevelSearchCascader.js";export{useSelectAllowModify}from"../shared/hooks/selectHooks/useSelectAllowModify.js";export{useOptionFiltered}from"../shared/hooks/selectHooks/useOptionFiltered.js";export{searchContentMatcher,useSearchContent}from"../shared/hooks/selectHooks/useSearchContent.js";export{useSelectRenders}from"../shared/hooks/selectHooks/useSelectRenders.js";export{useVersion}from"../shared/hooks/useVersion.js";export{vFlexibleResize}from"../shared/directive/flexibleResize.js";export{useGuide}from"./guide/src/useGuide.js";export{DragScroll,useDragScroll}from"./drag-scroll/src/index.js";export{default as CAudioSDK}from"./audio-sdk/src/audioSDK.js";export{useAnchor}from"./form-render/src/hooks/useAnchor.js";export{useAutoHidden}from"./form-render/src/hooks/useAutoHidden.js";export{BusinessCollector,useBusinessBinding}from"./form-render/src/hooks/useBusinessBinding.js";export{ContextCollector,useChangeContext}from"./form-render/src/hooks/useChangeContext.js";export{useCommonInjection,useSelectOptionProps}from"./form-render/src/hooks/useCommonInjection.js";export{useCommonLog}from"./form-render/src/hooks/useCommonLog.js";export{useComplexOptions,useComplexOptionsSpan}from"./form-render/src/hooks/useComplexOptions.js";export{useFieldListAdaptor}from"./form-render/src/hooks/useFieldListAdaptor.js";export{useFieldNormalize}from"./form-render/src/hooks/useFieldNormalize.js";export{useFieldVisitor}from"./form-render/src/hooks/useFieldVisitor.js";export{useFormContext}from"./form-render/src/hooks/useFormContext.js";export{useFormDomEvent,useFormExposeEvent}from"./form-render/src/hooks/useFormEvent.js";export{useFormField}from"./form-render/src/hooks/useFormField.js";export{useFormGraph}from"./form-render/src/hooks/useFormGraph.js";export{FormItemDepsCollector,useFormItemDeps}from"./form-render/src/hooks/useFormItemDeps.js";export{useFormRenderLifeCycle}from"./form-render/src/hooks/useFormRenderLifeCycle.js";export{useAutographOptions,useRecommendOptions,useUrlConfigOptions}from"./form-render/src/hooks/useFormRenderOptions.js";export{useFormValidator,validateMessageLocale}from"./form-render/src/hooks/useFormValidator.js";export{useLowCodeEvent}from"./form-render/src/hooks/useLowCodeEvent.js";export{useLowCodeReactions}from"./form-render/src/hooks/useLowCodeReactions.js";export{useNuiThemeOverrides}from"./form-render/src/hooks/useNuiThemeOverrides.js";export{useOperationalForm}from"./form-render/src/hooks/useOperationalForm.js";export{usePresetScope}from"./form-render/src/hooks/usePresetScope.js";export{useWordbookSetting,wordbookSettingHandler}from"./form-render/src/hooks/useWordbookSetting.js";export{useNewLowCodeReactions}from"./form-render/src/hooks/useNewLowCodeReactions.js";export{useSelectedSetting}from"./form-render/src/hooks/useSelectedSetting.js";export{businessDateParser,isIdCard,isMobile,parseAge2Birthday,parseAgeFromContext,parseBirthday,parseIdCard,transformDateFormat}from"./form-render/src/utils/business.js";export{findNextWidget,queryDecoratorByAddress,queryDecoratorByFieldKey,queryInput}from"./form-render/src/utils/dom.js";export{assignClearBindVisited,assignUpdateValue,assignValueBindKey,createLinebarId,createObjSchema,createVisitedSetter,dotEscape,fieldKeyEscape,getParentLinebar,traverseDependKey,traverseSchema}from"./form-render/src/utils/schema.js";export{combineExtendKey,createInputSlot,createSlot,editorUnescape,formRenderLog,getAbsoluteKey,injectOrProvide,isNestedFieldType,isNestedType,mergeDeepProperties,parseNumberFromMaybeString,renderDescOption,splitExtendKey,validateMessageParser}from"./form-render/src/utils/index.js";export{GlobalShortcutProvider,ShortcutManager,useShortcuts}from"./shortcut-provider/src/hooks/useShortcuts.js";export{useShortcutSignature}from"./shortcut-provider/src/hooks/useShortcutSignature.js";export{defineTablePlugin,useTablePlugin}from"./iho-table/src/hooks/useTablePlugin.js";export{useColumnConfigAdaptor}from"./iho-table/src/hooks/useColumnConfigAdaptor.js";export{AbstractConfigHooks,AbstractDataHooks,AbstractDomInsertHooks,AbstractEventHooks,AbstractExposeHooks,AbstractFieldHooks,AbstractSetupHooks}from"./iho-table/src/types/pluginType.js";export{Print}from"./button-print/src/utils/print.js";export{getFileUrl,isIReport,useBrowserPrint}from"./button-print/src/utils/browserPrint.js";export{transformOriginToTree}from"./slider-tree/src/utils/index.js";const G={CGrid:e,CBigTable:r,CFieldSet:o,CButtonPrint:s,CSelectPerson:t,CSelectLabel:i,CLabelFormContent:a,CScaleView:m,CMap:d,CVodChunkUpload:n,CRadio:f,CCheckbox:p,CSelect:l,CDatetime:u,CInfoHeader:c,CTimeLine:x,CBaseSearch:C,CQuickSearch:j,CClassification:h,CBpmnWorkflow:k,CStepsWheel:b,CEditor:S,CFormRender:g,CFabricChart:F,CShortcutProvider:v,CShortcutSetter:y,CFormConfig:D,CIhoTable:T,CKeyboard:P,CSearchCascader:R,CRecommendSearch:w,CDatePicker:A,CTimePicker:E,CConfigProvider:L,CPictureClipper:B,CTableExportField:I,CExpandField:O,CBiuniqueChat:V,CCallback:H,CSliderTree:K,CBodySelect:N,CDefaultPage:q,CStepNotice:M};var W={install:function(e){Object.values(G).forEach((r=>{r.install(e)}))},...G};export{W as default};
|
|
@@ -111,6 +111,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
112
112
|
panelInstRef: import("vue").Ref<null>;
|
|
113
113
|
placeholderRef: import("vue").Ref<any>;
|
|
114
|
+
oldValue: string;
|
|
114
115
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
115
116
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
116
117
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -121,6 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
122
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
122
123
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
123
124
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
125
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
124
126
|
NDatePicker: any;
|
|
125
127
|
}, 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<{
|
|
126
128
|
updateUnchangedValue: {
|
|
@@ -74,6 +74,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
75
75
|
panelInstRef: import("vue").Ref<null>;
|
|
76
76
|
placeholderRef: import("vue").Ref<any>;
|
|
77
|
+
oldValue: string;
|
|
77
78
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
78
79
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
79
80
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -84,6 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
85
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
85
86
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
86
87
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
88
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
87
89
|
NDatePicker: any;
|
|
88
90
|
}, 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<{
|
|
89
91
|
updateUnchangedValue: {
|
|
@@ -74,6 +74,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
74
74
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
75
75
|
panelInstRef: import("vue").Ref<null>;
|
|
76
76
|
placeholderRef: import("vue").Ref<any>;
|
|
77
|
+
oldValue: string;
|
|
77
78
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
78
79
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
79
80
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -84,6 +85,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
84
85
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
85
86
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
86
87
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
88
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
87
89
|
NDatePicker: any;
|
|
88
90
|
}, 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<{
|
|
89
91
|
updateUnchangedValue: {
|
|
@@ -229,6 +229,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
229
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
230
230
|
panelInstRef: import("vue").Ref<null>;
|
|
231
231
|
placeholderRef: import("vue").Ref<any>;
|
|
232
|
+
oldValue: string;
|
|
232
233
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
233
234
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
234
235
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -239,6 +240,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
239
240
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
240
241
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
241
242
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
243
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
242
244
|
NDatePicker: any;
|
|
243
245
|
}, 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<{
|
|
244
246
|
updateUnchangedValue: {
|
|
@@ -138,6 +138,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
138
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
139
139
|
panelInstRef: import("vue").Ref<null>;
|
|
140
140
|
placeholderRef: import("vue").Ref<any>;
|
|
141
|
+
oldValue: string;
|
|
141
142
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
142
143
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
143
144
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -148,6 +149,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
149
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
149
150
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
150
151
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
152
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
151
153
|
NDatePicker: any;
|
|
152
154
|
}, 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<{
|
|
153
155
|
updateUnchangedValue: {
|
|
@@ -779,6 +781,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
779
781
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
780
782
|
panelInstRef: import("vue").Ref<null>;
|
|
781
783
|
placeholderRef: import("vue").Ref<any>;
|
|
784
|
+
oldValue: string;
|
|
782
785
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
783
786
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
784
787
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -789,6 +792,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
789
792
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
790
793
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
791
794
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
795
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
792
796
|
NDatePicker: any;
|
|
793
797
|
}, 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<{
|
|
794
798
|
updateUnchangedValue: {
|
|
@@ -95,6 +95,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
96
96
|
panelInstRef: import("vue").Ref<null>;
|
|
97
97
|
placeholderRef: import("vue").Ref<any>;
|
|
98
|
+
oldValue: string;
|
|
98
99
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
99
100
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
100
101
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -105,6 +106,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
106
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
106
107
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
107
108
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
109
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
108
110
|
NDatePicker: any;
|
|
109
111
|
}, 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<{
|
|
110
112
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
110
110
|
panelInstRef: import("vue").Ref<null>;
|
|
111
111
|
placeholderRef: import("vue").Ref<any>;
|
|
112
|
+
oldValue: string;
|
|
112
113
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
113
114
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
114
115
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -119,6 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
120
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
120
121
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
121
122
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
123
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
122
124
|
NDatePicker: any;
|
|
123
125
|
}, 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<{
|
|
124
126
|
updateUnchangedValue: {
|
|
@@ -95,6 +95,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
95
95
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
96
96
|
panelInstRef: import("vue").Ref<null>;
|
|
97
97
|
placeholderRef: import("vue").Ref<any>;
|
|
98
|
+
oldValue: string;
|
|
98
99
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
99
100
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
100
101
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -105,6 +106,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
105
106
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
106
107
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
107
108
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
109
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
108
110
|
NDatePicker: any;
|
|
109
111
|
}, 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<{
|
|
110
112
|
updateUnchangedValue: {
|
|
@@ -736,6 +738,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
736
738
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
737
739
|
panelInstRef: import("vue").Ref<null>;
|
|
738
740
|
placeholderRef: import("vue").Ref<any>;
|
|
741
|
+
oldValue: string;
|
|
739
742
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
740
743
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
741
744
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -746,6 +749,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
746
749
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
747
750
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
748
751
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
752
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
749
753
|
NDatePicker: any;
|
|
750
754
|
}, 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<{
|
|
751
755
|
updateUnchangedValue: {
|
|
@@ -262,6 +262,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
262
262
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
263
263
|
panelInstRef: import("vue").Ref<null>;
|
|
264
264
|
placeholderRef: import("vue").Ref<any>;
|
|
265
|
+
oldValue: string;
|
|
265
266
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
266
267
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
267
268
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -272,6 +273,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
272
273
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
273
274
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
274
275
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
276
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
275
277
|
NDatePicker: any;
|
|
276
278
|
}, 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<{
|
|
277
279
|
updateUnchangedValue: {
|
|
@@ -903,6 +905,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
903
905
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
904
906
|
panelInstRef: import("vue").Ref<null>;
|
|
905
907
|
placeholderRef: import("vue").Ref<any>;
|
|
908
|
+
oldValue: string;
|
|
906
909
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
907
910
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
908
911
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -913,6 +916,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
913
916
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
914
917
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
915
918
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
919
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
916
920
|
NDatePicker: any;
|
|
917
921
|
}, 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<{
|
|
918
922
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
126
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
127
127
|
panelInstRef: import("vue").Ref<null>;
|
|
128
128
|
placeholderRef: import("vue").Ref<any>;
|
|
129
|
+
oldValue: string;
|
|
129
130
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
130
131
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
131
132
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -136,6 +137,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
137
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
137
138
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
138
139
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
140
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
139
141
|
NDatePicker: any;
|
|
140
142
|
}, 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<{
|
|
141
143
|
updateUnchangedValue: {
|
|
@@ -109,6 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
110
110
|
panelInstRef: import("vue").Ref<null>;
|
|
111
111
|
placeholderRef: import("vue").Ref<any>;
|
|
112
|
+
oldValue: string;
|
|
112
113
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
113
114
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
114
115
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -119,6 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
120
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
120
121
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
121
122
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
123
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
122
124
|
NDatePicker: any;
|
|
123
125
|
}, 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<{
|
|
124
126
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
144
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
145
145
|
panelInstRef: import("vue").Ref<null>;
|
|
146
146
|
placeholderRef: import("vue").Ref<any>;
|
|
147
|
+
oldValue: string;
|
|
147
148
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
148
149
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
149
150
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -154,6 +155,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
155
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
155
156
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
156
157
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
158
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
157
159
|
NDatePicker: any;
|
|
158
160
|
}, 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<{
|
|
159
161
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
112
112
|
panelInstRef: import("vue").Ref<null>;
|
|
113
113
|
placeholderRef: import("vue").Ref<any>;
|
|
114
|
+
oldValue: string;
|
|
114
115
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
115
116
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
116
117
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -121,6 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
122
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
122
123
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
123
124
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
125
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
124
126
|
NDatePicker: any;
|
|
125
127
|
}, 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<{
|
|
126
128
|
updateUnchangedValue: {
|
|
@@ -290,6 +290,7 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
|
290
290
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
291
291
|
panelInstRef: import("vue").Ref<null>;
|
|
292
292
|
placeholderRef: import("vue").Ref<any>;
|
|
293
|
+
oldValue: string;
|
|
293
294
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
294
295
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
295
296
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -300,6 +301,7 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
|
300
301
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
301
302
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
302
303
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
304
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
303
305
|
NDatePicker: any;
|
|
304
306
|
}, 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<{
|
|
305
307
|
updateUnchangedValue: {
|
|
@@ -536,6 +538,7 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
|
536
538
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
537
539
|
panelInstRef: import("vue").Ref<null>;
|
|
538
540
|
placeholderRef: import("vue").Ref<any>;
|
|
541
|
+
oldValue: string;
|
|
539
542
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
540
543
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
541
544
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -546,6 +549,7 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
|
546
549
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
547
550
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
548
551
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
552
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
549
553
|
NDatePicker: any;
|
|
550
554
|
}, 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<{
|
|
551
555
|
updateUnchangedValue: {
|
|
@@ -744,6 +748,7 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
|
744
748
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
745
749
|
panelInstRef: import("vue").Ref<null>;
|
|
746
750
|
placeholderRef: import("vue").Ref<any>;
|
|
751
|
+
oldValue: string;
|
|
747
752
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
748
753
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
749
754
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -754,6 +759,7 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
|
754
759
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
755
760
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
756
761
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
762
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
757
763
|
NDatePicker: any;
|
|
758
764
|
}, 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<{
|
|
759
765
|
updateUnchangedValue: {
|
|
@@ -997,6 +1003,7 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
|
997
1003
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
998
1004
|
panelInstRef: import("vue").Ref<null>;
|
|
999
1005
|
placeholderRef: import("vue").Ref<any>;
|
|
1006
|
+
oldValue: string;
|
|
1000
1007
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1001
1008
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1002
1009
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1007,6 +1014,7 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
|
1007
1014
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1008
1015
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1009
1016
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1017
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1010
1018
|
NDatePicker: any;
|
|
1011
1019
|
}, 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<{
|
|
1012
1020
|
updateUnchangedValue: {
|
|
@@ -531,6 +531,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
531
531
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
532
532
|
panelInstRef: import("vue").Ref<null>;
|
|
533
533
|
placeholderRef: import("vue").Ref<any>;
|
|
534
|
+
oldValue: string;
|
|
534
535
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
535
536
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
536
537
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -541,6 +542,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
541
542
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
542
543
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
543
544
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
545
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
544
546
|
NDatePicker: any;
|
|
545
547
|
}, 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<{
|
|
546
548
|
updateUnchangedValue: {
|
|
@@ -791,6 +793,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
791
793
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
792
794
|
panelInstRef: import("vue").Ref<null>;
|
|
793
795
|
placeholderRef: import("vue").Ref<any>;
|
|
796
|
+
oldValue: string;
|
|
794
797
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
795
798
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
796
799
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -801,6 +804,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
801
804
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
802
805
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
803
806
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
807
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
804
808
|
NDatePicker: any;
|
|
805
809
|
}, 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<{
|
|
806
810
|
updateUnchangedValue: {
|
|
@@ -1013,6 +1017,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1013
1017
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1014
1018
|
panelInstRef: import("vue").Ref<null>;
|
|
1015
1019
|
placeholderRef: import("vue").Ref<any>;
|
|
1020
|
+
oldValue: string;
|
|
1016
1021
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1017
1022
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1018
1023
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1023,6 +1028,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1023
1028
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1024
1029
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1025
1030
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1031
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1026
1032
|
NDatePicker: any;
|
|
1027
1033
|
}, 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<{
|
|
1028
1034
|
updateUnchangedValue: {
|
|
@@ -1280,6 +1286,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1280
1286
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1281
1287
|
panelInstRef: import("vue").Ref<null>;
|
|
1282
1288
|
placeholderRef: import("vue").Ref<any>;
|
|
1289
|
+
oldValue: string;
|
|
1283
1290
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1284
1291
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1285
1292
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -1290,6 +1297,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1290
1297
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1291
1298
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1292
1299
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1300
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
|
1293
1301
|
NDatePicker: any;
|
|
1294
1302
|
}, 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<{
|
|
1295
1303
|
updateUnchangedValue: {
|
package/es/shared/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{createOpacityColor,useTheme}from"./useTheme.js";export{useDateTime}from"./useDateTime.js";export{AsyncQueue,ENTRY_STATE}from"./useAsyncQueue/index.js";export{presetRequestHandler,useFormAsyncQueue,useFormRequest}from"./useFormRequest/index.js";export{useLevelSearchCascader}from"./useLevelSearchCascader.js";export{useSelectAllowModify}from"./selectHooks/useSelectAllowModify.js";export{useOptionFiltered}from"./selectHooks/useOptionFiltered.js";export{searchContentMatcher,useSearchContent}from"./selectHooks/useSearchContent.js";export{useSelectRenders}from"./selectHooks/useSelectRenders.js";export{useVersion}from"./useVersion.js";
|
|
1
|
+
export{createOpacityColor,useTheme}from"./useTheme.js";export{handleInputEvent,useDateTime}from"./useDateTime.js";export{AsyncQueue,ENTRY_STATE}from"./useAsyncQueue/index.js";export{presetRequestHandler,useFormAsyncQueue,useFormRequest}from"./useFormRequest/index.js";export{useLevelSearchCascader}from"./useLevelSearchCascader.js";export{useSelectAllowModify}from"./selectHooks/useSelectAllowModify.js";export{useOptionFiltered}from"./selectHooks/useOptionFiltered.js";export{searchContentMatcher,useSearchContent}from"./selectHooks/useSearchContent.js";export{useSelectRenders}from"./selectHooks/useSelectRenders.js";export{useVersion}from"./useVersion.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Ref, ComputedRef } from 'vue';
|
|
2
2
|
import { AnyObject, AnyFn } from '../../shared/types';
|
|
3
|
+
export declare function handleInputEvent(target: HTMLInputElement, value?: string): void;
|
|
3
4
|
export declare function useDateTime(datePickerRef: Ref<AnyObject | null>, { formatRef, attrs, emit, allowedInvalidValue, isPanel }: {
|
|
4
5
|
formatRef: ComputedRef<string | [string, string]>;
|
|
5
6
|
attrs: AnyObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{computed as e,unref as t}from"vue";import{useEventListener as n}from"@vueuse/core";import{isValid as l}from"date-fns";function i(e,t=""){e.value=t,e.dispatchEvent(new InputEvent("input"))}function o(e,t,n,l){const o=e.value;if(!o)return;const u=e.selectionEnd||0,r=o.length;let a=0,s=0,c=0,d="",f=0;for(;a<r;){const e=o[a++];if(/\d/.test(e)&&(d+=e),a===u){c=d.length;const e=o.slice(a).match(/^\d+/);f=e?e[0].length:0}}const v=Array.isArray(t)?function(e){var t,n;let l=!1,i=e.parentNode||null;for(;i;){if(null==(n=null==(t=i.classList)?void 0:t.contains)?void 0:n.call(t,"n-time-picker")){l=!0;break}i=i.parentNode||null}return l}(e)?t[1]:t[0]:t;let g="",m=0,p=0;for(a=0;a<v.length&&(l||!(s>=d.length));){const e=v[a++];if(/[yMdHms]/.test(e)?g+=d[s++]||"0":g+=e,n&&s===c){c=-1,m=g.length,p=m;let e=v.slice(a).match(/^[yMdHms]+/);e?(f=Math.min(f,e[0].length),f&&(g+=d.slice(s,s+f),s+=f),a+=e[0].length):(e=v.slice(a).match(/^([^yMdHms]+)([yMdHms]*)/),e&&(m+=e[1].length,p=m+e[2].length))}}const h=g!==o;return h&&i(e,g),n&&(m=m||g.length+1,p=p||g.length+1,e.setSelectionRange(m,p)),h}function u(u,{formatRef:r,attrs:a,emit:s,allowedInvalidValue:c,isPanel:d}){const f=e((()=>{var e;return null==(e=u.value)?void 0:e.$el})),v=e((()=>{const e={};return["date","time","hour","minute","second"].forEach((t=>function(e,t){const n=`is-${t}-disabled`;a[n]&&(e[n.replace(/-(\w)/g,((e,t)=>t.toUpperCase()))]=a[n])}(e,t))),e}));function g(e){if(function(e=""){return c&&c===e&&!d}(e.value))return void(null==s||s("update:formatted-value",c,null));o(e,t(r),!1,!0);const n=null==e?void 0:e.value,u=Reflect.get(a,"type")||"";n&&!u.includes("range")&&l(new Date(n))&&!function(e){const{isTimeDisabled:t,isDateDisabled:n,isHourDisabled:l,isMinuteDisabled:i,isSecondDisabled:o}=v.value;if(null==n?void 0:n(e.getTime()))return;const u=(null==t?void 0:t(e.getTime()).isHourDisabled)||l,r=(null==t?void 0:t(e.getTime()).isMinuteDisabled)||i,a=(null==t?void 0:t(e.getTime()).isSecondDisabled)||o;if(null==u?void 0:u(e.getHours()))return;if(null==r?void 0:r(e.getMinutes()))return;if(null==a?void 0:a(e.getSeconds()))return;return!0}(new Date(n))&&i(e)}return n(f,"input",(function(e){const n=e.target;if(!n.value||!Reflect.get(n,"_f_"))return;Reflect.set(n,"_f_",0),o(n,t(r),!0)&&(e.preventDefault(),e.stopPropagation())}),!0),n(f,"keydown",(function(e){const{key:t}=e,n=e.target;if(/\d/.test(t)&&n)Reflect.set(n,"_f_",1);else if("Enter"===t)g(n);else if("Backspace"===t&&!d){const e=null==n?void 0:n.value;1===(null==e?void 0:e.length)&&(i(n),n.blur(),n.focus())}}),!0),n(f,"mouseup",(function(e){const t=e.target;["INPUT"].includes(t.tagName)&&0===e.button&&function(e){const{selectionStart:t=0,selectionEnd:n=0,value:l}=e;if(t!==n)return;const i=/(\d+)/g;let o,u,r;for(;null!==(o=i.exec(l));)if(t&&o.index<=t&&t<=i.lastIndex){u=o.index,r=i.lastIndex;break}void 0!==u&&void 0!==r&&e.setSelectionRange(u,r)}(t)}),!0),n(f,"paste",(function(e){var t,n;const l=(null==(t=e.clipboardData)?void 0:t.getData("text"))||"",o=null==(n=l.match(/\d+/g))?void 0:n.join(",");if(!o)return;e.preventDefault(),e.stopPropagation();const u=e.target;i(u,o),g(u)}),!0),{handleConfirm:g,focus:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.blur)?void 0:t.call(e)}}}export{u as useDateTime};
|
|
1
|
+
import{computed as e,unref as t}from"vue";import{useEventListener as n}from"@vueuse/core";import{isValid as l}from"date-fns";function i(e,t=""){e.value=t,e.dispatchEvent(new InputEvent("input"))}function o(e,t,n,l){const o=e.value;if(!o)return;const u=e.selectionEnd||0,r=o.length;let a=0,s=0,c=0,d="",f=0;for(;a<r;){const e=o[a++];if(/\d/.test(e)&&(d+=e),a===u){c=d.length;const e=o.slice(a).match(/^\d+/);f=e?e[0].length:0}}const v=Array.isArray(t)?function(e){var t,n;let l=!1,i=e.parentNode||null;for(;i;){if(null==(n=null==(t=i.classList)?void 0:t.contains)?void 0:n.call(t,"n-time-picker")){l=!0;break}i=i.parentNode||null}return l}(e)?t[1]:t[0]:t;let g="",m=0,p=0;for(a=0;a<v.length&&(l||!(s>=d.length));){const e=v[a++];if(/[yMdHms]/.test(e)?g+=d[s++]||"0":g+=e,n&&s===c){c=-1,m=g.length,p=m;let e=v.slice(a).match(/^[yMdHms]+/);e?(f=Math.min(f,e[0].length),f&&(g+=d.slice(s,s+f),s+=f),a+=e[0].length):(e=v.slice(a).match(/^([^yMdHms]+)([yMdHms]*)/),e&&(m+=e[1].length,p=m+e[2].length))}}const h=g!==o;return h&&i(e,g),n&&(m=m||g.length+1,p=p||g.length+1,e.setSelectionRange(m,p)),h}function u(u,{formatRef:r,attrs:a,emit:s,allowedInvalidValue:c,isPanel:d}){const f=e((()=>{var e;return null==(e=u.value)?void 0:e.$el})),v=e((()=>{const e={};return["date","time","hour","minute","second"].forEach((t=>function(e,t){const n=`is-${t}-disabled`;a[n]&&(e[n.replace(/-(\w)/g,((e,t)=>t.toUpperCase()))]=a[n])}(e,t))),e}));function g(e){if(function(e=""){return c&&c===e&&!d}(e.value))return void(null==s||s("update:formatted-value",c,null));o(e,t(r),!1,!0);const n=null==e?void 0:e.value,u=Reflect.get(a,"type")||"";n&&!u.includes("range")&&l(new Date(n))&&!function(e){const{isTimeDisabled:t,isDateDisabled:n,isHourDisabled:l,isMinuteDisabled:i,isSecondDisabled:o}=v.value;if(null==n?void 0:n(e.getTime()))return;const u=(null==t?void 0:t(e.getTime()).isHourDisabled)||l,r=(null==t?void 0:t(e.getTime()).isMinuteDisabled)||i,a=(null==t?void 0:t(e.getTime()).isSecondDisabled)||o;if(null==u?void 0:u(e.getHours()))return;if(null==r?void 0:r(e.getMinutes()))return;if(null==a?void 0:a(e.getSeconds()))return;return!0}(new Date(n))&&i(e)}return n(f,"input",(function(e){const n=e.target;if(!n.value||!Reflect.get(n,"_f_"))return;Reflect.set(n,"_f_",0),o(n,t(r),!0)&&(e.preventDefault(),e.stopPropagation())}),!0),n(f,"keydown",(function(e){const{key:t}=e,n=e.target;if(/\d/.test(t)&&n)Reflect.set(n,"_f_",1);else if("Enter"===t)g(n);else if("Backspace"===t&&!d){const e=null==n?void 0:n.value;1===(null==e?void 0:e.length)&&(i(n),n.blur(),n.focus())}}),!0),n(f,"mouseup",(function(e){const t=e.target;["INPUT"].includes(t.tagName)&&0===e.button&&function(e){const{selectionStart:t=0,selectionEnd:n=0,value:l}=e;if(t!==n)return;const i=/(\d+)/g;let o,u,r;for(;null!==(o=i.exec(l));)if(t&&o.index<=t&&t<=i.lastIndex){u=o.index,r=i.lastIndex;break}void 0!==u&&void 0!==r&&e.setSelectionRange(u,r)}(t)}),!0),n(f,"paste",(function(e){var t,n;const l=(null==(t=e.clipboardData)?void 0:t.getData("text"))||"",o=null==(n=l.match(/\d+/g))?void 0:n.join(",");if(!o)return;e.preventDefault(),e.stopPropagation();const u=e.target;i(u,o),g(u)}),!0),{handleConfirm:g,focus:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.blur)?void 0:t.call(e)}}}export{i as handleInputEvent,u as useDateTime};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",i="3.2.3-beta.
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.2.3-beta.16",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.2.3-beta.16",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.2.3-beta.
|
|
3
|
+
"version": "3.2.3-beta.16",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"iOS 7",
|
|
72
72
|
"last 3 iOS versions"
|
|
73
73
|
],
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "91b2a4deb2cb35e562e867d9131e07de9f81c462"
|
|
75
75
|
}
|