@superblocksteam/library 2.0.3 → 2.0.4
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/{allPaths-CROgh4Wr.js → allPaths-B2t0JFsE.js} +2 -2
- package/dist/{allPaths-CROgh4Wr.js.map → allPaths-B2t0JFsE.js.map} +1 -1
- package/dist/{allPaths-Va1k8Bn4.js → allPaths-Ds8PViwH.js} +2 -2
- package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-Ds8PViwH.js.map} +1 -1
- package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-BwDYmyS1.js} +3 -3
- package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-BwDYmyS1.js.map} +1 -1
- package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-l2CC2ZRN.js} +3 -3
- package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-l2CC2ZRN.js.map} +1 -1
- package/dist/{index-CJuRwhWz.js → index-DV7VPZc1.js} +471 -1115
- package/dist/{index-CJuRwhWz.js.map → index-DV7VPZc1.js.map} +1 -1
- package/dist/index.css +1 -172
- package/dist/index.js +149 -149
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-BsO5Qoxp.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-CTv2UfGL.js} +2 -2
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map} +1 -1
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
- package/dist-types/edit-mode/properties.d.ts +1 -1
- package/dist-types/internal-testing/components/modal.d.ts +1 -3
- package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -1
- package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -1
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -2
- package/dist-types/lib/sb-trigger.d.ts +4 -0
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -4
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +8 -4
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +8 -4
- package/dist-types/lib/triggers/registry.d.ts +14 -6
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +1 -2
- package/dist-types/lib/user-facing/components/page/index.d.ts +0 -3
- package/dist-types/lib/user-facing/components/page/props.d.ts +0 -3
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +9 -12
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +9 -12
- package/dist-types/lib/user-facing/components/table/props.d.ts +9 -12
- package/dist-types/lib/user-facing/components/text/utils.d.ts +1 -2
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -4
- package/dist-types/lib/user-facing/themes/constants.d.ts +2 -7
- package/package.json +4 -3
- package/dist/devtools-consolidated-Ck9KuyGf.js +0 -590
- package/dist/devtools-consolidated-Ck9KuyGf.js.map +0 -1
- package/dist-types/edit-mode/extended-clickable-area.d.ts +0 -8
- package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +0 -5
- package/dist-types/lib/internal-details/lib/devtools/index.d.ts +0 -4
- package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +0 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +0 -57
- package/dist-types/lib/utils/children.d.ts +0 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function serializeStoreData(stores_: Record<string, any>): Record<string, any>;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { Profile, RouteDef } from "@superblocksteam/shared";
|
|
2
|
-
export declare const AppMode: {
|
|
3
|
-
readonly EDIT: "EDIT";
|
|
4
|
-
readonly PUBLISHED: "PUBLISHED";
|
|
5
|
-
readonly PREVIEW: "PREVIEW";
|
|
6
|
-
};
|
|
7
|
-
export type AppMode = (typeof AppMode)[keyof typeof AppMode];
|
|
8
|
-
export type Global = {
|
|
9
|
-
mode?: AppMode;
|
|
10
|
-
user?: User;
|
|
11
|
-
URL?: UrlState;
|
|
12
|
-
groups?: Group[];
|
|
13
|
-
deployedAt?: string;
|
|
14
|
-
createdAt?: string;
|
|
15
|
-
selectedProfileId?: string;
|
|
16
|
-
profiles?: Profiles;
|
|
17
|
-
routes?: {
|
|
18
|
-
[id: string]: RouteDef;
|
|
19
|
-
};
|
|
20
|
-
currentRoute?: {
|
|
21
|
-
routeDef: RouteDef;
|
|
22
|
-
params: Record<string, string>;
|
|
23
|
-
};
|
|
24
|
-
app?: {
|
|
25
|
-
id: string;
|
|
26
|
-
name: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type User = {
|
|
30
|
-
name: string;
|
|
31
|
-
email: string;
|
|
32
|
-
id: string;
|
|
33
|
-
groups: Group[];
|
|
34
|
-
username: string;
|
|
35
|
-
metadata: Record<string, unknown>;
|
|
36
|
-
};
|
|
37
|
-
type Group = {
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
size: number;
|
|
41
|
-
};
|
|
42
|
-
type UrlState = {
|
|
43
|
-
queryParams: Record<string, string>;
|
|
44
|
-
protocol: string;
|
|
45
|
-
host: string;
|
|
46
|
-
hostname: string;
|
|
47
|
-
port: string;
|
|
48
|
-
pathname: string;
|
|
49
|
-
hash: string;
|
|
50
|
-
fullPath: string;
|
|
51
|
-
};
|
|
52
|
-
type Profiles = {
|
|
53
|
-
available: Profile[];
|
|
54
|
-
selected?: Profile;
|
|
55
|
-
default: Profile;
|
|
56
|
-
};
|
|
57
|
-
export {};
|