twcpt 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1182,13 +1182,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1182
1182
  popperOptions: Record<string, any>;
1183
1183
  placeholder: string;
1184
1184
  modelValue: [string, string] | [Date, Date] | [number, number];
1185
+ clearable: boolean;
1186
+ validateEvent: boolean;
1187
+ bgGrey: boolean;
1185
1188
  format: string;
1186
1189
  valueFormat: string;
1187
1190
  startPlaceholder: string;
1188
1191
  endPlaceholder: string;
1189
1192
  disable: boolean;
1190
1193
  readonly: boolean;
1191
- clearable: boolean;
1192
1194
  disabledDate: (date: Date) => boolean;
1193
1195
  minDate: string | number | Date;
1194
1196
  maxDate: string | number | Date;
@@ -1200,10 +1202,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1200
1202
  text: string;
1201
1203
  value: [Date, Date] | (() => [Date, Date]);
1202
1204
  }[];
1203
- bgGrey: boolean;
1204
1205
  dense: boolean;
1205
1206
  showShortcuts: boolean;
1206
- validateEvent: boolean;
1207
1207
  }, {}, {
1208
1208
  ElDatePicker: SFCWithInstall<DefineComponent<ExtractPropTypes<{
1209
1209
  readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "months" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "months" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType)) | null)[], unknown, unknown, "date", boolean>;
@@ -71,7 +71,7 @@ declare const _default: DefineComponent<{}, {
71
71
  labelPosition: "left" | "right" | "top" | "";
72
72
  inlineMessage: boolean;
73
73
  showMessage: boolean;
74
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & ShallowUnwrapRef<{
74
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "validateState" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "resetField" | "setInitialValue"> & ShallowUnwrapRef<{
75
75
  size: ComputedRef<"" | "default" | "large" | "small">;
76
76
  validateMessage: Ref<string, string>;
77
77
  validateState: Ref<"" | "error" | "success" | "validating", "" | "error" | "success" | "validating">;
@@ -158,7 +158,7 @@ declare const _default: DefineComponent<{}, {
158
158
  labelPosition: "left" | "right" | "top" | "";
159
159
  inlineMessage: boolean;
160
160
  showMessage: boolean;
161
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & ShallowUnwrapRef<{
161
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "validateState" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "resetField" | "setInitialValue"> & ShallowUnwrapRef<{
162
162
  size: ComputedRef<"" | "default" | "large" | "small">;
163
163
  validateMessage: Ref<string, string>;
164
164
  validateState: Ref<"" | "error" | "success" | "validating", "" | "error" | "success" | "validating">;
@@ -1,8 +1,13 @@
1
- import { DefineComponent, Ref, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ShallowRef, ComputedRef, ComponentOptionsMixin, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, PublicProps, CreateComponentPublicInstanceWithMixins } from 'vue';
1
+ import { DefineComponent, ExtractPropTypes, Ref, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ShallowRef, ComputedRef, ComponentOptionsMixin, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, PublicProps, CreateComponentPublicInstanceWithMixins } from 'vue';
2
2
  import { ComponentSize, InputModelModifiers, InputType, InputAutoSize, InputProps } from 'element-plus';
3
3
  import { IconPropType, SFCWithInstall } from 'element-plus/es/utils/index.mjs';
4
4
  import { OnCleanup } from '@vue/reactivity';
5
- declare const _default: DefineComponent<{}, {
5
+ declare const _default: DefineComponent<ExtractPropTypes<{
6
+ bgGrey: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }>, {
6
11
  elInputRef: Ref<({
7
12
  $: ComponentInternalInstance;
8
13
  $data: {};
@@ -159,7 +164,7 @@ declare const _default: DefineComponent<{}, {
159
164
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
160
165
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
161
166
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
162
- }>, "focus" | "type" | "disabled" | "ref" | "clear" | "input" | "select" | "textarea" | "modelValue" | "blur" | "tabindex" | "validateEvent" | "clearIcon" | "rows" | "autosize" | "autocomplete" | "inputStyle" | "textareaStyle" | "resizeTextarea" | "modelModifiers" | "wordLimitPosition" | "isComposing"> & ShallowUnwrapRef<{
167
+ }>, "focus" | "type" | "disabled" | "ref" | "clear" | "input" | "select" | "textarea" | "modelValue" | "blur" | "autocomplete" | "clearIcon" | "validateEvent" | "tabindex" | "inputStyle" | "rows" | "autosize" | "textareaStyle" | "resizeTextarea" | "modelModifiers" | "wordLimitPosition" | "isComposing"> & ShallowUnwrapRef<{
163
168
  input: ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
164
169
  textarea: ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
165
170
  ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
@@ -341,7 +346,7 @@ declare const _default: DefineComponent<{}, {
341
346
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
342
347
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
343
348
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
344
- }>, "focus" | "type" | "disabled" | "ref" | "clear" | "input" | "select" | "textarea" | "modelValue" | "blur" | "tabindex" | "validateEvent" | "clearIcon" | "rows" | "autosize" | "autocomplete" | "inputStyle" | "textareaStyle" | "resizeTextarea" | "modelModifiers" | "wordLimitPosition" | "isComposing"> & ShallowUnwrapRef<{
349
+ }>, "focus" | "type" | "disabled" | "ref" | "clear" | "input" | "select" | "textarea" | "modelValue" | "blur" | "autocomplete" | "clearIcon" | "validateEvent" | "tabindex" | "inputStyle" | "rows" | "autosize" | "textareaStyle" | "resizeTextarea" | "modelModifiers" | "wordLimitPosition" | "isComposing"> & ShallowUnwrapRef<{
345
350
  input: ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
346
351
  textarea: ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
347
352
  ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
@@ -368,7 +373,14 @@ declare const _default: DefineComponent<{}, {
368
373
  append?: (props: {}) => any;
369
374
  };
370
375
  }) | null>;
371
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
376
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
377
+ bgGrey: {
378
+ type: BooleanConstructor;
379
+ default: boolean;
380
+ };
381
+ }>> & Readonly<{}>, {
382
+ bgGrey: boolean;
383
+ }, {}, {
372
384
  ElInput: SFCWithInstall<{
373
385
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< InputProps> & Readonly<{
374
386
  onBlur?: ((evt: FocusEvent) => any) | undefined;
@@ -29,6 +29,7 @@ export interface JTWInputProps {
29
29
  tabindex?: string | number;
30
30
  validateEvent?: boolean;
31
31
  inputStyle?: Record<string, any>;
32
+ bgGrey?: boolean;
32
33
  }
33
34
  export interface JTWInputEmits {
34
35
  (e: 'update:modelValue', value: string | number): void;