rimelight-components 2.0.60 → 2.0.63
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/app.config.d.ts +4 -0
- package/dist/runtime/app.config.js +4 -0
- 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 +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/content/Section.vue +1 -1
- package/dist/runtime/components/page/PageEditor.d.vue.ts +17 -5
- package/dist/runtime/components/page/PageEditor.vue +1 -1
- package/dist/runtime/components/page/PageEditor.vue.d.ts +17 -5
- package/dist/runtime/components/page/PagePropertiesEditor.d.vue.ts +9 -3
- package/dist/runtime/components/page/PagePropertiesEditor.vue +16 -12
- package/dist/runtime/components/page/PagePropertiesEditor.vue.d.ts +9 -3
- package/dist/runtime/components/page/PagePropertiesRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/page/PagePropertiesRenderer.vue +25 -17
- package/dist/runtime/components/page/PagePropertiesRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/swatches/ColorSwatch.vue +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/app.config.d.ts +10 -2
- package/dist/runtime/types/index.d.ts +3 -4
- package/dist/runtime/types/index.js +0 -1
- package/dist/runtime/types/pages.d.ts +31 -109
- package/dist/runtime/types/pages.js +3 -58
- 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 +7 -4
- package/dist/runtime/utils/page.js +64 -13
- package/dist/runtime/utils/richTextHelpers.d.ts +1 -1
- package/package.json +30 -23
- package/dist/runtime/types/pageTemplates.d.ts +0 -3
- package/dist/runtime/types/pageTemplates.js +0 -173
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { v7 as uuidv7 } from "uuid";
|
|
2
|
-
export const PAGE_TEMPLATES = {
|
|
3
|
-
Default: () => [],
|
|
4
|
-
Document: () => [],
|
|
5
|
-
BlogPost: () => [],
|
|
6
|
-
PatchNote: () => [],
|
|
7
|
-
Character: () => [
|
|
8
|
-
{
|
|
9
|
-
id: uuidv7(),
|
|
10
|
-
type: "SectionBlock",
|
|
11
|
-
isTemplated: true,
|
|
12
|
-
props: { level: 2, title: "Appearance", children: [] }
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: uuidv7(),
|
|
16
|
-
type: "SectionBlock",
|
|
17
|
-
isTemplated: true,
|
|
18
|
-
props: { level: 2, title: "Abilities", children: [] }
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: uuidv7(),
|
|
22
|
-
type: "SectionBlock",
|
|
23
|
-
isTemplated: true,
|
|
24
|
-
props: { level: 2, title: "History", children: [] }
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
Location: () => [
|
|
28
|
-
{
|
|
29
|
-
id: uuidv7(),
|
|
30
|
-
type: "SectionBlock",
|
|
31
|
-
isTemplated: true,
|
|
32
|
-
props: { level: 2, title: "Geography", children: [] }
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: uuidv7(),
|
|
36
|
-
type: "SectionBlock",
|
|
37
|
-
isTemplated: true,
|
|
38
|
-
props: { level: 2, title: "Points of Interest", children: [] }
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: uuidv7(),
|
|
42
|
-
type: "SectionBlock",
|
|
43
|
-
isTemplated: true,
|
|
44
|
-
props: { level: 2, title: "History", children: [] }
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
Species: () => [
|
|
48
|
-
{
|
|
49
|
-
id: uuidv7(),
|
|
50
|
-
type: "SectionBlock",
|
|
51
|
-
isTemplated: true,
|
|
52
|
-
props: { level: 2, title: "Biology", children: [] }
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: uuidv7(),
|
|
56
|
-
type: "SectionBlock",
|
|
57
|
-
isTemplated: true,
|
|
58
|
-
props: { level: 2, title: "Culture", children: [] }
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
Object: () => [
|
|
62
|
-
{
|
|
63
|
-
id: uuidv7(),
|
|
64
|
-
type: "SectionBlock",
|
|
65
|
-
isTemplated: true,
|
|
66
|
-
props: { level: 2, title: "Description", children: [] }
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: uuidv7(),
|
|
70
|
-
type: "SectionBlock",
|
|
71
|
-
isTemplated: true,
|
|
72
|
-
props: { level: 2, title: "Properties", children: [] }
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
Tale: () => [
|
|
76
|
-
{
|
|
77
|
-
id: uuidv7(),
|
|
78
|
-
type: "SectionBlock",
|
|
79
|
-
isTemplated: true,
|
|
80
|
-
props: { level: 2, title: "Summary", children: [] }
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: uuidv7(),
|
|
84
|
-
type: "SectionBlock",
|
|
85
|
-
isTemplated: true,
|
|
86
|
-
props: { level: 2, title: "The Story", children: [] }
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
Item: () => [
|
|
90
|
-
{
|
|
91
|
-
id: uuidv7(),
|
|
92
|
-
type: "SectionBlock",
|
|
93
|
-
isTemplated: true,
|
|
94
|
-
props: { level: 2, title: "Statistics", children: [] }
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: uuidv7(),
|
|
98
|
-
type: "SectionBlock",
|
|
99
|
-
isTemplated: true,
|
|
100
|
-
props: { level: 2, title: "Lore", children: [] }
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
Skill: () => [
|
|
104
|
-
{
|
|
105
|
-
id: uuidv7(),
|
|
106
|
-
type: "SectionBlock",
|
|
107
|
-
isTemplated: true,
|
|
108
|
-
props: { level: 2, title: "Effects", children: [] }
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: uuidv7(),
|
|
112
|
-
type: "SectionBlock",
|
|
113
|
-
isTemplated: true,
|
|
114
|
-
props: { level: 2, title: "Acquisition", children: [] }
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
Hero: () => [
|
|
118
|
-
{
|
|
119
|
-
id: uuidv7(),
|
|
120
|
-
type: "SectionBlock",
|
|
121
|
-
isTemplated: true,
|
|
122
|
-
props: { level: 2, title: "Background", children: [] }
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
id: uuidv7(),
|
|
126
|
-
type: "SectionBlock",
|
|
127
|
-
isTemplated: true,
|
|
128
|
-
props: { level: 2, title: "Legacy", children: [] }
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
Card: () => [
|
|
132
|
-
{
|
|
133
|
-
id: uuidv7(),
|
|
134
|
-
type: "SectionBlock",
|
|
135
|
-
isTemplated: true,
|
|
136
|
-
props: { level: 2, title: "Card Art", children: [] }
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
id: uuidv7(),
|
|
140
|
-
type: "SectionBlock",
|
|
141
|
-
isTemplated: true,
|
|
142
|
-
props: { level: 2, title: "Game Mechanics", children: [] }
|
|
143
|
-
}
|
|
144
|
-
],
|
|
145
|
-
Series: () => [
|
|
146
|
-
{
|
|
147
|
-
id: uuidv7(),
|
|
148
|
-
type: "SectionBlock",
|
|
149
|
-
isTemplated: true,
|
|
150
|
-
props: { level: 2, title: "Synopsis", children: [] }
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
id: uuidv7(),
|
|
154
|
-
type: "SectionBlock",
|
|
155
|
-
isTemplated: true,
|
|
156
|
-
props: { level: 2, title: "List of Episodes", children: [] }
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
Episode: () => [
|
|
160
|
-
{
|
|
161
|
-
id: uuidv7(),
|
|
162
|
-
type: "SectionBlock",
|
|
163
|
-
isTemplated: true,
|
|
164
|
-
props: { level: 2, title: "Plot Summary", children: [] }
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
id: uuidv7(),
|
|
168
|
-
type: "SectionBlock",
|
|
169
|
-
isTemplated: true,
|
|
170
|
-
props: { level: 2, title: "Characters Appearing", children: [] }
|
|
171
|
-
}
|
|
172
|
-
]
|
|
173
|
-
};
|