ngx-core-components 0.3.3 → 0.3.4
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/ai/ai-audio-wave/ai-audio-wave.component.d.ts +28 -0
- package/ai/ai-chat-widget/ai-chat-widget.component.d.ts +26 -0
- package/ai/ai-code-editor/ai-code-editor.component.d.ts +30 -0
- package/ai/ai-model-compare/ai-model-compare.component.d.ts +31 -0
- package/ai/ai-prompt-editor/ai-prompt-editor.component.d.ts +22 -0
- package/ai/public-api.d.ts +7 -0
- package/buttons/public-api.d.ts +2 -0
- package/buttons/speed-dial/speed-dial.component.d.ts +24 -0
- package/charts/area-chart/area-chart.component.d.ts +43 -0
- package/charts/funnel-chart/funnel-chart.component.d.ts +26 -0
- package/charts/gauge-chart/gauge-chart.component.d.ts +25 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +34 -0
- package/charts/public-api.d.ts +10 -0
- package/charts/radar-chart/radar-chart.component.d.ts +51 -0
- package/charts/treemap-chart/treemap-chart.component.d.ts +33 -0
- package/feedback/alert/alert.component.d.ts +19 -0
- package/feedback/public-api.d.ts +2 -0
- package/fesm2022/ngx-core-components-ai.mjs +1418 -2
- package/fesm2022/ngx-core-components-ai.mjs.map +1 -1
- package/fesm2022/ngx-core-components-buttons.mjs +133 -1
- package/fesm2022/ngx-core-components-buttons.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +1474 -2
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-feedback.mjs +186 -2
- package/fesm2022/ngx-core-components-feedback.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +440 -10
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-navigation.mjs +282 -2
- package/fesm2022/ngx-core-components-navigation.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +508 -3
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +5 -5
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/inputs/file-upload/file-upload.component.d.ts +51 -0
- package/inputs/public-api.d.ts +2 -0
- package/navigation/command-palette/command-palette.component.d.ts +34 -0
- package/navigation/public-api.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +20 -4
- package/views/kanban/kanban.component.d.ts +41 -0
- package/views/kanban/models.d.ts +19 -0
- package/views/public-api.d.ts +4 -0
- package/views/timeline/timeline.component.d.ts +19 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, Component, signal, HostListener } from '@angular/core';
|
|
2
|
+
import { input, output, Component, signal, HostListener, effect, computed, ViewChild } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
3
4
|
|
|
4
5
|
class BreadcrumbComponent {
|
|
5
6
|
items = input([]);
|
|
@@ -182,6 +183,285 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
182
183
|
args: ['document:click']
|
|
183
184
|
}] } });
|
|
184
185
|
|
|
186
|
+
class CommandPaletteComponent {
|
|
187
|
+
// Inputs configs
|
|
188
|
+
commands = input.required();
|
|
189
|
+
placeholder = input('Type a command or search...');
|
|
190
|
+
// Output emissions
|
|
191
|
+
commandSelected = output();
|
|
192
|
+
searchInput;
|
|
193
|
+
// Open status logic
|
|
194
|
+
isOpen = signal(false);
|
|
195
|
+
filterQuery = signal('');
|
|
196
|
+
// Currently focused item in keyboard selection
|
|
197
|
+
activeItem = signal(null);
|
|
198
|
+
// Reactive effect to focus the search input field upon dialog opens
|
|
199
|
+
constructor() {
|
|
200
|
+
effect(() => {
|
|
201
|
+
if (this.isOpen()) {
|
|
202
|
+
setTimeout(() => {
|
|
203
|
+
this.searchInput?.nativeElement?.focus();
|
|
204
|
+
}, 50);
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
// Filter commands by search query
|
|
209
|
+
filteredCommands = computed(() => {
|
|
210
|
+
const query = this.filterQuery().toLowerCase().trim();
|
|
211
|
+
if (!query)
|
|
212
|
+
return this.commands();
|
|
213
|
+
return this.commands().filter(c => c.label.toLowerCase().includes(query) ||
|
|
214
|
+
(c.desc && c.desc.toLowerCase().includes(query)) ||
|
|
215
|
+
(c.category && c.category.toLowerCase().includes(query)));
|
|
216
|
+
});
|
|
217
|
+
// Group commands by category computed signals
|
|
218
|
+
groupedResults = computed(() => {
|
|
219
|
+
const list = this.filteredCommands();
|
|
220
|
+
const groups = [];
|
|
221
|
+
list.forEach(item => {
|
|
222
|
+
const cat = item.category || 'General';
|
|
223
|
+
let grp = groups.find(g => g.category === cat);
|
|
224
|
+
if (!grp) {
|
|
225
|
+
grp = { category: cat, items: [] };
|
|
226
|
+
groups.push(grp);
|
|
227
|
+
}
|
|
228
|
+
grp.items.push(item);
|
|
229
|
+
});
|
|
230
|
+
return groups;
|
|
231
|
+
});
|
|
232
|
+
// Flat list of current results for keyboard navigation indices mappings
|
|
233
|
+
flatResultsList = computed(() => {
|
|
234
|
+
const groups = this.groupedResults();
|
|
235
|
+
const flat = [];
|
|
236
|
+
groups.forEach(g => flat.push(...g.items));
|
|
237
|
+
return flat;
|
|
238
|
+
});
|
|
239
|
+
// Watch key inputs reactive alignment
|
|
240
|
+
onSearchInput(event) {
|
|
241
|
+
const query = event.target.value;
|
|
242
|
+
this.filterQuery.set(query);
|
|
243
|
+
// Reset active item to first result in filtered list
|
|
244
|
+
const results = this.flatResultsList();
|
|
245
|
+
this.activeItem.set(results.length > 0 ? results[0] : null);
|
|
246
|
+
}
|
|
247
|
+
openPalette() {
|
|
248
|
+
this.filterQuery.set('');
|
|
249
|
+
const results = this.commands();
|
|
250
|
+
this.activeItem.set(results.length > 0 ? results[0] : null);
|
|
251
|
+
this.isOpen.set(true);
|
|
252
|
+
}
|
|
253
|
+
closePalette() {
|
|
254
|
+
this.isOpen.set(false);
|
|
255
|
+
}
|
|
256
|
+
toggleOpen() {
|
|
257
|
+
if (this.isOpen()) {
|
|
258
|
+
this.closePalette();
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
this.openPalette();
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
executeCommand(cmd) {
|
|
265
|
+
this.commandSelected.emit(cmd);
|
|
266
|
+
this.closePalette();
|
|
267
|
+
}
|
|
268
|
+
// Global keypress watchers
|
|
269
|
+
handleKeyDown(event) {
|
|
270
|
+
// Ctrl + K or Cmd + K triggers console toggle
|
|
271
|
+
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {
|
|
272
|
+
event.preventDefault();
|
|
273
|
+
this.toggleOpen();
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
if (!this.isOpen())
|
|
277
|
+
return;
|
|
278
|
+
const flatList = this.flatResultsList();
|
|
279
|
+
if (flatList.length === 0) {
|
|
280
|
+
if (event.key === 'Escape') {
|
|
281
|
+
event.preventDefault();
|
|
282
|
+
this.closePalette();
|
|
283
|
+
}
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
const currentActive = this.activeItem();
|
|
287
|
+
let idx = currentActive ? flatList.findIndex(c => c.id === currentActive.id) : -1;
|
|
288
|
+
if (event.key === 'ArrowDown') {
|
|
289
|
+
event.preventDefault();
|
|
290
|
+
idx = (idx + 1) % flatList.length;
|
|
291
|
+
this.activeItem.set(flatList[idx]);
|
|
292
|
+
}
|
|
293
|
+
else if (event.key === 'ArrowUp') {
|
|
294
|
+
event.preventDefault();
|
|
295
|
+
idx = (idx - 1 + flatList.length) % flatList.length;
|
|
296
|
+
this.activeItem.set(flatList[idx]);
|
|
297
|
+
}
|
|
298
|
+
else if (event.key === 'Enter') {
|
|
299
|
+
event.preventDefault();
|
|
300
|
+
if (currentActive) {
|
|
301
|
+
this.executeCommand(currentActive);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
else if (event.key === 'Escape') {
|
|
305
|
+
event.preventDefault();
|
|
306
|
+
this.closePalette();
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
310
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: CommandPaletteComponent, isStandalone: true, selector: "ngx-command-palette", inputs: { commands: { classPropertyName: "commands", publicName: "commands", isSignal: true, isRequired: true, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { commandSelected: "commandSelected" }, host: { listeners: { "document:keydown": "handleKeyDown($event)" } }, viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }], ngImport: i0, template: `
|
|
311
|
+
<!-- Global Overlay Backdrop -->
|
|
312
|
+
@if (isOpen()) {
|
|
313
|
+
<div class="ngx-palette-overlay" (click)="closePalette()">
|
|
314
|
+
<div
|
|
315
|
+
class="ngx-palette-modal"
|
|
316
|
+
(click)="$event.stopPropagation()"
|
|
317
|
+
>
|
|
318
|
+
<!-- Search Header input console -->
|
|
319
|
+
<div class="ngx-palette-header">
|
|
320
|
+
<span class="search-icon">🔍</span>
|
|
321
|
+
<input
|
|
322
|
+
#searchInput
|
|
323
|
+
type="text"
|
|
324
|
+
class="palette-input"
|
|
325
|
+
[placeholder]="placeholder()"
|
|
326
|
+
[value]="filterQuery()"
|
|
327
|
+
(input)="onSearchInput($event)"
|
|
328
|
+
/>
|
|
329
|
+
<span class="esc-badge">ESC</span>
|
|
330
|
+
</div>
|
|
331
|
+
|
|
332
|
+
<!-- Command results feed -->
|
|
333
|
+
<div class="ngx-palette-results">
|
|
334
|
+
@if (groupedResults().length === 0) {
|
|
335
|
+
<div class="empty-state">No matching commands found.</div>
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@for (group of groupedResults(); track group.category) {
|
|
339
|
+
<div class="category-group">
|
|
340
|
+
@if (group.category) {
|
|
341
|
+
<div class="category-header">{{ group.category }}</div>
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
@for (cmd of group.items; track cmd.id) {
|
|
345
|
+
<div
|
|
346
|
+
class="command-row"
|
|
347
|
+
[class.active]="activeItem()?.id === cmd.id"
|
|
348
|
+
(mouseenter)="activeItem.set(cmd)"
|
|
349
|
+
(click)="executeCommand(cmd)"
|
|
350
|
+
>
|
|
351
|
+
<div class="command-start">
|
|
352
|
+
@if (cmd.icon) {
|
|
353
|
+
<span class="command-icon">{{ cmd.icon }}</span>
|
|
354
|
+
}
|
|
355
|
+
<div class="command-details">
|
|
356
|
+
<span class="command-label">{{ cmd.label }}</span>
|
|
357
|
+
@if (cmd.desc) {
|
|
358
|
+
<span class="command-desc">{{ cmd.desc }}</span>
|
|
359
|
+
}
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
@if (cmd.shortcut) {
|
|
364
|
+
<span class="command-shortcut">{{ cmd.shortcut }}</span>
|
|
365
|
+
}
|
|
366
|
+
</div>
|
|
367
|
+
}
|
|
368
|
+
</div>
|
|
369
|
+
}
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<!-- Console Footer help actions -->
|
|
373
|
+
<div class="ngx-palette-footer">
|
|
374
|
+
<div class="help-item"><span>↑↓</span> Navigate</div>
|
|
375
|
+
<div class="help-item"><span>↵</span> Select</div>
|
|
376
|
+
<div class="help-item"><span>Ctrl + K</span> Toggle Console</div>
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
</div>
|
|
380
|
+
}
|
|
381
|
+
`, isInline: true, styles: [".ngx-palette-overlay{position:fixed;inset:0;background:#0c132473;backdrop-filter:blur(8px);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:15vh;animation:fade-in .18s cubic-bezier(.4,0,.2,1)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.ngx-palette-modal{width:100%;max-width:600px;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #e2e8f0);border-radius:12px;box-shadow:0 20px 25px -5px #0003,0 10px 10px -5px #0000001a;display:flex;flex-direction:column;overflow:hidden;font-family:inherit;animation:scale-up .18s cubic-bezier(.34,1.56,.64,1)}@keyframes scale-up{0%{transform:scale(.95) translateY(-10px)}to{transform:scale(1) translateY(0)}}.ngx-palette-header{display:flex;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border-color, #e2e8f0);gap:12px}.search-icon{font-size:16px;color:var(--text-secondary, #64748b)}.palette-input{flex:1;border:none;background:transparent;outline:none;font-size:14px;color:var(--text-primary, #0f172a);font-family:inherit}.palette-input::placeholder{color:var(--text-secondary, #64748b);opacity:.8}.esc-badge{font-size:10px;font-weight:700;color:var(--text-secondary, #64748b);background:var(--border-light, #f1f5f9);padding:3px 6px;border-radius:4px;border:1px solid var(--border-color, #e2e8f0);box-shadow:var(--shadow-sm)}.ngx-palette-results{max-height:320px;overflow-y:auto;padding:8px 0}.empty-state{padding:24px;text-align:center;color:var(--text-secondary, #64748b);font-size:13px;font-style:italic}.category-group{display:flex;flex-direction:column}.category-header{padding:8px 18px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.8px;color:var(--text-secondary, #64748b);opacity:.85}.command-row{padding:10px 18px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .12s ease;gap:16px}.command-row.active{background:var(--primary-glow, rgba(79, 70, 229, .08))}.command-start{display:flex;align-items:center;gap:12px;min-width:0}.command-icon{font-size:16px;line-height:1}.command-details{display:flex;flex-direction:column;min-width:0}.command-label{font-size:13px;font-weight:600;color:var(--text-primary, #0f172a)}.command-row.active .command-label{color:var(--primary-color, #4f46e5)}.command-desc{font-size:11px;color:var(--text-secondary, #64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-shortcut{font-size:10px;font-weight:600;color:var(--text-secondary, #64748b);background:var(--border-light, #f1f5f9);border:1px solid var(--border-color, #e2e8f0);padding:2px 6px;border-radius:4px;font-family:monospace}.ngx-palette-footer{display:flex;padding:12px 18px;background:var(--border-light, #f1f5f9);border-top:1px solid var(--border-color, #e2e8f0);gap:18px}.help-item{font-size:11px;font-weight:500;color:var(--text-secondary, #64748b);display:flex;align-items:center;gap:6px}.help-item span{background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #e2e8f0);padding:1px 4px;border-radius:3px;font-weight:700;font-size:9px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
382
|
+
}
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CommandPaletteComponent, decorators: [{
|
|
384
|
+
type: Component,
|
|
385
|
+
args: [{ selector: 'ngx-command-palette', standalone: true, imports: [CommonModule], template: `
|
|
386
|
+
<!-- Global Overlay Backdrop -->
|
|
387
|
+
@if (isOpen()) {
|
|
388
|
+
<div class="ngx-palette-overlay" (click)="closePalette()">
|
|
389
|
+
<div
|
|
390
|
+
class="ngx-palette-modal"
|
|
391
|
+
(click)="$event.stopPropagation()"
|
|
392
|
+
>
|
|
393
|
+
<!-- Search Header input console -->
|
|
394
|
+
<div class="ngx-palette-header">
|
|
395
|
+
<span class="search-icon">🔍</span>
|
|
396
|
+
<input
|
|
397
|
+
#searchInput
|
|
398
|
+
type="text"
|
|
399
|
+
class="palette-input"
|
|
400
|
+
[placeholder]="placeholder()"
|
|
401
|
+
[value]="filterQuery()"
|
|
402
|
+
(input)="onSearchInput($event)"
|
|
403
|
+
/>
|
|
404
|
+
<span class="esc-badge">ESC</span>
|
|
405
|
+
</div>
|
|
406
|
+
|
|
407
|
+
<!-- Command results feed -->
|
|
408
|
+
<div class="ngx-palette-results">
|
|
409
|
+
@if (groupedResults().length === 0) {
|
|
410
|
+
<div class="empty-state">No matching commands found.</div>
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
@for (group of groupedResults(); track group.category) {
|
|
414
|
+
<div class="category-group">
|
|
415
|
+
@if (group.category) {
|
|
416
|
+
<div class="category-header">{{ group.category }}</div>
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
@for (cmd of group.items; track cmd.id) {
|
|
420
|
+
<div
|
|
421
|
+
class="command-row"
|
|
422
|
+
[class.active]="activeItem()?.id === cmd.id"
|
|
423
|
+
(mouseenter)="activeItem.set(cmd)"
|
|
424
|
+
(click)="executeCommand(cmd)"
|
|
425
|
+
>
|
|
426
|
+
<div class="command-start">
|
|
427
|
+
@if (cmd.icon) {
|
|
428
|
+
<span class="command-icon">{{ cmd.icon }}</span>
|
|
429
|
+
}
|
|
430
|
+
<div class="command-details">
|
|
431
|
+
<span class="command-label">{{ cmd.label }}</span>
|
|
432
|
+
@if (cmd.desc) {
|
|
433
|
+
<span class="command-desc">{{ cmd.desc }}</span>
|
|
434
|
+
}
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
|
|
438
|
+
@if (cmd.shortcut) {
|
|
439
|
+
<span class="command-shortcut">{{ cmd.shortcut }}</span>
|
|
440
|
+
}
|
|
441
|
+
</div>
|
|
442
|
+
}
|
|
443
|
+
</div>
|
|
444
|
+
}
|
|
445
|
+
</div>
|
|
446
|
+
|
|
447
|
+
<!-- Console Footer help actions -->
|
|
448
|
+
<div class="ngx-palette-footer">
|
|
449
|
+
<div class="help-item"><span>↑↓</span> Navigate</div>
|
|
450
|
+
<div class="help-item"><span>↵</span> Select</div>
|
|
451
|
+
<div class="help-item"><span>Ctrl + K</span> Toggle Console</div>
|
|
452
|
+
</div>
|
|
453
|
+
</div>
|
|
454
|
+
</div>
|
|
455
|
+
}
|
|
456
|
+
`, styles: [".ngx-palette-overlay{position:fixed;inset:0;background:#0c132473;backdrop-filter:blur(8px);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:15vh;animation:fade-in .18s cubic-bezier(.4,0,.2,1)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.ngx-palette-modal{width:100%;max-width:600px;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #e2e8f0);border-radius:12px;box-shadow:0 20px 25px -5px #0003,0 10px 10px -5px #0000001a;display:flex;flex-direction:column;overflow:hidden;font-family:inherit;animation:scale-up .18s cubic-bezier(.34,1.56,.64,1)}@keyframes scale-up{0%{transform:scale(.95) translateY(-10px)}to{transform:scale(1) translateY(0)}}.ngx-palette-header{display:flex;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border-color, #e2e8f0);gap:12px}.search-icon{font-size:16px;color:var(--text-secondary, #64748b)}.palette-input{flex:1;border:none;background:transparent;outline:none;font-size:14px;color:var(--text-primary, #0f172a);font-family:inherit}.palette-input::placeholder{color:var(--text-secondary, #64748b);opacity:.8}.esc-badge{font-size:10px;font-weight:700;color:var(--text-secondary, #64748b);background:var(--border-light, #f1f5f9);padding:3px 6px;border-radius:4px;border:1px solid var(--border-color, #e2e8f0);box-shadow:var(--shadow-sm)}.ngx-palette-results{max-height:320px;overflow-y:auto;padding:8px 0}.empty-state{padding:24px;text-align:center;color:var(--text-secondary, #64748b);font-size:13px;font-style:italic}.category-group{display:flex;flex-direction:column}.category-header{padding:8px 18px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.8px;color:var(--text-secondary, #64748b);opacity:.85}.command-row{padding:10px 18px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .12s ease;gap:16px}.command-row.active{background:var(--primary-glow, rgba(79, 70, 229, .08))}.command-start{display:flex;align-items:center;gap:12px;min-width:0}.command-icon{font-size:16px;line-height:1}.command-details{display:flex;flex-direction:column;min-width:0}.command-label{font-size:13px;font-weight:600;color:var(--text-primary, #0f172a)}.command-row.active .command-label{color:var(--primary-color, #4f46e5)}.command-desc{font-size:11px;color:var(--text-secondary, #64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-shortcut{font-size:10px;font-weight:600;color:var(--text-secondary, #64748b);background:var(--border-light, #f1f5f9);border:1px solid var(--border-color, #e2e8f0);padding:2px 6px;border-radius:4px;font-family:monospace}.ngx-palette-footer{display:flex;padding:12px 18px;background:var(--border-light, #f1f5f9);border-top:1px solid var(--border-color, #e2e8f0);gap:18px}.help-item{font-size:11px;font-weight:500;color:var(--text-secondary, #64748b);display:flex;align-items:center;gap:6px}.help-item span{background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #e2e8f0);padding:1px 4px;border-radius:3px;font-weight:700;font-size:9px}\n"] }]
|
|
457
|
+
}], ctorParameters: () => [], propDecorators: { searchInput: [{
|
|
458
|
+
type: ViewChild,
|
|
459
|
+
args: ['searchInput']
|
|
460
|
+
}], handleKeyDown: [{
|
|
461
|
+
type: HostListener,
|
|
462
|
+
args: ['document:keydown', ['$event']]
|
|
463
|
+
}] } });
|
|
464
|
+
|
|
185
465
|
/*
|
|
186
466
|
* Public API Surface — secondary entry point: ngx-core-components/navigation
|
|
187
467
|
*/
|
|
@@ -190,5 +470,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
190
470
|
* Generated bundle index. Do not edit.
|
|
191
471
|
*/
|
|
192
472
|
|
|
193
|
-
export { BreadcrumbComponent, MenuComponent };
|
|
473
|
+
export { BreadcrumbComponent, CommandPaletteComponent, MenuComponent };
|
|
194
474
|
//# sourceMappingURL=ngx-core-components-navigation.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-core-components-navigation.mjs","sources":["../../../projects/ngx-core-components/navigation/breadcrumb/breadcrumb.component.ts","../../../projects/ngx-core-components/navigation/menu/menu.component.ts","../../../projects/ngx-core-components/navigation/public-api.ts","../../../projects/ngx-core-components/navigation/ngx-core-components-navigation.ts"],"sourcesContent":["import { Component, input, output } from '@angular/core';\n\nexport interface BreadcrumbItem {\n label: string;\n url?: string;\n icon?: string;\n}\n\n@Component({\n selector: 'ngx-breadcrumb',\n standalone: true,\n template: `\n <nav class=\"ngx-breadcrumb\" aria-label=\"breadcrumb\">\n @for (item of items(); track item.label; let i = $index; let last = $last) {\n @if (i > 0) { <span class=\"breadcrumb-separator\" aria-hidden=\"true\">{{ separator() }}</span> }\n @if (last) {\n <span class=\"breadcrumb-item active\" aria-current=\"page\">\n @if (item.icon) { <span class=\"breadcrumb-icon\">{{ item.icon }}</span> }\n {{ item.label }}\n </span>\n } @else if (item.url) {\n <a class=\"breadcrumb-item\" [href]=\"item.url\" (click)=\"onNav($event, item)\">\n @if (item.icon) { <span class=\"breadcrumb-icon\">{{ item.icon }}</span> }\n {{ item.label }}\n </a>\n } @else {\n <button class=\"breadcrumb-item breadcrumb-btn\" (click)=\"itemClick.emit(item)\">\n @if (item.icon) { <span class=\"breadcrumb-icon\">{{ item.icon }}</span> }\n {{ item.label }}\n </button>\n }\n }\n </nav>\n `,\n styles: [`\n :host { display: block; }\n .ngx-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; }\n .breadcrumb-separator { color: var(--ngx-breadcrumb-separator, #adb5bd); padding: 0 2px; }\n .breadcrumb-item { display: inline-flex; align-items: center; gap: 4px; color: var(--ngx-breadcrumb-link, #1a73e8); text-decoration: none; transition: color 0.15s; }\n .breadcrumb-item:hover:not(.active) { text-decoration: underline; color: var(--ngx-breadcrumb-link-hover, #1557b0); }\n .breadcrumb-item.active { color: var(--ngx-breadcrumb-active, #495057); cursor: default; font-weight: 500; }\n .breadcrumb-btn { background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; padding: 0; }\n .breadcrumb-icon { font-size: 14px; }\n `]\n})\nexport class BreadcrumbComponent {\n items = input<BreadcrumbItem[]>([]);\n separator = input('/');\n itemClick = output<BreadcrumbItem>();\n\n onNav(event: MouseEvent, item: BreadcrumbItem): void { event.preventDefault(); this.itemClick.emit(item); }\n}\n","import { Component, input, output, signal, HostListener, computed } from '@angular/core';\n\nexport interface MenuItem {\n\tlabel?: string;\n\ticon?: string;\n\turl?: string;\n\tdisabled?: boolean;\n\tseparator?: boolean;\n\tchildren?: MenuItem[];\n}\n\n@Component({\n\tselector: 'ngx-menu',\n\tstandalone: true,\n\ttemplate: `\n\t\t<nav class=\"ngx-menu\" [class.menu-vertical]=\"orientation() === 'vertical'\" role=\"menubar\">\n\t\t\t@for (item of items(); track $index; let i = $index) {\n\t\t\t\t@if (item.separator) {\n\t\t\t\t\t<hr class=\"menu-separator\" />\n\t\t\t\t} @else {\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass=\"menu-item\"\n\t\t\t\t\t\t[class.has-children]=\"item.children && item.children.length > 0\"\n\t\t\t\t\t\t[class.open]=\"openIndex() === i\"\n\t\t\t\t\t\t[class.disabled]=\"item.disabled\"\n\t\t\t\t\t\t[class.active]=\"isActiveItem(item)\"\n\t\t\t\t\t\trole=\"menuitem\"\n\t\t\t\t\t\t[attr.tabindex]=\"item.disabled ? -1 : 0\"\n\t\t\t\t\t\t(click)=\"handleClick($event, item, i)\"\n\t\t\t\t\t\t(keydown.enter)=\"handleClick($event, item, i)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (item.icon) { <span class=\"menu-icon\">{{ item.icon }}</span> }\n\t\t\t\t\t\t{{ item.label }}\n\t\t\t\t\t\t@if (item.children && item.children.length) {\n\t\t\t\t\t\t\t<span class=\"menu-arrow\">{{ orientation() === 'vertical' ? '›' : '▾' }}</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@if (item.children && item.children.length && openIndex() === i) {\n\t\t\t\t\t\t\t<div class=\"menu-submenu\" role=\"menu\">\n\t\t\t\t\t\t\t\t@for (child of item.children; track $index) {\n\t\t\t\t\t\t\t\t\t@if (child.separator) {\n\t\t\t\t\t\t\t\t\t\t<hr class=\"menu-separator\" />\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<div class=\"menu-subitem\" [class.disabled]=\"child.disabled\" [class.active]=\"isActiveItem(child)\" role=\"menuitem\" [attr.tabindex]=\"child.disabled ? -1 : 0\" (click)=\"handleSubClick($event, child)\">\n\t\t\t\t\t\t\t\t\t\t\t@if (child.icon) { <span class=\"menu-icon\">{{ child.icon }}</span> }\n\t\t\t\t\t\t\t\t\t\t\t{{ child.label }}\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t}\n\t\t</nav>\n\t`,\n\tstyles: [`\n\t\t:host { display: block; }\n\t\t.ngx-menu { display: flex; align-items: stretch; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: var(--ngx-menu-radius, 6px); overflow: visible; }\n\t\t.menu-vertical { flex-direction: column; }\n\t\t.menu-item { position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--ngx-menu-color, #212529); transition: background 0.12s; white-space: nowrap; user-select: none; }\n\t\t.menu-item:hover:not(.disabled), .menu-item.open { background: var(--ngx-menu-hover-bg, #f1f3f5); color: var(--ngx-menu-active-color, #1a73e8); }\n\t\t.menu-item.disabled { opacity: 0.5; cursor: not-allowed; }\n\t\t.menu-icon { font-size: 15px; flex-shrink: 0; }\n\t\t.menu-arrow { margin-left: auto; padding-left: 8px; font-size: 11px; }\n\t\t.menu-separator { border: none; border-top: 1px solid var(--ngx-menu-separator, #dee2e6); margin: 4px 0; }\n\t\t.menu-submenu { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,0.12); z-index: 1000; }\n\t\t.menu-vertical .menu-submenu { top: 0; left: 100%; }\n\t\t.menu-subitem { display: flex; align-items: center; gap: 7px; padding: 8px 16px; font-size: 13px; cursor: pointer; color: var(--ngx-menu-color, #212529); transition: background 0.12s; white-space: nowrap; }\n\t\t.menu-subitem:hover:not(.disabled) { background: var(--ngx-menu-hover-bg, #f1f3f5); color: var(--ngx-menu-active-color, #1a73e8); }\n\t\t.menu-item.active, .menu-subitem.active { background: var(--ngx-menu-active-bg, #e8f0fe); color: var(--ngx-menu-active-color, #1a73e8); font-weight: 600; }\n\t`]\n})\nexport class MenuComponent {\n\titems = input<MenuItem[]>([]);\n\torientation = input<'horizontal' | 'vertical'>('horizontal');\n\t/** Label or URL of the currently active item — used to highlight the active menu entry. */\n\tactiveItem = input<string>('');\n\topenIndex = signal<number | null>(null);\n\titemClick = output<MenuItem>();\n\n\tisActiveItem(item: MenuItem): boolean {\n\t\tconst active = this.activeItem();\n\t\tif (!active) return false;\n\t\treturn item.label === active || item.url === active;\n\t}\n\n\thandleClick(event: Event, item: MenuItem, i: number): void {\n\t\tif (item.disabled) return;\n\t\tevent.stopPropagation();\n\t\tif (item.children && item.children.length) { this.openIndex.set(this.openIndex() === i ? null : i); }\n\t\telse { this.itemClick.emit(item); this.openIndex.set(null); }\n\t}\n\n\thandleSubClick(event: Event, child: MenuItem): void {\n\t\tif (child.disabled) return;\n\t\tevent.stopPropagation();\n\t\tthis.itemClick.emit(child);\n\t\tthis.openIndex.set(null);\n\t}\n\n\t@HostListener('document:click')\n\tcloseAll(): void { this.openIndex.set(null); }\n}\n","/*\n * Public API Surface — secondary entry point: ngx-core-components/navigation\n */\n\nexport { BreadcrumbComponent } from './breadcrumb/breadcrumb.component';\nexport type { BreadcrumbItem } from './breadcrumb/breadcrumb.component';\n\nexport { MenuComponent } from './menu/menu.component';\nexport type { MenuItem } from './menu/menu.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MA6Ca,mBAAmB,CAAA;AAC9B,IAAA,KAAK,GAAG,KAAK,CAAmB,EAAE,CAAC;AACnC,IAAA,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC;IACtB,SAAS,GAAG,MAAM,EAAkB;IAEpC,KAAK,CAAC,KAAiB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,gBAAgB;;;ACpG/B;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-core-components-navigation.mjs","sources":["../../../projects/ngx-core-components/navigation/breadcrumb/breadcrumb.component.ts","../../../projects/ngx-core-components/navigation/menu/menu.component.ts","../../../projects/ngx-core-components/navigation/command-palette/command-palette.component.ts","../../../projects/ngx-core-components/navigation/public-api.ts","../../../projects/ngx-core-components/navigation/ngx-core-components-navigation.ts"],"sourcesContent":["import { Component, input, output } from '@angular/core';\n\nexport interface BreadcrumbItem {\n label: string;\n url?: string;\n icon?: string;\n}\n\n@Component({\n selector: 'ngx-breadcrumb',\n standalone: true,\n template: `\n <nav class=\"ngx-breadcrumb\" aria-label=\"breadcrumb\">\n @for (item of items(); track item.label; let i = $index; let last = $last) {\n @if (i > 0) { <span class=\"breadcrumb-separator\" aria-hidden=\"true\">{{ separator() }}</span> }\n @if (last) {\n <span class=\"breadcrumb-item active\" aria-current=\"page\">\n @if (item.icon) { <span class=\"breadcrumb-icon\">{{ item.icon }}</span> }\n {{ item.label }}\n </span>\n } @else if (item.url) {\n <a class=\"breadcrumb-item\" [href]=\"item.url\" (click)=\"onNav($event, item)\">\n @if (item.icon) { <span class=\"breadcrumb-icon\">{{ item.icon }}</span> }\n {{ item.label }}\n </a>\n } @else {\n <button class=\"breadcrumb-item breadcrumb-btn\" (click)=\"itemClick.emit(item)\">\n @if (item.icon) { <span class=\"breadcrumb-icon\">{{ item.icon }}</span> }\n {{ item.label }}\n </button>\n }\n }\n </nav>\n `,\n styles: [`\n :host { display: block; }\n .ngx-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; }\n .breadcrumb-separator { color: var(--ngx-breadcrumb-separator, #adb5bd); padding: 0 2px; }\n .breadcrumb-item { display: inline-flex; align-items: center; gap: 4px; color: var(--ngx-breadcrumb-link, #1a73e8); text-decoration: none; transition: color 0.15s; }\n .breadcrumb-item:hover:not(.active) { text-decoration: underline; color: var(--ngx-breadcrumb-link-hover, #1557b0); }\n .breadcrumb-item.active { color: var(--ngx-breadcrumb-active, #495057); cursor: default; font-weight: 500; }\n .breadcrumb-btn { background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; padding: 0; }\n .breadcrumb-icon { font-size: 14px; }\n `]\n})\nexport class BreadcrumbComponent {\n items = input<BreadcrumbItem[]>([]);\n separator = input('/');\n itemClick = output<BreadcrumbItem>();\n\n onNav(event: MouseEvent, item: BreadcrumbItem): void { event.preventDefault(); this.itemClick.emit(item); }\n}\n","import { Component, input, output, signal, HostListener, computed } from '@angular/core';\n\nexport interface MenuItem {\n\tlabel?: string;\n\ticon?: string;\n\turl?: string;\n\tdisabled?: boolean;\n\tseparator?: boolean;\n\tchildren?: MenuItem[];\n}\n\n@Component({\n\tselector: 'ngx-menu',\n\tstandalone: true,\n\ttemplate: `\n\t\t<nav class=\"ngx-menu\" [class.menu-vertical]=\"orientation() === 'vertical'\" role=\"menubar\">\n\t\t\t@for (item of items(); track $index; let i = $index) {\n\t\t\t\t@if (item.separator) {\n\t\t\t\t\t<hr class=\"menu-separator\" />\n\t\t\t\t} @else {\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass=\"menu-item\"\n\t\t\t\t\t\t[class.has-children]=\"item.children && item.children.length > 0\"\n\t\t\t\t\t\t[class.open]=\"openIndex() === i\"\n\t\t\t\t\t\t[class.disabled]=\"item.disabled\"\n\t\t\t\t\t\t[class.active]=\"isActiveItem(item)\"\n\t\t\t\t\t\trole=\"menuitem\"\n\t\t\t\t\t\t[attr.tabindex]=\"item.disabled ? -1 : 0\"\n\t\t\t\t\t\t(click)=\"handleClick($event, item, i)\"\n\t\t\t\t\t\t(keydown.enter)=\"handleClick($event, item, i)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (item.icon) { <span class=\"menu-icon\">{{ item.icon }}</span> }\n\t\t\t\t\t\t{{ item.label }}\n\t\t\t\t\t\t@if (item.children && item.children.length) {\n\t\t\t\t\t\t\t<span class=\"menu-arrow\">{{ orientation() === 'vertical' ? '›' : '▾' }}</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@if (item.children && item.children.length && openIndex() === i) {\n\t\t\t\t\t\t\t<div class=\"menu-submenu\" role=\"menu\">\n\t\t\t\t\t\t\t\t@for (child of item.children; track $index) {\n\t\t\t\t\t\t\t\t\t@if (child.separator) {\n\t\t\t\t\t\t\t\t\t\t<hr class=\"menu-separator\" />\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<div class=\"menu-subitem\" [class.disabled]=\"child.disabled\" [class.active]=\"isActiveItem(child)\" role=\"menuitem\" [attr.tabindex]=\"child.disabled ? -1 : 0\" (click)=\"handleSubClick($event, child)\">\n\t\t\t\t\t\t\t\t\t\t\t@if (child.icon) { <span class=\"menu-icon\">{{ child.icon }}</span> }\n\t\t\t\t\t\t\t\t\t\t\t{{ child.label }}\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t}\n\t\t</nav>\n\t`,\n\tstyles: [`\n\t\t:host { display: block; }\n\t\t.ngx-menu { display: flex; align-items: stretch; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: var(--ngx-menu-radius, 6px); overflow: visible; }\n\t\t.menu-vertical { flex-direction: column; }\n\t\t.menu-item { position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--ngx-menu-color, #212529); transition: background 0.12s; white-space: nowrap; user-select: none; }\n\t\t.menu-item:hover:not(.disabled), .menu-item.open { background: var(--ngx-menu-hover-bg, #f1f3f5); color: var(--ngx-menu-active-color, #1a73e8); }\n\t\t.menu-item.disabled { opacity: 0.5; cursor: not-allowed; }\n\t\t.menu-icon { font-size: 15px; flex-shrink: 0; }\n\t\t.menu-arrow { margin-left: auto; padding-left: 8px; font-size: 11px; }\n\t\t.menu-separator { border: none; border-top: 1px solid var(--ngx-menu-separator, #dee2e6); margin: 4px 0; }\n\t\t.menu-submenu { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,0.12); z-index: 1000; }\n\t\t.menu-vertical .menu-submenu { top: 0; left: 100%; }\n\t\t.menu-subitem { display: flex; align-items: center; gap: 7px; padding: 8px 16px; font-size: 13px; cursor: pointer; color: var(--ngx-menu-color, #212529); transition: background 0.12s; white-space: nowrap; }\n\t\t.menu-subitem:hover:not(.disabled) { background: var(--ngx-menu-hover-bg, #f1f3f5); color: var(--ngx-menu-active-color, #1a73e8); }\n\t\t.menu-item.active, .menu-subitem.active { background: var(--ngx-menu-active-bg, #e8f0fe); color: var(--ngx-menu-active-color, #1a73e8); font-weight: 600; }\n\t`]\n})\nexport class MenuComponent {\n\titems = input<MenuItem[]>([]);\n\torientation = input<'horizontal' | 'vertical'>('horizontal');\n\t/** Label or URL of the currently active item — used to highlight the active menu entry. */\n\tactiveItem = input<string>('');\n\topenIndex = signal<number | null>(null);\n\titemClick = output<MenuItem>();\n\n\tisActiveItem(item: MenuItem): boolean {\n\t\tconst active = this.activeItem();\n\t\tif (!active) return false;\n\t\treturn item.label === active || item.url === active;\n\t}\n\n\thandleClick(event: Event, item: MenuItem, i: number): void {\n\t\tif (item.disabled) return;\n\t\tevent.stopPropagation();\n\t\tif (item.children && item.children.length) { this.openIndex.set(this.openIndex() === i ? null : i); }\n\t\telse { this.itemClick.emit(item); this.openIndex.set(null); }\n\t}\n\n\thandleSubClick(event: Event, child: MenuItem): void {\n\t\tif (child.disabled) return;\n\t\tevent.stopPropagation();\n\t\tthis.itemClick.emit(child);\n\t\tthis.openIndex.set(null);\n\t}\n\n\t@HostListener('document:click')\n\tcloseAll(): void { this.openIndex.set(null); }\n}\n","import { Component, input, signal, computed, HostListener, output, effect, ElementRef, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nexport interface CommandItem {\n id: string;\n label: string;\n desc?: string;\n shortcut?: string;\n icon?: string;\n category?: string;\n}\n\n@Component({\n selector: 'ngx-command-palette',\n standalone: true,\n imports: [CommonModule],\n template: `\n <!-- Global Overlay Backdrop -->\n @if (isOpen()) {\n <div class=\"ngx-palette-overlay\" (click)=\"closePalette()\">\n <div\n class=\"ngx-palette-modal\"\n (click)=\"$event.stopPropagation()\"\n >\n <!-- Search Header input console -->\n <div class=\"ngx-palette-header\">\n <span class=\"search-icon\">🔍</span>\n <input\n #searchInput\n type=\"text\"\n class=\"palette-input\"\n [placeholder]=\"placeholder()\"\n [value]=\"filterQuery()\"\n (input)=\"onSearchInput($event)\"\n />\n <span class=\"esc-badge\">ESC</span>\n </div>\n\n <!-- Command results feed -->\n <div class=\"ngx-palette-results\">\n @if (groupedResults().length === 0) {\n <div class=\"empty-state\">No matching commands found.</div>\n }\n\n @for (group of groupedResults(); track group.category) {\n <div class=\"category-group\">\n @if (group.category) {\n <div class=\"category-header\">{{ group.category }}</div>\n }\n\n @for (cmd of group.items; track cmd.id) {\n <div\n class=\"command-row\"\n [class.active]=\"activeItem()?.id === cmd.id\"\n (mouseenter)=\"activeItem.set(cmd)\"\n (click)=\"executeCommand(cmd)\"\n >\n <div class=\"command-start\">\n @if (cmd.icon) {\n <span class=\"command-icon\">{{ cmd.icon }}</span>\n }\n <div class=\"command-details\">\n <span class=\"command-label\">{{ cmd.label }}</span>\n @if (cmd.desc) {\n <span class=\"command-desc\">{{ cmd.desc }}</span>\n }\n </div>\n </div>\n\n @if (cmd.shortcut) {\n <span class=\"command-shortcut\">{{ cmd.shortcut }}</span>\n }\n </div>\n }\n </div>\n }\n </div>\n\n <!-- Console Footer help actions -->\n <div class=\"ngx-palette-footer\">\n <div class=\"help-item\"><span>↑↓</span> Navigate</div>\n <div class=\"help-item\"><span>↵</span> Select</div>\n <div class=\"help-item\"><span>Ctrl + K</span> Toggle Console</div>\n </div>\n </div>\n </div>\n }\n `,\n styles: [`\n .ngx-palette-overlay {\n position: fixed;\n inset: 0;\n background: rgba(12, 19, 36, 0.45);\n backdrop-filter: blur(8px);\n z-index: 9999;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n padding-top: 15vh;\n animation: fade-in 0.18s cubic-bezier(0.4, 0, 0.2, 1);\n }\n\n @keyframes fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n\n /* Palette Modal container box */\n .ngx-palette-modal {\n width: 100%;\n max-width: 600px;\n background: var(--bg-secondary, #ffffff);\n border: 1px solid var(--border-color, #e2e8f0);\n border-radius: 12px;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);\n display: flex;\n flex-direction: column;\n overflow: hidden;\n font-family: inherit;\n animation: scale-up 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);\n }\n\n @keyframes scale-up {\n from { transform: scale(0.95) translateY(-10px); }\n to { transform: scale(1) translateY(0); }\n }\n\n /* Search Header console input */\n .ngx-palette-header {\n display: flex;\n align-items: center;\n padding: 14px 18px;\n border-bottom: 1px solid var(--border-color, #e2e8f0);\n gap: 12px;\n }\n .search-icon {\n font-size: 16px;\n color: var(--text-secondary, #64748b);\n }\n .palette-input {\n flex: 1;\n border: none;\n background: transparent;\n outline: none;\n font-size: 14px;\n color: var(--text-primary, #0f172a);\n font-family: inherit;\n }\n .palette-input::placeholder {\n color: var(--text-secondary, #64748b);\n opacity: 0.8;\n }\n .esc-badge {\n font-size: 10px;\n font-weight: 700;\n color: var(--text-secondary, #64748b);\n background: var(--border-light, #f1f5f9);\n padding: 3px 6px;\n border-radius: 4px;\n border: 1px solid var(--border-color, #e2e8f0);\n box-shadow: var(--shadow-sm);\n }\n\n /* Command Results List block */\n .ngx-palette-results {\n max-height: 320px;\n overflow-y: auto;\n padding: 8px 0;\n }\n\n .empty-state {\n padding: 24px;\n text-align: center;\n color: var(--text-secondary, #64748b);\n font-size: 13px;\n font-style: italic;\n }\n\n /* Category Group titles */\n .category-group {\n display: flex;\n flex-direction: column;\n }\n .category-header {\n padding: 8px 18px;\n font-size: 10px;\n font-weight: 800;\n text-transform: uppercase;\n letter-spacing: 0.8px;\n color: var(--text-secondary, #64748b);\n opacity: 0.85;\n }\n\n /* Single Command row items */\n .command-row {\n padding: 10px 18px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n transition: background-color 0.12s ease;\n gap: 16px;\n }\n .command-row.active {\n background: var(--primary-glow, rgba(79, 70, 229, 0.08));\n }\n \n .command-start {\n display: flex;\n align-items: center;\n gap: 12px;\n min-width: 0;\n }\n .command-icon {\n font-size: 16px;\n line-height: 1;\n }\n .command-details {\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n .command-label {\n font-size: 13px;\n font-weight: 600;\n color: var(--text-primary, #0f172a);\n }\n .command-row.active .command-label {\n color: var(--primary-color, #4f46e5);\n }\n .command-desc {\n font-size: 11px;\n color: var(--text-secondary, #64748b);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n \n /* Shortcut keycaps style */\n .command-shortcut {\n font-size: 10px;\n font-weight: 600;\n color: var(--text-secondary, #64748b);\n background: var(--border-light, #f1f5f9);\n border: 1px solid var(--border-color, #e2e8f0);\n padding: 2px 6px;\n border-radius: 4px;\n font-family: monospace;\n }\n\n /* Footer help commands guides */\n .ngx-palette-footer {\n display: flex;\n padding: 12px 18px;\n background: var(--border-light, #f1f5f9);\n border-top: 1px solid var(--border-color, #e2e8f0);\n gap: 18px;\n }\n .help-item {\n font-size: 11px;\n font-weight: 500;\n color: var(--text-secondary, #64748b);\n display: flex;\n align-items: center;\n gap: 6px;\n }\n .help-item span {\n background: var(--bg-secondary, #ffffff);\n border: 1px solid var(--border-color, #e2e8f0);\n padding: 1px 4px;\n border-radius: 3px;\n font-weight: 700;\n font-size: 9px;\n }\n `]\n})\nexport class CommandPaletteComponent {\n // Inputs configs\n commands = input.required<CommandItem[]>();\n placeholder = input<string>('Type a command or search...');\n\n // Output emissions\n commandSelected = output<CommandItem>();\n\n @ViewChild('searchInput') searchInput!: ElementRef<HTMLInputElement>;\n\n // Open status logic\n isOpen = signal<boolean>(false);\n filterQuery = signal<string>('');\n\n // Currently focused item in keyboard selection\n activeItem = signal<CommandItem | null>(null);\n\n // Reactive effect to focus the search input field upon dialog opens\n constructor() {\n effect(() => {\n if (this.isOpen()) {\n setTimeout(() => {\n this.searchInput?.nativeElement?.focus();\n }, 50);\n }\n });\n }\n\n // Filter commands by search query\n filteredCommands = computed(() => {\n const query = this.filterQuery().toLowerCase().trim();\n if (!query) return this.commands();\n\n return this.commands().filter(c =>\n c.label.toLowerCase().includes(query) ||\n (c.desc && c.desc.toLowerCase().includes(query)) ||\n (c.category && c.category.toLowerCase().includes(query))\n );\n });\n\n // Group commands by category computed signals\n groupedResults = computed(() => {\n const list = this.filteredCommands();\n const groups: { category: string; items: CommandItem[] }[] = [];\n\n list.forEach(item => {\n const cat = item.category || 'General';\n let grp = groups.find(g => g.category === cat);\n if (!grp) {\n grp = { category: cat, items: [] };\n groups.push(grp);\n }\n grp.items.push(item);\n });\n\n return groups;\n });\n\n // Flat list of current results for keyboard navigation indices mappings\n flatResultsList = computed(() => {\n const groups = this.groupedResults();\n const flat: CommandItem[] = [];\n groups.forEach(g => flat.push(...g.items));\n return flat;\n });\n\n // Watch key inputs reactive alignment\n onSearchInput(event: Event): void {\n const query = (event.target as HTMLInputElement).value;\n this.filterQuery.set(query);\n // Reset active item to first result in filtered list\n const results = this.flatResultsList();\n this.activeItem.set(results.length > 0 ? results[0] : null);\n }\n\n openPalette(): void {\n this.filterQuery.set('');\n const results = this.commands();\n this.activeItem.set(results.length > 0 ? results[0] : null);\n this.isOpen.set(true);\n }\n\n closePalette(): void {\n this.isOpen.set(false);\n }\n\n toggleOpen(): void {\n if (this.isOpen()) {\n this.closePalette();\n } else {\n this.openPalette();\n }\n }\n\n executeCommand(cmd: CommandItem): void {\n this.commandSelected.emit(cmd);\n this.closePalette();\n }\n\n // Global keypress watchers\n @HostListener('document:keydown', ['$event'])\n handleKeyDown(event: KeyboardEvent): void {\n // Ctrl + K or Cmd + K triggers console toggle\n if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {\n event.preventDefault();\n this.toggleOpen();\n return;\n }\n\n if (!this.isOpen()) return;\n\n const flatList = this.flatResultsList();\n if (flatList.length === 0) {\n if (event.key === 'Escape') {\n event.preventDefault();\n this.closePalette();\n }\n return;\n }\n\n const currentActive = this.activeItem();\n let idx = currentActive ? flatList.findIndex(c => c.id === currentActive.id) : -1;\n\n if (event.key === 'ArrowDown') {\n event.preventDefault();\n idx = (idx + 1) % flatList.length;\n this.activeItem.set(flatList[idx]);\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n idx = (idx - 1 + flatList.length) % flatList.length;\n this.activeItem.set(flatList[idx]);\n } else if (event.key === 'Enter') {\n event.preventDefault();\n if (currentActive) {\n this.executeCommand(currentActive);\n }\n } else if (event.key === 'Escape') {\n event.preventDefault();\n this.closePalette();\n }\n }\n}\n","/*\n * Public API Surface — secondary entry point: ngx-core-components/navigation\n */\n\nexport { BreadcrumbComponent } from './breadcrumb/breadcrumb.component';\nexport type { BreadcrumbItem } from './breadcrumb/breadcrumb.component';\n\nexport { MenuComponent } from './menu/menu.component';\nexport type { MenuItem } from './menu/menu.component';\n\nexport { CommandPaletteComponent } from './command-palette/command-palette.component';\nexport type { CommandItem } from './command-palette/command-palette.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA6Ca,mBAAmB,CAAA;AAC9B,IAAA,KAAK,GAAG,KAAK,CAAmB,EAAE,CAAC;AACnC,IAAA,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC;IACtB,SAAS,GAAG,MAAM,EAAkB;IAEpC,KAAK,CAA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