@ckui/core 0.1.0-next.1 → 0.1.0-next.3
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 +337 -4
- package/fesm2022/ckui-core-badge.mjs +169 -0
- package/fesm2022/ckui-core-badge.mjs.map +1 -0
- package/fesm2022/ckui-core-chip.mjs +300 -0
- package/fesm2022/ckui-core-chip.mjs.map +1 -0
- package/fesm2022/ckui-core-dialog.mjs +18 -286
- package/fesm2022/ckui-core-dialog.mjs.map +1 -1
- package/fesm2022/ckui-core-drawer.mjs +342 -0
- package/fesm2022/ckui-core-drawer.mjs.map +1 -0
- package/fesm2022/ckui-core-internal-dialog.mjs +296 -0
- package/fesm2022/ckui-core-internal-dialog.mjs.map +1 -0
- package/fesm2022/ckui-core-internal-overlay.mjs +479 -0
- package/fesm2022/ckui-core-internal-overlay.mjs.map +1 -0
- package/fesm2022/ckui-core-internal.mjs +2 -463
- package/fesm2022/ckui-core-internal.mjs.map +1 -1
- package/fesm2022/ckui-core-progress.mjs +165 -0
- package/fesm2022/ckui-core-progress.mjs.map +1 -0
- package/fesm2022/ckui-core-segmented.mjs +184 -8
- package/fesm2022/ckui-core-segmented.mjs.map +1 -1
- package/fesm2022/ckui-core-stepper.mjs +842 -0
- package/fesm2022/ckui-core-stepper.mjs.map +1 -0
- package/fesm2022/ckui-core-switch.mjs +327 -0
- package/fesm2022/ckui-core-switch.mjs.map +1 -0
- package/fesm2022/ckui-core-tabs.mjs +678 -0
- package/fesm2022/ckui-core-tabs.mjs.map +1 -0
- package/fesm2022/ckui-core.mjs +2 -0
- package/fesm2022/ckui-core.mjs.map +1 -1
- package/package.json +37 -1
- package/types/ckui-core-badge.d.ts +44 -0
- package/types/ckui-core-chip.d.ts +62 -0
- package/types/ckui-core-dialog.d.ts +5 -40
- package/types/ckui-core-drawer.d.ts +153 -0
- package/types/ckui-core-internal-dialog.d.ts +102 -0
- package/types/ckui-core-internal-overlay.d.ts +83 -0
- package/types/ckui-core-internal.d.ts +2 -75
- package/types/ckui-core-progress.d.ts +43 -0
- package/types/ckui-core-segmented.d.ts +26 -0
- package/types/ckui-core-stepper.d.ts +186 -0
- package/types/ckui-core-switch.d.ts +90 -0
- package/types/ckui-core-tabs.d.ts +212 -0
- package/types/ckui-core.d.ts +2 -0
|
@@ -0,0 +1,678 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, Directive, ElementRef, InjectionToken, PLATFORM_ID, TemplateRef, ViewEncapsulation, afterNextRender, afterRenderEffect, booleanAttribute, computed, contentChild, contentChildren, forwardRef, inject, input, model, untracked } from "@angular/core";
|
|
3
|
+
import { createCkId, hasAccessibleName } from "@ckui/core/internal";
|
|
4
|
+
import { NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
|
|
5
|
+
import { CK_CONFIG } from "@ckui/core";
|
|
6
|
+
const CK_TABS_CONTEXT = new InjectionToken("CK_TABS_CONTEXT");
|
|
7
|
+
const UNBOUND = Symbol("unbound");
|
|
8
|
+
var CkTab = class CkTab {
|
|
9
|
+
value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
10
|
+
disabled = input(false, {
|
|
11
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
12
|
+
transform: booleanAttribute
|
|
13
|
+
});
|
|
14
|
+
id = input(createCkId("ck-tab"), ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
15
|
+
element = inject(ElementRef).nativeElement;
|
|
16
|
+
group = inject(CK_TABS_CONTEXT);
|
|
17
|
+
current = computed(() => {
|
|
18
|
+
try {
|
|
19
|
+
return this.value();
|
|
20
|
+
} catch {
|
|
21
|
+
return UNBOUND;
|
|
22
|
+
}
|
|
23
|
+
}, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
24
|
+
selected = computed(() => this.group.selectedTab() === this, ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
|
|
25
|
+
controls = computed(() => this.group.panelIdFor(this), ...ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []);
|
|
26
|
+
tabIndex = computed(() => this.selected() && !this.disabled() ? 0 : -1, ...ngDevMode ? [{ debugName: "tabIndex" }] : /* istanbul ignore next */ []);
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
28
|
+
minVersion: "12.0.0",
|
|
29
|
+
version: "22.2.4",
|
|
30
|
+
ngImport: i0,
|
|
31
|
+
type: CkTab,
|
|
32
|
+
deps: [],
|
|
33
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
34
|
+
});
|
|
35
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
36
|
+
minVersion: "17.1.0",
|
|
37
|
+
version: "22.2.4",
|
|
38
|
+
type: CkTab,
|
|
39
|
+
isStandalone: true,
|
|
40
|
+
selector: "ck-tab",
|
|
41
|
+
inputs: {
|
|
42
|
+
value: {
|
|
43
|
+
classPropertyName: "value",
|
|
44
|
+
publicName: "value",
|
|
45
|
+
isSignal: true,
|
|
46
|
+
isRequired: true,
|
|
47
|
+
transformFunction: null
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
classPropertyName: "disabled",
|
|
51
|
+
publicName: "disabled",
|
|
52
|
+
isSignal: true,
|
|
53
|
+
isRequired: false,
|
|
54
|
+
transformFunction: null
|
|
55
|
+
},
|
|
56
|
+
id: {
|
|
57
|
+
classPropertyName: "id",
|
|
58
|
+
publicName: "id",
|
|
59
|
+
isSignal: true,
|
|
60
|
+
isRequired: false,
|
|
61
|
+
transformFunction: null
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
host: {
|
|
65
|
+
attributes: { "role": "tab" },
|
|
66
|
+
listeners: { "click": "group.select(this)" },
|
|
67
|
+
properties: {
|
|
68
|
+
"id": "id()",
|
|
69
|
+
"class.ck-tab--selected": "selected()",
|
|
70
|
+
"class.ck-tab--disabled": "disabled()",
|
|
71
|
+
"attr.aria-selected": "selected()",
|
|
72
|
+
"attr.aria-controls": "controls()",
|
|
73
|
+
"attr.aria-disabled": "disabled() ? \"true\" : null",
|
|
74
|
+
"attr.tabindex": "tabIndex()"
|
|
75
|
+
},
|
|
76
|
+
classAttribute: "ck-tab"
|
|
77
|
+
},
|
|
78
|
+
ngImport: i0,
|
|
79
|
+
template: `<span class="ck-tab__label"><ng-content /></span>`,
|
|
80
|
+
isInline: true,
|
|
81
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
82
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
86
|
+
minVersion: "12.0.0",
|
|
87
|
+
version: "22.2.4",
|
|
88
|
+
ngImport: i0,
|
|
89
|
+
type: CkTab,
|
|
90
|
+
decorators: [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{
|
|
93
|
+
selector: "ck-tab",
|
|
94
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
95
|
+
encapsulation: ViewEncapsulation.None,
|
|
96
|
+
host: {
|
|
97
|
+
class: "ck-tab",
|
|
98
|
+
role: "tab",
|
|
99
|
+
"[id]": "id()",
|
|
100
|
+
"[class.ck-tab--selected]": "selected()",
|
|
101
|
+
"[class.ck-tab--disabled]": "disabled()",
|
|
102
|
+
"[attr.aria-selected]": "selected()",
|
|
103
|
+
"[attr.aria-controls]": "controls()",
|
|
104
|
+
"[attr.aria-disabled]": "disabled() ? \"true\" : null",
|
|
105
|
+
"[attr.tabindex]": "tabIndex()",
|
|
106
|
+
"(click)": "group.select(this)"
|
|
107
|
+
},
|
|
108
|
+
template: `<span class="ck-tab__label"><ng-content /></span>`
|
|
109
|
+
}]
|
|
110
|
+
}],
|
|
111
|
+
propDecorators: {
|
|
112
|
+
value: [{
|
|
113
|
+
type: i0.Input,
|
|
114
|
+
args: [{
|
|
115
|
+
isSignal: true,
|
|
116
|
+
alias: "value",
|
|
117
|
+
required: true
|
|
118
|
+
}]
|
|
119
|
+
}],
|
|
120
|
+
disabled: [{
|
|
121
|
+
type: i0.Input,
|
|
122
|
+
args: [{
|
|
123
|
+
isSignal: true,
|
|
124
|
+
alias: "disabled",
|
|
125
|
+
required: false
|
|
126
|
+
}]
|
|
127
|
+
}],
|
|
128
|
+
id: [{
|
|
129
|
+
type: i0.Input,
|
|
130
|
+
args: [{
|
|
131
|
+
isSignal: true,
|
|
132
|
+
alias: "id",
|
|
133
|
+
required: false
|
|
134
|
+
}]
|
|
135
|
+
}]
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
var CkTabContent = class CkTabContent {
|
|
139
|
+
template = inject(TemplateRef);
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
141
|
+
minVersion: "12.0.0",
|
|
142
|
+
version: "22.2.4",
|
|
143
|
+
ngImport: i0,
|
|
144
|
+
type: CkTabContent,
|
|
145
|
+
deps: [],
|
|
146
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
147
|
+
});
|
|
148
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
149
|
+
minVersion: "14.0.0",
|
|
150
|
+
version: "22.2.4",
|
|
151
|
+
type: CkTabContent,
|
|
152
|
+
isStandalone: true,
|
|
153
|
+
selector: "ng-template[ckTabContent]",
|
|
154
|
+
ngImport: i0
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
158
|
+
minVersion: "12.0.0",
|
|
159
|
+
version: "22.2.4",
|
|
160
|
+
ngImport: i0,
|
|
161
|
+
type: CkTabContent,
|
|
162
|
+
decorators: [{
|
|
163
|
+
type: Directive,
|
|
164
|
+
args: [{ selector: "ng-template[ckTabContent]" }]
|
|
165
|
+
}]
|
|
166
|
+
});
|
|
167
|
+
function stepOf(key, rtl) {
|
|
168
|
+
switch (key) {
|
|
169
|
+
case "ArrowLeft": return rtl ? 1 : -1;
|
|
170
|
+
case "ArrowRight": return rtl ? -1 : 1;
|
|
171
|
+
default: return 0;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
var CkTabList = class CkTabList {
|
|
175
|
+
group = inject(CK_TABS_CONTEXT);
|
|
176
|
+
element = inject(ElementRef).nativeElement;
|
|
177
|
+
browser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
178
|
+
destroyed = false;
|
|
179
|
+
observer = null;
|
|
180
|
+
focusedTab = null;
|
|
181
|
+
constructor() {
|
|
182
|
+
inject(DestroyRef).onDestroy(() => {
|
|
183
|
+
this.destroyed = true;
|
|
184
|
+
this.observer?.disconnect();
|
|
185
|
+
this.observer = null;
|
|
186
|
+
});
|
|
187
|
+
afterRenderEffect(() => {
|
|
188
|
+
const tabs = this.group.tabs();
|
|
189
|
+
this.group.selectedTab();
|
|
190
|
+
this.watch(tabs);
|
|
191
|
+
this.rescueFocus();
|
|
192
|
+
this.revealSelected();
|
|
193
|
+
});
|
|
194
|
+
if (typeof ngDevMode !== "undefined" && ngDevMode && this.browser) afterNextRender(() => {
|
|
195
|
+
if (!this.destroyed && !hasAccessibleName(this.element, {
|
|
196
|
+
title: false,
|
|
197
|
+
text: false
|
|
198
|
+
})) console.warn("[ckui] ck-tab-list has no accessible name. Add an aria-label or aria-labelledby.", this.element);
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
watch(tabs) {
|
|
202
|
+
if (!this.browser || this.destroyed) return;
|
|
203
|
+
const Observer = this.element.ownerDocument.defaultView?.ResizeObserver;
|
|
204
|
+
if (Observer === void 0) return;
|
|
205
|
+
this.observer ??= new Observer(() => this.revealCurrent());
|
|
206
|
+
this.observer.disconnect();
|
|
207
|
+
this.observer.observe(this.element);
|
|
208
|
+
for (const tab of tabs) this.observer.observe(tab.element);
|
|
209
|
+
}
|
|
210
|
+
rescueFocus() {
|
|
211
|
+
const lost = this.focusedTab;
|
|
212
|
+
if (lost === null || this.destroyed) return;
|
|
213
|
+
const active = this.element.ownerDocument.activeElement;
|
|
214
|
+
if (lost.isConnected) {
|
|
215
|
+
if (active !== lost) this.focusedTab = null;
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
this.focusedTab = null;
|
|
219
|
+
if (active === null || active === this.element.ownerDocument.body) untracked(this.group.selectedTab)?.element.focus();
|
|
220
|
+
}
|
|
221
|
+
revealSelected() {
|
|
222
|
+
const selected = untracked(this.group.selectedTab);
|
|
223
|
+
if (selected !== null) this.reveal(selected.element);
|
|
224
|
+
}
|
|
225
|
+
revealCurrent() {
|
|
226
|
+
const active = this.element.ownerDocument.activeElement;
|
|
227
|
+
const focused = untracked(this.group.tabs).find((tab) => tab.element === active);
|
|
228
|
+
if (focused !== void 0) this.reveal(focused.element);
|
|
229
|
+
else this.revealSelected();
|
|
230
|
+
}
|
|
231
|
+
reveal(tab) {
|
|
232
|
+
if (!this.browser || this.destroyed || this.element.offsetWidth === 0) return;
|
|
233
|
+
const list = this.element.getBoundingClientRect();
|
|
234
|
+
const box = tab.getBoundingClientRect();
|
|
235
|
+
const scale = list.width / this.element.offsetWidth;
|
|
236
|
+
const toStart = (box.left - list.left) / scale;
|
|
237
|
+
const toEnd = (box.right - list.right) / scale;
|
|
238
|
+
if (toStart < 0) this.element.scrollLeft += toStart;
|
|
239
|
+
else if (toEnd > 0) this.element.scrollLeft += toEnd;
|
|
240
|
+
}
|
|
241
|
+
onFocusIn(event) {
|
|
242
|
+
const target = event.target;
|
|
243
|
+
const tab = this.group.tabs().find((candidate) => candidate.element.contains(target));
|
|
244
|
+
if (tab !== void 0) {
|
|
245
|
+
this.focusedTab = tab.element;
|
|
246
|
+
this.reveal(tab.element);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
onFocusOut(event) {
|
|
250
|
+
if (event.relatedTarget !== null) this.focusedTab = null;
|
|
251
|
+
}
|
|
252
|
+
onKeydown(event) {
|
|
253
|
+
if (event.ctrlKey || event.metaKey || event.altKey) return;
|
|
254
|
+
const target = event.target;
|
|
255
|
+
const tabs = this.group.tabs();
|
|
256
|
+
const focused = tabs.find((tab) => tab.element.contains(target));
|
|
257
|
+
if (focused === void 0) return;
|
|
258
|
+
if (event.key === "Enter" || event.key === " " || event.key === "Spacebar") {
|
|
259
|
+
event.preventDefault();
|
|
260
|
+
this.group.select(focused);
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
const usable = tabs.filter((tab) => !tab.disabled());
|
|
264
|
+
const next = this.targetOf(event.key, focused, usable);
|
|
265
|
+
if (next === null) return;
|
|
266
|
+
event.preventDefault();
|
|
267
|
+
next.element.focus();
|
|
268
|
+
if (this.group.activation() === "auto") this.group.select(next);
|
|
269
|
+
}
|
|
270
|
+
targetOf(key, focused, usable) {
|
|
271
|
+
if (usable.length === 0) return null;
|
|
272
|
+
const last = usable.length - 1;
|
|
273
|
+
if (key === "Home") return usable[0];
|
|
274
|
+
if (key === "End") return usable[last];
|
|
275
|
+
const step = stepOf(key, this.element.matches(":dir(rtl)"));
|
|
276
|
+
if (step === 0) return null;
|
|
277
|
+
const from = usable.indexOf(focused);
|
|
278
|
+
if (from < 0) return step > 0 ? usable[0] : usable[last];
|
|
279
|
+
return usable[(from + step + usable.length) % usable.length];
|
|
280
|
+
}
|
|
281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
282
|
+
minVersion: "12.0.0",
|
|
283
|
+
version: "22.2.4",
|
|
284
|
+
ngImport: i0,
|
|
285
|
+
type: CkTabList,
|
|
286
|
+
deps: [],
|
|
287
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
288
|
+
});
|
|
289
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
290
|
+
minVersion: "14.0.0",
|
|
291
|
+
version: "22.2.4",
|
|
292
|
+
type: CkTabList,
|
|
293
|
+
isStandalone: true,
|
|
294
|
+
selector: "ck-tab-list",
|
|
295
|
+
host: {
|
|
296
|
+
attributes: { "role": "tablist" },
|
|
297
|
+
listeners: {
|
|
298
|
+
"keydown": "onKeydown($event)",
|
|
299
|
+
"focusin": "onFocusIn($event)",
|
|
300
|
+
"focusout": "onFocusOut($event)"
|
|
301
|
+
},
|
|
302
|
+
classAttribute: "ck-tab-list"
|
|
303
|
+
},
|
|
304
|
+
ngImport: i0,
|
|
305
|
+
template: `<ng-content />`,
|
|
306
|
+
isInline: true,
|
|
307
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
308
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
309
|
+
});
|
|
310
|
+
};
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
312
|
+
minVersion: "12.0.0",
|
|
313
|
+
version: "22.2.4",
|
|
314
|
+
ngImport: i0,
|
|
315
|
+
type: CkTabList,
|
|
316
|
+
decorators: [{
|
|
317
|
+
type: Component,
|
|
318
|
+
args: [{
|
|
319
|
+
selector: "ck-tab-list",
|
|
320
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
321
|
+
encapsulation: ViewEncapsulation.None,
|
|
322
|
+
host: {
|
|
323
|
+
class: "ck-tab-list",
|
|
324
|
+
role: "tablist",
|
|
325
|
+
"(keydown)": "onKeydown($event)",
|
|
326
|
+
"(focusin)": "onFocusIn($event)",
|
|
327
|
+
"(focusout)": "onFocusOut($event)"
|
|
328
|
+
},
|
|
329
|
+
template: `<ng-content />`
|
|
330
|
+
}]
|
|
331
|
+
}],
|
|
332
|
+
ctorParameters: () => []
|
|
333
|
+
});
|
|
334
|
+
var CkTabPanel = class CkTabPanel {
|
|
335
|
+
value = input(void 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
336
|
+
id = input(createCkId("ck-tab-panel"), ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
337
|
+
group = inject(CK_TABS_CONTEXT);
|
|
338
|
+
content = contentChild(CkTabContent, ...ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []);
|
|
339
|
+
shown = computed(() => this.group.isShown(this), ...ngDevMode ? [{ debugName: "shown" }] : /* istanbul ignore next */ []);
|
|
340
|
+
labelledBy = computed(() => this.group.tabIdFor(this), ...ngDevMode ? [{ debugName: "labelledBy" }] : /* istanbul ignore next */ []);
|
|
341
|
+
lazy = computed(() => this.shown() ? this.content()?.template ?? null : null, ...ngDevMode ? [{ debugName: "lazy" }] : /* istanbul ignore next */ []);
|
|
342
|
+
constructor() {
|
|
343
|
+
if (typeof ngDevMode !== "undefined" && ngDevMode && isPlatformBrowser(inject(PLATFORM_ID))) {
|
|
344
|
+
let destroyed = false;
|
|
345
|
+
inject(DestroyRef).onDestroy(() => destroyed = true);
|
|
346
|
+
afterNextRender(() => {
|
|
347
|
+
const value = this.value();
|
|
348
|
+
if (!destroyed && value != null && !this.group.hasTab(value)) console.warn("[ckui] ck-tab-panel has a value that matches no ck-tab, so it is never shown:", value);
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
353
|
+
minVersion: "12.0.0",
|
|
354
|
+
version: "22.2.4",
|
|
355
|
+
ngImport: i0,
|
|
356
|
+
type: CkTabPanel,
|
|
357
|
+
deps: [],
|
|
358
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
359
|
+
});
|
|
360
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
361
|
+
minVersion: "17.0.0",
|
|
362
|
+
version: "22.2.4",
|
|
363
|
+
type: CkTabPanel,
|
|
364
|
+
isStandalone: true,
|
|
365
|
+
selector: "ck-tab-panel",
|
|
366
|
+
inputs: {
|
|
367
|
+
value: {
|
|
368
|
+
classPropertyName: "value",
|
|
369
|
+
publicName: "value",
|
|
370
|
+
isSignal: true,
|
|
371
|
+
isRequired: false,
|
|
372
|
+
transformFunction: null
|
|
373
|
+
},
|
|
374
|
+
id: {
|
|
375
|
+
classPropertyName: "id",
|
|
376
|
+
publicName: "id",
|
|
377
|
+
isSignal: true,
|
|
378
|
+
isRequired: false,
|
|
379
|
+
transformFunction: null
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
host: {
|
|
383
|
+
attributes: {
|
|
384
|
+
"role": "tabpanel",
|
|
385
|
+
"tabindex": "0"
|
|
386
|
+
},
|
|
387
|
+
properties: {
|
|
388
|
+
"id": "id()",
|
|
389
|
+
"hidden": "!shown()",
|
|
390
|
+
"attr.aria-labelledby": "labelledBy()"
|
|
391
|
+
},
|
|
392
|
+
classAttribute: "ck-tab-panel"
|
|
393
|
+
},
|
|
394
|
+
queries: [{
|
|
395
|
+
propertyName: "content",
|
|
396
|
+
first: true,
|
|
397
|
+
predicate: CkTabContent,
|
|
398
|
+
descendants: true,
|
|
399
|
+
isSignal: true
|
|
400
|
+
}],
|
|
401
|
+
ngImport: i0,
|
|
402
|
+
template: `<ng-content />
|
|
403
|
+
@if (lazy(); as template) {
|
|
404
|
+
<ng-container [ngTemplateOutlet]="template" />
|
|
405
|
+
}`,
|
|
406
|
+
isInline: true,
|
|
407
|
+
dependencies: [{
|
|
408
|
+
kind: "directive",
|
|
409
|
+
type: NgTemplateOutlet,
|
|
410
|
+
selector: "[ngTemplateOutlet]",
|
|
411
|
+
inputs: [
|
|
412
|
+
"ngTemplateOutletContext",
|
|
413
|
+
"ngTemplateOutlet",
|
|
414
|
+
"ngTemplateOutletInjector"
|
|
415
|
+
]
|
|
416
|
+
}],
|
|
417
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
418
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
419
|
+
});
|
|
420
|
+
};
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
422
|
+
minVersion: "12.0.0",
|
|
423
|
+
version: "22.2.4",
|
|
424
|
+
ngImport: i0,
|
|
425
|
+
type: CkTabPanel,
|
|
426
|
+
decorators: [{
|
|
427
|
+
type: Component,
|
|
428
|
+
args: [{
|
|
429
|
+
selector: "ck-tab-panel",
|
|
430
|
+
imports: [NgTemplateOutlet],
|
|
431
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
432
|
+
encapsulation: ViewEncapsulation.None,
|
|
433
|
+
host: {
|
|
434
|
+
class: "ck-tab-panel",
|
|
435
|
+
role: "tabpanel",
|
|
436
|
+
tabindex: "0",
|
|
437
|
+
"[id]": "id()",
|
|
438
|
+
"[hidden]": "!shown()",
|
|
439
|
+
"[attr.aria-labelledby]": "labelledBy()"
|
|
440
|
+
},
|
|
441
|
+
template: `<ng-content />
|
|
442
|
+
@if (lazy(); as template) {
|
|
443
|
+
<ng-container [ngTemplateOutlet]="template" />
|
|
444
|
+
}`
|
|
445
|
+
}]
|
|
446
|
+
}],
|
|
447
|
+
ctorParameters: () => [],
|
|
448
|
+
propDecorators: {
|
|
449
|
+
value: [{
|
|
450
|
+
type: i0.Input,
|
|
451
|
+
args: [{
|
|
452
|
+
isSignal: true,
|
|
453
|
+
alias: "value",
|
|
454
|
+
required: false
|
|
455
|
+
}]
|
|
456
|
+
}],
|
|
457
|
+
id: [{
|
|
458
|
+
type: i0.Input,
|
|
459
|
+
args: [{
|
|
460
|
+
isSignal: true,
|
|
461
|
+
alias: "id",
|
|
462
|
+
required: false
|
|
463
|
+
}]
|
|
464
|
+
}],
|
|
465
|
+
content: [{
|
|
466
|
+
type: i0.ContentChild,
|
|
467
|
+
args: [i0.forwardRef(() => CkTabContent), { isSignal: true }]
|
|
468
|
+
}]
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
function isValued(panel) {
|
|
472
|
+
return panel.value() != null;
|
|
473
|
+
}
|
|
474
|
+
var CkTabs = class CkTabs {
|
|
475
|
+
value = model(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
476
|
+
activation = input("auto", ...ngDevMode ? [{ debugName: "activation" }] : /* istanbul ignore next */ []);
|
|
477
|
+
size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
478
|
+
fullWidth = input(false, {
|
|
479
|
+
...ngDevMode ? { debugName: "fullWidth" } : /* istanbul ignore next */ {},
|
|
480
|
+
transform: booleanAttribute
|
|
481
|
+
});
|
|
482
|
+
config = inject(CK_CONFIG);
|
|
483
|
+
allTabs = contentChildren(CkTab, {
|
|
484
|
+
...ngDevMode ? { debugName: "allTabs" } : /* istanbul ignore next */ {},
|
|
485
|
+
descendants: true
|
|
486
|
+
});
|
|
487
|
+
allPanels = contentChildren(CkTabPanel, {
|
|
488
|
+
...ngDevMode ? { debugName: "allPanels" } : /* istanbul ignore next */ {},
|
|
489
|
+
descendants: true
|
|
490
|
+
});
|
|
491
|
+
modifierClasses = computed(() => `ck-tabs--${this.size() ?? this.config.size}`, ...ngDevMode ? [{ debugName: "modifierClasses" }] : /* istanbul ignore next */ []);
|
|
492
|
+
tabs = computed(() => this.allTabs().filter((tab) => tab.group === this), ...ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []);
|
|
493
|
+
panels = computed(() => this.allPanels().filter((panel) => panel.group === this), ...ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []);
|
|
494
|
+
selectedTab = computed(() => {
|
|
495
|
+
const usable = this.tabs().filter((tab) => !tab.disabled());
|
|
496
|
+
const wanted = this.value();
|
|
497
|
+
return (wanted === null ? void 0 : usable.find((tab) => Object.is(tab.current(), wanted))) ?? usable[0] ?? null;
|
|
498
|
+
}, ...ngDevMode ? [{ debugName: "selectedTab" }] : /* istanbul ignore next */ []);
|
|
499
|
+
select(tab) {
|
|
500
|
+
if (!tab.disabled()) this.value.set(tab.current());
|
|
501
|
+
}
|
|
502
|
+
panelIdFor(tab) {
|
|
503
|
+
const panels = this.panels();
|
|
504
|
+
return (panels.find((panel) => isValued(panel) && Object.is(panel.value(), tab.current())) ?? panels.find((panel) => !isValued(panel)))?.id() ?? null;
|
|
505
|
+
}
|
|
506
|
+
tabIdFor(panel) {
|
|
507
|
+
if (!isValued(panel)) return this.selectedTab()?.id() ?? null;
|
|
508
|
+
return this.tabs().find((tab) => Object.is(tab.current(), panel.value()))?.id() ?? null;
|
|
509
|
+
}
|
|
510
|
+
isShown(panel) {
|
|
511
|
+
const selected = this.selectedTab();
|
|
512
|
+
if (selected === null) return false;
|
|
513
|
+
return !isValued(panel) || Object.is(selected.current(), panel.value());
|
|
514
|
+
}
|
|
515
|
+
hasTab(value) {
|
|
516
|
+
return this.tabs().some((tab) => Object.is(tab.current(), value));
|
|
517
|
+
}
|
|
518
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
519
|
+
minVersion: "12.0.0",
|
|
520
|
+
version: "22.2.4",
|
|
521
|
+
ngImport: i0,
|
|
522
|
+
type: CkTabs,
|
|
523
|
+
deps: [],
|
|
524
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
525
|
+
});
|
|
526
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
527
|
+
minVersion: "17.2.0",
|
|
528
|
+
version: "22.2.4",
|
|
529
|
+
type: CkTabs,
|
|
530
|
+
isStandalone: true,
|
|
531
|
+
selector: "ck-tabs",
|
|
532
|
+
inputs: {
|
|
533
|
+
value: {
|
|
534
|
+
classPropertyName: "value",
|
|
535
|
+
publicName: "value",
|
|
536
|
+
isSignal: true,
|
|
537
|
+
isRequired: false,
|
|
538
|
+
transformFunction: null
|
|
539
|
+
},
|
|
540
|
+
activation: {
|
|
541
|
+
classPropertyName: "activation",
|
|
542
|
+
publicName: "activation",
|
|
543
|
+
isSignal: true,
|
|
544
|
+
isRequired: false,
|
|
545
|
+
transformFunction: null
|
|
546
|
+
},
|
|
547
|
+
size: {
|
|
548
|
+
classPropertyName: "size",
|
|
549
|
+
publicName: "size",
|
|
550
|
+
isSignal: true,
|
|
551
|
+
isRequired: false,
|
|
552
|
+
transformFunction: null
|
|
553
|
+
},
|
|
554
|
+
fullWidth: {
|
|
555
|
+
classPropertyName: "fullWidth",
|
|
556
|
+
publicName: "fullWidth",
|
|
557
|
+
isSignal: true,
|
|
558
|
+
isRequired: false,
|
|
559
|
+
transformFunction: null
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
outputs: { value: "valueChange" },
|
|
563
|
+
host: {
|
|
564
|
+
properties: {
|
|
565
|
+
"class": "modifierClasses()",
|
|
566
|
+
"class.ck-tabs--full-width": "fullWidth()"
|
|
567
|
+
},
|
|
568
|
+
classAttribute: "ck-tabs"
|
|
569
|
+
},
|
|
570
|
+
providers: [{
|
|
571
|
+
provide: CK_TABS_CONTEXT,
|
|
572
|
+
useExisting: forwardRef(() => CkTabs)
|
|
573
|
+
}],
|
|
574
|
+
queries: [{
|
|
575
|
+
propertyName: "allTabs",
|
|
576
|
+
predicate: CkTab,
|
|
577
|
+
descendants: true,
|
|
578
|
+
isSignal: true
|
|
579
|
+
}, {
|
|
580
|
+
propertyName: "allPanels",
|
|
581
|
+
predicate: CkTabPanel,
|
|
582
|
+
descendants: true,
|
|
583
|
+
isSignal: true
|
|
584
|
+
}],
|
|
585
|
+
ngImport: i0,
|
|
586
|
+
template: `<ng-content />`,
|
|
587
|
+
isInline: true,
|
|
588
|
+
styles: ["@layer ckui{.ck-tabs{display:block}.ck-tabs--sm{--_ck-tabs-height: var(--ck-control-height-sm);--_ck-tabs-font-size: var(--ck-control-font-size-sm);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-sm))}.ck-tabs--md{--_ck-tabs-height: var(--ck-control-height-md);--_ck-tabs-font-size: var(--ck-control-font-size-md);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-md))}.ck-tabs--lg{--_ck-tabs-height: var(--ck-control-height-lg);--_ck-tabs-font-size: var(--ck-control-font-size-lg);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-lg))}.ck-tabs--xl{--_ck-tabs-height: var(--ck-control-height-xl);--_ck-tabs-font-size: var(--ck-control-font-size-xl);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-xl))}.ck-tab-list{position:relative;display:flex;box-sizing:border-box;gap:var(--ck-tabs-gap, 0);border-block-end:1px solid var(--ck-tabs-border-color, var(--ck-color-border-subtle));color-scheme:var(--ck-color-scheme);font-family:inherit;font-variant-numeric:var(--ck-font-variant-numeric);line-height:var(--ck-line-height-tight);overflow:auto hidden;overscroll-behavior-x:contain}@media(hover:hover)and (pointer:fine){.ck-tab-list{scrollbar-width:thin}}@media not ((hover:hover)and (pointer:fine)){.ck-tab-list{scrollbar-width:none}.ck-tab-list::-webkit-scrollbar{display:none}}.ck-tab-list:dir(ltr){direction:ltr}.ck-tab{position:relative;display:flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;block-size:var(--_ck-tabs-height);max-inline-size:100%;padding-inline:var(--_ck-tabs-padding-inline);color:var(--ck-tabs-fg, var(--ck-color-fg-muted));font-size:var(--_ck-tabs-font-size);font-weight:var(--ck-tabs-font-weight, var(--ck-font-weight-medium));white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:color var(--ck-duration-fast) var(--ck-ease-standard),background-color var(--ck-duration-fast) var(--ck-ease-standard)}.ck-tab__label{display:block;min-inline-size:0;overflow:hidden;text-overflow:ellipsis}.ck-tabs--full-width .ck-tab{flex:1 1 0;min-inline-size:min(max-content,100%)}.ck-tab:after{content:\"\";position:absolute;inset-block-end:0;inset-inline:0;block-size:var(--ck-tabs-indicator-thickness, var(--ck-space-1));background:var(--ck-tabs-indicator, var(--ck-color-primary));pointer-events:none;scale:0 1;transition:scale var(--ck-duration-fast) var(--ck-ease-standard)}.ck-tab--selected{color:var(--ck-tabs-fg-selected, var(--ck-color-fg));font-weight:var(--ck-tabs-font-weight-selected, var(--ck-font-weight-semibold))}.ck-tab--selected:after{scale:1 1}@media(hover:hover){.ck-tab:hover{background-color:var(--ck-color-surface-hover)}}.ck-tab:active{background-color:var(--ck-color-surface-active)}.ck-tab:before{content:\"\";position:absolute;inset:0;pointer-events:none}.ck-tab:focus-visible{outline:none}.ck-tab:focus-visible:before{outline:var(--ck-focus-ring);outline-offset:calc(-1 * var(--ck-focus-ring-width))}.ck-tab--disabled,.ck-tab--disabled:hover,.ck-tab--disabled:active{background-color:transparent;color:var(--ck-color-fg-disabled);cursor:not-allowed}.ck-tab-panel{display:block}.ck-tab-panel[hidden]{display:none}.ck-tab-panel:focus-visible{outline:var(--ck-focus-ring);outline-offset:var(--ck-focus-ring-offset)}@media(prefers-reduced-motion:reduce){.ck-tab,.ck-tab:after{transition:none}}@media(forced-colors:active){.ck-tab-list{border-block-end-color:CanvasText}.ck-tab{color:ButtonText}.ck-tab--selected{color:CanvasText}.ck-tab:after{background-color:Highlight}.ck-tab--disabled,.ck-tab--disabled:hover,.ck-tab--disabled:active{color:GrayText}.ck-tab:focus-visible:before,.ck-tab-panel:focus-visible{outline-color:Highlight}}@media(forced-colors:active)and (hover:hover){.ck-tab:not(.ck-tab--disabled):hover{color:Highlight}}}\n"],
|
|
589
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
590
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
591
|
+
});
|
|
592
|
+
};
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
594
|
+
minVersion: "12.0.0",
|
|
595
|
+
version: "22.2.4",
|
|
596
|
+
ngImport: i0,
|
|
597
|
+
type: CkTabs,
|
|
598
|
+
decorators: [{
|
|
599
|
+
type: Component,
|
|
600
|
+
args: [{
|
|
601
|
+
selector: "ck-tabs",
|
|
602
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
603
|
+
encapsulation: ViewEncapsulation.None,
|
|
604
|
+
providers: [{
|
|
605
|
+
provide: CK_TABS_CONTEXT,
|
|
606
|
+
useExisting: forwardRef(() => CkTabs)
|
|
607
|
+
}],
|
|
608
|
+
host: {
|
|
609
|
+
class: "ck-tabs",
|
|
610
|
+
"[class]": "modifierClasses()",
|
|
611
|
+
"[class.ck-tabs--full-width]": "fullWidth()"
|
|
612
|
+
},
|
|
613
|
+
template: `<ng-content />`,
|
|
614
|
+
styles: ["@layer ckui{.ck-tabs{display:block}.ck-tabs--sm{--_ck-tabs-height: var(--ck-control-height-sm);--_ck-tabs-font-size: var(--ck-control-font-size-sm);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-sm))}.ck-tabs--md{--_ck-tabs-height: var(--ck-control-height-md);--_ck-tabs-font-size: var(--ck-control-font-size-md);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-md))}.ck-tabs--lg{--_ck-tabs-height: var(--ck-control-height-lg);--_ck-tabs-font-size: var(--ck-control-font-size-lg);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-lg))}.ck-tabs--xl{--_ck-tabs-height: var(--ck-control-height-xl);--_ck-tabs-font-size: var(--ck-control-font-size-xl);--_ck-tabs-padding-inline: var(--ck-tabs-padding-inline, var(--ck-control-padding-inline-xl))}.ck-tab-list{position:relative;display:flex;box-sizing:border-box;gap:var(--ck-tabs-gap, 0);border-block-end:1px solid var(--ck-tabs-border-color, var(--ck-color-border-subtle));color-scheme:var(--ck-color-scheme);font-family:inherit;font-variant-numeric:var(--ck-font-variant-numeric);line-height:var(--ck-line-height-tight);overflow:auto hidden;overscroll-behavior-x:contain}@media(hover:hover)and (pointer:fine){.ck-tab-list{scrollbar-width:thin}}@media not ((hover:hover)and (pointer:fine)){.ck-tab-list{scrollbar-width:none}.ck-tab-list::-webkit-scrollbar{display:none}}.ck-tab-list:dir(ltr){direction:ltr}.ck-tab{position:relative;display:flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;block-size:var(--_ck-tabs-height);max-inline-size:100%;padding-inline:var(--_ck-tabs-padding-inline);color:var(--ck-tabs-fg, var(--ck-color-fg-muted));font-size:var(--_ck-tabs-font-size);font-weight:var(--ck-tabs-font-weight, var(--ck-font-weight-medium));white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:color var(--ck-duration-fast) var(--ck-ease-standard),background-color var(--ck-duration-fast) var(--ck-ease-standard)}.ck-tab__label{display:block;min-inline-size:0;overflow:hidden;text-overflow:ellipsis}.ck-tabs--full-width .ck-tab{flex:1 1 0;min-inline-size:min(max-content,100%)}.ck-tab:after{content:\"\";position:absolute;inset-block-end:0;inset-inline:0;block-size:var(--ck-tabs-indicator-thickness, var(--ck-space-1));background:var(--ck-tabs-indicator, var(--ck-color-primary));pointer-events:none;scale:0 1;transition:scale var(--ck-duration-fast) var(--ck-ease-standard)}.ck-tab--selected{color:var(--ck-tabs-fg-selected, var(--ck-color-fg));font-weight:var(--ck-tabs-font-weight-selected, var(--ck-font-weight-semibold))}.ck-tab--selected:after{scale:1 1}@media(hover:hover){.ck-tab:hover{background-color:var(--ck-color-surface-hover)}}.ck-tab:active{background-color:var(--ck-color-surface-active)}.ck-tab:before{content:\"\";position:absolute;inset:0;pointer-events:none}.ck-tab:focus-visible{outline:none}.ck-tab:focus-visible:before{outline:var(--ck-focus-ring);outline-offset:calc(-1 * var(--ck-focus-ring-width))}.ck-tab--disabled,.ck-tab--disabled:hover,.ck-tab--disabled:active{background-color:transparent;color:var(--ck-color-fg-disabled);cursor:not-allowed}.ck-tab-panel{display:block}.ck-tab-panel[hidden]{display:none}.ck-tab-panel:focus-visible{outline:var(--ck-focus-ring);outline-offset:var(--ck-focus-ring-offset)}@media(prefers-reduced-motion:reduce){.ck-tab,.ck-tab:after{transition:none}}@media(forced-colors:active){.ck-tab-list{border-block-end-color:CanvasText}.ck-tab{color:ButtonText}.ck-tab--selected{color:CanvasText}.ck-tab:after{background-color:Highlight}.ck-tab--disabled,.ck-tab--disabled:hover,.ck-tab--disabled:active{color:GrayText}.ck-tab:focus-visible:before,.ck-tab-panel:focus-visible{outline-color:Highlight}}@media(forced-colors:active)and (hover:hover){.ck-tab:not(.ck-tab--disabled):hover{color:Highlight}}}\n"]
|
|
615
|
+
}]
|
|
616
|
+
}],
|
|
617
|
+
propDecorators: {
|
|
618
|
+
value: [{
|
|
619
|
+
type: i0.Input,
|
|
620
|
+
args: [{
|
|
621
|
+
isSignal: true,
|
|
622
|
+
alias: "value",
|
|
623
|
+
required: false
|
|
624
|
+
}]
|
|
625
|
+
}, {
|
|
626
|
+
type: i0.Output,
|
|
627
|
+
args: ["valueChange"]
|
|
628
|
+
}],
|
|
629
|
+
activation: [{
|
|
630
|
+
type: i0.Input,
|
|
631
|
+
args: [{
|
|
632
|
+
isSignal: true,
|
|
633
|
+
alias: "activation",
|
|
634
|
+
required: false
|
|
635
|
+
}]
|
|
636
|
+
}],
|
|
637
|
+
size: [{
|
|
638
|
+
type: i0.Input,
|
|
639
|
+
args: [{
|
|
640
|
+
isSignal: true,
|
|
641
|
+
alias: "size",
|
|
642
|
+
required: false
|
|
643
|
+
}]
|
|
644
|
+
}],
|
|
645
|
+
fullWidth: [{
|
|
646
|
+
type: i0.Input,
|
|
647
|
+
args: [{
|
|
648
|
+
isSignal: true,
|
|
649
|
+
alias: "fullWidth",
|
|
650
|
+
required: false
|
|
651
|
+
}]
|
|
652
|
+
}],
|
|
653
|
+
allTabs: [{
|
|
654
|
+
type: i0.ContentChildren,
|
|
655
|
+
args: [i0.forwardRef(() => CkTab), {
|
|
656
|
+
descendants: true,
|
|
657
|
+
isSignal: true
|
|
658
|
+
}]
|
|
659
|
+
}],
|
|
660
|
+
allPanels: [{
|
|
661
|
+
type: i0.ContentChildren,
|
|
662
|
+
args: [i0.forwardRef(() => CkTabPanel), {
|
|
663
|
+
descendants: true,
|
|
664
|
+
isSignal: true
|
|
665
|
+
}]
|
|
666
|
+
}]
|
|
667
|
+
}
|
|
668
|
+
});
|
|
669
|
+
const CK_TABS_IMPORTS = [
|
|
670
|
+
CkTabs,
|
|
671
|
+
CkTabList,
|
|
672
|
+
CkTab,
|
|
673
|
+
CkTabPanel,
|
|
674
|
+
CkTabContent
|
|
675
|
+
];
|
|
676
|
+
export { CK_TABS_IMPORTS, CkTab, CkTabContent, CkTabList, CkTabPanel, CkTabs };
|
|
677
|
+
|
|
678
|
+
//# sourceMappingURL=ckui-core-tabs.mjs.map
|