[player] Change storage format
* `UnitState.dataparts` has property `elementCodes` property, which stores status, value and id for FormElement * When building a unit, the stored value is assigned to the element when it is initiated * Removed `UnitState.dataparts.pages` * Removed methods initPages and addStoredValues
Showing
- projects/common/form.service.ts 10 additions, 1 deletionprojects/common/form.service.ts
- projects/common/form.ts 0 additions, 9 deletionsprojects/common/form.ts
- projects/player/src/app/app.component.ts 10 additions, 56 deletionsprojects/player/src/app/app.component.ts
- projects/player/src/app/components/element/element.component.ts 17 additions, 1 deletion...ts/player/src/app/components/element/element.component.ts
- projects/player/src/app/components/layout/layout.component.html 6 additions, 3 deletions...ts/player/src/app/components/layout/layout.component.html
- projects/player/src/app/components/layout/layout.component.ts 2 additions, 1 deletion...ects/player/src/app/components/layout/layout.component.ts
- projects/player/src/app/components/page/page.component.html 1 addition, 0 deletionsprojects/player/src/app/components/page/page.component.html
- projects/player/src/app/components/page/page.component.ts 4 additions, 0 deletionsprojects/player/src/app/components/page/page.component.ts
- projects/player/src/app/components/player-state/player-state.component.html 1 addition, 0 deletions...c/app/components/player-state/player-state.component.html
- projects/player/src/app/components/player-state/player-state.component.ts 2 additions, 1 deletion...src/app/components/player-state/player-state.component.ts
- projects/player/src/app/components/section/section.component.html 4 additions, 2 deletions.../player/src/app/components/section/section.component.html
- projects/player/src/app/components/section/section.component.ts 2 additions, 0 deletions...ts/player/src/app/components/section/section.component.ts
- projects/player/src/app/components/unit-state/unit-state.component.html 2 additions, 1 deletion...r/src/app/components/unit-state/unit-state.component.html
- projects/player/src/app/components/unit-state/unit-state.component.ts 39 additions, 3 deletions...yer/src/app/components/unit-state/unit-state.component.ts
- projects/player/src/app/models/verona.ts 8 additions, 0 deletionsprojects/player/src/app/models/verona.ts
Loading
Please register or sign in to comment