@tectra-ng/blocks 0.4.1 → 0.4.2
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/cookie-notice/README.md +3 -1
- package/fesm2022/tectra-ng-blocks-action-tile.mjs +2 -0
- package/fesm2022/tectra-ng-blocks-action-tile.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-app-layout.mjs +4 -2
- package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-command-palette.mjs +2 -2
- package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-console-layout.mjs +2 -0
- package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +53 -7
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-empty-state.mjs +2 -0
- package/fesm2022/tectra-ng-blocks-empty-state.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs +2 -2
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-network-status.mjs +114 -34
- package/fesm2022/tectra-ng-blocks-network-status.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-page-header.mjs +4 -2
- package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs +41 -6
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-public-header.mjs +4 -4
- package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-theme-configurator.mjs +414 -0
- package/fesm2022/tectra-ng-blocks-theme-configurator.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-wizard.mjs +55 -25
- package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks.mjs +1 -1
- package/network-status/README.md +20 -4
- package/package.json +11 -6
- package/pinned-tabs/README.md +5 -1
- package/theme-configurator/README.md +59 -0
- package/types/tectra-ng-blocks-action-tile.d.ts.map +1 -1
- package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -1
- package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -1
- package/types/tectra-ng-blocks-cookie-notice.d.ts +15 -0
- package/types/tectra-ng-blocks-cookie-notice.d.ts.map +1 -1
- package/types/tectra-ng-blocks-empty-state.d.ts.map +1 -1
- package/types/tectra-ng-blocks-network-status.d.ts +29 -7
- package/types/tectra-ng-blocks-network-status.d.ts.map +1 -1
- package/types/tectra-ng-blocks-page-header.d.ts.map +1 -1
- package/types/tectra-ng-blocks-pinned-tabs.d.ts +15 -0
- package/types/tectra-ng-blocks-pinned-tabs.d.ts.map +1 -1
- package/types/tectra-ng-blocks-theme-configurator.d.ts +98 -0
- package/types/tectra-ng-blocks-theme-configurator.d.ts.map +1 -0
- package/types/tectra-ng-blocks-wizard.d.ts +2 -0
- package/types/tectra-ng-blocks-wizard.d.ts.map +1 -1
- package/types/tectra-ng-blocks.d.ts +1 -1
- package/wizard/README.md +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-theme-configurator.mjs","names":[],"sources":["../../../../packages/blocks/theme-configurator/src/theme-configurator.theme.ts","../../../../packages/blocks/theme-configurator/src/theme-configurator.component.ts","../../../../packages/blocks/theme-configurator/src/theme-configurator.component.html"],"sourcesContent":["import { themeConfiguratorTokens } from '@tectra-ng/themes';\n\nexport const THEME_CONFIGURATOR_THEME = {\n themeConfigurator: themeConfiguratorTokens,\n};\n","import { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, computed, inject, input, numberAttribute, output, viewChildren } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions, TxThemeChoice, TxThemeService } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport {\n TectraDeepPartial,\n TectraPresetSource,\n TectraPrimary,\n TectraStyle,\n TectraSurface,\n TectraThemeConfiguratorTokens,\n tectraPrimaryChoices,\n tectraSurfaceChoices,\n toStyleObject,\n} from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxButtonGroup } from '@tectra-ng/ui/button-group';\nimport { TxColorSwatchOption, TxColorSwatches } from '@tectra-ng/ui/color-swatches';\nimport { TxToggleSwitch } from '@tectra-ng/ui/toggle-switch';\nimport { TxThemeConfiguratorPart } from './theme-configurator.types';\nimport { THEME_CONFIGURATOR_THEME } from './theme-configurator.theme';\n\nconst STEPS: Record<string, number> = { ArrowRight: 1, ArrowDown: 1, ArrowLeft: -1, ArrowUp: -1 };\nconst ALL_PRIMARIES = tectraPrimaryChoices();\nconst ALL_SURFACES = tectraSurfaceChoices();\n\n/** Theme settings at run time: primary color, surface palette, style and ripple, applied through `TxThemeService`. */\n@Component({\n selector: 'tx-theme-configurator',\n imports: [FormsModule, TxButton, TxButtonGroup, TxColorSwatches, TxToggleSwitch],\n templateUrl: './theme-configurator.component.html',\n styleUrl: './theme-configurator.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-theme-configurator',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n})\nexport class TxThemeConfigurator {\n private readonly themeConfiguratorTheme = injectTokens(THEME_CONFIGURATOR_THEME);\n\n protected readonly theme = inject(TxThemeService);\n\n readonly styles = input<readonly TectraStyle[]>([]);\n readonly primaries = input<readonly TxColorSwatchOption<TectraPrimary>[]>(ALL_PRIMARIES);\n readonly surfaces = input<readonly TxColorSwatchOption<TectraSurface>[]>(ALL_SURFACES);\n readonly columns = input<number, unknown>(9, { transform: numberAttribute });\n readonly showRipple = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraThemeConfiguratorTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxThemeConfiguratorPart, TxThemeConfigurator> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly themeChange = output<TectraPresetSource>();\n readonly rippleChange = output<boolean>();\n\n private readonly segmentButtons = viewChildren('segment', { read: ElementRef<HTMLButtonElement> });\n\n protected readonly id = uniqueId('tx-theme-configurator');\n protected readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('themeConfigurator', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-theme-configurator'), ...this.passThrough().root?.style }));\n protected readonly styleIndex = computed(() => this.styles().findIndex((style) => style.name === this.theme.style().name));\n\n update(choice: TxThemeChoice): void {\n this.theme.updateTheme(choice);\n this.themeChange.emit({ style: this.theme.style(), primary: this.theme.primary(), surface: this.theme.surface() });\n }\n\n setRipple(enabled: boolean): void {\n this.theme.setRipple(enabled);\n this.rippleChange.emit(enabled);\n }\n\n protected selectStyle(index: number): void {\n if (index !== this.styleIndex()) {\n this.update({ style: this.styles()[index] });\n }\n }\n\n protected onSegmentKeydown(event: KeyboardEvent, index: number): void {\n const count = this.styles().length;\n const next = event.key === 'Home' ? 0 : event.key === 'End' ? count - 1 : event.key in STEPS ? (index + STEPS[event.key] + count) % count : -1;\n if (next < 0) {\n return;\n }\n event.preventDefault();\n this.segmentButtons()[next].nativeElement.focus();\n this.selectStyle(next);\n }\n}\n","@if (primaries().length) {\n <div class=\"tx-theme-configurator__section\" [class]=\"passThrough().section?.class\" [style]=\"passThrough().section?.style\">\n <span class=\"tx-theme-configurator__label\" [id]=\"id + '-primary'\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ translations().themePrimary }}</span>\n <tx-color-swatches\n class=\"tx-theme-configurator__swatches\"\n [class]=\"passThrough().swatches?.class\"\n [style]=\"passThrough().swatches?.style\"\n [options]=\"primaries()\"\n [columns]=\"columns()\"\n [ariaLabelledBy]=\"id + '-primary'\"\n [ngModel]=\"theme.primary()\"\n (ngModelChange)=\"update({ primary: $event })\"\n />\n </div>\n}\n@if (surfaces().length) {\n <div class=\"tx-theme-configurator__section\" [class]=\"passThrough().section?.class\" [style]=\"passThrough().section?.style\">\n <span class=\"tx-theme-configurator__label\" [id]=\"id + '-surface'\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ translations().themeSurface }}</span>\n <tx-color-swatches\n class=\"tx-theme-configurator__swatches\"\n [class]=\"passThrough().swatches?.class\"\n [style]=\"passThrough().swatches?.style\"\n [options]=\"surfaces()\"\n [columns]=\"columns()\"\n [ariaLabelledBy]=\"id + '-surface'\"\n [ngModel]=\"theme.surface()\"\n (ngModelChange)=\"update({ surface: $event })\"\n />\n </div>\n}\n@if (styles().length > 1) {\n <div class=\"tx-theme-configurator__section\" [class]=\"passThrough().section?.class\" [style]=\"passThrough().section?.style\">\n <span class=\"tx-theme-configurator__label\" [id]=\"id + '-style'\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ translations().themeStyle }}</span>\n <div class=\"tx-theme-configurator__segments\" role=\"radiogroup\" [attr.aria-labelledby]=\"id + '-style'\" [class]=\"passThrough().segments?.class\" [style]=\"passThrough().segments?.style\">\n <tx-button-group>\n @for (style of styles(); track style.name; let index = $index) {\n <button\n #segment\n txButton\n type=\"button\"\n role=\"radio\"\n size=\"small\"\n class=\"tx-theme-configurator__segment\"\n [class]=\"passThrough().segment?.class\"\n [style]=\"passThrough().segment?.style\"\n [severity]=\"index === styleIndex() ? 'primary' : 'secondary'\"\n [outlined]=\"index !== styleIndex()\"\n [attr.aria-checked]=\"index === styleIndex()\"\n [tabindex]=\"index === styleIndex() || (styleIndex() < 0 && index === 0) ? 0 : -1\"\n (click)=\"selectStyle(index)\"\n (keydown)=\"onSegmentKeydown($event, index)\"\n >\n {{ style.label }}\n </button>\n }\n </tx-button-group>\n </div>\n </div>\n}\n@if (showRipple()) {\n <div class=\"tx-theme-configurator__section tx-theme-configurator__section--row\" [class]=\"passThrough().section?.class\" [style]=\"passThrough().section?.style\">\n <span class=\"tx-theme-configurator__label\" [id]=\"id + '-ripple'\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ translations().themeRipple }}</span>\n <tx-toggle-switch [ariaLabelledBy]=\"id + '-ripple'\" [ngModel]=\"theme.ripple()\" (ngModelChange)=\"setRipple($event)\" />\n </div>\n}\n"],"mappings":";;;;;;;;;;;;;AAEA,MAAa,2BAA2B,EACtC,mBAAmB,wBACpB;ACoBD,MAAM,QAAgC;CAAE,YAAY;CAAG,WAAW;CAAG,WAAW;CAAI,SAAS;AAAE;AAC/F,MAAM,gBAAgB,qBAAoB;AAC1C,MAAM,eAAe,qBAAoB;AAgBzC,IAAa,sBAAb,MAAa,oBAAmB;CACb,yBAAyB,aAAa,wBAAwB;CAE5D,QAAQ,OAAO,cAAc;CAEvC,SAAS,MAA8B,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAC1C,YAAY,MAAqD,eAAc,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAC/E,WAAW,MAAqD,cAAa,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAC7E,UAAU,MAAuB,GAAC;EAAA,GAAA,YAAA,EAAA,WAAA,UAAA,+BAAA,CAAA;EAAI,WAAW;CAAe,CAAA;CAChE,aAAa,MAAwB,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,aAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;C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;EAAA,CAAA;EAAA,IAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,WAAS;IAAI,MAAM;IAA+B,UAAA;GAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, booleanAttribute, computed, inject, input, numberAttribute, output } from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, afterRenderEffect, booleanAttribute, computed, inject, input, numberAttribute, output, viewChild } from "@angular/core";
|
|
3
3
|
import { injectPassThrough, injectTokens, injectUnstyled } from "@tectra-ng/core/config";
|
|
4
4
|
import { optionalBoolean } from "@tectra-ng/core/utils";
|
|
5
5
|
import { toStyleObject, wizardTokens } from "@tectra-ng/themes";
|
|
@@ -114,7 +114,7 @@ var TxWizardLayout = class TxWizardLayout {
|
|
|
114
114
|
</div>
|
|
115
115
|
`,
|
|
116
116
|
isInline: true,
|
|
117
|
-
styles: [":host{display:block}.tx-wizard-layout__grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:inherit}:host([data-responsive=container]){container:tx-wizard/inline-size;contain:layout}.tx-wizard-layout__panel{display:flex;justify-content:center;min-width:0}.tx-wizard-layout__inner{display:flex;flex-direction:column;box-sizing:border-box;width:100%}.tx-wizard-layout__main{display:flex;flex:1;flex-direction:column;justify-content:center}.tx-wizard-layout__visual{order:-1;min-width:0}.tx-wizard-layout__visual:empty{display:none}:host([data-styled]){min-height:var(--tx-wizard-layout-min-height);background:var(--tx-wizard-layout-background);color:var(--tx-wizard-layout-color);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-layout__inner{max-width:var(--tx-wizard-layout-max-width);padding:var(--tx-wizard-layout-padding)}:host([data-styled]) .tx-wizard-layout__main{gap:var(--tx-wizard-layout-main-gap);padding:var(--tx-wizard-layout-main-padding)}:host([data-styled]) ::ng-deep .tx-wizard-step--enter{animation:tx-wizard-step-in var(--tx-wizard-layout-step-duration) var(--tx-wizard-layout-step-easing) both}@media(width>=640px){:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@container tx-wizard (width >= 640px){:host([data-responsive=container][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@media(width>=1024px){:host([data-responsive=viewport]) .tx-wizard-layout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}:host([data-responsive=viewport]) .tx-wizard-layout__visual{
|
|
117
|
+
styles: [":host{display:block}.tx-wizard-layout__grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:inherit}:host([data-responsive=container]){container:tx-wizard/inline-size;contain:layout}.tx-wizard-layout__panel{display:flex;justify-content:center;min-width:0}.tx-wizard-layout__inner{display:flex;flex-direction:column;box-sizing:border-box;width:100%}.tx-wizard-layout__main{display:flex;flex:1;flex-direction:column;justify-content:center}.tx-wizard-layout__visual{order:-1;min-width:0}.tx-wizard-layout__visual:empty{display:none}:host([data-styled]){min-height:var(--tx-wizard-layout-min-height);background:var(--tx-wizard-layout-background);color:var(--tx-wizard-layout-color);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-layout__inner{max-width:var(--tx-wizard-layout-max-width);padding:var(--tx-wizard-layout-padding)}:host([data-styled]) .tx-wizard-layout__main{gap:var(--tx-wizard-layout-main-gap);padding:var(--tx-wizard-layout-main-padding)}:host([data-styled]) ::ng-deep .tx-wizard-step--enter{animation:tx-wizard-step-in var(--tx-wizard-layout-step-duration) var(--tx-wizard-layout-step-easing) both}@media(width>=640px){:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@container tx-wizard (width >= 640px){:host([data-responsive=container][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@media(width>=1024px){:host([data-responsive=viewport]) .tx-wizard-layout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}:host([data-responsive=viewport]) .tx-wizard-layout__visual{order:0}:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__inner{min-height:var(--tx-wizard-layout-min-height);padding:var(--tx-wizard-layout-wide-padding)}:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__visual{min-height:var(--tx-wizard-layout-min-height)}}@container tx-wizard (width >= 1024px){:host([data-responsive=container]) .tx-wizard-layout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}:host([data-responsive=container]) .tx-wizard-layout__visual{order:0}:host([data-responsive=container][data-styled]) .tx-wizard-layout__inner{min-height:var(--tx-wizard-layout-min-height);padding:var(--tx-wizard-layout-wide-padding)}:host([data-responsive=container][data-styled]) .tx-wizard-layout__visual{min-height:var(--tx-wizard-layout-min-height)}}@keyframes tx-wizard-step-in{0%{opacity:0;transform:translateY(var(--tx-wizard-layout-step-shift))}}@media(prefers-reduced-motion:reduce){:host([data-styled]) ::ng-deep .tx-wizard-step--enter{animation:none}}\n"],
|
|
118
118
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
119
119
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
120
120
|
});
|
|
@@ -159,7 +159,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
159
159
|
"[attr.data-responsive]": "responsive()"
|
|
160
160
|
},
|
|
161
161
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
162
|
-
styles: [":host{display:block}.tx-wizard-layout__grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:inherit}:host([data-responsive=container]){container:tx-wizard/inline-size;contain:layout}.tx-wizard-layout__panel{display:flex;justify-content:center;min-width:0}.tx-wizard-layout__inner{display:flex;flex-direction:column;box-sizing:border-box;width:100%}.tx-wizard-layout__main{display:flex;flex:1;flex-direction:column;justify-content:center}.tx-wizard-layout__visual{order:-1;min-width:0}.tx-wizard-layout__visual:empty{display:none}:host([data-styled]){min-height:var(--tx-wizard-layout-min-height);background:var(--tx-wizard-layout-background);color:var(--tx-wizard-layout-color);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-layout__inner{max-width:var(--tx-wizard-layout-max-width);padding:var(--tx-wizard-layout-padding)}:host([data-styled]) .tx-wizard-layout__main{gap:var(--tx-wizard-layout-main-gap);padding:var(--tx-wizard-layout-main-padding)}:host([data-styled]) ::ng-deep .tx-wizard-step--enter{animation:tx-wizard-step-in var(--tx-wizard-layout-step-duration) var(--tx-wizard-layout-step-easing) both}@media(width>=640px){:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@container tx-wizard (width >= 640px){:host([data-responsive=container][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@media(width>=1024px){:host([data-responsive=viewport]) .tx-wizard-layout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}:host([data-responsive=viewport]) .tx-wizard-layout__visual{
|
|
162
|
+
styles: [":host{display:block}.tx-wizard-layout__grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:inherit}:host([data-responsive=container]){container:tx-wizard/inline-size;contain:layout}.tx-wizard-layout__panel{display:flex;justify-content:center;min-width:0}.tx-wizard-layout__inner{display:flex;flex-direction:column;box-sizing:border-box;width:100%}.tx-wizard-layout__main{display:flex;flex:1;flex-direction:column;justify-content:center}.tx-wizard-layout__visual{order:-1;min-width:0}.tx-wizard-layout__visual:empty{display:none}:host([data-styled]){min-height:var(--tx-wizard-layout-min-height);background:var(--tx-wizard-layout-background);color:var(--tx-wizard-layout-color);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-layout__inner{max-width:var(--tx-wizard-layout-max-width);padding:var(--tx-wizard-layout-padding)}:host([data-styled]) .tx-wizard-layout__main{gap:var(--tx-wizard-layout-main-gap);padding:var(--tx-wizard-layout-main-padding)}:host([data-styled]) ::ng-deep .tx-wizard-step--enter{animation:tx-wizard-step-in var(--tx-wizard-layout-step-duration) var(--tx-wizard-layout-step-easing) both}@media(width>=640px){:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@container tx-wizard (width >= 640px){:host([data-responsive=container][data-styled]) .tx-wizard-layout__inner{padding:var(--tx-wizard-layout-small-padding)}}@media(width>=1024px){:host([data-responsive=viewport]) .tx-wizard-layout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}:host([data-responsive=viewport]) .tx-wizard-layout__visual{order:0}:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__inner{min-height:var(--tx-wizard-layout-min-height);padding:var(--tx-wizard-layout-wide-padding)}:host([data-responsive=viewport][data-styled]) .tx-wizard-layout__visual{min-height:var(--tx-wizard-layout-min-height)}}@container tx-wizard (width >= 1024px){:host([data-responsive=container]) .tx-wizard-layout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}:host([data-responsive=container]) .tx-wizard-layout__visual{order:0}:host([data-responsive=container][data-styled]) .tx-wizard-layout__inner{min-height:var(--tx-wizard-layout-min-height);padding:var(--tx-wizard-layout-wide-padding)}:host([data-responsive=container][data-styled]) .tx-wizard-layout__visual{min-height:var(--tx-wizard-layout-min-height)}}@keyframes tx-wizard-step-in{0%{opacity:0;transform:translateY(var(--tx-wizard-layout-step-shift))}}@media(prefers-reduced-motion:reduce){:host([data-styled]) ::ng-deep .tx-wizard-step--enter{animation:none}}\n"]
|
|
163
163
|
}]
|
|
164
164
|
}],
|
|
165
165
|
propDecorators: {
|
|
@@ -334,7 +334,7 @@ var TxWizardProgress = class TxWizardProgress {
|
|
|
334
334
|
</ol>
|
|
335
335
|
`,
|
|
336
336
|
isInline: true,
|
|
337
|
-
styles: [":host{display:flex;flex-direction:column}.tx-wizard-progress__segments{display:flex;margin:0;padding:0;list-style:none}.tx-wizard-progress__segment{position:relative;flex:1;overflow:hidden}.tx-wizard-progress__fill{position:absolute;inset:0;transform-origin:left;scale:0 1}.tx-wizard-progress__segment--done .tx-wizard-progress__fill,.tx-wizard-progress__segment--current .tx-wizard-progress__fill{scale:1 1}:host([data-styled]){gap:var(--tx-wizard-progress-gap);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-progress__label{color:var(--tx-wizard-progress-label-color);font-size:var(--tx-wizard-progress-label-font-size);font-weight:var(--tx-wizard-progress-label-font-weight);letter-spacing:var(--tx-wizard-progress-label-letter-spacing)
|
|
337
|
+
styles: [":host{display:flex;flex-direction:column}.tx-wizard-progress__segments{display:flex;margin:0;padding:0;list-style:none}.tx-wizard-progress__segment{position:relative;flex:1;overflow:hidden}.tx-wizard-progress__fill{position:absolute;inset:0;transform-origin:left;scale:0 1}.tx-wizard-progress__segment--done .tx-wizard-progress__fill,.tx-wizard-progress__segment--current .tx-wizard-progress__fill{scale:1 1}:host([data-styled]){gap:var(--tx-wizard-progress-gap);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-progress__label{color:var(--tx-wizard-progress-label-color);font-size:var(--tx-wizard-progress-label-font-size);font-weight:var(--tx-wizard-progress-label-font-weight);letter-spacing:var(--tx-wizard-progress-label-letter-spacing)}:host([data-styled]) .tx-wizard-progress__segments{gap:var(--tx-wizard-progress-segment-gap)}:host([data-styled]) .tx-wizard-progress__segment{height:var(--tx-wizard-progress-segment-height);border-radius:var(--tx-radius-full);background:var(--tx-wizard-progress-segment-background)}:host([data-styled]) .tx-wizard-progress__fill{border-radius:var(--tx-radius-full);background:var(--tx-wizard-progress-fill-background);transition:scale var(--tx-wizard-progress-duration) var(--tx-wizard-progress-easing),opacity var(--tx-wizard-progress-duration) var(--tx-wizard-progress-easing)}:host([data-styled]) .tx-wizard-progress__segment--current .tx-wizard-progress__fill{opacity:var(--tx-wizard-progress-current-opacity)}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-wizard-progress__fill{transition:none}}\n"],
|
|
338
338
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
339
339
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
340
340
|
});
|
|
@@ -376,7 +376,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
376
376
|
"[attr.data-styled]": "!isUnstyled() || null"
|
|
377
377
|
},
|
|
378
378
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
379
|
-
styles: [":host{display:flex;flex-direction:column}.tx-wizard-progress__segments{display:flex;margin:0;padding:0;list-style:none}.tx-wizard-progress__segment{position:relative;flex:1;overflow:hidden}.tx-wizard-progress__fill{position:absolute;inset:0;transform-origin:left;scale:0 1}.tx-wizard-progress__segment--done .tx-wizard-progress__fill,.tx-wizard-progress__segment--current .tx-wizard-progress__fill{scale:1 1}:host([data-styled]){gap:var(--tx-wizard-progress-gap);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-progress__label{color:var(--tx-wizard-progress-label-color);font-size:var(--tx-wizard-progress-label-font-size);font-weight:var(--tx-wizard-progress-label-font-weight);letter-spacing:var(--tx-wizard-progress-label-letter-spacing)
|
|
379
|
+
styles: [":host{display:flex;flex-direction:column}.tx-wizard-progress__segments{display:flex;margin:0;padding:0;list-style:none}.tx-wizard-progress__segment{position:relative;flex:1;overflow:hidden}.tx-wizard-progress__fill{position:absolute;inset:0;transform-origin:left;scale:0 1}.tx-wizard-progress__segment--done .tx-wizard-progress__fill,.tx-wizard-progress__segment--current .tx-wizard-progress__fill{scale:1 1}:host([data-styled]){gap:var(--tx-wizard-progress-gap);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-progress__label{color:var(--tx-wizard-progress-label-color);font-size:var(--tx-wizard-progress-label-font-size);font-weight:var(--tx-wizard-progress-label-font-weight);letter-spacing:var(--tx-wizard-progress-label-letter-spacing)}:host([data-styled]) .tx-wizard-progress__segments{gap:var(--tx-wizard-progress-segment-gap)}:host([data-styled]) .tx-wizard-progress__segment{height:var(--tx-wizard-progress-segment-height);border-radius:var(--tx-radius-full);background:var(--tx-wizard-progress-segment-background)}:host([data-styled]) .tx-wizard-progress__fill{border-radius:var(--tx-radius-full);background:var(--tx-wizard-progress-fill-background);transition:scale var(--tx-wizard-progress-duration) var(--tx-wizard-progress-easing),opacity var(--tx-wizard-progress-duration) var(--tx-wizard-progress-easing)}:host([data-styled]) .tx-wizard-progress__segment--current .tx-wizard-progress__fill{opacity:var(--tx-wizard-progress-current-opacity)}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-wizard-progress__fill{transition:none}}\n"]
|
|
380
380
|
}]
|
|
381
381
|
}],
|
|
382
382
|
propDecorators: {
|
|
@@ -541,7 +541,8 @@ var TxWizardStepHead = class TxWizardStepHead {
|
|
|
541
541
|
properties: {
|
|
542
542
|
"class": "passThrough().root?.class",
|
|
543
543
|
"style": "hostStyle()",
|
|
544
|
-
"attr.data-styled": "!isUnstyled() || null"
|
|
544
|
+
"attr.data-styled": "!isUnstyled() || null",
|
|
545
|
+
"attr.title": "null"
|
|
545
546
|
},
|
|
546
547
|
classAttribute: "tx-wizard-step-head"
|
|
547
548
|
},
|
|
@@ -624,7 +625,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
624
625
|
class: "tx-wizard-step-head",
|
|
625
626
|
"[class]": "passThrough().root?.class",
|
|
626
627
|
"[style]": "hostStyle()",
|
|
627
|
-
"[attr.data-styled]": "!isUnstyled() || null"
|
|
628
|
+
"[attr.data-styled]": "!isUnstyled() || null",
|
|
629
|
+
"[attr.title]": "null"
|
|
628
630
|
},
|
|
629
631
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
630
632
|
styles: [":host{display:flex;flex-direction:column;align-items:flex-start}.tx-wizard-step-head__icon{display:flex;align-items:center;justify-content:center}.tx-wizard-step-head__title-row{display:flex;flex-wrap:wrap;align-items:center}.tx-wizard-step-head__title,.tx-wizard-step-head__lead{margin:0}:host([data-styled]){gap:var(--tx-wizard-step-head-gap);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-step-head__icon{width:var(--tx-wizard-step-head-icon-size);height:var(--tx-wizard-step-head-icon-size);border-radius:var(--tx-wizard-step-head-icon-border-radius);background:var(--tx-wizard-step-head-icon-background);color:var(--tx-wizard-step-head-icon-color);font-size:var(--tx-wizard-step-head-icon-font-size)}:host([data-styled]) .tx-wizard-step-head__title-row{gap:var(--tx-wizard-step-head-title-gap)}:host([data-styled]) .tx-wizard-step-head__title{color:var(--tx-wizard-step-head-title-color);font-size:var(--tx-wizard-step-head-title-font-size);font-weight:var(--tx-wizard-step-head-title-font-weight);line-height:var(--tx-wizard-step-head-title-line-height);letter-spacing:var(--tx-wizard-step-head-title-letter-spacing)}:host([data-styled]) .tx-wizard-step-head__lead{max-width:var(--tx-wizard-step-head-lead-max-width);color:var(--tx-wizard-step-head-lead-color);font-size:var(--tx-wizard-step-head-lead-font-size);line-height:var(--tx-wizard-step-head-lead-line-height)}\n"]
|
|
@@ -717,6 +719,16 @@ var TxWizardStage = class TxWizardStage {
|
|
|
717
719
|
...toStyleObject(this.dt(), "--tx-wizard"),
|
|
718
720
|
...this.passThrough().root?.style
|
|
719
721
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
722
|
+
captionElement = viewChild("captionElement", ...ngDevMode ? [{ debugName: "captionElement" }] : /* istanbul ignore next */ []);
|
|
723
|
+
constructor() {
|
|
724
|
+
let shown;
|
|
725
|
+
afterRenderEffect(() => {
|
|
726
|
+
const text = this.caption();
|
|
727
|
+
const element = this.captionElement()?.nativeElement;
|
|
728
|
+
if (element && shown !== void 0 && text !== shown) replayCaption(element);
|
|
729
|
+
shown = element ? text : void 0;
|
|
730
|
+
});
|
|
731
|
+
}
|
|
720
732
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
721
733
|
minVersion: "12.0.0",
|
|
722
734
|
version: "22.2.5",
|
|
@@ -792,25 +804,32 @@ var TxWizardStage = class TxWizardStage {
|
|
|
792
804
|
},
|
|
793
805
|
classAttribute: "tx-wizard-stage"
|
|
794
806
|
},
|
|
807
|
+
viewQueries: [{
|
|
808
|
+
propertyName: "captionElement",
|
|
809
|
+
first: true,
|
|
810
|
+
predicate: ["captionElement"],
|
|
811
|
+
descendants: true,
|
|
812
|
+
isSignal: true
|
|
813
|
+
}],
|
|
795
814
|
ngImport: i0,
|
|
796
815
|
template: `
|
|
797
816
|
<ng-content select="[txWizardBackdrop]" />
|
|
798
|
-
<div class="tx-wizard-
|
|
799
|
-
<
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
@
|
|
803
|
-
<div class="tx-wizard-stage__caption" animate.enter="tx-wizard-stage__caption--enter" [class]="passThrough().caption?.class" [style]="passThrough().caption?.style">
|
|
817
|
+
<div class="tx-wizard-stage__inner">
|
|
818
|
+
<div class="tx-wizard-stage__stage" aria-hidden="true" [class]="passThrough().stage?.class" [style]="passThrough().stage?.style">
|
|
819
|
+
<ng-content />
|
|
820
|
+
</div>
|
|
821
|
+
@if (caption(); as text) {
|
|
822
|
+
<div #captionElement class="tx-wizard-stage__caption" animate.enter="tx-wizard-stage__caption--enter" [class]="passThrough().caption?.class" [style]="passThrough().caption?.style">
|
|
804
823
|
@if (number() !== undefined) {
|
|
805
824
|
<span class="tx-wizard-stage__number">{{ number() | number: '2.0-0' }}</span>
|
|
806
825
|
}
|
|
807
|
-
<span class="tx-wizard-stage__title">{{
|
|
826
|
+
<span class="tx-wizard-stage__title">{{ text }}</span>
|
|
808
827
|
</div>
|
|
809
828
|
}
|
|
810
|
-
|
|
829
|
+
</div>
|
|
811
830
|
`,
|
|
812
831
|
isInline: true,
|
|
813
|
-
styles: [":host{--_shift: 1;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;height:100%;overflow:
|
|
832
|
+
styles: [":host{--_shift: 1;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;height:100%;overflow:clip}.tx-wizard-stage__inner{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%}:host([data-direction=back]){--_shift: -1}.tx-wizard-stage__stage{display:grid;flex-shrink:0;place-items:center}.tx-wizard-stage__caption{display:none;flex-direction:column;align-items:center;text-align:center}:host ::ng-deep .tx-wizard-scene{display:block;grid-area:1/1;width:100%;height:100%}:host([data-styled]){min-height:var(--tx-wizard-stage-min-height);background:var(--tx-wizard-stage-background);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-stage__inner{gap:var(--tx-wizard-stage-gap);padding:var(--tx-wizard-stage-padding)}:host([data-styled]) .tx-wizard-stage__stage{width:var(--tx-wizard-stage-size);height:var(--tx-wizard-stage-size);margin-block:calc(var(--tx-wizard-stage-size) * (var(--tx-wizard-stage-narrow-scale) - 1) / 2);scale:var(--tx-wizard-stage-narrow-scale)}:host([data-styled]) .tx-wizard-stage__caption{gap:var(--tx-wizard-stage-caption-gap)}:host([data-styled]) .tx-wizard-stage__caption--enter{animation:tx-wizard-caption-in var(--tx-wizard-stage-caption-duration) var(--tx-wizard-stage-scene-easing) both}:host([data-styled]) .tx-wizard-stage__number{color:var(--tx-wizard-stage-number-color);font-size:var(--tx-wizard-stage-number-font-size);font-weight:var(--tx-wizard-stage-number-font-weight);font-variant-numeric:tabular-nums}:host([data-styled]) .tx-wizard-stage__title{color:var(--tx-wizard-stage-title-color);font-size:var(--tx-wizard-stage-title-font-size);font-weight:var(--tx-wizard-stage-title-font-weight)}:host([data-styled]) ::ng-deep .tx-wizard-scene--enter{animation:tx-wizard-scene-in var(--tx-wizard-stage-scene-enter-duration) var(--tx-wizard-stage-scene-easing) both}:host([data-styled]) ::ng-deep .tx-wizard-scene--leave{animation:tx-wizard-scene-out var(--tx-wizard-stage-scene-leave-duration) ease-in both}@media(width>=1024px){:host([data-responsive=viewport]) .tx-wizard-stage__caption{display:flex}:host([data-responsive=viewport]){justify-content:flex-start}:host([data-responsive=viewport]) .tx-wizard-stage__inner{position:sticky;top:0;height:var(--tx-wizard-layout-min-height);max-height:100%}:host([data-responsive=viewport][data-styled]) .tx-wizard-stage__inner{gap:var(--tx-wizard-stage-wide-gap);padding:var(--tx-wizard-stage-wide-padding)}:host([data-responsive=viewport][data-styled]) .tx-wizard-stage__stage{margin-block:0;scale:1}}@container tx-wizard (width >= 1024px){:host([data-responsive=container]) .tx-wizard-stage__caption{display:flex}:host([data-responsive=container]){justify-content:flex-start}:host([data-responsive=container]) .tx-wizard-stage__inner{position:sticky;top:0;height:var(--tx-wizard-layout-min-height);max-height:100%}:host([data-responsive=container][data-styled]) .tx-wizard-stage__inner{gap:var(--tx-wizard-stage-wide-gap);padding:var(--tx-wizard-stage-wide-padding)}:host([data-responsive=container][data-styled]) .tx-wizard-stage__stage{margin-block:0;scale:1}}@keyframes tx-wizard-scene-in{0%{opacity:0;transform:translate(calc(var(--_shift) * var(--tx-wizard-stage-scene-enter-shift))) scale(.96)}}@keyframes tx-wizard-scene-out{to{opacity:0;transform:translate(calc(var(--_shift) * -1 * var(--tx-wizard-stage-scene-leave-shift))) scale(.98)}}@keyframes tx-wizard-caption-in{0%{opacity:0;transform:translateY(10px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) ::ng-deep .tx-wizard-scene--enter,:host([data-styled]) ::ng-deep .tx-wizard-scene--leave,:host([data-styled]) .tx-wizard-stage__caption--enter{animation:none}}\n"],
|
|
814
833
|
dependencies: [{
|
|
815
834
|
kind: "pipe",
|
|
816
835
|
type: DecimalPipe,
|
|
@@ -832,19 +851,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
832
851
|
imports: [DecimalPipe],
|
|
833
852
|
template: `
|
|
834
853
|
<ng-content select="[txWizardBackdrop]" />
|
|
835
|
-
<div class="tx-wizard-
|
|
836
|
-
<
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
@
|
|
840
|
-
<div class="tx-wizard-stage__caption" animate.enter="tx-wizard-stage__caption--enter" [class]="passThrough().caption?.class" [style]="passThrough().caption?.style">
|
|
854
|
+
<div class="tx-wizard-stage__inner">
|
|
855
|
+
<div class="tx-wizard-stage__stage" aria-hidden="true" [class]="passThrough().stage?.class" [style]="passThrough().stage?.style">
|
|
856
|
+
<ng-content />
|
|
857
|
+
</div>
|
|
858
|
+
@if (caption(); as text) {
|
|
859
|
+
<div #captionElement class="tx-wizard-stage__caption" animate.enter="tx-wizard-stage__caption--enter" [class]="passThrough().caption?.class" [style]="passThrough().caption?.style">
|
|
841
860
|
@if (number() !== undefined) {
|
|
842
861
|
<span class="tx-wizard-stage__number">{{ number() | number: '2.0-0' }}</span>
|
|
843
862
|
}
|
|
844
|
-
<span class="tx-wizard-stage__title">{{
|
|
863
|
+
<span class="tx-wizard-stage__title">{{ text }}</span>
|
|
845
864
|
</div>
|
|
846
865
|
}
|
|
847
|
-
|
|
866
|
+
</div>
|
|
848
867
|
`,
|
|
849
868
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
850
869
|
host: {
|
|
@@ -856,9 +875,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
856
875
|
"[attr.data-responsive]": "responsive()"
|
|
857
876
|
},
|
|
858
877
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
859
|
-
styles: [":host{--_shift: 1;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;height:100%;overflow:
|
|
878
|
+
styles: [":host{--_shift: 1;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;height:100%;overflow:clip}.tx-wizard-stage__inner{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%}:host([data-direction=back]){--_shift: -1}.tx-wizard-stage__stage{display:grid;flex-shrink:0;place-items:center}.tx-wizard-stage__caption{display:none;flex-direction:column;align-items:center;text-align:center}:host ::ng-deep .tx-wizard-scene{display:block;grid-area:1/1;width:100%;height:100%}:host([data-styled]){min-height:var(--tx-wizard-stage-min-height);background:var(--tx-wizard-stage-background);font-family:var(--tx-font-family)}:host([data-styled]) .tx-wizard-stage__inner{gap:var(--tx-wizard-stage-gap);padding:var(--tx-wizard-stage-padding)}:host([data-styled]) .tx-wizard-stage__stage{width:var(--tx-wizard-stage-size);height:var(--tx-wizard-stage-size);margin-block:calc(var(--tx-wizard-stage-size) * (var(--tx-wizard-stage-narrow-scale) - 1) / 2);scale:var(--tx-wizard-stage-narrow-scale)}:host([data-styled]) .tx-wizard-stage__caption{gap:var(--tx-wizard-stage-caption-gap)}:host([data-styled]) .tx-wizard-stage__caption--enter{animation:tx-wizard-caption-in var(--tx-wizard-stage-caption-duration) var(--tx-wizard-stage-scene-easing) both}:host([data-styled]) .tx-wizard-stage__number{color:var(--tx-wizard-stage-number-color);font-size:var(--tx-wizard-stage-number-font-size);font-weight:var(--tx-wizard-stage-number-font-weight);font-variant-numeric:tabular-nums}:host([data-styled]) .tx-wizard-stage__title{color:var(--tx-wizard-stage-title-color);font-size:var(--tx-wizard-stage-title-font-size);font-weight:var(--tx-wizard-stage-title-font-weight)}:host([data-styled]) ::ng-deep .tx-wizard-scene--enter{animation:tx-wizard-scene-in var(--tx-wizard-stage-scene-enter-duration) var(--tx-wizard-stage-scene-easing) both}:host([data-styled]) ::ng-deep .tx-wizard-scene--leave{animation:tx-wizard-scene-out var(--tx-wizard-stage-scene-leave-duration) ease-in both}@media(width>=1024px){:host([data-responsive=viewport]) .tx-wizard-stage__caption{display:flex}:host([data-responsive=viewport]){justify-content:flex-start}:host([data-responsive=viewport]) .tx-wizard-stage__inner{position:sticky;top:0;height:var(--tx-wizard-layout-min-height);max-height:100%}:host([data-responsive=viewport][data-styled]) .tx-wizard-stage__inner{gap:var(--tx-wizard-stage-wide-gap);padding:var(--tx-wizard-stage-wide-padding)}:host([data-responsive=viewport][data-styled]) .tx-wizard-stage__stage{margin-block:0;scale:1}}@container tx-wizard (width >= 1024px){:host([data-responsive=container]) .tx-wizard-stage__caption{display:flex}:host([data-responsive=container]){justify-content:flex-start}:host([data-responsive=container]) .tx-wizard-stage__inner{position:sticky;top:0;height:var(--tx-wizard-layout-min-height);max-height:100%}:host([data-responsive=container][data-styled]) .tx-wizard-stage__inner{gap:var(--tx-wizard-stage-wide-gap);padding:var(--tx-wizard-stage-wide-padding)}:host([data-responsive=container][data-styled]) .tx-wizard-stage__stage{margin-block:0;scale:1}}@keyframes tx-wizard-scene-in{0%{opacity:0;transform:translate(calc(var(--_shift) * var(--tx-wizard-stage-scene-enter-shift))) scale(.96)}}@keyframes tx-wizard-scene-out{to{opacity:0;transform:translate(calc(var(--_shift) * -1 * var(--tx-wizard-stage-scene-leave-shift))) scale(.98)}}@keyframes tx-wizard-caption-in{0%{opacity:0;transform:translateY(10px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) ::ng-deep .tx-wizard-scene--enter,:host([data-styled]) ::ng-deep .tx-wizard-scene--leave,:host([data-styled]) .tx-wizard-stage__caption--enter{animation:none}}\n"]
|
|
860
879
|
}]
|
|
861
880
|
}],
|
|
881
|
+
ctorParameters: () => [],
|
|
862
882
|
propDecorators: {
|
|
863
883
|
direction: [{
|
|
864
884
|
type: i0.Input,
|
|
@@ -915,9 +935,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
915
935
|
alias: "unstyled",
|
|
916
936
|
required: false
|
|
917
937
|
}]
|
|
938
|
+
}],
|
|
939
|
+
captionElement: [{
|
|
940
|
+
type: i0.ViewChild,
|
|
941
|
+
args: ["captionElement", { isSignal: true }]
|
|
918
942
|
}]
|
|
919
943
|
}
|
|
920
944
|
});
|
|
945
|
+
const CAPTION_ENTER = "tx-wizard-stage__caption--enter";
|
|
946
|
+
function replayCaption(element) {
|
|
947
|
+
element.classList.remove(CAPTION_ENTER);
|
|
948
|
+
element.getBoundingClientRect();
|
|
949
|
+
element.classList.add(CAPTION_ENTER);
|
|
950
|
+
}
|
|
921
951
|
var TxWizardFooter = class TxWizardFooter {
|
|
922
952
|
wizardTheme = injectTokens(WIZARD_THEME);
|
|
923
953
|
nextLabel = input(void 0, ...ngDevMode ? [{ debugName: "nextLabel" }] : /* istanbul ignore next */ []);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-blocks-wizard.mjs","names":[],"sources":["../../../../packages/blocks/wizard/src/wizard.icons.ts","../../../../packages/blocks/wizard/src/wizard.theme.ts","../../../../packages/blocks/wizard/src/wizard-layout.component.ts","../../../../packages/blocks/wizard/src/wizard-progress.component.ts","../../../../packages/blocks/wizard/src/wizard-step-head.component.ts","../../../../packages/blocks/wizard/src/wizard-stage.component.ts","../../../../packages/blocks/wizard/src/wizard-footer.component.ts"],"sourcesContent":["import { TxIconSet, txIconArrowLeft, txIconArrowRight, txIconForward } from '@tectra-ng/icons';\n\nexport const WIZARD_ICON_DEFAULTS: TxIconSet = {\n 'arrow-left': txIconArrowLeft,\n 'arrow-right': txIconArrowRight,\n forward: txIconForward,\n};\n","import { wizardTokens } from '@tectra-ng/themes';\n\nexport const WIZARD_THEME = {\n wizard: wizardTokens,\n};\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardLayoutPart, TxWizardResponsive } from './wizard.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/**\n * The frame of a full-screen wizard: the step with its header, body and footer, and a visual stage\n * beside it.\n */\n@Component({\n selector: 'tx-wizard-layout',\n template: `\n <div class=\"tx-wizard-layout__grid\">\n <section class=\"tx-wizard-layout__panel\" [class]=\"passThrough().panel?.class\" [style]=\"passThrough().panel?.style\">\n <div class=\"tx-wizard-layout__inner\">\n <div class=\"tx-wizard-layout__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-content select=\"[txWizardHeader]\" />\n </div>\n <div class=\"tx-wizard-layout__main\">\n <div class=\"tx-wizard-layout__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <ng-content select=\"[txWizardBody]\" />\n </div>\n <div class=\"tx-wizard-layout__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-content select=\"[txWizardFooter]\" />\n </div>\n </div>\n </div>\n </section>\n <aside class=\"tx-wizard-layout__visual\" [class]=\"passThrough().visual?.class\" [style]=\"passThrough().visual?.style\">\n <ng-content select=\"[txWizardVisual]\" />\n </aside>\n </div>\n `,\n styleUrl: './wizard-layout.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-layout',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-responsive]': 'responsive()',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardLayout {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly responsive = input<TxWizardResponsive>('viewport');\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardLayoutPart, TxWizardLayout> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardLayout', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, computed, input, numberAttribute } 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 { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardProgressPart } from './wizard.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The progress of a wizard as one segment per step. */\n@Component({\n selector: 'tx-wizard-progress',\n template: `\n @if (label()) {\n <span class=\"tx-wizard-progress__label\" aria-hidden=\"true\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ label() }}</span>\n }\n <ol class=\"tx-wizard-progress__segments\" [attr.aria-label]=\"label() || translations().wizardProgress\" [class]=\"passThrough().segments?.class\" [style]=\"passThrough().segments?.style\">\n @for (segment of segments(); track $index; let position = $index) {\n <li\n class=\"tx-wizard-progress__segment\"\n [class.tx-wizard-progress__segment--done]=\"position < current()\"\n [class.tx-wizard-progress__segment--current]=\"position === current()\"\n [attr.aria-current]=\"position === current() ? 'step' : null\"\n [attr.aria-label]=\"stepLabels()[position] || null\"\n [class]=\"passThrough().segment?.class\"\n [style]=\"passThrough().segment?.style\"\n >\n <span class=\"tx-wizard-progress__fill\"></span>\n </li>\n }\n </ol>\n `,\n styleUrl: './wizard-progress.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-progress',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardProgress {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly total = input.required<number, unknown>({ transform: numberAttribute });\n readonly current = input.required<number, unknown>({ transform: numberAttribute });\n readonly label = input<string | undefined>(undefined);\n readonly stepLabels = input<readonly string[]>([]);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardProgressPart, TxWizardProgress> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardProgress', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n protected readonly segments = computed(() => Array.from({ length: Math.max(this.total(), 0) }));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxPill } from '@tectra-ng/ui/pill';\nimport { TxWizardStepHeadPart } from './wizard.types';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The heading of a wizard step: an icon, a title and a lead text. */\n@Component({\n selector: 'tx-wizard-step-head',\n imports: [TxIcon, TxPill],\n template: `\n @if (icon(); as name) {\n <span class=\"tx-wizard-step-head__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"name\" />\n </span>\n }\n <div class=\"tx-wizard-step-head__title-row\">\n <h1 class=\"tx-wizard-step-head__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() }}</h1>\n @if (badge()) {\n <tx-pill tone=\"neutral\" size=\"small\" [value]=\"badge()\" [unstyled]=\"isUnstyled()\" />\n }\n </div>\n @if (lead()) {\n <p class=\"tx-wizard-step-head__lead\" [class]=\"passThrough().lead?.class\" [style]=\"passThrough().lead?.style\">{{ lead() }}</p>\n }\n `,\n styleUrl: './wizard-step-head.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-step-head',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardStepHead {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly title = input.required<string>();\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly lead = input<string | undefined>(undefined);\n readonly badge = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardStepHeadPart, TxWizardStepHead> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardStepHead', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { DecimalPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardLayout } from './wizard-layout.component';\nimport { TxWizardDirection, TxWizardStagePart } from './wizard.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The illustrated stage of a wizard; its scenes slide in the direction of the move. */\n@Component({\n selector: 'tx-wizard-stage',\n imports: [DecimalPipe],\n template: `\n <ng-content select=\"[txWizardBackdrop]\" />\n <div class=\"tx-wizard-stage__stage\" aria-hidden=\"true\" [class]=\"passThrough().stage?.class\" [style]=\"passThrough().stage?.style\">\n <ng-content />\n </div>\n @if (caption(); as text) {\n @for (current of [text]; track current) {\n <div class=\"tx-wizard-stage__caption\" animate.enter=\"tx-wizard-stage__caption--enter\" [class]=\"passThrough().caption?.class\" [style]=\"passThrough().caption?.style\">\n @if (number() !== undefined) {\n <span class=\"tx-wizard-stage__number\">{{ number() | number: '2.0-0' }}</span>\n }\n <span class=\"tx-wizard-stage__title\">{{ current }}</span>\n </div>\n }\n }\n `,\n styleUrl: './wizard-stage.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-stage',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-direction]': 'direction()',\n '[attr.data-responsive]': 'responsive()',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardStage {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n private readonly layout = inject(TxWizardLayout, { optional: true });\n\n readonly direction = input<TxWizardDirection>('forward');\n readonly number = input<number | undefined>(undefined);\n readonly caption = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardStagePart, TxWizardStage> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardStage', this, this.pt, this.ptOptions);\n protected readonly responsive = computed(() => this.layout?.responsive() ?? 'viewport');\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, output } 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 { provideTxIconDefaults, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxWizardFooterPart } from './wizard.types';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The back, skip and next buttons of a wizard. */\n@Component({\n selector: 'tx-wizard-footer',\n imports: [TxButton],\n template: `\n @if (showBack()) {\n <button\n txButton\n type=\"button\"\n severity=\"secondary\"\n outlined\n icon=\"arrow-left\"\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().back?.class\"\n [style]=\"passThrough().back?.style\"\n (click)=\"back.emit()\"\n >\n {{ backLabel() ?? translations().wizardBack }}\n </button>\n }\n <div class=\"tx-wizard-footer__end\">\n @if (skipLabel(); as skipText) {\n <button\n txButton\n type=\"button\"\n severity=\"secondary\"\n text\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().skip?.class\"\n [style]=\"passThrough().skip?.style\"\n (click)=\"skip.emit()\"\n >\n {{ skipText }}\n </button>\n }\n <button\n txButton\n type=\"button\"\n [icon]=\"nextIcon()\"\n [loading]=\"loading()\"\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().next?.class\"\n [style]=\"passThrough().next?.style\"\n (click)=\"next.emit()\"\n >\n {{ nextLabel() ?? translations().wizardNext }}\n </button>\n </div>\n `,\n styleUrl: './wizard-footer.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-footer',\n role: 'group',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardFooter {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly nextLabel = input<string | undefined>(undefined);\n readonly nextIcon = input<TxIconName | (string & {})>('arrow-right');\n readonly backLabel = input<string | undefined>(undefined);\n readonly showBack = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly skipLabel = input<string | undefined>(undefined);\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardFooterPart, TxWizardFooter> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly back = output<void>();\n readonly next = output<void>();\n readonly skip = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardFooter', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n"],"mappings":";;;;;;;;;;AAEA,MAAa,uBAAkC;CAC7C,cAAc;CACd,eAAe;CACf,SAAS;AACV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,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EA9D1B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,SACnB,CAAC,QAAQ;GAAC,UACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CT,iBAEgB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,MAAM;IACN,WAAW;IACX,WAAW;IACX,sBAAsB;GACvB;GAAA,eACc,CAAC,sBAAsB,oBAAoB,CAAC;GAAC,QAAA,CAAA,yWAAA;EAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-wizard.mjs","names":[],"sources":["../../../../packages/blocks/wizard/src/wizard.icons.ts","../../../../packages/blocks/wizard/src/wizard.theme.ts","../../../../packages/blocks/wizard/src/wizard-layout.component.ts","../../../../packages/blocks/wizard/src/wizard-progress.component.ts","../../../../packages/blocks/wizard/src/wizard-step-head.component.ts","../../../../packages/blocks/wizard/src/wizard-stage.component.ts","../../../../packages/blocks/wizard/src/wizard-footer.component.ts"],"sourcesContent":["import { TxIconSet, txIconArrowLeft, txIconArrowRight, txIconForward } from '@tectra-ng/icons';\n\nexport const WIZARD_ICON_DEFAULTS: TxIconSet = {\n 'arrow-left': txIconArrowLeft,\n 'arrow-right': txIconArrowRight,\n forward: txIconForward,\n};\n","import { wizardTokens } from '@tectra-ng/themes';\n\nexport const WIZARD_THEME = {\n wizard: wizardTokens,\n};\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardLayoutPart, TxWizardResponsive } from './wizard.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/**\n * The frame of a full-screen wizard: the step with its header, body and footer, and a visual stage\n * beside it.\n */\n@Component({\n selector: 'tx-wizard-layout',\n template: `\n <div class=\"tx-wizard-layout__grid\">\n <section class=\"tx-wizard-layout__panel\" [class]=\"passThrough().panel?.class\" [style]=\"passThrough().panel?.style\">\n <div class=\"tx-wizard-layout__inner\">\n <div class=\"tx-wizard-layout__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-content select=\"[txWizardHeader]\" />\n </div>\n <div class=\"tx-wizard-layout__main\">\n <div class=\"tx-wizard-layout__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <ng-content select=\"[txWizardBody]\" />\n </div>\n <div class=\"tx-wizard-layout__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-content select=\"[txWizardFooter]\" />\n </div>\n </div>\n </div>\n </section>\n <aside class=\"tx-wizard-layout__visual\" [class]=\"passThrough().visual?.class\" [style]=\"passThrough().visual?.style\">\n <ng-content select=\"[txWizardVisual]\" />\n </aside>\n </div>\n `,\n styleUrl: './wizard-layout.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-layout',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-responsive]': 'responsive()',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardLayout {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly responsive = input<TxWizardResponsive>('viewport');\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardLayoutPart, TxWizardLayout> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardLayout', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, computed, input, numberAttribute } 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 { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardProgressPart } from './wizard.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The progress of a wizard as one segment per step. */\n@Component({\n selector: 'tx-wizard-progress',\n template: `\n @if (label()) {\n <span class=\"tx-wizard-progress__label\" aria-hidden=\"true\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ label() }}</span>\n }\n <ol class=\"tx-wizard-progress__segments\" [attr.aria-label]=\"label() || translations().wizardProgress\" [class]=\"passThrough().segments?.class\" [style]=\"passThrough().segments?.style\">\n @for (segment of segments(); track $index; let position = $index) {\n <li\n class=\"tx-wizard-progress__segment\"\n [class.tx-wizard-progress__segment--done]=\"position < current()\"\n [class.tx-wizard-progress__segment--current]=\"position === current()\"\n [attr.aria-current]=\"position === current() ? 'step' : null\"\n [attr.aria-label]=\"stepLabels()[position] || null\"\n [class]=\"passThrough().segment?.class\"\n [style]=\"passThrough().segment?.style\"\n >\n <span class=\"tx-wizard-progress__fill\"></span>\n </li>\n }\n </ol>\n `,\n styleUrl: './wizard-progress.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-progress',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardProgress {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly total = input.required<number, unknown>({ transform: numberAttribute });\n readonly current = input.required<number, unknown>({ transform: numberAttribute });\n readonly label = input<string | undefined>(undefined);\n readonly stepLabels = input<readonly string[]>([]);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardProgressPart, TxWizardProgress> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardProgress', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n protected readonly segments = computed(() => Array.from({ length: Math.max(this.total(), 0) }));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxPill } from '@tectra-ng/ui/pill';\nimport { TxWizardStepHeadPart } from './wizard.types';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The heading of a wizard step: an icon, a title and a lead text. */\n@Component({\n selector: 'tx-wizard-step-head',\n imports: [TxIcon, TxPill],\n template: `\n @if (icon(); as name) {\n <span class=\"tx-wizard-step-head__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"name\" />\n </span>\n }\n <div class=\"tx-wizard-step-head__title-row\">\n <h1 class=\"tx-wizard-step-head__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() }}</h1>\n @if (badge()) {\n <tx-pill tone=\"neutral\" size=\"small\" [value]=\"badge()\" [unstyled]=\"isUnstyled()\" />\n }\n </div>\n @if (lead()) {\n <p class=\"tx-wizard-step-head__lead\" [class]=\"passThrough().lead?.class\" [style]=\"passThrough().lead?.style\">{{ lead() }}</p>\n }\n `,\n styleUrl: './wizard-step-head.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-step-head',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.title]': 'null',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardStepHead {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly title = input.required<string>();\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly lead = input<string | undefined>(undefined);\n readonly badge = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardStepHeadPart, TxWizardStepHead> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardStepHead', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { DecimalPipe } from '@angular/common';\nimport { afterRenderEffect, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, viewChild } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardLayout } from './wizard-layout.component';\nimport { TxWizardDirection, TxWizardStagePart } from './wizard.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The illustrated stage of a wizard; its scenes slide in the direction of the move. */\n@Component({\n selector: 'tx-wizard-stage',\n imports: [DecimalPipe],\n template: `\n <ng-content select=\"[txWizardBackdrop]\" />\n <div class=\"tx-wizard-stage__inner\">\n <div class=\"tx-wizard-stage__stage\" aria-hidden=\"true\" [class]=\"passThrough().stage?.class\" [style]=\"passThrough().stage?.style\">\n <ng-content />\n </div>\n @if (caption(); as text) {\n <div #captionElement class=\"tx-wizard-stage__caption\" animate.enter=\"tx-wizard-stage__caption--enter\" [class]=\"passThrough().caption?.class\" [style]=\"passThrough().caption?.style\">\n @if (number() !== undefined) {\n <span class=\"tx-wizard-stage__number\">{{ number() | number: '2.0-0' }}</span>\n }\n <span class=\"tx-wizard-stage__title\">{{ text }}</span>\n </div>\n }\n </div>\n `,\n styleUrl: './wizard-stage.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-stage',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-direction]': 'direction()',\n '[attr.data-responsive]': 'responsive()',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardStage {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n private readonly layout = inject(TxWizardLayout, { optional: true });\n\n readonly direction = input<TxWizardDirection>('forward');\n readonly number = input<number | undefined>(undefined);\n readonly caption = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardStagePart, TxWizardStage> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardStage', this, this.pt, this.ptOptions);\n protected readonly responsive = computed(() => this.layout?.responsive() ?? 'viewport');\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n\n private readonly captionElement = viewChild<ElementRef<HTMLElement>>('captionElement');\n\n constructor() {\n let shown: string | undefined;\n afterRenderEffect(() => {\n const text = this.caption();\n const element = this.captionElement()?.nativeElement;\n if (element && shown !== undefined && text !== shown) {\n replayCaption(element);\n }\n shown = element ? text : undefined;\n });\n }\n}\n\nconst CAPTION_ENTER = 'tx-wizard-stage__caption--enter';\n\nfunction replayCaption(element: HTMLElement): void {\n element.classList.remove(CAPTION_ENTER);\n element.getBoundingClientRect();\n element.classList.add(CAPTION_ENTER);\n}\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, output } 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 { provideTxIconDefaults, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxWizardFooterPart } from './wizard.types';\nimport { WIZARD_ICON_DEFAULTS } from './wizard.icons';\nimport { WIZARD_THEME } from './wizard.theme';\n\n/** The back, skip and next buttons of a wizard. */\n@Component({\n selector: 'tx-wizard-footer',\n imports: [TxButton],\n template: `\n @if (showBack()) {\n <button\n txButton\n type=\"button\"\n severity=\"secondary\"\n outlined\n icon=\"arrow-left\"\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().back?.class\"\n [style]=\"passThrough().back?.style\"\n (click)=\"back.emit()\"\n >\n {{ backLabel() ?? translations().wizardBack }}\n </button>\n }\n <div class=\"tx-wizard-footer__end\">\n @if (skipLabel(); as skipText) {\n <button\n txButton\n type=\"button\"\n severity=\"secondary\"\n text\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().skip?.class\"\n [style]=\"passThrough().skip?.style\"\n (click)=\"skip.emit()\"\n >\n {{ skipText }}\n </button>\n }\n <button\n txButton\n type=\"button\"\n [icon]=\"nextIcon()\"\n [loading]=\"loading()\"\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().next?.class\"\n [style]=\"passThrough().next?.style\"\n (click)=\"next.emit()\"\n >\n {{ nextLabel() ?? translations().wizardNext }}\n </button>\n </div>\n `,\n styleUrl: './wizard-footer.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-footer',\n role: 'group',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],\n})\nexport class TxWizardFooter {\n private readonly wizardTheme = injectTokens(WIZARD_THEME);\n\n readonly nextLabel = input<string | undefined>(undefined);\n readonly nextIcon = input<TxIconName | (string & {})>('arrow-right');\n readonly backLabel = input<string | undefined>(undefined);\n readonly showBack = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly skipLabel = input<string | undefined>(undefined);\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardFooterPart, TxWizardFooter> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly back = output<void>();\n readonly next = output<void>();\n readonly skip = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardFooter', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n"],"mappings":";;;;;;;;;;AAEA,MAAa,uBAAkC;CAC7C,cAAc;CACd,eAAe;CACf,SAAS;AACV;ACJD,MAAa,eAAe,EAC1B,QAAQ,aACT;AC4CD,IAAa,iBAAb,MAAa,eAAc;CACR,cAAc,aAAa,YAAY;CAE/C,aAAa,MAA0B,YAAW,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAClD,KAAK,MAAyD,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CACxE,KAAK,MAAqE,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CACpF,YAAY,MAAwC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAC9D,WAAW,MAAoC,QAAS;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAe,CAAA;CAEtF,aAAa,eAAe,KAAK,QAAQ;CACzC,cAAc,kBAAkB,gBAAgB,MAAM,KAAK,IAAI,KAAK,SAAS;CAC7E,YAAY,gBAAgB;EAAE,GAAG,cAAc,KAAK,GAAE,GAAI,aAAa;EAAG,GAAG,KAAK,YAAW,CAAE,CAAC,MAAM;CAAK,IAAI,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAX7G,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAc,MAAA,C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QAAA,QAAA;GAAA,YAAA;IAAA,SAAA;IAAA,SAAA;IAAA,oBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UA3Df;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CT,UAAA;EAAA,QAAA,CAAA,yWAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MAhDS;GAAQ,UAAA;GAAA,QAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;GAAA;EAAA,CAAA;EAAA,eA0DH,CAAC,sBAAsB,oBAAoB,CAAC;EAAC,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAEjD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EA9D1B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,SACnB,CAAC,QAAQ;GAAC,UACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CT,iBAEgB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,MAAM;IACN,WAAW;IACX,WAAW;IACX,sBAAsB;GACvB;GAAA,eACc,CAAC,sBAAsB,oBAAoB,CAAC;GAAC,QAAA,CAAA,yWAAA;EAAA,CAAA"}
|
package/network-status/README.md
CHANGED
|
@@ -6,7 +6,19 @@ A pill at the bottom of the window that says "No internet connection" while the
|
|
|
6
6
|
<tx-network-status />
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The state lives in the root `TxNetworkService`: it listens to the browser `offline` / `online` events and checks `navigator.onLine` on start — in the browser only, so nothing shows on the server. Read `status` anywhere, or set it from code, e.g. when requests fail although the browser says it is online:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
private readonly network = inject(TxNetworkService);
|
|
13
|
+
|
|
14
|
+
readonly offline = computed(() => this.network.status() === 'offline');
|
|
15
|
+
|
|
16
|
+
onRequestFailed(): void {
|
|
17
|
+
this.network.markOffline();
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
While the pill is shown the body gets the `bodyClass` class (`tx-offline`), e.g. to dim actions that need the network, and the `--tx-bottom-overlay-offset` variable: the space the pill takes at the bottom of the window. `tx-cookie-notice` moves up by it, and any own bottom overlay can add it to its `bottom`. The pill sits in a polite live region, so screen readers announce both messages.
|
|
10
22
|
|
|
11
23
|
## Inputs
|
|
12
24
|
| Name | Description |
|
|
@@ -28,6 +40,10 @@ It listens to the browser `offline` / `online` events and checks `navigator.onLi
|
|
|
28
40
|
## Methods
|
|
29
41
|
| Name | Description |
|
|
30
42
|
|---|---|
|
|
31
|
-
| onOffline() | Shows the offline pill, as the browser `offline` event does |
|
|
32
|
-
| onOnline() | Shows "Connection restored", as the browser `online` event does |
|
|
33
|
-
| status | Signal: `online`, `offline` or `restored` |
|
|
43
|
+
| onOffline() | Shows the offline pill, as the browser `offline` event does (`TxNetworkService.markOffline()`) |
|
|
44
|
+
| onOnline() | Shows "Connection restored", as the browser `online` event does (`TxNetworkService.markOnline()`) |
|
|
45
|
+
| status | Signal: `online`, `offline` or `restored` — the `status` of `TxNetworkService` |
|
|
46
|
+
| TxNetworkService.status | Signal of the root service: `online`, `offline` or `restored` |
|
|
47
|
+
| TxNetworkService.markOffline() | Sets the state to `offline`, e.g. after requests failed |
|
|
48
|
+
| TxNetworkService.markOnline() | Sets `restored` when it was `offline`, then `online` after `restoredDuration` |
|
|
49
|
+
| TxNetworkService.restoredDuration | Signal: how long `restored` lasts, in ms; the `restoredDuration` input of the pill sets it |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tectra-ng/blocks",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Ready page blocks for Angular consoles and admin apps on the tectra components: filters panel, page header, empty state, layouts, wizard, command palette and more.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://tectra-ng.com",
|
|
@@ -27,12 +27,13 @@
|
|
|
27
27
|
"@angular/cdk": "^22.2.0",
|
|
28
28
|
"@angular/common": "^22.2.0",
|
|
29
29
|
"@angular/core": "^22.2.0",
|
|
30
|
+
"@angular/forms": "^22.2.0",
|
|
30
31
|
"@angular/router": "^22.2.0",
|
|
31
|
-
"@tectra-ng/core": "^0.4.
|
|
32
|
-
"@tectra-ng/icons": "^0.4.
|
|
33
|
-
"@tectra-ng/qr": "^0.4.
|
|
34
|
-
"@tectra-ng/themes": "^0.4.
|
|
35
|
-
"@tectra-ng/ui": "^0.4.
|
|
32
|
+
"@tectra-ng/core": "^0.4.2",
|
|
33
|
+
"@tectra-ng/icons": "^0.4.2",
|
|
34
|
+
"@tectra-ng/qr": "^0.4.2",
|
|
35
|
+
"@tectra-ng/themes": "^0.4.2",
|
|
36
|
+
"@tectra-ng/ui": "^0.4.2"
|
|
36
37
|
},
|
|
37
38
|
"peerDependenciesMeta": {
|
|
38
39
|
"@angular/router": {
|
|
@@ -135,6 +136,10 @@
|
|
|
135
136
|
"types": "./types/tectra-ng-blocks-switch-theme.d.ts",
|
|
136
137
|
"default": "./fesm2022/tectra-ng-blocks-switch-theme.mjs"
|
|
137
138
|
},
|
|
139
|
+
"./theme-configurator": {
|
|
140
|
+
"types": "./types/tectra-ng-blocks-theme-configurator.d.ts",
|
|
141
|
+
"default": "./fesm2022/tectra-ng-blocks-theme-configurator.mjs"
|
|
142
|
+
},
|
|
138
143
|
"./topbar-preferences": {
|
|
139
144
|
"types": "./types/tectra-ng-blocks-topbar-preferences.d.ts",
|
|
140
145
|
"default": "./fesm2022/tectra-ng-blocks-topbar-preferences.mjs"
|
package/pinned-tabs/README.md
CHANGED
|
@@ -6,13 +6,14 @@ Quick-switch tabs for a filter with many values: the user pins the values they u
|
|
|
6
6
|
<tx-pinned-tabs [stateKey]="'teams:' + userId()" [options]="teams()" allLabel="All teams" [(selected)]="selectedTeams" />
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
With nothing pinned only a labelled "Customize" button shows and the host gets `tx-pinned-tabs--empty`; next to tabs it is a square icon with a tooltip. The tabs scroll sideways when they do not fit and the button stays visible — give the host `min-width: 0` inside a flex row.
|
|
9
|
+
The server and the first render in the browser show `defaultPinned`; the saved choice is read from `localStorage` right after, in the same frame, so a hydrated page does not mismatch. With nothing pinned only a labelled "Customize" button shows and the host gets `tx-pinned-tabs--empty`; next to tabs it is a square icon with a tooltip. The tabs scroll sideways when they do not fit and the button stays visible — give the host `min-width: 0` inside a flex row.
|
|
10
10
|
|
|
11
11
|
## Inputs
|
|
12
12
|
| Name | Description |
|
|
13
13
|
|---|---|
|
|
14
14
|
| stateKey | Required. `localStorage` key of the pinned values; add the user id to keep the choice per user. Read again when it changes |
|
|
15
15
|
| options | Required. Values that can be pinned (`TxPinnedTabOption[]`: `value`, `label`); the tabs follow this order, a pinned value missing here shows no tab |
|
|
16
|
+
| defaultPinned | Values pinned while the user has not saved a choice under `stateKey` yet |
|
|
16
17
|
| allLabel | Label of the tab that clears the selection; the translated "All" by default |
|
|
17
18
|
| selected | Two-way: the selection of the filter. Empty — the "All" tab is active, one value — its tab, several values — no tab |
|
|
18
19
|
| dialogTitle | Title of the settings dialog; the translated "Pinned tabs" by default |
|
|
@@ -32,6 +33,9 @@ With nothing pinned only a labelled "Customize" button shows and the host gets `
|
|
|
32
33
|
| Name | Description |
|
|
33
34
|
|---|---|
|
|
34
35
|
| openSettings() | Opens the settings dialog |
|
|
36
|
+
| pin(value) | Pins a value from code and saves the choice |
|
|
37
|
+
| unpin(value) | Unpins a value from code and saves the choice |
|
|
38
|
+
| pinned | Signal: the pinned values |
|
|
35
39
|
|
|
36
40
|
## Keyboard
|
|
37
41
|
| Key | Action |
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Theme configurator
|
|
2
|
+
|
|
3
|
+
Theme settings people change at run time: primary color, surface palette, style and the click ripple. Each pick rebuilds the theme through `TxThemeService.updateTheme`, so the whole app follows at once.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<tx-theme-configurator [styles]="styles" />
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { edgeStyle, softStyle, tectraStyle } from '@tectra-ng/themes';
|
|
11
|
+
|
|
12
|
+
readonly styles = [tectraStyle, softStyle, edgeStyle];
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Styles are objects, and only the ones you list end up in the bundle; with fewer than two the style row is hidden. Put it in a popover, a drawer or a settings page.
|
|
16
|
+
|
|
17
|
+
## Theme service
|
|
18
|
+
|
|
19
|
+
`TxThemeService` (`@tectra-ng/core/config`) holds the choice as signals — `style()`, `primary()`, `surface()`, `ripple()`, `mode()` — and `updateTheme({ style, primary, surface })` rebuilds the preset with `createTectraPreset` (parts left out stay). Two `provideTectra` options go with it:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
provideTectra({
|
|
23
|
+
preset: Tectra,
|
|
24
|
+
presetOverrides: { light: { primary: { contrast: '#ffffff' } } },
|
|
25
|
+
storageKey: 'app-theme',
|
|
26
|
+
styles: [softStyle, edgeStyle],
|
|
27
|
+
});
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- `presetOverrides` — your own changes to the preset (an object or `(preset) => overrides`), merged with `definePreset` at start and after every `updateTheme`. Keep them here instead of in `preset` so a new primary or style does not drop them.
|
|
31
|
+
- `storageKey` — remembers the style, primary, surface, ripple and color scheme in local storage and restores them while the app starts, before the first render. On the server nothing is read.
|
|
32
|
+
- `styles` — the styles a remembered choice may name; the style of `preset` is always known.
|
|
33
|
+
|
|
34
|
+
## Inputs
|
|
35
|
+
| Name | Description |
|
|
36
|
+
|---|---|
|
|
37
|
+
| styles | Style objects to pick from (`tectraStyle`, `softStyle`, `edgeStyle`, `paperStyle` or your own) |
|
|
38
|
+
| primaries | Primary color dots, `{ value, color, label }`; every primary color of `createTectraPreset` by default; an empty list hides the row |
|
|
39
|
+
| surfaces | Surface palette dots; every surface palette by default; an empty list hides the row |
|
|
40
|
+
| columns | Dots per row (default 9) |
|
|
41
|
+
| showRipple | Shows the ripple switch (default `true`) |
|
|
42
|
+
| dt | Design tokens of this instance (`themeConfigurator`) |
|
|
43
|
+
| pt | Classes and styles of the parts: `root`, `section`, `label`, `swatches`, `segments`, `segment` |
|
|
44
|
+
| ptOptions | How `pt` merges with the global pass-through |
|
|
45
|
+
| unstyled | Removes the tectra styles |
|
|
46
|
+
|
|
47
|
+
## Outputs
|
|
48
|
+
| Name | Description |
|
|
49
|
+
|---|---|
|
|
50
|
+
| themeChange | `{ style, primary, surface }` after a pick rebuilt the theme |
|
|
51
|
+
| rippleChange | The ripple was turned on or off |
|
|
52
|
+
|
|
53
|
+
## Keyboard
|
|
54
|
+
| Key | Action |
|
|
55
|
+
|---|---|
|
|
56
|
+
| Tab | Moves between the primary dots, the surface dots, the styles and the ripple switch |
|
|
57
|
+
| Arrow keys | Pick the next or previous dot or style |
|
|
58
|
+
| Home / End | Pick the first / last dot or style |
|
|
59
|
+
| Space | Turns the ripple on or off |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-blocks-action-tile.d.ts","names":[],"sources":["../../../../packages/blocks/action-tile/src/action-tile.types.ts","../../../../packages/blocks/action-tile/src/action-tile.component.ts"],"mappings":";;;;;YACY;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-action-tile.d.ts","names":[],"sources":["../../../../packages/blocks/action-tile/src/action-tile.types.ts","../../../../packages/blocks/action-tile/src/action-tile.component.ts"],"mappings":";;;;;YACY;;;;;qBCkDC;mBACM;;WAER,8BAAI,YAAA;;WACJ,+BAAK;;WACL,8BAAI;;WACJ,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,mDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS;WAET,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,mDAAA;WACX,mCAAS;;;YAER;SAnBC,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|