ngx-core-components 0.3.31 → 0.3.32
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 +988 -601
- package/barcodes/barcode/barcode-encoding.d.ts +1 -0
- package/barcodes/barcode/barcode.component.d.ts +4 -4
- package/barcodes/public-api.d.ts +1 -0
- package/charts/bar-chart/bar-chart.component.d.ts +5 -1
- package/charts/box-plot-chart/box-plot-chart.component.d.ts +6 -0
- package/charts/bubble-chart/bubble-chart.component.d.ts +4 -0
- package/charts/bullet-chart/bullet-chart.component.d.ts +3 -0
- package/charts/column-range-chart/column-range-chart.component.d.ts +5 -1
- package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +5 -1
- package/charts/funnel-chart/funnel-chart.component.d.ts +4 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +4 -0
- package/charts/line-chart/line-chart.component.d.ts +2 -0
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +5 -1
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +25 -1
- package/charts/pie-chart/pie-chart.component.d.ts +9 -0
- package/charts/pyramid-chart/pyramid-chart.component.d.ts +5 -0
- package/charts/radial-bar-chart/radial-bar-chart.component.d.ts +4 -0
- package/charts/range-bar-chart/range-bar-chart.component.d.ts +4 -0
- package/charts/scatter-plot/scatter-plot.component.d.ts +4 -0
- package/charts/shared/chart-accessible-mark.directive.d.ts +9 -0
- package/charts/shared/chart-export-menu.component.d.ts +7 -0
- package/charts/shared/chart-skeleton.component.d.ts +1 -1
- package/charts/sunburst-chart/sunburst-chart.component.d.ts +6 -3
- package/charts/treemap-chart/treemap-chart.component.d.ts +6 -4
- package/charts/waterfall-chart/waterfall-chart.component.d.ts +8 -0
- package/fesm2022/ngx-core-components-barcodes.mjs +196 -42
- package/fesm2022/ngx-core-components-barcodes.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +1399 -875
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +2075 -545
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/fesm2022/ngx-core-components-i18n.mjs +129 -35
- package/fesm2022/ngx-core-components-i18n.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +297 -39
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-layout.mjs +71 -53
- package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
- package/fesm2022/ngx-core-components-testing.mjs +30 -0
- package/fesm2022/ngx-core-components-testing.mjs.map +1 -0
- package/fesm2022/ngx-core-components-views.mjs +69 -29
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +2 -2
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/grid/data-grid/components/grid-filter-builder/grid-filter-builder.component.d.ts +6 -1
- package/grid/data-grid/data-grid.component.d.ts +19 -1
- package/grid/data-grid/grid-data-source.d.ts +22 -0
- package/grid/data-grid/services/grid-state.service.d.ts +7 -0
- package/grid/public-api.d.ts +6 -3
- package/i18n/ngx-core-i18n.d.ts +94 -1
- package/i18n/public-api.d.ts +1 -1
- package/inputs/form-builder/form-builder.component.d.ts +17 -1
- package/package.json +6 -2
- package/public-api.d.ts +8 -7
- package/testing/component-test-harness.d.ts +10 -0
- package/testing/index.d.ts +5 -0
- package/testing/public-api.d.ts +1 -0
- package/views/kanban/kanban.component.d.ts +1 -0
|
@@ -94,7 +94,7 @@ class TabComponent {
|
|
|
94
94
|
tabClose = output();
|
|
95
95
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
96
96
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.20", type: TabComponent, isStandalone: true, selector: "ngx-tab", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabClose: "tabClose" }, ngImport: i0, template: `
|
|
97
|
-
<div
|
|
97
|
+
<div
|
|
98
98
|
[hidden]="!isActive()"
|
|
99
99
|
role="tabpanel"
|
|
100
100
|
[id]="tabPanelId()"
|
|
@@ -109,7 +109,7 @@ class TabComponent {
|
|
|
109
109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TabComponent, decorators: [{
|
|
110
110
|
type: Component,
|
|
111
111
|
args: [{ selector: 'ngx-tab', standalone: true, template: `
|
|
112
|
-
<div
|
|
112
|
+
<div
|
|
113
113
|
[hidden]="!isActive()"
|
|
114
114
|
role="tabpanel"
|
|
115
115
|
[id]="tabPanelId()"
|
|
@@ -181,13 +181,22 @@ class TabStripComponent {
|
|
|
181
181
|
handleKeydown(event, index) {
|
|
182
182
|
const tabs = this.tabs();
|
|
183
183
|
let newIndex = -1;
|
|
184
|
-
if (event.key === 'ArrowRight' || event.key === '
|
|
184
|
+
if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {
|
|
185
|
+
const isRtl = Boolean(this.tabListEl()?.nativeElement.closest('[dir="rtl"]'));
|
|
186
|
+
const moveForward = (event.key === 'ArrowRight') !== isRtl;
|
|
187
|
+
const step = moveForward ? 1 : -1;
|
|
188
|
+
newIndex = (index + step + tabs.length) % tabs.length;
|
|
189
|
+
while (newIndex !== index && tabs[newIndex].disabled()) {
|
|
190
|
+
newIndex = (newIndex + step + tabs.length) % tabs.length;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
else if (event.key === 'ArrowDown') {
|
|
185
194
|
newIndex = (index + 1) % tabs.length;
|
|
186
195
|
while (newIndex !== index && tabs[newIndex].disabled()) {
|
|
187
196
|
newIndex = (newIndex + 1) % tabs.length;
|
|
188
197
|
}
|
|
189
198
|
}
|
|
190
|
-
else if (event.key === '
|
|
199
|
+
else if (event.key === 'ArrowUp') {
|
|
191
200
|
newIndex = (index - 1 + tabs.length) % tabs.length;
|
|
192
201
|
while (newIndex !== index && tabs[newIndex].disabled()) {
|
|
193
202
|
newIndex = (newIndex - 1 + tabs.length) % tabs.length;
|
|
@@ -208,7 +217,6 @@ class TabStripComponent {
|
|
|
208
217
|
if (newIndex !== -1 && newIndex !== index && !tabs[newIndex].disabled()) {
|
|
209
218
|
event.preventDefault();
|
|
210
219
|
this.selectTab(newIndex);
|
|
211
|
-
// Focus the new button
|
|
212
220
|
setTimeout(() => {
|
|
213
221
|
const list = this.tabListEl()?.nativeElement;
|
|
214
222
|
const btns = list?.querySelectorAll('.tab-btn');
|
|
@@ -231,37 +239,42 @@ class TabStripComponent {
|
|
|
231
239
|
<div class="ngx-tab-strip" [class]="'tabs-' + position()">
|
|
232
240
|
<div class="tab-list" #tabList role="tablist">
|
|
233
241
|
@for (tab of tabs(); track tab.title(); let i = $index) {
|
|
234
|
-
<
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
242
|
+
<div class="tab-item" role="presentation">
|
|
243
|
+
<button
|
|
244
|
+
class="tab-btn"
|
|
245
|
+
[class.active]="activeIndex() === i"
|
|
246
|
+
[class.disabled]="tab.disabled()"
|
|
247
|
+
role="tab"
|
|
248
|
+
[id]="tab.tabButtonId()"
|
|
249
|
+
[attr.aria-selected]="activeIndex() === i"
|
|
250
|
+
[attr.aria-controls]="tab.tabPanelId()"
|
|
251
|
+
[attr.tabindex]="activeIndex() === i ? 0 : -1"
|
|
252
|
+
[disabled]="tab.disabled()"
|
|
253
|
+
(click)="selectTab(i)"
|
|
254
|
+
(keydown)="handleKeydown($event, i)"
|
|
255
|
+
>
|
|
256
|
+
@if (tab.icon()) {
|
|
257
|
+
<span class="tab-icon" aria-hidden="true">{{ tab.icon() }}</span>
|
|
258
|
+
}
|
|
259
|
+
<span class="tab-title">{{ tab.title() }}</span>
|
|
260
|
+
@if (tab.badge()) {
|
|
261
|
+
<span class="tab-badge">{{ tab.badge() }}</span>
|
|
262
|
+
}
|
|
263
|
+
</button>
|
|
250
264
|
@if (tab.closable()) {
|
|
251
|
-
<button
|
|
252
|
-
class="tab-close-btn"
|
|
253
|
-
(click)="closeTab($event, i)"
|
|
265
|
+
<button
|
|
266
|
+
class="tab-close-btn"
|
|
267
|
+
(click)="closeTab($event, i)"
|
|
254
268
|
title="Close Tab"
|
|
255
269
|
aria-label="Close tab"
|
|
256
270
|
type="button"
|
|
257
|
-
tabindex="-1"
|
|
258
271
|
>
|
|
259
|
-
|
|
272
|
+
<span aria-hidden="true">×</span>
|
|
260
273
|
</button>
|
|
261
274
|
}
|
|
262
|
-
</
|
|
275
|
+
</div>
|
|
263
276
|
}
|
|
264
|
-
<div
|
|
277
|
+
<div
|
|
265
278
|
class="tab-indicator"
|
|
266
279
|
[style.left.px]="indicatorLeft()"
|
|
267
280
|
[style.top.px]="indicatorTop()"
|
|
@@ -273,7 +286,7 @@ class TabStripComponent {
|
|
|
273
286
|
<ng-content />
|
|
274
287
|
</div>
|
|
275
288
|
</div>
|
|
276
|
-
`, isInline: true, styles: [":host{display:block}.ngx-tab-strip{display:flex}.ngx-tab-strip.tabs-top{flex-direction:column}.ngx-tab-strip.tabs-bottom{flex-direction:column-reverse}.ngx-tab-strip.tabs-left{flex-direction:row}.ngx-tab-strip.tabs-right{flex-direction:row-reverse}.tab-list{display:flex;position:relative;overflow-x:auto;gap:0;border-color:var(--ngx-tab-border, var(--border-color, #e2e8f0));border-style:solid;border-width:0}.tabs-top .tab-list{border-bottom-width:2px;flex-direction:row}.tabs-bottom .tab-list{border-top-width:2px;flex-direction:row}.tabs-left .tab-list{border-right-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tabs-right .tab-list{border-left-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tab-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 20px;background:none;border:none;font-size:13px;font-weight:500;color:var(--ngx-tab-color, var(--text-secondary, #64748b));cursor:pointer;font-family:inherit;transition:all .2s ease;white-space:nowrap;position:relative;outline:none;-webkit-user-select:none;user-select:none}.tabs-top .tab-btn{margin-bottom:-2px;border-bottom:2px solid transparent}.tabs-bottom .tab-btn{margin-top:-2px;border-top:2px solid transparent}.tabs-left .tab-btn{margin-right:-2px;border-right:2px solid transparent;text-align:left;justify-content:flex-start;width:
|
|
289
|
+
`, isInline: true, styles: [":host{display:block}.ngx-tab-strip{display:flex}.ngx-tab-strip.tabs-top{flex-direction:column}.ngx-tab-strip.tabs-bottom{flex-direction:column-reverse}.ngx-tab-strip.tabs-left{flex-direction:row}.ngx-tab-strip.tabs-right{flex-direction:row-reverse}.tab-list{display:flex;position:relative;overflow-x:auto;gap:0;border-color:var(--ngx-tab-border, var(--border-color, #e2e8f0));border-style:solid;border-width:0}.tab-item{display:flex;align-items:stretch}.tabs-left .tab-item,.tabs-right .tab-item{width:100%}.tabs-top .tab-list{border-bottom-width:2px;flex-direction:row}.tabs-bottom .tab-list{border-top-width:2px;flex-direction:row}.tabs-left .tab-list{border-right-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tabs-right .tab-list{border-left-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tab-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 20px;background:none;border:none;font-size:13px;font-weight:500;color:var(--ngx-tab-color, var(--text-secondary, #64748b));cursor:pointer;font-family:inherit;transition:all .2s ease;white-space:nowrap;position:relative;outline:none;-webkit-user-select:none;user-select:none}.tabs-top .tab-btn{margin-bottom:-2px;border-bottom:2px solid transparent}.tabs-bottom .tab-btn{margin-top:-2px;border-top:2px solid transparent}.tabs-left .tab-btn{margin-right:-2px;border-right:2px solid transparent;text-align:left;justify-content:flex-start;flex:1;width:auto}.tabs-right .tab-btn{margin-left:-2px;border-left:2px solid transparent;text-align:right;justify-content:flex-end;flex:1;width:auto}.tab-btn:hover:not(:disabled):not(.active){color:var(--ngx-tab-hover-color, var(--text-primary, #0f172a));background:var(--ngx-tab-hover-bg, var(--bg-secondary, #f8fafc))}.tab-btn.active{color:var(--ngx-tab-active-color, var(--primary-color, #1a73e8));font-weight:600}.tab-btn.disabled{color:var(--ngx-color-text-disabled, #767b83);cursor:not-allowed}.tab-btn:focus-visible{outline:2px solid var(--ngx-tab-active-color, var(--primary-color, #1a73e8));outline-offset:-2px;box-shadow:0 0 0 3px #1a73e833;z-index:3}.tab-icon{font-size:15px;display:inline-flex;align-items:center}.tab-badge{background:var(--ngx-tab-badge-bg, var(--error-color, #ef4444));color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:999px;min-width:18px;text-align:center}.tab-close-btn{background:transparent;border:none;font-size:14px;color:var(--ngx-color-text-disabled, #767b83);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;margin-left:4px;padding:0;transition:all .15s ease}.tab-close-btn:hover{background:#00000014;color:var(--error-color, #ef4444)}.tab-indicator{position:absolute;background:var(--ngx-tab-active-color, var(--primary-color, #1a73e8));transition:all .25s cubic-bezier(.4,0,.2,1);z-index:2}.tabs-top .tab-indicator{bottom:0}.tabs-bottom .tab-indicator{top:0}.tabs-left .tab-indicator{right:0}.tabs-right .tab-indicator{left:0}.tab-content{flex:1;padding:var(--ngx-tab-content-padding, 20px);min-width:0}\n"] });
|
|
277
290
|
}
|
|
278
291
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TabStripComponent, decorators: [{
|
|
279
292
|
type: Component,
|
|
@@ -281,37 +294,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
281
294
|
<div class="ngx-tab-strip" [class]="'tabs-' + position()">
|
|
282
295
|
<div class="tab-list" #tabList role="tablist">
|
|
283
296
|
@for (tab of tabs(); track tab.title(); let i = $index) {
|
|
284
|
-
<
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
<div class="tab-item" role="presentation">
|
|
298
|
+
<button
|
|
299
|
+
class="tab-btn"
|
|
300
|
+
[class.active]="activeIndex() === i"
|
|
301
|
+
[class.disabled]="tab.disabled()"
|
|
302
|
+
role="tab"
|
|
303
|
+
[id]="tab.tabButtonId()"
|
|
304
|
+
[attr.aria-selected]="activeIndex() === i"
|
|
305
|
+
[attr.aria-controls]="tab.tabPanelId()"
|
|
306
|
+
[attr.tabindex]="activeIndex() === i ? 0 : -1"
|
|
307
|
+
[disabled]="tab.disabled()"
|
|
308
|
+
(click)="selectTab(i)"
|
|
309
|
+
(keydown)="handleKeydown($event, i)"
|
|
310
|
+
>
|
|
311
|
+
@if (tab.icon()) {
|
|
312
|
+
<span class="tab-icon" aria-hidden="true">{{ tab.icon() }}</span>
|
|
313
|
+
}
|
|
314
|
+
<span class="tab-title">{{ tab.title() }}</span>
|
|
315
|
+
@if (tab.badge()) {
|
|
316
|
+
<span class="tab-badge">{{ tab.badge() }}</span>
|
|
317
|
+
}
|
|
318
|
+
</button>
|
|
300
319
|
@if (tab.closable()) {
|
|
301
|
-
<button
|
|
302
|
-
class="tab-close-btn"
|
|
303
|
-
(click)="closeTab($event, i)"
|
|
320
|
+
<button
|
|
321
|
+
class="tab-close-btn"
|
|
322
|
+
(click)="closeTab($event, i)"
|
|
304
323
|
title="Close Tab"
|
|
305
324
|
aria-label="Close tab"
|
|
306
325
|
type="button"
|
|
307
|
-
tabindex="-1"
|
|
308
326
|
>
|
|
309
|
-
|
|
327
|
+
<span aria-hidden="true">×</span>
|
|
310
328
|
</button>
|
|
311
329
|
}
|
|
312
|
-
</
|
|
330
|
+
</div>
|
|
313
331
|
}
|
|
314
|
-
<div
|
|
332
|
+
<div
|
|
315
333
|
class="tab-indicator"
|
|
316
334
|
[style.left.px]="indicatorLeft()"
|
|
317
335
|
[style.top.px]="indicatorTop()"
|
|
@@ -323,7 +341,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
323
341
|
<ng-content />
|
|
324
342
|
</div>
|
|
325
343
|
</div>
|
|
326
|
-
`, styles: [":host{display:block}.ngx-tab-strip{display:flex}.ngx-tab-strip.tabs-top{flex-direction:column}.ngx-tab-strip.tabs-bottom{flex-direction:column-reverse}.ngx-tab-strip.tabs-left{flex-direction:row}.ngx-tab-strip.tabs-right{flex-direction:row-reverse}.tab-list{display:flex;position:relative;overflow-x:auto;gap:0;border-color:var(--ngx-tab-border, var(--border-color, #e2e8f0));border-style:solid;border-width:0}.tabs-top .tab-list{border-bottom-width:2px;flex-direction:row}.tabs-bottom .tab-list{border-top-width:2px;flex-direction:row}.tabs-left .tab-list{border-right-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tabs-right .tab-list{border-left-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tab-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 20px;background:none;border:none;font-size:13px;font-weight:500;color:var(--ngx-tab-color, var(--text-secondary, #64748b));cursor:pointer;font-family:inherit;transition:all .2s ease;white-space:nowrap;position:relative;outline:none;-webkit-user-select:none;user-select:none}.tabs-top .tab-btn{margin-bottom:-2px;border-bottom:2px solid transparent}.tabs-bottom .tab-btn{margin-top:-2px;border-top:2px solid transparent}.tabs-left .tab-btn{margin-right:-2px;border-right:2px solid transparent;text-align:left;justify-content:flex-start;width:
|
|
344
|
+
`, styles: [":host{display:block}.ngx-tab-strip{display:flex}.ngx-tab-strip.tabs-top{flex-direction:column}.ngx-tab-strip.tabs-bottom{flex-direction:column-reverse}.ngx-tab-strip.tabs-left{flex-direction:row}.ngx-tab-strip.tabs-right{flex-direction:row-reverse}.tab-list{display:flex;position:relative;overflow-x:auto;gap:0;border-color:var(--ngx-tab-border, var(--border-color, #e2e8f0));border-style:solid;border-width:0}.tab-item{display:flex;align-items:stretch}.tabs-left .tab-item,.tabs-right .tab-item{width:100%}.tabs-top .tab-list{border-bottom-width:2px;flex-direction:row}.tabs-bottom .tab-list{border-top-width:2px;flex-direction:row}.tabs-left .tab-list{border-right-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tabs-right .tab-list{border-left-width:2px;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tab-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 20px;background:none;border:none;font-size:13px;font-weight:500;color:var(--ngx-tab-color, var(--text-secondary, #64748b));cursor:pointer;font-family:inherit;transition:all .2s ease;white-space:nowrap;position:relative;outline:none;-webkit-user-select:none;user-select:none}.tabs-top .tab-btn{margin-bottom:-2px;border-bottom:2px solid transparent}.tabs-bottom .tab-btn{margin-top:-2px;border-top:2px solid transparent}.tabs-left .tab-btn{margin-right:-2px;border-right:2px solid transparent;text-align:left;justify-content:flex-start;flex:1;width:auto}.tabs-right .tab-btn{margin-left:-2px;border-left:2px solid transparent;text-align:right;justify-content:flex-end;flex:1;width:auto}.tab-btn:hover:not(:disabled):not(.active){color:var(--ngx-tab-hover-color, var(--text-primary, #0f172a));background:var(--ngx-tab-hover-bg, var(--bg-secondary, #f8fafc))}.tab-btn.active{color:var(--ngx-tab-active-color, var(--primary-color, #1a73e8));font-weight:600}.tab-btn.disabled{color:var(--ngx-color-text-disabled, #767b83);cursor:not-allowed}.tab-btn:focus-visible{outline:2px solid var(--ngx-tab-active-color, var(--primary-color, #1a73e8));outline-offset:-2px;box-shadow:0 0 0 3px #1a73e833;z-index:3}.tab-icon{font-size:15px;display:inline-flex;align-items:center}.tab-badge{background:var(--ngx-tab-badge-bg, var(--error-color, #ef4444));color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:999px;min-width:18px;text-align:center}.tab-close-btn{background:transparent;border:none;font-size:14px;color:var(--ngx-color-text-disabled, #767b83);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;margin-left:4px;padding:0;transition:all .15s ease}.tab-close-btn:hover{background:#00000014;color:var(--error-color, #ef4444)}.tab-indicator{position:absolute;background:var(--ngx-tab-active-color, var(--primary-color, #1a73e8));transition:all .25s cubic-bezier(.4,0,.2,1);z-index:2}.tabs-top .tab-indicator{bottom:0}.tabs-bottom .tab-indicator{top:0}.tabs-left .tab-indicator{right:0}.tabs-right .tab-indicator{left:0}.tab-content{flex:1;padding:var(--ngx-tab-content-padding, 20px);min-width:0}\n"] }]
|
|
327
345
|
}], ctorParameters: () => [] });
|
|
328
346
|
|
|
329
347
|
class AccordionItemComponent {
|