rimelight-components 2.0.93 → 2.0.95
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.d.mts +0 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +12 -18
- package/dist/runtime/components/app/Header.vue +7 -26
- 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 +1 -1
- package/dist/runtime/components/blocks/TOC.vue.d.ts +1 -1
- 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/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/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/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 +9 -9
- package/dist/runtime/components/page/PageEditor.vue +1 -0
- package/dist/runtime/components/page/PageEditor.vue.d.ts +9 -9
- package/dist/runtime/components/page/PagePropertiesEditor.d.vue.ts +5 -5
- package/dist/runtime/components/page/PagePropertiesEditor.vue +1 -1
- package/dist/runtime/components/page/PagePropertiesEditor.vue.d.ts +5 -5
- 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 -3
- package/dist/runtime/composables/useBlockEditor.d.ts +131 -131
- package/dist/runtime/composables/usePageEditor.d.ts +1 -1
- package/dist/runtime/internal/blockMapper.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +3 -3
- package/dist/runtime/types/pages.d.ts +2 -2
- package/dist/runtime/utils/index.d.ts +3 -3
- package/dist/runtime/utils/page.d.ts +1 -1
- package/dist/runtime/utils/page.js +1 -1
- package/dist/runtime/utils/richTextHelpers.d.ts +1 -1
- package/dist/types.d.mts +0 -2
- package/package.json +7 -6
package/dist/module.d.mts
CHANGED
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.95";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -137,19 +137,21 @@ const module$1 = defineNuxtModule().with({
|
|
|
137
137
|
moduleDependencies(_nuxt) {
|
|
138
138
|
const dependencies = {
|
|
139
139
|
"@nuxt/image": {
|
|
140
|
-
version: ">=
|
|
140
|
+
version: ">=2.0.0",
|
|
141
141
|
optional: false,
|
|
142
142
|
overrides: {},
|
|
143
143
|
defaults: {}
|
|
144
144
|
},
|
|
145
145
|
"@nuxtjs/i18n": {
|
|
146
|
-
version: ">=10.
|
|
146
|
+
version: ">=10.2.1",
|
|
147
147
|
optional: false,
|
|
148
148
|
overrides: {},
|
|
149
|
-
defaults: {
|
|
149
|
+
defaults: {
|
|
150
|
+
defaultLocale: "en"
|
|
151
|
+
}
|
|
150
152
|
},
|
|
151
153
|
"@nuxt/ui": {
|
|
152
|
-
version: ">=4.
|
|
154
|
+
version: ">=4.2.0",
|
|
153
155
|
optional: false,
|
|
154
156
|
overrides: {},
|
|
155
157
|
defaults: {
|
|
@@ -169,18 +171,6 @@ const module$1 = defineNuxtModule().with({
|
|
|
169
171
|
]
|
|
170
172
|
}
|
|
171
173
|
}
|
|
172
|
-
},
|
|
173
|
-
"@vueuse/nuxt": {
|
|
174
|
-
version: ">=13.9.0",
|
|
175
|
-
optional: false,
|
|
176
|
-
overrides: {},
|
|
177
|
-
defaults: {}
|
|
178
|
-
},
|
|
179
|
-
"motion-v/nuxt": {
|
|
180
|
-
version: ">=1.7.2",
|
|
181
|
-
optional: false,
|
|
182
|
-
overrides: {},
|
|
183
|
-
defaults: {}
|
|
184
174
|
}
|
|
185
175
|
};
|
|
186
176
|
return dependencies;
|
|
@@ -193,11 +183,13 @@ const module$1 = defineNuxtModule().with({
|
|
|
193
183
|
},
|
|
194
184
|
setup(options, nuxt) {
|
|
195
185
|
const { resolve } = createResolver(import.meta.url);
|
|
186
|
+
nuxt.options.vite.optimizeDeps = nuxt.options.vite.optimizeDeps || {};
|
|
187
|
+
nuxt.options.vite.optimizeDeps.include = nuxt.options.vite.optimizeDeps.include || [];
|
|
188
|
+
nuxt.options.vite.optimizeDeps.include.push("@nuxt/ui", "@nuxtjs/i18n", "@nuxt/image", "@vueuse/nuxt");
|
|
196
189
|
nuxt.options.appConfig.rimelightComponents = defu(
|
|
197
190
|
nuxt.options.appConfig.rimelightComponents || {},
|
|
198
191
|
options
|
|
199
192
|
);
|
|
200
|
-
nuxt.options.build.transpile.push("@nuxt/ui");
|
|
201
193
|
addComponentsDir({
|
|
202
194
|
path: resolve("./runtime/components/"),
|
|
203
195
|
pathPrefix: false,
|
|
@@ -206,7 +198,9 @@ const module$1 = defineNuxtModule().with({
|
|
|
206
198
|
global: true
|
|
207
199
|
});
|
|
208
200
|
addImportsDir(resolve("./runtime/composables"));
|
|
201
|
+
addImportsDir(resolve("./runtime/types"));
|
|
209
202
|
addImportsDir(resolve("./runtime/utils"));
|
|
203
|
+
addServerImportsDir(resolve("./runtime/types"));
|
|
210
204
|
addServerImportsDir(resolve("./runtime/utils"));
|
|
211
205
|
const blockRendererFiles = readdirSync(
|
|
212
206
|
resolve("./runtime/components/blocks/renderer")
|
|
@@ -26,32 +26,13 @@ const {
|
|
|
26
26
|
|
|
27
27
|
<template>
|
|
28
28
|
<header :class="root()">
|
|
29
|
-
<UContainer
|
|
30
|
-
|
|
31
|
-
<div :class="
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<div :class="
|
|
36
|
-
<slot name="center" />
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
<div :class="[right(), !$slots.right && 'hidden']">
|
|
40
|
-
<slot name="right" />
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
<div :class="[collapsedLeft(), !$slots['collapsed-left'] && 'hidden']">
|
|
44
|
-
<slot name="collapsed-left" />
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
<div :class="[collapsedCenter(), !$slots['collapsed-center'] && 'hidden']">
|
|
48
|
-
<slot name="collapsed-center" />
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
<div :class="[collapsedRight(), !$slots['collapsed-right'] && 'hidden']">
|
|
52
|
-
<slot name="collapsed-right" />
|
|
53
|
-
</div>
|
|
54
|
-
|
|
29
|
+
<UContainer :class="container()">
|
|
30
|
+
<div :class="left()"><slot name="left" /></div>
|
|
31
|
+
<div :class="center()"><slot name="center" /></div>
|
|
32
|
+
<div :class="right()"><slot name="right" /></div>
|
|
33
|
+
<div :class="collapsedLeft()"><slot name="collapsed-left" /></div>
|
|
34
|
+
<div :class="collapsedCenter()"><slot name="collapsed-center" /></div>
|
|
35
|
+
<div :class="collapsedRight()"><slot name="collapsed-right" /></div>
|
|
55
36
|
</UContainer>
|
|
56
37
|
</header>
|
|
57
38
|
</template>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalloutBlockProps } from "../../../types";
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { CardBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { CardBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { ImageBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { ImageBlockProps } from "../../../types/index.js";
|
|
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 { CalloutBlockProps } from "../../../types";
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { CalloutBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { CardBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { CardBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { ImageBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { ImageBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { ParagraphBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { ParagraphBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { SectionBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { SectionBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { TestBlockProps } from "../../../types/index.js";
|
|
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 "../../../types";
|
|
1
|
+
import type { TestBlockProps } from "../../../types/index.js";
|
|
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";
|
|
1
|
+
import type { Page } from "../../types/index.js";
|
|
2
2
|
interface Props {
|
|
3
3
|
isSaving: boolean;
|
|
4
4
|
}
|
|
@@ -15,22 +15,22 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (value: {
|
|
17
17
|
type: "Default";
|
|
18
|
-
properties: import("../../types").BasePageProperties;
|
|
19
|
-
} & import("../../types").BasePage) => any;
|
|
18
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
19
|
+
} & import("../../types/index.js").BasePage) => any;
|
|
20
20
|
} & {
|
|
21
21
|
save: (value: {
|
|
22
22
|
type: "Default";
|
|
23
|
-
properties: import("../../types").BasePageProperties;
|
|
24
|
-
} & import("../../types").BasePage) => any;
|
|
23
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
24
|
+
} & import("../../types/index.js").BasePage) => any;
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
26
|
onSave?: ((value: {
|
|
27
27
|
type: "Default";
|
|
28
|
-
properties: import("../../types").BasePageProperties;
|
|
29
|
-
} & import("../../types").BasePage) => any) | undefined;
|
|
28
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
29
|
+
} & import("../../types/index.js").BasePage) => any) | undefined;
|
|
30
30
|
"onUpdate:modelValue"?: ((value: {
|
|
31
31
|
type: "Default";
|
|
32
|
-
properties: import("../../types").BasePageProperties;
|
|
33
|
-
} & import("../../types").BasePage) => any) | undefined;
|
|
32
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
33
|
+
} & import("../../types/index.js").BasePage) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
export default _default;
|
|
@@ -75,6 +75,7 @@ const editorPanelClass = computed(() => ({
|
|
|
75
75
|
<div class="mt-24 grid gap-xl" :class="showPreview ? 'grid-cols-2' : 'grid-cols-1'">
|
|
76
76
|
<UPage :class="editorPanelClass">
|
|
77
77
|
<template #default>
|
|
78
|
+
<UPageHeader />
|
|
78
79
|
<RCBlockEditor
|
|
79
80
|
ref="editor"
|
|
80
81
|
v-model="page.blocks"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Page } from "../../types";
|
|
1
|
+
import type { Page } from "../../types/index.js";
|
|
2
2
|
interface Props {
|
|
3
3
|
isSaving: boolean;
|
|
4
4
|
}
|
|
@@ -15,22 +15,22 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (value: {
|
|
17
17
|
type: "Default";
|
|
18
|
-
properties: import("../../types").BasePageProperties;
|
|
19
|
-
} & import("../../types").BasePage) => any;
|
|
18
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
19
|
+
} & import("../../types/index.js").BasePage) => any;
|
|
20
20
|
} & {
|
|
21
21
|
save: (value: {
|
|
22
22
|
type: "Default";
|
|
23
|
-
properties: import("../../types").BasePageProperties;
|
|
24
|
-
} & import("../../types").BasePage) => any;
|
|
23
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
24
|
+
} & import("../../types/index.js").BasePage) => any;
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
26
|
onSave?: ((value: {
|
|
27
27
|
type: "Default";
|
|
28
|
-
properties: import("../../types").BasePageProperties;
|
|
29
|
-
} & import("../../types").BasePage) => any) | undefined;
|
|
28
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
29
|
+
} & import("../../types/index.js").BasePage) => any) | undefined;
|
|
30
30
|
"onUpdate:modelValue"?: ((value: {
|
|
31
31
|
type: "Default";
|
|
32
|
-
properties: import("../../types").BasePageProperties;
|
|
33
|
-
} & import("../../types").BasePage) => any) | undefined;
|
|
32
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
33
|
+
} & import("../../types/index.js").BasePage) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { type Page } from '../../types';
|
|
1
|
+
import { type Page } from '../../types/index.js';
|
|
2
2
|
type __VLS_ModelProps = {
|
|
3
3
|
modelValue: Page;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value: {
|
|
7
7
|
type: "Default";
|
|
8
|
-
properties: import("../../types").BasePageProperties;
|
|
9
|
-
} & import("../../types").BasePage) => any;
|
|
8
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
9
|
+
} & import("../../types/index.js").BasePage) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: {
|
|
12
12
|
type: "Default";
|
|
13
|
-
properties: import("../../types").BasePageProperties;
|
|
14
|
-
} & import("../../types").BasePage) => any) | undefined;
|
|
13
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
14
|
+
} & import("../../types/index.js").BasePage) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
export default _default;
|
|
@@ -106,7 +106,7 @@ const getSortedFields = (fields) => {
|
|
|
106
106
|
</div>
|
|
107
107
|
<div class="flex justify-between">
|
|
108
108
|
<span>Last Updated:</span>
|
|
109
|
-
<span>{{
|
|
109
|
+
<span>{{ page.updated_at }}</span>
|
|
110
110
|
</div>
|
|
111
111
|
</div>
|
|
112
112
|
</div>
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { type Page } from '../../types';
|
|
1
|
+
import { type Page } from '../../types/index.js';
|
|
2
2
|
type __VLS_ModelProps = {
|
|
3
3
|
modelValue: Page;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value: {
|
|
7
7
|
type: "Default";
|
|
8
|
-
properties: import("../../types").BasePageProperties;
|
|
9
|
-
} & import("../../types").BasePage) => any;
|
|
8
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
9
|
+
} & import("../../types/index.js").BasePage) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: {
|
|
12
12
|
type: "Default";
|
|
13
|
-
properties: import("../../types").BasePageProperties;
|
|
14
|
-
} & import("../../types").BasePage) => any) | undefined;
|
|
13
|
+
properties: import("../../types/index.js").BasePageProperties;
|
|
14
|
+
} & import("../../types/index.js").BasePage) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./useDateRange";
|
|
2
|
-
export * from "./usePageEditor";
|
|
3
|
-
export * from "./useBlockEditor";
|
|
1
|
+
export * from "./useDateRange.js";
|
|
2
|
+
export * from "./usePageEditor.js";
|
|
3
|
+
export * from "./useBlockEditor.js";
|