-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎸 support params in pipe and directive
✅ Closes: #153
- Loading branch information
1 parent
d867d5c
commit 17cf426
Showing
10 changed files
with
121 additions
and
32 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
28 changes: 28 additions & 0 deletions
28
__tests__/buildTranslationFiles/template-extraction/directive/with-params/1.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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div class="bot-setup-container width-100 d-flex"> | ||
<form class="da-form d-flex-column width-100" [formGroup]="bot" novalidate> | ||
<!-- Bot name --> | ||
<div class="bot-setup-header allow-full-line d-flex"> | ||
<da-editable-input-text [value]="botSetupStore.bot.controls.name.value" [entity]="'bot'" | ||
(onChange)="onNameChange($event)"></da-editable-input-text> | ||
</div> | ||
|
||
<edge-wizard-step transloco="admin.key" [translocoParams]="{a: '123', b: {c: 123, d: {e: ''}, f:''}}" | ||
[validate]="simulateRestore" [useFormCtrlValidation]="profile"> | ||
<ui-view [transloco]="'1'" [translocoParams]="{'1': '123'}"></ui-view> | ||
|
||
<!-- Footer error message --> | ||
<div transloco="5" translocoParams="dontTake2" class="footer-error-message d-flex" *ngIf="errorCounter > 0" [transloco]="dontTake"> | ||
asasd | ||
</div> | ||
<div transloco="4" [translocoParams]="dontTake" class="allow-full-line footer-buttons d-flex align-end-center"> | ||
<div class="setup-buttons d-flex"> | ||
<button transloco="2" [translocoParams]="{'2': asd}" class="da-btn secondary save-button" *ngIf="isEditState && !isDuplicate as bla" (click)="onSubmit(false)"> | ||
</button> | ||
<button class="da-btn primary save-run-button" (click)="onSubmit(true)" transloco="{{'3'}}" [translocoParams]="{'3': 123}"> | ||
|
||
</button> | ||
</div> | ||
</div> | ||
</edge-wizard-step> | ||
</form> | ||
</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
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