@sonicjs-cms/core 3.0.0-beta.7 → 3.0.0-beta.9
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/{filter-bar.template-DlVYMk-T.d.cts → admin-layout-catalyst.template-DrwDUfsE.d.cts} +25 -1
- package/dist/{filter-bar.template-DlVYMk-T.d.ts → admin-layout-catalyst.template-DrwDUfsE.d.ts} +25 -1
- package/dist/{chunk-GO2NICMM.cjs → chunk-2FONGKMG.cjs} +237 -237
- package/dist/{chunk-GO2NICMM.cjs.map → chunk-2FONGKMG.cjs.map} +1 -1
- package/dist/{chunk-GVHST4D7.js → chunk-3WSZNGIK.js} +50 -4
- package/dist/chunk-3WSZNGIK.js.map +1 -0
- package/dist/{chunk-BDDABDAB.cjs → chunk-4BTBSXMR.cjs} +2 -239
- package/dist/chunk-4BTBSXMR.cjs.map +1 -0
- package/dist/{chunk-7RY3YKI7.cjs → chunk-7AMFLNK6.cjs} +3 -3
- package/dist/{chunk-7RY3YKI7.cjs.map → chunk-7AMFLNK6.cjs.map} +1 -1
- package/dist/{chunk-WACUJVXY.cjs → chunk-C5RJWUZX.cjs} +57 -11
- package/dist/chunk-C5RJWUZX.cjs.map +1 -0
- package/dist/{chunk-2JOMHEKO.js → chunk-E2LLKPFQ.js} +3 -3
- package/dist/{chunk-2JOMHEKO.js.map → chunk-E2LLKPFQ.js.map} +1 -1
- package/dist/{chunk-5QVYEAVV.cjs → chunk-ITXAUOBC.cjs} +10 -10
- package/dist/{chunk-5QVYEAVV.cjs.map → chunk-ITXAUOBC.cjs.map} +1 -1
- package/dist/{chunk-2RJDEVB3.cjs → chunk-J46JBAZX.cjs} +2 -2
- package/dist/{chunk-2RJDEVB3.cjs.map → chunk-J46JBAZX.cjs.map} +1 -1
- package/dist/{chunk-XCPIXYOP.js → chunk-NSE36XKR.js} +4 -4
- package/dist/{chunk-XCPIXYOP.js.map → chunk-NSE36XKR.js.map} +1 -1
- package/dist/{chunk-WJTMTIYR.js → chunk-PYVFXCSD.js} +255 -3
- package/dist/chunk-PYVFXCSD.js.map +1 -0
- package/dist/{chunk-OECDF2RF.cjs → chunk-R4ILO3W6.cjs} +258 -2
- package/dist/chunk-R4ILO3W6.cjs.map +1 -0
- package/dist/{chunk-ZEZ245PW.js → chunk-RQ6N3FTV.js} +3 -236
- package/dist/chunk-RQ6N3FTV.js.map +1 -0
- package/dist/{chunk-ISIRU7AK.cjs → chunk-RU5TA4J7.cjs} +4 -4
- package/dist/{chunk-ISIRU7AK.cjs.map → chunk-RU5TA4J7.cjs.map} +1 -1
- package/dist/{chunk-BYCBFBUG.js → chunk-SBVOWPJ5.js} +2 -2
- package/dist/{chunk-BYCBFBUG.js.map → chunk-SBVOWPJ5.js.map} +1 -1
- package/dist/{chunk-LH7RKNUW.js → chunk-VHYQ67LW.js} +10 -10
- package/dist/{chunk-LH7RKNUW.js.map → chunk-VHYQ67LW.js.map} +1 -1
- package/dist/{chunk-POGSN5WI.js → chunk-ZHPOJZRR.js} +3 -3
- package/dist/{chunk-POGSN5WI.js.map → chunk-ZHPOJZRR.js.map} +1 -1
- package/dist/index.cjs +264 -260
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +17 -16
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +33 -32
- package/dist/middleware.js +4 -3
- package/dist/migrations-6MRNHE2W.cjs +13 -0
- package/dist/{migrations-TBEFSZIV.cjs.map → migrations-6MRNHE2W.cjs.map} +1 -1
- package/dist/migrations-SBX554MG.js +4 -0
- package/dist/{migrations-IEWABLIP.js.map → migrations-SBX554MG.js.map} +1 -1
- package/dist/plugins.cjs +40 -40
- package/dist/plugins.js +3 -3
- package/dist/routes.cjs +28 -28
- package/dist/routes.js +8 -8
- package/dist/services.cjs +42 -42
- package/dist/services.d.cts +14 -1
- package/dist/services.d.ts +14 -1
- package/dist/services.js +3 -3
- package/dist/{telemetry-B9vIV4wh.d.cts → telemetry-Cku1ax74.d.cts} +1 -1
- package/dist/{telemetry-B9vIV4wh.d.ts → telemetry-Cku1ax74.d.ts} +1 -1
- package/dist/templates.d.cts +2 -24
- package/dist/templates.d.ts +2 -24
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils.cjs +8 -8
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-BDDABDAB.cjs.map +0 -1
- package/dist/chunk-GVHST4D7.js.map +0 -1
- package/dist/chunk-OECDF2RF.cjs.map +0 -1
- package/dist/chunk-WACUJVXY.cjs.map +0 -1
- package/dist/chunk-WJTMTIYR.js.map +0 -1
- package/dist/chunk-ZEZ245PW.js.map +0 -1
- package/dist/migrations-IEWABLIP.js +0 -4
- package/dist/migrations-TBEFSZIV.cjs +0 -13
package/dist/{filter-bar.template-DlVYMk-T.d.cts → admin-layout-catalyst.template-DrwDUfsE.d.cts}
RENAMED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HtmlEscapedString } from 'hono/utils/html';
|
|
2
|
+
|
|
1
3
|
interface FormField {
|
|
2
4
|
name: string;
|
|
3
5
|
label: string;
|
|
@@ -138,4 +140,26 @@ interface FilterBarData {
|
|
|
138
140
|
}
|
|
139
141
|
declare function renderFilterBar(data: FilterBarData): string;
|
|
140
142
|
|
|
141
|
-
|
|
143
|
+
interface AdminLayoutCatalystData {
|
|
144
|
+
title: string;
|
|
145
|
+
pageTitle?: string;
|
|
146
|
+
currentPath?: string;
|
|
147
|
+
version?: string;
|
|
148
|
+
enableExperimentalFeatures?: boolean;
|
|
149
|
+
user?: {
|
|
150
|
+
name: string;
|
|
151
|
+
email: string;
|
|
152
|
+
role: string;
|
|
153
|
+
};
|
|
154
|
+
scripts?: string[];
|
|
155
|
+
styles?: string[];
|
|
156
|
+
content: string | HtmlEscapedString;
|
|
157
|
+
dynamicMenuItems?: Array<{
|
|
158
|
+
label: string;
|
|
159
|
+
path: string;
|
|
160
|
+
icon: string;
|
|
161
|
+
}>;
|
|
162
|
+
}
|
|
163
|
+
declare function renderAdminLayoutCatalyst(data: AdminLayoutCatalystData): string;
|
|
164
|
+
|
|
165
|
+
export { type AdminLayoutCatalystData as A, type ConfirmationDialogOptions as C, type Filter as F, type PaginationData as P, type TableColumn as T, type AlertData as a, type FilterBarData as b, type FilterOption as c, type FormData as d, type FormField as e, type TableData as f, getConfirmationDialogScript as g, renderAlert as h, renderConfirmationDialog as i, renderFilterBar as j, renderForm as k, renderFormField as l, renderPagination as m, renderTable as n, renderAdminLayoutCatalyst as r };
|
package/dist/{filter-bar.template-DlVYMk-T.d.ts → admin-layout-catalyst.template-DrwDUfsE.d.ts}
RENAMED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HtmlEscapedString } from 'hono/utils/html';
|
|
2
|
+
|
|
1
3
|
interface FormField {
|
|
2
4
|
name: string;
|
|
3
5
|
label: string;
|
|
@@ -138,4 +140,26 @@ interface FilterBarData {
|
|
|
138
140
|
}
|
|
139
141
|
declare function renderFilterBar(data: FilterBarData): string;
|
|
140
142
|
|
|
141
|
-
|
|
143
|
+
interface AdminLayoutCatalystData {
|
|
144
|
+
title: string;
|
|
145
|
+
pageTitle?: string;
|
|
146
|
+
currentPath?: string;
|
|
147
|
+
version?: string;
|
|
148
|
+
enableExperimentalFeatures?: boolean;
|
|
149
|
+
user?: {
|
|
150
|
+
name: string;
|
|
151
|
+
email: string;
|
|
152
|
+
role: string;
|
|
153
|
+
};
|
|
154
|
+
scripts?: string[];
|
|
155
|
+
styles?: string[];
|
|
156
|
+
content: string | HtmlEscapedString;
|
|
157
|
+
dynamicMenuItems?: Array<{
|
|
158
|
+
label: string;
|
|
159
|
+
path: string;
|
|
160
|
+
icon: string;
|
|
161
|
+
}>;
|
|
162
|
+
}
|
|
163
|
+
declare function renderAdminLayoutCatalyst(data: AdminLayoutCatalystData): string;
|
|
164
|
+
|
|
165
|
+
export { type AdminLayoutCatalystData as A, type ConfirmationDialogOptions as C, type Filter as F, type PaginationData as P, type TableColumn as T, type AlertData as a, type FilterBarData as b, type FilterOption as c, type FormData as d, type FormField as e, type TableData as f, getConfirmationDialogScript as g, renderAlert as h, renderConfirmationDialog as i, renderFilterBar as j, renderForm as k, renderFormField as l, renderPagination as m, renderTable as n, renderAdminLayoutCatalyst as r };
|