-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f377b91
commit 4f7847f
Showing
5 changed files
with
78 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
editor.planx.uk/src/@planx/components/List/schemas/CIL/MezzanineCIL.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Schema } from "@planx/components/shared/Schema/model"; | ||
import { TextInputType } from "@planx/components/TextInput/model"; | ||
|
||
export const MezzanineCIL: Schema = { | ||
type: "New mezzanine floor", | ||
fields: [ | ||
{ | ||
type: "text", | ||
data: { | ||
title: "Describe the use of the mezzanine", | ||
fn: "description", | ||
type: TextInputType.Short, | ||
}, | ||
}, | ||
{ | ||
type: "number", | ||
data: { | ||
title: | ||
"What will be the Gross Internal Floor Area (GIA) of the mezzanine?", | ||
units: "m²", | ||
fn: "area", | ||
allowNegatives: false, | ||
}, | ||
}, | ||
], | ||
min: 1, | ||
} as const; |
209 changes: 0 additions & 209 deletions
209
editor.planx.uk/src/@planx/components/List/schemas/CIL/ProposedCIL.ts
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
editor.planx.uk/src/@planx/components/List/schemas/CIL/UnoccupiedCIL.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { Schema } from "@planx/components/shared/Schema/model"; | ||
import { TextInputType } from "@planx/components/TextInput/model"; | ||
|
||
export const UnoccupiedBuildingsCIL: Schema = { | ||
type: "Building not meant for occupation or temporarily permitted", | ||
fields: [ | ||
{ | ||
type: "text", | ||
data: { | ||
title: "Describe the existing building", | ||
fn: "descriptionExisting", | ||
type: TextInputType.Short, | ||
}, | ||
}, | ||
{ | ||
type: "number", | ||
data: { | ||
title: "How much of its floorspace will be retained?", | ||
units: "m²", | ||
fn: "area.retained", | ||
allowNegatives: false, | ||
}, | ||
}, | ||
{ | ||
type: "text", | ||
data: { | ||
title: "What will the retained floorspace be used for?", | ||
description: "This can be identical to its current use.", | ||
fn: "descriptionProposed", | ||
type: TextInputType.Short, | ||
}, | ||
}, | ||
{ | ||
type: "number", | ||
data: { | ||
title: "How much of its floorspace will be lost?", | ||
units: "m²", | ||
fn: "area.loss", | ||
allowNegatives: false, | ||
}, | ||
}, | ||
], | ||
min: 1, | ||
} as const; |