-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes in DocuProject for the sake of the documentation site
- Loading branch information
1 parent
6fd5417
commit 9d47606
Showing
12 changed files
with
376 additions
and
81 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
packages/samples/DocuProject/src/defs/editor-main-controls.edit
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,30 @@ | ||
/* This file contains the default editor definition. */ | ||
|
||
editor controls | ||
|
||
BaseProduct {[ | ||
Base Products ${name} for ${theme radio} | ||
is still under construction: ${self.isUnderConstruction switch} | ||
is approved level1: ${self.isApprovedLevel1 radio [Sure | NoWay]} | ||
is approved level2: ${self.isApprovedLevel2 inner-switch} | ||
is approved level3: ${self.isApprovedLevel3 checkbox} | ||
yields profit: ${self.yieldsProfit text [Plenty | Little]} | ||
expected nr of use: ${self.nrOfUse} | ||
range: ${self.range slider} | ||
|
||
|
||
${parts} | ||
]} | ||
|
||
InsuranceProduct {[ | ||
Insurance Product ${name} ( public name: ${productName} ) USES ${basedOn horizontal separator[, ]} | ||
Themes: ${themes checkbox} | ||
Premium: ${advertisedPremium} per ${nrPremiumDays} | ||
Insured risks: | ||
${parts vertical terminator [;]} | ||
Calculation | ||
[? Risk adjusted by = ${riskAdjustment} ] | ||
calculated premium: ${calculation} | ||
[?Helper functions: | ||
${helpers vertical}] | ||
]} |
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
12 changes: 12 additions & 0 deletions
12
packages/samples/DocuProject/src/defs/editor-named-proj.edit
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,12 @@ | ||
editor UsingComments | ||
|
||
BaseProduct {[ | ||
/* In this projection 'self.parts' is always shown according to the projection */ | ||
/* defined for concept InsurancePart in the editor 'comments'. */ | ||
Base Products ${self.name} for ${self.theme} | ||
${self.parts:comments} | ||
]} | ||
|
||
Entity {[ | ||
${self.isCompany [COMPANY | PERSON]} ${self.name} | ||
]} |
17 changes: 17 additions & 0 deletions
17
packages/samples/DocuProject/src/defs/editor-tables-with-button.edit
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,17 @@ | ||
/* This file contains the table definition in a separate editor / projection group. | ||
This enables the user to switch tables on and off. */ | ||
|
||
editor buttonedTables precedence 5 | ||
|
||
InsurancePart{ | ||
table [ | ||
Name | risk | pay out | is approved | action | ||
${name} | ${statisticalRisk} | ${maximumPayOut} | ${isApproved} | [button boxRole="MyTableButton-role"] | ||
] | ||
} | ||
|
||
BaseProduct {[ | ||
Base Products ${name} for ${theme} | ||
${parts table rows} | ||
]} | ||
|
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
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
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
Oops, something went wrong.