@xyo-network/react-module 2.61.1 → 2.63.1
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/cjs/ModuleRenderProps.js +3 -0
- package/dist/cjs/ModuleRenderProps.js.map +1 -0
- package/dist/cjs/components/Card/Diviner/Card.js +15 -0
- package/dist/cjs/components/Card/Diviner/Card.js.map +1 -0
- package/dist/cjs/components/Card/Diviner/CardActions.js +10 -0
- package/dist/cjs/components/Card/Diviner/CardActions.js.map +1 -0
- package/dist/cjs/components/Card/Diviner/CardContent.js +12 -0
- package/dist/cjs/components/Card/Diviner/CardContent.js.map +1 -0
- package/dist/cjs/components/Card/Diviner/CardHeader.js +13 -0
- package/dist/cjs/components/Card/Diviner/CardHeader.js.map +1 -0
- package/dist/cjs/components/Card/Diviner/index.js +7 -0
- package/dist/cjs/components/Card/Diviner/index.js.map +1 -0
- package/dist/cjs/components/Card/Module/Card.js +15 -0
- package/dist/cjs/components/Card/Module/Card.js.map +1 -0
- package/dist/cjs/components/Card/Module/CardActions.js +18 -0
- package/dist/cjs/components/Card/Module/CardActions.js.map +1 -0
- package/dist/cjs/components/Card/Module/CardContent.js +12 -0
- package/dist/cjs/components/Card/Module/CardContent.js.map +1 -0
- package/dist/cjs/components/Card/Module/CardHeader.js +23 -0
- package/dist/cjs/components/Card/Module/CardHeader.js.map +1 -0
- package/dist/cjs/components/Card/Module/components/DiscoverDialog.js +17 -0
- package/dist/cjs/components/Card/Module/components/DiscoverDialog.js.map +1 -0
- package/dist/cjs/components/Card/Module/components/index.js +5 -0
- package/dist/cjs/components/Card/Module/components/index.js.map +1 -0
- package/dist/cjs/components/Card/Module/index.js +8 -0
- package/dist/cjs/components/Card/Module/index.js.map +1 -0
- package/dist/cjs/components/Card/index.js +6 -0
- package/dist/cjs/components/Card/index.js.map +1 -0
- package/dist/cjs/components/DetailsBox.js +31 -0
- package/dist/cjs/components/DetailsBox.js.map +1 -0
- package/dist/cjs/components/TableCell.js +14 -0
- package/dist/cjs/components/TableCell.js.map +1 -0
- package/dist/cjs/components/index.js +7 -0
- package/dist/cjs/components/index.js.map +1 -0
- package/dist/cjs/hooks/index.js +5 -0
- package/dist/cjs/hooks/index.js.map +1 -0
- package/dist/cjs/hooks/useRefresh.js +18 -0
- package/dist/cjs/hooks/useRefresh.js.map +1 -0
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/docs.json +20 -20
- package/dist/esm/ModuleRenderProps.js +2 -0
- package/dist/esm/ModuleRenderProps.js.map +1 -0
- package/dist/esm/components/Card/Diviner/Card.js +9 -0
- package/dist/esm/components/Card/Diviner/Card.js.map +1 -0
- package/dist/esm/components/Card/Diviner/CardActions.js +6 -0
- package/dist/esm/components/Card/Diviner/CardActions.js.map +1 -0
- package/dist/esm/components/Card/Diviner/CardContent.js +6 -0
- package/dist/esm/components/Card/Diviner/CardContent.js.map +1 -0
- package/dist/esm/components/Card/Diviner/CardHeader.js +6 -0
- package/dist/esm/components/Card/Diviner/CardHeader.js.map +1 -0
- package/dist/{components/Card/Diviner/index.d.mts → esm/components/Card/Diviner/index.js} +1 -1
- package/dist/esm/components/Card/Diviner/index.js.map +1 -0
- package/dist/esm/components/Card/Module/Card.js +9 -0
- package/dist/esm/components/Card/Module/Card.js.map +1 -0
- package/dist/esm/components/Card/Module/CardActions.js +12 -0
- package/dist/esm/components/Card/Module/CardActions.js.map +1 -0
- package/dist/esm/components/Card/Module/CardContent.js +6 -0
- package/dist/esm/components/Card/Module/CardContent.js.map +1 -0
- package/dist/esm/components/Card/Module/CardHeader.js +15 -0
- package/dist/esm/components/Card/Module/CardHeader.js.map +1 -0
- package/dist/esm/components/Card/Module/components/DiscoverDialog.js +11 -0
- package/dist/esm/components/Card/Module/components/DiscoverDialog.js.map +1 -0
- package/dist/esm/components/Card/Module/components/index.js +2 -0
- package/dist/esm/components/Card/Module/components/index.js.map +1 -0
- package/dist/{components/Card/Module/index.d.mts → esm/components/Card/Module/index.js} +1 -1
- package/dist/esm/components/Card/Module/index.js.map +1 -0
- package/dist/{components/Card/index.d.mts → esm/components/Card/index.js} +1 -1
- package/dist/esm/components/Card/index.js.map +1 -0
- package/dist/esm/components/DetailsBox.js +24 -0
- package/dist/esm/components/DetailsBox.js.map +1 -0
- package/dist/esm/components/TableCell.js +8 -0
- package/dist/esm/components/TableCell.js.map +1 -0
- package/dist/{components/index.d.mts → esm/components/index.js} +1 -1
- package/dist/esm/components/index.js.map +1 -0
- package/dist/esm/hooks/index.js +2 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/useRefresh.js +14 -0
- package/dist/esm/hooks/useRefresh.js.map +1 -0
- package/dist/{index.d.mts → esm/index.js} +1 -1
- package/dist/esm/index.js.map +1 -0
- package/dist/types/ModuleRenderProps.d.ts.map +1 -0
- package/dist/types/components/Card/Diviner/Card.d.ts.map +1 -0
- package/dist/types/components/Card/Diviner/CardActions.d.ts.map +1 -0
- package/dist/types/components/Card/Diviner/CardContent.d.ts.map +1 -0
- package/dist/types/components/Card/Diviner/CardHeader.d.ts.map +1 -0
- package/dist/types/components/Card/Diviner/index.d.ts.map +1 -0
- package/dist/types/components/Card/Module/Card.d.ts.map +1 -0
- package/dist/types/components/Card/Module/CardActions.d.ts.map +1 -0
- package/dist/types/components/Card/Module/CardContent.d.ts.map +1 -0
- package/dist/types/components/Card/Module/CardHeader.d.ts.map +1 -0
- package/dist/types/components/Card/Module/components/DiscoverDialog.d.ts.map +1 -0
- package/dist/types/components/Card/Module/components/index.d.ts.map +1 -0
- package/dist/types/components/Card/Module/index.d.ts.map +1 -0
- package/dist/types/components/Card/index.d.ts.map +1 -0
- package/dist/types/components/DetailsBox.d.ts.map +1 -0
- package/dist/types/components/TableCell.d.ts.map +1 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/useRefresh.d.ts.map +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +27 -35
- package/dist/ModuleRenderProps.d.mts +0 -7
- package/dist/ModuleRenderProps.d.mts.map +0 -1
- package/dist/ModuleRenderProps.d.ts.map +0 -1
- package/dist/components/Card/Diviner/Card.d.mts +0 -6
- package/dist/components/Card/Diviner/Card.d.mts.map +0 -1
- package/dist/components/Card/Diviner/Card.d.ts.map +0 -1
- package/dist/components/Card/Diviner/Card.stories.d.mts +0 -105
- package/dist/components/Card/Diviner/Card.stories.d.mts.map +0 -1
- package/dist/components/Card/Diviner/Card.stories.d.ts +0 -105
- package/dist/components/Card/Diviner/Card.stories.d.ts.map +0 -1
- package/dist/components/Card/Diviner/CardActions.d.mts +0 -6
- package/dist/components/Card/Diviner/CardActions.d.mts.map +0 -1
- package/dist/components/Card/Diviner/CardActions.d.ts.map +0 -1
- package/dist/components/Card/Diviner/CardContent.d.mts +0 -6
- package/dist/components/Card/Diviner/CardContent.d.mts.map +0 -1
- package/dist/components/Card/Diviner/CardContent.d.ts.map +0 -1
- package/dist/components/Card/Diviner/CardHeader.d.mts +0 -6
- package/dist/components/Card/Diviner/CardHeader.d.mts.map +0 -1
- package/dist/components/Card/Diviner/CardHeader.d.ts.map +0 -1
- package/dist/components/Card/Diviner/index.d.mts.map +0 -1
- package/dist/components/Card/Diviner/index.d.ts.map +0 -1
- package/dist/components/Card/Module/Card.d.mts +0 -5
- package/dist/components/Card/Module/Card.d.mts.map +0 -1
- package/dist/components/Card/Module/Card.d.ts.map +0 -1
- package/dist/components/Card/Module/Card.stories.d.mts +0 -100
- package/dist/components/Card/Module/Card.stories.d.mts.map +0 -1
- package/dist/components/Card/Module/Card.stories.d.ts +0 -100
- package/dist/components/Card/Module/Card.stories.d.ts.map +0 -1
- package/dist/components/Card/Module/CardActions.d.mts +0 -5
- package/dist/components/Card/Module/CardActions.d.mts.map +0 -1
- package/dist/components/Card/Module/CardActions.d.ts.map +0 -1
- package/dist/components/Card/Module/CardContent.d.mts +0 -5
- package/dist/components/Card/Module/CardContent.d.mts.map +0 -1
- package/dist/components/Card/Module/CardContent.d.ts.map +0 -1
- package/dist/components/Card/Module/CardHeader.d.mts +0 -5
- package/dist/components/Card/Module/CardHeader.d.mts.map +0 -1
- package/dist/components/Card/Module/CardHeader.d.ts.map +0 -1
- package/dist/components/Card/Module/components/DiscoverDialog.d.mts +0 -9
- package/dist/components/Card/Module/components/DiscoverDialog.d.mts.map +0 -1
- package/dist/components/Card/Module/components/DiscoverDialog.d.ts.map +0 -1
- package/dist/components/Card/Module/components/index.d.mts +0 -2
- package/dist/components/Card/Module/components/index.d.mts.map +0 -1
- package/dist/components/Card/Module/components/index.d.ts.map +0 -1
- package/dist/components/Card/Module/index.d.mts.map +0 -1
- package/dist/components/Card/Module/index.d.ts.map +0 -1
- package/dist/components/Card/index.d.mts.map +0 -1
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/DetailsBox.d.mts +0 -5
- package/dist/components/DetailsBox.d.mts.map +0 -1
- package/dist/components/DetailsBox.d.ts.map +0 -1
- package/dist/components/DetailsBox.stories.d.mts +0 -179
- package/dist/components/DetailsBox.stories.d.mts.map +0 -1
- package/dist/components/DetailsBox.stories.d.ts +0 -179
- package/dist/components/DetailsBox.stories.d.ts.map +0 -1
- package/dist/components/TableCell.d.mts +0 -5
- package/dist/components/TableCell.d.mts.map +0 -1
- package/dist/components/TableCell.d.ts.map +0 -1
- package/dist/components/index.d.mts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/hooks/index.d.mts +0 -2
- package/dist/hooks/index.d.mts.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useRefresh.d.mts +0 -4
- package/dist/hooks/useRefresh.d.mts.map +0 -1
- package/dist/hooks/useRefresh.d.ts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -214
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -178
- package/dist/index.mjs.map +0 -1
- /package/dist/{ModuleRenderProps.d.ts → types/ModuleRenderProps.d.ts} +0 -0
- /package/dist/{components → types/components}/Card/Diviner/Card.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Diviner/CardActions.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Diviner/CardContent.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Diviner/CardHeader.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Diviner/index.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/Card.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/CardActions.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/CardContent.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/CardHeader.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/components/DiscoverDialog.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/components/index.d.ts +0 -0
- /package/dist/{components → types/components}/Card/Module/index.d.ts +0 -0
- /package/dist/{components → types/components}/Card/index.d.ts +0 -0
- /package/dist/{components → types/components}/DetailsBox.d.ts +0 -0
- /package/dist/{components → types/components}/TableCell.d.ts +0 -0
- /package/dist/{components → types/components}/index.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/index.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/useRefresh.d.ts +0 -0
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
2
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
3
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
4
|
-
accountDerivationPath?: string | undefined;
|
|
5
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
6
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
7
|
-
readonly name?: string | undefined;
|
|
8
|
-
readonly paging?: Record<string, {
|
|
9
|
-
size?: number | undefined;
|
|
10
|
-
}> | undefined;
|
|
11
|
-
readonly security?: {
|
|
12
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
readonly sign?: boolean | undefined;
|
|
17
|
-
readonly storeQueries?: boolean | undefined;
|
|
18
|
-
readonly timestamp?: boolean | undefined;
|
|
19
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
20
|
-
accountDerivationPath?: string | undefined;
|
|
21
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
22
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
23
|
-
readonly name?: string | undefined;
|
|
24
|
-
readonly paging?: Record<string, {
|
|
25
|
-
size?: number | undefined;
|
|
26
|
-
}> | undefined;
|
|
27
|
-
readonly security?: {
|
|
28
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
29
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
30
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
31
|
-
} | undefined;
|
|
32
|
-
readonly sign?: boolean | undefined;
|
|
33
|
-
readonly storeQueries?: boolean | undefined;
|
|
34
|
-
readonly timestamp?: boolean | undefined;
|
|
35
|
-
} & {
|
|
36
|
-
schema: "network.xyo.module.config";
|
|
37
|
-
}, "schema"> & {
|
|
38
|
-
schema: string;
|
|
39
|
-
}, "schema"> & {
|
|
40
|
-
schema: string;
|
|
41
|
-
};
|
|
42
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
44
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
45
|
-
declare const NodeDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
46
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
47
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
48
|
-
accountDerivationPath?: string | undefined;
|
|
49
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
50
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
51
|
-
readonly name?: string | undefined;
|
|
52
|
-
readonly paging?: Record<string, {
|
|
53
|
-
size?: number | undefined;
|
|
54
|
-
}> | undefined;
|
|
55
|
-
readonly security?: {
|
|
56
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
57
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
58
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
readonly sign?: boolean | undefined;
|
|
61
|
-
readonly storeQueries?: boolean | undefined;
|
|
62
|
-
readonly timestamp?: boolean | undefined;
|
|
63
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
64
|
-
accountDerivationPath?: string | undefined;
|
|
65
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly security?: {
|
|
72
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
73
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
74
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly sign?: boolean | undefined;
|
|
77
|
-
readonly storeQueries?: boolean | undefined;
|
|
78
|
-
readonly timestamp?: boolean | undefined;
|
|
79
|
-
} & {
|
|
80
|
-
schema: "network.xyo.module.config";
|
|
81
|
-
}, "schema"> & {
|
|
82
|
-
schema: string;
|
|
83
|
-
}, "schema"> & {
|
|
84
|
-
schema: string;
|
|
85
|
-
};
|
|
86
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
87
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
88
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
89
|
-
declare const ArchivistDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
90
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
91
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
92
|
-
accountDerivationPath?: string | undefined;
|
|
93
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
94
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
95
|
-
readonly name?: string | undefined;
|
|
96
|
-
readonly paging?: Record<string, {
|
|
97
|
-
size?: number | undefined;
|
|
98
|
-
}> | undefined;
|
|
99
|
-
readonly security?: {
|
|
100
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
101
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
102
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
103
|
-
} | undefined;
|
|
104
|
-
readonly sign?: boolean | undefined;
|
|
105
|
-
readonly storeQueries?: boolean | undefined;
|
|
106
|
-
readonly timestamp?: boolean | undefined;
|
|
107
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
108
|
-
accountDerivationPath?: string | undefined;
|
|
109
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
110
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
111
|
-
readonly name?: string | undefined;
|
|
112
|
-
readonly paging?: Record<string, {
|
|
113
|
-
size?: number | undefined;
|
|
114
|
-
}> | undefined;
|
|
115
|
-
readonly security?: {
|
|
116
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
117
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
118
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
119
|
-
} | undefined;
|
|
120
|
-
readonly sign?: boolean | undefined;
|
|
121
|
-
readonly storeQueries?: boolean | undefined;
|
|
122
|
-
readonly timestamp?: boolean | undefined;
|
|
123
|
-
} & {
|
|
124
|
-
schema: "network.xyo.module.config";
|
|
125
|
-
}, "schema"> & {
|
|
126
|
-
schema: string;
|
|
127
|
-
}, "schema"> & {
|
|
128
|
-
schema: string;
|
|
129
|
-
};
|
|
130
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
131
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
132
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
133
|
-
declare const DivinerDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
134
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
135
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
136
|
-
accountDerivationPath?: string | undefined;
|
|
137
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
138
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
139
|
-
readonly name?: string | undefined;
|
|
140
|
-
readonly paging?: Record<string, {
|
|
141
|
-
size?: number | undefined;
|
|
142
|
-
}> | undefined;
|
|
143
|
-
readonly security?: {
|
|
144
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
145
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
146
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
147
|
-
} | undefined;
|
|
148
|
-
readonly sign?: boolean | undefined;
|
|
149
|
-
readonly storeQueries?: boolean | undefined;
|
|
150
|
-
readonly timestamp?: boolean | undefined;
|
|
151
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
152
|
-
accountDerivationPath?: string | undefined;
|
|
153
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
154
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
155
|
-
readonly name?: string | undefined;
|
|
156
|
-
readonly paging?: Record<string, {
|
|
157
|
-
size?: number | undefined;
|
|
158
|
-
}> | undefined;
|
|
159
|
-
readonly security?: {
|
|
160
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
readonly sign?: boolean | undefined;
|
|
165
|
-
readonly storeQueries?: boolean | undefined;
|
|
166
|
-
readonly timestamp?: boolean | undefined;
|
|
167
|
-
} & {
|
|
168
|
-
schema: "network.xyo.module.config";
|
|
169
|
-
}, "schema"> & {
|
|
170
|
-
schema: string;
|
|
171
|
-
}, "schema"> & {
|
|
172
|
-
schema: string;
|
|
173
|
-
};
|
|
174
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
175
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
176
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
177
|
-
export { ArchivistDetails, DivinerDetails, NodeDetails };
|
|
178
|
-
export default StorybookEntry;
|
|
179
|
-
//# sourceMappingURL=DetailsBox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsBox.stories.d.ts","sourceRoot":"","sources":["../../src/components/DetailsBox.stories.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHASc,CAAA;AAqBlC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAAwB,CAAA;AAsBzC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAA6B,CAAA;AAsBnD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAA2B,CAAA;AAG/C,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA;AAGxD,eAAe,cAAc,CAAA"}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
2
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
3
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
4
|
-
accountDerivationPath?: string | undefined;
|
|
5
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
6
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
7
|
-
readonly name?: string | undefined;
|
|
8
|
-
readonly paging?: Record<string, {
|
|
9
|
-
size?: number | undefined;
|
|
10
|
-
}> | undefined;
|
|
11
|
-
readonly security?: {
|
|
12
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
readonly sign?: boolean | undefined;
|
|
17
|
-
readonly storeQueries?: boolean | undefined;
|
|
18
|
-
readonly timestamp?: boolean | undefined;
|
|
19
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
20
|
-
accountDerivationPath?: string | undefined;
|
|
21
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
22
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
23
|
-
readonly name?: string | undefined;
|
|
24
|
-
readonly paging?: Record<string, {
|
|
25
|
-
size?: number | undefined;
|
|
26
|
-
}> | undefined;
|
|
27
|
-
readonly security?: {
|
|
28
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
29
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
30
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
31
|
-
} | undefined;
|
|
32
|
-
readonly sign?: boolean | undefined;
|
|
33
|
-
readonly storeQueries?: boolean | undefined;
|
|
34
|
-
readonly timestamp?: boolean | undefined;
|
|
35
|
-
} & {
|
|
36
|
-
schema: "network.xyo.module.config";
|
|
37
|
-
}, "schema"> & {
|
|
38
|
-
schema: string;
|
|
39
|
-
}, "schema"> & {
|
|
40
|
-
schema: string;
|
|
41
|
-
};
|
|
42
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
44
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
45
|
-
declare const NodeDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
46
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
47
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
48
|
-
accountDerivationPath?: string | undefined;
|
|
49
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
50
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
51
|
-
readonly name?: string | undefined;
|
|
52
|
-
readonly paging?: Record<string, {
|
|
53
|
-
size?: number | undefined;
|
|
54
|
-
}> | undefined;
|
|
55
|
-
readonly security?: {
|
|
56
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
57
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
58
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
readonly sign?: boolean | undefined;
|
|
61
|
-
readonly storeQueries?: boolean | undefined;
|
|
62
|
-
readonly timestamp?: boolean | undefined;
|
|
63
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
64
|
-
accountDerivationPath?: string | undefined;
|
|
65
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly security?: {
|
|
72
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
73
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
74
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly sign?: boolean | undefined;
|
|
77
|
-
readonly storeQueries?: boolean | undefined;
|
|
78
|
-
readonly timestamp?: boolean | undefined;
|
|
79
|
-
} & {
|
|
80
|
-
schema: "network.xyo.module.config";
|
|
81
|
-
}, "schema"> & {
|
|
82
|
-
schema: string;
|
|
83
|
-
}, "schema"> & {
|
|
84
|
-
schema: string;
|
|
85
|
-
};
|
|
86
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
87
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
88
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
89
|
-
declare const ArchivistDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
90
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
91
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
92
|
-
accountDerivationPath?: string | undefined;
|
|
93
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
94
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
95
|
-
readonly name?: string | undefined;
|
|
96
|
-
readonly paging?: Record<string, {
|
|
97
|
-
size?: number | undefined;
|
|
98
|
-
}> | undefined;
|
|
99
|
-
readonly security?: {
|
|
100
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
101
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
102
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
103
|
-
} | undefined;
|
|
104
|
-
readonly sign?: boolean | undefined;
|
|
105
|
-
readonly storeQueries?: boolean | undefined;
|
|
106
|
-
readonly timestamp?: boolean | undefined;
|
|
107
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
108
|
-
accountDerivationPath?: string | undefined;
|
|
109
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
110
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
111
|
-
readonly name?: string | undefined;
|
|
112
|
-
readonly paging?: Record<string, {
|
|
113
|
-
size?: number | undefined;
|
|
114
|
-
}> | undefined;
|
|
115
|
-
readonly security?: {
|
|
116
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
117
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
118
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
119
|
-
} | undefined;
|
|
120
|
-
readonly sign?: boolean | undefined;
|
|
121
|
-
readonly storeQueries?: boolean | undefined;
|
|
122
|
-
readonly timestamp?: boolean | undefined;
|
|
123
|
-
} & {
|
|
124
|
-
schema: "network.xyo.module.config";
|
|
125
|
-
}, "schema"> & {
|
|
126
|
-
schema: string;
|
|
127
|
-
}, "schema"> & {
|
|
128
|
-
schema: string;
|
|
129
|
-
};
|
|
130
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
131
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
132
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
133
|
-
declare const DivinerDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").ModuleRenderProps<import("@xyo-network/module-model").ModuleInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
134
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
135
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
136
|
-
accountDerivationPath?: string | undefined;
|
|
137
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
138
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
139
|
-
readonly name?: string | undefined;
|
|
140
|
-
readonly paging?: Record<string, {
|
|
141
|
-
size?: number | undefined;
|
|
142
|
-
}> | undefined;
|
|
143
|
-
readonly security?: {
|
|
144
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
145
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
146
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
147
|
-
} | undefined;
|
|
148
|
-
readonly sign?: boolean | undefined;
|
|
149
|
-
readonly storeQueries?: boolean | undefined;
|
|
150
|
-
readonly timestamp?: boolean | undefined;
|
|
151
|
-
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
152
|
-
accountDerivationPath?: string | undefined;
|
|
153
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
154
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
155
|
-
readonly name?: string | undefined;
|
|
156
|
-
readonly paging?: Record<string, {
|
|
157
|
-
size?: number | undefined;
|
|
158
|
-
}> | undefined;
|
|
159
|
-
readonly security?: {
|
|
160
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
readonly sign?: boolean | undefined;
|
|
165
|
-
readonly storeQueries?: boolean | undefined;
|
|
166
|
-
readonly timestamp?: boolean | undefined;
|
|
167
|
-
} & {
|
|
168
|
-
schema: "network.xyo.module.config";
|
|
169
|
-
}, "schema"> & {
|
|
170
|
-
schema: string;
|
|
171
|
-
}, "schema"> & {
|
|
172
|
-
schema: string;
|
|
173
|
-
};
|
|
174
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
175
|
-
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
176
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>> & import("@xylabs/react-flexbox").BusyBoxProps>;
|
|
177
|
-
export { ArchivistDetails, DivinerDetails, NodeDetails };
|
|
178
|
-
export default StorybookEntry;
|
|
179
|
-
//# sourceMappingURL=DetailsBox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsBox.stories.d.ts","sourceRoot":"","sources":["../../src/components/DetailsBox.stories.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHASc,CAAA;AAqBlC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAAwB,CAAA;AAsBzC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAA6B,CAAA;AAsBnD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAA2B,CAAA;AAG/C,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA;AAGxD,eAAe,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../src/components/TableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,eAAe,CAAA;AAIzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,GAAG,cAAc,CAOxE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../src/components/TableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,eAAe,CAAA;AAIzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,GAAG,cAAc,CAOxE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA"}
|
package/dist/hooks/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRefresh.d.ts","sourceRoot":"","sources":["../../src/hooks/useRefresh.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,MAAM,MAAM,CAAA;AAC1C,MAAM,MAAM,eAAe,GAAG,MAAM,IAAI,CAAA;AAExC,eAAO,MAAM,UAAU,QAAO,CAAC,MAAM,EAAE,eAAe,EAAE,eAAe,CAWtE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRefresh.d.ts","sourceRoot":"","sources":["../../src/hooks/useRefresh.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,MAAM,MAAM,CAAA;AAC1C,MAAM,MAAM,eAAe,GAAG,MAAM,IAAI,CAAA;AAExC,eAAO,MAAM,UAAU,QAAO,CAAC,MAAM,EAAE,eAAe,EAAE,eAAe,CAWtE,CAAA"}
|
package/dist/index.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA"}
|
package/dist/index.js
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
DivinerCard: () => DivinerCard,
|
|
24
|
-
DivinerCardContent: () => DivinerCardContent,
|
|
25
|
-
DivinerCardHeader: () => DivinerCardHeader,
|
|
26
|
-
ModuleCard: () => ModuleCard,
|
|
27
|
-
ModuleCardActions: () => ModuleCardActions,
|
|
28
|
-
ModuleCardContent: () => ModuleCardContent,
|
|
29
|
-
ModuleCardHeader: () => ModuleCardHeader,
|
|
30
|
-
ModuleDetailsBox: () => ModuleDetailsBox,
|
|
31
|
-
ModuleTableCell: () => ModuleTableCell,
|
|
32
|
-
useRefresh: () => useRefresh
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(src_exports);
|
|
35
|
-
|
|
36
|
-
// src/components/Card/Diviner/Card.tsx
|
|
37
|
-
var import_material6 = require("@mui/material");
|
|
38
|
-
|
|
39
|
-
// src/components/Card/Module/Card.tsx
|
|
40
|
-
var import_material5 = require("@mui/material");
|
|
41
|
-
|
|
42
|
-
// src/components/Card/Module/CardActions.tsx
|
|
43
|
-
var import_material2 = require("@mui/material");
|
|
44
|
-
var import_react_button = require("@xylabs/react-button");
|
|
45
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
|
46
|
-
var import_react = require("react");
|
|
47
|
-
|
|
48
|
-
// src/components/Card/Module/components/DiscoverDialog.tsx
|
|
49
|
-
var import_material = require("@mui/material");
|
|
50
|
-
var import_react_promise = require("@xylabs/react-promise");
|
|
51
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
52
|
-
var DiscoverDialog = ({ module: module2, setOpen, ...props }) => {
|
|
53
|
-
const [discoverPayloads] = (0, import_react_promise.usePromise)(async () => {
|
|
54
|
-
return await module2?.discover();
|
|
55
|
-
}, [module2]);
|
|
56
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Dialog, { ...props, children: [
|
|
57
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.DialogTitle, { children: [
|
|
58
|
-
"Supported Queries for ",
|
|
59
|
-
module2?.config.name || module2?.address
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Divider, {}),
|
|
62
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.DialogContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Paper, { sx: { p: 1 }, children: [
|
|
63
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.DialogContentText, { children: "All modules share a set of base queries along with ones specific to the module." }),
|
|
64
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("pre", { children: JSON.stringify(discoverPayloads, null, 2) })
|
|
65
|
-
] }) }),
|
|
66
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.DialogActions, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Button, { onClick: () => setOpen?.(false), variant: "outlined", children: "Close" }) })
|
|
67
|
-
] });
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
// src/components/Card/Module/CardActions.tsx
|
|
71
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
72
|
-
var ModuleCardActions = ({ children, module: module2, sx, ...props }) => {
|
|
73
|
-
const [discoverDialogOpen, setDiscoverDialogOpen] = (0, import_react.useState)(false);
|
|
74
|
-
const config = module2?.config;
|
|
75
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_material2.CardActions, { sx: { alignItems: "stretch", flexDirection: "column", ml: 1, ...sx }, ...props, children: [
|
|
76
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_flexbox.FlexGrowRow, { justifyContent: "space-between", alignItems: "center", children: [
|
|
77
|
-
module2 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Chip, { label: config?.schema, size: "small" }) : null,
|
|
78
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_button.ButtonEx, { onClick: () => setDiscoverDialogOpen(true), size: "small", variant: "outlined", children: "Discover" }),
|
|
79
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(DiscoverDialog, { fullWidth: true, maxWidth: "md", module: module2, open: discoverDialogOpen, setOpen: setDiscoverDialogOpen })
|
|
80
|
-
] }),
|
|
81
|
-
children
|
|
82
|
-
] });
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
// src/components/Card/Module/CardContent.tsx
|
|
86
|
-
var import_material3 = require("@mui/material");
|
|
87
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
88
|
-
var ModuleCardContent = ({ children, ...props }) => {
|
|
89
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.CardContent, { ...props, children });
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
// src/components/Card/Module/CardHeader.tsx
|
|
93
|
-
var import_material4 = require("@mui/material");
|
|
94
|
-
var import_react_shared = require("@xyo-network/react-shared");
|
|
95
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
96
|
-
var getModuleIcons = (moduleType, module2) => {
|
|
97
|
-
return module2?.queries.find((query) => query.startsWith(`network.xyo.query.${moduleType}`)) ? (0, import_react_shared.findNetworkComponent)(moduleType)?.icon : null;
|
|
98
|
-
};
|
|
99
|
-
var ModuleCardHeader = ({ subheader, avatar, title, module: module2, ...props }) => {
|
|
100
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
101
|
-
import_material4.CardHeader,
|
|
102
|
-
{
|
|
103
|
-
title: title ?? module2?.config.name ?? "Module",
|
|
104
|
-
subheader: subheader ?? module2?.address,
|
|
105
|
-
avatar: avatar ?? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: module2 ? ["sentinel", "bridge", "archivist", "diviner", "node", "witness"].map((moduleType) => {
|
|
106
|
-
const Icon = getModuleIcons(moduleType, module2);
|
|
107
|
-
return Icon ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { fontSize: "large", color: "primary" }) : null;
|
|
108
|
-
}) : null }),
|
|
109
|
-
...props
|
|
110
|
-
}
|
|
111
|
-
);
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
// src/components/Card/Module/Card.tsx
|
|
115
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
116
|
-
var ModuleCard = ({ module: module2, ...props }) => {
|
|
117
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_material5.Card, { ...props, children: [
|
|
118
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ModuleCardHeader, { module: module2 }),
|
|
119
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ModuleCardContent, { module: module2 }),
|
|
120
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ModuleCardActions, { module: module2 })
|
|
121
|
-
] });
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
// src/components/Card/Diviner/CardContent.tsx
|
|
125
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
126
|
-
var DivinerCardContent = ({ children, ...props }) => {
|
|
127
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ModuleCardContent, { ...props, children });
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
// src/components/Card/Diviner/CardHeader.tsx
|
|
131
|
-
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
132
|
-
var DivinerCardHeader = ({ title, module: module2, ...props }) => {
|
|
133
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ModuleCardHeader, { module: module2, title: title ?? module2?.config.name ?? "Diviner", ...props });
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
// src/components/Card/Diviner/Card.tsx
|
|
137
|
-
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
138
|
-
var DivinerCard = ({ children, module: module2, ...props }) => {
|
|
139
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_material6.Card, { ...props, children: [
|
|
140
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DivinerCardHeader, { module: module2 }),
|
|
141
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DivinerCardContent, { module: module2 }),
|
|
142
|
-
children,
|
|
143
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ModuleCardActions, { module: module2 })
|
|
144
|
-
] });
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
// src/components/DetailsBox.tsx
|
|
148
|
-
var import_eth_address = require("@xylabs/eth-address");
|
|
149
|
-
var import_react_button2 = require("@xylabs/react-button");
|
|
150
|
-
var import_react_crypto = require("@xylabs/react-crypto");
|
|
151
|
-
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
|
152
|
-
var import_react_shared2 = require("@xyo-network/react-shared");
|
|
153
|
-
var import_react2 = require("react");
|
|
154
|
-
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
155
|
-
var getModuleIcon = (moduleType, module2) => {
|
|
156
|
-
return module2?.queries.find((query) => query.startsWith(`network.xyo.query.${moduleType}`)) ? (0, import_react_shared2.findNetworkComponent)(moduleType)?.icon() : null;
|
|
157
|
-
};
|
|
158
|
-
var ModuleDetailsBox = ({ children, module: module2, ...props }) => {
|
|
159
|
-
const [showQueries, setShowQueries] = (0, import_react2.useState)(false);
|
|
160
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_flexbox2.FlexCol, { ...props, children: [
|
|
161
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_flexbox2.FlexRow, { children: [
|
|
162
|
-
module2 ? ["sentinel", "bridge", "archivist", "diviner", "node"].map((moduleType) => {
|
|
163
|
-
const icon = getModuleIcon(moduleType, module2);
|
|
164
|
-
return icon ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_button2.ButtonEx, { onClick: () => setShowQueries(!showQueries), children: icon }, moduleType) : null;
|
|
165
|
-
}) : null,
|
|
166
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_crypto.EthAccountBox, { address: import_eth_address.EthAddress.fromString(module2?.address) })
|
|
167
|
-
] }),
|
|
168
|
-
showQueries ? module2?.queries.map((query) => {
|
|
169
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_flexbox2.FlexRow, { children: query }, query);
|
|
170
|
-
}) : null,
|
|
171
|
-
children
|
|
172
|
-
] });
|
|
173
|
-
};
|
|
174
|
-
|
|
175
|
-
// src/components/TableCell.tsx
|
|
176
|
-
var import_material7 = require("@mui/material");
|
|
177
|
-
var import_eth_address2 = require("@xylabs/eth-address");
|
|
178
|
-
var import_react_crypto2 = require("@xylabs/react-crypto");
|
|
179
|
-
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
180
|
-
var ModuleTableCell = ({ children, module: module2, ...props }) => {
|
|
181
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_material7.TableCell, { ...props, children: [
|
|
182
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_crypto2.EthAccountBox, { address: import_eth_address2.EthAddress.fromString(module2?.address) }),
|
|
183
|
-
children
|
|
184
|
-
] });
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
// src/hooks/useRefresh.tsx
|
|
188
|
-
var import_react3 = require("react");
|
|
189
|
-
var useRefresh = () => {
|
|
190
|
-
const [count, setCount] = (0, import_react3.useState)(1);
|
|
191
|
-
return [
|
|
192
|
-
count,
|
|
193
|
-
() => {
|
|
194
|
-
const newCount = count + 1;
|
|
195
|
-
setCount(newCount);
|
|
196
|
-
return newCount;
|
|
197
|
-
},
|
|
198
|
-
() => setCount(0)
|
|
199
|
-
];
|
|
200
|
-
};
|
|
201
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
202
|
-
0 && (module.exports = {
|
|
203
|
-
DivinerCard,
|
|
204
|
-
DivinerCardContent,
|
|
205
|
-
DivinerCardHeader,
|
|
206
|
-
ModuleCard,
|
|
207
|
-
ModuleCardActions,
|
|
208
|
-
ModuleCardContent,
|
|
209
|
-
ModuleCardHeader,
|
|
210
|
-
ModuleDetailsBox,
|
|
211
|
-
ModuleTableCell,
|
|
212
|
-
useRefresh
|
|
213
|
-
});
|
|
214
|
-
//# sourceMappingURL=index.js.map
|