rimelight-components 2.0.70 → 2.0.71
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 -1
- package/dist/runtime/components/blocks/BlockEditRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/BlockEditRenderer.vue +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 +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 +1 -1
- package/dist/runtime/components/blocks/BlockViewRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/TOC.d.vue.ts +1 -2
- package/dist/runtime/components/blocks/TOC.vue +1 -0
- package/dist/runtime/components/blocks/TOC.vue.d.ts +1 -2
- package/dist/runtime/components/blocks/TextRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/TextRenderer.vue +1 -1
- package/dist/runtime/components/blocks/TextRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/editor/CalloutBlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/editor/CalloutBlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/editor/CardBlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/editor/CardBlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/editor/ImageBlockEditor.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/editor/ImageBlockEditor.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 +1 -2
- package/dist/runtime/components/blocks/editor/TestBlockEditor.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/renderer/CardBlockRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/renderer/CardBlockRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/blocks/renderer/TestBlockRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/blocks/renderer/TestBlockRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/page/PageEditor.d.vue.ts +1 -1
- package/dist/runtime/components/page/PageEditor.vue +1 -1
- package/dist/runtime/components/page/PageEditor.vue.d.ts +1 -1
- package/dist/runtime/components/page/PagePropertiesEditor.d.vue.ts +1 -1
- package/dist/runtime/components/page/PagePropertiesEditor.vue +1 -3
- package/dist/runtime/components/page/PagePropertiesEditor.vue.d.ts +1 -1
- package/dist/runtime/components/page/PagePropertiesRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/page/PagePropertiesRenderer.vue +1 -3
- package/dist/runtime/components/page/PagePropertiesRenderer.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/runtime/components/blocks/renderer/UnorderedListBlockRenderer.d.vue.ts +0 -4
- package/dist/runtime/components/blocks/renderer/UnorderedListBlockRenderer.vue +0 -13
- package/dist/runtime/components/blocks/renderer/UnorderedListBlockRenderer.vue.d.ts +0 -4
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
|
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.0.
|
|
7
|
+
const version = "2.0.71";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { provide, ref, computed } from "vue";
|
|
3
|
-
import { useBlockEditor } from "../../composables
|
|
3
|
+
import { useBlockEditor } from "../../composables";
|
|
4
4
|
const blocks = defineModel({ type: Array, ...{ required: true } });
|
|
5
5
|
const { historyLimit } = defineProps({
|
|
6
6
|
historyLimit: { type: Number, required: false }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalloutBlockProps } from "
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CalloutBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalloutBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalloutBlockProps } from "
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CalloutBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalloutBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CardBlockProps } from "
|
|
1
|
+
import type { CardBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CardBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CardBlockProps } from "
|
|
1
|
+
import type { CardBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CardBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageBlockProps } from "
|
|
1
|
+
import type { ImageBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ImageBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
3
|
"update:src": (value: string | null) => any;
|
|
4
4
|
"update:alt": (value: string) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageBlockProps } from "
|
|
1
|
+
import type { ImageBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ImageBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
3
|
"update:src": (value: string | null) => any;
|
|
4
4
|
"update:alt": (value: string) => any;
|
|
@@ -7,8 +7,7 @@ const { text, id } = defineProps({
|
|
|
7
7
|
const editorApi = inject("block-editor-api");
|
|
8
8
|
const localText = ref(text);
|
|
9
9
|
const updateLocalText = (e) => {
|
|
10
|
-
|
|
11
|
-
localText.value = val;
|
|
10
|
+
localText.value = e.target.value;
|
|
12
11
|
};
|
|
13
12
|
const commitOnBlur = () => {
|
|
14
13
|
if (editorApi && id) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalloutBlockProps } from "
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CalloutBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalloutBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalloutBlockProps } from "
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CalloutBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalloutBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CardBlockProps } from "
|
|
1
|
+
import type { CardBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CardBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CardBlockProps } from "
|
|
1
|
+
import type { CardBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<CardBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageBlockProps } from "
|
|
1
|
+
import type { ImageBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ImageBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageBlockProps } from "
|
|
1
|
+
import type { ImageBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ImageBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ParagraphBlockProps } from "
|
|
1
|
+
import type { ParagraphBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ParagraphBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ParagraphBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ParagraphBlockProps } from "
|
|
1
|
+
import type { ParagraphBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ParagraphBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ParagraphBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SectionBlockProps } from "
|
|
1
|
+
import type { SectionBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<SectionBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SectionBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SectionBlockProps } from "
|
|
1
|
+
import type { SectionBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<SectionBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SectionBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TestBlockProps } from "
|
|
1
|
+
import type { TestBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<TestBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TestBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TestBlockProps } from "
|
|
1
|
+
import type { TestBlockProps } from "../../../types";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<TestBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TestBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
declare const _default: typeof __VLS_export;
|
|
4
4
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref, computed, useTemplateRef } from "vue";
|
|
3
|
-
import { usePageEditor } from "../../composables
|
|
3
|
+
import { usePageEditor } from "../../composables";
|
|
4
4
|
const page = defineModel({ type: null, ...{ required: true } });
|
|
5
5
|
const { undo, redo, canUndo, canRedo, captureSnapshot } = usePageEditor(page);
|
|
6
6
|
const emit = defineEmits(["save"]);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
|
-
import { useAppConfig } from "#imports";
|
|
4
3
|
import { useI18n } from "vue-i18n";
|
|
5
|
-
import {} from "../../types
|
|
4
|
+
import {} from "../../types";
|
|
6
5
|
const page = defineModel({ type: null, ...{ required: true } });
|
|
7
|
-
const appConfig = useAppConfig();
|
|
8
6
|
const locale = useI18n().locale;
|
|
9
7
|
const properties = computed(() => page.value.properties);
|
|
10
8
|
const groups = computed(() => {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
|
-
import { useAppConfig } from "#imports";
|
|
4
3
|
import { useI18n } from "vue-i18n";
|
|
5
4
|
import {
|
|
6
|
-
} from "../../types
|
|
5
|
+
} from "../../types";
|
|
7
6
|
const props = defineProps({
|
|
8
7
|
modelValue: { type: null, required: true }
|
|
9
8
|
});
|
|
10
|
-
const appConfig = useAppConfig();
|
|
11
9
|
const locale = useI18n().locale;
|
|
12
10
|
const properties = computed(() => props.modelValue.properties);
|
|
13
11
|
const displayGroups = computed(() => {
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { UnorderedListBlockProps } from "~~/src/runtime/types/blocks";
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<UnorderedListBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UnorderedListBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
const { items } = defineProps({
|
|
3
|
-
items: { type: Array, required: true }
|
|
4
|
-
});
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<template>
|
|
8
|
-
<ul class="ml-6 list-outside list-disc space-y-2">
|
|
9
|
-
<li v-for="item in items" :key="item.id" class="list-item">
|
|
10
|
-
<RCBlockRenderer :blocks="[item]" />
|
|
11
|
-
</li>
|
|
12
|
-
</ul>
|
|
13
|
-
</template>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { UnorderedListBlockProps } from "~~/src/runtime/types/blocks";
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<UnorderedListBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UnorderedListBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|