@tectra-ng/blocks 0.0.0-stage → 0.1.7
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/README.md +16 -2
- package/action-tile/README.md +33 -0
- package/actions-menu/README.md +42 -0
- package/app-footer/README.md +30 -0
- package/app-layout/README.md +51 -0
- package/command-palette/README.md +63 -0
- package/console-layout/README.md +70 -0
- package/cookie-notice/README.md +45 -0
- package/empty-state/README.md +35 -0
- package/fesm2022/tectra-ng-blocks-action-tile.mjs +294 -0
- package/fesm2022/tectra-ng-blocks-action-tile.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-actions-menu.mjs +380 -0
- package/fesm2022/tectra-ng-blocks-actions-menu.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-app-footer.mjs +276 -0
- package/fesm2022/tectra-ng-blocks-app-footer.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-app-layout.mjs +544 -0
- package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-command-palette.mjs +663 -0
- package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-console-layout.mjs +1060 -0
- package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +416 -0
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-empty-state.mjs +278 -0
- package/fesm2022/tectra-ng-blocks-empty-state.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs +959 -0
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-kanban.mjs +864 -0
- package/fesm2022/tectra-ng-blocks-kanban.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-network-status.mjs +303 -0
- package/fesm2022/tectra-ng-blocks-network-status.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-page-header.mjs +195 -0
- package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs +692 -0
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-public-header.mjs +372 -0
- package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-qr-code.mjs +487 -0
- package/fesm2022/tectra-ng-blocks-qr-code.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-switch-language.mjs +316 -0
- package/fesm2022/tectra-ng-blocks-switch-language.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-switch-theme.mjs +416 -0
- package/fesm2022/tectra-ng-blocks-switch-theme.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs +260 -0
- package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-wizard.mjs +1284 -0
- package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks.mjs +4 -0
- package/fesm2022/tectra-ng-blocks.mjs.map +1 -0
- package/filters-panel/README.md +68 -0
- package/kanban/README.md +55 -0
- package/network-status/README.md +33 -0
- package/package.json +137 -3
- package/page-header/README.md +32 -0
- package/pinned-tabs/README.md +42 -0
- package/public-header/README.md +44 -0
- package/qr-code/README.md +52 -0
- package/switch-language/README.md +33 -0
- package/switch-theme/README.md +32 -0
- package/topbar-preferences/README.md +35 -0
- package/types/tectra-ng-blocks-action-tile.d.ts +114 -0
- package/types/tectra-ng-blocks-action-tile.d.ts.map +1 -0
- package/types/tectra-ng-blocks-actions-menu.d.ts +112 -0
- package/types/tectra-ng-blocks-actions-menu.d.ts.map +1 -0
- package/types/tectra-ng-blocks-app-footer.d.ts +111 -0
- package/types/tectra-ng-blocks-app-footer.d.ts.map +1 -0
- package/types/tectra-ng-blocks-app-layout.d.ts +212 -0
- package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -0
- package/types/tectra-ng-blocks-command-palette.d.ts +291 -0
- package/types/tectra-ng-blocks-command-palette.d.ts.map +1 -0
- package/types/tectra-ng-blocks-console-layout.d.ts +454 -0
- package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -0
- package/types/tectra-ng-blocks-cookie-notice.d.ts +168 -0
- package/types/tectra-ng-blocks-cookie-notice.d.ts.map +1 -0
- package/types/tectra-ng-blocks-empty-state.d.ts +138 -0
- package/types/tectra-ng-blocks-empty-state.d.ts.map +1 -0
- package/types/tectra-ng-blocks-filters-panel.d.ts +314 -0
- package/types/tectra-ng-blocks-filters-panel.d.ts.map +1 -0
- package/types/tectra-ng-blocks-kanban.d.ts +260 -0
- package/types/tectra-ng-blocks-kanban.d.ts.map +1 -0
- package/types/tectra-ng-blocks-network-status.d.ts +108 -0
- package/types/tectra-ng-blocks-network-status.d.ts.map +1 -0
- package/types/tectra-ng-blocks-page-header.d.ts +86 -0
- package/types/tectra-ng-blocks-page-header.d.ts.map +1 -0
- package/types/tectra-ng-blocks-pinned-tabs.d.ts +159 -0
- package/types/tectra-ng-blocks-pinned-tabs.d.ts.map +1 -0
- package/types/tectra-ng-blocks-public-header.d.ts +142 -0
- package/types/tectra-ng-blocks-public-header.d.ts.map +1 -0
- package/types/tectra-ng-blocks-qr-code.d.ts +160 -0
- package/types/tectra-ng-blocks-qr-code.d.ts.map +1 -0
- package/types/tectra-ng-blocks-switch-language.d.ts +106 -0
- package/types/tectra-ng-blocks-switch-language.d.ts.map +1 -0
- package/types/tectra-ng-blocks-switch-theme.d.ts +108 -0
- package/types/tectra-ng-blocks-switch-theme.d.ts.map +1 -0
- package/types/tectra-ng-blocks-topbar-preferences.d.ts +103 -0
- package/types/tectra-ng-blocks-topbar-preferences.d.ts.map +1 -0
- package/types/tectra-ng-blocks-wizard.d.ts +682 -0
- package/types/tectra-ng-blocks-wizard.d.ts.map +1 -0
- package/types/tectra-ng-blocks.d.ts +2 -0
- package/types/tectra-ng-blocks.d.ts.map +1 -0
- package/wizard/README.md +77 -0
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, DOCUMENT, DestroyRef, computed, inject, input, linkedSignal, model, signal } from "@angular/core";
|
|
3
|
+
import { TxLocaleService, injectTranslations } from "@tectra-ng/core/i18n";
|
|
4
|
+
import { TxIcon } from "@tectra-ng/icons";
|
|
5
|
+
import { TxButton } from "@tectra-ng/ui/button";
|
|
6
|
+
import { TxDialogContent, TxDialogFooter, TxDialogHeader, TxDialogService, injectDialogData, injectDialogRef } from "@tectra-ng/ui/dialog";
|
|
7
|
+
import { TxMessage } from "@tectra-ng/ui/message";
|
|
8
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
9
|
+
import { injectPassThrough, injectUnstyled } from "@tectra-ng/core/config";
|
|
10
|
+
import { optionalBoolean } from "@tectra-ng/core/utils";
|
|
11
|
+
import { toStyleObject } from "@tectra-ng/themes";
|
|
12
|
+
import { TxTabs } from "@tectra-ng/ui/tabs";
|
|
13
|
+
import { TxTooltip } from "@tectra-ng/ui/tooltip";
|
|
14
|
+
var TxPinnedTabsDialog = class TxPinnedTabsDialog {
|
|
15
|
+
locale = inject(TxLocaleService);
|
|
16
|
+
data = injectDialogData();
|
|
17
|
+
ref = injectDialogRef();
|
|
18
|
+
translations = injectTranslations();
|
|
19
|
+
draft = signal(this.data.pinned, ...ngDevMode ? [{ debugName: "draft" }] : /* istanbul ignore next */ []);
|
|
20
|
+
chosen = computed(() => {
|
|
21
|
+
const draft = this.draft();
|
|
22
|
+
return this.data.options.map((option) => option.value).filter((value) => draft.includes(value));
|
|
23
|
+
}, ...ngDevMode ? [{ debugName: "chosen" }] : /* istanbul ignore next */ []);
|
|
24
|
+
counter = computed(() => this.locale.translate("pinnedSelected", {
|
|
25
|
+
count: this.chosen().length,
|
|
26
|
+
total: this.data.options.length
|
|
27
|
+
}), ...ngDevMode ? [{ debugName: "counter" }] : /* istanbul ignore next */ []);
|
|
28
|
+
toggle(value) {
|
|
29
|
+
this.draft.update((draft) => draft.includes(value) ? draft.filter((item) => item !== value) : [...draft, value]);
|
|
30
|
+
}
|
|
31
|
+
save() {
|
|
32
|
+
this.ref.close(this.chosen());
|
|
33
|
+
}
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
35
|
+
minVersion: "12.0.0",
|
|
36
|
+
version: "22.2.3",
|
|
37
|
+
ngImport: i0,
|
|
38
|
+
type: TxPinnedTabsDialog,
|
|
39
|
+
deps: [],
|
|
40
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
41
|
+
});
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
43
|
+
minVersion: "17.0.0",
|
|
44
|
+
version: "22.2.3",
|
|
45
|
+
type: TxPinnedTabsDialog,
|
|
46
|
+
isStandalone: true,
|
|
47
|
+
selector: "tx-pinned-tabs-dialog",
|
|
48
|
+
ngImport: i0,
|
|
49
|
+
template: `
|
|
50
|
+
<tx-dialog-header [title]="data.title || translations().pinnedTabs" />
|
|
51
|
+
<tx-dialog-content>
|
|
52
|
+
<div class="tx-pinned-tabs-dialog">
|
|
53
|
+
<tx-message severity="secondary" variant="simple" [text]="data.text || translations().pinnedTabsHint" />
|
|
54
|
+
<div class="tx-pinned-tabs-dialog__section">
|
|
55
|
+
<span class="tx-pinned-tabs-dialog__counter" aria-live="polite">{{ counter() }}</span>
|
|
56
|
+
<div class="tx-pinned-tabs-dialog__options" role="group" [attr.aria-label]="data.title || translations().pinnedTabs">
|
|
57
|
+
@for (option of data.options; track option.value) {
|
|
58
|
+
<button
|
|
59
|
+
type="button"
|
|
60
|
+
role="checkbox"
|
|
61
|
+
class="tx-pinned-tabs-dialog__option"
|
|
62
|
+
[class.tx-pinned-tabs-dialog__option--selected]="draft().includes(option.value)"
|
|
63
|
+
[attr.aria-checked]="draft().includes(option.value)"
|
|
64
|
+
[title]="option.label"
|
|
65
|
+
(click)="toggle(option.value)"
|
|
66
|
+
>
|
|
67
|
+
<span class="tx-pinned-tabs-dialog__label">{{ option.label }}</span>
|
|
68
|
+
<span class="tx-pinned-tabs-dialog__check" aria-hidden="true"><tx-icon name="check" /></span>
|
|
69
|
+
</button>
|
|
70
|
+
}
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</tx-dialog-content>
|
|
75
|
+
<tx-dialog-footer>
|
|
76
|
+
<div class="tx-pinned-tabs-dialog__actions">
|
|
77
|
+
<button txButton type="button" severity="secondary" fluid (click)="ref.close()">{{ translations().cancel }}</button>
|
|
78
|
+
<button txButton type="button" icon="check" fluid (click)="save()">{{ translations().save }}</button>
|
|
79
|
+
</div>
|
|
80
|
+
</tx-dialog-footer>
|
|
81
|
+
`,
|
|
82
|
+
isInline: true,
|
|
83
|
+
styles: [".tx-pinned-tabs-dialog{display:flex;flex-direction:column;gap:var(--tx-pinned-tabs-dialog-gap);font-family:var(--tx-font-family)}.tx-pinned-tabs-dialog__section{display:flex;flex-direction:column;gap:var(--tx-pinned-tabs-dialog-section-gap);min-width:0}.tx-pinned-tabs-dialog__counter{color:var(--tx-pinned-tabs-dialog-counter-color);font-size:var(--tx-pinned-tabs-dialog-counter-font-size);font-weight:var(--tx-pinned-tabs-dialog-counter-font-weight);font-variant-numeric:tabular-nums}.tx-pinned-tabs-dialog__options{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--tx-pinned-tabs-dialog-options-min-width),1fr));gap:var(--tx-pinned-tabs-dialog-options-gap);max-height:var(--tx-pinned-tabs-dialog-options-max-height);overflow-y:auto}.tx-pinned-tabs-dialog__option{display:flex;align-items:center;justify-content:space-between;gap:var(--tx-pinned-tabs-option-gap);box-sizing:border-box;width:100%;min-width:0;height:var(--tx-pinned-tabs-option-height);padding:var(--tx-pinned-tabs-option-padding);border:0;border-radius:var(--tx-pinned-tabs-option-border-radius);background:var(--tx-pinned-tabs-option-background);box-shadow:inset 0 0 0 1px transparent;color:var(--tx-pinned-tabs-option-color);cursor:pointer;font:inherit;font-size:var(--tx-pinned-tabs-option-font-size);font-weight:var(--tx-pinned-tabs-option-font-weight);text-align:start;-webkit-user-select:none;user-select:none;transition:background-color var(--tx-pinned-tabs-option-duration) ease-out,box-shadow var(--tx-pinned-tabs-option-duration) ease-out,scale var(--tx-pinned-tabs-option-duration) ease-out}.tx-pinned-tabs-dialog__option:hover{background:var(--tx-pinned-tabs-option-hover-background);box-shadow:inset 0 0 0 1px var(--tx-pinned-tabs-option-hover-ring-color)}.tx-pinned-tabs-dialog__option:active{scale:var(--tx-pinned-tabs-option-active-scale)}.tx-pinned-tabs-dialog__option:focus-visible{outline:none;box-shadow:var(--tx-pinned-tabs-option-focus-ring-shadow)}.tx-pinned-tabs-dialog__option--selected{background:var(--tx-pinned-tabs-option-selected-background);box-shadow:inset 0 0 0 1px var(--tx-pinned-tabs-option-selected-ring-color)}.tx-pinned-tabs-dialog__option--selected:hover{background:var(--tx-pinned-tabs-option-selected-hover-background);box-shadow:inset 0 0 0 1px var(--tx-pinned-tabs-option-selected-hover-ring-color)}.tx-pinned-tabs-dialog__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-pinned-tabs-dialog__check{display:grid;flex-shrink:0;place-items:center;width:var(--tx-pinned-tabs-check-size);height:var(--tx-pinned-tabs-check-size);border-radius:var(--tx-radius-full);box-shadow:inset 0 0 0 1.5px var(--tx-pinned-tabs-check-ring-color);color:transparent;font-size:var(--tx-pinned-tabs-check-icon-size);transition:background-color var(--tx-pinned-tabs-option-duration) ease-out,box-shadow var(--tx-pinned-tabs-option-duration) ease-out,color var(--tx-pinned-tabs-option-duration) ease-out}.tx-pinned-tabs-dialog__check tx-icon{--tx-icon-stroke-width: 3;scale:.5;transition:scale var(--tx-pinned-tabs-option-duration) ease-out}.tx-pinned-tabs-dialog__option--selected .tx-pinned-tabs-dialog__check{background:var(--tx-pinned-tabs-check-background);box-shadow:inset 0 0 0 1.5px var(--tx-pinned-tabs-check-background);color:var(--tx-pinned-tabs-check-color)}.tx-pinned-tabs-dialog__option--selected .tx-pinned-tabs-dialog__check tx-icon{scale:1}.tx-pinned-tabs-dialog__actions{display:flex;gap:var(--tx-pinned-tabs-dialog-options-gap);width:100%}@media(prefers-reduced-motion:reduce){.tx-pinned-tabs-dialog__option,.tx-pinned-tabs-dialog__check,.tx-pinned-tabs-dialog__check tx-icon{transition:none}.tx-pinned-tabs-dialog__option:active{scale:1}}\n"],
|
|
84
|
+
dependencies: [
|
|
85
|
+
{
|
|
86
|
+
kind: "component",
|
|
87
|
+
type: TxDialogHeader,
|
|
88
|
+
selector: "tx-dialog-header",
|
|
89
|
+
inputs: [
|
|
90
|
+
"title",
|
|
91
|
+
"subtitle",
|
|
92
|
+
"closeButton",
|
|
93
|
+
"maximizeButton"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
kind: "component",
|
|
98
|
+
type: TxDialogContent,
|
|
99
|
+
selector: "tx-dialog-content"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
kind: "component",
|
|
103
|
+
type: TxDialogFooter,
|
|
104
|
+
selector: "tx-dialog-footer"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
kind: "component",
|
|
108
|
+
type: TxButton,
|
|
109
|
+
selector: "button[txButton], a[txButton]",
|
|
110
|
+
inputs: [
|
|
111
|
+
"label",
|
|
112
|
+
"severity",
|
|
113
|
+
"size",
|
|
114
|
+
"variant",
|
|
115
|
+
"outlined",
|
|
116
|
+
"text",
|
|
117
|
+
"link",
|
|
118
|
+
"rounded",
|
|
119
|
+
"raised",
|
|
120
|
+
"plain",
|
|
121
|
+
"fluid",
|
|
122
|
+
"disabled",
|
|
123
|
+
"tabindex",
|
|
124
|
+
"icon",
|
|
125
|
+
"iconPos",
|
|
126
|
+
"iconOnly",
|
|
127
|
+
"loading",
|
|
128
|
+
"loadingIcon",
|
|
129
|
+
"badge",
|
|
130
|
+
"badgeSeverity",
|
|
131
|
+
"dt",
|
|
132
|
+
"pt",
|
|
133
|
+
"ptOptions",
|
|
134
|
+
"unstyled"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
kind: "component",
|
|
139
|
+
type: TxIcon,
|
|
140
|
+
selector: "tx-icon",
|
|
141
|
+
inputs: ["name"]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
kind: "component",
|
|
145
|
+
type: TxMessage,
|
|
146
|
+
selector: "tx-message",
|
|
147
|
+
inputs: [
|
|
148
|
+
"severity",
|
|
149
|
+
"text",
|
|
150
|
+
"icon",
|
|
151
|
+
"size",
|
|
152
|
+
"variant",
|
|
153
|
+
"closable",
|
|
154
|
+
"closeIcon",
|
|
155
|
+
"life",
|
|
156
|
+
"dt",
|
|
157
|
+
"pt",
|
|
158
|
+
"ptOptions",
|
|
159
|
+
"unstyled"
|
|
160
|
+
],
|
|
161
|
+
outputs: ["closed"]
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
168
|
+
minVersion: "12.0.0",
|
|
169
|
+
version: "22.2.3",
|
|
170
|
+
ngImport: i0,
|
|
171
|
+
type: TxPinnedTabsDialog,
|
|
172
|
+
decorators: [{
|
|
173
|
+
type: Component,
|
|
174
|
+
args: [{
|
|
175
|
+
selector: "tx-pinned-tabs-dialog",
|
|
176
|
+
imports: [
|
|
177
|
+
TxDialogHeader,
|
|
178
|
+
TxDialogContent,
|
|
179
|
+
TxDialogFooter,
|
|
180
|
+
TxButton,
|
|
181
|
+
TxIcon,
|
|
182
|
+
TxMessage
|
|
183
|
+
],
|
|
184
|
+
template: `
|
|
185
|
+
<tx-dialog-header [title]="data.title || translations().pinnedTabs" />
|
|
186
|
+
<tx-dialog-content>
|
|
187
|
+
<div class="tx-pinned-tabs-dialog">
|
|
188
|
+
<tx-message severity="secondary" variant="simple" [text]="data.text || translations().pinnedTabsHint" />
|
|
189
|
+
<div class="tx-pinned-tabs-dialog__section">
|
|
190
|
+
<span class="tx-pinned-tabs-dialog__counter" aria-live="polite">{{ counter() }}</span>
|
|
191
|
+
<div class="tx-pinned-tabs-dialog__options" role="group" [attr.aria-label]="data.title || translations().pinnedTabs">
|
|
192
|
+
@for (option of data.options; track option.value) {
|
|
193
|
+
<button
|
|
194
|
+
type="button"
|
|
195
|
+
role="checkbox"
|
|
196
|
+
class="tx-pinned-tabs-dialog__option"
|
|
197
|
+
[class.tx-pinned-tabs-dialog__option--selected]="draft().includes(option.value)"
|
|
198
|
+
[attr.aria-checked]="draft().includes(option.value)"
|
|
199
|
+
[title]="option.label"
|
|
200
|
+
(click)="toggle(option.value)"
|
|
201
|
+
>
|
|
202
|
+
<span class="tx-pinned-tabs-dialog__label">{{ option.label }}</span>
|
|
203
|
+
<span class="tx-pinned-tabs-dialog__check" aria-hidden="true"><tx-icon name="check" /></span>
|
|
204
|
+
</button>
|
|
205
|
+
}
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
</tx-dialog-content>
|
|
210
|
+
<tx-dialog-footer>
|
|
211
|
+
<div class="tx-pinned-tabs-dialog__actions">
|
|
212
|
+
<button txButton type="button" severity="secondary" fluid (click)="ref.close()">{{ translations().cancel }}</button>
|
|
213
|
+
<button txButton type="button" icon="check" fluid (click)="save()">{{ translations().save }}</button>
|
|
214
|
+
</div>
|
|
215
|
+
</tx-dialog-footer>
|
|
216
|
+
`,
|
|
217
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
218
|
+
styles: [".tx-pinned-tabs-dialog{display:flex;flex-direction:column;gap:var(--tx-pinned-tabs-dialog-gap);font-family:var(--tx-font-family)}.tx-pinned-tabs-dialog__section{display:flex;flex-direction:column;gap:var(--tx-pinned-tabs-dialog-section-gap);min-width:0}.tx-pinned-tabs-dialog__counter{color:var(--tx-pinned-tabs-dialog-counter-color);font-size:var(--tx-pinned-tabs-dialog-counter-font-size);font-weight:var(--tx-pinned-tabs-dialog-counter-font-weight);font-variant-numeric:tabular-nums}.tx-pinned-tabs-dialog__options{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--tx-pinned-tabs-dialog-options-min-width),1fr));gap:var(--tx-pinned-tabs-dialog-options-gap);max-height:var(--tx-pinned-tabs-dialog-options-max-height);overflow-y:auto}.tx-pinned-tabs-dialog__option{display:flex;align-items:center;justify-content:space-between;gap:var(--tx-pinned-tabs-option-gap);box-sizing:border-box;width:100%;min-width:0;height:var(--tx-pinned-tabs-option-height);padding:var(--tx-pinned-tabs-option-padding);border:0;border-radius:var(--tx-pinned-tabs-option-border-radius);background:var(--tx-pinned-tabs-option-background);box-shadow:inset 0 0 0 1px transparent;color:var(--tx-pinned-tabs-option-color);cursor:pointer;font:inherit;font-size:var(--tx-pinned-tabs-option-font-size);font-weight:var(--tx-pinned-tabs-option-font-weight);text-align:start;-webkit-user-select:none;user-select:none;transition:background-color var(--tx-pinned-tabs-option-duration) ease-out,box-shadow var(--tx-pinned-tabs-option-duration) ease-out,scale var(--tx-pinned-tabs-option-duration) ease-out}.tx-pinned-tabs-dialog__option:hover{background:var(--tx-pinned-tabs-option-hover-background);box-shadow:inset 0 0 0 1px var(--tx-pinned-tabs-option-hover-ring-color)}.tx-pinned-tabs-dialog__option:active{scale:var(--tx-pinned-tabs-option-active-scale)}.tx-pinned-tabs-dialog__option:focus-visible{outline:none;box-shadow:var(--tx-pinned-tabs-option-focus-ring-shadow)}.tx-pinned-tabs-dialog__option--selected{background:var(--tx-pinned-tabs-option-selected-background);box-shadow:inset 0 0 0 1px var(--tx-pinned-tabs-option-selected-ring-color)}.tx-pinned-tabs-dialog__option--selected:hover{background:var(--tx-pinned-tabs-option-selected-hover-background);box-shadow:inset 0 0 0 1px var(--tx-pinned-tabs-option-selected-hover-ring-color)}.tx-pinned-tabs-dialog__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-pinned-tabs-dialog__check{display:grid;flex-shrink:0;place-items:center;width:var(--tx-pinned-tabs-check-size);height:var(--tx-pinned-tabs-check-size);border-radius:var(--tx-radius-full);box-shadow:inset 0 0 0 1.5px var(--tx-pinned-tabs-check-ring-color);color:transparent;font-size:var(--tx-pinned-tabs-check-icon-size);transition:background-color var(--tx-pinned-tabs-option-duration) ease-out,box-shadow var(--tx-pinned-tabs-option-duration) ease-out,color var(--tx-pinned-tabs-option-duration) ease-out}.tx-pinned-tabs-dialog__check tx-icon{--tx-icon-stroke-width: 3;scale:.5;transition:scale var(--tx-pinned-tabs-option-duration) ease-out}.tx-pinned-tabs-dialog__option--selected .tx-pinned-tabs-dialog__check{background:var(--tx-pinned-tabs-check-background);box-shadow:inset 0 0 0 1.5px var(--tx-pinned-tabs-check-background);color:var(--tx-pinned-tabs-check-color)}.tx-pinned-tabs-dialog__option--selected .tx-pinned-tabs-dialog__check tx-icon{scale:1}.tx-pinned-tabs-dialog__actions{display:flex;gap:var(--tx-pinned-tabs-dialog-options-gap);width:100%}@media(prefers-reduced-motion:reduce){.tx-pinned-tabs-dialog__option,.tx-pinned-tabs-dialog__check,.tx-pinned-tabs-dialog__check tx-icon{transition:none}.tx-pinned-tabs-dialog__option:active{scale:1}}\n"]
|
|
219
|
+
}]
|
|
220
|
+
}]
|
|
221
|
+
});
|
|
222
|
+
const ALL = "__all__";
|
|
223
|
+
var TxPinnedTabs = class TxPinnedTabs {
|
|
224
|
+
document = inject(DOCUMENT);
|
|
225
|
+
dialogs = inject(TxDialogService);
|
|
226
|
+
destroyRef = inject(DestroyRef);
|
|
227
|
+
stateKey = input.required(...ngDevMode ? [{ debugName: "stateKey" }] : /* istanbul ignore next */ []);
|
|
228
|
+
options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
229
|
+
allLabel = input(void 0, ...ngDevMode ? [{ debugName: "allLabel" }] : /* istanbul ignore next */ []);
|
|
230
|
+
selected = model([], ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
|
|
231
|
+
dialogTitle = input(void 0, ...ngDevMode ? [{ debugName: "dialogTitle" }] : /* istanbul ignore next */ []);
|
|
232
|
+
dialogText = input(void 0, ...ngDevMode ? [{ debugName: "dialogText" }] : /* istanbul ignore next */ []);
|
|
233
|
+
ariaLabel = input(void 0, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
234
|
+
dt = input(void 0, ...ngDevMode ? [{ debugName: "dt" }] : /* istanbul ignore next */ []);
|
|
235
|
+
pt = input(void 0, ...ngDevMode ? [{ debugName: "pt" }] : /* istanbul ignore next */ []);
|
|
236
|
+
ptOptions = input(void 0, ...ngDevMode ? [{ debugName: "ptOptions" }] : /* istanbul ignore next */ []);
|
|
237
|
+
unstyled = input(void 0, {
|
|
238
|
+
...ngDevMode ? { debugName: "unstyled" } : /* istanbul ignore next */ {},
|
|
239
|
+
transform: optionalBoolean
|
|
240
|
+
});
|
|
241
|
+
isUnstyled = injectUnstyled(this.unstyled);
|
|
242
|
+
passThrough = injectPassThrough("pinnedTabs", this, this.pt, this.ptOptions);
|
|
243
|
+
translations = injectTranslations();
|
|
244
|
+
hostStyle = computed(() => ({
|
|
245
|
+
...toStyleObject(this.dt(), "--tx-pinned-tabs"),
|
|
246
|
+
...this.passThrough().root?.style
|
|
247
|
+
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
248
|
+
pinned = linkedSignal(() => this.readPinned(this.stateKey()), ...ngDevMode ? [{ debugName: "pinned" }] : /* istanbul ignore next */ []);
|
|
249
|
+
tabs = computed(() => {
|
|
250
|
+
const pinned = this.pinned();
|
|
251
|
+
const tabs = this.options().filter((option) => pinned.includes(option.value)).map(({ value, label }) => ({
|
|
252
|
+
value,
|
|
253
|
+
label
|
|
254
|
+
}));
|
|
255
|
+
return tabs.length ? [{
|
|
256
|
+
value: ALL,
|
|
257
|
+
label: this.allLabel() ?? this.translations().all
|
|
258
|
+
}, ...tabs] : [];
|
|
259
|
+
}, ...ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []);
|
|
260
|
+
activeTab = computed(() => {
|
|
261
|
+
const selected = this.selected();
|
|
262
|
+
if (!selected.length) return ALL;
|
|
263
|
+
return selected.length === 1 ? selected[0] : void 0;
|
|
264
|
+
}, ...ngDevMode ? [{ debugName: "activeTab" }] : /* istanbul ignore next */ []);
|
|
265
|
+
pick(value) {
|
|
266
|
+
this.selected.set(value === ALL ? [] : [String(value)]);
|
|
267
|
+
}
|
|
268
|
+
openSettings() {
|
|
269
|
+
const data = {
|
|
270
|
+
options: this.options(),
|
|
271
|
+
pinned: this.pinned(),
|
|
272
|
+
title: this.dialogTitle(),
|
|
273
|
+
text: this.dialogText()
|
|
274
|
+
};
|
|
275
|
+
this.dialogs.open(TxPinnedTabsDialog, {
|
|
276
|
+
data,
|
|
277
|
+
size: "medium"
|
|
278
|
+
}).closed.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((pinned) => {
|
|
279
|
+
if (!pinned) return;
|
|
280
|
+
this.pinned.set(pinned);
|
|
281
|
+
this.writePinned(pinned);
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
storage() {
|
|
285
|
+
try {
|
|
286
|
+
return this.document.defaultView?.localStorage ?? null;
|
|
287
|
+
} catch {
|
|
288
|
+
return null;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
readPinned(key) {
|
|
292
|
+
try {
|
|
293
|
+
const parsed = JSON.parse(this.storage()?.getItem(key) ?? "[]");
|
|
294
|
+
return Array.isArray(parsed) ? parsed.map(String) : [];
|
|
295
|
+
} catch {
|
|
296
|
+
return [];
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
writePinned(pinned) {
|
|
300
|
+
try {
|
|
301
|
+
this.storage()?.setItem(this.stateKey(), JSON.stringify(pinned));
|
|
302
|
+
} catch {
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
307
|
+
minVersion: "12.0.0",
|
|
308
|
+
version: "22.2.3",
|
|
309
|
+
ngImport: i0,
|
|
310
|
+
type: TxPinnedTabs,
|
|
311
|
+
deps: [],
|
|
312
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
313
|
+
});
|
|
314
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
315
|
+
minVersion: "17.0.0",
|
|
316
|
+
version: "22.2.3",
|
|
317
|
+
type: TxPinnedTabs,
|
|
318
|
+
isStandalone: true,
|
|
319
|
+
selector: "tx-pinned-tabs",
|
|
320
|
+
inputs: {
|
|
321
|
+
stateKey: {
|
|
322
|
+
classPropertyName: "stateKey",
|
|
323
|
+
publicName: "stateKey",
|
|
324
|
+
isSignal: true,
|
|
325
|
+
isRequired: true,
|
|
326
|
+
transformFunction: null
|
|
327
|
+
},
|
|
328
|
+
options: {
|
|
329
|
+
classPropertyName: "options",
|
|
330
|
+
publicName: "options",
|
|
331
|
+
isSignal: true,
|
|
332
|
+
isRequired: true,
|
|
333
|
+
transformFunction: null
|
|
334
|
+
},
|
|
335
|
+
allLabel: {
|
|
336
|
+
classPropertyName: "allLabel",
|
|
337
|
+
publicName: "allLabel",
|
|
338
|
+
isSignal: true,
|
|
339
|
+
isRequired: false,
|
|
340
|
+
transformFunction: null
|
|
341
|
+
},
|
|
342
|
+
selected: {
|
|
343
|
+
classPropertyName: "selected",
|
|
344
|
+
publicName: "selected",
|
|
345
|
+
isSignal: true,
|
|
346
|
+
isRequired: false,
|
|
347
|
+
transformFunction: null
|
|
348
|
+
},
|
|
349
|
+
dialogTitle: {
|
|
350
|
+
classPropertyName: "dialogTitle",
|
|
351
|
+
publicName: "dialogTitle",
|
|
352
|
+
isSignal: true,
|
|
353
|
+
isRequired: false,
|
|
354
|
+
transformFunction: null
|
|
355
|
+
},
|
|
356
|
+
dialogText: {
|
|
357
|
+
classPropertyName: "dialogText",
|
|
358
|
+
publicName: "dialogText",
|
|
359
|
+
isSignal: true,
|
|
360
|
+
isRequired: false,
|
|
361
|
+
transformFunction: null
|
|
362
|
+
},
|
|
363
|
+
ariaLabel: {
|
|
364
|
+
classPropertyName: "ariaLabel",
|
|
365
|
+
publicName: "ariaLabel",
|
|
366
|
+
isSignal: true,
|
|
367
|
+
isRequired: false,
|
|
368
|
+
transformFunction: null
|
|
369
|
+
},
|
|
370
|
+
dt: {
|
|
371
|
+
classPropertyName: "dt",
|
|
372
|
+
publicName: "dt",
|
|
373
|
+
isSignal: true,
|
|
374
|
+
isRequired: false,
|
|
375
|
+
transformFunction: null
|
|
376
|
+
},
|
|
377
|
+
pt: {
|
|
378
|
+
classPropertyName: "pt",
|
|
379
|
+
publicName: "pt",
|
|
380
|
+
isSignal: true,
|
|
381
|
+
isRequired: false,
|
|
382
|
+
transformFunction: null
|
|
383
|
+
},
|
|
384
|
+
ptOptions: {
|
|
385
|
+
classPropertyName: "ptOptions",
|
|
386
|
+
publicName: "ptOptions",
|
|
387
|
+
isSignal: true,
|
|
388
|
+
isRequired: false,
|
|
389
|
+
transformFunction: null
|
|
390
|
+
},
|
|
391
|
+
unstyled: {
|
|
392
|
+
classPropertyName: "unstyled",
|
|
393
|
+
publicName: "unstyled",
|
|
394
|
+
isSignal: true,
|
|
395
|
+
isRequired: false,
|
|
396
|
+
transformFunction: null
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
outputs: { selected: "selectedChange" },
|
|
400
|
+
host: {
|
|
401
|
+
properties: {
|
|
402
|
+
"class": "passThrough().root?.class",
|
|
403
|
+
"style": "hostStyle()",
|
|
404
|
+
"attr.data-styled": "!isUnstyled() || null",
|
|
405
|
+
"class.tx-pinned-tabs--empty": "!tabs().length"
|
|
406
|
+
},
|
|
407
|
+
classAttribute: "tx-pinned-tabs"
|
|
408
|
+
},
|
|
409
|
+
ngImport: i0,
|
|
410
|
+
template: `
|
|
411
|
+
@if (tabs().length) {
|
|
412
|
+
<tx-tabs
|
|
413
|
+
class="tx-pinned-tabs__tabs"
|
|
414
|
+
variant="pills"
|
|
415
|
+
[ariaLabel]="ariaLabel()"
|
|
416
|
+
[tabs]="tabs()"
|
|
417
|
+
[value]="activeTab()"
|
|
418
|
+
[unstyled]="isUnstyled()"
|
|
419
|
+
[class]="passThrough().tabs?.class"
|
|
420
|
+
[style]="passThrough().tabs?.style"
|
|
421
|
+
(tabChange)="pick($event)"
|
|
422
|
+
/>
|
|
423
|
+
}
|
|
424
|
+
<button
|
|
425
|
+
txButton
|
|
426
|
+
type="button"
|
|
427
|
+
class="tx-pinned-tabs__button"
|
|
428
|
+
severity="secondary"
|
|
429
|
+
outlined
|
|
430
|
+
size="small"
|
|
431
|
+
icon="sliders-h"
|
|
432
|
+
[iconOnly]="!!tabs().length"
|
|
433
|
+
[attr.aria-label]="tabs().length ? translations().customize : null"
|
|
434
|
+
[txTooltip]="tabs().length ? translations().customize : undefined"
|
|
435
|
+
[disabled]="!options().length"
|
|
436
|
+
[unstyled]="isUnstyled()"
|
|
437
|
+
[class]="passThrough().button?.class"
|
|
438
|
+
[style]="passThrough().button?.style"
|
|
439
|
+
(click)="openSettings()"
|
|
440
|
+
>
|
|
441
|
+
@if (!tabs().length) {
|
|
442
|
+
{{ translations().customize }}
|
|
443
|
+
}
|
|
444
|
+
</button>
|
|
445
|
+
`,
|
|
446
|
+
isInline: true,
|
|
447
|
+
styles: [":host{display:flex;align-items:center;min-width:0}.tx-pinned-tabs__tabs{min-width:0;max-width:100%}.tx-pinned-tabs__button{flex-shrink:0}:host([data-styled]){gap:var(--tx-pinned-tabs-gap)}\n"],
|
|
448
|
+
dependencies: [
|
|
449
|
+
{
|
|
450
|
+
kind: "component",
|
|
451
|
+
type: TxButton,
|
|
452
|
+
selector: "button[txButton], a[txButton]",
|
|
453
|
+
inputs: [
|
|
454
|
+
"label",
|
|
455
|
+
"severity",
|
|
456
|
+
"size",
|
|
457
|
+
"variant",
|
|
458
|
+
"outlined",
|
|
459
|
+
"text",
|
|
460
|
+
"link",
|
|
461
|
+
"rounded",
|
|
462
|
+
"raised",
|
|
463
|
+
"plain",
|
|
464
|
+
"fluid",
|
|
465
|
+
"disabled",
|
|
466
|
+
"tabindex",
|
|
467
|
+
"icon",
|
|
468
|
+
"iconPos",
|
|
469
|
+
"iconOnly",
|
|
470
|
+
"loading",
|
|
471
|
+
"loadingIcon",
|
|
472
|
+
"badge",
|
|
473
|
+
"badgeSeverity",
|
|
474
|
+
"dt",
|
|
475
|
+
"pt",
|
|
476
|
+
"ptOptions",
|
|
477
|
+
"unstyled"
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
kind: "component",
|
|
482
|
+
type: TxTabs,
|
|
483
|
+
selector: "tx-tabs",
|
|
484
|
+
inputs: [
|
|
485
|
+
"value",
|
|
486
|
+
"tabs",
|
|
487
|
+
"ariaLabel",
|
|
488
|
+
"ariaLabelledBy",
|
|
489
|
+
"variant",
|
|
490
|
+
"size",
|
|
491
|
+
"orientation",
|
|
492
|
+
"raised",
|
|
493
|
+
"scrollable",
|
|
494
|
+
"showNavigators",
|
|
495
|
+
"lazy",
|
|
496
|
+
"selectOnFocus",
|
|
497
|
+
"dt",
|
|
498
|
+
"pt",
|
|
499
|
+
"ptOptions",
|
|
500
|
+
"unstyled"
|
|
501
|
+
],
|
|
502
|
+
outputs: ["valueChange", "tabChange"]
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
kind: "directive",
|
|
506
|
+
type: TxTooltip,
|
|
507
|
+
selector: "[txTooltip]",
|
|
508
|
+
inputs: [
|
|
509
|
+
"txTooltip",
|
|
510
|
+
"tooltipPlacement",
|
|
511
|
+
"tooltipEvent",
|
|
512
|
+
"tooltipShowDelay",
|
|
513
|
+
"tooltipHideDelay",
|
|
514
|
+
"tooltipLife",
|
|
515
|
+
"tooltipOffset",
|
|
516
|
+
"tooltipArrow",
|
|
517
|
+
"tooltipInteractive",
|
|
518
|
+
"tooltipDisabled",
|
|
519
|
+
"tooltipOverflowOnly",
|
|
520
|
+
"tooltipMultiline",
|
|
521
|
+
"tooltipContext",
|
|
522
|
+
"tooltipClass",
|
|
523
|
+
"tooltipDt",
|
|
524
|
+
"tooltipPt",
|
|
525
|
+
"tooltipPtOptions",
|
|
526
|
+
"tooltipUnstyled"
|
|
527
|
+
],
|
|
528
|
+
outputs: ["tooltipShown", "tooltipHidden"],
|
|
529
|
+
exportAs: ["txTooltip"]
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
533
|
+
});
|
|
534
|
+
};
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
536
|
+
minVersion: "12.0.0",
|
|
537
|
+
version: "22.2.3",
|
|
538
|
+
ngImport: i0,
|
|
539
|
+
type: TxPinnedTabs,
|
|
540
|
+
decorators: [{
|
|
541
|
+
type: Component,
|
|
542
|
+
args: [{
|
|
543
|
+
selector: "tx-pinned-tabs",
|
|
544
|
+
imports: [
|
|
545
|
+
TxButton,
|
|
546
|
+
TxTabs,
|
|
547
|
+
TxTooltip
|
|
548
|
+
],
|
|
549
|
+
template: `
|
|
550
|
+
@if (tabs().length) {
|
|
551
|
+
<tx-tabs
|
|
552
|
+
class="tx-pinned-tabs__tabs"
|
|
553
|
+
variant="pills"
|
|
554
|
+
[ariaLabel]="ariaLabel()"
|
|
555
|
+
[tabs]="tabs()"
|
|
556
|
+
[value]="activeTab()"
|
|
557
|
+
[unstyled]="isUnstyled()"
|
|
558
|
+
[class]="passThrough().tabs?.class"
|
|
559
|
+
[style]="passThrough().tabs?.style"
|
|
560
|
+
(tabChange)="pick($event)"
|
|
561
|
+
/>
|
|
562
|
+
}
|
|
563
|
+
<button
|
|
564
|
+
txButton
|
|
565
|
+
type="button"
|
|
566
|
+
class="tx-pinned-tabs__button"
|
|
567
|
+
severity="secondary"
|
|
568
|
+
outlined
|
|
569
|
+
size="small"
|
|
570
|
+
icon="sliders-h"
|
|
571
|
+
[iconOnly]="!!tabs().length"
|
|
572
|
+
[attr.aria-label]="tabs().length ? translations().customize : null"
|
|
573
|
+
[txTooltip]="tabs().length ? translations().customize : undefined"
|
|
574
|
+
[disabled]="!options().length"
|
|
575
|
+
[unstyled]="isUnstyled()"
|
|
576
|
+
[class]="passThrough().button?.class"
|
|
577
|
+
[style]="passThrough().button?.style"
|
|
578
|
+
(click)="openSettings()"
|
|
579
|
+
>
|
|
580
|
+
@if (!tabs().length) {
|
|
581
|
+
{{ translations().customize }}
|
|
582
|
+
}
|
|
583
|
+
</button>
|
|
584
|
+
`,
|
|
585
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
586
|
+
host: {
|
|
587
|
+
class: "tx-pinned-tabs",
|
|
588
|
+
"[class]": "passThrough().root?.class",
|
|
589
|
+
"[style]": "hostStyle()",
|
|
590
|
+
"[attr.data-styled]": "!isUnstyled() || null",
|
|
591
|
+
"[class.tx-pinned-tabs--empty]": "!tabs().length"
|
|
592
|
+
},
|
|
593
|
+
styles: [":host{display:flex;align-items:center;min-width:0}.tx-pinned-tabs__tabs{min-width:0;max-width:100%}.tx-pinned-tabs__button{flex-shrink:0}:host([data-styled]){gap:var(--tx-pinned-tabs-gap)}\n"]
|
|
594
|
+
}]
|
|
595
|
+
}],
|
|
596
|
+
propDecorators: {
|
|
597
|
+
stateKey: [{
|
|
598
|
+
type: i0.Input,
|
|
599
|
+
args: [{
|
|
600
|
+
isSignal: true,
|
|
601
|
+
alias: "stateKey",
|
|
602
|
+
required: true
|
|
603
|
+
}]
|
|
604
|
+
}],
|
|
605
|
+
options: [{
|
|
606
|
+
type: i0.Input,
|
|
607
|
+
args: [{
|
|
608
|
+
isSignal: true,
|
|
609
|
+
alias: "options",
|
|
610
|
+
required: true
|
|
611
|
+
}]
|
|
612
|
+
}],
|
|
613
|
+
allLabel: [{
|
|
614
|
+
type: i0.Input,
|
|
615
|
+
args: [{
|
|
616
|
+
isSignal: true,
|
|
617
|
+
alias: "allLabel",
|
|
618
|
+
required: false
|
|
619
|
+
}]
|
|
620
|
+
}],
|
|
621
|
+
selected: [{
|
|
622
|
+
type: i0.Input,
|
|
623
|
+
args: [{
|
|
624
|
+
isSignal: true,
|
|
625
|
+
alias: "selected",
|
|
626
|
+
required: false
|
|
627
|
+
}]
|
|
628
|
+
}, {
|
|
629
|
+
type: i0.Output,
|
|
630
|
+
args: ["selectedChange"]
|
|
631
|
+
}],
|
|
632
|
+
dialogTitle: [{
|
|
633
|
+
type: i0.Input,
|
|
634
|
+
args: [{
|
|
635
|
+
isSignal: true,
|
|
636
|
+
alias: "dialogTitle",
|
|
637
|
+
required: false
|
|
638
|
+
}]
|
|
639
|
+
}],
|
|
640
|
+
dialogText: [{
|
|
641
|
+
type: i0.Input,
|
|
642
|
+
args: [{
|
|
643
|
+
isSignal: true,
|
|
644
|
+
alias: "dialogText",
|
|
645
|
+
required: false
|
|
646
|
+
}]
|
|
647
|
+
}],
|
|
648
|
+
ariaLabel: [{
|
|
649
|
+
type: i0.Input,
|
|
650
|
+
args: [{
|
|
651
|
+
isSignal: true,
|
|
652
|
+
alias: "ariaLabel",
|
|
653
|
+
required: false
|
|
654
|
+
}]
|
|
655
|
+
}],
|
|
656
|
+
dt: [{
|
|
657
|
+
type: i0.Input,
|
|
658
|
+
args: [{
|
|
659
|
+
isSignal: true,
|
|
660
|
+
alias: "dt",
|
|
661
|
+
required: false
|
|
662
|
+
}]
|
|
663
|
+
}],
|
|
664
|
+
pt: [{
|
|
665
|
+
type: i0.Input,
|
|
666
|
+
args: [{
|
|
667
|
+
isSignal: true,
|
|
668
|
+
alias: "pt",
|
|
669
|
+
required: false
|
|
670
|
+
}]
|
|
671
|
+
}],
|
|
672
|
+
ptOptions: [{
|
|
673
|
+
type: i0.Input,
|
|
674
|
+
args: [{
|
|
675
|
+
isSignal: true,
|
|
676
|
+
alias: "ptOptions",
|
|
677
|
+
required: false
|
|
678
|
+
}]
|
|
679
|
+
}],
|
|
680
|
+
unstyled: [{
|
|
681
|
+
type: i0.Input,
|
|
682
|
+
args: [{
|
|
683
|
+
isSignal: true,
|
|
684
|
+
alias: "unstyled",
|
|
685
|
+
required: false
|
|
686
|
+
}]
|
|
687
|
+
}]
|
|
688
|
+
}
|
|
689
|
+
});
|
|
690
|
+
export { TxPinnedTabs, TxPinnedTabsDialog };
|
|
691
|
+
|
|
692
|
+
//# sourceMappingURL=tectra-ng-blocks-pinned-tabs.mjs.map
|