@g1cloud/bluesea 5.0.0-beta.2 → 5.0.0-beta.4
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/{BSAlertModal-BixCrZDD.js → BSAlertModal-BsYimMJ_.js} +1 -1
- package/dist/{BSGridColumnSettingModal-CVVenSnr.js → BSGridColumnSettingModal-BEB2-Ux4.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-BqzE5__U.js → BSRichTextMaximizedModal-LB8VUZme.js} +1 -1
- package/dist/{BSYesNoModal-B5lERw_k.js → BSYesNoModal-Cc1Nki9Z.js} +1 -1
- package/dist/{BSYoutubeInputModal-eRBqHjeW.js → BSYoutubeInputModal-BJ1snN1M.js} +1 -1
- package/dist/{ImageInsertModal-DvKLXL1n.js → ImageInsertModal-CO6NeKVX.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DVUZuLfG.js → ImageProperties.vue_vue_type_script_setup_true_lang-DUkL-qju.js} +1 -1
- package/dist/{ImagePropertiesModal-Dsg6BS63.js → ImagePropertiesModal-NMjlJ5hA.js} +2 -2
- package/dist/{LinkPropertiesModal-Ct0ykD4j.js → LinkPropertiesModal-CFQucomV.js} +1 -1
- package/dist/{TableInsertModal-BhyzkcTU.js → TableInsertModal-D0cHwmgl.js} +1 -1
- package/dist/TablePropertiesModal-H8Ohz-Xv.js +353 -0
- package/dist/{VideoInsertModal-BAwRYBzU.js → VideoInsertModal-DR06SKIA.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-BfwBHyER.js → VideoProperties.vue_vue_type_script_setup_true_lang-BOCeOQVe.js} +1 -1
- package/dist/{VideoPropertiesModal-B2FeEw4W.js → VideoPropertiesModal-BvwmSEP-.js} +2 -2
- package/dist/{YoutubeInsertModal-EU6G-021.js → YoutubeInsertModal-CL4QiU4m.js} +3 -3
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-Ci3ndkZR.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-BpRF2WTd.js} +1 -1
- package/dist/{YoutubePropertiesModal-CRy6zJwZ.js → YoutubePropertiesModal-DaHvv9Df.js} +2 -2
- package/dist/bluesea.js +21 -21
- package/dist/bluesea.umd.cjs +526 -257
- package/dist/component/input/BSMultiSelect.vue.d.ts +6 -6
- package/dist/component/input/BSSelect.vue.d.ts +6 -6
- package/dist/component/input/BSSelectPopup.vue.d.ts +6 -6
- package/dist/component/input/BSTreeMultiSelect.vue.d.ts +6 -6
- package/dist/component/input/BSTreeSelect.vue.d.ts +6 -6
- package/dist/component/richtext/RichTextModel.d.ts +1 -0
- package/dist/component/richtext/richTextUtil.d.ts +1 -1
- package/dist/component/richtext/table/RichTextTableCell.d.ts +1 -0
- package/dist/component/richtext/table/RichTextTableLib.d.ts +7 -1
- package/dist/component/tree/BSTree.vue.d.ts +6 -3
- package/dist/component/tree/BSTreeRow.vue.d.ts +3 -3
- package/dist/directive/vT.d.ts +1 -0
- package/dist/{index-CDwzpZX0.js → index-Bx4oDJu3.js} +254 -154
- package/dist/model/CommonTypes.d.ts +1 -1
- package/package.json +3 -3
- package/text/bluesea_text_en.json +12 -0
- package/text/bluesea_text_fr.json +12 -0
- package/text/bluesea_text_ja.json +12 -0
- package/text/bluesea_text_ko.json +12 -0
- package/text/bluesea_text_zh.json +12 -0
- package/dist/TablePropertiesModal-BAxcByTD.js +0 -184
|
@@ -15,10 +15,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
15
15
|
extraValidationRules?: FieldValidationRule<import('@vue/reactivity').UnwrapRefSimple<V>[]>[] | undefined;
|
|
16
16
|
ignoreSavePoint?: boolean | undefined;
|
|
17
17
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
18
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
19
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
20
18
|
items?: T[] | Promise<T[]> | undefined;
|
|
21
19
|
valueProvider?: ((item: T) => V) | undefined;
|
|
20
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
21
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
22
22
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
23
23
|
popupMaxHeight?: string | undefined;
|
|
24
24
|
showPopupSearch?: boolean | "auto" | undefined;
|
|
@@ -41,10 +41,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
41
41
|
extraValidationRules?: FieldValidationRule<import('@vue/reactivity').UnwrapRefSimple<V>[]>[] | undefined;
|
|
42
42
|
ignoreSavePoint?: boolean | undefined;
|
|
43
43
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
44
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
45
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
46
44
|
items?: T[] | Promise<T[]> | undefined;
|
|
47
45
|
valueProvider?: ((item: T) => V) | undefined;
|
|
46
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
47
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
48
48
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
49
49
|
popupMaxHeight?: string | undefined;
|
|
50
50
|
showPopupSearch?: boolean | "auto" | undefined;
|
|
@@ -71,10 +71,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
71
71
|
extraValidationRules?: FieldValidationRule<import('@vue/reactivity').UnwrapRefSimple<V>[]>[] | undefined;
|
|
72
72
|
ignoreSavePoint?: boolean | undefined;
|
|
73
73
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
74
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
75
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
76
74
|
items?: T[] | Promise<T[]> | undefined;
|
|
77
75
|
valueProvider?: ((item: T) => V) | undefined;
|
|
76
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
77
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
78
78
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
79
79
|
popupMaxHeight?: string | undefined;
|
|
80
80
|
showPopupSearch?: boolean | "auto" | undefined;
|
|
@@ -15,10 +15,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
15
15
|
extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[] | undefined;
|
|
16
16
|
ignoreSavePoint?: boolean | undefined;
|
|
17
17
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
18
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
19
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
20
18
|
items?: T[] | Promise<T[]> | undefined;
|
|
21
19
|
valueProvider?: ((item: T) => V) | undefined;
|
|
20
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
21
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
22
22
|
allowNull?: boolean | undefined;
|
|
23
23
|
nullLabel?: MultiLangText | undefined;
|
|
24
24
|
selectedLabelProvider?: LabelProvider<T | undefined> | undefined;
|
|
@@ -42,10 +42,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
42
42
|
extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[] | undefined;
|
|
43
43
|
ignoreSavePoint?: boolean | undefined;
|
|
44
44
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
45
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
46
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
47
45
|
items?: T[] | Promise<T[]> | undefined;
|
|
48
46
|
valueProvider?: ((item: T) => V) | undefined;
|
|
47
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
48
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
49
49
|
allowNull?: boolean | undefined;
|
|
50
50
|
nullLabel?: MultiLangText | undefined;
|
|
51
51
|
selectedLabelProvider?: LabelProvider<T | undefined> | undefined;
|
|
@@ -73,10 +73,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
73
73
|
extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[] | undefined;
|
|
74
74
|
ignoreSavePoint?: boolean | undefined;
|
|
75
75
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
76
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
77
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
78
76
|
items?: T[] | Promise<T[]> | undefined;
|
|
79
77
|
valueProvider?: ((item: T) => V) | undefined;
|
|
78
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
79
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
80
80
|
allowNull?: boolean | undefined;
|
|
81
81
|
nullLabel?: MultiLangText | undefined;
|
|
82
82
|
selectedLabelProvider?: LabelProvider<T | undefined> | undefined;
|
|
@@ -3,15 +3,15 @@ import { LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
|
3
3
|
declare const _default: <T = any, V = any>(__VLS_props: {
|
|
4
4
|
maxHeight?: string | undefined;
|
|
5
5
|
labelProvider: LabelProvider<T>;
|
|
6
|
+
items: T[] | Promise<T[]>;
|
|
7
|
+
valueProvider: (item: T) => V;
|
|
6
8
|
baseElement: HTMLElement | null;
|
|
7
9
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
8
10
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
9
11
|
readonly onRequestClose?: (() => any) | undefined;
|
|
10
12
|
readonly onItemSelected?: ((item?: T | undefined) => any) | undefined;
|
|
11
|
-
items: T[] | Promise<T[]>;
|
|
12
13
|
initialItem?: T | undefined;
|
|
13
14
|
selectedItems?: T[] | undefined;
|
|
14
|
-
valueProvider: (item: T) => V;
|
|
15
15
|
allowNull?: boolean | undefined;
|
|
16
16
|
nullLabel?: MultiLangText | undefined;
|
|
17
17
|
showSearch?: boolean | "auto" | undefined;
|
|
@@ -28,15 +28,15 @@ declare const _default: <T = any, V = any>(__VLS_props: {
|
|
|
28
28
|
props: {
|
|
29
29
|
maxHeight?: string | undefined;
|
|
30
30
|
labelProvider: LabelProvider<T>;
|
|
31
|
+
items: T[] | Promise<T[]>;
|
|
32
|
+
valueProvider: (item: T) => V;
|
|
31
33
|
baseElement: HTMLElement | null;
|
|
32
34
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
33
35
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
34
36
|
readonly onRequestClose?: (() => any) | undefined;
|
|
35
37
|
readonly onItemSelected?: ((item?: T | undefined) => any) | undefined;
|
|
36
|
-
items: T[] | Promise<T[]>;
|
|
37
38
|
initialItem?: T | undefined;
|
|
38
39
|
selectedItems?: T[] | undefined;
|
|
39
|
-
valueProvider: (item: T) => V;
|
|
40
40
|
allowNull?: boolean | undefined;
|
|
41
41
|
nullLabel?: MultiLangText | undefined;
|
|
42
42
|
showSearch?: boolean | "auto" | undefined;
|
|
@@ -57,15 +57,15 @@ declare const _default: <T = any, V = any>(__VLS_props: {
|
|
|
57
57
|
props: {
|
|
58
58
|
maxHeight?: string | undefined;
|
|
59
59
|
labelProvider: LabelProvider<T>;
|
|
60
|
+
items: T[] | Promise<T[]>;
|
|
61
|
+
valueProvider: (item: T) => V;
|
|
60
62
|
baseElement: HTMLElement | null;
|
|
61
63
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
62
64
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
63
65
|
readonly onRequestClose?: (() => any) | undefined;
|
|
64
66
|
readonly onItemSelected?: ((item?: T | undefined) => any) | undefined;
|
|
65
|
-
items: T[] | Promise<T[]>;
|
|
66
67
|
initialItem?: T | undefined;
|
|
67
68
|
selectedItems?: T[] | undefined;
|
|
68
|
-
valueProvider: (item: T) => V;
|
|
69
69
|
allowNull?: boolean | undefined;
|
|
70
70
|
nullLabel?: MultiLangText | undefined;
|
|
71
71
|
showSearch?: boolean | "auto" | undefined;
|
|
@@ -17,10 +17,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
17
17
|
extraValidationRules?: FieldValidationRule<import('@vue/reactivity').UnwrapRefSimple<V>[]>[] | undefined;
|
|
18
18
|
ignoreSavePoint?: boolean | undefined;
|
|
19
19
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
20
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
21
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
22
20
|
items?: T[] | Promise<T[]> | undefined;
|
|
23
21
|
valueProvider?: ((item: T) => V) | undefined;
|
|
22
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
23
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
24
24
|
popupMaxHeight?: string | undefined;
|
|
25
25
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
26
26
|
attrs: any;
|
|
@@ -42,10 +42,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
42
42
|
extraValidationRules?: FieldValidationRule<import('@vue/reactivity').UnwrapRefSimple<V>[]>[] | undefined;
|
|
43
43
|
ignoreSavePoint?: boolean | undefined;
|
|
44
44
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
45
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
46
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
47
45
|
items?: T[] | Promise<T[]> | undefined;
|
|
48
46
|
valueProvider?: ((item: T) => V) | undefined;
|
|
47
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
48
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
49
49
|
popupMaxHeight?: string | undefined;
|
|
50
50
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
51
51
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -71,10 +71,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
71
71
|
extraValidationRules?: FieldValidationRule<import('@vue/reactivity').UnwrapRefSimple<V>[]>[] | undefined;
|
|
72
72
|
ignoreSavePoint?: boolean | undefined;
|
|
73
73
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
74
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
75
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
76
74
|
items?: T[] | Promise<T[]> | undefined;
|
|
77
75
|
valueProvider?: ((item: T) => V) | undefined;
|
|
76
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
77
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
78
78
|
popupMaxHeight?: string | undefined;
|
|
79
79
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
80
80
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -18,10 +18,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
18
18
|
extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[] | undefined;
|
|
19
19
|
ignoreSavePoint?: boolean | undefined;
|
|
20
20
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
21
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
22
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
23
21
|
items?: T[] | Promise<T[]> | undefined;
|
|
24
22
|
valueProvider?: ((item: T) => V) | undefined;
|
|
23
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
24
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
25
25
|
popupMaxHeight?: string | undefined;
|
|
26
26
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
27
27
|
attrs: any;
|
|
@@ -43,10 +43,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
43
43
|
extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[] | undefined;
|
|
44
44
|
ignoreSavePoint?: boolean | undefined;
|
|
45
45
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
46
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
47
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
48
46
|
items?: T[] | Promise<T[]> | undefined;
|
|
49
47
|
valueProvider?: ((item: T) => V) | undefined;
|
|
48
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
49
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
50
50
|
popupMaxHeight?: string | undefined;
|
|
51
51
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
52
52
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -72,10 +72,10 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
72
72
|
extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[] | undefined;
|
|
73
73
|
ignoreSavePoint?: boolean | undefined;
|
|
74
74
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
75
|
-
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
76
|
-
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
77
75
|
items?: T[] | Promise<T[]> | undefined;
|
|
78
76
|
valueProvider?: ((item: T) => V) | undefined;
|
|
77
|
+
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
78
|
+
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
79
79
|
popupMaxHeight?: string | undefined;
|
|
80
80
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
81
81
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -3,6 +3,7 @@ import { Component } from 'vue';
|
|
|
3
3
|
export type ToolButton = Component | 'Heading' | 'FontSize' | 'FontColor' | 'FontStyle' | 'TextAlign' | 'ListItem' | 'Link' | 'Table' | 'Image' | 'Video' | 'Youtube';
|
|
4
4
|
export type RichTextIframeContext = {
|
|
5
5
|
iframeDocument: Document;
|
|
6
|
+
fontLinks: string[];
|
|
6
7
|
editorStyles: string[];
|
|
7
8
|
contentStyles: string[];
|
|
8
9
|
};
|
|
@@ -12,7 +12,7 @@ export declare const renderHTMLAttr: (attr: string) => (attrs: Record<string, an
|
|
|
12
12
|
[x: string]: any;
|
|
13
13
|
} | undefined;
|
|
14
14
|
export declare const parseHTMLStyle: (attr: keyof CSSStyleDeclaration) => (element: HTMLElement) => string | number | ((index: number) => string) | CSSRule | ((property: string) => string) | ((property: string) => string) | ((property: string) => string) | ((property: string, value: string | null, priority?: string | undefined) => void) | null;
|
|
15
|
-
export declare const renderHTMLStyle: (attr: keyof CSSStyleDeclaration) => (attrs: Record<string, any>) => {
|
|
15
|
+
export declare const renderHTMLStyle: (attr: keyof CSSStyleDeclaration, attrName?: string) => (attrs: Record<string, any>) => {
|
|
16
16
|
style: string;
|
|
17
17
|
} | undefined;
|
|
18
18
|
export declare const createStyleString: (attr: Record<string, unknown>, names: string[]) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RichTextTableCell: import('@tiptap/core').Node<import('@tiptap/extension-table-cell').TableCellOptions, any>;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { CommonElementStyle } from '../RichTextLib.ts';
|
|
2
2
|
import { Selection } from '@tiptap/pm/state';
|
|
3
3
|
|
|
4
|
-
export type TableInfo = CommonElementStyle & {
|
|
4
|
+
export type TableInfo = CommonElementStyle & {
|
|
5
|
+
tableAlign?: string;
|
|
6
|
+
};
|
|
7
|
+
export type TableColumnInfo = {
|
|
8
|
+
width?: string;
|
|
9
|
+
};
|
|
5
10
|
/**
|
|
6
11
|
* Transaction 의 선택된 Node 중에서, table, tableRow, tableCell 에 해당하는 node 와 nodePos 를 찾아 리턴한다.
|
|
7
12
|
* @param selection
|
|
@@ -15,3 +20,4 @@ export declare const findTableNode: (selection: Selection, type: 'table' | 'tabl
|
|
|
15
20
|
nodePos?: undefined;
|
|
16
21
|
};
|
|
17
22
|
export declare const tableInfoNumberToPixel: (data: TableInfo) => TableInfo;
|
|
23
|
+
export declare const setTableColumnWidth: (node: any, tablePos: number, colIndex: number, width: string | undefined, tr: any) => void;
|
|
@@ -11,16 +11,17 @@ declare const _default: <T>(__VLS_props: {
|
|
|
11
11
|
enableDragAndDrop?: boolean | DragAndDropPolicy | undefined;
|
|
12
12
|
expandedRows?: Set<string> | undefined;
|
|
13
13
|
contextMenuProvider?: ((rows: T[]) => (MenuItem[] | undefined)) | undefined;
|
|
14
|
+
iconProvider?: IconProvider<T> | undefined;
|
|
14
15
|
readonly onRowMoved?: ((event: RowMovedEvent<T>) => any) | undefined;
|
|
15
16
|
showCheckbox?: boolean | undefined;
|
|
16
17
|
readonly "onUpdate:selectedRows"?: ((value: Set<T>) => any) | undefined;
|
|
17
|
-
iconProvider?: IconProvider<T> | undefined;
|
|
18
18
|
multiSelect?: boolean | undefined;
|
|
19
19
|
showMoveButton?: boolean | undefined;
|
|
20
20
|
readonly "onUpdate:expandedRows"?: ((value: Set<string>) => any) | undefined;
|
|
21
21
|
readonly "onBefore:selectedRows"?: ((event: ChangeSelectionEvent<T>) => any) | undefined;
|
|
22
22
|
dontChangeDataWhenRowMoved?: boolean | undefined;
|
|
23
23
|
rowDisabledProvider?: ((item: T) => boolean) | undefined;
|
|
24
|
+
bottomPadding?: string | undefined;
|
|
24
25
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
25
26
|
attrs: any;
|
|
26
27
|
slots: {};
|
|
@@ -40,16 +41,17 @@ declare const _default: <T>(__VLS_props: {
|
|
|
40
41
|
enableDragAndDrop?: boolean | DragAndDropPolicy | undefined;
|
|
41
42
|
expandedRows?: Set<string> | undefined;
|
|
42
43
|
contextMenuProvider?: ((rows: T[]) => (MenuItem[] | undefined)) | undefined;
|
|
44
|
+
iconProvider?: IconProvider<T> | undefined;
|
|
43
45
|
readonly onRowMoved?: ((event: RowMovedEvent<T>) => any) | undefined;
|
|
44
46
|
showCheckbox?: boolean | undefined;
|
|
45
47
|
readonly "onUpdate:selectedRows"?: ((value: Set<T>) => any) | undefined;
|
|
46
|
-
iconProvider?: IconProvider<T> | undefined;
|
|
47
48
|
multiSelect?: boolean | undefined;
|
|
48
49
|
showMoveButton?: boolean | undefined;
|
|
49
50
|
readonly "onUpdate:expandedRows"?: ((value: Set<string>) => any) | undefined;
|
|
50
51
|
readonly "onBefore:selectedRows"?: ((event: ChangeSelectionEvent<T>) => any) | undefined;
|
|
51
52
|
dontChangeDataWhenRowMoved?: boolean | undefined;
|
|
52
53
|
rowDisabledProvider?: ((item: T) => boolean) | undefined;
|
|
54
|
+
bottomPadding?: string | undefined;
|
|
53
55
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
54
56
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
55
57
|
attrs: any;
|
|
@@ -73,16 +75,17 @@ declare const _default: <T>(__VLS_props: {
|
|
|
73
75
|
enableDragAndDrop?: boolean | DragAndDropPolicy | undefined;
|
|
74
76
|
expandedRows?: Set<string> | undefined;
|
|
75
77
|
contextMenuProvider?: ((rows: T[]) => (MenuItem[] | undefined)) | undefined;
|
|
78
|
+
iconProvider?: IconProvider<T> | undefined;
|
|
76
79
|
readonly onRowMoved?: ((event: RowMovedEvent<T>) => any) | undefined;
|
|
77
80
|
showCheckbox?: boolean | undefined;
|
|
78
81
|
readonly "onUpdate:selectedRows"?: ((value: Set<T>) => any) | undefined;
|
|
79
|
-
iconProvider?: IconProvider<T> | undefined;
|
|
80
82
|
multiSelect?: boolean | undefined;
|
|
81
83
|
showMoveButton?: boolean | undefined;
|
|
82
84
|
readonly "onUpdate:expandedRows"?: ((value: Set<string>) => any) | undefined;
|
|
83
85
|
readonly "onBefore:selectedRows"?: ((event: ChangeSelectionEvent<T>) => any) | undefined;
|
|
84
86
|
dontChangeDataWhenRowMoved?: boolean | undefined;
|
|
85
87
|
rowDisabledProvider?: ((item: T) => boolean) | undefined;
|
|
88
|
+
bottomPadding?: string | undefined;
|
|
86
89
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
87
90
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
88
91
|
attrs: any;
|
|
@@ -8,8 +8,8 @@ declare const _default: <T>(__VLS_props: {
|
|
|
8
8
|
childrenProvider: TreeChildrenProvider<T>;
|
|
9
9
|
labelProvider?: LabelProvider<T> | undefined;
|
|
10
10
|
enableDragAndDrop?: boolean | DragAndDropPolicy | undefined;
|
|
11
|
-
showCheckbox?: boolean | undefined;
|
|
12
11
|
iconProvider?: IconProvider<T> | undefined;
|
|
12
|
+
showCheckbox?: boolean | undefined;
|
|
13
13
|
readonly onToggleRow?: ((row: T, expanded: boolean) => any) | undefined;
|
|
14
14
|
readonly onSelectRow?: ((event: TreeRowSelectEvent<T>) => any) | undefined;
|
|
15
15
|
readonly onMoveRow?: ((row: T, siblings: T[], destRow: T | undefined, destSiblings: T[] | undefined, destIndex: number) => any) | undefined;
|
|
@@ -33,8 +33,8 @@ declare const _default: <T>(__VLS_props: {
|
|
|
33
33
|
childrenProvider: TreeChildrenProvider<T>;
|
|
34
34
|
labelProvider?: LabelProvider<T> | undefined;
|
|
35
35
|
enableDragAndDrop?: boolean | DragAndDropPolicy | undefined;
|
|
36
|
-
showCheckbox?: boolean | undefined;
|
|
37
36
|
iconProvider?: IconProvider<T> | undefined;
|
|
37
|
+
showCheckbox?: boolean | undefined;
|
|
38
38
|
readonly onToggleRow?: ((row: T, expanded: boolean) => any) | undefined;
|
|
39
39
|
readonly onSelectRow?: ((event: TreeRowSelectEvent<T>) => any) | undefined;
|
|
40
40
|
readonly onMoveRow?: ((row: T, siblings: T[], destRow: T | undefined, destSiblings: T[] | undefined, destIndex: number) => any) | undefined;
|
|
@@ -62,8 +62,8 @@ declare const _default: <T>(__VLS_props: {
|
|
|
62
62
|
childrenProvider: TreeChildrenProvider<T>;
|
|
63
63
|
labelProvider?: LabelProvider<T> | undefined;
|
|
64
64
|
enableDragAndDrop?: boolean | DragAndDropPolicy | undefined;
|
|
65
|
-
showCheckbox?: boolean | undefined;
|
|
66
65
|
iconProvider?: IconProvider<T> | undefined;
|
|
66
|
+
showCheckbox?: boolean | undefined;
|
|
67
67
|
readonly onToggleRow?: ((row: T, expanded: boolean) => any) | undefined;
|
|
68
68
|
readonly onSelectRow?: ((event: TreeRowSelectEvent<T>) => any) | undefined;
|
|
69
69
|
readonly onMoveRow?: ((row: T, siblings: T[], destRow: T | undefined, destSiblings: T[] | undefined, destIndex: number) => any) | undefined;
|
package/dist/directive/vT.d.ts
CHANGED
|
@@ -6,5 +6,6 @@ import { MultiLangText } from '../model/CommonTypes';
|
|
|
6
6
|
* currentDataLocale 을 사용하는 경우, currentDataLocale 이 변경되어도 텍스트가 변경되지 않는다.
|
|
7
7
|
*/
|
|
8
8
|
export declare const interpretMultiLangText: (text?: MultiLangText, locale?: string) => string;
|
|
9
|
+
export declare const vt: (text?: MultiLangText, locale?: string) => string;
|
|
9
10
|
declare const vT: ObjectDirective;
|
|
10
11
|
export default vT;
|