vdc-editor 0.1.54 → 0.1.55

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.
@@ -6,6 +6,7 @@ import { HTMLAttributes } from 'vue';
6
6
 
7
7
  interface Props {
8
8
  icon?: keyof typeof icons;
9
+ iconClass?: string;
9
10
  title?: string;
10
11
  tooltip?: string;
11
12
  disabled?: boolean;
@@ -28,6 +29,7 @@ declare function __VLS_template(): {
28
29
  };
29
30
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
30
31
  icon: undefined;
32
+ iconClass: string;
31
33
  title: undefined;
32
34
  tooltip: undefined;
33
35
  disabled: boolean;
@@ -42,6 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
42
44
  id: string;
43
45
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
44
46
  icon: undefined;
47
+ iconClass: string;
45
48
  title: undefined;
46
49
  tooltip: undefined;
47
50
  disabled: boolean;
@@ -59,6 +62,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
59
62
  icon: keyof typeof icons;
60
63
  color: string;
61
64
  disabled: boolean;
65
+ iconClass: string;
62
66
  title: string;
63
67
  tooltip: string;
64
68
  shortcutKeys: string[];
@@ -19,7 +19,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
19
19
  extensions: () => never[];
20
20
  editorClass: undefined;
21
21
  contentClass: undefined;
22
- fontSizeDefault: number;
22
+ fontSizeDefault: string;
23
+ fontFamilyDefault: string;
23
24
  }>>, {
24
25
  editor: Editor;
25
26
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -46,7 +47,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
46
47
  extensions: () => never[];
47
48
  editorClass: undefined;
48
49
  contentClass: undefined;
49
- fontSizeDefault: number;
50
+ fontSizeDefault: string;
51
+ fontFamilyDefault: string;
50
52
  }>>> & Readonly<{
51
53
  onChange?: ((value: import('../../type').SBSEditorOnChange) => any) | undefined;
52
54
  onEnter?: (() => any) | undefined;
@@ -68,7 +70,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
68
70
  view: boolean;
69
71
  button: boolean;
70
72
  };
71
- fontSizeDefault: number;
73
+ fontSizeDefault: string;
74
+ fontFamilyDefault: string;
72
75
  dark: boolean;
73
76
  hideToolbar: boolean;
74
77
  disableBubble: boolean;
@@ -37,6 +37,12 @@ export declare const icons: {
37
37
  Magic: string;
38
38
  Pencil: string;
39
39
  Unlink: string;
40
+ TablerColumnInsertLeft: string;
41
+ TablerColumnInsertRight: string;
42
+ TablerColumnRemove: string;
43
+ TablerRowInsertTop: string;
44
+ TablerRowInsertBottom: string;
45
+ TablerRowRemove: string;
40
46
  BetweenHorizonalEnd: string;
41
47
  BetweenHorizonalStart: string;
42
48
  ColumnDelete: string;
package/lib/src/i18n.d.ts CHANGED
@@ -171,6 +171,7 @@ declare const _default: import('vue-i18n').I18n<{
171
171
  "editor.insert.symbol": string;
172
172
  "editor.check": string;
173
173
  "editor.detail": string;
174
+ "editor.inputSuper": string;
174
175
  };
175
176
  ko: {
176
177
  "editor.remove": string;
@@ -344,6 +345,7 @@ declare const _default: import('vue-i18n').I18n<{
344
345
  "editor.insert.symbol": string;
345
346
  "editor.check": string;
346
347
  "editor.detail": string;
348
+ "editor.inputSuper": string;
347
349
  };
348
350
  }, {}, {}, string, false>;
349
351
  export default _default;
package/lib/src/type.d.ts CHANGED
@@ -205,7 +205,11 @@ export interface EditorProps {
205
205
  /**
206
206
  * font size default editor
207
207
  */
208
- fontSizeDefault?: number;
208
+ fontSizeDefault?: string;
209
+ /**
210
+ * font family default editor
211
+ */
212
+ fontFamilyDefault?: string;
209
213
  /**
210
214
  * super view of comment editor
211
215
  */
@@ -0,0 +1,2 @@
1
+ declare const pasreHtml: (html: string) => string;
2
+ export { pasreHtml };