rimelight-components 2.0.69 → 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.
Files changed (56) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/blocks/BlockEditRenderer.d.vue.ts +1 -1
  4. package/dist/runtime/components/blocks/BlockEditRenderer.vue +1 -1
  5. package/dist/runtime/components/blocks/BlockEditRenderer.vue.d.ts +1 -1
  6. package/dist/runtime/components/blocks/BlockEditor.d.vue.ts +1 -1
  7. package/dist/runtime/components/blocks/BlockEditor.vue +1 -1
  8. package/dist/runtime/components/blocks/BlockEditor.vue.d.ts +1 -1
  9. package/dist/runtime/components/blocks/BlockViewRenderer.d.vue.ts +1 -1
  10. package/dist/runtime/components/blocks/BlockViewRenderer.vue +1 -1
  11. package/dist/runtime/components/blocks/BlockViewRenderer.vue.d.ts +1 -1
  12. package/dist/runtime/components/blocks/TOC.d.vue.ts +1 -2
  13. package/dist/runtime/components/blocks/TOC.vue +1 -0
  14. package/dist/runtime/components/blocks/TOC.vue.d.ts +1 -2
  15. package/dist/runtime/components/blocks/TextRenderer.d.vue.ts +1 -1
  16. package/dist/runtime/components/blocks/TextRenderer.vue +1 -1
  17. package/dist/runtime/components/blocks/TextRenderer.vue.d.ts +1 -1
  18. package/dist/runtime/components/blocks/editor/CalloutBlockEditor.d.vue.ts +1 -1
  19. package/dist/runtime/components/blocks/editor/CalloutBlockEditor.vue.d.ts +1 -1
  20. package/dist/runtime/components/blocks/editor/CardBlockEditor.d.vue.ts +1 -1
  21. package/dist/runtime/components/blocks/editor/CardBlockEditor.vue.d.ts +1 -1
  22. package/dist/runtime/components/blocks/editor/ImageBlockEditor.d.vue.ts +1 -1
  23. package/dist/runtime/components/blocks/editor/ImageBlockEditor.vue.d.ts +1 -1
  24. package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.d.vue.ts +1 -1
  25. package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.vue +1 -1
  26. package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.vue.d.ts +1 -1
  27. package/dist/runtime/components/blocks/editor/SectionBlockEditor.d.vue.ts +1 -1
  28. package/dist/runtime/components/blocks/editor/SectionBlockEditor.vue.d.ts +1 -1
  29. package/dist/runtime/components/blocks/editor/TestBlockEditor.d.vue.ts +1 -1
  30. package/dist/runtime/components/blocks/editor/TestBlockEditor.vue +1 -2
  31. package/dist/runtime/components/blocks/editor/TestBlockEditor.vue.d.ts +1 -1
  32. package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.d.vue.ts +1 -1
  33. package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.vue.d.ts +1 -1
  34. package/dist/runtime/components/blocks/renderer/CardBlockRenderer.d.vue.ts +1 -1
  35. package/dist/runtime/components/blocks/renderer/CardBlockRenderer.vue.d.ts +1 -1
  36. package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.d.vue.ts +1 -1
  37. package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.vue.d.ts +1 -1
  38. package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.d.vue.ts +1 -1
  39. package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.vue.d.ts +1 -1
  40. package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.d.vue.ts +1 -1
  41. package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.vue.d.ts +1 -1
  42. package/dist/runtime/components/blocks/renderer/TestBlockRenderer.d.vue.ts +1 -1
  43. package/dist/runtime/components/blocks/renderer/TestBlockRenderer.vue.d.ts +1 -1
  44. package/dist/runtime/components/page/PageEditor.d.vue.ts +1 -1
  45. package/dist/runtime/components/page/PageEditor.vue +1 -1
  46. package/dist/runtime/components/page/PageEditor.vue.d.ts +1 -1
  47. package/dist/runtime/components/page/PagePropertiesEditor.d.vue.ts +1 -1
  48. package/dist/runtime/components/page/PagePropertiesEditor.vue +1 -3
  49. package/dist/runtime/components/page/PagePropertiesEditor.vue.d.ts +1 -1
  50. package/dist/runtime/components/page/PagePropertiesRenderer.d.vue.ts +1 -1
  51. package/dist/runtime/components/page/PagePropertiesRenderer.vue +1 -3
  52. package/dist/runtime/components/page/PagePropertiesRenderer.vue.d.ts +1 -1
  53. package/package.json +1 -1
  54. package/dist/runtime/components/blocks/renderer/UnorderedListBlockRenderer.d.vue.ts +0 -4
  55. package/dist/runtime/components/blocks/renderer/UnorderedListBlockRenderer.vue +0 -13
  56. package/dist/runtime/components/blocks/renderer/UnorderedListBlockRenderer.vue.d.ts +0 -4
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.0.69",
3
+ "version": "2.0.71",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
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.69";
7
+ const version = "2.0.71";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -1,4 +1,4 @@
1
- import type { Block } from "../../types/blocks";
1
+ import type { Block } from "../../types";
2
2
  type __VLS_Props = {
3
3
  blocks: Block[];
4
4
  };
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import {} from "vue";
3
- import { getBlockEditorComponent } from "../../utils/blockMapper";
3
+ import { getBlockEditorComponent } from "../../utils";
4
4
  const { blocks } = defineProps({
5
5
  blocks: { type: Array, required: true }
6
6
  });
@@ -1,4 +1,4 @@
1
- import type { Block } from "../../types/blocks";
1
+ import type { Block } from "../../types";
2
2
  type __VLS_Props = {
3
3
  blocks: Block[];
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { Block } from "../../types/blocks";
1
+ import type { Block } from "../../types";
2
2
  export interface BlockEditorProps {
3
3
  historyLimit?: number;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { provide, ref, computed } from "vue";
3
- import { useBlockEditor } from "../../composables/useBlockEditor";
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 { Block } from "../../types/blocks";
1
+ import type { Block } from "../../types";
2
2
  export interface BlockEditorProps {
3
3
  historyLimit?: number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { Block } from "../../types/blocks";
1
+ import type { Block } from "../../types";
2
2
  type __VLS_Props = {
3
3
  blocks: Block[];
4
4
  };
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import {} from "vue";
3
- import { getBlockRendererComponent } from "../../utils/blockMapper";
3
+ import { getBlockRendererComponent } from "../../utils";
4
4
  const { blocks } = defineProps({
5
5
  blocks: { type: Array, required: true }
6
6
  });
@@ -1,4 +1,4 @@
1
- import type { Block } from "../../types/blocks";
1
+ import type { Block } from "../../types";
2
2
  type __VLS_Props = {
3
3
  blocks: Block[];
4
4
  };
@@ -1,5 +1,4 @@
1
- import type { Block } from "../../types/blocks";
2
- import type { HeadingLevel } from "../../types/blocks";
1
+ import { type Block, type HeadingLevel } from "../../types";
3
2
  export interface TOCItem {
4
3
  id: string;
5
4
  title: string;
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
+ import {} from "../../types";
3
4
  import { slugify } from "../../utils";
4
5
  import { useI18n } from "vue-i18n";
5
6
  const { t } = useI18n();
@@ -1,5 +1,4 @@
1
- import type { Block } from "../../types/blocks";
2
- import type { HeadingLevel } from "../../types/blocks";
1
+ import { type Block, type HeadingLevel } from "../../types";
3
2
  export interface TOCItem {
4
3
  id: string;
5
4
  title: string;
@@ -1,4 +1,4 @@
1
- import { type RichTextContent } from "../../types/blocks";
1
+ import { type RichTextContent } from "../../types";
2
2
  type __VLS_Props = {
3
3
  content: RichTextContent;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import {
3
- } from "../../types/blocks";
3
+ } from "../../types";
4
4
  import TextNode from "../nodes/TextNode.vue";
5
5
  import LinkNode from "../nodes/LinkNode.vue";
6
6
  import MentionNode from "../nodes/MentionNode.vue";
@@ -1,4 +1,4 @@
1
- import { type RichTextContent } from "../../types/blocks";
1
+ import { type RichTextContent } from "../../types";
2
2
  type __VLS_Props = {
3
3
  content: RichTextContent;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { CalloutBlockProps } from "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 { ParagraphBlockProps } from "../../../types/blocks";
1
+ import type { ParagraphBlockProps } from "../../../types";
2
2
  type __VLS_Props = ParagraphBlockProps & {
3
3
  id: string;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { inject, ref, watch, onMounted, nextTick } from "vue";
3
- import { richTextToHtml, parseHtmlToRichText } from "../../../utils/richTextHelpers";
3
+ import { richTextToHtml, parseHtmlToRichText } from "../../../utils";
4
4
  const editorApi = inject("block-editor-api");
5
5
  const props = defineProps({
6
6
  text: { type: Array, required: true },
@@ -1,4 +1,4 @@
1
- import type { ParagraphBlockProps } from "../../../types/blocks";
1
+ import type { ParagraphBlockProps } from "../../../types";
2
2
  type __VLS_Props = ParagraphBlockProps & {
3
3
  id: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { SectionBlockProps } from "../../../types/blocks";
1
+ import type { SectionBlockProps } from "../../../types";
2
2
  type __VLS_Props = SectionBlockProps & {
3
3
  id: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { SectionBlockProps } from "../../../types/blocks";
1
+ import type { SectionBlockProps } from "../../../types";
2
2
  type __VLS_Props = SectionBlockProps & {
3
3
  id: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { TestBlockProps } from "../../../types/blocks";
1
+ import type { TestBlockProps } from "../../../types";
2
2
  type __VLS_Props = TestBlockProps & {
3
3
  id: string;
4
4
  };
@@ -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
- const val = e.target.value;
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 { TestBlockProps } from "../../../types/blocks";
1
+ import type { TestBlockProps } from "../../../types";
2
2
  type __VLS_Props = TestBlockProps & {
3
3
  id: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { CalloutBlockProps } from "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 "~~/src/runtime/types/blocks";
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 { Page } from "../../types/pages";
1
+ import type { Page } from "../../types";
2
2
  interface Props {
3
3
  isSaving: boolean;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { ref, computed, useTemplateRef } from "vue";
3
- import { usePageEditor } from "../../composables/usePageEditor";
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,4 +1,4 @@
1
- import type { Page } from "../../types/pages";
1
+ import type { Page } from "../../types";
2
2
  interface Props {
3
3
  isSaving: boolean;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type Page } from '../../types/pages';
1
+ import { type Page } from '../../types';
2
2
  type __VLS_ModelProps = {
3
3
  modelValue: Page;
4
4
  };
@@ -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/pages";
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,4 +1,4 @@
1
- import { type Page } from '../../types/pages';
1
+ import { type Page } from '../../types';
2
2
  type __VLS_ModelProps = {
3
3
  modelValue: Page;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type Page } from '../../types/pages';
1
+ import { type Page } from '../../types';
2
2
  type __VLS_Props = {
3
3
  modelValue: Page;
4
4
  };
@@ -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/pages";
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(() => {
@@ -1,4 +1,4 @@
1
- import { type Page } from '../../types/pages';
1
+ import { type Page } from '../../types';
2
2
  type __VLS_Props = {
3
3
  modelValue: Page;
4
4
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
3
  "description": "A component library by Rimelight Entertainment.",
4
- "version": "2.0.69",
4
+ "version": "2.0.71",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -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;