cnhis-design-vue 3.1.52-beta.12 → 3.1.52-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/classification/index.d.ts +22 -4
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +22 -4
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +22 -4
- package/es/components/classification/src/index.vue.d.ts +22 -4
- package/es/components/date-picker/index.d.ts +11 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +11 -2
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +11 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +11 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/recommend-search/index.d.ts +1 -1
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +22 -4
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +22 -4
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +22 -4
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +11 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +44 -8
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +44 -8
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +2 -1
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -82,6 +82,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
placeholder: {
|
|
83
83
|
type: StringConstructor;
|
|
84
84
|
};
|
|
85
|
+
allowedInvalidValue: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
85
88
|
}, {
|
|
86
89
|
attrs: {
|
|
87
90
|
[x: string]: unknown;
|
|
@@ -99,6 +102,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
102
|
placeholder: {
|
|
100
103
|
type: StringConstructor;
|
|
101
104
|
};
|
|
105
|
+
allowedInvalidValue: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
};
|
|
102
108
|
}>> & {
|
|
103
109
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
104
110
|
}>>;
|
|
@@ -106,7 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
112
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
107
113
|
panelInstRef: import("vue").Ref<null>;
|
|
108
114
|
placeholderRef: import("vue").Ref<any>;
|
|
109
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
115
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
110
116
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
111
117
|
formatRef: import("vue").ComputedRef<string>;
|
|
112
118
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -115,7 +121,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
121
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
116
122
|
onUpdateShow: (show: boolean) => void;
|
|
117
123
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
118
|
-
|
|
124
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
119
125
|
NDatePicker: any;
|
|
120
126
|
}, 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<{
|
|
121
127
|
updateUnchangedValue: {
|
|
@@ -130,6 +136,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
136
|
placeholder: {
|
|
131
137
|
type: StringConstructor;
|
|
132
138
|
};
|
|
139
|
+
allowedInvalidValue: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
};
|
|
133
142
|
}>> & {
|
|
134
143
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
135
144
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as t,inject as r,ref as i,computed as a,onMounted as l,openBlock as o,createBlock as n,unref as u,mergeProps as s,isRef as d}from"vue";import{generateTimeFormat as m}from"../../../../../../../shared/utils/index.js";import{isFunction as p}from"lodash-es";import{useIhoTableFormEvent as c}from"../../../../utils/index.js";import
|
|
1
|
+
import{defineComponent as e,useAttrs as t,inject as r,ref as i,computed as a,onMounted as l,openBlock as o,createBlock as n,unref as u,mergeProps as s,isRef as d}from"vue";import{generateTimeFormat as m}from"../../../../../../../shared/utils/index.js";import{isFunction as p}from"lodash-es";import{useIhoTableFormEvent as c}from"../../../../utils/index.js";import v from"../../../../../../date-picker/index.js";var f=e({__name:"editDate",props:{value:{type:String,default:void 0},column:{type:Object,required:!0},row:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},emits:["update:value"],setup(e,{emit:f}){const w=e,D=t(),b=r("$xetable"),{emitFormChangeWithParams:y}=c({...w,$table:b}),g=i(),$=a({get:()=>w.value,set(e){const t=w.value;t!==e&&(f("update:value",e),y({oldValue:t}))}}),T=a((()=>{const e=D.valueFormat||"yyyy-MM-dd HH:mm:ss";return{valueFormat:e,format:e,timePickerProps:{format:m(e)}}})),{isStartDate:h=!1,isEndDate:x=!1}=D,j=D.connectField||"",S=(e,t)=>h&&j?e>t:!(!x||!j)&&e<t,k=e=>{const t=new Date(w.row[j]),r=new Date(e),{h:i,m:a,s:l}=H(t),o=(e,t,r,i)=>!(x&&r>i)&&(!(h&&r<i)&&S(e,t));return{isHourDisabled:t=>{if(!w.row[j])return!1;const a=new Date(`${w.row[j].split(" ")[0]} 00:00:00`).getTime(),{m:l,s:n}=H(r);return o(t,i,e-60*t*60*1e3-60*l*1e3-1e3*n,a)},isMinuteDisabled:t=>{if(!w.row[j])return!1;const l=new Date(`${w.row[j].split(" ")[0]} ${i}:00:00`).getTime(),{s:n}=H(r);return o(t,a,e-60*t*1e3-1e3*n,l)},isSecondDisabled:t=>{if(!w.row[j])return!1;const r=new Date(`${w.row[j].split(" ")[0]} ${i}:${a}:00`).getTime();return o(t,l,e-1e3*t,r)}}},q={type:D.type||"datetime",clearable:!0,allowedInvalidValue:"-",...D,...T.value,isDateDisabled:F(D.isDateDisabled)||(e=>!!w.row[j]&&S(e,x?new Date(`${w.row[j].split(" ")[0]} 00:00:00`).getTime():new Date(w.row[j]).getTime()))};function F(e){return p(e)?t=>e(t,w.row):null}function H(e){return{h:e.getHours(),m:e.getMinutes(),s:e.getSeconds()}}return q.type.includes("time")&&(q.isTimeDisabled=F(D.isTimeDisabled)||k),l((()=>{var e,t,r,i,a,l,o;return null==(o=null==(a=null==(r=null==(t=null==(e=g.value)?void 0:e.$datePicker)?void 0:t.inputInstRef)?void 0:(i=r.$el).querySelector)?void 0:(l=a.call(i,"input")).select)?void 0:o.call(l)})),(e,t)=>(o(),n(u(v),s({ref_key:"formRef",ref:g},u(q),{"formatted-value":u($),"onUpdate:formatted-value":t[0]||(t[0]=e=>d($)?$.value=e:null)}),null,16,["formatted-value"]))}});export{f as default};
|
|
@@ -179,7 +179,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
179
179
|
emits: (event: "delete" | "clear" | "update:value" | "search" | "choose" | "openMenu" | "closeMenu", ...args: any[]) => void;
|
|
180
180
|
baseSearchRef: import("vue").Ref<import("./src/types").BaseSearchExpose | undefined>;
|
|
181
181
|
setPattern: (value?: string) => void;
|
|
182
|
-
valueRef: import("vue").
|
|
182
|
+
valueRef: import("vue").Ref<string | undefined> | import("vue").WritableComputedRef<string | undefined>;
|
|
183
183
|
parsedOptions: import("vue").ComputedRef<import("../../../es/shared/types").AnyObject[]>;
|
|
184
184
|
search: (value: string) => void;
|
|
185
185
|
onOpenMenu: () => void;
|
|
@@ -181,7 +181,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
181
|
emits: (event: "delete" | "clear" | "update:value" | "search" | "choose" | "openMenu" | "closeMenu", ...args: any[]) => void;
|
|
182
182
|
baseSearchRef: import("vue").Ref<import("../../../../es/components/recommend-search/src/types").BaseSearchExpose | undefined>;
|
|
183
183
|
setPattern: (value?: string) => void;
|
|
184
|
-
valueRef: import("vue").
|
|
184
|
+
valueRef: import("vue").Ref<string | undefined> | import("vue").WritableComputedRef<string | undefined>;
|
|
185
185
|
parsedOptions: import("vue").ComputedRef<AnyObject[]>;
|
|
186
186
|
search: (value: string) => void;
|
|
187
187
|
onOpenMenu: () => void;
|
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
emits: (event: "delete" | "clear" | "update:value" | "search" | "choose" | "openMenu" | "closeMenu", ...args: any[]) => void;
|
|
72
72
|
baseSearchRef: import("vue").Ref<BaseSearchExpose | undefined>;
|
|
73
73
|
setPattern: (value?: string) => void;
|
|
74
|
-
valueRef: import("vue").
|
|
74
|
+
valueRef: import("vue").Ref<string | undefined> | import("vue").WritableComputedRef<string | undefined>;
|
|
75
75
|
parsedOptions: import("vue").ComputedRef<AnyObject[]>;
|
|
76
76
|
search: (value: string) => void;
|
|
77
77
|
onOpenMenu: () => void;
|
|
@@ -109,6 +109,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
placeholder: {
|
|
110
110
|
type: StringConstructor;
|
|
111
111
|
};
|
|
112
|
+
allowedInvalidValue: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
};
|
|
112
115
|
}, {
|
|
113
116
|
attrs: {
|
|
114
117
|
[x: string]: unknown;
|
|
@@ -126,6 +129,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
129
|
placeholder: {
|
|
127
130
|
type: StringConstructor;
|
|
128
131
|
};
|
|
132
|
+
allowedInvalidValue: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
};
|
|
129
135
|
}>> & {
|
|
130
136
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
131
137
|
}>>;
|
|
@@ -133,7 +139,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
139
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
134
140
|
panelInstRef: import("vue").Ref<null>;
|
|
135
141
|
placeholderRef: import("vue").Ref<any>;
|
|
136
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
142
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
137
143
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
138
144
|
formatRef: import("vue").ComputedRef<string>;
|
|
139
145
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -142,7 +148,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
148
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
143
149
|
onUpdateShow: (show: boolean) => void;
|
|
144
150
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
145
|
-
|
|
151
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
146
152
|
NDatePicker: any;
|
|
147
153
|
}, 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<{
|
|
148
154
|
updateUnchangedValue: {
|
|
@@ -157,6 +163,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
163
|
placeholder: {
|
|
158
164
|
type: StringConstructor;
|
|
159
165
|
};
|
|
166
|
+
allowedInvalidValue: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
160
169
|
}>> & {
|
|
161
170
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
162
171
|
}, {
|
|
@@ -728,6 +737,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
728
737
|
placeholder: {
|
|
729
738
|
type: StringConstructor;
|
|
730
739
|
};
|
|
740
|
+
allowedInvalidValue: {
|
|
741
|
+
type: StringConstructor;
|
|
742
|
+
};
|
|
731
743
|
}, {
|
|
732
744
|
attrs: {
|
|
733
745
|
[x: string]: unknown;
|
|
@@ -745,6 +757,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
745
757
|
placeholder: {
|
|
746
758
|
type: StringConstructor;
|
|
747
759
|
};
|
|
760
|
+
allowedInvalidValue: {
|
|
761
|
+
type: StringConstructor;
|
|
762
|
+
};
|
|
748
763
|
}>> & {
|
|
749
764
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
750
765
|
}>>;
|
|
@@ -752,7 +767,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
752
767
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
753
768
|
panelInstRef: import("vue").Ref<null>;
|
|
754
769
|
placeholderRef: import("vue").Ref<any>;
|
|
755
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
770
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
756
771
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
757
772
|
formatRef: import("vue").ComputedRef<string>;
|
|
758
773
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -761,7 +776,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
761
776
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
762
777
|
onUpdateShow: (show: boolean) => void;
|
|
763
778
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
764
|
-
|
|
779
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
765
780
|
NDatePicker: any;
|
|
766
781
|
}, 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<{
|
|
767
782
|
updateUnchangedValue: {
|
|
@@ -776,6 +791,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
776
791
|
placeholder: {
|
|
777
792
|
type: StringConstructor;
|
|
778
793
|
};
|
|
794
|
+
allowedInvalidValue: {
|
|
795
|
+
type: StringConstructor;
|
|
796
|
+
};
|
|
779
797
|
}>> & {
|
|
780
798
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
781
799
|
}, {
|
|
@@ -66,6 +66,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
placeholder: {
|
|
67
67
|
type: StringConstructor;
|
|
68
68
|
};
|
|
69
|
+
allowedInvalidValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
69
72
|
}, {
|
|
70
73
|
attrs: {
|
|
71
74
|
[x: string]: unknown;
|
|
@@ -83,6 +86,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
86
|
placeholder: {
|
|
84
87
|
type: StringConstructor;
|
|
85
88
|
};
|
|
89
|
+
allowedInvalidValue: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
};
|
|
86
92
|
}>> & {
|
|
87
93
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
88
94
|
}>>;
|
|
@@ -90,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
96
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
91
97
|
panelInstRef: import("vue").Ref<null>;
|
|
92
98
|
placeholderRef: import("vue").Ref<any>;
|
|
93
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
99
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
94
100
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
95
101
|
formatRef: import("vue").ComputedRef<string>;
|
|
96
102
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -99,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
105
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
100
106
|
onUpdateShow: (show: boolean) => void;
|
|
101
107
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
102
|
-
|
|
108
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
103
109
|
NDatePicker: any;
|
|
104
110
|
}, 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<{
|
|
105
111
|
updateUnchangedValue: {
|
|
@@ -114,6 +120,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
120
|
placeholder: {
|
|
115
121
|
type: StringConstructor;
|
|
116
122
|
};
|
|
123
|
+
allowedInvalidValue: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
};
|
|
117
126
|
}>> & {
|
|
118
127
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
119
128
|
}, {
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
|
@@ -79,6 +79,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
placeholder: {
|
|
80
80
|
type: StringConstructor;
|
|
81
81
|
};
|
|
82
|
+
allowedInvalidValue: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
82
85
|
}, {
|
|
83
86
|
attrs: {
|
|
84
87
|
[x: string]: unknown;
|
|
@@ -96,6 +99,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
99
|
placeholder: {
|
|
97
100
|
type: StringConstructor;
|
|
98
101
|
};
|
|
102
|
+
allowedInvalidValue: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
99
105
|
}>> & {
|
|
100
106
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
101
107
|
}>>;
|
|
@@ -103,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
109
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
104
110
|
panelInstRef: import("vue").Ref<null>;
|
|
105
111
|
placeholderRef: import("vue").Ref<any>;
|
|
106
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
112
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
107
113
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
108
114
|
formatRef: import("vue").ComputedRef<string>;
|
|
109
115
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -112,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
112
118
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
113
119
|
onUpdateShow: (show: boolean) => void;
|
|
114
120
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
115
|
-
|
|
121
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
116
122
|
NDatePicker: any;
|
|
117
123
|
}, 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<{
|
|
118
124
|
updateUnchangedValue: {
|
|
@@ -127,6 +133,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
127
133
|
placeholder: {
|
|
128
134
|
type: StringConstructor;
|
|
129
135
|
};
|
|
136
|
+
allowedInvalidValue: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
};
|
|
130
139
|
}>> & {
|
|
131
140
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
132
141
|
}, {
|
|
@@ -66,6 +66,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
66
66
|
placeholder: {
|
|
67
67
|
type: StringConstructor;
|
|
68
68
|
};
|
|
69
|
+
allowedInvalidValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
69
72
|
}, {
|
|
70
73
|
attrs: {
|
|
71
74
|
[x: string]: unknown;
|
|
@@ -83,6 +86,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
83
86
|
placeholder: {
|
|
84
87
|
type: StringConstructor;
|
|
85
88
|
};
|
|
89
|
+
allowedInvalidValue: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
};
|
|
86
92
|
}>> & {
|
|
87
93
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
88
94
|
}>>;
|
|
@@ -90,7 +96,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
90
96
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
91
97
|
panelInstRef: import("vue").Ref<null>;
|
|
92
98
|
placeholderRef: import("vue").Ref<any>;
|
|
93
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
99
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
94
100
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
95
101
|
formatRef: import("vue").ComputedRef<string>;
|
|
96
102
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -99,7 +105,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
99
105
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
100
106
|
onUpdateShow: (show: boolean) => void;
|
|
101
107
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
102
|
-
|
|
108
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
103
109
|
NDatePicker: any;
|
|
104
110
|
}, 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<{
|
|
105
111
|
updateUnchangedValue: {
|
|
@@ -114,6 +120,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
114
120
|
placeholder: {
|
|
115
121
|
type: StringConstructor;
|
|
116
122
|
};
|
|
123
|
+
allowedInvalidValue: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
};
|
|
117
126
|
}>> & {
|
|
118
127
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
119
128
|
}, {
|
|
@@ -685,6 +694,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
685
694
|
placeholder: {
|
|
686
695
|
type: StringConstructor;
|
|
687
696
|
};
|
|
697
|
+
allowedInvalidValue: {
|
|
698
|
+
type: StringConstructor;
|
|
699
|
+
};
|
|
688
700
|
}, {
|
|
689
701
|
attrs: {
|
|
690
702
|
[x: string]: unknown;
|
|
@@ -702,6 +714,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
702
714
|
placeholder: {
|
|
703
715
|
type: StringConstructor;
|
|
704
716
|
};
|
|
717
|
+
allowedInvalidValue: {
|
|
718
|
+
type: StringConstructor;
|
|
719
|
+
};
|
|
705
720
|
}>> & {
|
|
706
721
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
707
722
|
}>>;
|
|
@@ -709,7 +724,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
709
724
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
710
725
|
panelInstRef: import("vue").Ref<null>;
|
|
711
726
|
placeholderRef: import("vue").Ref<any>;
|
|
712
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
727
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
713
728
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
714
729
|
formatRef: import("vue").ComputedRef<string>;
|
|
715
730
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -718,7 +733,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
718
733
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
719
734
|
onUpdateShow: (show: boolean) => void;
|
|
720
735
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
721
|
-
|
|
736
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
722
737
|
NDatePicker: any;
|
|
723
738
|
}, 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<{
|
|
724
739
|
updateUnchangedValue: {
|
|
@@ -733,6 +748,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
733
748
|
placeholder: {
|
|
734
749
|
type: StringConstructor;
|
|
735
750
|
};
|
|
751
|
+
allowedInvalidValue: {
|
|
752
|
+
type: StringConstructor;
|
|
753
|
+
};
|
|
736
754
|
}>> & {
|
|
737
755
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
738
756
|
}, {
|
|
@@ -229,6 +229,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
229
|
placeholder: {
|
|
230
230
|
type: StringConstructor;
|
|
231
231
|
};
|
|
232
|
+
allowedInvalidValue: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
};
|
|
232
235
|
}, {
|
|
233
236
|
attrs: {
|
|
234
237
|
[x: string]: unknown;
|
|
@@ -246,6 +249,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
249
|
placeholder: {
|
|
247
250
|
type: StringConstructor;
|
|
248
251
|
};
|
|
252
|
+
allowedInvalidValue: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
};
|
|
249
255
|
}>> & {
|
|
250
256
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
251
257
|
}>>;
|
|
@@ -253,7 +259,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
259
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
254
260
|
panelInstRef: import("vue").Ref<null>;
|
|
255
261
|
placeholderRef: import("vue").Ref<any>;
|
|
256
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
262
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
257
263
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
258
264
|
formatRef: import("vue").ComputedRef<string>;
|
|
259
265
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -262,7 +268,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
262
268
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
263
269
|
onUpdateShow: (show: boolean) => void;
|
|
264
270
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
265
|
-
|
|
271
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
266
272
|
NDatePicker: any;
|
|
267
273
|
}, 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<{
|
|
268
274
|
updateUnchangedValue: {
|
|
@@ -277,6 +283,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
283
|
placeholder: {
|
|
278
284
|
type: StringConstructor;
|
|
279
285
|
};
|
|
286
|
+
allowedInvalidValue: {
|
|
287
|
+
type: StringConstructor;
|
|
288
|
+
};
|
|
280
289
|
}>> & {
|
|
281
290
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
282
291
|
}, {
|
|
@@ -848,6 +857,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
848
857
|
placeholder: {
|
|
849
858
|
type: StringConstructor;
|
|
850
859
|
};
|
|
860
|
+
allowedInvalidValue: {
|
|
861
|
+
type: StringConstructor;
|
|
862
|
+
};
|
|
851
863
|
}, {
|
|
852
864
|
attrs: {
|
|
853
865
|
[x: string]: unknown;
|
|
@@ -865,6 +877,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
865
877
|
placeholder: {
|
|
866
878
|
type: StringConstructor;
|
|
867
879
|
};
|
|
880
|
+
allowedInvalidValue: {
|
|
881
|
+
type: StringConstructor;
|
|
882
|
+
};
|
|
868
883
|
}>> & {
|
|
869
884
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
870
885
|
}>>;
|
|
@@ -872,7 +887,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
872
887
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
873
888
|
panelInstRef: import("vue").Ref<null>;
|
|
874
889
|
placeholderRef: import("vue").Ref<any>;
|
|
875
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
890
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
876
891
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
877
892
|
formatRef: import("vue").ComputedRef<string>;
|
|
878
893
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -881,7 +896,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
881
896
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
882
897
|
onUpdateShow: (show: boolean) => void;
|
|
883
898
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
884
|
-
|
|
899
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
885
900
|
NDatePicker: any;
|
|
886
901
|
}, 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<{
|
|
887
902
|
updateUnchangedValue: {
|
|
@@ -896,6 +911,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
896
911
|
placeholder: {
|
|
897
912
|
type: StringConstructor;
|
|
898
913
|
};
|
|
914
|
+
allowedInvalidValue: {
|
|
915
|
+
type: StringConstructor;
|
|
916
|
+
};
|
|
899
917
|
}>> & {
|
|
900
918
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
901
919
|
}, {
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
|
@@ -96,6 +96,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
placeholder: {
|
|
97
97
|
type: StringConstructor;
|
|
98
98
|
};
|
|
99
|
+
allowedInvalidValue: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
99
102
|
}, {
|
|
100
103
|
attrs: {
|
|
101
104
|
[x: string]: unknown;
|
|
@@ -113,6 +116,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
116
|
placeholder: {
|
|
114
117
|
type: StringConstructor;
|
|
115
118
|
};
|
|
119
|
+
allowedInvalidValue: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
};
|
|
116
122
|
}>> & {
|
|
117
123
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
118
124
|
}>>;
|
|
@@ -120,7 +126,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
126
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
121
127
|
panelInstRef: import("vue").Ref<null>;
|
|
122
128
|
placeholderRef: import("vue").Ref<any>;
|
|
123
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
129
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
124
130
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
125
131
|
formatRef: import("vue").ComputedRef<string>;
|
|
126
132
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -129,7 +135,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
135
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
130
136
|
onUpdateShow: (show: boolean) => void;
|
|
131
137
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
132
|
-
|
|
138
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
133
139
|
NDatePicker: any;
|
|
134
140
|
}, 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<{
|
|
135
141
|
updateUnchangedValue: {
|
|
@@ -144,6 +150,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
150
|
placeholder: {
|
|
145
151
|
type: StringConstructor;
|
|
146
152
|
};
|
|
153
|
+
allowedInvalidValue: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
};
|
|
147
156
|
}>> & {
|
|
148
157
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
149
158
|
}, {
|
|
@@ -79,6 +79,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
placeholder: {
|
|
80
80
|
type: StringConstructor;
|
|
81
81
|
};
|
|
82
|
+
allowedInvalidValue: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
82
85
|
}, {
|
|
83
86
|
attrs: {
|
|
84
87
|
[x: string]: unknown;
|
|
@@ -96,6 +99,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
99
|
placeholder: {
|
|
97
100
|
type: StringConstructor;
|
|
98
101
|
};
|
|
102
|
+
allowedInvalidValue: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
99
105
|
}>> & {
|
|
100
106
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
101
107
|
}>>;
|
|
@@ -103,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
109
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
104
110
|
panelInstRef: import("vue").Ref<null>;
|
|
105
111
|
placeholderRef: import("vue").Ref<any>;
|
|
106
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
112
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
107
113
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
108
114
|
formatRef: import("vue").ComputedRef<string>;
|
|
109
115
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -112,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
112
118
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
113
119
|
onUpdateShow: (show: boolean) => void;
|
|
114
120
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
115
|
-
|
|
121
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
116
122
|
NDatePicker: any;
|
|
117
123
|
}, 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<{
|
|
118
124
|
updateUnchangedValue: {
|
|
@@ -127,6 +133,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
127
133
|
placeholder: {
|
|
128
134
|
type: StringConstructor;
|
|
129
135
|
};
|
|
136
|
+
allowedInvalidValue: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
};
|
|
130
139
|
}>> & {
|
|
131
140
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
132
141
|
}, {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -114,6 +114,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
114
|
placeholder: {
|
|
115
115
|
type: StringConstructor;
|
|
116
116
|
};
|
|
117
|
+
allowedInvalidValue: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
117
120
|
}, {
|
|
118
121
|
attrs: {
|
|
119
122
|
[x: string]: unknown;
|
|
@@ -131,6 +134,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
134
|
placeholder: {
|
|
132
135
|
type: StringConstructor;
|
|
133
136
|
};
|
|
137
|
+
allowedInvalidValue: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
};
|
|
134
140
|
}>> & {
|
|
135
141
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
136
142
|
}>>;
|
|
@@ -138,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
144
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
139
145
|
panelInstRef: import("vue").Ref<null>;
|
|
140
146
|
placeholderRef: import("vue").Ref<any>;
|
|
141
|
-
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
147
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
142
148
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
143
149
|
formatRef: import("vue").ComputedRef<string>;
|
|
144
150
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -147,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
153
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
148
154
|
onUpdateShow: (show: boolean) => void;
|
|
149
155
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
150
|
-
|
|
156
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
151
157
|
NDatePicker: any;
|
|
152
158
|
}, 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
159
|
updateUnchangedValue: {
|
|
@@ -162,6 +168,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
168
|
placeholder: {
|
|
163
169
|
type: StringConstructor;
|
|
164
170
|
};
|
|
171
|
+
allowedInvalidValue: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
};
|
|
165
174
|
}>> & {
|
|
166
175
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
167
176
|
}, {
|