Skip to content

Commit

Permalink
Added icons for trays and page ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
tp-teman committed Dec 15, 2023
1 parent ad89f80 commit c041cc9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/ezp-icon/assets/glyph-paper_range.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/components/ezp-icon/assets/glyph-trays.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ export class EzpPrinterSelection {
{this.selectedPrinterConfig.Trays.length >= 1 && this.selectedPrinterConfig.Trays[0] != null ? (
<ezp-select
label={i18next.t('printer_selection.trays')}
icon="size"
icon="trays"
placeholder={i18next.t('printer_selection.select_trays')}
toggleFlow="horizontal"
optionFlow="horizontal"
Expand All @@ -824,7 +824,7 @@ export class EzpPrinterSelection {
}))}
/> ) : null}
<ezp-input
icon="width"
icon="paper_range"
suffix=""
placeholder="1-2,4-5,8"
value={this.selectedProperties.PageRanges}
Expand Down
2 changes: 2 additions & 0 deletions src/shared/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export type IconNameTypes =
| 'size'
| 'system'
| 'width'
| 'paper_range'
| 'trays'
export type IconSizeTypes = 'normal' | 'large' | 'huge'
export type PrintOrganizationType = { id: number; name: string; printers: PrintPrinterType[] }
export type PrintPrinterType = { id: number; name: string; location: string }
Expand Down

0 comments on commit c041cc9

Please sign in to comment.