@mfs-atomic/ui 1.1.0 → 1.1.1
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.d.ts +27 -2
- package/dist/mfs-theme.css +1 -1
- package/dist/mfs-theme.js +3538 -3482
- package/dist/mfs-theme.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1315,8 +1315,10 @@ declare type __VLS_Props_54 = {
|
|
|
1315
1315
|
|
|
1316
1316
|
declare type __VLS_Props_55 = {
|
|
1317
1317
|
modelValue?: string;
|
|
1318
|
-
language?:
|
|
1318
|
+
language?: CodeEditorLanguage;
|
|
1319
1319
|
filename?: string;
|
|
1320
|
+
tabs?: CodeEditorTab[];
|
|
1321
|
+
activeTab?: number;
|
|
1320
1322
|
readonly?: boolean;
|
|
1321
1323
|
disabled?: boolean;
|
|
1322
1324
|
lineNumbers?: boolean;
|
|
@@ -3368,12 +3370,24 @@ focus: (event: FocusEvent) => any;
|
|
|
3368
3370
|
blur: (event: FocusEvent) => any;
|
|
3369
3371
|
change: (value: string) => any;
|
|
3370
3372
|
copy: (value: string) => any;
|
|
3373
|
+
"update:tabs": (tabs: CodeEditorTab[]) => any;
|
|
3374
|
+
"update:activeTab": (index: number) => any;
|
|
3375
|
+
"tab-change": (payload: {
|
|
3376
|
+
index: number;
|
|
3377
|
+
tab: CodeEditorTab;
|
|
3378
|
+
}) => any;
|
|
3371
3379
|
}, string, PublicProps, Readonly<__VLS_Props_55> & Readonly<{
|
|
3372
3380
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3373
3381
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
3374
3382
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
3375
3383
|
onChange?: ((value: string) => any) | undefined;
|
|
3376
3384
|
onCopy?: ((value: string) => any) | undefined;
|
|
3385
|
+
"onUpdate:tabs"?: ((tabs: CodeEditorTab[]) => any) | undefined;
|
|
3386
|
+
"onUpdate:activeTab"?: ((index: number) => any) | undefined;
|
|
3387
|
+
"onTab-change"?: ((payload: {
|
|
3388
|
+
index: number;
|
|
3389
|
+
tab: CodeEditorTab;
|
|
3390
|
+
}) => any) | undefined;
|
|
3377
3391
|
}>, {
|
|
3378
3392
|
disabled: boolean;
|
|
3379
3393
|
modelValue: string;
|
|
@@ -3382,7 +3396,8 @@ readonly: boolean;
|
|
|
3382
3396
|
invalid: boolean;
|
|
3383
3397
|
maxHeight: string;
|
|
3384
3398
|
minHeight: string;
|
|
3385
|
-
language:
|
|
3399
|
+
language: CodeEditorLanguage;
|
|
3400
|
+
activeTab: number;
|
|
3386
3401
|
lineNumbers: boolean;
|
|
3387
3402
|
copyable: boolean;
|
|
3388
3403
|
tabSize: number;
|
|
@@ -3391,6 +3406,16 @@ bodyRef: HTMLDivElement;
|
|
|
3391
3406
|
textareaRef: HTMLTextAreaElement;
|
|
3392
3407
|
}, HTMLDivElement>;
|
|
3393
3408
|
|
|
3409
|
+
export declare type CodeEditorLanguage = CodeLanguage;
|
|
3410
|
+
|
|
3411
|
+
export declare interface CodeEditorTab {
|
|
3412
|
+
label: string;
|
|
3413
|
+
filename?: string;
|
|
3414
|
+
language?: CodeEditorLanguage;
|
|
3415
|
+
code: string;
|
|
3416
|
+
readonly?: boolean;
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3394
3419
|
export declare type CodeLanguage = 'vue' | 'ts' | 'js' | 'html' | 'css' | 'json' | 'bash' | 'sql' | 'text';
|
|
3395
3420
|
|
|
3396
3421
|
export declare interface CodeToken {
|