@upstart.gg/sdk 0.0.77 → 0.0.79
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/node/cli/api.js +2 -2
- package/dist/node/cli/commands/build/cmd-build.js +1 -1
- package/dist/node/cli/commands/login/cmd-login.js +2 -2
- package/dist/node/cli/commands/logout/cmd-logout.js +1 -1
- package/dist/node/cli/commands/publish/cmd-publish.js +3 -3
- package/dist/node/cli/commands/publish/parse-gitignore.js +1 -1
- package/dist/node/cli/commands/publish/uploader.js +2 -2
- package/dist/node/cli/constants.js +1 -1
- package/dist/node/cli/is-logged-in.js +2 -2
- package/dist/node/cli/program.js +3 -3
- package/dist/node/cli/store.js +1 -1
- package/dist/node/cli/types.js +1 -1
- package/dist/node/cli/utils.js +1 -1
- package/dist/node/shared/config.d.ts.map +1 -1
- package/dist/node/shared/config.js +5 -5
- package/dist/node/shared/logger.js +2 -2
- package/dist/shared/ajv.d.ts +1 -0
- package/dist/shared/ajv.d.ts.map +1 -1
- package/dist/shared/ajv.js +2 -2
- package/dist/shared/analytics/init.js +1 -1
- package/dist/shared/analytics/track.js +1 -1
- package/dist/shared/analytics/types.js +1 -1
- package/dist/shared/attributes.d.ts +48 -13
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +2 -2
- package/dist/shared/brick-manifest.d.ts +92 -45
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +2 -2
- package/dist/shared/bricks/manifests/all-manifests.d.ts +2 -3
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +2 -2
- package/dist/shared/bricks/manifests/button.manifest.d.ts +42 -100
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +2 -2
- package/dist/shared/bricks/manifests/card.manifest.d.ts +59 -123
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +2 -2
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +39 -94
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +2 -2
- package/dist/shared/bricks/manifests/container.manifest.d.ts +118 -0
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/container.manifest.js +3 -0
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts +39 -70
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/countdown.manifest.js +2 -2
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +57 -69
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +2 -2
- package/dist/shared/bricks/manifests/form.manifest.d.ts +39 -72
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +2 -2
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts +42 -94
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/generic-component.manifest.js +2 -2
- package/dist/shared/bricks/manifests/header.manifest.d.ts +142 -69
- package/dist/shared/bricks/manifests/header.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/header.manifest.js +2 -2
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +79 -99
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +2 -2
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +39 -70
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +2 -2
- package/dist/shared/bricks/manifests/image.manifest.d.ts +69 -67
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.js +2 -2
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts +92 -70
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/images-wall.manifest.js +2 -2
- package/dist/shared/bricks/manifests/map.manifest.d.ts +39 -62
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.js +2 -2
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +39 -70
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +2 -2
- package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts +2 -0
- package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/text.manifest.d.ts +55 -97
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +2 -2
- package/dist/shared/bricks/manifests/video.manifest.d.ts +39 -66
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +2 -2
- package/dist/shared/bricks/props/_style-presets.d.ts +18 -0
- package/dist/shared/bricks/props/_style-presets.d.ts.map +1 -0
- package/dist/shared/bricks/props/_style-presets.js +3 -0
- package/dist/shared/bricks/props/align.d.ts +15 -0
- package/dist/shared/bricks/props/align.d.ts.map +1 -0
- package/dist/shared/bricks/props/align.js +3 -0
- package/dist/shared/bricks/props/background.d.ts +23 -0
- package/dist/shared/bricks/props/background.d.ts.map +1 -0
- package/dist/shared/bricks/props/background.js +3 -0
- package/dist/shared/bricks/props/boolean.d.ts +4 -0
- package/dist/shared/bricks/props/boolean.d.ts.map +1 -0
- package/dist/shared/bricks/props/boolean.js +3 -0
- package/dist/shared/bricks/props/border.d.ts +27 -0
- package/dist/shared/bricks/props/border.d.ts.map +1 -0
- package/dist/shared/bricks/props/border.js +3 -0
- package/dist/shared/bricks/props/common.d.ts +5 -34
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +2 -2
- package/dist/shared/bricks/props/container.d.ts +50 -0
- package/dist/shared/bricks/props/container.d.ts.map +1 -0
- package/dist/shared/bricks/props/container.js +3 -0
- package/dist/shared/bricks/props/datasource.d.ts +18 -0
- package/dist/shared/bricks/props/datasource.d.ts.map +1 -0
- package/dist/shared/bricks/props/datasource.js +3 -0
- package/dist/shared/bricks/props/effects.d.ts +21 -0
- package/dist/shared/bricks/props/effects.d.ts.map +1 -0
- package/dist/shared/bricks/props/effects.js +3 -0
- package/dist/shared/bricks/props/helpers.d.ts +28 -0
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -0
- package/dist/shared/bricks/props/helpers.js +3 -0
- package/dist/shared/bricks/props/image.d.ts +15 -0
- package/dist/shared/bricks/props/image.d.ts.map +1 -0
- package/dist/shared/bricks/props/image.js +3 -0
- package/dist/shared/bricks/props/number.d.ts +6 -0
- package/dist/shared/bricks/props/number.d.ts.map +1 -0
- package/dist/shared/bricks/props/number.js +3 -0
- package/dist/shared/bricks/props/padding.d.ts +4 -0
- package/dist/shared/bricks/props/padding.d.ts.map +1 -0
- package/dist/shared/bricks/props/padding.js +3 -0
- package/dist/shared/bricks/props/position.d.ts +6 -0
- package/dist/shared/bricks/props/position.d.ts.map +1 -0
- package/dist/shared/bricks/props/position.js +3 -0
- package/dist/shared/bricks/props/string.d.ts +11 -0
- package/dist/shared/bricks/props/string.d.ts.map +1 -0
- package/dist/shared/bricks/props/string.js +3 -0
- package/dist/shared/bricks/props/tests/align.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/align.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/background.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/background.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/border.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/border.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/container.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/container.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/effects.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/effects.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/helpers.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/helpers.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/image.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/image.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/padding.d.ts +2 -0
- package/dist/shared/bricks/props/tests/padding.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/string.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/string.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/text.d.ts +15 -0
- package/dist/shared/bricks/props/text.d.ts.map +1 -0
- package/dist/shared/bricks/props/text.js +3 -0
- package/dist/shared/bricks/props/types.d.ts +43 -0
- package/dist/shared/bricks/props/types.d.ts.map +1 -0
- package/dist/shared/bricks/props/types.js +2 -0
- package/dist/shared/bricks.d.ts +53 -497
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +2 -2
- package/dist/shared/chunk-2Y3ZNNGU.js +3 -0
- package/dist/shared/chunk-346JVEOR.js +3 -0
- package/dist/shared/chunk-3EUA65QC.js +3 -0
- package/dist/shared/chunk-4EEQT7D6.js +3 -0
- package/dist/shared/chunk-4IMPKXJT.js +14 -0
- package/dist/shared/chunk-4JJHQZYB.js +3 -0
- package/dist/shared/chunk-4SMJ4E32.js +19 -0
- package/dist/shared/chunk-56QQPQIE.js +3 -0
- package/dist/shared/chunk-5JEYUV4C.js +11 -0
- package/dist/shared/{chunk-X7ABR5GQ.js → chunk-6GYFUI5C.js} +2 -2
- package/dist/shared/chunk-764EAJFR.js +3 -0
- package/dist/shared/{chunk-KXVIWTJN.js → chunk-7XTKGW6E.js} +1 -1
- package/dist/shared/chunk-ANZZVPQC.js +22 -0
- package/dist/shared/{chunk-PXAK7ZJ3.js → chunk-BNKXJJ2R.js} +1 -1
- package/dist/shared/chunk-EIODRGFP.js +5 -0
- package/dist/shared/chunk-FHJRL7LV.js +9 -0
- package/dist/shared/chunk-FKUGABKJ.js +11 -0
- package/dist/shared/chunk-FM2MSU7Z.js +6 -0
- package/dist/shared/chunk-FNCNEYJX.js +8 -0
- package/dist/shared/chunk-GNZYWNA4.js +3 -0
- package/dist/shared/chunk-GOUUN46E.js +7 -0
- package/dist/shared/chunk-HL7WRX6G.js +7 -0
- package/dist/shared/chunk-HMQPELFK.js +3 -0
- package/dist/shared/chunk-HUNU6HSF.js +8 -0
- package/dist/shared/chunk-IEB7RHDF.js +3 -0
- package/dist/shared/chunk-K4NJQWFB.js +3 -0
- package/dist/shared/chunk-KGZMWRZS.js +3 -0
- package/dist/shared/chunk-M4CXYZTI.js +3 -0
- package/dist/shared/{chunk-A3ACTIE3.js → chunk-NNVPTAAH.js} +1 -1
- package/dist/shared/chunk-O3JLMHK3.js +3 -0
- package/dist/shared/chunk-OMOYRWNX.js +8 -0
- package/dist/shared/chunk-PSSJMWGU.js +3 -0
- package/dist/shared/chunk-PUPVTFFY.js +3 -0
- package/dist/shared/chunk-R7HRU3T4.js +3 -0
- package/dist/shared/chunk-RGKPN4LE.js +3 -0
- package/dist/shared/chunk-RQT64JJW.js +9 -0
- package/dist/shared/chunk-VYNIBP33.js +7 -0
- package/dist/shared/chunk-WNS3A3LT.js +7 -0
- package/dist/shared/{chunk-XGI243DO.js → chunk-WXKRIUTA.js} +1 -1
- package/dist/shared/chunk-X3JYHXIE.js +6 -0
- package/dist/shared/chunk-X3LVSMNF.js +3 -0
- package/dist/shared/chunk-XIXSVFY6.js +3 -0
- package/dist/shared/chunk-ZWVJMSTT.js +3 -0
- package/dist/shared/datarecords/external/airtable/handler.d.ts +8 -0
- package/dist/shared/datarecords/external/airtable/handler.d.ts.map +1 -0
- package/dist/shared/datarecords/external/airtable/options.d.ts +1 -2
- package/dist/shared/datarecords/external/airtable/options.d.ts.map +1 -1
- package/dist/shared/datarecords/external/generic-webhook/handler.d.ts +3 -0
- package/dist/shared/datarecords/external/generic-webhook/handler.d.ts.map +1 -0
- package/dist/shared/datarecords/external/generic-webhook/options.d.ts.map +1 -1
- package/dist/shared/datarecords/external/google/oauth/config.js +1 -1
- package/dist/shared/datarecords/external/google/sheets/handler.d.ts +8 -0
- package/dist/shared/datarecords/external/google/sheets/handler.d.ts.map +1 -0
- package/dist/shared/datarecords/types.d.ts +2 -4
- package/dist/shared/datarecords/types.d.ts.map +1 -1
- package/dist/shared/datarecords/types.js +2 -2
- package/dist/shared/datarecords.js +1 -1
- package/dist/shared/datasources/external/meta/oauth/config.js +2 -2
- package/dist/shared/datasources/external/tiktok/oauth/config.js +2 -2
- package/dist/shared/datasources/external/youtube/oauth/config.js +2 -2
- package/dist/shared/datasources/internal/job-board/schema.d.ts +87 -0
- package/dist/shared/datasources/internal/job-board/schema.d.ts.map +1 -0
- package/dist/shared/datasources/schemas.js +2 -2
- package/dist/shared/datasources/types.js +2 -2
- package/dist/shared/datasources.js +1 -1
- package/dist/shared/env.js +1 -1
- package/dist/shared/errors.js +1 -1
- package/dist/shared/layout-constants.js +2 -2
- package/dist/shared/oauth.js +2 -2
- package/dist/shared/page.d.ts +240 -797
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +2 -2
- package/dist/shared/responsive.js +1 -1
- package/dist/shared/tests/test-config.d.ts.map +1 -1
- package/dist/shared/theme.d.ts +48 -28
- package/dist/shared/theme.d.ts.map +1 -1
- package/dist/shared/theme.js +2 -2
- package/dist/shared/themes/all-themes.d.ts.map +1 -1
- package/dist/shared/themes/all-themes.js +2 -2
- package/dist/shared/themes/color-system.d.ts +3 -5
- package/dist/shared/themes/color-system.d.ts.map +1 -1
- package/dist/shared/themes/color-system.js +2 -2
- package/dist/shared/utils/canvas-data-uri.d.ts +2 -0
- package/dist/shared/utils/canvas-data-uri.d.ts.map +1 -0
- package/dist/shared/utils/invariant.js +2 -2
- package/dist/shared/utils/merge.d.ts +2 -0
- package/dist/shared/utils/merge.d.ts.map +1 -0
- package/dist/shared/utils/merge.js +3 -0
- package/dist/shared/utils/object-hash.d.ts +2 -0
- package/dist/shared/utils/object-hash.d.ts.map +1 -0
- package/dist/shared/utils/try-catch.d.ts +7 -0
- package/dist/shared/utils/try-catch.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/shared/bricks/manifests/loop.manifest.d.ts +0 -93
- package/dist/shared/bricks/manifests/loop.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/loop.manifest.js +0 -3
- package/dist/shared/bricks/props/style-props.d.ts +0 -52
- package/dist/shared/bricks/props/style-props.d.ts.map +0 -1
- package/dist/shared/bricks/props/style-props.js +0 -3
- package/dist/shared/chunk-2CWDNNLG.js +0 -22
- package/dist/shared/chunk-4H4VCOKB.js +0 -3
- package/dist/shared/chunk-5SAUZF4N.js +0 -32
- package/dist/shared/chunk-6M2JPD36.js +0 -13
- package/dist/shared/chunk-6PCNIIO5.js +0 -3
- package/dist/shared/chunk-7GCPTZVT.js +0 -3
- package/dist/shared/chunk-A66YBEIK.js +0 -16
- package/dist/shared/chunk-BIEJRPKG.js +0 -16
- package/dist/shared/chunk-FSUHIMOU.js +0 -20
- package/dist/shared/chunk-GCZ4WSX2.js +0 -3
- package/dist/shared/chunk-GEODA2ON.js +0 -11
- package/dist/shared/chunk-HMO5CIER.js +0 -14
- package/dist/shared/chunk-J45DOHTX.js +0 -16
- package/dist/shared/chunk-JSOZWQRQ.js +0 -3
- package/dist/shared/chunk-LR6R5QDM.js +0 -7
- package/dist/shared/chunk-LRO2KHWL.js +0 -11
- package/dist/shared/chunk-MXONIPYM.js +0 -13
- package/dist/shared/chunk-POE5KCOE.js +0 -9
- package/dist/shared/chunk-PUHGH25O.js +0 -3
- package/dist/shared/chunk-RAFOQXXX.js +0 -8
- package/dist/shared/chunk-SN3PMMZ2.js +0 -15
- package/dist/shared/chunk-TPVKGTAK.js +0 -3
- package/dist/shared/chunk-VGBLZSS6.js +0 -9
- package/dist/shared/chunk-Z4THNQZ7.js +0 -20
|
@@ -1,89 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
props: import("@sinclair/typebox").TObject<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}>;
|
|
8
|
-
className: import("@sinclair/typebox").TString;
|
|
9
|
-
lastTouched: import("@sinclair/typebox").TNumber;
|
|
10
|
-
editable: import("@sinclair/typebox").TBoolean;
|
|
11
|
-
container: import("@sinclair/typebox").TBoolean;
|
|
12
|
-
}>;
|
|
13
|
-
datarecord?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
|
|
14
|
-
datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
|
|
15
|
-
type: import("@sinclair/typebox").TLiteral<"form">;
|
|
16
|
-
kind: import("@sinclair/typebox").TLiteral<string>;
|
|
17
|
-
title: import("@sinclair/typebox").TLiteral<"Form">;
|
|
18
|
-
description: import("@sinclair/typebox").TLiteral<"A form element">;
|
|
19
|
-
icon: import("@sinclair/typebox").TLiteral<"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Main container -->\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"></rect>\n\n <!-- Two input boxes -->\n <rect x=\"6\" y=\"6\" width=\"12\" height=\"3\" rx=\"1\"></rect>\n <rect x=\"6\" y=\"11\" width=\"12\" height=\"3\" rx=\"1\"></rect>\n\n <!-- Right-aligned button -->\n <rect x=\"12\" y=\"17\" width=\"6\" height=\"2\" rx=\"1\"\n fill=\"currentColor\"\n ></rect>\n</svg>\n ">;
|
|
20
|
-
hideInLibrary: import("@sinclair/typebox").TBoolean;
|
|
21
|
-
preferredWidth: import("@sinclair/typebox").TObject<{
|
|
22
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
23
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
24
|
-
}>;
|
|
25
|
-
preferredHeight: import("@sinclair/typebox").TObject<{
|
|
26
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
27
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
28
|
-
}>;
|
|
29
|
-
minWidth: import("@sinclair/typebox").TObject<{
|
|
30
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
31
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
1
|
+
export declare const manifest: {
|
|
2
|
+
readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
|
|
3
|
+
readonly props: import("@sinclair/typebox").TObject<{
|
|
4
|
+
className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
+
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
|
+
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32
7
|
}>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
8
|
+
readonly presets: Record<string, {
|
|
9
|
+
label: string;
|
|
10
|
+
previewClasses: string;
|
|
11
|
+
props: Partial<{
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
lastTouched?: number | undefined;
|
|
14
|
+
editable?: boolean | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
readonly kind: "container" | "brick" | "widget";
|
|
18
|
+
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
19
|
+
readonly hideInLibrary: boolean;
|
|
20
|
+
readonly deletable: boolean;
|
|
21
|
+
readonly movable: boolean;
|
|
22
|
+
readonly resizable: boolean;
|
|
23
|
+
readonly repeatable: boolean;
|
|
24
|
+
readonly duplicatable: boolean;
|
|
25
|
+
readonly isContainer: boolean;
|
|
26
|
+
readonly defaultWidth: {
|
|
48
27
|
mobile: number;
|
|
49
28
|
desktop: number;
|
|
50
29
|
};
|
|
51
|
-
|
|
30
|
+
readonly defaultHeight: {
|
|
52
31
|
mobile: number;
|
|
53
32
|
desktop: number;
|
|
54
33
|
};
|
|
55
|
-
minWidth: {
|
|
34
|
+
readonly minWidth: {
|
|
56
35
|
mobile: number;
|
|
57
36
|
desktop: number;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
kind: string;
|
|
61
|
-
preferredWidth: {
|
|
37
|
+
} | undefined;
|
|
38
|
+
readonly minHeight: {
|
|
62
39
|
mobile: number;
|
|
63
40
|
desktop: number;
|
|
64
|
-
};
|
|
65
|
-
|
|
41
|
+
} | undefined;
|
|
42
|
+
readonly type: string;
|
|
43
|
+
readonly name: string;
|
|
44
|
+
readonly icon: string;
|
|
45
|
+
readonly description?: string;
|
|
46
|
+
readonly maxWidth?: {
|
|
66
47
|
mobile: number;
|
|
67
48
|
desktop: number;
|
|
68
49
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
richText: boolean;
|
|
73
|
-
};
|
|
74
|
-
container: boolean;
|
|
75
|
-
className: string;
|
|
76
|
-
lastTouched: number;
|
|
77
|
-
editable: boolean;
|
|
78
|
-
};
|
|
79
|
-
datasource: {
|
|
80
|
-
[x: string]: unknown;
|
|
81
|
-
[x: number]: unknown;
|
|
82
|
-
};
|
|
83
|
-
datarecord: {
|
|
84
|
-
[x: string]: unknown;
|
|
85
|
-
[x: number]: unknown;
|
|
50
|
+
readonly maxHeight?: {
|
|
51
|
+
mobile: number;
|
|
52
|
+
desktop: number;
|
|
86
53
|
};
|
|
87
|
-
hideInLibrary: boolean;
|
|
88
54
|
};
|
|
55
|
+
export type Manifest = typeof manifest;
|
|
89
56
|
//# sourceMappingURL=form.manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/form.manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/form.manifest.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a
|
|
3
|
+
import{a}from"../../chunk-RQT64JJW.js";import"../../chunk-GNZYWNA4.js";import"../../chunk-XIXSVFY6.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};
|
|
@@ -1,113 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
props: import("@sinclair/typebox").TObject<{
|
|
4
|
-
className: import("@sinclair/typebox").TString
|
|
5
|
-
lastTouched: import("@sinclair/typebox").TNumber
|
|
6
|
-
editable: import("@sinclair/typebox").TBoolean
|
|
7
|
-
|
|
8
|
-
effects: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
9
|
-
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
10
|
-
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
11
|
-
}>>;
|
|
12
|
-
dimensions: import("@sinclair/typebox").TObject<{
|
|
13
|
-
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"fixed">, import("@sinclair/typebox").TLiteral<"auto">]>>;
|
|
14
|
-
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>>;
|
|
15
|
-
}>;
|
|
16
|
-
borders: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
17
|
-
radius: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
18
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
19
|
-
color: import("@sinclair/typebox").TString;
|
|
20
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
21
|
-
}>>;
|
|
1
|
+
export declare const manifest: {
|
|
2
|
+
readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
|
|
3
|
+
readonly props: import("@sinclair/typebox").TObject<{
|
|
4
|
+
className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
+
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
|
+
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
|
+
} & {
|
|
22
8
|
render: import("@sinclair/typebox").TFunction<[import("@sinclair/typebox").TObject<{}>], import("@sinclair/typebox").TAny>;
|
|
23
9
|
componentProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
|
|
24
10
|
}>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
47
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
48
|
-
}>;
|
|
49
|
-
minHeight: import("@sinclair/typebox").TObject<{
|
|
50
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
51
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
52
|
-
}>;
|
|
53
|
-
}>;
|
|
54
|
-
export type Manifest = Static<typeof manifest>;
|
|
55
|
-
export declare const defaults: {
|
|
56
|
-
description: "A generic component";
|
|
57
|
-
title: "Generic component";
|
|
58
|
-
type: "generic-component";
|
|
59
|
-
maxWidth: {
|
|
11
|
+
readonly presets: Record<string, {
|
|
12
|
+
label: string;
|
|
13
|
+
previewClasses: string;
|
|
14
|
+
props: Partial<{
|
|
15
|
+
className?: string | undefined;
|
|
16
|
+
lastTouched?: number | undefined;
|
|
17
|
+
editable?: boolean | undefined;
|
|
18
|
+
componentProps?: {} | undefined;
|
|
19
|
+
render: (param_0: {}) => any;
|
|
20
|
+
}>;
|
|
21
|
+
}> | undefined;
|
|
22
|
+
readonly kind: "container" | "brick" | "widget";
|
|
23
|
+
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
24
|
+
readonly hideInLibrary: boolean;
|
|
25
|
+
readonly deletable: boolean;
|
|
26
|
+
readonly movable: boolean;
|
|
27
|
+
readonly resizable: boolean;
|
|
28
|
+
readonly repeatable: boolean;
|
|
29
|
+
readonly duplicatable: boolean;
|
|
30
|
+
readonly isContainer: boolean;
|
|
31
|
+
readonly defaultWidth: {
|
|
60
32
|
mobile: number;
|
|
61
33
|
desktop: number;
|
|
62
34
|
};
|
|
63
|
-
|
|
35
|
+
readonly defaultHeight: {
|
|
64
36
|
mobile: number;
|
|
65
37
|
desktop: number;
|
|
66
38
|
};
|
|
67
|
-
minWidth: {
|
|
39
|
+
readonly minWidth: {
|
|
68
40
|
mobile: number;
|
|
69
41
|
desktop: number;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
kind: string;
|
|
73
|
-
preferredWidth: {
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly minHeight: {
|
|
74
44
|
mobile: number;
|
|
75
45
|
desktop: number;
|
|
76
|
-
};
|
|
77
|
-
|
|
46
|
+
} | undefined;
|
|
47
|
+
readonly type: string;
|
|
48
|
+
readonly name: string;
|
|
49
|
+
readonly icon: string;
|
|
50
|
+
readonly description?: string;
|
|
51
|
+
readonly maxWidth?: {
|
|
78
52
|
mobile: number;
|
|
79
53
|
desktop: number;
|
|
80
54
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
shadow: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl";
|
|
85
|
-
} | undefined;
|
|
86
|
-
borders?: {
|
|
87
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
88
|
-
color: string;
|
|
89
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
90
|
-
radius: "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-full";
|
|
91
|
-
} | undefined;
|
|
92
|
-
componentProps?: {} | undefined;
|
|
93
|
-
backgroundColor: string;
|
|
94
|
-
className: string;
|
|
95
|
-
lastTouched: number;
|
|
96
|
-
editable: boolean;
|
|
97
|
-
dimensions: {
|
|
98
|
-
height?: "fixed" | "auto" | undefined;
|
|
99
|
-
padding?: "p-0" | "p-2" | "p-4" | "p-8" | "p-16" | undefined;
|
|
100
|
-
};
|
|
101
|
-
render: (param_0: {}) => any;
|
|
102
|
-
};
|
|
103
|
-
datasource: {
|
|
104
|
-
[x: string]: unknown;
|
|
105
|
-
[x: number]: unknown;
|
|
106
|
-
};
|
|
107
|
-
datarecord: {
|
|
108
|
-
[x: string]: unknown;
|
|
109
|
-
[x: number]: unknown;
|
|
55
|
+
readonly maxHeight?: {
|
|
56
|
+
mobile: number;
|
|
57
|
+
desktop: number;
|
|
110
58
|
};
|
|
111
|
-
hideInLibrary: boolean;
|
|
112
59
|
};
|
|
60
|
+
export type Manifest = typeof manifest;
|
|
113
61
|
//# sourceMappingURL=generic-component.manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-component.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/generic-component.manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generic-component.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/generic-component.manifest.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a
|
|
3
|
+
import{a}from"../../chunk-OMOYRWNX.js";import"../../chunk-GNZYWNA4.js";import"../../chunk-XIXSVFY6.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};
|
|
@@ -1,87 +1,160 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export declare const datasource: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
2
|
+
href: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
3
|
+
label: import("@sinclair/typebox").TString;
|
|
4
|
+
}>>;
|
|
5
|
+
export declare const manifest: {
|
|
6
|
+
readonly datasource: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
7
|
+
href: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
8
|
+
label: import("@sinclair/typebox").TString;
|
|
9
|
+
}>>;
|
|
10
|
+
readonly props: import("@sinclair/typebox").TObject<{
|
|
11
|
+
className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
+
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
13
|
+
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
+
} & {
|
|
15
|
+
container: import("@sinclair/typebox").TObject<{
|
|
16
|
+
backgroundColor: import("@sinclair/typebox").TString;
|
|
17
|
+
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
18
|
+
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
19
|
+
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
20
|
+
color: import("@sinclair/typebox").TString;
|
|
21
|
+
side: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
22
|
+
}>>;
|
|
23
|
+
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>>;
|
|
24
|
+
shadow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>>;
|
|
25
|
+
fixedPositioned: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
26
|
+
}>;
|
|
27
|
+
brand: import("@sinclair/typebox").TObject<{
|
|
28
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
|
+
logo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
30
|
+
src: import("@sinclair/typebox").TString;
|
|
31
|
+
alt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
32
|
+
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-none">, import("@sinclair/typebox").TLiteral<"object-contain">, import("@sinclair/typebox").TLiteral<"object-cover">, import("@sinclair/typebox").TLiteral<"object-fill">, import("@sinclair/typebox").TLiteral<"object-scale-down">]>>;
|
|
33
|
+
position: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-top">, import("@sinclair/typebox").TLiteral<"object-center">, import("@sinclair/typebox").TLiteral<"object-bottom">, import("@sinclair/typebox").TLiteral<"object-left">, import("@sinclair/typebox").TLiteral<"object-right">, import("@sinclair/typebox").TLiteral<"object-left-top">, import("@sinclair/typebox").TLiteral<"object-right-top">, import("@sinclair/typebox").TLiteral<"object-left-bottom">, import("@sinclair/typebox").TLiteral<"object-right-bottom">]>>;
|
|
34
|
+
}>>;
|
|
35
|
+
hideText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
36
|
+
color: import("@sinclair/typebox").TString;
|
|
37
|
+
}>;
|
|
38
|
+
navigation: import("@sinclair/typebox").TObject<{
|
|
39
|
+
position: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">]>;
|
|
40
|
+
color: import("@sinclair/typebox").TString;
|
|
41
|
+
items: import("@sinclair/typebox").TObject<{
|
|
42
|
+
isDynamic: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
43
|
+
useExistingDatasource: import("@sinclair/typebox").TBoolean;
|
|
44
|
+
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
45
|
+
id: import("@sinclair/typebox").TString;
|
|
46
|
+
mapping: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
47
|
+
filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
48
|
+
op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"endsWith">]>;
|
|
49
|
+
value: import("@sinclair/typebox").TString;
|
|
50
|
+
}>>>;
|
|
51
|
+
sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>>;
|
|
52
|
+
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
53
|
+
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
54
|
+
}>>;
|
|
55
|
+
}>;
|
|
56
|
+
navItems: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
57
|
+
urlOrPageId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
58
|
+
}>>;
|
|
7
59
|
}>;
|
|
8
|
-
className: import("@sinclair/typebox").TString;
|
|
9
|
-
lastTouched: import("@sinclair/typebox").TNumber;
|
|
10
|
-
editable: import("@sinclair/typebox").TBoolean;
|
|
11
|
-
}>;
|
|
12
|
-
datarecord?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
|
|
13
|
-
datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
|
|
14
|
-
type: import("@sinclair/typebox").TLiteral<"header">;
|
|
15
|
-
kind: import("@sinclair/typebox").TLiteral<string>;
|
|
16
|
-
title: import("@sinclair/typebox").TLiteral<"Header">;
|
|
17
|
-
description: import("@sinclair/typebox").TLiteral<"A header with logo and navigation">;
|
|
18
|
-
icon: import("@sinclair/typebox").TLiteral<"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Main container -->\n <rect x=\"3\" y=\"11\" width=\"18\" height=\"8\" rx=\"2\" ry=\"2\"></rect>\n\n <!-- Logo area (rectangular) -->\n <rect x=\"5\" y=\"13\" width=\"6\" height=\"3\" rx=\"1\"></rect>\n\n <!-- Navigation menu items (right-aligned, horizontal) -->\n <line x1=\"13\" y1=\"14\" x2=\"15\" y2=\"14\"></line>\n <line x1=\"17\" y1=\"14\" x2=\"19\" y2=\"14\"></line>\n</svg>\n ">;
|
|
19
|
-
hideInLibrary: import("@sinclair/typebox").TBoolean;
|
|
20
|
-
preferredWidth: import("@sinclair/typebox").TObject<{
|
|
21
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
22
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
23
|
-
}>;
|
|
24
|
-
preferredHeight: import("@sinclair/typebox").TObject<{
|
|
25
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
26
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
27
|
-
}>;
|
|
28
|
-
minWidth: import("@sinclair/typebox").TObject<{
|
|
29
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
30
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
31
|
-
}>;
|
|
32
|
-
maxWidth: import("@sinclair/typebox").TObject<{
|
|
33
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
34
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
35
|
-
}>;
|
|
36
|
-
minHeight: import("@sinclair/typebox").TObject<{
|
|
37
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
38
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
39
60
|
}>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
61
|
+
readonly presets: Record<string, {
|
|
62
|
+
label: string;
|
|
63
|
+
previewClasses: string;
|
|
64
|
+
props: Partial<{
|
|
65
|
+
className?: string | undefined;
|
|
66
|
+
lastTouched?: number | undefined;
|
|
67
|
+
editable?: boolean | undefined;
|
|
68
|
+
container: {
|
|
69
|
+
border?: {
|
|
70
|
+
side?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
71
|
+
color: string;
|
|
72
|
+
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
73
|
+
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
74
|
+
} | undefined;
|
|
75
|
+
shadow?: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl" | undefined;
|
|
76
|
+
rounding?: "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-full" | undefined;
|
|
77
|
+
fixedPositioned?: boolean | undefined;
|
|
78
|
+
backgroundColor: string;
|
|
79
|
+
};
|
|
80
|
+
brand: {
|
|
81
|
+
name?: string | undefined;
|
|
82
|
+
logo?: {
|
|
83
|
+
position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-left-top" | "object-right-top" | "object-left-bottom" | "object-right-bottom" | undefined;
|
|
84
|
+
alt?: string | undefined;
|
|
85
|
+
fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
|
|
86
|
+
src: string;
|
|
87
|
+
} | undefined;
|
|
88
|
+
hideText?: boolean | undefined;
|
|
89
|
+
color: string;
|
|
90
|
+
};
|
|
91
|
+
navigation: {
|
|
92
|
+
items: {
|
|
93
|
+
datasource?: {
|
|
94
|
+
sort?: {
|
|
95
|
+
[x: string]: "asc" | "desc";
|
|
96
|
+
} | undefined;
|
|
97
|
+
offset?: number | undefined;
|
|
98
|
+
filters?: {
|
|
99
|
+
[x: string]: {
|
|
100
|
+
value: string;
|
|
101
|
+
op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "nin";
|
|
102
|
+
};
|
|
103
|
+
} | undefined;
|
|
104
|
+
limit?: number | undefined;
|
|
105
|
+
id: string;
|
|
106
|
+
mapping: {
|
|
107
|
+
[x: string]: string;
|
|
108
|
+
};
|
|
109
|
+
} | undefined;
|
|
110
|
+
isDynamic?: boolean | undefined;
|
|
111
|
+
useExistingDatasource: boolean;
|
|
112
|
+
};
|
|
113
|
+
color: string;
|
|
114
|
+
position: "left" | "right" | "center";
|
|
115
|
+
navItems: {
|
|
116
|
+
urlOrPageId: string;
|
|
117
|
+
}[];
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
}> | undefined;
|
|
121
|
+
readonly kind: "container" | "brick" | "widget";
|
|
122
|
+
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
123
|
+
readonly hideInLibrary: boolean;
|
|
124
|
+
readonly deletable: boolean;
|
|
125
|
+
readonly movable: boolean;
|
|
126
|
+
readonly resizable: boolean;
|
|
127
|
+
readonly repeatable: boolean;
|
|
128
|
+
readonly duplicatable: boolean;
|
|
129
|
+
readonly isContainer: boolean;
|
|
130
|
+
readonly defaultWidth: {
|
|
47
131
|
mobile: number;
|
|
48
132
|
desktop: number;
|
|
49
133
|
};
|
|
50
|
-
|
|
134
|
+
readonly defaultHeight: {
|
|
51
135
|
mobile: number;
|
|
52
136
|
desktop: number;
|
|
53
137
|
};
|
|
54
|
-
minWidth: {
|
|
138
|
+
readonly minWidth: {
|
|
55
139
|
mobile: number;
|
|
56
140
|
desktop: number;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
kind: string;
|
|
60
|
-
preferredWidth: {
|
|
141
|
+
} | undefined;
|
|
142
|
+
readonly minHeight: {
|
|
61
143
|
mobile: number;
|
|
62
144
|
desktop: number;
|
|
63
|
-
};
|
|
64
|
-
|
|
145
|
+
} | undefined;
|
|
146
|
+
readonly type: string;
|
|
147
|
+
readonly name: string;
|
|
148
|
+
readonly icon: string;
|
|
149
|
+
readonly description?: string;
|
|
150
|
+
readonly maxWidth?: {
|
|
65
151
|
mobile: number;
|
|
66
152
|
desktop: number;
|
|
67
153
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
richText: boolean;
|
|
72
|
-
};
|
|
73
|
-
className: string;
|
|
74
|
-
lastTouched: number;
|
|
75
|
-
editable: boolean;
|
|
76
|
-
};
|
|
77
|
-
datasource: {
|
|
78
|
-
[x: string]: unknown;
|
|
79
|
-
[x: number]: unknown;
|
|
80
|
-
};
|
|
81
|
-
datarecord: {
|
|
82
|
-
[x: string]: unknown;
|
|
83
|
-
[x: number]: unknown;
|
|
154
|
+
readonly maxHeight?: {
|
|
155
|
+
mobile: number;
|
|
156
|
+
desktop: number;
|
|
84
157
|
};
|
|
85
|
-
hideInLibrary: boolean;
|
|
86
158
|
};
|
|
159
|
+
export type Manifest = typeof manifest;
|
|
87
160
|
//# sourceMappingURL=header.manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/header.manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"header.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/header.manifest.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,UAAU;;;GAqBtB,CAAC;AAgFF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-FNCNEYJX.js";import"../../chunk-4EEQT7D6.js";import"../../chunk-346JVEOR.js";import"../../chunk-3EUA65QC.js";import"../../chunk-X3LVSMNF.js";import"../../chunk-PUPVTFFY.js";import"../../chunk-K4NJQWFB.js";import"../../chunk-56QQPQIE.js";import"../../chunk-M4CXYZTI.js";import"../../chunk-IEB7RHDF.js";import"../../chunk-GNZYWNA4.js";import"../../chunk-XIXSVFY6.js";import"../../chunk-PSSJMWGU.js";export{a as datasource,b as manifest};
|