@codemonster-ru/vueforge 0.67.0 → 0.69.0
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/README.md +101 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.ts.mjs +3619 -3396
- package/dist/index.ts.umd.js +15 -3
- package/dist/package/components/__tests__/divider.test.d.ts +1 -0
- package/dist/package/components/__tests__/rich-text-editor.test.d.ts +1 -0
- package/dist/package/components/divider.vue.d.ts +32 -0
- package/dist/package/components/rich-text-editor.vue.d.ts +51 -0
- package/dist/package/config/theme-core.d.ts +53 -0
- package/dist/package/themes/default/components/divider.d.ts +11 -0
- package/dist/package/themes/default/components/rich-text-editor.d.ts +42 -0
- package/dist/package/themes/default/index.d.ts +51 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
2
|
+
type Variant = 'solid' | 'dashed' | 'dotted';
|
|
3
|
+
interface Props {
|
|
4
|
+
orientation?: Orientation;
|
|
5
|
+
variant?: Variant;
|
|
6
|
+
inset?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
|
+
label: string;
|
|
21
|
+
orientation: Orientation;
|
|
22
|
+
variant: Variant;
|
|
23
|
+
ariaLabel: string;
|
|
24
|
+
inset: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
type Format = 'markdown' | 'html';
|
|
4
|
+
export type RichTextEditorAction = 'bold' | 'italic' | 'underline' | 'link' | 'bulletList' | 'orderedList' | 'code';
|
|
5
|
+
interface Props {
|
|
6
|
+
modelValue?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
size?: Size;
|
|
11
|
+
variant?: Variant;
|
|
12
|
+
format?: Format;
|
|
13
|
+
rows?: number;
|
|
14
|
+
maxLength?: number;
|
|
15
|
+
showToolbar?: boolean;
|
|
16
|
+
toolbar?: Array<RichTextEditorAction>;
|
|
17
|
+
toolbarLabel?: string;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
blur: (...args: any[]) => void;
|
|
22
|
+
change: (...args: any[]) => void;
|
|
23
|
+
focus: (...args: any[]) => void;
|
|
24
|
+
input: (...args: any[]) => void;
|
|
25
|
+
"update:modelValue": (...args: any[]) => void;
|
|
26
|
+
action: (...args: any[]) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onAction?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
size: Size;
|
|
37
|
+
variant: Variant;
|
|
38
|
+
modelValue: string;
|
|
39
|
+
placeholder: string;
|
|
40
|
+
readonly: boolean;
|
|
41
|
+
ariaLabel: string;
|
|
42
|
+
format: Format;
|
|
43
|
+
rows: number;
|
|
44
|
+
maxLength: number;
|
|
45
|
+
showToolbar: boolean;
|
|
46
|
+
toolbar: Array<RichTextEditorAction>;
|
|
47
|
+
toolbarLabel: string;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
49
|
+
control: HTMLTextAreaElement;
|
|
50
|
+
}, HTMLDivElement>;
|
|
51
|
+
export default _default;
|
|
@@ -407,6 +407,47 @@ export type TextareaTokens = {
|
|
|
407
407
|
fontSize?: string;
|
|
408
408
|
};
|
|
409
409
|
};
|
|
410
|
+
export type RichTextEditorTokens = {
|
|
411
|
+
gap?: string;
|
|
412
|
+
fontSize?: string;
|
|
413
|
+
padding?: string;
|
|
414
|
+
borderRadius?: string;
|
|
415
|
+
borderColor?: string;
|
|
416
|
+
backgroundColor?: string;
|
|
417
|
+
textColor?: string;
|
|
418
|
+
placeholderColor?: string;
|
|
419
|
+
focusBorderColor?: string;
|
|
420
|
+
focusRingShadow?: string;
|
|
421
|
+
hoverBorderColor?: string;
|
|
422
|
+
disabledOpacity?: string;
|
|
423
|
+
minHeight?: string;
|
|
424
|
+
resize?: string;
|
|
425
|
+
toolbarGap?: string;
|
|
426
|
+
toolbarPadding?: string;
|
|
427
|
+
toolbarBorderColor?: string;
|
|
428
|
+
toolbarBackgroundColor?: string;
|
|
429
|
+
toolbarButtonMinWidth?: string;
|
|
430
|
+
toolbarButtonPadding?: string;
|
|
431
|
+
toolbarButtonRadius?: string;
|
|
432
|
+
toolbarButtonBorderColor?: string;
|
|
433
|
+
toolbarButtonBackgroundColor?: string;
|
|
434
|
+
toolbarButtonTextColor?: string;
|
|
435
|
+
toolbarButtonHoverBackgroundColor?: string;
|
|
436
|
+
toolbarButtonActiveBackgroundColor?: string;
|
|
437
|
+
counterFontSize?: string;
|
|
438
|
+
counterColor?: string;
|
|
439
|
+
counterDangerColor?: string;
|
|
440
|
+
small?: {
|
|
441
|
+
padding?: string;
|
|
442
|
+
fontSize?: string;
|
|
443
|
+
toolbarButtonPadding?: string;
|
|
444
|
+
};
|
|
445
|
+
large?: {
|
|
446
|
+
padding?: string;
|
|
447
|
+
fontSize?: string;
|
|
448
|
+
toolbarButtonPadding?: string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
410
451
|
export type FileUploadTokens = {
|
|
411
452
|
minHeight?: string;
|
|
412
453
|
fontSize?: string;
|
|
@@ -462,6 +503,16 @@ export type BreadcrumbsTokens = {
|
|
|
462
503
|
separatorColor?: string;
|
|
463
504
|
disabledOpacity?: string;
|
|
464
505
|
};
|
|
506
|
+
export type DividerTokens = {
|
|
507
|
+
color?: string;
|
|
508
|
+
textColor?: string;
|
|
509
|
+
thickness?: string;
|
|
510
|
+
minLength?: string;
|
|
511
|
+
gap?: string;
|
|
512
|
+
inset?: string;
|
|
513
|
+
labelPadding?: string;
|
|
514
|
+
labelFontSize?: string;
|
|
515
|
+
};
|
|
465
516
|
export type MenuTokens = {
|
|
466
517
|
iconGap?: string;
|
|
467
518
|
submenuOffset?: string;
|
|
@@ -2016,9 +2067,11 @@ export type ThemeComponentTokens = {
|
|
|
2016
2067
|
form?: FormTokens;
|
|
2017
2068
|
formField?: FormFieldTokens;
|
|
2018
2069
|
textarea?: TextareaTokens;
|
|
2070
|
+
richTextEditor?: RichTextEditorTokens;
|
|
2019
2071
|
fileUpload?: FileUploadTokens;
|
|
2020
2072
|
link?: LinkTokens;
|
|
2021
2073
|
breadcrumbs?: BreadcrumbsTokens;
|
|
2074
|
+
divider?: DividerTokens;
|
|
2022
2075
|
menu?: MenuTokens;
|
|
2023
2076
|
modal?: ModalTokens;
|
|
2024
2077
|
confirmDialog?: ConfirmDialogTokens;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
fontSize: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
textColor: string;
|
|
9
|
+
placeholderColor: string;
|
|
10
|
+
focusBorderColor: string;
|
|
11
|
+
focusRingShadow: string;
|
|
12
|
+
hoverBorderColor: string;
|
|
13
|
+
disabledOpacity: string;
|
|
14
|
+
minHeight: string;
|
|
15
|
+
resize: string;
|
|
16
|
+
toolbarGap: string;
|
|
17
|
+
toolbarPadding: string;
|
|
18
|
+
toolbarBorderColor: string;
|
|
19
|
+
toolbarBackgroundColor: string;
|
|
20
|
+
toolbarButtonMinWidth: string;
|
|
21
|
+
toolbarButtonPadding: string;
|
|
22
|
+
toolbarButtonRadius: string;
|
|
23
|
+
toolbarButtonBorderColor: string;
|
|
24
|
+
toolbarButtonBackgroundColor: string;
|
|
25
|
+
toolbarButtonTextColor: string;
|
|
26
|
+
toolbarButtonHoverBackgroundColor: string;
|
|
27
|
+
toolbarButtonActiveBackgroundColor: string;
|
|
28
|
+
counterFontSize: string;
|
|
29
|
+
counterColor: string;
|
|
30
|
+
counterDangerColor: string;
|
|
31
|
+
small: {
|
|
32
|
+
padding: string;
|
|
33
|
+
fontSize: string;
|
|
34
|
+
toolbarButtonPadding: string;
|
|
35
|
+
};
|
|
36
|
+
large: {
|
|
37
|
+
padding: string;
|
|
38
|
+
fontSize: string;
|
|
39
|
+
toolbarButtonPadding: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default _default;
|
|
@@ -564,6 +564,47 @@ declare const _default: {
|
|
|
564
564
|
fontSize: string;
|
|
565
565
|
};
|
|
566
566
|
};
|
|
567
|
+
richTextEditor: {
|
|
568
|
+
gap: string;
|
|
569
|
+
fontSize: string;
|
|
570
|
+
padding: string;
|
|
571
|
+
borderRadius: string;
|
|
572
|
+
borderColor: string;
|
|
573
|
+
backgroundColor: string;
|
|
574
|
+
textColor: string;
|
|
575
|
+
placeholderColor: string;
|
|
576
|
+
focusBorderColor: string;
|
|
577
|
+
focusRingShadow: string;
|
|
578
|
+
hoverBorderColor: string;
|
|
579
|
+
disabledOpacity: string;
|
|
580
|
+
minHeight: string;
|
|
581
|
+
resize: string;
|
|
582
|
+
toolbarGap: string;
|
|
583
|
+
toolbarPadding: string;
|
|
584
|
+
toolbarBorderColor: string;
|
|
585
|
+
toolbarBackgroundColor: string;
|
|
586
|
+
toolbarButtonMinWidth: string;
|
|
587
|
+
toolbarButtonPadding: string;
|
|
588
|
+
toolbarButtonRadius: string;
|
|
589
|
+
toolbarButtonBorderColor: string;
|
|
590
|
+
toolbarButtonBackgroundColor: string;
|
|
591
|
+
toolbarButtonTextColor: string;
|
|
592
|
+
toolbarButtonHoverBackgroundColor: string;
|
|
593
|
+
toolbarButtonActiveBackgroundColor: string;
|
|
594
|
+
counterFontSize: string;
|
|
595
|
+
counterColor: string;
|
|
596
|
+
counterDangerColor: string;
|
|
597
|
+
small: {
|
|
598
|
+
padding: string;
|
|
599
|
+
fontSize: string;
|
|
600
|
+
toolbarButtonPadding: string;
|
|
601
|
+
};
|
|
602
|
+
large: {
|
|
603
|
+
padding: string;
|
|
604
|
+
fontSize: string;
|
|
605
|
+
toolbarButtonPadding: string;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
567
608
|
fileUpload: {
|
|
568
609
|
minHeight: string;
|
|
569
610
|
fontSize: string;
|
|
@@ -619,6 +660,16 @@ declare const _default: {
|
|
|
619
660
|
separatorColor: string;
|
|
620
661
|
disabledOpacity: string;
|
|
621
662
|
};
|
|
663
|
+
divider: {
|
|
664
|
+
color: string;
|
|
665
|
+
textColor: string;
|
|
666
|
+
thickness: string;
|
|
667
|
+
minLength: string;
|
|
668
|
+
gap: string;
|
|
669
|
+
inset: string;
|
|
670
|
+
labelPadding: string;
|
|
671
|
+
labelFontSize: string;
|
|
672
|
+
};
|
|
622
673
|
menu: {
|
|
623
674
|
iconGap: string;
|
|
624
675
|
submenuOffset: string;
|