@tectra-ng/blocks 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/actions-menu/README.md +9 -1
- package/app-layout/README.md +3 -2
- package/command-palette/README.md +7 -0
- package/console-layout/README.md +24 -0
- package/cookie-notice/README.md +1 -1
- package/fesm2022/tectra-ng-blocks-action-tile.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-actions-menu.mjs +40 -18
- package/fesm2022/tectra-ng-blocks-actions-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-app-footer.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-app-layout.mjs +22 -5
- package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-command-palette.mjs +40 -17
- package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-confetti.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-console-layout.mjs +101 -22
- package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +5 -5
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-empty-state.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs +113 -24
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-hover-effect.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-kanban.mjs +120 -35
- package/fesm2022/tectra-ng-blocks-kanban.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-mascot.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-network-status.mjs +6 -6
- package/fesm2022/tectra-ng-blocks-page-header.mjs +5 -5
- package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs +6 -6
- package/fesm2022/tectra-ng-blocks-public-header.mjs +23 -9
- package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks-qr-code.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-switch-language.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-switch-theme.mjs +9 -9
- package/fesm2022/tectra-ng-blocks-theme-configurator.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs +3 -3
- package/fesm2022/tectra-ng-blocks-wizard.mjs +160 -23
- package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -1
- package/fesm2022/tectra-ng-blocks.mjs +1 -1
- package/filters-panel/README.md +20 -1
- package/kanban/README.md +19 -1
- package/package.json +6 -6
- package/page-header/README.md +1 -1
- package/public-header/README.md +6 -0
- package/switch-language/README.md +1 -1
- package/topbar-preferences/README.md +1 -1
- package/types/tectra-ng-blocks-actions-menu.d.ts +9 -0
- package/types/tectra-ng-blocks-actions-menu.d.ts.map +1 -1
- package/types/tectra-ng-blocks-app-layout.d.ts +10 -3
- package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -1
- package/types/tectra-ng-blocks-command-palette.d.ts +38 -5
- package/types/tectra-ng-blocks-command-palette.d.ts.map +1 -1
- package/types/tectra-ng-blocks-console-layout.d.ts +58 -9
- package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -1
- package/types/tectra-ng-blocks-cookie-notice.d.ts +5 -5
- package/types/tectra-ng-blocks-filters-panel.d.ts +48 -4
- package/types/tectra-ng-blocks-filters-panel.d.ts.map +1 -1
- package/types/tectra-ng-blocks-kanban.d.ts +47 -7
- package/types/tectra-ng-blocks-kanban.d.ts.map +1 -1
- package/types/tectra-ng-blocks-public-header.d.ts +9 -2
- package/types/tectra-ng-blocks-public-header.d.ts.map +1 -1
- package/types/tectra-ng-blocks-wizard.d.ts +34 -6
- package/types/tectra-ng-blocks-wizard.d.ts.map +1 -1
- package/types/tectra-ng-blocks.d.ts +1 -1
- package/wizard/README.md +21 -3
|
@@ -15,7 +15,7 @@ var TxThemeRevealStyles = class TxThemeRevealStyles {
|
|
|
15
15
|
switchThemeTheme = injectTokens(SWITCH_THEME_THEME);
|
|
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: TxThemeRevealStyles,
|
|
21
21
|
deps: [],
|
|
@@ -23,7 +23,7 @@ var TxThemeRevealStyles = class TxThemeRevealStyles {
|
|
|
23
23
|
});
|
|
24
24
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
25
25
|
minVersion: "14.0.0",
|
|
26
|
-
version: "22.2.
|
|
26
|
+
version: "22.2.6",
|
|
27
27
|
type: TxThemeRevealStyles,
|
|
28
28
|
isStandalone: true,
|
|
29
29
|
selector: "tx-theme-reveal-styles",
|
|
@@ -38,7 +38,7 @@ var TxThemeRevealStyles = class TxThemeRevealStyles {
|
|
|
38
38
|
};
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({
|
|
40
40
|
minVersion: "12.0.0",
|
|
41
|
-
version: "22.2.
|
|
41
|
+
version: "22.2.6",
|
|
42
42
|
ngImport: i0,
|
|
43
43
|
type: TxThemeRevealStyles,
|
|
44
44
|
decorators: [{
|
|
@@ -99,7 +99,7 @@ var TxThemeReveal = class TxThemeReveal {
|
|
|
99
99
|
}
|
|
100
100
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
101
101
|
minVersion: "12.0.0",
|
|
102
|
-
version: "22.2.
|
|
102
|
+
version: "22.2.6",
|
|
103
103
|
ngImport: i0,
|
|
104
104
|
type: TxThemeReveal,
|
|
105
105
|
deps: [],
|
|
@@ -107,7 +107,7 @@ var TxThemeReveal = class TxThemeReveal {
|
|
|
107
107
|
});
|
|
108
108
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
109
109
|
minVersion: "17.1.0",
|
|
110
|
-
version: "22.2.
|
|
110
|
+
version: "22.2.6",
|
|
111
111
|
type: TxThemeReveal,
|
|
112
112
|
isStandalone: true,
|
|
113
113
|
selector: "[txThemeReveal]",
|
|
@@ -135,7 +135,7 @@ var TxThemeReveal = class TxThemeReveal {
|
|
|
135
135
|
};
|
|
136
136
|
i0.ɵɵngDeclareClassMetadata({
|
|
137
137
|
minVersion: "12.0.0",
|
|
138
|
-
version: "22.2.
|
|
138
|
+
version: "22.2.6",
|
|
139
139
|
ngImport: i0,
|
|
140
140
|
type: TxThemeReveal,
|
|
141
141
|
decorators: [{
|
|
@@ -201,7 +201,7 @@ var TxSwitchTheme = class TxSwitchTheme {
|
|
|
201
201
|
}
|
|
202
202
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
203
203
|
minVersion: "12.0.0",
|
|
204
|
-
version: "22.2.
|
|
204
|
+
version: "22.2.6",
|
|
205
205
|
ngImport: i0,
|
|
206
206
|
type: TxSwitchTheme,
|
|
207
207
|
deps: [],
|
|
@@ -209,7 +209,7 @@ var TxSwitchTheme = class TxSwitchTheme {
|
|
|
209
209
|
});
|
|
210
210
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
211
211
|
minVersion: "17.1.0",
|
|
212
|
-
version: "22.2.
|
|
212
|
+
version: "22.2.6",
|
|
213
213
|
type: TxSwitchTheme,
|
|
214
214
|
isStandalone: true,
|
|
215
215
|
selector: "tx-switch-theme",
|
|
@@ -319,7 +319,7 @@ var TxSwitchTheme = class TxSwitchTheme {
|
|
|
319
319
|
};
|
|
320
320
|
i0.ɵɵngDeclareClassMetadata({
|
|
321
321
|
minVersion: "12.0.0",
|
|
322
|
-
version: "22.2.
|
|
322
|
+
version: "22.2.6",
|
|
323
323
|
ngImport: i0,
|
|
324
324
|
type: TxSwitchTheme,
|
|
325
325
|
decorators: [{
|
|
@@ -81,7 +81,7 @@ var TxThemeConfigurator = class TxThemeConfigurator {
|
|
|
81
81
|
}
|
|
82
82
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
83
83
|
minVersion: "12.0.0",
|
|
84
|
-
version: "22.2.
|
|
84
|
+
version: "22.2.6",
|
|
85
85
|
ngImport: i0,
|
|
86
86
|
type: TxThemeConfigurator,
|
|
87
87
|
deps: [],
|
|
@@ -89,7 +89,7 @@ var TxThemeConfigurator = class TxThemeConfigurator {
|
|
|
89
89
|
});
|
|
90
90
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
91
91
|
minVersion: "17.0.0",
|
|
92
|
-
version: "22.2.
|
|
92
|
+
version: "22.2.6",
|
|
93
93
|
type: TxThemeConfigurator,
|
|
94
94
|
isStandalone: true,
|
|
95
95
|
selector: "tx-theme-configurator",
|
|
@@ -302,7 +302,7 @@ var TxThemeConfigurator = class TxThemeConfigurator {
|
|
|
302
302
|
};
|
|
303
303
|
i0.ɵɵngDeclareClassMetadata({
|
|
304
304
|
minVersion: "12.0.0",
|
|
305
|
-
version: "22.2.
|
|
305
|
+
version: "22.2.6",
|
|
306
306
|
ngImport: i0,
|
|
307
307
|
type: TxThemeConfigurator,
|
|
308
308
|
decorators: [{
|
|
@@ -44,7 +44,7 @@ var TxTopbarPreferences = class TxTopbarPreferences {
|
|
|
44
44
|
}
|
|
45
45
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
46
46
|
minVersion: "12.0.0",
|
|
47
|
-
version: "22.2.
|
|
47
|
+
version: "22.2.6",
|
|
48
48
|
ngImport: i0,
|
|
49
49
|
type: TxTopbarPreferences,
|
|
50
50
|
deps: [],
|
|
@@ -52,7 +52,7 @@ var TxTopbarPreferences = class TxTopbarPreferences {
|
|
|
52
52
|
});
|
|
53
53
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
54
54
|
minVersion: "17.0.0",
|
|
55
|
-
version: "22.2.
|
|
55
|
+
version: "22.2.6",
|
|
56
56
|
type: TxTopbarPreferences,
|
|
57
57
|
isStandalone: true,
|
|
58
58
|
selector: "tx-topbar-preferences",
|
|
@@ -165,7 +165,7 @@ var TxTopbarPreferences = class TxTopbarPreferences {
|
|
|
165
165
|
};
|
|
166
166
|
i0.ɵɵngDeclareClassMetadata({
|
|
167
167
|
minVersion: "12.0.0",
|
|
168
|
-
version: "22.2.
|
|
168
|
+
version: "22.2.6",
|
|
169
169
|
ngImport: i0,
|
|
170
170
|
type: TxTopbarPreferences,
|
|
171
171
|
decorators: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, afterRenderEffect, booleanAttribute, computed, inject, input, numberAttribute, output, viewChild } from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, 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";
|
|
@@ -7,6 +7,7 @@ import { TxIcon, provideTxIconDefaults, txIconArrowLeft, txIconArrowRight, txIco
|
|
|
7
7
|
import { injectTranslations } from "@tectra-ng/core/i18n";
|
|
8
8
|
import { TxPill } from "@tectra-ng/ui/pill";
|
|
9
9
|
import { DecimalPipe } from "@angular/common";
|
|
10
|
+
import { TxStyleLoader } from "@tectra-ng/core/styles";
|
|
10
11
|
import { TxButton } from "@tectra-ng/ui/button";
|
|
11
12
|
const WIZARD_ICON_DEFAULTS = {
|
|
12
13
|
"arrow-left": txIconArrowLeft,
|
|
@@ -32,7 +33,7 @@ var TxWizardLayout = class TxWizardLayout {
|
|
|
32
33
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
33
34
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
34
35
|
minVersion: "12.0.0",
|
|
35
|
-
version: "22.2.
|
|
36
|
+
version: "22.2.6",
|
|
36
37
|
ngImport: i0,
|
|
37
38
|
type: TxWizardLayout,
|
|
38
39
|
deps: [],
|
|
@@ -40,7 +41,7 @@ var TxWizardLayout = class TxWizardLayout {
|
|
|
40
41
|
});
|
|
41
42
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
42
43
|
minVersion: "17.1.0",
|
|
43
|
-
version: "22.2.
|
|
44
|
+
version: "22.2.6",
|
|
44
45
|
type: TxWizardLayout,
|
|
45
46
|
isStandalone: true,
|
|
46
47
|
selector: "tx-wizard-layout",
|
|
@@ -121,7 +122,7 @@ var TxWizardLayout = class TxWizardLayout {
|
|
|
121
122
|
};
|
|
122
123
|
i0.ɵɵngDeclareClassMetadata({
|
|
123
124
|
minVersion: "12.0.0",
|
|
124
|
-
version: "22.2.
|
|
125
|
+
version: "22.2.6",
|
|
125
126
|
ngImport: i0,
|
|
126
127
|
type: TxWizardLayout,
|
|
127
128
|
decorators: [{
|
|
@@ -234,7 +235,7 @@ var TxWizardProgress = class TxWizardProgress {
|
|
|
234
235
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
235
236
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
236
237
|
minVersion: "12.0.0",
|
|
237
|
-
version: "22.2.
|
|
238
|
+
version: "22.2.6",
|
|
238
239
|
ngImport: i0,
|
|
239
240
|
type: TxWizardProgress,
|
|
240
241
|
deps: [],
|
|
@@ -242,7 +243,7 @@ var TxWizardProgress = class TxWizardProgress {
|
|
|
242
243
|
});
|
|
243
244
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
244
245
|
minVersion: "17.0.0",
|
|
245
|
-
version: "22.2.
|
|
246
|
+
version: "22.2.6",
|
|
246
247
|
type: TxWizardProgress,
|
|
247
248
|
isStandalone: true,
|
|
248
249
|
selector: "tx-wizard-progress",
|
|
@@ -341,7 +342,7 @@ var TxWizardProgress = class TxWizardProgress {
|
|
|
341
342
|
};
|
|
342
343
|
i0.ɵɵngDeclareClassMetadata({
|
|
343
344
|
minVersion: "12.0.0",
|
|
344
|
-
version: "22.2.
|
|
345
|
+
version: "22.2.6",
|
|
345
346
|
ngImport: i0,
|
|
346
347
|
type: TxWizardProgress,
|
|
347
348
|
decorators: [{
|
|
@@ -467,7 +468,7 @@ var TxWizardStepHead = class TxWizardStepHead {
|
|
|
467
468
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
468
469
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
469
470
|
minVersion: "12.0.0",
|
|
470
|
-
version: "22.2.
|
|
471
|
+
version: "22.2.6",
|
|
471
472
|
ngImport: i0,
|
|
472
473
|
type: TxWizardStepHead,
|
|
473
474
|
deps: [],
|
|
@@ -475,7 +476,7 @@ var TxWizardStepHead = class TxWizardStepHead {
|
|
|
475
476
|
});
|
|
476
477
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
477
478
|
minVersion: "17.0.0",
|
|
478
|
-
version: "22.2.
|
|
479
|
+
version: "22.2.6",
|
|
479
480
|
type: TxWizardStepHead,
|
|
480
481
|
isStandalone: true,
|
|
481
482
|
selector: "tx-wizard-step-head",
|
|
@@ -596,7 +597,7 @@ var TxWizardStepHead = class TxWizardStepHead {
|
|
|
596
597
|
};
|
|
597
598
|
i0.ɵɵngDeclareClassMetadata({
|
|
598
599
|
minVersion: "12.0.0",
|
|
599
|
-
version: "22.2.
|
|
600
|
+
version: "22.2.6",
|
|
600
601
|
ngImport: i0,
|
|
601
602
|
type: TxWizardStepHead,
|
|
602
603
|
decorators: [{
|
|
@@ -699,6 +700,48 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
699
700
|
}]
|
|
700
701
|
}
|
|
701
702
|
});
|
|
703
|
+
var TxWizardSceneStyles = class TxWizardSceneStyles {
|
|
704
|
+
wizardTheme = injectTokens(WIZARD_THEME);
|
|
705
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
706
|
+
minVersion: "12.0.0",
|
|
707
|
+
version: "22.2.6",
|
|
708
|
+
ngImport: i0,
|
|
709
|
+
type: TxWizardSceneStyles,
|
|
710
|
+
deps: [],
|
|
711
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
712
|
+
});
|
|
713
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
714
|
+
minVersion: "14.0.0",
|
|
715
|
+
version: "22.2.6",
|
|
716
|
+
type: TxWizardSceneStyles,
|
|
717
|
+
isStandalone: true,
|
|
718
|
+
selector: "tx-wizard-scene-styles",
|
|
719
|
+
ngImport: i0,
|
|
720
|
+
template: "",
|
|
721
|
+
isInline: true,
|
|
722
|
+
styles: [".tx-wizard-scene--enter:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]){animation:tx-wizard-scene-enter var(--tx-wizard-stage-scene-enter-duration) var(--tx-wizard-stage-scene-easing) both}.tx-wizard-scene--leave:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]){animation:tx-wizard-scene-leave var(--tx-wizard-stage-scene-leave-duration) ease-in both}@keyframes tx-wizard-scene-enter{0%{opacity:0;transform:translate(calc(var(--tx-wizard-direction, 1) * var(--tx-wizard-stage-scene-enter-shift))) scale(.96)}}@keyframes tx-wizard-scene-leave{to{opacity:0;transform:translate(calc(var(--tx-wizard-direction, 1) * -1 * var(--tx-wizard-stage-scene-leave-shift))) scale(.98)}}@media(prefers-reduced-motion:reduce){.tx-wizard-scene--enter:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]),.tx-wizard-scene--leave:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]){animation:none}}\n"],
|
|
723
|
+
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
724
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
725
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
726
|
+
});
|
|
727
|
+
};
|
|
728
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
729
|
+
minVersion: "12.0.0",
|
|
730
|
+
version: "22.2.6",
|
|
731
|
+
ngImport: i0,
|
|
732
|
+
type: TxWizardSceneStyles,
|
|
733
|
+
decorators: [{
|
|
734
|
+
type: Component,
|
|
735
|
+
args: [{
|
|
736
|
+
selector: "tx-wizard-scene-styles",
|
|
737
|
+
template: "",
|
|
738
|
+
encapsulation: ViewEncapsulation.None,
|
|
739
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
740
|
+
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
741
|
+
styles: [".tx-wizard-scene--enter:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]){animation:tx-wizard-scene-enter var(--tx-wizard-stage-scene-enter-duration) var(--tx-wizard-stage-scene-easing) both}.tx-wizard-scene--leave:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]){animation:tx-wizard-scene-leave var(--tx-wizard-stage-scene-leave-duration) ease-in both}@keyframes tx-wizard-scene-enter{0%{opacity:0;transform:translate(calc(var(--tx-wizard-direction, 1) * var(--tx-wizard-stage-scene-enter-shift))) scale(.96)}}@keyframes tx-wizard-scene-leave{to{opacity:0;transform:translate(calc(var(--tx-wizard-direction, 1) * -1 * var(--tx-wizard-stage-scene-leave-shift))) scale(.98)}}@media(prefers-reduced-motion:reduce){.tx-wizard-scene--enter:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]),.tx-wizard-scene--leave:is(.tx-wizard-stage[data-styled] *,.tx-wizard-scene[data-styled]){animation:none}}\n"]
|
|
742
|
+
}]
|
|
743
|
+
}]
|
|
744
|
+
});
|
|
702
745
|
var TxWizardStage = class TxWizardStage {
|
|
703
746
|
wizardTheme = injectTokens(WIZARD_THEME);
|
|
704
747
|
layout = inject(TxWizardLayout, { optional: true });
|
|
@@ -721,6 +764,7 @@ var TxWizardStage = class TxWizardStage {
|
|
|
721
764
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
722
765
|
captionElement = viewChild("captionElement", ...ngDevMode ? [{ debugName: "captionElement" }] : /* istanbul ignore next */ []);
|
|
723
766
|
constructor() {
|
|
767
|
+
inject(TxStyleLoader).load(TxWizardSceneStyles);
|
|
724
768
|
let shown;
|
|
725
769
|
afterRenderEffect(() => {
|
|
726
770
|
const text = this.caption();
|
|
@@ -731,7 +775,7 @@ var TxWizardStage = class TxWizardStage {
|
|
|
731
775
|
}
|
|
732
776
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
733
777
|
minVersion: "12.0.0",
|
|
734
|
-
version: "22.2.
|
|
778
|
+
version: "22.2.6",
|
|
735
779
|
ngImport: i0,
|
|
736
780
|
type: TxWizardStage,
|
|
737
781
|
deps: [],
|
|
@@ -739,7 +783,7 @@ var TxWizardStage = class TxWizardStage {
|
|
|
739
783
|
});
|
|
740
784
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
741
785
|
minVersion: "17.0.0",
|
|
742
|
-
version: "22.2.
|
|
786
|
+
version: "22.2.6",
|
|
743
787
|
type: TxWizardStage,
|
|
744
788
|
isStandalone: true,
|
|
745
789
|
selector: "tx-wizard-stage",
|
|
@@ -829,7 +873,7 @@ var TxWizardStage = class TxWizardStage {
|
|
|
829
873
|
</div>
|
|
830
874
|
`,
|
|
831
875
|
isInline: true,
|
|
832
|
-
styles: [":host{--
|
|
876
|
+
styles: [":host{--tx-wizard-direction: 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]){--tx-wizard-direction: -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)}@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-caption-in{0%{opacity:0;transform:translateY(10px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-wizard-stage__caption--enter{animation:none}}\n"],
|
|
833
877
|
dependencies: [{
|
|
834
878
|
kind: "pipe",
|
|
835
879
|
type: DecimalPipe,
|
|
@@ -841,7 +885,7 @@ var TxWizardStage = class TxWizardStage {
|
|
|
841
885
|
};
|
|
842
886
|
i0.ɵɵngDeclareClassMetadata({
|
|
843
887
|
minVersion: "12.0.0",
|
|
844
|
-
version: "22.2.
|
|
888
|
+
version: "22.2.6",
|
|
845
889
|
ngImport: i0,
|
|
846
890
|
type: TxWizardStage,
|
|
847
891
|
decorators: [{
|
|
@@ -875,7 +919,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
875
919
|
"[attr.data-responsive]": "responsive()"
|
|
876
920
|
},
|
|
877
921
|
viewProviders: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
878
|
-
styles: [":host{--
|
|
922
|
+
styles: [":host{--tx-wizard-direction: 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]){--tx-wizard-direction: -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)}@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-caption-in{0%{opacity:0;transform:translateY(10px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-wizard-stage__caption--enter{animation:none}}\n"]
|
|
879
923
|
}]
|
|
880
924
|
}],
|
|
881
925
|
ctorParameters: () => [],
|
|
@@ -948,6 +992,99 @@ function replayCaption(element) {
|
|
|
948
992
|
element.getBoundingClientRect();
|
|
949
993
|
element.classList.add(CAPTION_ENTER);
|
|
950
994
|
}
|
|
995
|
+
var TxWizardScene = class TxWizardScene {
|
|
996
|
+
wizardTheme = injectTokens(WIZARD_THEME);
|
|
997
|
+
direction = input(void 0, ...ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []);
|
|
998
|
+
unstyled = input(void 0, {
|
|
999
|
+
...ngDevMode ? { debugName: "unstyled" } : /* istanbul ignore next */ {},
|
|
1000
|
+
transform: optionalBoolean
|
|
1001
|
+
});
|
|
1002
|
+
isUnstyled = injectUnstyled(this.unstyled);
|
|
1003
|
+
shift = computed(() => {
|
|
1004
|
+
const direction = this.direction();
|
|
1005
|
+
return direction ? direction === "back" ? -1 : 1 : null;
|
|
1006
|
+
}, ...ngDevMode ? [{ debugName: "shift" }] : /* istanbul ignore next */ []);
|
|
1007
|
+
constructor() {
|
|
1008
|
+
inject(TxStyleLoader).load(TxWizardSceneStyles);
|
|
1009
|
+
}
|
|
1010
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1011
|
+
minVersion: "12.0.0",
|
|
1012
|
+
version: "22.2.6",
|
|
1013
|
+
ngImport: i0,
|
|
1014
|
+
type: TxWizardScene,
|
|
1015
|
+
deps: [],
|
|
1016
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
1017
|
+
});
|
|
1018
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1019
|
+
minVersion: "17.1.0",
|
|
1020
|
+
version: "22.2.6",
|
|
1021
|
+
type: TxWizardScene,
|
|
1022
|
+
isStandalone: true,
|
|
1023
|
+
selector: "[txWizardScene]",
|
|
1024
|
+
inputs: {
|
|
1025
|
+
direction: {
|
|
1026
|
+
classPropertyName: "direction",
|
|
1027
|
+
publicName: "direction",
|
|
1028
|
+
isSignal: true,
|
|
1029
|
+
isRequired: false,
|
|
1030
|
+
transformFunction: null
|
|
1031
|
+
},
|
|
1032
|
+
unstyled: {
|
|
1033
|
+
classPropertyName: "unstyled",
|
|
1034
|
+
publicName: "unstyled",
|
|
1035
|
+
isSignal: true,
|
|
1036
|
+
isRequired: false,
|
|
1037
|
+
transformFunction: null
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
host: {
|
|
1041
|
+
properties: {
|
|
1042
|
+
"attr.data-styled": "!isUnstyled() || null",
|
|
1043
|
+
"style.--tx-wizard-direction": "shift()"
|
|
1044
|
+
},
|
|
1045
|
+
classAttribute: "tx-wizard-scene"
|
|
1046
|
+
},
|
|
1047
|
+
providers: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)],
|
|
1048
|
+
ngImport: i0
|
|
1049
|
+
});
|
|
1050
|
+
};
|
|
1051
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1052
|
+
minVersion: "12.0.0",
|
|
1053
|
+
version: "22.2.6",
|
|
1054
|
+
ngImport: i0,
|
|
1055
|
+
type: TxWizardScene,
|
|
1056
|
+
decorators: [{
|
|
1057
|
+
type: Directive,
|
|
1058
|
+
args: [{
|
|
1059
|
+
selector: "[txWizardScene]",
|
|
1060
|
+
host: {
|
|
1061
|
+
class: "tx-wizard-scene",
|
|
1062
|
+
"[attr.data-styled]": "!isUnstyled() || null",
|
|
1063
|
+
"[style.--tx-wizard-direction]": "shift()"
|
|
1064
|
+
},
|
|
1065
|
+
providers: [provideTxIconDefaults(WIZARD_ICON_DEFAULTS)]
|
|
1066
|
+
}]
|
|
1067
|
+
}],
|
|
1068
|
+
ctorParameters: () => [],
|
|
1069
|
+
propDecorators: {
|
|
1070
|
+
direction: [{
|
|
1071
|
+
type: i0.Input,
|
|
1072
|
+
args: [{
|
|
1073
|
+
isSignal: true,
|
|
1074
|
+
alias: "direction",
|
|
1075
|
+
required: false
|
|
1076
|
+
}]
|
|
1077
|
+
}],
|
|
1078
|
+
unstyled: [{
|
|
1079
|
+
type: i0.Input,
|
|
1080
|
+
args: [{
|
|
1081
|
+
isSignal: true,
|
|
1082
|
+
alias: "unstyled",
|
|
1083
|
+
required: false
|
|
1084
|
+
}]
|
|
1085
|
+
}]
|
|
1086
|
+
}
|
|
1087
|
+
});
|
|
951
1088
|
var TxWizardFooter = class TxWizardFooter {
|
|
952
1089
|
wizardTheme = injectTokens(WIZARD_THEME);
|
|
953
1090
|
nextLabel = input(void 0, ...ngDevMode ? [{ debugName: "nextLabel" }] : /* istanbul ignore next */ []);
|
|
@@ -981,7 +1118,7 @@ var TxWizardFooter = class TxWizardFooter {
|
|
|
981
1118
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
982
1119
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
983
1120
|
minVersion: "12.0.0",
|
|
984
|
-
version: "22.2.
|
|
1121
|
+
version: "22.2.6",
|
|
985
1122
|
ngImport: i0,
|
|
986
1123
|
type: TxWizardFooter,
|
|
987
1124
|
deps: [],
|
|
@@ -989,7 +1126,7 @@ var TxWizardFooter = class TxWizardFooter {
|
|
|
989
1126
|
});
|
|
990
1127
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
991
1128
|
minVersion: "17.0.0",
|
|
992
|
-
version: "22.2.
|
|
1129
|
+
version: "22.2.6",
|
|
993
1130
|
type: TxWizardFooter,
|
|
994
1131
|
isStandalone: true,
|
|
995
1132
|
selector: "tx-wizard-footer",
|
|
@@ -1094,7 +1231,7 @@ var TxWizardFooter = class TxWizardFooter {
|
|
|
1094
1231
|
[style]="passThrough().back?.style"
|
|
1095
1232
|
(click)="back.emit()"
|
|
1096
1233
|
>
|
|
1097
|
-
{{ backLabel()
|
|
1234
|
+
{{ backLabel() || translations().wizardBack }}
|
|
1098
1235
|
</button>
|
|
1099
1236
|
}
|
|
1100
1237
|
<div class="tx-wizard-footer__end">
|
|
@@ -1124,7 +1261,7 @@ var TxWizardFooter = class TxWizardFooter {
|
|
|
1124
1261
|
[style]="passThrough().next?.style"
|
|
1125
1262
|
(click)="next.emit()"
|
|
1126
1263
|
>
|
|
1127
|
-
{{ nextLabel()
|
|
1264
|
+
{{ nextLabel() || translations().wizardNext }}
|
|
1128
1265
|
</button>
|
|
1129
1266
|
</div>
|
|
1130
1267
|
`,
|
|
@@ -1167,7 +1304,7 @@ var TxWizardFooter = class TxWizardFooter {
|
|
|
1167
1304
|
};
|
|
1168
1305
|
i0.ɵɵngDeclareClassMetadata({
|
|
1169
1306
|
minVersion: "12.0.0",
|
|
1170
|
-
version: "22.2.
|
|
1307
|
+
version: "22.2.6",
|
|
1171
1308
|
ngImport: i0,
|
|
1172
1309
|
type: TxWizardFooter,
|
|
1173
1310
|
decorators: [{
|
|
@@ -1189,7 +1326,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1189
1326
|
[style]="passThrough().back?.style"
|
|
1190
1327
|
(click)="back.emit()"
|
|
1191
1328
|
>
|
|
1192
|
-
{{ backLabel()
|
|
1329
|
+
{{ backLabel() || translations().wizardBack }}
|
|
1193
1330
|
</button>
|
|
1194
1331
|
}
|
|
1195
1332
|
<div class="tx-wizard-footer__end">
|
|
@@ -1219,7 +1356,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1219
1356
|
[style]="passThrough().next?.style"
|
|
1220
1357
|
(click)="next.emit()"
|
|
1221
1358
|
>
|
|
1222
|
-
{{ nextLabel()
|
|
1359
|
+
{{ nextLabel() || translations().wizardNext }}
|
|
1223
1360
|
</button>
|
|
1224
1361
|
</div>
|
|
1225
1362
|
`,
|
|
@@ -1330,6 +1467,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1330
1467
|
}]
|
|
1331
1468
|
}
|
|
1332
1469
|
});
|
|
1333
|
-
export { TxWizardFooter, TxWizardLayout, TxWizardProgress, TxWizardStage, TxWizardStepHead };
|
|
1470
|
+
export { TxWizardFooter, TxWizardLayout, TxWizardProgress, TxWizardScene, TxWizardStage, TxWizardStepHead };
|
|
1334
1471
|
|
|
1335
1472
|
//# sourceMappingURL=tectra-ng-blocks-wizard.mjs.map
|