@protobase/layout 0.62.4 → 0.62.5
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/block-specs.js +4 -0
- package/dist/blocks.d.ts +2 -0
- package/dist/blocks.js +3 -1
- package/dist/check-account.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/presets/account-page.js +6 -2
- package/package.json +2 -2
package/dist/block-specs.js
CHANGED
package/dist/blocks.d.ts
CHANGED
|
@@ -239,6 +239,8 @@ export declare const Password: Block<AccountBlockProps>;
|
|
|
239
239
|
export declare const Passkeys: Block<AccountBlockProps>;
|
|
240
240
|
export declare const TwoFactor: Block<AccountBlockProps>;
|
|
241
241
|
export declare const ConnectedAccounts: Block<AccountBlockProps>;
|
|
242
|
+
/** The mailboxes the signed-in person links for the app to send mail from (`auth.personalMail`); nothing when the app has none. */
|
|
243
|
+
export declare const PersonalMail: Block<AccountBlockProps>;
|
|
242
244
|
export declare const Devices: Block<AccountBlockProps>;
|
|
243
245
|
export declare const ConnectedApps: Block<AccountBlockProps>;
|
|
244
246
|
export declare const DeleteAccount: Block<AccountBlockProps>;
|
package/dist/blocks.js
CHANGED
|
@@ -25,8 +25,10 @@ const Password = defineBlock("Password", false);
|
|
|
25
25
|
const Passkeys = defineBlock("Passkeys", false);
|
|
26
26
|
const TwoFactor = defineBlock("TwoFactor", false);
|
|
27
27
|
const ConnectedAccounts = defineBlock("ConnectedAccounts", false);
|
|
28
|
+
/** The mailboxes the signed-in person links for the app to send mail from (`auth.personalMail`); nothing when the app has none. */
|
|
29
|
+
const PersonalMail = defineBlock("PersonalMail", false);
|
|
28
30
|
const Devices = defineBlock("Devices", false);
|
|
29
31
|
const ConnectedApps = defineBlock("ConnectedApps", false);
|
|
30
32
|
const DeleteAccount = defineBlock("DeleteAccount", false);
|
|
31
33
|
//#endregion
|
|
32
|
-
export { Action, Card, CardRow, Chart, ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Field, Grid, Link, ModalForm, Page, Passkeys, Password, Profile, Progress, RecordCard, RecordCards, RecordRow, Settings, Show, Stat, Tab, Table, Tabs, TwoFactor, Users };
|
|
34
|
+
export { Action, Card, CardRow, Chart, ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Field, Grid, Link, ModalForm, Page, Passkeys, Password, PersonalMail, Profile, Progress, RecordCard, RecordCards, RecordRow, Settings, Show, Stat, Tab, Table, Tabs, TwoFactor, Users };
|
package/dist/check-account.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Block, LayoutChild, LayoutChildren, LayoutNode, LayoutValue, isLayoutNode } from "./node.js";
|
|
2
|
-
import { AccountBlockProps, Action, ActionProps, ButtonVariant, Card, CardProps, CardRow, CardRowProps, CardWidth, CardsLayout, Chart, ChartBucket, ChartProps, ChartType, ConnectedAccounts, ConnectedApps, DataProps, DeleteAccount, Devices, Elements, Field, FieldProps, Grid, GridProps, GridSpan, Link, LinkProps, ModalForm, ModalFormProps, Page, PageProps, Passkeys, Password, Profile, Progress, ProgressProps, RecordCard, RecordCardProps, RecordCards, RecordCardsProps, RecordRow, RecordRowProps, Settings, SettingsProps, Show, ShowProps, Stat, StatProps, Tab, TabProps, Table, TableProps, Tabs, TabsProps, TwoFactor, Users, UsersProps } from "./blocks.js";
|
|
2
|
+
import { AccountBlockProps, Action, ActionProps, ButtonVariant, Card, CardProps, CardRow, CardRowProps, CardWidth, CardsLayout, Chart, ChartBucket, ChartProps, ChartType, ConnectedAccounts, ConnectedApps, DataProps, DeleteAccount, Devices, Elements, Field, FieldProps, Grid, GridProps, GridSpan, Link, LinkProps, ModalForm, ModalFormProps, Page, PageProps, Passkeys, Password, PersonalMail, Profile, Progress, ProgressProps, RecordCard, RecordCardProps, RecordCards, RecordCardsProps, RecordRow, RecordRowProps, Settings, SettingsProps, Show, ShowProps, Stat, StatProps, Tab, TabProps, Table, TableProps, Tabs, TabsProps, TwoFactor, Users, UsersProps } from "./blocks.js";
|
|
3
3
|
import { ComponentOptions, component } from "./component.js";
|
|
4
4
|
import { accountBlocks, accountPageName } from "./check-account.js";
|
|
5
5
|
import { PageDefinition, PageModel, PageOptions, isPageDefinition, page } from "./page.js";
|
|
@@ -15,4 +15,4 @@ import { countedResource, evaluateCondition, parseCondition } from "./condition.
|
|
|
15
15
|
import { PathStep, resolveFieldPath } from "./field-path.js";
|
|
16
16
|
import { jsx_runtime_d_exports } from "./jsx-runtime.js";
|
|
17
17
|
import { FieldRefValue, fieldRef } from "@protobase/schema";
|
|
18
|
-
export { type AccountBlockProps, Action, type ActionProps, type Block, type ButtonVariant, Card, type CardProps, CardRow, type CardRowProps, type CardWidth, type CardsLayout, Chart, type ChartBucket, type ChartProps, type ChartType, type ComponentOptions, ConnectedAccounts, ConnectedApps, type DataProps, DeleteAccount, Devices, type Elements, Field, type FieldProps, type FieldRefValue, Grid, type GridProps, type GridSpan, type LayoutChild, type LayoutChildren, type LayoutNode, type LayoutValue, Link, type LinkProps, type Location, ModalForm, type ModalFormProps, Page, type PageDefinition, type PageModel, type PageOptions, type PageProps, Passkeys, Password, type PathStep, Profile, Progress, type ProgressProps, RecordCard, type RecordCardProps, RecordCards, type RecordCardsProps, RecordRow, type RecordRowProps, Settings, type SettingsProps, Show, type ShowProps, Stat, type StatProps, Tab, type TabProps, Table, type TableProps, Tabs, type TabsProps, TwoFactor, Users, type UsersProps, accountBlocks, accountPage, accountPageName, accountTabs, cardsLayoutOf, checkPages, component, conditionProblems, conditionReadable, countedResource, evaluateCondition, fieldRef, isLayoutNode, isPageDefinition, jsx_runtime_d_exports as jsxRuntime, mapTree, page, parseCondition, prunePage, resolveFieldPath, settingsFields, settingsResources, usersPage, walkTree, withSettingsFields };
|
|
18
|
+
export { type AccountBlockProps, Action, type ActionProps, type Block, type ButtonVariant, Card, type CardProps, CardRow, type CardRowProps, type CardWidth, type CardsLayout, Chart, type ChartBucket, type ChartProps, type ChartType, type ComponentOptions, ConnectedAccounts, ConnectedApps, type DataProps, DeleteAccount, Devices, type Elements, Field, type FieldProps, type FieldRefValue, Grid, type GridProps, type GridSpan, type LayoutChild, type LayoutChildren, type LayoutNode, type LayoutValue, Link, type LinkProps, type Location, ModalForm, type ModalFormProps, Page, type PageDefinition, type PageModel, type PageOptions, type PageProps, Passkeys, Password, type PathStep, PersonalMail, Profile, Progress, type ProgressProps, RecordCard, type RecordCardProps, RecordCards, type RecordCardsProps, RecordRow, type RecordRowProps, Settings, type SettingsProps, Show, type ShowProps, Stat, type StatProps, Tab, type TabProps, Table, type TableProps, Tabs, type TabsProps, TwoFactor, Users, type UsersProps, accountBlocks, accountPage, accountPageName, accountTabs, cardsLayoutOf, checkPages, component, conditionProblems, conditionReadable, countedResource, evaluateCondition, fieldRef, isLayoutNode, isPageDefinition, jsx_runtime_d_exports as jsxRuntime, mapTree, page, parseCondition, prunePage, resolveFieldPath, settingsFields, settingsResources, usersPage, walkTree, withSettingsFields };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isLayoutNode } from "./node.js";
|
|
2
|
-
import { Action, Card, CardRow, Chart, ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Field, Grid, Link, ModalForm, Page, Passkeys, Password, Profile, Progress, RecordCard, RecordCards, RecordRow, Settings, Show, Stat, Tab, Table, Tabs, TwoFactor, Users } from "./blocks.js";
|
|
2
|
+
import { Action, Card, CardRow, Chart, ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Field, Grid, Link, ModalForm, Page, Passkeys, Password, PersonalMail, Profile, Progress, RecordCard, RecordCards, RecordRow, Settings, Show, Stat, Tab, Table, Tabs, TwoFactor, Users } from "./blocks.js";
|
|
3
3
|
import { component } from "./component.js";
|
|
4
4
|
import { mapTree, walkTree } from "./walk.js";
|
|
5
5
|
import { accountBlocks, accountPageName } from "./check-account.js";
|
|
@@ -15,4 +15,4 @@ import { checkPages } from "./check-page.js";
|
|
|
15
15
|
import { prunePage } from "./prune-page.js";
|
|
16
16
|
import { jsx_runtime_exports } from "./jsx-runtime.js";
|
|
17
17
|
import { fieldRef } from "@protobase/schema";
|
|
18
|
-
export { Action, Card, CardRow, Chart, ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Field, Grid, Link, ModalForm, Page, Passkeys, Password, Profile, Progress, RecordCard, RecordCards, RecordRow, Settings, Show, Stat, Tab, Table, Tabs, TwoFactor, Users, accountBlocks, accountPage, accountPageName, accountTabs, cardsLayoutOf, checkPages, component, conditionProblems, conditionReadable, countedResource, evaluateCondition, fieldRef, isLayoutNode, isPageDefinition, jsx_runtime_exports as jsxRuntime, mapTree, page, parseCondition, prunePage, resolveFieldPath, settingsFields, settingsResources, usersPage, walkTree, withSettingsFields };
|
|
18
|
+
export { Action, Card, CardRow, Chart, ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Field, Grid, Link, ModalForm, Page, Passkeys, Password, PersonalMail, Profile, Progress, RecordCard, RecordCards, RecordRow, Settings, Show, Stat, Tab, Table, Tabs, TwoFactor, Users, accountBlocks, accountPage, accountPageName, accountTabs, cardsLayoutOf, checkPages, component, conditionProblems, conditionReadable, countedResource, evaluateCondition, fieldRef, isLayoutNode, isPageDefinition, jsx_runtime_exports as jsxRuntime, mapTree, page, parseCondition, prunePage, resolveFieldPath, settingsFields, settingsResources, usersPage, walkTree, withSettingsFields };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Page, Passkeys, Password, Profile, Tab, Tabs, TwoFactor } from "../blocks.js";
|
|
1
|
+
import { ConnectedAccounts, ConnectedApps, DeleteAccount, Devices, Page, Passkeys, Password, PersonalMail, Profile, Tab, Tabs, TwoFactor } from "../blocks.js";
|
|
2
2
|
import { accountPageName } from "../check-account.js";
|
|
3
3
|
import { page } from "../page.js";
|
|
4
4
|
//#region src/presets/account-page.ts
|
|
@@ -10,7 +10,11 @@ const accountTabs = {
|
|
|
10
10
|
profile: Tab({
|
|
11
11
|
name: "profile",
|
|
12
12
|
label: "Profile",
|
|
13
|
-
children: [
|
|
13
|
+
children: [
|
|
14
|
+
Profile({}),
|
|
15
|
+
PersonalMail({}),
|
|
16
|
+
DeleteAccount({})
|
|
17
|
+
]
|
|
14
18
|
}),
|
|
15
19
|
security: Tab({
|
|
16
20
|
name: "security",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/layout",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.5",
|
|
4
4
|
"description": "Composed pages for Protobase, written as JSX that compiles to plain data, with its JSX runtime.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@protobase/schema": "0.62.
|
|
34
|
+
"@protobase/schema": "0.62.5",
|
|
35
35
|
"aip-parsers": "^1.0.0"
|
|
36
36
|
}
|
|
37
37
|
}
|