@cregis/ui 1.0.7 → 1.0.12
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/dist/index.css +1 -1
- package/dist/index.js +1932 -1913
- package/dist/types/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -286,15 +286,15 @@ export declare const Input: DefineComponent<InputProps, {
|
|
|
286
286
|
focus: () => Promise<void>;
|
|
287
287
|
updateTextWidth: () => void;
|
|
288
288
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
289
|
-
"update:modelValue": (value: string | number) => any;
|
|
290
289
|
input: (value: string | number) => any;
|
|
290
|
+
"update:modelValue": (value: string | number) => any;
|
|
291
291
|
change: (value: string | number) => any;
|
|
292
292
|
focus: (value: FocusEvent) => any;
|
|
293
293
|
blur: (value: FocusEvent) => any;
|
|
294
294
|
clear: () => any;
|
|
295
295
|
}, string, PublicProps, Readonly<InputProps> & Readonly<{
|
|
296
|
-
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
297
296
|
onInput?: (value: string | number) => any;
|
|
297
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
298
298
|
onChange?: (value: string | number) => any;
|
|
299
299
|
onFocus?: (value: FocusEvent) => any;
|
|
300
300
|
onBlur?: (value: FocusEvent) => any;
|
|
@@ -340,6 +340,8 @@ export declare interface InputProps {
|
|
|
340
340
|
clearText?: string;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
+
export declare type LanguageKey = 'zh-CN' | 'zh-TW' | 'en-US';
|
|
344
|
+
|
|
343
345
|
/** 函数式轻提示,默认停留 1s,可通过对象配置时长;已有提示展示时忽略新调用 */
|
|
344
346
|
export declare function Message(source: MessageParam): void;
|
|
345
347
|
|
|
@@ -542,6 +544,8 @@ export declare interface SelectScrollPayload {
|
|
|
542
544
|
scrollLeft: number;
|
|
543
545
|
}
|
|
544
546
|
|
|
547
|
+
export declare const setCregisUILocale: (lang: LanguageKey) => void;
|
|
548
|
+
|
|
545
549
|
declare type Size = 'large' | 'medium' | 'small' | 'extraSmall';
|
|
546
550
|
|
|
547
551
|
declare type Size_2 = 'large' | 'medium' | 'small' | 'extraSmall';
|