rimelight-components 2.0.61 → 2.0.64
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/module.json +1 -1
- package/dist/module.mjs +1 -2
- package/dist/runtime/components/blocks/BlockEditRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/BlockEditRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/BlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/BlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/BlockViewRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/BlockViewRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/TOC.d.vue.ts +2 -2
- package/dist/runtime/components/blocks/TOC.vue.d.ts +2 -2
- package/dist/runtime/components/blocks/TextRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/TextRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/editor/SectionBlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/editor/SectionBlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/editor/TestBlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/editor/TestBlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/page/PageEditor.d.vue.ts +36 -0
- package/dist/runtime/components/page/PageEditor.vue.d.ts +36 -0
- package/dist/runtime/components/page/PagePropertiesEditor.d.vue.ts +17 -0
- package/dist/runtime/components/page/PagePropertiesEditor.vue.d.ts +17 -0
- package/dist/runtime/components/page/PagePropertiesRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/page/PagePropertiesRenderer.vue.d.ts +1 -1
- package/dist/runtime/composables/index.d.ts +3 -0
- package/dist/runtime/composables/index.js +3 -0
- package/dist/runtime/composables/useBlockEditor.d.ts +131 -131
- package/dist/runtime/composables/usePageEditor.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +3 -3
- package/dist/runtime/types/pages.d.ts +3 -4
- package/dist/runtime/types/schemas.d.ts +0 -6
- package/dist/runtime/types/schemas.js +0 -10
- package/dist/runtime/utils/blockMapper.d.ts +1 -1
- package/dist/runtime/utils/database.d.ts +6 -0
- package/dist/runtime/utils/database.js +10 -0
- package/dist/runtime/utils/index.d.ts +4 -3
- package/dist/runtime/utils/index.js +1 -0
- package/dist/runtime/utils/page.d.ts +1 -1
- package/dist/runtime/utils/richTextHelpers.d.ts +1 -1
- package/package.json +17 -37
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,10 +2,9 @@ import { addTemplate, defineNuxtModule, createResolver, addComponentsDir, addImp
|
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { readdirSync } from 'node:fs';
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
|
-
export * from '../dist/runtime/types/index.js';
|
|
6
5
|
|
|
7
6
|
const name = "rimelight-components";
|
|
8
|
-
const version = "2.0.
|
|
7
|
+
const version = "2.0.64";
|
|
9
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
10
9
|
|
|
11
10
|
const defaultOptions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Block } from "../../types/blocks
|
|
2
|
-
import type { HeadingLevel } from "../../types/blocks
|
|
1
|
+
import type { Block } from "../../types/blocks";
|
|
2
|
+
import type { HeadingLevel } from "../../types/blocks";
|
|
3
3
|
export interface TOCItem {
|
|
4
4
|
id: string;
|
|
5
5
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Block } from "../../types/blocks
|
|
2
|
-
import type { HeadingLevel } from "../../types/blocks
|
|
1
|
+
import type { Block } from "../../types/blocks";
|
|
2
|
+
import type { HeadingLevel } from "../../types/blocks";
|
|
3
3
|
export interface TOCItem {
|
|
4
4
|
id: string;
|
|
5
5
|
title: string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Page } from "../../types/pages";
|
|
2
|
+
interface Props {
|
|
3
|
+
isSaving: boolean;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
modelValue: Page;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
11
|
+
undo: () => void;
|
|
12
|
+
redo: () => void;
|
|
13
|
+
canUndo: import("vue").ComputedRef<boolean>;
|
|
14
|
+
canRedo: import("vue").ComputedRef<boolean>;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: {
|
|
17
|
+
type: "Default";
|
|
18
|
+
properties: import("../../types").BasePageProperties;
|
|
19
|
+
} & import("../../types").BasePage) => any;
|
|
20
|
+
} & {
|
|
21
|
+
save: (value: {
|
|
22
|
+
type: "Default";
|
|
23
|
+
properties: import("../../types").BasePageProperties;
|
|
24
|
+
} & import("../../types").BasePage) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
+
onSave?: ((value: {
|
|
27
|
+
type: "Default";
|
|
28
|
+
properties: import("../../types").BasePageProperties;
|
|
29
|
+
} & import("../../types").BasePage) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValue"?: ((value: {
|
|
31
|
+
type: "Default";
|
|
32
|
+
properties: import("../../types").BasePageProperties;
|
|
33
|
+
} & import("../../types").BasePage) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Page } from "../../types/pages";
|
|
2
|
+
interface Props {
|
|
3
|
+
isSaving: boolean;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
modelValue: Page;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
11
|
+
undo: () => void;
|
|
12
|
+
redo: () => void;
|
|
13
|
+
canUndo: import("vue").ComputedRef<boolean>;
|
|
14
|
+
canRedo: import("vue").ComputedRef<boolean>;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: {
|
|
17
|
+
type: "Default";
|
|
18
|
+
properties: import("../../types").BasePageProperties;
|
|
19
|
+
} & import("../../types").BasePage) => any;
|
|
20
|
+
} & {
|
|
21
|
+
save: (value: {
|
|
22
|
+
type: "Default";
|
|
23
|
+
properties: import("../../types").BasePageProperties;
|
|
24
|
+
} & import("../../types").BasePage) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
+
onSave?: ((value: {
|
|
27
|
+
type: "Default";
|
|
28
|
+
properties: import("../../types").BasePageProperties;
|
|
29
|
+
} & import("../../types").BasePage) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValue"?: ((value: {
|
|
31
|
+
type: "Default";
|
|
32
|
+
properties: import("../../types").BasePageProperties;
|
|
33
|
+
} & import("../../types").BasePage) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Page } from '../../types/pages';
|
|
2
|
+
type __VLS_ModelProps = {
|
|
3
|
+
modelValue: Page;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: {
|
|
7
|
+
type: "Default";
|
|
8
|
+
properties: import("../../types").BasePageProperties;
|
|
9
|
+
} & import("../../types").BasePage) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: {
|
|
12
|
+
type: "Default";
|
|
13
|
+
properties: import("../../types").BasePageProperties;
|
|
14
|
+
} & import("../../types").BasePage) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Page } from '../../types/pages';
|
|
2
|
+
type __VLS_ModelProps = {
|
|
3
|
+
modelValue: Page;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: {
|
|
7
|
+
type: "Default";
|
|
8
|
+
properties: import("../../types").BasePageProperties;
|
|
9
|
+
} & import("../../types").BasePage) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: {
|
|
12
|
+
type: "Default";
|
|
13
|
+
properties: import("../../types").BasePageProperties;
|
|
14
|
+
} & import("../../types").BasePage) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|