-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/7583-carry-forward-unarranged-beha…
…vior
- Loading branch information
Showing
76 changed files
with
810 additions
and
362 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
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
2 changes: 1 addition & 1 deletion
2
packages/survey-angular-ui/example/src/app/components/test/test.component.html
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div id="surveyElement"> | ||
<popup-survey *ngIf="!!model && isPopup" [model]="$any(model)"></popup-survey> | ||
<popup-survey *ngIf="!!model && isPopup" [model]="$any(model)" [isExpanded]="isExpanded" [allowClose]="true"></popup-survey> | ||
<survey *ngIf="!!model && !isPopup" [model]="$any(model)"></survey></div> | ||
<div id="surveyResultElement"></div> |
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
10 changes: 5 additions & 5 deletions
10
packages/survey-angular-ui/src/components/progress/toc/progress.component.html
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<ng-template #template> | ||
<div [class]="tocModel.containerCss"> | ||
<sv-ng-list *ngIf="!tocModel.isMobile" [model]="tocModel.listModel"></sv-ng-list> | ||
<div *ngIf="tocModel.isMobile" (click)="tocModel.togglePopup()" data-bind="key2click"> | ||
<svg [iconName]="tocModel.icon" [size]="24" sv-ng-svg-icon></svg> | ||
<sv-ng-popup [popupModel]="tocModel.popupModel"></sv-ng-popup> | ||
<div [class]="model.containerCss"> | ||
<sv-ng-list *ngIf="!model.isMobile" [model]="model.listModel"></sv-ng-list> | ||
<div *ngIf="model.isMobile" (click)="model.togglePopup()" data-bind="key2click"> | ||
<svg [iconName]="model.icon" [size]="24" sv-ng-svg-icon></svg> | ||
<sv-ng-popup [popupModel]="model.popupModel"></sv-ng-popup> | ||
</div> | ||
</div> | ||
</ng-template> |
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
31 changes: 18 additions & 13 deletions
31
packages/survey-angular-ui/src/popup.survey.component.html
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 |
---|---|---|
@@ -1,17 +1,22 @@ | ||
<div *ngIf="!!popup && popup.isShowing" [class]="popup.cssRoot" style="position: fixed; bottom: 3px; right: 10px;" [style.width]="popup.renderedWidth" [style.maxWidth]="popup.renderedWidth"> | ||
<div [class]="popup.cssHeaderRoot"> | ||
<span (click)="popup.changeExpandCollapse()" style="width: 100%; cursor: pointer;"> | ||
<span style="padding-right:10px" [class]="popup.cssHeaderTitle">{{popup.locTitle.renderedHtml}}</span> | ||
<span aria-hidden="true" [class]="popup.cssButton"></span> | ||
</span> | ||
<span *ngIf="popup.allowClose" (click)="popup.hide()" [class]="popup.cssHeaderButton" style="float: right; cursor: pointer; width: 24px; height: 24px; transform: rotate(45deg);"> | ||
<svg [iconName]="'icon-expanddetail'" [size]="16" sv-ng-svg-icon></svg> | ||
</span> | ||
<span *ngIf="popup.isExpanded" (click)="popup.changeExpandCollapse()" [class]="popup.cssHeaderButton" style="float: right; cursor: pointer; width: 24px; height: 24px;"> | ||
<svg [iconName]="'icon-collapsedetail'" [size]="16" sv-ng-svg-icon></svg> | ||
</span> | ||
<div *ngIf="!!popup && popup.isShowing" [class]="popup.cssRoot" [style.width]="popup.renderedWidth" [style.maxWidth]="popup.renderedWidth" (scroll)="popup.onScroll()"> | ||
<div [class]="popup.cssRootContent"> | ||
<div [class]="getHeaderCss()"> | ||
<div *ngIf="popup.isCollapsed && !!popup.locTitle" [class]="popup.cssHeaderTitleCollapsed"> | ||
{{popup.locTitle.renderedHtml}} | ||
</div> | ||
<div [class]="popup.cssHeaderButtonsContainer"> | ||
<div [class]="popup.cssHeaderCollapseButton" (click)="popup.changeExpandCollapse()"> | ||
<svg *ngIf="popup.isExpanded" [iconName]="'icon-minimize_16x16'" [size]="16" sv-ng-svg-icon></svg> | ||
<svg *ngIf="popup.isCollapsed" [iconName]="'icon-restore_16x16'" [size]="16" sv-ng-svg-icon></svg> | ||
</div> | ||
|
||
<div *ngIf="popup.allowClose" [class]="popup.cssHeaderCloseButton" (click)="popup.hide()"> | ||
<svg [iconName]="'icon-close_16x16'" [size]="16" sv-ng-svg-icon></svg> | ||
</div> | ||
</div> | ||
</div> | ||
<div *ngIf="popup.isExpanded" [class]="popup.cssBody" (scroll)="popup.onScroll()"> | ||
<div [class]="popup.cssBody"> | ||
<survey [model]="popup.survey"></survey> | ||
</div> | ||
</div> | ||
</div> |
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
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
13 changes: 6 additions & 7 deletions
13
packages/survey-vue3-ui/src/components/progress/ProgressToc.vue
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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<template> | ||
<div :class="tocModel.containerCss"> | ||
<div v-if="tocModel.isMobile" v-on:click="tocModel.togglePopup" v-key2click> | ||
<sv-svg-icon :iconName="tocModel.icon" :size="24"></sv-svg-icon> | ||
<sv-popup :model="tocModel.popupModel"></sv-popup> | ||
<div :class="model.containerCss"> | ||
<div v-if="model.isMobile" v-on:click="model.togglePopup" v-key2click> | ||
<sv-svg-icon :iconName="model.icon" :size="24"></sv-svg-icon> | ||
<sv-popup :model="model.popupModel"></sv-popup> | ||
</div> | ||
<sv-list v-else :model="tocModel.listModel"></sv-list> | ||
<sv-list v-else :model="model.listModel"></sv-list> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { type SurveyModel, TOCModel } from "survey-core"; | ||
const props = defineProps<{ survey: SurveyModel }>(); | ||
const tocModel = new TOCModel(props.survey); | ||
const props = defineProps<{ survey: SurveyModel, model: TOCModel }>(); | ||
</script> |
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
File renamed without changes.
Oops, something went wrong.