@tectra-ng/ui 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amount/README.md +19 -1
- package/analog-clock/README.md +1 -1
- package/autocomplete/README.md +1 -1
- package/avatar/README.md +24 -4
- package/cascade-select/README.md +1 -1
- package/chips-input/README.md +10 -5
- package/color-picker/README.md +5 -0
- package/countdown/README.md +7 -1
- package/country/README.md +14 -1
- package/country-select/README.md +2 -1
- package/export/README.md +27 -2
- package/export-font/README.md +1 -1
- package/fesm2022/tectra-ng-ui-accordion.mjs +21 -21
- package/fesm2022/tectra-ng-ui-amount.mjs +99 -17
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-analog-clock.mjs +12 -25
- package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +8 -7
- package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-avatar.mjs +68 -26
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-badge.mjs +3 -3
- package/fesm2022/tectra-ng-ui-breadcrumb.mjs +9 -9
- package/fesm2022/tectra-ng-ui-button-group.mjs +3 -3
- package/fesm2022/tectra-ng-ui-button.mjs +11 -11
- package/fesm2022/tectra-ng-ui-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-card.mjs +5 -5
- package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-carousel.mjs +15 -15
- package/fesm2022/tectra-ng-ui-cascade-select.mjs +10 -7
- package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-checkbox.mjs +9 -9
- package/fesm2022/tectra-ng-ui-chip.mjs +3 -3
- package/fesm2022/tectra-ng-ui-chips-input.mjs +120 -21
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs +96 -9
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-swatches.mjs +3 -3
- package/fesm2022/tectra-ng-ui-confirm.mjs +9 -9
- package/fesm2022/tectra-ng-ui-countdown.mjs +48 -19
- package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country-select.mjs +31 -8
- package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country.mjs +18 -9
- package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-data-view.mjs +30 -30
- package/fesm2022/tectra-ng-ui-datepicker.mjs +53 -40
- package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-dialog.mjs +30 -30
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-divider.mjs +3 -3
- package/fesm2022/tectra-ng-ui-drawer.mjs +9 -9
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs +3 -3
- package/fesm2022/tectra-ng-ui-export.mjs +1264 -111
- package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-field.mjs +4 -3
- package/fesm2022/tectra-ng-ui-field.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-fieldset.mjs +5 -5
- package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-file-upload.mjs +12 -12
- package/fesm2022/tectra-ng-ui-galleria.mjs +21 -21
- package/fesm2022/tectra-ng-ui-highlight-text.mjs +3 -3
- package/fesm2022/tectra-ng-ui-icon-field.mjs +63 -35
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-image.mjs +9 -9
- package/fesm2022/tectra-ng-ui-input-group.mjs +6 -6
- package/fesm2022/tectra-ng-ui-input-mask.mjs +3 -3
- package/fesm2022/tectra-ng-ui-input-number.mjs +5 -5
- package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-otp.mjs +3 -3
- package/fesm2022/tectra-ng-ui-input.mjs +11 -10
- package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-key-filter.mjs +87 -22
- package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-knob.mjs +30 -8
- package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-label.mjs +77 -18
- package/fesm2022/tectra-ng-ui-label.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-link.mjs +44 -20
- package/fesm2022/tectra-ng-ui-link.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-list-input.mjs +3 -3
- package/fesm2022/tectra-ng-ui-listbox.mjs +3 -3
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +19 -8
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-menu.mjs +15 -15
- package/fesm2022/tectra-ng-ui-menubar.mjs +6 -6
- package/fesm2022/tectra-ng-ui-message.mjs +23 -19
- package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs +32 -15
- package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-multiselect.mjs +6 -5
- package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-overlay-badge.mjs +3 -3
- package/fesm2022/tectra-ng-ui-paginator.mjs +9 -9
- package/fesm2022/tectra-ng-ui-panel-menu.mjs +51 -20
- package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel.mjs +7 -5
- package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password-generator.mjs +24 -7
- package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password.mjs +14 -14
- package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-pill.mjs +39 -19
- package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-popover.mjs +15 -15
- package/fesm2022/tectra-ng-ui-progress-bar.mjs +6 -6
- package/fesm2022/tectra-ng-ui-progress-spinner.mjs +3 -3
- package/fesm2022/tectra-ng-ui-radio-button.mjs +6 -6
- package/fesm2022/tectra-ng-ui-rating.mjs +11 -11
- package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-scroll-panel.mjs +3 -3
- package/fesm2022/tectra-ng-ui-select-button.mjs +6 -6
- package/fesm2022/tectra-ng-ui-select.mjs +66 -43
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-skeleton.mjs +6 -6
- package/fesm2022/tectra-ng-ui-slider.mjs +3 -3
- package/fesm2022/tectra-ng-ui-sparkline.mjs +3 -3
- package/fesm2022/tectra-ng-ui-speed-dial.mjs +3 -3
- package/fesm2022/tectra-ng-ui-split-button.mjs +3 -3
- package/fesm2022/tectra-ng-ui-splitter.mjs +6 -6
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs +99 -14
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-status-icon.mjs +43 -6
- package/fesm2022/tectra-ng-ui-status-icon.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stepper.mjs +41 -35
- package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +74 -60
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tabs.mjs +18 -18
- package/fesm2022/tectra-ng-ui-tag.mjs +8 -8
- package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-textarea.mjs +9 -9
- package/fesm2022/tectra-ng-ui-timeline.mjs +15 -15
- package/fesm2022/tectra-ng-ui-toast.mjs +11 -11
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toggle-button.mjs +3 -3
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs +6 -6
- package/fesm2022/tectra-ng-ui-toolbar.mjs +12 -12
- package/fesm2022/tectra-ng-ui-tooltip.mjs +9 -9
- package/fesm2022/tectra-ng-ui-tree-select.mjs +13 -11
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +7 -7
- package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree.mjs +30 -30
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +36 -12
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +15 -15
- package/fesm2022/tectra-ng-ui.mjs +1 -1
- package/icon-field/README.md +2 -1
- package/input/README.md +1 -1
- package/key-filter/README.md +3 -2
- package/knob/README.md +3 -1
- package/label/README.md +4 -1
- package/link/README.md +4 -1
- package/message/README.md +2 -2
- package/month-calendar/README.md +2 -1
- package/multiselect/README.md +1 -1
- package/package.json +4 -4
- package/panel/README.md +3 -1
- package/panel-menu/README.md +3 -2
- package/password-generator/README.md +2 -0
- package/pill/README.md +4 -4
- package/select/README.md +1 -1
- package/stat-tiles/README.md +17 -1
- package/status-icon/README.md +3 -1
- package/table/README.md +1 -1
- package/tag/README.md +2 -0
- package/tree-select/README.md +1 -1
- package/truncate-text/README.md +2 -1
- package/types/tectra-ng-ui-amount.d.ts +41 -1
- package/types/tectra-ng-ui-amount.d.ts.map +1 -1
- package/types/tectra-ng-ui-analog-clock.d.ts +1 -4
- package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
- package/types/tectra-ng-ui-autocomplete.d.ts +1 -1
- package/types/tectra-ng-ui-avatar.d.ts +45 -12
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-cascade-select.d.ts +3 -2
- package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-chips-input.d.ts +54 -6
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-picker.d.ts +38 -1
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
- package/types/tectra-ng-ui-countdown.d.ts +12 -1
- package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
- package/types/tectra-ng-ui-country-select.d.ts +17 -4
- package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-country.d.ts +7 -1
- package/types/tectra-ng-ui-country.d.ts.map +1 -1
- package/types/tectra-ng-ui-datepicker.d.ts +4 -2
- package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
- package/types/tectra-ng-ui-export.d.ts +68 -8
- package/types/tectra-ng-ui-export.d.ts.map +1 -1
- package/types/tectra-ng-ui-icon-field.d.ts +9 -2
- package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
- package/types/tectra-ng-ui-input.d.ts +1 -1
- package/types/tectra-ng-ui-key-filter.d.ts +19 -4
- package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
- package/types/tectra-ng-ui-knob.d.ts +10 -2
- package/types/tectra-ng-ui-knob.d.ts.map +1 -1
- package/types/tectra-ng-ui-label.d.ts +8 -1
- package/types/tectra-ng-ui-label.d.ts.map +1 -1
- package/types/tectra-ng-ui-link.d.ts +8 -2
- package/types/tectra-ng-ui-link.d.ts.map +1 -1
- package/types/tectra-ng-ui-mention-textarea.d.ts +5 -0
- package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
- package/types/tectra-ng-ui-message.d.ts +1 -1
- package/types/tectra-ng-ui-message.d.ts.map +1 -1
- package/types/tectra-ng-ui-month-calendar.d.ts +14 -4
- package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
- package/types/tectra-ng-ui-multiselect.d.ts +1 -1
- package/types/tectra-ng-ui-panel-menu.d.ts +34 -6
- package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel.d.ts +1 -1
- package/types/tectra-ng-ui-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-password-generator.d.ts +10 -3
- package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
- package/types/tectra-ng-ui-pill.d.ts +9 -5
- package/types/tectra-ng-ui-pill.d.ts.map +1 -1
- package/types/tectra-ng-ui-select.d.ts +5 -2
- package/types/tectra-ng-ui-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-stat-tiles.d.ts +49 -5
- package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
- package/types/tectra-ng-ui-status-icon.d.ts +20 -2
- package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
- package/types/tectra-ng-ui-stepper.d.ts +1 -0
- package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
- package/types/tectra-ng-ui-table.d.ts +2 -1
- package/types/tectra-ng-ui-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts +3 -3
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +7 -2
- package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
- package/types/tectra-ng-ui.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-status-icon.mjs","names":[],"sources":["../../../../packages/ui/status-icon/src/status-icon.icons.ts","../../../../packages/ui/status-icon/src/status-icon.theme.ts","../../../../packages/ui/status-icon/src/status-icon.component.ts"],"sourcesContent":["import { TxIconSet, txIconCheckCircle, txIconExclamationTriangle, txIconInfo, txIconInfoCircle, txIconMinusCircle, txIconTimesCircle } from '@tectra-ng/icons';\n\nexport const STATUS_ICON_ICON_DEFAULTS: TxIconSet = {\n 'check-circle': txIconCheckCircle,\n 'exclamation-triangle': txIconExclamationTriangle,\n info: txIconInfo,\n 'info-circle': txIconInfoCircle,\n 'minus-circle': txIconMinusCircle,\n 'times-circle': txIconTimesCircle,\n};\n","import { statusIconTokens } from '@tectra-ng/themes';\n\nexport const STATUS_ICON_THEME = {\n statusIcon: statusIconTokens,\n};\n","import { NgClass } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { injectTxIcons, provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraStatusIconTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxStatusIconPart, TxStatusIconSeverity, TxStatusIconSize } from './status-icon.types';\nimport { STATUS_ICON_ICON_DEFAULTS } from './status-icon.icons';\nimport { STATUS_ICON_THEME } from './status-icon.theme';\n\nconst SEVERITY_ICONS: Record<TxStatusIconSeverity, TxIconName> = {\n success: 'check-circle',\n info: 'info-circle',\n warn: 'exclamation-triangle',\n danger: 'times-circle',\n secondary: 'minus-circle',\n};\n\n@Component({\n selector: 'tx-status-icon',\n imports: [NgClass, TxIcon],\n template: `\n @if (iconName(); as name) {\n <tx-icon class=\"tx-status-icon__icon\" [name]=\"name\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\" />\n } @else {\n <span class=\"tx-status-icon__icon\" [class]=\"resolvedIcon()\" [ngClass]=\"passThrough().icon?.class ?? null\" [style]=\"passThrough().icon?.style\"></span>\n }\n `,\n styleUrl: './status-icon.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-status-icon',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-severity]': 'resolvedSeverity()',\n '[attr.data-size]': 'size()',\n '[attr.role]': 'resolvedLabel() ? \"img\" : null',\n '[attr.aria-label]': 'resolvedLabel() || null',\n '[attr.aria-hidden]': 'resolvedLabel() ? null : \"true\"',\n '[attr.title]': 'resolvedLabel() || null',\n },\n viewProviders: [provideTxIconDefaults(STATUS_ICON_ICON_DEFAULTS)],\n})\nexport class TxStatusIcon {\n private readonly statusIconTheme = injectTokens(STATUS_ICON_THEME);\n\n private txIconRegistry = injectTxIcons();\n\n readonly status = input<boolean | null | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly severity = input<TxStatusIconSeverity | undefined>(undefined);\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly label = input<string | undefined>(undefined);\n readonly toolTip = input<string | undefined>(undefined);\n readonly size = input<TxStatusIconSize>('medium');\n readonly dt = input<TectraDeepPartial<TectraStatusIconTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxStatusIconPart, TxStatusIcon> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('statusIcon', this, this.pt, this.ptOptions);\n readonly resolvedSeverity = computed<TxStatusIconSeverity>(() => this.severity() ?? (this.status() ? 'success' : 'danger'));\n readonly resolvedIcon = computed(() => this.icon() ?? SEVERITY_ICONS[this.resolvedSeverity()]);\n readonly iconName = computed(() => {\n const icon = this.resolvedIcon();\n return this.txIconRegistry.has(icon) ? icon : null;\n });\n readonly resolvedLabel = computed(() => {\n const label = this.label() ?? this.toolTip();\n if (label !== undefined) {\n return label;\n }\n if (this.severity()) {\n return '';\n }\n return this.status() ? this.translations().yes : this.translations().no;\n });\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-status-icon'), ...this.passThrough().root?.style }));\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-status-icon.mjs","names":[],"sources":["../../../../packages/ui/status-icon/src/status-icon.icons.ts","../../../../packages/ui/status-icon/src/status-icon.theme.ts","../../../../packages/ui/status-icon/src/status-icon.component.ts"],"sourcesContent":["import { TxIconSet, txIconCheckCircle, txIconExclamationTriangle, txIconInfo, txIconInfoCircle, txIconMinusCircle, txIconTimesCircle } from '@tectra-ng/icons';\n\nexport const STATUS_ICON_ICON_DEFAULTS: TxIconSet = {\n 'check-circle': txIconCheckCircle,\n 'exclamation-triangle': txIconExclamationTriangle,\n info: txIconInfo,\n 'info-circle': txIconInfoCircle,\n 'minus-circle': txIconMinusCircle,\n 'times-circle': txIconTimesCircle,\n};\n","import { statusIconTokens } from '@tectra-ng/themes';\n\nexport const STATUS_ICON_THEME = {\n statusIcon: statusIconTokens,\n};\n","import { NgClass } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { injectTxIcons, provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraStatusIconTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxTooltip } from '@tectra-ng/ui/tooltip';\nimport { TxStatusIconPart, TxStatusIconSeverity, TxStatusIconSize, TxStatusIconTooltip } from './status-icon.types';\nimport { STATUS_ICON_ICON_DEFAULTS } from './status-icon.icons';\nimport { STATUS_ICON_THEME } from './status-icon.theme';\n\nconst SEVERITY_ICONS: Record<TxStatusIconSeverity, TxIconName> = {\n success: 'check-circle',\n info: 'info-circle',\n warn: 'exclamation-triangle',\n danger: 'times-circle',\n secondary: 'minus-circle',\n};\n\n@Component({\n selector: 'tx-status-icon',\n imports: [NgClass, TxIcon],\n template: `\n @if (iconName(); as name) {\n <tx-icon class=\"tx-status-icon__icon\" [name]=\"name\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\" />\n } @else {\n <span class=\"tx-status-icon__icon\" [class]=\"resolvedIcon()\" [ngClass]=\"passThrough().icon?.class ?? null\" [style]=\"passThrough().icon?.style\"></span>\n }\n `,\n styleUrl: './status-icon.component.scss',\n hostDirectives: [{ directive: TxTooltip, inputs: ['tooltipPlacement'] }],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-status-icon',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-severity]': 'resolvedSeverity()',\n '[attr.data-size]': 'size()',\n '[attr.role]': 'resolvedLabel() ? \"img\" : null',\n '[attr.aria-label]': 'resolvedLabel() || null',\n '[attr.aria-hidden]': 'resolvedLabel() ? null : \"true\"',\n '[attr.title]': 'showsTooltip() || tooltip() === \"none\" ? null : resolvedLabel() || null',\n },\n viewProviders: [provideTxIconDefaults(STATUS_ICON_ICON_DEFAULTS)],\n})\nexport class TxStatusIcon {\n private readonly statusIconTheme = injectTokens(STATUS_ICON_THEME);\n\n private txIconRegistry = injectTxIcons();\n\n readonly status = input<boolean | null | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly severity = input<TxStatusIconSeverity | undefined>(undefined);\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly label = input<string | undefined>(undefined);\n readonly toolTip = input<string | undefined>(undefined);\n readonly tooltip = input<TxStatusIconTooltip | undefined, unknown>(undefined, { transform: statusIconTooltip });\n readonly size = input<TxStatusIconSize>('medium');\n readonly dt = input<TectraDeepPartial<TectraStatusIconTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxStatusIconPart, TxStatusIcon> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('statusIcon', this, this.pt, this.ptOptions);\n readonly resolvedSeverity = computed<TxStatusIconSeverity>(() => this.severity() ?? (this.status() ? 'success' : 'danger'));\n readonly resolvedIcon = computed(() => this.icon() ?? SEVERITY_ICONS[this.resolvedSeverity()]);\n readonly iconName = computed(() => {\n const icon = this.resolvedIcon();\n return this.txIconRegistry.has(icon) ? icon : null;\n });\n readonly resolvedLabel = computed(() => {\n const label = this.label() ?? this.toolTip();\n if (label !== undefined) {\n return label;\n }\n if (this.severity()) {\n return '';\n }\n return this.status() ? this.translations().yes : this.translations().no;\n });\n readonly showsTooltip = computed(() => this.tooltip() === true && !!this.resolvedLabel());\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-status-icon'), ...this.passThrough().root?.style }));\n\n constructor() {\n inject(TxTooltip, { self: true }).useContent(computed(() => (this.showsTooltip() ? this.resolvedLabel() : undefined)));\n }\n}\n\nfunction statusIconTooltip(value: unknown): TxStatusIconTooltip | undefined {\n return value === 'none' ? 'none' : optionalBoolean(value);\n}\n"],"mappings":"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"}
|
|
@@ -15,7 +15,7 @@ var TxStepContent = class TxStepContent {
|
|
|
15
15
|
}
|
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17
17
|
minVersion: "12.0.0",
|
|
18
|
-
version: "22.2.
|
|
18
|
+
version: "22.2.6",
|
|
19
19
|
ngImport: i0,
|
|
20
20
|
type: TxStepContent,
|
|
21
21
|
deps: [],
|
|
@@ -23,7 +23,7 @@ var TxStepContent = class TxStepContent {
|
|
|
23
23
|
});
|
|
24
24
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
25
25
|
minVersion: "14.0.0",
|
|
26
|
-
version: "22.2.
|
|
26
|
+
version: "22.2.6",
|
|
27
27
|
type: TxStepContent,
|
|
28
28
|
isStandalone: true,
|
|
29
29
|
selector: "ng-template[txStepContent]",
|
|
@@ -32,7 +32,7 @@ var TxStepContent = class TxStepContent {
|
|
|
32
32
|
};
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({
|
|
34
34
|
minVersion: "12.0.0",
|
|
35
|
-
version: "22.2.
|
|
35
|
+
version: "22.2.6",
|
|
36
36
|
ngImport: i0,
|
|
37
37
|
type: TxStepContent,
|
|
38
38
|
decorators: [{
|
|
@@ -47,7 +47,7 @@ var TxStepPanelContent = class TxStepPanelContent {
|
|
|
47
47
|
}
|
|
48
48
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
49
49
|
minVersion: "12.0.0",
|
|
50
|
-
version: "22.2.
|
|
50
|
+
version: "22.2.6",
|
|
51
51
|
ngImport: i0,
|
|
52
52
|
type: TxStepPanelContent,
|
|
53
53
|
deps: [],
|
|
@@ -55,7 +55,7 @@ var TxStepPanelContent = class TxStepPanelContent {
|
|
|
55
55
|
});
|
|
56
56
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
57
57
|
minVersion: "14.0.0",
|
|
58
|
-
version: "22.2.
|
|
58
|
+
version: "22.2.6",
|
|
59
59
|
type: TxStepPanelContent,
|
|
60
60
|
isStandalone: true,
|
|
61
61
|
selector: "ng-template[txStepPanelContent]",
|
|
@@ -64,7 +64,7 @@ var TxStepPanelContent = class TxStepPanelContent {
|
|
|
64
64
|
};
|
|
65
65
|
i0.ɵɵngDeclareClassMetadata({
|
|
66
66
|
minVersion: "12.0.0",
|
|
67
|
-
version: "22.2.
|
|
67
|
+
version: "22.2.6",
|
|
68
68
|
ngImport: i0,
|
|
69
69
|
type: TxStepPanelContent,
|
|
70
70
|
decorators: [{
|
|
@@ -79,7 +79,7 @@ var TxStepsItemTemplate = class TxStepsItemTemplate {
|
|
|
79
79
|
}
|
|
80
80
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
81
81
|
minVersion: "12.0.0",
|
|
82
|
-
version: "22.2.
|
|
82
|
+
version: "22.2.6",
|
|
83
83
|
ngImport: i0,
|
|
84
84
|
type: TxStepsItemTemplate,
|
|
85
85
|
deps: [],
|
|
@@ -87,7 +87,7 @@ var TxStepsItemTemplate = class TxStepsItemTemplate {
|
|
|
87
87
|
});
|
|
88
88
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
89
89
|
minVersion: "14.0.0",
|
|
90
|
-
version: "22.2.
|
|
90
|
+
version: "22.2.6",
|
|
91
91
|
type: TxStepsItemTemplate,
|
|
92
92
|
isStandalone: true,
|
|
93
93
|
selector: "ng-template[txStepsItem]",
|
|
@@ -96,7 +96,7 @@ var TxStepsItemTemplate = class TxStepsItemTemplate {
|
|
|
96
96
|
};
|
|
97
97
|
i0.ɵɵngDeclareClassMetadata({
|
|
98
98
|
minVersion: "12.0.0",
|
|
99
|
-
version: "22.2.
|
|
99
|
+
version: "22.2.6",
|
|
100
100
|
ngImport: i0,
|
|
101
101
|
type: TxStepsItemTemplate,
|
|
102
102
|
decorators: [{
|
|
@@ -126,7 +126,7 @@ var TxStepItem = class TxStepItem {
|
|
|
126
126
|
last = computed(() => this.stepper.isLast(this.value()), ...ngDevMode ? [{ debugName: "last" }] : /* istanbul ignore next */ []);
|
|
127
127
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
128
128
|
minVersion: "12.0.0",
|
|
129
|
-
version: "22.2.
|
|
129
|
+
version: "22.2.6",
|
|
130
130
|
ngImport: i0,
|
|
131
131
|
type: TxStepItem,
|
|
132
132
|
deps: [],
|
|
@@ -134,7 +134,7 @@ var TxStepItem = class TxStepItem {
|
|
|
134
134
|
});
|
|
135
135
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
136
136
|
minVersion: "17.1.0",
|
|
137
|
-
version: "22.2.
|
|
137
|
+
version: "22.2.6",
|
|
138
138
|
type: TxStepItem,
|
|
139
139
|
isStandalone: true,
|
|
140
140
|
selector: "tx-step-item",
|
|
@@ -173,7 +173,7 @@ var TxStepItem = class TxStepItem {
|
|
|
173
173
|
};
|
|
174
174
|
i0.ɵɵngDeclareClassMetadata({
|
|
175
175
|
minVersion: "12.0.0",
|
|
176
|
-
version: "22.2.
|
|
176
|
+
version: "22.2.6",
|
|
177
177
|
ngImport: i0,
|
|
178
178
|
type: TxStepItem,
|
|
179
179
|
decorators: [{
|
|
@@ -233,6 +233,7 @@ var TxStep = class TxStep {
|
|
|
233
233
|
index = computed(() => this.stepper.indexOf(this.resolvedValue()), ...ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []);
|
|
234
234
|
active = computed(() => this.stepper.isActive(this.resolvedValue()), ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
235
235
|
isCompleted = computed(() => this.completed() ?? (this.item ? this.item.isCompleted() : this.stepper.isCompleted(this.resolvedValue())), ...ngDevMode ? [{ debugName: "isCompleted" }] : /* istanbul ignore next */ []);
|
|
236
|
+
showCheck = computed(() => this.isCompleted() && !this.active(), ...ngDevMode ? [{ debugName: "showCheck" }] : /* istanbul ignore next */ []);
|
|
236
237
|
isDisabled = computed(() => this.disabled() || this.stepper.linear() && !this.active(), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
|
|
237
238
|
showSeparator = computed(() => !this.inItem && !this.stepper.isLast(this.resolvedValue()), ...ngDevMode ? [{ debugName: "showSeparator" }] : /* istanbul ignore next */ []);
|
|
238
239
|
stepId = computed(() => this.stepper.stepId(this.resolvedValue()), ...ngDevMode ? [{ debugName: "stepId" }] : /* istanbul ignore next */ []);
|
|
@@ -265,7 +266,7 @@ var TxStep = class TxStep {
|
|
|
265
266
|
}
|
|
266
267
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
267
268
|
minVersion: "12.0.0",
|
|
268
|
-
version: "22.2.
|
|
269
|
+
version: "22.2.6",
|
|
269
270
|
ngImport: i0,
|
|
270
271
|
type: TxStep,
|
|
271
272
|
deps: [],
|
|
@@ -273,7 +274,7 @@ var TxStep = class TxStep {
|
|
|
273
274
|
});
|
|
274
275
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
275
276
|
minVersion: "17.0.0",
|
|
276
|
-
version: "22.2.
|
|
277
|
+
version: "22.2.6",
|
|
277
278
|
type: TxStep,
|
|
278
279
|
isStandalone: true,
|
|
279
280
|
selector: "tx-step",
|
|
@@ -326,7 +327,7 @@ var TxStep = class TxStep {
|
|
|
326
327
|
isSignal: true
|
|
327
328
|
}],
|
|
328
329
|
ngImport: i0,
|
|
329
|
-
template: "@if (contentTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template.templateRef; context: context()\" />\n} @else {\n <button\n #header\n type=\"button\"\n class=\"tx-step__header\"\n [class]=\"stepper.passThrough().header?.class\"\n [style]=\"stepper.passThrough().header?.style\"\n [id]=\"stepId()\"\n [attr.role]=\"inItem ? null : 'tab'\"\n [attr.aria-selected]=\"inItem ? null : active()\"\n [attr.aria-expanded]=\"inItem && panelId() ? active() : null\"\n [attr.aria-controls]=\"panelId()\"\n [attr.aria-current]=\"active() ? 'step' : null\"\n [attr.tabindex]=\"tabIndex()\"\n [disabled]=\"isDisabled()\"\n (click)=\"select()\"\n (keydown)=\"onKeydown($event)\"\n >\n <span class=\"tx-step__number\" [class]=\"stepper.passThrough().number?.class\" [style]=\"stepper.passThrough().number?.style\"
|
|
330
|
+
template: "@if (contentTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template.templateRef; context: context()\" />\n} @else {\n <button\n #header\n type=\"button\"\n class=\"tx-step__header\"\n [class]=\"stepper.passThrough().header?.class\"\n [style]=\"stepper.passThrough().header?.style\"\n [id]=\"stepId()\"\n [attr.role]=\"inItem ? null : 'tab'\"\n [attr.aria-selected]=\"inItem ? null : active()\"\n [attr.aria-expanded]=\"inItem && panelId() ? active() : null\"\n [attr.aria-controls]=\"panelId()\"\n [attr.aria-current]=\"active() ? 'step' : null\"\n [attr.tabindex]=\"tabIndex()\"\n [disabled]=\"isDisabled()\"\n (click)=\"select()\"\n (keydown)=\"onKeydown($event)\"\n >\n <span class=\"tx-step__number\" [class]=\"stepper.passThrough().number?.class\" [style]=\"stepper.passThrough().number?.style\">\n @if (showCheck()) {\n <tx-icon name=\"check\" />\n } @else {\n {{ index() + 1 }}\n }\n </span>\n <span class=\"tx-step__title\" [class]=\"stepper.passThrough().title?.class\" [style]=\"stepper.passThrough().title?.style\"><ng-content /></span>\n @if (isCompleted()) {\n <span class=\"tx-stepper__sr-only\">, {{ t().stepCompleted }}</span>\n }\n </button>\n}\n@if (showSeparator()) {\n <span class=\"tx-stepper__separator\" aria-hidden=\"true\" [class]=\"stepper.passThrough().separator?.class\" [style]=\"stepper.passThrough().separator?.style\"></span>\n}\n",
|
|
330
331
|
dependencies: [{
|
|
331
332
|
kind: "directive",
|
|
332
333
|
type: NgTemplateOutlet,
|
|
@@ -336,6 +337,11 @@ var TxStep = class TxStep {
|
|
|
336
337
|
"ngTemplateOutlet",
|
|
337
338
|
"ngTemplateOutletInjector"
|
|
338
339
|
]
|
|
340
|
+
}, {
|
|
341
|
+
kind: "component",
|
|
342
|
+
type: TxIcon,
|
|
343
|
+
selector: "tx-icon",
|
|
344
|
+
inputs: ["name"]
|
|
339
345
|
}],
|
|
340
346
|
viewProviders: [provideTxIconDefaults(STEPPER_ICON_DEFAULTS)],
|
|
341
347
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -343,14 +349,14 @@ var TxStep = class TxStep {
|
|
|
343
349
|
};
|
|
344
350
|
i0.ɵɵngDeclareClassMetadata({
|
|
345
351
|
minVersion: "12.0.0",
|
|
346
|
-
version: "22.2.
|
|
352
|
+
version: "22.2.6",
|
|
347
353
|
ngImport: i0,
|
|
348
354
|
type: TxStep,
|
|
349
355
|
decorators: [{
|
|
350
356
|
type: Component,
|
|
351
357
|
args: [{
|
|
352
358
|
selector: "tx-step",
|
|
353
|
-
imports: [NgTemplateOutlet],
|
|
359
|
+
imports: [NgTemplateOutlet, TxIcon],
|
|
354
360
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
355
361
|
host: {
|
|
356
362
|
class: "tx-step",
|
|
@@ -362,7 +368,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
362
368
|
"[class.tx-step--disabled]": "disabled()"
|
|
363
369
|
},
|
|
364
370
|
viewProviders: [provideTxIconDefaults(STEPPER_ICON_DEFAULTS)],
|
|
365
|
-
template: "@if (contentTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template.templateRef; context: context()\" />\n} @else {\n <button\n #header\n type=\"button\"\n class=\"tx-step__header\"\n [class]=\"stepper.passThrough().header?.class\"\n [style]=\"stepper.passThrough().header?.style\"\n [id]=\"stepId()\"\n [attr.role]=\"inItem ? null : 'tab'\"\n [attr.aria-selected]=\"inItem ? null : active()\"\n [attr.aria-expanded]=\"inItem && panelId() ? active() : null\"\n [attr.aria-controls]=\"panelId()\"\n [attr.aria-current]=\"active() ? 'step' : null\"\n [attr.tabindex]=\"tabIndex()\"\n [disabled]=\"isDisabled()\"\n (click)=\"select()\"\n (keydown)=\"onKeydown($event)\"\n >\n <span class=\"tx-step__number\" [class]=\"stepper.passThrough().number?.class\" [style]=\"stepper.passThrough().number?.style\"
|
|
371
|
+
template: "@if (contentTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template.templateRef; context: context()\" />\n} @else {\n <button\n #header\n type=\"button\"\n class=\"tx-step__header\"\n [class]=\"stepper.passThrough().header?.class\"\n [style]=\"stepper.passThrough().header?.style\"\n [id]=\"stepId()\"\n [attr.role]=\"inItem ? null : 'tab'\"\n [attr.aria-selected]=\"inItem ? null : active()\"\n [attr.aria-expanded]=\"inItem && panelId() ? active() : null\"\n [attr.aria-controls]=\"panelId()\"\n [attr.aria-current]=\"active() ? 'step' : null\"\n [attr.tabindex]=\"tabIndex()\"\n [disabled]=\"isDisabled()\"\n (click)=\"select()\"\n (keydown)=\"onKeydown($event)\"\n >\n <span class=\"tx-step__number\" [class]=\"stepper.passThrough().number?.class\" [style]=\"stepper.passThrough().number?.style\">\n @if (showCheck()) {\n <tx-icon name=\"check\" />\n } @else {\n {{ index() + 1 }}\n }\n </span>\n <span class=\"tx-step__title\" [class]=\"stepper.passThrough().title?.class\" [style]=\"stepper.passThrough().title?.style\"><ng-content /></span>\n @if (isCompleted()) {\n <span class=\"tx-stepper__sr-only\">, {{ t().stepCompleted }}</span>\n }\n </button>\n}\n@if (showSeparator()) {\n <span class=\"tx-stepper__separator\" aria-hidden=\"true\" [class]=\"stepper.passThrough().separator?.class\" [style]=\"stepper.passThrough().separator?.style\"></span>\n}\n"
|
|
366
372
|
}]
|
|
367
373
|
}],
|
|
368
374
|
propDecorators: {
|
|
@@ -405,7 +411,7 @@ var TxStepList = class TxStepList {
|
|
|
405
411
|
stepper = inject(TxStepperRef);
|
|
406
412
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
407
413
|
minVersion: "12.0.0",
|
|
408
|
-
version: "22.2.
|
|
414
|
+
version: "22.2.6",
|
|
409
415
|
ngImport: i0,
|
|
410
416
|
type: TxStepList,
|
|
411
417
|
deps: [],
|
|
@@ -413,7 +419,7 @@ var TxStepList = class TxStepList {
|
|
|
413
419
|
});
|
|
414
420
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
415
421
|
minVersion: "14.0.0",
|
|
416
|
-
version: "22.2.
|
|
422
|
+
version: "22.2.6",
|
|
417
423
|
type: TxStepList,
|
|
418
424
|
isStandalone: true,
|
|
419
425
|
selector: "tx-step-list",
|
|
@@ -437,7 +443,7 @@ var TxStepList = class TxStepList {
|
|
|
437
443
|
};
|
|
438
444
|
i0.ɵɵngDeclareClassMetadata({
|
|
439
445
|
minVersion: "12.0.0",
|
|
440
|
-
version: "22.2.
|
|
446
|
+
version: "22.2.6",
|
|
441
447
|
ngImport: i0,
|
|
442
448
|
type: TxStepList,
|
|
443
449
|
decorators: [{
|
|
@@ -462,7 +468,7 @@ var TxStepPanels = class TxStepPanels {
|
|
|
462
468
|
stepper = inject(TxStepperRef);
|
|
463
469
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
464
470
|
minVersion: "12.0.0",
|
|
465
|
-
version: "22.2.
|
|
471
|
+
version: "22.2.6",
|
|
466
472
|
ngImport: i0,
|
|
467
473
|
type: TxStepPanels,
|
|
468
474
|
deps: [],
|
|
@@ -470,7 +476,7 @@ var TxStepPanels = class TxStepPanels {
|
|
|
470
476
|
});
|
|
471
477
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
472
478
|
minVersion: "14.0.0",
|
|
473
|
-
version: "22.2.
|
|
479
|
+
version: "22.2.6",
|
|
474
480
|
type: TxStepPanels,
|
|
475
481
|
isStandalone: true,
|
|
476
482
|
selector: "tx-step-panels",
|
|
@@ -490,7 +496,7 @@ var TxStepPanels = class TxStepPanels {
|
|
|
490
496
|
};
|
|
491
497
|
i0.ɵɵngDeclareClassMetadata({
|
|
492
498
|
minVersion: "12.0.0",
|
|
493
|
-
version: "22.2.
|
|
499
|
+
version: "22.2.6",
|
|
494
500
|
ngImport: i0,
|
|
495
501
|
type: TxStepPanels,
|
|
496
502
|
decorators: [{
|
|
@@ -535,7 +541,7 @@ var TxStepPanel = class TxStepPanel {
|
|
|
535
541
|
}, ...ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []);
|
|
536
542
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
537
543
|
minVersion: "12.0.0",
|
|
538
|
-
version: "22.2.
|
|
544
|
+
version: "22.2.6",
|
|
539
545
|
ngImport: i0,
|
|
540
546
|
type: TxStepPanel,
|
|
541
547
|
deps: [],
|
|
@@ -543,7 +549,7 @@ var TxStepPanel = class TxStepPanel {
|
|
|
543
549
|
});
|
|
544
550
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
545
551
|
minVersion: "17.0.0",
|
|
546
|
-
version: "22.2.
|
|
552
|
+
version: "22.2.6",
|
|
547
553
|
type: TxStepPanel,
|
|
548
554
|
isStandalone: true,
|
|
549
555
|
selector: "tx-step-panel",
|
|
@@ -592,7 +598,7 @@ var TxStepPanel = class TxStepPanel {
|
|
|
592
598
|
};
|
|
593
599
|
i0.ɵɵngDeclareClassMetadata({
|
|
594
600
|
minVersion: "12.0.0",
|
|
595
|
-
version: "22.2.
|
|
601
|
+
version: "22.2.6",
|
|
596
602
|
ngImport: i0,
|
|
597
603
|
type: TxStepPanel,
|
|
598
604
|
decorators: [{
|
|
@@ -716,7 +722,7 @@ var TxStepper = class TxStepper extends TxStepperRef {
|
|
|
716
722
|
}
|
|
717
723
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
718
724
|
minVersion: "12.0.0",
|
|
719
|
-
version: "22.2.
|
|
725
|
+
version: "22.2.6",
|
|
720
726
|
ngImport: i0,
|
|
721
727
|
type: TxStepper,
|
|
722
728
|
deps: null,
|
|
@@ -724,7 +730,7 @@ var TxStepper = class TxStepper extends TxStepperRef {
|
|
|
724
730
|
});
|
|
725
731
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
726
732
|
minVersion: "17.2.0",
|
|
727
|
-
version: "22.2.
|
|
733
|
+
version: "22.2.6",
|
|
728
734
|
type: TxStepper,
|
|
729
735
|
isStandalone: true,
|
|
730
736
|
selector: "tx-stepper",
|
|
@@ -811,7 +817,7 @@ var TxStepper = class TxStepper extends TxStepperRef {
|
|
|
811
817
|
ngImport: i0,
|
|
812
818
|
template: "<ng-content />",
|
|
813
819
|
isInline: true,
|
|
814
|
-
styles: [".tx-stepper{display:block;min-width:0}.tx-stepper--vertical{display:flex;flex-direction:column}.tx-stepper__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tx-step-list{position:relative;display:flex;justify-content:space-between;align-items:center;overflow-x:auto}.tx-step{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}.tx-step:last-of-type,.tx-step-item .tx-step{flex:initial}.tx-step__header{display:inline-flex;align-items:center;min-width:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.tx-step__header:disabled{cursor:default}.tx-step--active .tx-step__header{cursor:default}.tx-step__title{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-step__number{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-stepper__separator{display:block;flex:1 1 0}.tx-step-item{display:flex;flex-direction:column;flex:initial}.tx-step-item--active{flex:1 1 auto}.tx-step-panel{display:block}.tx-step-panel[hidden]{display:none}.tx-step-item .tx-step-panel{display:grid;grid-template-rows:0fr}.tx-step-item--active .tx-step-panel{grid-template-rows:1fr}.tx-step-panel__collapse{min-height:0;overflow:hidden}.tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{visibility:hidden}.tx-step-panel__wrapper{display:flex;min-height:0}.tx-step-panel__content{flex:1 1 auto;min-width:0}.tx-stepper[data-styled]{--_duration: var(--tx-stepper-transition-duration);--_panel-duration: var(--tx-stepper-panel-transition-duration);--_number: var(--tx-stepper-step-number-size);--_separator: var(--tx-stepper-separator-size);font-family:var(--tx-font-family)}.tx-stepper[data-styled] .tx-step{gap:var(--tx-stepper-step-gap);padding:var(--tx-stepper-step-padding)}.tx-stepper[data-styled] .tx-step__header{gap:var(--tx-stepper-step-header-gap);padding:var(--tx-stepper-step-header-padding);border-radius:var(--tx-stepper-step-header-border-radius);outline:0 solid transparent;transition:color var(--_duration),outline-color var(--_duration),box-shadow var(--_duration)}.tx-stepper[data-styled] .tx-step__header:focus-visible{outline:var(--tx-stepper-step-header-focus-ring-width) var(--tx-stepper-step-header-focus-ring-style) var(--tx-stepper-step-header-focus-ring-color);outline-offset:var(--tx-stepper-step-header-focus-ring-offset);box-shadow:var(--tx-stepper-step-header-focus-ring-shadow)}.tx-stepper[data-styled] .tx-step__title{color:var(--tx-stepper-step-title-color);font-size:var(--tx-stepper-step-title-font-size);font-weight:var(--tx-stepper-step-title-font-weight);transition:color var(--_duration)}.tx-stepper[data-styled] .tx-step__number{z-index:1;min-width:var(--_number);height:var(--_number);border:var(--tx-stepper-step-number-border-width) solid var(--tx-stepper-step-number-border-color);border-radius:var(--tx-stepper-step-number-border-radius);background:var(--tx-stepper-step-number-background);color:var(--tx-stepper-step-number-color);font-size:var(--tx-stepper-step-number-font-size);font-weight:var(--tx-stepper-step-number-font-weight);line-height:var(--_number);transition:color var(--_duration),background-color var(--_duration),border-color var(--_duration)}.tx-stepper[data-styled] .tx-step__number:after{content:\"\";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--tx-stepper-step-number-shadow)}.tx-stepper[data-styled] .tx-step--active .tx-step__number{border-color:var(--tx-stepper-step-number-active-border-color);background:var(--tx-stepper-step-number-active-background);color:var(--tx-stepper-step-number-active-color)}.tx-stepper[data-styled] .tx-step--active .tx-step__title{color:var(--tx-stepper-step-title-active-color)}.tx-stepper[data-styled] .tx-step--disabled .tx-step__header{opacity:var(--tx-stepper-step-header-disabled-opacity)}.tx-stepper[data-styled] .tx-stepper__separator{width:100%;height:var(--_separator);background:var(--tx-stepper-separator-background);transition:background-color var(--_duration)}.tx-stepper[data-styled] .tx-step--completed .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item--completed .tx-stepper__separator{background:var(--tx-stepper-separator-active-background)}.tx-stepper[data-styled] .tx-step-panels{display:block;padding:var(--tx-stepper-steppanels-padding)}.tx-stepper[data-styled] .tx-step-panel{background:var(--tx-stepper-steppanel-background);color:var(--tx-stepper-steppanel-color)}.tx-stepper[data-styled] .tx-step-item .tx-step-panel{transition:grid-template-rows var(--_panel-duration) cubic-bezier(.2,0,0,1)}.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:visibility 0s linear var(--_panel-duration)}.tx-stepper[data-styled] .tx-step-panel__separator{flex:0 0 auto;width:var(--_separator);height:auto;margin:var(--tx-stepper-separator-margin);translate:calc(var(--_separator) / -2) 0}.tx-stepper[data-styled] .tx-step-item--last .tx-step-panel__separator{visibility:hidden}.tx-stepper[data-styled] .tx-step-panel__content{padding:var(--tx-stepper-steppanel-padding);margin-inline-start:var(--tx-stepper-steppanel-indent)}@media(prefers-reduced-motion:reduce){.tx-stepper[data-styled] .tx-step__header,.tx-stepper[data-styled] .tx-step__title,.tx-stepper[data-styled] .tx-step__number,.tx-stepper[data-styled] .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item .tx-step-panel,.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:none}}\n"],
|
|
820
|
+
styles: [".tx-stepper{display:block;min-width:0}.tx-stepper--vertical{display:flex;flex-direction:column}.tx-stepper__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tx-step-list{position:relative;display:flex;justify-content:space-between;align-items:center;overflow-x:auto}.tx-step{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}.tx-step:last-of-type,.tx-step-item .tx-step{flex:initial}.tx-step__header{display:inline-flex;align-items:center;min-width:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.tx-step__header:disabled{cursor:default}.tx-step--active .tx-step__header{cursor:default}.tx-step__title{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-step__number{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-stepper__separator{display:block;flex:1 1 0}.tx-step-item{display:flex;flex-direction:column;flex:initial}.tx-step-item--active{flex:1 1 auto}.tx-step-panel{display:block}.tx-step-panel[hidden]{display:none}.tx-step-item .tx-step-panel{display:grid;grid-template-rows:0fr}.tx-step-item--active .tx-step-panel{grid-template-rows:1fr}.tx-step-panel__collapse{min-height:0;overflow:hidden}.tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{visibility:hidden}.tx-step-panel__wrapper{display:flex;min-height:0}.tx-step-panel__content{flex:1 1 auto;min-width:0}.tx-stepper[data-styled]{--_duration: var(--tx-stepper-transition-duration);--_panel-duration: var(--tx-stepper-panel-transition-duration);--_number: var(--tx-stepper-step-number-size);--_separator: var(--tx-stepper-separator-size);font-family:var(--tx-font-family)}.tx-stepper[data-styled] .tx-step{gap:var(--tx-stepper-step-gap);padding:var(--tx-stepper-step-padding)}.tx-stepper[data-styled] .tx-step__header{gap:var(--tx-stepper-step-header-gap);padding:var(--tx-stepper-step-header-padding);border-radius:var(--tx-stepper-step-header-border-radius);outline:0 solid transparent;transition:color var(--_duration),outline-color var(--_duration),box-shadow var(--_duration)}.tx-stepper[data-styled] .tx-step__header:focus-visible{outline:var(--tx-stepper-step-header-focus-ring-width) var(--tx-stepper-step-header-focus-ring-style) var(--tx-stepper-step-header-focus-ring-color);outline-offset:var(--tx-stepper-step-header-focus-ring-offset);box-shadow:var(--tx-stepper-step-header-focus-ring-shadow)}.tx-stepper[data-styled] .tx-step__title{color:var(--tx-stepper-step-title-color);font-size:var(--tx-stepper-step-title-font-size);font-weight:var(--tx-stepper-step-title-font-weight);transition:color var(--_duration)}.tx-stepper[data-styled] .tx-step__number{z-index:1;min-width:var(--_number);height:var(--_number);border:var(--tx-stepper-step-number-border-width) solid var(--tx-stepper-step-number-border-color);border-radius:var(--tx-stepper-step-number-border-radius);background:var(--tx-stepper-step-number-background);color:var(--tx-stepper-step-number-color);font-size:var(--tx-stepper-step-number-font-size);font-weight:var(--tx-stepper-step-number-font-weight);line-height:var(--_number);transition:color var(--_duration),background-color var(--_duration),border-color var(--_duration)}.tx-stepper[data-styled] .tx-step__number:after{content:\"\";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--tx-stepper-step-number-shadow)}.tx-stepper[data-styled] .tx-step--completed:not(.tx-step--active) .tx-step__number{border-color:var(--tx-stepper-step-number-completed-border-color);background:var(--tx-stepper-step-number-completed-background);color:var(--tx-stepper-step-number-completed-color)}.tx-stepper[data-styled] .tx-step--active .tx-step__number{border-color:var(--tx-stepper-step-number-active-border-color);background:var(--tx-stepper-step-number-active-background);color:var(--tx-stepper-step-number-active-color)}.tx-stepper[data-styled] .tx-step--active .tx-step__title{color:var(--tx-stepper-step-title-active-color)}.tx-stepper[data-styled] .tx-step--disabled .tx-step__header{opacity:var(--tx-stepper-step-header-disabled-opacity)}.tx-stepper[data-styled] .tx-stepper__separator{width:100%;height:var(--_separator);background:var(--tx-stepper-separator-background);transition:background-color var(--_duration)}.tx-stepper[data-styled] .tx-step--completed .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item--completed .tx-stepper__separator{background:var(--tx-stepper-separator-active-background)}.tx-stepper[data-styled] .tx-step-panels{display:block;padding:var(--tx-stepper-steppanels-padding)}.tx-stepper[data-styled] .tx-step-panel{background:var(--tx-stepper-steppanel-background);color:var(--tx-stepper-steppanel-color)}.tx-stepper[data-styled] .tx-step-item .tx-step-panel{transition:grid-template-rows var(--_panel-duration) cubic-bezier(.2,0,0,1)}.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:visibility 0s linear var(--_panel-duration)}.tx-stepper[data-styled] .tx-step-panel__separator{flex:0 0 auto;width:var(--_separator);height:auto;margin:var(--tx-stepper-separator-margin);translate:calc(var(--_separator) / -2) 0}.tx-stepper[data-styled] .tx-step-item--last .tx-step-panel__separator{visibility:hidden}.tx-stepper[data-styled] .tx-step-panel__content{padding:var(--tx-stepper-steppanel-padding);margin-inline-start:var(--tx-stepper-steppanel-indent)}@media(prefers-reduced-motion:reduce){.tx-stepper[data-styled] .tx-step__header,.tx-stepper[data-styled] .tx-step__title,.tx-stepper[data-styled] .tx-step__number,.tx-stepper[data-styled] .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item .tx-step-panel,.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:none}}\n"],
|
|
815
821
|
viewProviders: [provideTxIconDefaults(STEPPER_ICON_DEFAULTS)],
|
|
816
822
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
817
823
|
encapsulation: i0.ViewEncapsulation.None
|
|
@@ -819,7 +825,7 @@ var TxStepper = class TxStepper extends TxStepperRef {
|
|
|
819
825
|
};
|
|
820
826
|
i0.ɵɵngDeclareClassMetadata({
|
|
821
827
|
minVersion: "12.0.0",
|
|
822
|
-
version: "22.2.
|
|
828
|
+
version: "22.2.6",
|
|
823
829
|
ngImport: i0,
|
|
824
830
|
type: TxStepper,
|
|
825
831
|
decorators: [{
|
|
@@ -842,7 +848,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
842
848
|
"[class.tx-stepper--linear]": "linear()"
|
|
843
849
|
},
|
|
844
850
|
viewProviders: [provideTxIconDefaults(STEPPER_ICON_DEFAULTS)],
|
|
845
|
-
styles: [".tx-stepper{display:block;min-width:0}.tx-stepper--vertical{display:flex;flex-direction:column}.tx-stepper__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tx-step-list{position:relative;display:flex;justify-content:space-between;align-items:center;overflow-x:auto}.tx-step{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}.tx-step:last-of-type,.tx-step-item .tx-step{flex:initial}.tx-step__header{display:inline-flex;align-items:center;min-width:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.tx-step__header:disabled{cursor:default}.tx-step--active .tx-step__header{cursor:default}.tx-step__title{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-step__number{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-stepper__separator{display:block;flex:1 1 0}.tx-step-item{display:flex;flex-direction:column;flex:initial}.tx-step-item--active{flex:1 1 auto}.tx-step-panel{display:block}.tx-step-panel[hidden]{display:none}.tx-step-item .tx-step-panel{display:grid;grid-template-rows:0fr}.tx-step-item--active .tx-step-panel{grid-template-rows:1fr}.tx-step-panel__collapse{min-height:0;overflow:hidden}.tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{visibility:hidden}.tx-step-panel__wrapper{display:flex;min-height:0}.tx-step-panel__content{flex:1 1 auto;min-width:0}.tx-stepper[data-styled]{--_duration: var(--tx-stepper-transition-duration);--_panel-duration: var(--tx-stepper-panel-transition-duration);--_number: var(--tx-stepper-step-number-size);--_separator: var(--tx-stepper-separator-size);font-family:var(--tx-font-family)}.tx-stepper[data-styled] .tx-step{gap:var(--tx-stepper-step-gap);padding:var(--tx-stepper-step-padding)}.tx-stepper[data-styled] .tx-step__header{gap:var(--tx-stepper-step-header-gap);padding:var(--tx-stepper-step-header-padding);border-radius:var(--tx-stepper-step-header-border-radius);outline:0 solid transparent;transition:color var(--_duration),outline-color var(--_duration),box-shadow var(--_duration)}.tx-stepper[data-styled] .tx-step__header:focus-visible{outline:var(--tx-stepper-step-header-focus-ring-width) var(--tx-stepper-step-header-focus-ring-style) var(--tx-stepper-step-header-focus-ring-color);outline-offset:var(--tx-stepper-step-header-focus-ring-offset);box-shadow:var(--tx-stepper-step-header-focus-ring-shadow)}.tx-stepper[data-styled] .tx-step__title{color:var(--tx-stepper-step-title-color);font-size:var(--tx-stepper-step-title-font-size);font-weight:var(--tx-stepper-step-title-font-weight);transition:color var(--_duration)}.tx-stepper[data-styled] .tx-step__number{z-index:1;min-width:var(--_number);height:var(--_number);border:var(--tx-stepper-step-number-border-width) solid var(--tx-stepper-step-number-border-color);border-radius:var(--tx-stepper-step-number-border-radius);background:var(--tx-stepper-step-number-background);color:var(--tx-stepper-step-number-color);font-size:var(--tx-stepper-step-number-font-size);font-weight:var(--tx-stepper-step-number-font-weight);line-height:var(--_number);transition:color var(--_duration),background-color var(--_duration),border-color var(--_duration)}.tx-stepper[data-styled] .tx-step__number:after{content:\"\";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--tx-stepper-step-number-shadow)}.tx-stepper[data-styled] .tx-step--active .tx-step__number{border-color:var(--tx-stepper-step-number-active-border-color);background:var(--tx-stepper-step-number-active-background);color:var(--tx-stepper-step-number-active-color)}.tx-stepper[data-styled] .tx-step--active .tx-step__title{color:var(--tx-stepper-step-title-active-color)}.tx-stepper[data-styled] .tx-step--disabled .tx-step__header{opacity:var(--tx-stepper-step-header-disabled-opacity)}.tx-stepper[data-styled] .tx-stepper__separator{width:100%;height:var(--_separator);background:var(--tx-stepper-separator-background);transition:background-color var(--_duration)}.tx-stepper[data-styled] .tx-step--completed .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item--completed .tx-stepper__separator{background:var(--tx-stepper-separator-active-background)}.tx-stepper[data-styled] .tx-step-panels{display:block;padding:var(--tx-stepper-steppanels-padding)}.tx-stepper[data-styled] .tx-step-panel{background:var(--tx-stepper-steppanel-background);color:var(--tx-stepper-steppanel-color)}.tx-stepper[data-styled] .tx-step-item .tx-step-panel{transition:grid-template-rows var(--_panel-duration) cubic-bezier(.2,0,0,1)}.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:visibility 0s linear var(--_panel-duration)}.tx-stepper[data-styled] .tx-step-panel__separator{flex:0 0 auto;width:var(--_separator);height:auto;margin:var(--tx-stepper-separator-margin);translate:calc(var(--_separator) / -2) 0}.tx-stepper[data-styled] .tx-step-item--last .tx-step-panel__separator{visibility:hidden}.tx-stepper[data-styled] .tx-step-panel__content{padding:var(--tx-stepper-steppanel-padding);margin-inline-start:var(--tx-stepper-steppanel-indent)}@media(prefers-reduced-motion:reduce){.tx-stepper[data-styled] .tx-step__header,.tx-stepper[data-styled] .tx-step__title,.tx-stepper[data-styled] .tx-step__number,.tx-stepper[data-styled] .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item .tx-step-panel,.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:none}}\n"]
|
|
851
|
+
styles: [".tx-stepper{display:block;min-width:0}.tx-stepper--vertical{display:flex;flex-direction:column}.tx-stepper__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tx-step-list{position:relative;display:flex;justify-content:space-between;align-items:center;overflow-x:auto}.tx-step{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}.tx-step:last-of-type,.tx-step-item .tx-step{flex:initial}.tx-step__header{display:inline-flex;align-items:center;min-width:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.tx-step__header:disabled{cursor:default}.tx-step--active .tx-step__header{cursor:default}.tx-step__title{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-step__number{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-stepper__separator{display:block;flex:1 1 0}.tx-step-item{display:flex;flex-direction:column;flex:initial}.tx-step-item--active{flex:1 1 auto}.tx-step-panel{display:block}.tx-step-panel[hidden]{display:none}.tx-step-item .tx-step-panel{display:grid;grid-template-rows:0fr}.tx-step-item--active .tx-step-panel{grid-template-rows:1fr}.tx-step-panel__collapse{min-height:0;overflow:hidden}.tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{visibility:hidden}.tx-step-panel__wrapper{display:flex;min-height:0}.tx-step-panel__content{flex:1 1 auto;min-width:0}.tx-stepper[data-styled]{--_duration: var(--tx-stepper-transition-duration);--_panel-duration: var(--tx-stepper-panel-transition-duration);--_number: var(--tx-stepper-step-number-size);--_separator: var(--tx-stepper-separator-size);font-family:var(--tx-font-family)}.tx-stepper[data-styled] .tx-step{gap:var(--tx-stepper-step-gap);padding:var(--tx-stepper-step-padding)}.tx-stepper[data-styled] .tx-step__header{gap:var(--tx-stepper-step-header-gap);padding:var(--tx-stepper-step-header-padding);border-radius:var(--tx-stepper-step-header-border-radius);outline:0 solid transparent;transition:color var(--_duration),outline-color var(--_duration),box-shadow var(--_duration)}.tx-stepper[data-styled] .tx-step__header:focus-visible{outline:var(--tx-stepper-step-header-focus-ring-width) var(--tx-stepper-step-header-focus-ring-style) var(--tx-stepper-step-header-focus-ring-color);outline-offset:var(--tx-stepper-step-header-focus-ring-offset);box-shadow:var(--tx-stepper-step-header-focus-ring-shadow)}.tx-stepper[data-styled] .tx-step__title{color:var(--tx-stepper-step-title-color);font-size:var(--tx-stepper-step-title-font-size);font-weight:var(--tx-stepper-step-title-font-weight);transition:color var(--_duration)}.tx-stepper[data-styled] .tx-step__number{z-index:1;min-width:var(--_number);height:var(--_number);border:var(--tx-stepper-step-number-border-width) solid var(--tx-stepper-step-number-border-color);border-radius:var(--tx-stepper-step-number-border-radius);background:var(--tx-stepper-step-number-background);color:var(--tx-stepper-step-number-color);font-size:var(--tx-stepper-step-number-font-size);font-weight:var(--tx-stepper-step-number-font-weight);line-height:var(--_number);transition:color var(--_duration),background-color var(--_duration),border-color var(--_duration)}.tx-stepper[data-styled] .tx-step__number:after{content:\"\";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--tx-stepper-step-number-shadow)}.tx-stepper[data-styled] .tx-step--completed:not(.tx-step--active) .tx-step__number{border-color:var(--tx-stepper-step-number-completed-border-color);background:var(--tx-stepper-step-number-completed-background);color:var(--tx-stepper-step-number-completed-color)}.tx-stepper[data-styled] .tx-step--active .tx-step__number{border-color:var(--tx-stepper-step-number-active-border-color);background:var(--tx-stepper-step-number-active-background);color:var(--tx-stepper-step-number-active-color)}.tx-stepper[data-styled] .tx-step--active .tx-step__title{color:var(--tx-stepper-step-title-active-color)}.tx-stepper[data-styled] .tx-step--disabled .tx-step__header{opacity:var(--tx-stepper-step-header-disabled-opacity)}.tx-stepper[data-styled] .tx-stepper__separator{width:100%;height:var(--_separator);background:var(--tx-stepper-separator-background);transition:background-color var(--_duration)}.tx-stepper[data-styled] .tx-step--completed .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item--completed .tx-stepper__separator{background:var(--tx-stepper-separator-active-background)}.tx-stepper[data-styled] .tx-step-panels{display:block;padding:var(--tx-stepper-steppanels-padding)}.tx-stepper[data-styled] .tx-step-panel{background:var(--tx-stepper-steppanel-background);color:var(--tx-stepper-steppanel-color)}.tx-stepper[data-styled] .tx-step-item .tx-step-panel{transition:grid-template-rows var(--_panel-duration) cubic-bezier(.2,0,0,1)}.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:visibility 0s linear var(--_panel-duration)}.tx-stepper[data-styled] .tx-step-panel__separator{flex:0 0 auto;width:var(--_separator);height:auto;margin:var(--tx-stepper-separator-margin);translate:calc(var(--_separator) / -2) 0}.tx-stepper[data-styled] .tx-step-item--last .tx-step-panel__separator{visibility:hidden}.tx-stepper[data-styled] .tx-step-panel__content{padding:var(--tx-stepper-steppanel-padding);margin-inline-start:var(--tx-stepper-steppanel-indent)}@media(prefers-reduced-motion:reduce){.tx-stepper[data-styled] .tx-step__header,.tx-stepper[data-styled] .tx-step__title,.tx-stepper[data-styled] .tx-step__number,.tx-stepper[data-styled] .tx-stepper__separator,.tx-stepper[data-styled] .tx-step-item .tx-step-panel,.tx-stepper[data-styled] .tx-step-item:not(.tx-step-item--active) .tx-step-panel__collapse{transition:none}}\n"]
|
|
846
852
|
}]
|
|
847
853
|
}],
|
|
848
854
|
propDecorators: {
|
|
@@ -996,7 +1002,7 @@ var TxSteps = class TxSteps {
|
|
|
996
1002
|
}
|
|
997
1003
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
998
1004
|
minVersion: "12.0.0",
|
|
999
|
-
version: "22.2.
|
|
1005
|
+
version: "22.2.6",
|
|
1000
1006
|
ngImport: i0,
|
|
1001
1007
|
type: TxSteps,
|
|
1002
1008
|
deps: [],
|
|
@@ -1004,7 +1010,7 @@ var TxSteps = class TxSteps {
|
|
|
1004
1010
|
});
|
|
1005
1011
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1006
1012
|
minVersion: "17.0.0",
|
|
1007
|
-
version: "22.2.
|
|
1013
|
+
version: "22.2.6",
|
|
1008
1014
|
type: TxSteps,
|
|
1009
1015
|
isStandalone: true,
|
|
1010
1016
|
selector: "tx-steps",
|
|
@@ -1122,7 +1128,7 @@ var TxSteps = class TxSteps {
|
|
|
1122
1128
|
};
|
|
1123
1129
|
i0.ɵɵngDeclareClassMetadata({
|
|
1124
1130
|
minVersion: "12.0.0",
|
|
1125
|
-
version: "22.2.
|
|
1131
|
+
version: "22.2.6",
|
|
1126
1132
|
ngImport: i0,
|
|
1127
1133
|
type: TxSteps,
|
|
1128
1134
|
decorators: [{
|