@omnia/fx 8.0.245-dev → 8.0.247-dev
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/internal-do-not-import-from-here/ux/admin/queryableproperties/QueryablePropertiesAddBlade.d.ts +52 -66
- package/internal-do-not-import-from-here/ux/admin/queryableproperties/QueryablePropertiesHomeBlade.d.ts +54 -75
- package/internal-do-not-import-from-here/ux/admin/queryableproperties/QueryablePropertiesInfoBlade.d.ts +50 -50
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +6 -3
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/Nodehelper.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/markdown2/models/MarkdownPlugin.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/MarkdownParser.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorStylePlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +20 -18
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +100 -90
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +15 -5
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +73 -1
- package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +5 -8
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/markdown2/plugins/ColorStylePlugin.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/markdown2/plugins/TextPlugin.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/markdown2/plugins/TypographyPlugin.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/markdown2/plugins/VelcronPlugin.d.ts +0 -3
- /package/internal-do-not-import-from-here/ux/markdown2/plugins/{buttons → colorstyle}/ColorButton.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/markdown2/plugins/{buttons → typography}/TypographyButton.d.ts +0 -0
@@ -1,74 +1,60 @@
|
|
1
1
|
import { guid } from "@omnia/fx-models";
|
2
|
-
declare const _default: {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
required: true;
|
15
|
-
};
|
16
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
17
|
-
additionalBuiltInProperties: {
|
18
|
-
type: import("vue").PropType<guid[]>;
|
19
|
-
required: false;
|
20
|
-
};
|
21
|
-
tableName: {
|
22
|
-
type: import("vue").PropType<string>;
|
23
|
-
required: true;
|
24
|
-
};
|
25
|
-
serviceId: {
|
26
|
-
type: import("vue").PropType<guid>;
|
27
|
-
required: true;
|
28
|
-
};
|
29
|
-
}>>, {}, true, {}, {}, {
|
30
|
-
P: {};
|
31
|
-
B: {};
|
32
|
-
D: {};
|
33
|
-
C: {};
|
34
|
-
M: {};
|
35
|
-
Defaults: {};
|
36
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
37
|
-
additionalBuiltInProperties: {
|
38
|
-
type: import("vue").PropType<guid[]>;
|
39
|
-
required: false;
|
40
|
-
};
|
41
|
-
tableName: {
|
42
|
-
type: import("vue").PropType<string>;
|
43
|
-
required: true;
|
44
|
-
};
|
45
|
-
serviceId: {
|
46
|
-
type: import("vue").PropType<guid>;
|
47
|
-
required: true;
|
48
|
-
};
|
49
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
50
|
-
__isFragment?: never;
|
51
|
-
__isTeleport?: never;
|
52
|
-
__isSuspense?: never;
|
53
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
54
|
-
additionalBuiltInProperties: {
|
55
|
-
type: import("vue").PropType<guid[]>;
|
56
|
-
required: false;
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
|
+
serviceId: guid;
|
4
|
+
} & {
|
5
|
+
tableName: string;
|
6
|
+
} & {
|
7
|
+
additionalBuiltInProperties: guid[];
|
8
|
+
}>) => {
|
9
|
+
$: import("vue").ComponentInternalInstance;
|
10
|
+
$data: {};
|
11
|
+
$props: {};
|
12
|
+
$attrs: {
|
13
|
+
[x: string]: unknown;
|
57
14
|
};
|
58
|
-
|
59
|
-
|
60
|
-
required: true;
|
15
|
+
$refs: {
|
16
|
+
[x: string]: unknown;
|
61
17
|
};
|
62
|
-
|
63
|
-
|
64
|
-
|
18
|
+
$slots: Readonly<{
|
19
|
+
[name: string]: import("vue").Slot<any>;
|
20
|
+
}>;
|
21
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
22
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
23
|
+
$emit: (event: string, ...args: any[]) => void;
|
24
|
+
$el: any;
|
25
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
26
|
+
beforeCreate?: (() => void) | (() => void)[];
|
27
|
+
created?: (() => void) | (() => void)[];
|
28
|
+
beforeMount?: (() => void) | (() => void)[];
|
29
|
+
mounted?: (() => void) | (() => void)[];
|
30
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
31
|
+
updated?: (() => void) | (() => void)[];
|
32
|
+
activated?: (() => void) | (() => void)[];
|
33
|
+
deactivated?: (() => void) | (() => void)[];
|
34
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
35
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
36
|
+
destroyed?: (() => void) | (() => void)[];
|
37
|
+
unmounted?: (() => void) | (() => void)[];
|
38
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
39
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
40
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
65
41
|
};
|
66
|
-
|
67
|
-
|
42
|
+
$forceUpdate: () => void;
|
43
|
+
$nextTick: typeof import("vue").nextTick;
|
44
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
45
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
46
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
68
47
|
serviceId: guid;
|
48
|
+
} & {
|
69
49
|
tableName: string;
|
70
50
|
} & {
|
71
|
-
additionalBuiltInProperties
|
72
|
-
}
|
73
|
-
}
|
51
|
+
additionalBuiltInProperties: guid[];
|
52
|
+
}> & {
|
53
|
+
"v-slots"?: {} & Omit<{
|
54
|
+
default?: import("vue").Slot;
|
55
|
+
}, never>;
|
56
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "serviceId" | "additionalBuiltInProperties" | "tableName">;
|
57
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
58
|
+
[key: string]: any;
|
59
|
+
}>;
|
74
60
|
export default _default;
|
@@ -1,86 +1,65 @@
|
|
1
|
-
import { guid
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import "./QueryableProperties.css";
|
3
|
-
|
4
|
-
serviceId
|
5
|
-
|
6
|
-
additionalBuiltInProperties?:
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
4
|
+
serviceId?: guid;
|
5
|
+
} & {
|
6
|
+
additionalBuiltInProperties?: guid[];
|
7
|
+
} & {
|
7
8
|
additionalTitle?: string;
|
9
|
+
} & {
|
8
10
|
tableName?: string;
|
9
|
-
}
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
additionalTitle: {
|
16
|
-
type: import("vue").PropType<string>;
|
17
|
-
};
|
18
|
-
additionalBuiltInProperties: {
|
19
|
-
type: import("vue").PropType<guid[]>;
|
20
|
-
required: false;
|
21
|
-
};
|
22
|
-
serviceId: {
|
23
|
-
type: import("vue").PropType<guid>;
|
24
|
-
};
|
25
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
26
|
-
tableName: {
|
27
|
-
type: import("vue").PropType<string>;
|
28
|
-
};
|
29
|
-
additionalTitle: {
|
30
|
-
type: import("vue").PropType<string>;
|
31
|
-
};
|
32
|
-
additionalBuiltInProperties: {
|
33
|
-
type: import("vue").PropType<guid[]>;
|
34
|
-
required: false;
|
35
|
-
};
|
36
|
-
serviceId: {
|
37
|
-
type: import("vue").PropType<guid>;
|
38
|
-
};
|
39
|
-
}>>, {}, true, {}, {}, {
|
40
|
-
P: {};
|
41
|
-
B: {};
|
42
|
-
D: {};
|
43
|
-
C: {};
|
44
|
-
M: {};
|
45
|
-
Defaults: {};
|
46
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
47
|
-
tableName: {
|
48
|
-
type: import("vue").PropType<string>;
|
49
|
-
};
|
50
|
-
additionalTitle: {
|
51
|
-
type: import("vue").PropType<string>;
|
52
|
-
};
|
53
|
-
additionalBuiltInProperties: {
|
54
|
-
type: import("vue").PropType<guid[]>;
|
55
|
-
required: false;
|
56
|
-
};
|
57
|
-
serviceId: {
|
58
|
-
type: import("vue").PropType<guid>;
|
59
|
-
};
|
60
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
61
|
-
__isFragment?: never;
|
62
|
-
__isTeleport?: never;
|
63
|
-
__isSuspense?: never;
|
64
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
65
|
-
tableName: {
|
66
|
-
type: import("vue").PropType<string>;
|
11
|
+
}>) => {
|
12
|
+
$: import("vue").ComponentInternalInstance;
|
13
|
+
$data: {};
|
14
|
+
$props: {};
|
15
|
+
$attrs: {
|
16
|
+
[x: string]: unknown;
|
67
17
|
};
|
68
|
-
|
69
|
-
|
18
|
+
$refs: {
|
19
|
+
[x: string]: unknown;
|
70
20
|
};
|
71
|
-
|
72
|
-
|
73
|
-
|
21
|
+
$slots: Readonly<{
|
22
|
+
[name: string]: import("vue").Slot<any>;
|
23
|
+
}>;
|
24
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
25
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
26
|
+
$emit: (event: string, ...args: any[]) => void;
|
27
|
+
$el: any;
|
28
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
29
|
+
beforeCreate?: (() => void) | (() => void)[];
|
30
|
+
created?: (() => void) | (() => void)[];
|
31
|
+
beforeMount?: (() => void) | (() => void)[];
|
32
|
+
mounted?: (() => void) | (() => void)[];
|
33
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
34
|
+
updated?: (() => void) | (() => void)[];
|
35
|
+
activated?: (() => void) | (() => void)[];
|
36
|
+
deactivated?: (() => void) | (() => void)[];
|
37
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
38
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
39
|
+
destroyed?: (() => void) | (() => void)[];
|
40
|
+
unmounted?: (() => void) | (() => void)[];
|
41
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
42
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
43
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
74
44
|
};
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
}
|
79
|
-
propsDefinition:
|
45
|
+
$forceUpdate: () => void;
|
46
|
+
$nextTick: typeof import("vue").nextTick;
|
47
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
48
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
49
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
80
50
|
serviceId?: guid;
|
51
|
+
} & {
|
81
52
|
additionalBuiltInProperties?: guid[];
|
53
|
+
} & {
|
82
54
|
additionalTitle?: string;
|
55
|
+
} & {
|
83
56
|
tableName?: string;
|
84
|
-
}
|
85
|
-
}
|
57
|
+
}> & {
|
58
|
+
"v-slots"?: {} & Omit<{
|
59
|
+
default?: import("vue").Slot;
|
60
|
+
}, never>;
|
61
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "serviceId" | "additionalBuiltInProperties" | "additionalTitle" | "tableName">;
|
62
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
63
|
+
[key: string]: any;
|
64
|
+
}>;
|
86
65
|
export default _default;
|
@@ -1,56 +1,56 @@
|
|
1
1
|
import { guid } from "@omnia/fx-models";
|
2
|
-
declare const _default: {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
13
|
-
tableName: {
|
14
|
-
type: import("vue").PropType<string>;
|
15
|
-
required: true;
|
16
|
-
};
|
17
|
-
serviceId: {
|
18
|
-
type: import("vue").PropType<guid>;
|
19
|
-
required: true;
|
20
|
-
};
|
21
|
-
}>>, {}, true, {}, {}, {
|
22
|
-
P: {};
|
23
|
-
B: {};
|
24
|
-
D: {};
|
25
|
-
C: {};
|
26
|
-
M: {};
|
27
|
-
Defaults: {};
|
28
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
29
|
-
tableName: {
|
30
|
-
type: import("vue").PropType<string>;
|
31
|
-
required: true;
|
32
|
-
};
|
33
|
-
serviceId: {
|
34
|
-
type: import("vue").PropType<guid>;
|
35
|
-
required: true;
|
36
|
-
};
|
37
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
38
|
-
__isFragment?: never;
|
39
|
-
__isTeleport?: never;
|
40
|
-
__isSuspense?: never;
|
41
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
42
|
-
tableName: {
|
43
|
-
type: import("vue").PropType<string>;
|
44
|
-
required: true;
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
|
+
serviceId: guid;
|
4
|
+
} & {
|
5
|
+
tableName: string;
|
6
|
+
}>) => {
|
7
|
+
$: import("vue").ComponentInternalInstance;
|
8
|
+
$data: {};
|
9
|
+
$props: {};
|
10
|
+
$attrs: {
|
11
|
+
[x: string]: unknown;
|
45
12
|
};
|
46
|
-
|
47
|
-
|
48
|
-
required: true;
|
13
|
+
$refs: {
|
14
|
+
[x: string]: unknown;
|
49
15
|
};
|
50
|
-
|
51
|
-
|
16
|
+
$slots: Readonly<{
|
17
|
+
[name: string]: import("vue").Slot<any>;
|
18
|
+
}>;
|
19
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
20
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
21
|
+
$emit: (event: string, ...args: any[]) => void;
|
22
|
+
$el: any;
|
23
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
24
|
+
beforeCreate?: (() => void) | (() => void)[];
|
25
|
+
created?: (() => void) | (() => void)[];
|
26
|
+
beforeMount?: (() => void) | (() => void)[];
|
27
|
+
mounted?: (() => void) | (() => void)[];
|
28
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
29
|
+
updated?: (() => void) | (() => void)[];
|
30
|
+
activated?: (() => void) | (() => void)[];
|
31
|
+
deactivated?: (() => void) | (() => void)[];
|
32
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
33
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
34
|
+
destroyed?: (() => void) | (() => void)[];
|
35
|
+
unmounted?: (() => void) | (() => void)[];
|
36
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
37
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
38
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
39
|
+
};
|
40
|
+
$forceUpdate: () => void;
|
41
|
+
$nextTick: typeof import("vue").nextTick;
|
42
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
43
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
44
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
52
45
|
serviceId: guid;
|
46
|
+
} & {
|
53
47
|
tableName: string;
|
54
|
-
} & {
|
55
|
-
}
|
48
|
+
}> & {
|
49
|
+
"v-slots"?: {} & Omit<{
|
50
|
+
default?: import("vue").Slot;
|
51
|
+
}, never>;
|
52
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "serviceId" | "tableName">;
|
53
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
+
[key: string]: any;
|
55
|
+
}>;
|
56
56
|
export default _default;
|
@@ -3,6 +3,9 @@ export declare function useEditorCommands(state: {
|
|
3
3
|
editor: HTMLDivElement;
|
4
4
|
selectedRange: Range;
|
5
5
|
}): {
|
6
|
+
selection: {
|
7
|
+
pluginNodes: () => Node[];
|
8
|
+
};
|
6
9
|
actions: {
|
7
10
|
storeCursorPosition: () => void;
|
8
11
|
};
|
@@ -10,9 +13,9 @@ export declare function useEditorCommands(state: {
|
|
10
13
|
backspace: () => void;
|
11
14
|
};
|
12
15
|
formatting: {
|
13
|
-
add: (element: HTMLElement, toggleIfExists?: boolean) => void;
|
14
|
-
toggle: (element: HTMLElement) => void;
|
15
|
-
remove: (element: HTMLElement,
|
16
|
+
add: (element: HTMLElement, toggleIfExists?: boolean, matchByDataTypeOnly?: boolean) => void;
|
17
|
+
toggle: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
18
|
+
remove: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
16
19
|
};
|
17
20
|
element: {
|
18
21
|
add: (element: HTMLElement) => void;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export type builtIndataTypes = "text" | "formatting";
|
2
2
|
export declare function useNodeHelper(): {
|
3
|
-
|
3
|
+
getPluginNodes: (element: Node) => Node[];
|
4
|
+
removeExistingFormatting: (element: HTMLElement, range: Range, matchByDataTypeOnly: boolean) => boolean;
|
4
5
|
removeNodeAndKeepContent: (node: Node) => void;
|
5
6
|
surroundContents: (element: HTMLElement, range: Range) => void;
|
6
7
|
};
|
@@ -1,9 +1,14 @@
|
|
1
1
|
import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
|
2
2
|
import { useMarkdownStore } from "../stores/MarkdownStore";
|
3
|
+
export interface MdNode {
|
4
|
+
startMark: string;
|
5
|
+
endMark?: string;
|
6
|
+
content?: string;
|
7
|
+
}
|
3
8
|
export interface MarkdownPlugin {
|
4
9
|
name: string;
|
5
10
|
type: "inline" | "component";
|
6
|
-
toMarkdown: (el: HTMLElement) =>
|
11
|
+
toMarkdown: (el: HTMLElement) => MdNode;
|
7
12
|
toHtml: (el: HTMLDivElement, data: string | object, ctx: MarkdownPluginContext) => HTMLDivElement;
|
8
13
|
commands?: object;
|
9
14
|
actions?: Array<MarkdownEditorActionRegistration>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { useEditorCommands } from "../commands/EditorCommands";
|
2
|
+
import { MarkdownPlugin, MarkdownPluginContext } from "../models/MarkdownPlugin";
|
3
|
+
export declare function useMarkdownParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
}, plugins: Array<MarkdownPlugin>, editorCommands: ReturnType<typeof useEditorCommands>, pluginContext: MarkdownPluginContext): {
|
6
|
+
toHtml: (markdown: string) => string;
|
7
|
+
};
|
@@ -6,6 +6,7 @@ export declare const useMarkdownStore: () => {
|
|
6
6
|
editMode: boolean;
|
7
7
|
toolbarActions: MarkdownEditorActionRegistration[];
|
8
8
|
editor: HTMLDivElement;
|
9
|
+
selectedPluginNodes: Node[];
|
9
10
|
telePorts: JSX.Element[];
|
10
11
|
id: string;
|
11
12
|
selectedRange: Range;
|
@@ -15,6 +16,7 @@ export declare const useMarkdownStore: () => {
|
|
15
16
|
onMutatedEditMode: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<boolean>;
|
16
17
|
onMutatedToolbarActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
17
18
|
onMutatedEditor: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
19
|
+
onMutatedSelectedPluginNodes: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<Node[]>;
|
18
20
|
onMutatedTelePorts: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
19
21
|
onMutatedId: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<string>;
|
20
22
|
onMutatedSelectedRange: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<Range>;
|
@@ -24,9 +26,6 @@ export declare const useMarkdownStore: () => {
|
|
24
26
|
registerPlugin: {
|
25
27
|
subscribe(fn: (pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
26
28
|
};
|
27
|
-
toHtml: {
|
28
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
29
|
-
};
|
30
29
|
toMarkdown: {
|
31
30
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
32
31
|
};
|
@@ -59,11 +58,8 @@ export declare const useMarkdownStore: () => {
|
|
59
58
|
registerPlugin: {
|
60
59
|
subscribe(fn: (result: void, pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
61
60
|
};
|
62
|
-
toHtml: {
|
63
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
64
|
-
};
|
65
61
|
toMarkdown: {
|
66
|
-
subscribe(fn: (result:
|
62
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
67
63
|
};
|
68
64
|
setContent: {
|
69
65
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -84,9 +80,9 @@ export declare const useMarkdownStore: () => {
|
|
84
80
|
};
|
85
81
|
formatting: {
|
86
82
|
subscribe(fn: (result: {
|
87
|
-
add: (element: HTMLElement,
|
88
|
-
toggle: (element: HTMLElement) => void;
|
89
|
-
remove: (element: HTMLElement,
|
83
|
+
add: (element: HTMLElement, toogleIfExists?: boolean, matchByDataTypeOnly?: boolean) => void;
|
84
|
+
toggle: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
85
|
+
remove: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
90
86
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
91
87
|
};
|
92
88
|
element: {
|
@@ -107,9 +103,6 @@ export declare const useMarkdownStore: () => {
|
|
107
103
|
registerPlugin: {
|
108
104
|
subscribe(fn: (failureReason: any, pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
109
105
|
};
|
110
|
-
toHtml: {
|
111
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
112
|
-
};
|
113
106
|
toMarkdown: {
|
114
107
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
115
108
|
};
|
@@ -140,8 +133,7 @@ export declare const useMarkdownStore: () => {
|
|
140
133
|
};
|
141
134
|
} & {
|
142
135
|
registerPlugin: (pluginSettings: MarkdownPluginSettings) => void;
|
143
|
-
|
144
|
-
toMarkdown: () => void;
|
136
|
+
toMarkdown: () => string;
|
145
137
|
setContent: (markdown: string) => void;
|
146
138
|
setEditorMode: (editMode: boolean) => void;
|
147
139
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -150,9 +142,9 @@ export declare const useMarkdownStore: () => {
|
|
150
142
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
151
143
|
};
|
152
144
|
formatting: () => {
|
153
|
-
add: (element: HTMLElement,
|
154
|
-
toggle: (element: HTMLElement) => void;
|
155
|
-
remove: (element: HTMLElement,
|
145
|
+
add: (element: HTMLElement, toogleIfExists?: boolean, matchByDataTypeOnly?: boolean) => void;
|
146
|
+
toggle: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
147
|
+
remove: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
156
148
|
};
|
157
149
|
element: () => {
|
158
150
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -166,6 +158,16 @@ export declare const useMarkdownStore: () => {
|
|
166
158
|
};
|
167
159
|
get: {
|
168
160
|
plugins: MarkdownPlugin[];
|
161
|
+
selection: {
|
162
|
+
has: {
|
163
|
+
dataType: (dataType: string) => boolean;
|
164
|
+
elementName: (elementName: string) => boolean;
|
165
|
+
};
|
166
|
+
get: {
|
167
|
+
byDataType: (dataType: string) => Node;
|
168
|
+
byElementName: (elementName: string) => Node;
|
169
|
+
};
|
170
|
+
};
|
169
171
|
};
|
170
172
|
} & {
|
171
173
|
dispose?: () => void;
|