@panomc/theme-core 1.0.0-dev.41 → 1.0.0-dev.43
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/bin/new.js +1 -1
- package/bin/sync.js +18 -0
- package/lang/en-US.json +516 -0
- package/lang/ru.json +516 -0
- package/lang/tr.json +516 -0
- package/package.json +4 -2
- package/skin-contract.json +368 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema_note": "Machine-readable Pano theme contract, generated from the controller/view split. Consumed by 'theme-core check' and store-side CI.",
|
|
3
|
+
"views": {
|
|
4
|
+
"HomeView": {
|
|
5
|
+
"props": {
|
|
6
|
+
"data": "object — load result (posts, postCount, page, totalPage, category, categoryUrl, sidebar, hookProps) plus View",
|
|
7
|
+
"themeSettings": "plain object — from getContext('themeSettings') in the controller; postsEnabled gates the post list and pagination",
|
|
8
|
+
"onPageClick": "function(data, page) — pagination navigation handler imported from HomePageLogics"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"LoginView": {
|
|
12
|
+
"props": {
|
|
13
|
+
"data": "object — page data (initialError, pageTitle, View)",
|
|
14
|
+
"session": "store — session context from getContext('session') (siteInfo, user, csrfToken)",
|
|
15
|
+
"contentItems": "store — plugin-registered login content items (panoApiClient.ui.auth.login.content)",
|
|
16
|
+
"altMethods": "store — plugin-registered alternative login methods",
|
|
17
|
+
"viewState": "writable store — 'LOGIN' | 'LINK_CODE' | 'REGISTER' | 'SET_USERNAME'",
|
|
18
|
+
"usernameOrEmail": "writable store — username/email field value",
|
|
19
|
+
"password": "writable store — password field value",
|
|
20
|
+
"email": "writable store — register email field value",
|
|
21
|
+
"passwordRepeat": "writable store — register password-repeat field value",
|
|
22
|
+
"agreement": "writable store — register agreement checkbox value",
|
|
23
|
+
"newUsername": "writable store — new username field value (SET_USERNAME state)",
|
|
24
|
+
"linkCode": "writable store — 6-digit link code value",
|
|
25
|
+
"loading": "writable store — request in-flight flag",
|
|
26
|
+
"error": "writable store — current error (string or {key, props})",
|
|
27
|
+
"passwordVisible": "writable store — whether the password field is shown",
|
|
28
|
+
"emailRequired": "writable store — backend requested a register email",
|
|
29
|
+
"emailVerificationSent": "writable store — verification-email-sent notice shown",
|
|
30
|
+
"autoVerifyDone": "writable store — link code auto-verify already attempted",
|
|
31
|
+
"usernameRequiredUserId": "writable store — user id pending username selection",
|
|
32
|
+
"onSubmit": "function — submit the login / set-username form",
|
|
33
|
+
"onVerifyLink": "function — verify the entered link code",
|
|
34
|
+
"onCompleteRegister": "function — complete the register-with-link flow",
|
|
35
|
+
"onUsernameOrEmailFieldInput": "function — input handler for the username/email field",
|
|
36
|
+
"onRegisterEmailFieldInput": "function — input handler for the register email field",
|
|
37
|
+
"onNewUsernameFieldInput": "function — input handler for the new username field"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"RegisterView": {
|
|
41
|
+
"props": {
|
|
42
|
+
"data": "object — SvelteKit page data (initialError, initialUsername, pageTitle, View)",
|
|
43
|
+
"contentItems": "store<Array> — plugin-extensible register page content items ({ id, priority, component }) from panoApiClient.ui.auth.register.content",
|
|
44
|
+
"altMethods": "store<Array> — alternative registration methods injected by plugins",
|
|
45
|
+
"onSubmit": "function — submits the register form (validation, session update, redirect)",
|
|
46
|
+
"loading": "writable store<boolean> — true while the register request is in flight",
|
|
47
|
+
"error": "writable store<string|null> — error key rendered by ErrorAlert",
|
|
48
|
+
"successMessage": "writable store<string|null> — success key rendered by SuccessAlert",
|
|
49
|
+
"username": "writable store<string> — two-way bound username field value",
|
|
50
|
+
"email": "writable store<string> — two-way bound email field value",
|
|
51
|
+
"password": "writable store<string> — two-way bound password field value",
|
|
52
|
+
"passwordRepeat": "writable store<string> — two-way bound password confirmation value",
|
|
53
|
+
"agreement": "writable store<boolean> — two-way bound register-agreement checkbox value"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"NotificationsView": {
|
|
57
|
+
"props": {
|
|
58
|
+
"data": "object — full load data (notifications, notificationCount, sidebar config), forwarded per recipe",
|
|
59
|
+
"notifications": "store — currently loaded notification list (writable from init())",
|
|
60
|
+
"count": "store — total notification count on the server",
|
|
61
|
+
"page": "store — zero-based load-more page index",
|
|
62
|
+
"loadMoreLoading": "store — true while the next page of notifications is fetching",
|
|
63
|
+
"checkTime": "store — tick counter passed BARE (no $) to getTime so relative timestamps refresh",
|
|
64
|
+
"avatarVersion": "store — cache-busting version appended to profile picture URLs",
|
|
65
|
+
"currentLanguage": "store — active language object; .dateFnsCode selects the date-fns locale",
|
|
66
|
+
"locales": "object — date-fns locale namespace (import * as locales stays in controller, passed as a plain value)",
|
|
67
|
+
"onNotificationClick": "function — notification row click handler (from NotificationManager)",
|
|
68
|
+
"onDeleteNotificationClick": "function — deletes a single notification",
|
|
69
|
+
"getTime": "function — relative 'time ago' formatter",
|
|
70
|
+
"loadMore": "function — fetches next page; markup calls it with the notifications and loadMoreLoading store objects",
|
|
71
|
+
"sanitizeObject": "function — escapes notification detail values before {@html} i18n interpolation"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"PlayerDetailView": {
|
|
75
|
+
"props": {
|
|
76
|
+
"data": "PageData — SvelteKit load result; the markup reads data.registerDate (epoch timestamp of the player's registration, rendered via the Date component)"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"PostDetailView": {
|
|
80
|
+
"props": {
|
|
81
|
+
"data": "load data — post ({title, text, category, writer, thumbnailUrl, views, date}), previousPost/nextPost (object or \"-\"), hookProps, View",
|
|
82
|
+
"themeSettings": "plain object (getContext(\"themeSettings\") in controller) — post* visibility toggles read directly, not as a store",
|
|
83
|
+
"avatarVersion": "store object (writable from $pano/lib/Store) — view auto-subscribes via $avatarVersion for profile-picture cache busting"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"PreviewPostView": {
|
|
87
|
+
"props": {
|
|
88
|
+
"data": "object — full load result (post, previousPost, nextPost, View); passed per view contract, markup does not read it directly",
|
|
89
|
+
"post": "object — the post being previewed (title, category.title, writer.username, text, date, views, thumbnailUrl); originates from the shim prop post={data.post}",
|
|
90
|
+
"themeSettings": "object — getContext('themeSettings') resolved in the controller (postCoverImageEnabled, postViewCountEnabled)",
|
|
91
|
+
"avatarVersion": "store — store object from $pano/lib/Store; view auto-subscribes as $avatarVersion for avatar cache-busting"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"SupportView": {
|
|
95
|
+
"props": {
|
|
96
|
+
"data": "object — page load data, forwarded verbatim to plugin ViewComponents",
|
|
97
|
+
"session": "store — session context store; markup reads $session.siteInfo.supportEmail and .websiteName",
|
|
98
|
+
"items": "store — plugin view entries registered for the 'support-content' slot (from panoApi.ui.view.get)",
|
|
99
|
+
"optionItems": "store — plugin view entries registered for the 'support-options' slot (from panoApi.ui.view.get)"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"ActivateEmailView": {
|
|
103
|
+
"props": {
|
|
104
|
+
"data": "object — SvelteKit page data (data.token = activation token from URL, consumed by verifyEmail; data.View = resolved view class)",
|
|
105
|
+
"error": "writable store — error code rendered by ErrorAlert (e.g. \"INVALID_LINK\"); passed as store object, view reads $error",
|
|
106
|
+
"successMessage": "writable store — success code rendered by SuccessAlert (\"VALIDATION_SUCCESSFUL\")",
|
|
107
|
+
"loading": "writable store — true while the verification request is in flight (spinner + disabled button)",
|
|
108
|
+
"activateContentItems": "readable store — plugin-injected content items for the activate page (panoApiClient.ui.auth.activate.content.get())",
|
|
109
|
+
"verifyEmail": "function(error, successMessage, loading, data) — runs the e-mail verification request; called from the button on:click with the raw store objects"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"ConfirmNewEmailView": {
|
|
113
|
+
"props": {
|
|
114
|
+
"data": "object — merged load data (token, pageTitle, session, View, …)",
|
|
115
|
+
"activateNewEmailContentItems": "store<item[]> — plugin-injected content items for the activate-new-email slot (from panoApiClient.ui.auth.activateNewEmail.content.get())",
|
|
116
|
+
"loading": "writable store<boolean> — true while the activation request is in flight",
|
|
117
|
+
"error": "writable store<string|null> — error code shown in ErrorAlert (e.g. \"INVALID_LINK\")",
|
|
118
|
+
"successMessage": "writable store<string|null> — success code shown in SuccessAlert after activation",
|
|
119
|
+
"verifyEmail": "function — (error, successMessage, loading, data) sends the email-activation request; markup passes the store objects themselves"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"RenewPasswordView": {
|
|
123
|
+
"props": {
|
|
124
|
+
"data": "object — page data from load; forwarded to onSubmit (also carries data.View)",
|
|
125
|
+
"error": "writable store — error shown by ErrorAlert; set by onSubmit",
|
|
126
|
+
"message": "writable store — success message shown by SuccessAlert; set by onSubmit",
|
|
127
|
+
"loading": "writable store<boolean> — true while the change-password request is in flight; disables inputs/button",
|
|
128
|
+
"newPassword": "writable store<string> — bound value of the new password input",
|
|
129
|
+
"newPasswordRepeat": "writable store<string> — bound value of the repeat password input",
|
|
130
|
+
"renewPasswordContentItems": "store<Array<{id, component}>> — plugin-injected content items from panoApiClient.ui.auth.renewPassword.content.get()",
|
|
131
|
+
"onSubmit": "function — (error, message, loading, newPassword, newPasswordRepeat, data) form submit handler from RenewPasswordPageLogics"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"ResetPasswordView": {
|
|
135
|
+
"props": {
|
|
136
|
+
"data": "object — merged page data from $page.data (session, pageTitle, View); not read by the default markup but part of the view contract",
|
|
137
|
+
"error": "writable store — error code rendered by ErrorAlert",
|
|
138
|
+
"message": "writable store — success message code rendered by SuccessAlert",
|
|
139
|
+
"loading": "writable store — true while the reset-password request is in flight",
|
|
140
|
+
"usernameOrEmail": "writable store — bound value of the email/username input (view also calls .set() in oninput)",
|
|
141
|
+
"resetPasswordContentItems": "readable store — plugin-registered content items rendered inside the form via ViewComponent",
|
|
142
|
+
"onSubmit": "function(error, message, loading, usernameOrEmail) — logic import passed through; sends the reset-password request",
|
|
143
|
+
"stripIdentifierWhitespace": "function(value) — logic import passed through; strips whitespace in the input's oninput handler"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"ErrorView": {
|
|
147
|
+
"props": {
|
|
148
|
+
"data": "object|undefined — always undefined today (SvelteKit runs no load for +error.svelte); kept for the shared controller contract and forwarded as {data}",
|
|
149
|
+
"page": "reactive object (store-like prop) — SvelteKit page state from $app/state; page.status selects the 404 vs internal-error subtitle"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"ThemeSettingsView": {
|
|
153
|
+
"props": {
|
|
154
|
+
"data": "object — page data (themeSettings, View)",
|
|
155
|
+
"themeSettings": "writable store — live theme settings object being edited; markup reads/mutates via $themeSettings",
|
|
156
|
+
"session": "store — session context from getContext(\"session\") (siteInfo: serverIp, websiteName, websiteDescription)",
|
|
157
|
+
"activeTab": "writable store — selected settings tab id (\"general\", \"logo\", \"header\", ...)",
|
|
158
|
+
"saving": "writable store — save request in-flight flag",
|
|
159
|
+
"resetting": "writable store — tab reset in-flight flag",
|
|
160
|
+
"resettingAll": "writable store — full reset in-flight flag",
|
|
161
|
+
"backgroundImageFiles": "writable store — FileList of the picked page background image (bind:files)",
|
|
162
|
+
"headerBackgroundImageFiles": "writable store — FileList of the picked header background image (bind:files)",
|
|
163
|
+
"playCardBackgroundImageFiles": "writable store — FileList of the picked play-card background image (bind:files)",
|
|
164
|
+
"currentThemeDefault": "writable store (derived via $:) — default navbar/header colors for the selected theme color",
|
|
165
|
+
"defaultHeaderBg": "writable store (derived via $:) — whether the default header background is active",
|
|
166
|
+
"orderedNavLinks": "writable store — nav links (native + plugin) in saved order",
|
|
167
|
+
"orderedFooterLinks": "writable store — footer links (native + plugin) in saved order",
|
|
168
|
+
"draggingItemIndex": "writable store — index of link row being dragged (or null)",
|
|
169
|
+
"dragOverItemIndex": "writable store — index of link row dragged over (or null)",
|
|
170
|
+
"tabChanged": "writable store (derived via $:) — active tab has unsaved changes",
|
|
171
|
+
"tabResetVisible": "writable store (derived via $:) — reset-tab button visibility",
|
|
172
|
+
"allResetVisible": "writable store (derived via $:) — reset-all button visibility",
|
|
173
|
+
"onThemeColorChange": "function — theme color select handler (also applies default navbar/header colors)",
|
|
174
|
+
"onBackgroundImageChange": "function — page background image file-input change handler",
|
|
175
|
+
"onRemoveBackgroundImageClick": "function — remove the saved page background image",
|
|
176
|
+
"onHeaderBackgroundImageChange": "function — header background image file-input change handler",
|
|
177
|
+
"onRemoveHeaderBackgroundImageClick": "function — remove the saved header background image",
|
|
178
|
+
"onPlayCardBackgroundImageChange": "function — play-card background image file-input change handler",
|
|
179
|
+
"onRemovePlayCardBackgroundImageClick": "function — remove the saved play-card background image",
|
|
180
|
+
"onDragStart": "function — dragstart handler for link reordering (event, index)",
|
|
181
|
+
"onDragOver": "function — dragover handler for link reordering (event, index)",
|
|
182
|
+
"onDragEnd": "function — dragend handler for link reordering",
|
|
183
|
+
"onDrop": "function — drop handler for link reordering (event, index, \"nav\" | \"footer\")",
|
|
184
|
+
"toggleLink": "function — enable/disable a navbar link (id, checked)",
|
|
185
|
+
"toggleFooterLink": "function — enable/disable a footer link (id, checked)",
|
|
186
|
+
"save": "function — save the active tab's settings",
|
|
187
|
+
"resetTab": "function — reset the active tab's settings (with confirm modal)",
|
|
188
|
+
"resetAll": "function — reset all theme settings (with confirm modal)"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"ProfileView": {
|
|
192
|
+
"props": {
|
|
193
|
+
"data": "object — page data from load (registerDate, lastLoginDate, pageTitle, sidebar, View)",
|
|
194
|
+
"contentItems": "store<Array> — plugin-extendable profile page content blocks from panoApiClient.ui.profile.content.get()",
|
|
195
|
+
"cardRowItems": "store<Array> — plugin-extendable profile card table rows from panoApiClient.ui.profile.cardRows.get()"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"SettingsView": {
|
|
199
|
+
"props": {
|
|
200
|
+
"data": "object — page data (sessions, sidebar, pageTitle, View)",
|
|
201
|
+
"session": "store — session context from getContext(\"session\") (siteInfo, user, csrfToken)",
|
|
202
|
+
"contentItems": "store — plugin-registered settings content items (panoApiClient.ui.settings.content)",
|
|
203
|
+
"cardRowItems": "store — plugin-registered settings card rows (panoApiClient.ui.settings.cardRows)",
|
|
204
|
+
"Languages": "store — available UI languages keyed by id ({ code, name })",
|
|
205
|
+
"resetPasswordError": "writable store — error key of the reset-password action",
|
|
206
|
+
"resetPasswordLoading": "writable store — reset-password request in-flight flag",
|
|
207
|
+
"resetPasswordSuccess": "writable store — reset-password link sent flag",
|
|
208
|
+
"currentPassword": "writable store — current password field value (change-email step 1)",
|
|
209
|
+
"newEmail": "writable store — new email field value (change-email step 2)",
|
|
210
|
+
"changingEmail": "writable store — change-email flow open flag",
|
|
211
|
+
"changingEmail2ndStep": "writable store — change-email flow is on the new-email step",
|
|
212
|
+
"changingEmailError": "writable store — error key of the change-email flow",
|
|
213
|
+
"changingEmailLoading": "writable store — change-email request in-flight flag",
|
|
214
|
+
"changingEmailSuccess": "writable store — change-email confirmation link sent flag",
|
|
215
|
+
"userLocale": "writable store — selected display-language code (bind:value target)",
|
|
216
|
+
"loadingSessionId": "writable store — id of the session whose logout is in flight",
|
|
217
|
+
"saveButtonVisible": "derived store — whether the save button is rendered",
|
|
218
|
+
"saveButtonDisabled": "derived store — whether the save button is disabled",
|
|
219
|
+
"sendResetPasswordLink": "function — request a reset-password email",
|
|
220
|
+
"sendChangeEmailLink": "function — request the change-email confirmation email",
|
|
221
|
+
"startChangingEmail": "function — open the change-email flow",
|
|
222
|
+
"startChangingEmail2ndStep": "function — advance the change-email flow to the new-email step",
|
|
223
|
+
"stopChangingEmail": "function — cancel the change-email flow",
|
|
224
|
+
"stopChangingEmail2ndStep": "function — go back to the current-password step",
|
|
225
|
+
"onLogoutSession": "function — log out another session by id",
|
|
226
|
+
"registerPlugin": "function — register/unregister a plugin row's save state",
|
|
227
|
+
"handleSave": "function — save locale change + dirty plugin rows",
|
|
228
|
+
"logout": "function — log out the current session (passed the session store)",
|
|
229
|
+
"showToast": "function — show a toast notification (ToastContainer module export)",
|
|
230
|
+
"invalidateAll": "function — SvelteKit invalidateAll (refresh load data)",
|
|
231
|
+
"parseUserAgent": "function — user-agent string to short browser label",
|
|
232
|
+
"stripIdentifierWhitespace": "function — strip whitespace from identifier input"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"TicketsView": {
|
|
236
|
+
"props": {
|
|
237
|
+
"data": "object — page load data (pageType, page, totalPage, ticketCount, category, categoryUrl, View)",
|
|
238
|
+
"contentItems": "store — plugin-extendable content item list from panoApiClient.ui.tickets.content.get(); markup iterates $contentItems",
|
|
239
|
+
"tickets": "store — tickets list store produced by init(data) in the controller; markup reads $tickets and hands the raw store back to onCloseTicketClick",
|
|
240
|
+
"PageTypes": "object — ticket filter enum (ALL/CLOSED) from TicketsPageLogics, used for the header button active states",
|
|
241
|
+
"onCloseTicketClick": "function — (ticketsStore, ticket) close-ticket handler from TicketsPageLogics",
|
|
242
|
+
"onPageClick": "function — (data, page) pagination navigation handler from TicketsPageLogics"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"TicketDetailView": {
|
|
246
|
+
"props": {
|
|
247
|
+
"data": "object — page data from load (ticket, messages, sidebar config); also carries View",
|
|
248
|
+
"ticket": "store — the ticket being viewed (id, title, category, status, date, messageCount)",
|
|
249
|
+
"messages": "store — currently loaded ticket messages, oldest first",
|
|
250
|
+
"message": "store — current text of the reply textarea (bind:value={$message})",
|
|
251
|
+
"messageSendLoading": "store — true while a reply is being sent",
|
|
252
|
+
"messagesSectionDiv": "store — holds the message-list element, set via bind:this={$messagesSectionDiv}; logic scrolls it",
|
|
253
|
+
"loadMoreLoading": "store — true while older messages are being fetched",
|
|
254
|
+
"shouldScroll": "store — whether the message list should scroll down after sending",
|
|
255
|
+
"sentMessageCount": "store — messages sent this session, offsets the 'previous messages' count",
|
|
256
|
+
"avatarVersion": "store — cache-busting version appended to profile picture URLs",
|
|
257
|
+
"loadMore": "function — fetches the previous page of messages (called with loadMoreLoading, messages, data)",
|
|
258
|
+
"sendMessage": "function — sends the reply (called with messageSendLoading, sentMessageCount, shouldScroll, messages, message, data)"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"CreateTicketView": {
|
|
262
|
+
"props": {
|
|
263
|
+
"data": "object — page load data (categories, sidebar, pageTitle, View)",
|
|
264
|
+
"error": "writable store — submit error rendered by ErrorAlert",
|
|
265
|
+
"title": "writable store — ticket title input value (bind:value={$title})",
|
|
266
|
+
"message": "writable store — ticket message textarea value (bind:value={$message})",
|
|
267
|
+
"categoryId": "writable store — selected category id, -1 = no category (bind:value={$categoryId})",
|
|
268
|
+
"loading": "writable store — request in-flight flag, disables the submit button",
|
|
269
|
+
"submit": "function — (error, loading, title, message, categoryId) sends the create-ticket request; view passes the store objects, not their values"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"AppLayoutView": {
|
|
273
|
+
"props": {
|
|
274
|
+
"data": "object — full layout load data (session payload, _pageTitleStore, View); passed for contract completeness, unused by the stock view markup",
|
|
275
|
+
"session": "store — writable session store ({ user, csrfToken, siteInfo }) returned by init(data); view reads $session.siteInfo for favicon hash and website name",
|
|
276
|
+
"pageTitle": "store — current page title descriptor (null | i18n key string | { title, titleValues }); view reads $pageTitle for the document title",
|
|
277
|
+
"getTitle": "function — (pageTitle, siteName) => formatted document <title> string; stays in the controller because it closes over the controller's $_ (svelte-i18n) subscription"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"MainLayoutView": {
|
|
281
|
+
"props": {
|
|
282
|
+
"data": "object — controller load data (hookProps, View, mainLayoutView); unused by the default markup but kept for the view contract",
|
|
283
|
+
"themeSettings": "object — the 'themeSettings' context object (theme color, header/navbar gap, footer & breadcrumb toggles, background/custom CSS settings)",
|
|
284
|
+
"session": "store — the 'session' context store passed as a store object; view auto-subscribes via $session for the head meta tags"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"AuthLayoutView": {
|
|
288
|
+
"props": {
|
|
289
|
+
"data": "object — layout load data returned by processLoad (AuthLayoutLogics), plus View"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"ProfileLayoutView": {
|
|
293
|
+
"props": {
|
|
294
|
+
"data": "object — layout load data from ProfileLayoutLogics.processLoad (includes data.View, the resolved view component)"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"ThemeSettingsLayoutView": {
|
|
298
|
+
"props": {
|
|
299
|
+
"data": "object — merged layout load data from processLoad (ThemeSettingsLayoutLogics), also carries View; unused by the trivial markup but kept per contract",
|
|
300
|
+
"hidden": "store<boolean> — store returned by ThemeSettingsLayoutLogics init(); drives the hidden attribute on the wrapper div"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"TicketsLayoutView": {
|
|
304
|
+
"props": {
|
|
305
|
+
"data": "object — layout load data (parent data merged by processLoad, plus View); the view markup itself does not read it, kept for contract completeness"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"RulesView": {
|
|
309
|
+
"props": {
|
|
310
|
+
"data": "object — load result; data.registerAgreement: sanitized HTML of the register agreement"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"settings_tabs": {
|
|
315
|
+
"_note": "Base ThemeSettingsPage tab → settings-key map, mirrored from the controller's baseTabKeys. A theme.config.js settingsSchema may APPEND keys/tabs; the checker uses this to reject a key that a theme puts in a different tab than the base does (save/reset are per-tab, so that would be ambiguous).",
|
|
316
|
+
"general": ["themeColor", "backgroundColor", "bgImagePosition", "bgImageRepeat", "bgImageSize", "backgroundImage"],
|
|
317
|
+
"logo": ["logoVisibility", "logoPosition", "logoHeight", "logoWidth", "logoAnimation"],
|
|
318
|
+
"header": ["defaultHeaderBg", "headerBgColor", "headerHeight", "headerWidthOption", "headerNavBarGap", "headerBgImagePosition", "headerBgImageRepeat", "headerBgImageSize", "headerBackgroundImage"],
|
|
319
|
+
"navbar": ["navbarWidthOption", "navbarBgColor", "navRoundLevel", "navLinksEnabled", "navLinksEnableStatus", "navLinksOrder"],
|
|
320
|
+
"sidebar": ["sidebarEnabled", "sidebarPosition", "sidebarCarts"],
|
|
321
|
+
"play-card": ["playCardStyle", "defaultPlayCardBg", "playCardBgOpacity", "playCardBgEffect", "playCardBackgroundImage", "playCardIpText", "playCardStatusBadge", "playCardPlayerCount", "playCardVersionInfo", "playCardIpColor", "playCardBorderColor"],
|
|
322
|
+
"post-card": ["postsEnabled", "postCoverImageEnabled", "postReadMoreButtonEnabled", "postAuthorImageEnabled", "postViewCountEnabled", "postPreviousPageEnabled", "postNextPageEnabled"],
|
|
323
|
+
"footer": ["footerEnabled", "footerLogoEnabled", "footerTitleEnabled", "footerTitle", "footerContentEnabled", "footerContent", "footerLinksEnabled", "footerPluginLinksEnabled", "footerLinksEnableStatus", "footerLinksOrder"],
|
|
324
|
+
"advanced": ["customCss"]
|
|
325
|
+
},
|
|
326
|
+
"registry_components": [
|
|
327
|
+
"LoginFormBody",
|
|
328
|
+
"RegisterForm",
|
|
329
|
+
"Date",
|
|
330
|
+
"Pagination",
|
|
331
|
+
"NoContent",
|
|
332
|
+
"PageActions",
|
|
333
|
+
"PageTitle",
|
|
334
|
+
"PlayerHead",
|
|
335
|
+
"Navbar",
|
|
336
|
+
"Header",
|
|
337
|
+
"Footer"
|
|
338
|
+
],
|
|
339
|
+
"view_slots": [
|
|
340
|
+
"login-content",
|
|
341
|
+
"login-alt-methods",
|
|
342
|
+
"register-content",
|
|
343
|
+
"profile-content",
|
|
344
|
+
"profile-card-rows",
|
|
345
|
+
"settings-content",
|
|
346
|
+
"settings-card-rows",
|
|
347
|
+
"tickets-content",
|
|
348
|
+
"navbar-right",
|
|
349
|
+
"navbar-profile-dropdown",
|
|
350
|
+
"support-content",
|
|
351
|
+
"support-options",
|
|
352
|
+
"reset-password-content",
|
|
353
|
+
"renew-password-content",
|
|
354
|
+
"activate-content"
|
|
355
|
+
],
|
|
356
|
+
"hooks": [
|
|
357
|
+
"theme:top",
|
|
358
|
+
"page:top",
|
|
359
|
+
"page:home:top",
|
|
360
|
+
"theme:post-detail:bottom",
|
|
361
|
+
"theme:support:content"
|
|
362
|
+
],
|
|
363
|
+
"route_groups_contractual": [
|
|
364
|
+
"(theme)",
|
|
365
|
+
"(theme-settings)",
|
|
366
|
+
"(plugin-ui)"
|
|
367
|
+
]
|
|
368
|
+
}
|