@dataengineeringformachinelearning/viking-ui 3.0.0-alpha.4 → 4.0.1
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 +6 -3
- package/dist/LICENSE +201 -0
- package/dist/README.md +251 -0
- package/dist/fesm2022/dataengineeringformachinelearning-viking-ui.mjs +13751 -0
- package/dist/fesm2022/dataengineeringformachinelearning-viking-ui.mjs.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -4051
- package/dist/package.json +87 -0
- package/dist/scripts/build-web-components.mjs +37 -0
- package/dist/src/tokens/series-presets.ts +15 -0
- package/dist/src/tokens/tailwind.preset.js +209 -0
- package/dist/src/tokens/viking-tokens.json +318 -0
- package/dist/src/web/badge/viking-badge-wc.ts +116 -0
- package/dist/src/web/button/viking-button-wc.ts +165 -0
- package/dist/src/web/callout/viking-callout-wc.ts +105 -0
- package/dist/src/web/card/viking-card-wc.ts +66 -0
- package/dist/src/web/core/base.ts +56 -0
- package/dist/src/web/core/dom.ts +53 -0
- package/dist/src/web/core/icons-inline.ts +44 -0
- package/dist/src/web/core/styles.ts +1138 -0
- package/dist/src/web/core/types.ts +19 -0
- package/dist/src/web/field/viking-field-wc.ts +154 -0
- package/dist/src/web/index.ts +73 -0
- package/dist/src/web/input/viking-input-wc.ts +211 -0
- package/dist/src/web/modal/viking-modal-wc.ts +187 -0
- package/dist/src/web/search-palette/viking-search-palette-wc.ts +494 -0
- package/dist/src/web/select/viking-select-wc.ts +218 -0
- package/dist/src/web/suite-header/viking-suite-header-wc.ts +714 -0
- package/dist/src/web/suite-search-palette/viking-suite-search-palette-wc.ts +234 -0
- package/dist/src/web/theme-toggle/viking-theme-toggle-wc.ts +139 -0
- package/dist/src/web/types.ts +37 -0
- package/dist/src/web/web-components.spec.ts +297 -0
- package/dist/types/dataengineeringformachinelearning-viking-ui.d.ts +2658 -0
- package/dist/viking.manifest.json +271 -0
- package/dist/web-components.js +2427 -126
- package/package.json +25 -11
- package/dist/core/brand-icons.d.ts +0 -29
- package/dist/core/icons.d.ts +0 -132
- package/dist/core/integration-brand-icons.d.ts +0 -18
- package/dist/core/lucide-paths.generated.d.ts +0 -90
- package/dist/core/types.d.ts +0 -56
- package/dist/core/uid.d.ts +0 -2
- package/dist/elements/button/viking-button.d.ts +0 -14
- package/dist/elements/card/viking-card.d.ts +0 -8
- package/dist/elements/core/dom.d.ts +0 -4
- package/dist/elements/core/styles.d.ts +0 -2
- package/dist/elements/modal/viking-modal.d.ts +0 -15
- package/dist/lib/accordion/accordion.d.ts +0 -19
- package/dist/lib/app-header/app-header.d.ts +0 -8
- package/dist/lib/app-sidebar/app-sidebar.d.ts +0 -10
- package/dist/lib/auth-panel/auth-panel.d.ts +0 -13
- package/dist/lib/autocomplete/autocomplete.d.ts +0 -25
- package/dist/lib/avatar/avatar.d.ts +0 -14
- package/dist/lib/badge/badge.d.ts +0 -16
- package/dist/lib/bar/bar.d.ts +0 -4
- package/dist/lib/brand/brand.d.ts +0 -8
- package/dist/lib/breadcrumbs/breadcrumbs.d.ts +0 -10
- package/dist/lib/button/button-group.d.ts +0 -6
- package/dist/lib/button/button.d.ts +0 -25
- package/dist/lib/calendar/calendar.d.ts +0 -22
- package/dist/lib/callout/callout.d.ts +0 -14
- package/dist/lib/card/card-title.d.ts +0 -12
- package/dist/lib/card/card.d.ts +0 -19
- package/dist/lib/carousel/carousel.d.ts +0 -13
- package/dist/lib/chart/chart-zoom.d.ts +0 -14
- package/dist/lib/chart/chart.d.ts +0 -119
- package/dist/lib/chart-card-header/chart-card-header.d.ts +0 -10
- package/dist/lib/chart-empty-state/chart-empty-state.d.ts +0 -13
- package/dist/lib/chart-panel/chart-panel.d.ts +0 -10
- package/dist/lib/checkbox/checkbox.d.ts +0 -13
- package/dist/lib/color-picker/color-picker.d.ts +0 -16
- package/dist/lib/command/command.d.ts +0 -23
- package/dist/lib/composer/composer.d.ts +0 -15
- package/dist/lib/confirm-dialog/confirm-dialog.d.ts +0 -18
- package/dist/lib/confirm-dialog/dialog.service.d.ts +0 -28
- package/dist/lib/context/context.d.ts +0 -17
- package/dist/lib/core/brand-icons.d.ts +0 -29
- package/dist/lib/core/cva.d.ts +0 -15
- package/dist/lib/core/icons.d.ts +0 -132
- package/dist/lib/core/integration-brand-icons.d.ts +0 -18
- package/dist/lib/core/lucide-paths.generated.d.ts +0 -90
- package/dist/lib/date-picker/date-picker.d.ts +0 -18
- package/dist/lib/dropdown/dropdown.d.ts +0 -29
- package/dist/lib/editor/editor.d.ts +0 -26
- package/dist/lib/empty-state/empty-state.d.ts +0 -9
- package/dist/lib/fab/fab.d.ts +0 -9
- package/dist/lib/field/field.d.ts +0 -14
- package/dist/lib/file-upload/file-upload.d.ts +0 -19
- package/dist/lib/footer/footer.d.ts +0 -6
- package/dist/lib/form-section/form-section.d.ts +0 -15
- package/dist/lib/gauge-arc/gauge-arc.d.ts +0 -8
- package/dist/lib/hud-panel/hud-panel.d.ts +0 -5
- package/dist/lib/icon/icon.d.ts +0 -44
- package/dist/lib/icon-badge/icon-badge.d.ts +0 -14
- package/dist/lib/icon-heading/icon-heading.d.ts +0 -9
- package/dist/lib/icon-text/icon-text.d.ts +0 -12
- package/dist/lib/input/input.d.ts +0 -23
- package/dist/lib/kanban/kanban.d.ts +0 -16
- package/dist/lib/kbd/kbd.d.ts +0 -5
- package/dist/lib/label/label.d.ts +0 -7
- package/dist/lib/loading-overlay/loading-overlay.d.ts +0 -10
- package/dist/lib/menubar/menubar.d.ts +0 -10
- package/dist/lib/metric-card/metric-card.d.ts +0 -9
- package/dist/lib/modal/modal.d.ts +0 -13
- package/dist/lib/native-select/native-select.d.ts +0 -17
- package/dist/lib/navbar/navbar.d.ts +0 -13
- package/dist/lib/navigation-menu/navigation-menu.d.ts +0 -13
- package/dist/lib/otp-input/otp-input.d.ts +0 -23
- package/dist/lib/page-back-link/page-back-link.d.ts +0 -11
- package/dist/lib/page-header/page-header.d.ts +0 -15
- package/dist/lib/pagination/pagination.d.ts +0 -10
- package/dist/lib/pillbox/pillbox.d.ts +0 -15
- package/dist/lib/popover/popover.d.ts +0 -15
- package/dist/lib/profile/profile.d.ts +0 -11
- package/dist/lib/progress/progress.d.ts +0 -12
- package/dist/lib/radio/radio.d.ts +0 -16
- package/dist/lib/ring-gauge/ring-gauge.d.ts +0 -8
- package/dist/lib/scroll-area/scroll-area.d.ts +0 -7
- package/dist/lib/search-palette/search-palette.d.ts +0 -16
- package/dist/lib/select/select.d.ts +0 -26
- package/dist/lib/separator/separator.d.ts +0 -8
- package/dist/lib/sheet/sheet.d.ts +0 -13
- package/dist/lib/sidebar-nav/sidebar-nav.d.ts +0 -46
- package/dist/lib/site-drakkar/site-drakkar.config.d.ts +0 -50
- package/dist/lib/site-drakkar/site-footer.d.ts +0 -18
- package/dist/lib/site-drakkar/site-navbar.d.ts +0 -25
- package/dist/lib/site-drakkar/suite-search-items.d.ts +0 -17
- package/dist/lib/skeleton/skeleton.d.ts +0 -8
- package/dist/lib/slider/slider.d.ts +0 -17
- package/dist/lib/spinner/spinner.d.ts +0 -7
- package/dist/lib/status-metric-row/status-metric-row.d.ts +0 -9
- package/dist/lib/suite-search-palette/suite-search-palette.d.ts +0 -25
- package/dist/lib/switch/switch.d.ts +0 -12
- package/dist/lib/table/table.d.ts +0 -10
- package/dist/lib/tabs/tab-panel.d.ts +0 -12
- package/dist/lib/tabs/tab.d.ts +0 -14
- package/dist/lib/tabs/tabs.d.ts +0 -10
- package/dist/lib/textarea/textarea.d.ts +0 -16
- package/dist/lib/theme-toggle/theme-toggle.d.ts +0 -9
- package/dist/lib/time-picker/time-picker.d.ts +0 -21
- package/dist/lib/timeline/timeline.d.ts +0 -14
- package/dist/lib/toast/toast.d.ts +0 -21
- package/dist/lib/toggle/toggle-group.d.ts +0 -9
- package/dist/lib/toggle/toggle.d.ts +0 -15
- package/dist/lib/tooltip/tooltip.d.ts +0 -20
- package/dist/lib/typography/heading.d.ts +0 -9
- package/dist/lib/typography/text.d.ts +0 -11
- package/dist/lib/uptime-bar/uptime-bar.d.ts +0 -6
- package/dist/lib/verification-code-field/verification-code-field.d.ts +0 -19
- package/dist/lib/whitepaper-cta/whitepaper-cta.d.ts +0 -15
- package/dist/lib/wizard/wizard.d.ts +0 -13
- package/dist/public-api.d.ts +0 -109
- package/dist/tokens/series-presets.d.ts +0 -4
- package/dist/web/badge/viking-badge-wc.d.ts +0 -28
- package/dist/web/button/viking-button-wc.d.ts +0 -28
- package/dist/web/callout/viking-callout-wc.d.ts +0 -27
- package/dist/web/card/viking-card-wc.d.ts +0 -29
- package/dist/web/core/base.d.ts +0 -12
- package/dist/web/core/dom.d.ts +0 -11
- package/dist/web/core/icons-inline.d.ts +0 -7
- package/dist/web/core/styles.d.ts +0 -12
- package/dist/web/core/types.d.ts +0 -10
- package/dist/web/field/viking-field-wc.d.ts +0 -32
- package/dist/web/index.d.ts +0 -15
- package/dist/web/input/viking-input-wc.d.ts +0 -32
- package/dist/web/modal/viking-modal-wc.d.ts +0 -50
- package/dist/web/search-palette/viking-search-palette-wc.d.ts +0 -64
- package/dist/web/select/viking-select-wc.d.ts +0 -48
- package/dist/web/suite-header/viking-suite-header-wc.d.ts +0 -36
- package/dist/web/suite-search-palette/viking-suite-search-palette-wc.d.ts +0 -39
- package/dist/web/theme-toggle/viking-theme-toggle-wc.d.ts +0 -19
- package/dist/web/types.d.ts +0 -40
- package/dist/web-components/index.d.ts +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VikingTone } from "../../core/types";
|
|
2
|
-
/**
|
|
3
|
-
* viking-icon-text — icon aligned beside a title and optional description.
|
|
4
|
-
* Use for status rows (MFA enrolled, connected accounts, subscription state).
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingIconText {
|
|
7
|
-
readonly icon: import("@angular/core").InputSignal<"link" | "menu" | "search" | "deml" | "deml-compact" | "deml-lockup" | "drakkar" | "drakkar-compact" | "drakkar-lockup" | "kubernetes" | "tensorflow" | "pytorch" | "apache-spark" | "databricks" | "aws-redshift" | "info" | "hub" | "model" | "google" | "apple" | "alert-circle" | "alert-triangle" | "arrow-left" | "arrow-right" | "arrow-up-right" | "bar-chart" | "bell" | "bold" | "bolt" | "brain" | "bug" | "building" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chip" | "clock" | "cloud" | "cookie" | "copy" | "dots-horizontal" | "dots-vertical" | "download" | "external" | "eye" | "eye-off" | "file" | "filter" | "fingerprint" | "folder" | "globe" | "grip-vertical" | "heart" | "home" | "image" | "insights" | "italic" | "key" | "list" | "list-ordered" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "minus" | "moon" | "network" | "paperclip" | "pencil" | "phone" | "play" | "plus" | "policy" | "refresh" | "rocket" | "search-off" | "send" | "server" | "settings" | "shield" | "ship" | "sparkle" | "speed" | "star" | "sun" | "terminal" | "trash" | "trending-up" | "underline" | "upload" | "user" | "user-shield" | "x">;
|
|
8
|
-
readonly title: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly description: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly tone: import("@angular/core").InputSignal<VikingTone>;
|
|
11
|
-
readonly iconSize: import("@angular/core").InputSignal<number>;
|
|
12
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VikingControl } from "../core/cva";
|
|
2
|
-
/**
|
|
3
|
-
* viking-input — thin Angular wrapper around `viking-input-wc`.
|
|
4
|
-
* ControlValueAccessor-compatible.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingInput extends VikingControl<string> {
|
|
7
|
-
readonly value: import("@angular/core").ModelSignal<string>;
|
|
8
|
-
readonly type: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly icon: import("@angular/core").InputSignal<"link" | "menu" | "search" | "deml" | "deml-compact" | "deml-lockup" | "drakkar" | "drakkar-compact" | "drakkar-lockup" | "kubernetes" | "tensorflow" | "pytorch" | "apache-spark" | "databricks" | "aws-redshift" | "info" | "hub" | "model" | "google" | "apple" | "alert-circle" | "alert-triangle" | "arrow-left" | "arrow-right" | "arrow-up-right" | "bar-chart" | "bell" | "bold" | "bolt" | "brain" | "bug" | "building" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chip" | "clock" | "cloud" | "cookie" | "copy" | "dots-horizontal" | "dots-vertical" | "download" | "external" | "eye" | "eye-off" | "file" | "filter" | "fingerprint" | "folder" | "globe" | "grip-vertical" | "heart" | "home" | "image" | "insights" | "italic" | "key" | "list" | "list-ordered" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "minus" | "moon" | "network" | "paperclip" | "pencil" | "phone" | "play" | "plus" | "policy" | "refresh" | "rocket" | "search-off" | "send" | "server" | "settings" | "shield" | "ship" | "sparkle" | "speed" | "star" | "sun" | "terminal" | "trash" | "trending-up" | "underline" | "upload" | "user" | "user-shield" | "x">;
|
|
12
|
-
readonly iconTrailing: import("@angular/core").InputSignal<"link" | "menu" | "search" | "deml" | "deml-compact" | "deml-lockup" | "drakkar" | "drakkar-compact" | "drakkar-lockup" | "kubernetes" | "tensorflow" | "pytorch" | "apache-spark" | "databricks" | "aws-redshift" | "info" | "hub" | "model" | "google" | "apple" | "alert-circle" | "alert-triangle" | "arrow-left" | "arrow-right" | "arrow-up-right" | "bar-chart" | "bell" | "bold" | "bolt" | "brain" | "bug" | "building" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chip" | "clock" | "cloud" | "cookie" | "copy" | "dots-horizontal" | "dots-vertical" | "download" | "external" | "eye" | "eye-off" | "file" | "filter" | "fingerprint" | "folder" | "globe" | "grip-vertical" | "heart" | "home" | "image" | "insights" | "italic" | "key" | "list" | "list-ordered" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "minus" | "moon" | "network" | "paperclip" | "pencil" | "phone" | "play" | "plus" | "policy" | "refresh" | "rocket" | "search-off" | "send" | "server" | "settings" | "shield" | "ship" | "sparkle" | "speed" | "star" | "sun" | "terminal" | "trash" | "trending-up" | "underline" | "upload" | "user" | "user-shield" | "x">;
|
|
13
|
-
readonly kbd: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly clearable: import("@angular/core").InputSignal<boolean>;
|
|
15
|
-
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
readonly autocomplete: import("@angular/core").InputSignal<string>;
|
|
18
|
-
readonly cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
19
|
-
protected isDisabled: () => boolean;
|
|
20
|
-
writeValue(value: string): void;
|
|
21
|
-
protected onWcInput: (event: Event) => void;
|
|
22
|
-
protected clear: () => void;
|
|
23
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VikingKanbanCard, VikingKanbanColumn, VikingKanbanMove } from "../../core/types";
|
|
2
|
-
/**
|
|
3
|
-
* viking-kanban — drag & drop board.
|
|
4
|
-
* Native HTML5 drag and drop; emits `moved` and updates the `columns` model.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingKanban {
|
|
7
|
-
readonly columns: import("@angular/core").ModelSignal<VikingKanbanColumn[]>;
|
|
8
|
-
readonly moved: import("@angular/core").OutputEmitterRef<VikingKanbanMove>;
|
|
9
|
-
protected readonly draggingId: import("@angular/core").WritableSignal<string>;
|
|
10
|
-
protected readonly dropColumnId: import("@angular/core").WritableSignal<string>;
|
|
11
|
-
private dragSource;
|
|
12
|
-
protected onDragStart: (card: VikingKanbanCard, columnId: string) => void;
|
|
13
|
-
protected onDragOver: (event: DragEvent, columnId: string) => void;
|
|
14
|
-
protected onDrop: (event: DragEvent, toColumnId: string) => void;
|
|
15
|
-
protected resetDrag: () => void;
|
|
16
|
-
}
|
package/dist/lib/kbd/kbd.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-loading-overlay — blocks interaction with a centered spinner.
|
|
3
|
-
* Use on cards, panels, or full-page surfaces during async operations.
|
|
4
|
-
*/
|
|
5
|
-
export declare class VikingLoadingOverlay {
|
|
6
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly message: import("@angular/core").InputSignal<string>;
|
|
8
|
-
readonly spinnerSize: import("@angular/core").InputSignal<number>;
|
|
9
|
-
readonly full: import("@angular/core").InputSignal<boolean>;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** viking-metric-row — responsive grid row for HUD metric cards. */
|
|
2
|
-
export declare class VikingMetricRow {
|
|
3
|
-
}
|
|
4
|
-
/** viking-metric-card — single KPI tile in a metric row. */
|
|
5
|
-
export declare class VikingMetricCard {
|
|
6
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly value: import("@angular/core").InputSignal<string | number>;
|
|
8
|
-
readonly variant: import("@angular/core").InputSignal<"warning" | "default" | "critical">;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* viking-modal — dialog built on the native <dialog> element
|
|
4
|
-
*. Toggle via the `open` model.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingModal {
|
|
7
|
-
private readonly dialogRef;
|
|
8
|
-
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
9
|
-
readonly heading: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly dismissible: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
constructor(host: ElementRef<HTMLElement>);
|
|
12
|
-
protected onBackdropClick: (event: MouseEvent) => void;
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { VikingControl } from "../core/cva";
|
|
2
|
-
import { VikingSelectOption } from "../../core/types";
|
|
3
|
-
import type { VikingSelectWidth } from "../select/select";
|
|
4
|
-
/**
|
|
5
|
-
* viking-native-select — styled native <select>.
|
|
6
|
-
*/
|
|
7
|
-
export declare class VikingNativeSelect extends VikingControl<string | number | null> {
|
|
8
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly options: import("@angular/core").InputSignal<VikingSelectOption<unknown>[]>;
|
|
11
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
readonly width: import("@angular/core").InputSignal<VikingSelectWidth>;
|
|
13
|
-
readonly value: import("@angular/core").ModelSignal<string | number>;
|
|
14
|
-
protected readonly selectId: string;
|
|
15
|
-
writeValue(value: string | number | null): void;
|
|
16
|
-
protected onSelectChange: (event: Event) => void;
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-navbar — horizontal navigation container.
|
|
3
|
-
* Compose with viking-navbar-item and any other inline content.
|
|
4
|
-
*/
|
|
5
|
-
export declare class VikingNavbar {
|
|
6
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
7
|
-
}
|
|
8
|
-
/** Navigation link/button inside viking-navbar. */
|
|
9
|
-
export declare class VikingNavbarItem {
|
|
10
|
-
readonly href: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly icon: import("@angular/core").InputSignal<"link" | "menu" | "search" | "deml" | "deml-compact" | "deml-lockup" | "drakkar" | "drakkar-compact" | "drakkar-lockup" | "kubernetes" | "tensorflow" | "pytorch" | "apache-spark" | "databricks" | "aws-redshift" | "info" | "hub" | "model" | "google" | "apple" | "alert-circle" | "alert-triangle" | "arrow-left" | "arrow-right" | "arrow-up-right" | "bar-chart" | "bell" | "bold" | "bolt" | "brain" | "bug" | "building" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chip" | "clock" | "cloud" | "cookie" | "copy" | "dots-horizontal" | "dots-vertical" | "download" | "external" | "eye" | "eye-off" | "file" | "filter" | "fingerprint" | "folder" | "globe" | "grip-vertical" | "heart" | "home" | "image" | "insights" | "italic" | "key" | "list" | "list-ordered" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "minus" | "moon" | "network" | "paperclip" | "pencil" | "phone" | "play" | "plus" | "policy" | "refresh" | "rocket" | "search-off" | "send" | "server" | "settings" | "shield" | "ship" | "sparkle" | "speed" | "star" | "sun" | "terminal" | "trash" | "trending-up" | "underline" | "upload" | "user" | "user-shield" | "x">;
|
|
12
|
-
readonly current: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface VikingNavItem {
|
|
2
|
-
label: string;
|
|
3
|
-
href?: string;
|
|
4
|
-
active?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* viking-navigation-menu — primary nav links with active indicator.
|
|
9
|
-
*/
|
|
10
|
-
export declare class VikingNavigationMenu {
|
|
11
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly items: import("@angular/core").InputSignal<VikingNavItem[]>;
|
|
13
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { VikingControl } from "../core/cva";
|
|
3
|
-
/**
|
|
4
|
-
* viking-otp-input — one-time-passcode input.
|
|
5
|
-
* Auto-advances between cells and supports paste. ControlValueAccessor-compatible.
|
|
6
|
-
*/
|
|
7
|
-
export declare class VikingOtpInput extends VikingControl<string> {
|
|
8
|
-
private readonly host;
|
|
9
|
-
readonly length: import("@angular/core").InputSignal<number>;
|
|
10
|
-
readonly value: import("@angular/core").ModelSignal<string>;
|
|
11
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
readonly centered: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
readonly completed: import("@angular/core").OutputEmitterRef<string>;
|
|
15
|
-
constructor(host: ElementRef<HTMLElement>);
|
|
16
|
-
protected readonly indexes: import("@angular/core").Signal<number[]>;
|
|
17
|
-
writeValue(value: string): void;
|
|
18
|
-
private commit;
|
|
19
|
-
private focusCell;
|
|
20
|
-
protected onCellInput: (event: Event, index: number) => void;
|
|
21
|
-
protected onKeydown: (event: KeyboardEvent, index: number) => void;
|
|
22
|
-
protected onPaste: (event: ClipboardEvent) => void;
|
|
23
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Params } from "@angular/router";
|
|
2
|
-
/**
|
|
3
|
-
* viking-page-back-link — consistent dashboard back navigation with fixed spacing
|
|
4
|
-
* below the control so page titles never sit flush against the link.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingPageBackLink {
|
|
7
|
-
readonly route: import("@angular/core").InputSignal<string | readonly string[]>;
|
|
8
|
-
readonly queryParams: import("@angular/core").InputSignal<Params>;
|
|
9
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly navLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Params } from "@angular/router";
|
|
2
|
-
/**
|
|
3
|
-
* viking-page-header — unified HUD page title block (tag, title, subtitle) with
|
|
4
|
-
* optional back navigation and action slots.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingPageHeader {
|
|
7
|
-
readonly tag: import("@angular/core").InputSignal<string>;
|
|
8
|
-
readonly title: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly subtitle: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly layout: import("@angular/core").InputSignal<"hud" | "sidebar">;
|
|
11
|
-
readonly backTo: import("@angular/core").InputSignal<string | readonly string[]>;
|
|
12
|
-
readonly backQueryParams: import("@angular/core").InputSignal<Params>;
|
|
13
|
-
readonly backLabel: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly backNavLabel: import("@angular/core").InputSignal<string>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-pagination — page navigation.
|
|
3
|
-
*/
|
|
4
|
-
export declare class VikingPagination {
|
|
5
|
-
readonly page: import("@angular/core").ModelSignal<number>;
|
|
6
|
-
readonly totalPages: import("@angular/core").InputSignal<number>;
|
|
7
|
-
/** Windowed page list with null entries marking ellipses. */
|
|
8
|
-
protected readonly pageItems: import("@angular/core").Signal<number[]>;
|
|
9
|
-
protected goTo: (target: number) => void;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VikingControl } from "../core/cva";
|
|
2
|
-
/**
|
|
3
|
-
* viking-pillbox — multi-value tag input.
|
|
4
|
-
* Type and press Enter (or comma) to add pills. ControlValueAccessor-compatible.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingPillbox extends VikingControl<string[]> {
|
|
7
|
-
readonly values: import("@angular/core").ModelSignal<string[]>;
|
|
8
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
protected readonly draft: import("@angular/core").WritableSignal<string>;
|
|
12
|
-
writeValue(value: string[]): void;
|
|
13
|
-
protected onKeydown: (event: KeyboardEvent) => void;
|
|
14
|
-
protected remove: (pill: string) => void;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* viking-popover — anchored floating panel.
|
|
4
|
-
* Project the trigger with the `vikingTrigger` attribute; everything else becomes
|
|
5
|
-
* the panel content. Closes on Escape or outside interaction.
|
|
6
|
-
*/
|
|
7
|
-
export declare class VikingPopover {
|
|
8
|
-
private readonly host;
|
|
9
|
-
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
10
|
-
readonly align: import("@angular/core").InputSignal<"end" | "start">;
|
|
11
|
-
constructor(host: ElementRef<HTMLElement>);
|
|
12
|
-
/** Toggles when the (focusable, projected) trigger is activated. */
|
|
13
|
-
protected onHostClick: (event: Event) => void;
|
|
14
|
-
protected onDocumentClick: (event: Event) => void;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VikingTone } from "../../core/types";
|
|
2
|
-
/**
|
|
3
|
-
* viking-profile — user identity block.
|
|
4
|
-
* Project actions (e.g. viking-button) as content.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingProfile {
|
|
7
|
-
readonly name: import("@angular/core").InputSignal<string>;
|
|
8
|
-
readonly detail: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly avatarSrc: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly status: import("@angular/core").InputSignal<VikingTone>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VikingTone } from "../../core/types";
|
|
2
|
-
/**
|
|
3
|
-
* viking-progress — determinate/indeterminate progress bar
|
|
4
|
-
*.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingProgress {
|
|
7
|
-
readonly value: import("@angular/core").InputSignal<number>;
|
|
8
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly tone: import("@angular/core").InputSignal<VikingTone>;
|
|
10
|
-
readonly indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
protected readonly clamped: import("@angular/core").Signal<number>;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VikingControl } from "../core/cva";
|
|
2
|
-
import { VikingSelectOption } from "../../core/types";
|
|
3
|
-
/**
|
|
4
|
-
* viking-radio-group — radio group.
|
|
5
|
-
* ControlValueAccessor-compatible; options-driven for symmetry with viking-select.
|
|
6
|
-
*/
|
|
7
|
-
export declare class VikingRadioGroup extends VikingControl<unknown> {
|
|
8
|
-
readonly options: import("@angular/core").InputSignal<VikingSelectOption<unknown>[]>;
|
|
9
|
-
readonly value: import("@angular/core").ModelSignal<unknown>;
|
|
10
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
13
|
-
protected readonly groupName: string;
|
|
14
|
-
writeValue(value: unknown): void;
|
|
15
|
-
protected select: (option: VikingSelectOption) => void;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** viking-ring-gauge — circular progress ring for health/score displays. */
|
|
2
|
-
export declare class VikingRingGauge {
|
|
3
|
-
readonly value: import("@angular/core").InputSignal<number>;
|
|
4
|
-
readonly max: import("@angular/core").InputSignal<number>;
|
|
5
|
-
readonly circumference: import("@angular/core").InputSignal<number>;
|
|
6
|
-
readonly status: import("@angular/core").InputSignal<string>;
|
|
7
|
-
protected readonly strokeDasharray: import("@angular/core").Signal<string>;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-scroll-area — constrained scroll region with clinical scrollbar styling.
|
|
3
|
-
*/
|
|
4
|
-
export declare class VikingScrollArea {
|
|
5
|
-
readonly maxHeight: import("@angular/core").InputSignal<string>;
|
|
6
|
-
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
7
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-search-palette — command-palette style search overlay (Product Hunt / Algolia inspired).
|
|
3
|
-
* Project custom result lists into the body slot; ⌘K / Ctrl+K wired by host app static widget.
|
|
4
|
-
*/
|
|
5
|
-
export declare class VikingSearchPalette {
|
|
6
|
-
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
7
|
-
readonly query: import("@angular/core").ModelSignal<string>;
|
|
8
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly paletteKeydown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
10
|
-
private readonly queryInput;
|
|
11
|
-
constructor();
|
|
12
|
-
protected onQueryInput(event: Event): void;
|
|
13
|
-
protected close(): void;
|
|
14
|
-
/** Platform modifier label for footer shortcut hint. */
|
|
15
|
-
protected modKey: () => string;
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { VikingControl } from "../core/cva";
|
|
3
|
-
import { VikingSelectOption } from "../../core/types";
|
|
4
|
-
export type VikingSelectWidth = "full" | "half";
|
|
5
|
-
/**
|
|
6
|
-
* viking-select — custom listbox select.
|
|
7
|
-
* ControlValueAccessor-compatible with full keyboard support.
|
|
8
|
-
*/
|
|
9
|
-
export declare class VikingSelect extends VikingControl<unknown> {
|
|
10
|
-
private readonly host;
|
|
11
|
-
readonly options: import("@angular/core").InputSignal<VikingSelectOption<unknown>[]>;
|
|
12
|
-
readonly value: import("@angular/core").ModelSignal<unknown>;
|
|
13
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
15
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
readonly width: import("@angular/core").InputSignal<VikingSelectWidth>;
|
|
17
|
-
constructor(host: ElementRef<HTMLElement>);
|
|
18
|
-
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
-
protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
|
|
20
|
-
protected readonly selectedLabel: import("@angular/core").Signal<string>;
|
|
21
|
-
writeValue(value: unknown): void;
|
|
22
|
-
protected toggle: () => void;
|
|
23
|
-
protected pick: (option: VikingSelectOption) => void;
|
|
24
|
-
protected onKeydown: (event: KeyboardEvent) => void;
|
|
25
|
-
protected onDocumentClick: (event: Event) => void;
|
|
26
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-separator — horizontal/vertical rule with optional label
|
|
3
|
-
*.
|
|
4
|
-
*/
|
|
5
|
-
export declare class VikingSeparator {
|
|
6
|
-
readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
7
|
-
readonly text: import("@angular/core").InputSignal<string>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type VikingSheetSide = "left" | "right";
|
|
2
|
-
/**
|
|
3
|
-
* viking-sheet — slide-over panel.
|
|
4
|
-
*/
|
|
5
|
-
export declare class VikingSheet {
|
|
6
|
-
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
7
|
-
readonly heading: import("@angular/core").InputSignal<string>;
|
|
8
|
-
readonly dismissible: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
readonly side: import("@angular/core").InputSignal<VikingSheetSide>;
|
|
10
|
-
private readonly dialogRef;
|
|
11
|
-
constructor();
|
|
12
|
-
protected onBackdropClick: (event: MouseEvent) => void;
|
|
13
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-sidebar-nav — composable sidebar navigation container.
|
|
3
|
-
*/
|
|
4
|
-
export declare class VikingSidebarNav {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* viking-sidebar-nav-link — router-aware sidebar nav item.
|
|
8
|
-
*/
|
|
9
|
-
export declare class VikingSidebarNavLink {
|
|
10
|
-
readonly routerLink: import("@angular/core").InputSignal<string | string[]>;
|
|
11
|
-
readonly routerLinkActiveOptions: import("@angular/core").InputSignal<{
|
|
12
|
-
exact: boolean;
|
|
13
|
-
}>;
|
|
14
|
-
readonly title: import("@angular/core").InputSignal<string>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* viking-sidebar-nav-tree — expandable tree section within sidebar nav.
|
|
18
|
-
*/
|
|
19
|
-
export declare class VikingSidebarNavTree {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* viking-sidebar-nav-tree-header — collapsible tree section header.
|
|
23
|
-
*/
|
|
24
|
-
export declare class VikingSidebarNavTreeHeader {
|
|
25
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
26
|
-
readonly expanded: import("@angular/core").InputSignal<boolean>;
|
|
27
|
-
readonly toggled: import("@angular/core").OutputEmitterRef<void>;
|
|
28
|
-
protected onToggle: () => void;
|
|
29
|
-
protected onSpace: (event: Event) => void;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* viking-sidebar-nav-tree-children — tree item list container.
|
|
33
|
-
*/
|
|
34
|
-
export declare class VikingSidebarNavTreeChildren {
|
|
35
|
-
}
|
|
36
|
-
export type VikingSidebarNavTreeItemVariant = "default" | "empty" | "accent";
|
|
37
|
-
/**
|
|
38
|
-
* viking-sidebar-nav-tree-item — selectable tree leaf or action row.
|
|
39
|
-
*/
|
|
40
|
-
export declare class VikingSidebarNavTreeItem {
|
|
41
|
-
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
42
|
-
readonly variant: import("@angular/core").InputSignal<VikingSidebarNavTreeItemVariant>;
|
|
43
|
-
readonly activated: import("@angular/core").OutputEmitterRef<void>;
|
|
44
|
-
protected onActivate: (event: Event) => void;
|
|
45
|
-
protected onSpace: (event: Event) => void;
|
|
46
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { VikingIconName } from "../core/icons";
|
|
2
|
-
/**
|
|
3
|
-
* Drakkar — the Viking longship that carries the site shell (navbar, footer, nav links)
|
|
4
|
-
* across marketing, app, and backend surfaces.
|
|
5
|
-
*/
|
|
6
|
-
/** Which DEML surface the Drakkar shell is rendering on (navbar + footer). */
|
|
7
|
-
export type SiteDrakkarContext = "app" | "marketing" | "backend" | "docs";
|
|
8
|
-
export interface SiteUrls {
|
|
9
|
-
app: string;
|
|
10
|
-
marketing: string;
|
|
11
|
-
backend: string;
|
|
12
|
-
}
|
|
13
|
-
export interface SiteNavLink {
|
|
14
|
-
id: string;
|
|
15
|
-
label: string;
|
|
16
|
-
icon: VikingIconName;
|
|
17
|
-
appHref: string;
|
|
18
|
-
marketingHref: string;
|
|
19
|
-
external?: boolean;
|
|
20
|
-
requireAuth?: boolean;
|
|
21
|
-
/** Routes served by deml.app — resolved to absolute app URLs off-app. */
|
|
22
|
-
platform?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface SiteFooterLink {
|
|
25
|
-
label: string;
|
|
26
|
-
appHref: string;
|
|
27
|
-
marketingHref: string;
|
|
28
|
-
external?: boolean;
|
|
29
|
-
action?: "cookie-settings" | "bug-report";
|
|
30
|
-
/** Routes served by deml.app — resolved to absolute app URLs off-app. */
|
|
31
|
-
platform?: boolean;
|
|
32
|
-
}
|
|
33
|
-
export interface SiteFooterColumn {
|
|
34
|
-
title: string;
|
|
35
|
-
links: SiteFooterLink[];
|
|
36
|
-
}
|
|
37
|
-
/** Primary navbar links (desktop + mobile). Shown on every surface. */
|
|
38
|
-
export declare const SITE_NAV_LINKS: readonly SiteNavLink[];
|
|
39
|
-
export declare const SITE_FOOTER_COLUMNS: readonly SiteFooterColumn[];
|
|
40
|
-
export declare const BUG_REPORT_QUERY = "reportBug=1";
|
|
41
|
-
export declare const COOKIE_SETTINGS_QUERY = "cookieSettings=1";
|
|
42
|
-
export declare const bugReportHref: (urls: SiteUrls) => string;
|
|
43
|
-
export declare const cookieSettingsHref: (urls: SiteUrls) => string;
|
|
44
|
-
export declare const resolveNavHref: (link: SiteNavLink, context: SiteDrakkarContext, urls: SiteUrls) => string;
|
|
45
|
-
export declare const resolveFooterHref: (link: SiteFooterLink, context: SiteDrakkarContext, urls: SiteUrls) => string;
|
|
46
|
-
export declare const resolveBrandHref: (context: SiteDrakkarContext, urls: SiteUrls) => string;
|
|
47
|
-
/** Navbar links; auth-gated entries appear only when the session is active. */
|
|
48
|
-
export declare const visibleNavLinks: (links: readonly SiteNavLink[], isAuthenticated?: boolean) => SiteNavLink[];
|
|
49
|
-
export declare const isAppRouterPath: (href: string) => boolean;
|
|
50
|
-
export declare const DEFAULT_SITE_URLS: SiteUrls;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SiteDrakkarContext, SiteFooterLink, SiteUrls } from "./site-drakkar.config";
|
|
2
|
-
/**
|
|
3
|
-
* viking-site-footer — canonical site footer shared across DEML surfaces.
|
|
4
|
-
*/
|
|
5
|
-
export declare class VikingSiteFooter {
|
|
6
|
-
readonly context: import("@angular/core").InputSignal<SiteDrakkarContext>;
|
|
7
|
-
readonly urls: import("@angular/core").InputSignal<SiteUrls>;
|
|
8
|
-
readonly year: import("@angular/core").InputSignal<number>;
|
|
9
|
-
readonly cookieSettings: import("@angular/core").OutputEmitterRef<Event>;
|
|
10
|
-
readonly bugReport: import("@angular/core").OutputEmitterRef<Event>;
|
|
11
|
-
readonly usaBadgeHover: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
12
|
-
protected readonly columns: readonly import("./site-drakkar.config").SiteFooterColumn[];
|
|
13
|
-
protected readonly cookieSettingsUrl: () => string;
|
|
14
|
-
protected resolveHref: (link: SiteFooterLink) => string;
|
|
15
|
-
protected isAppRoute: (link: SiteFooterLink) => boolean;
|
|
16
|
-
protected onCookieSettings(event: Event): void;
|
|
17
|
-
protected onBugReport(event: Event): void;
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { SITE_NAV_LINKS, SiteDrakkarContext, SiteUrls } from "./site-drakkar.config";
|
|
2
|
-
/**
|
|
3
|
-
* viking-site-navbar — canonical site header shared across DEML surfaces.
|
|
4
|
-
* Uses `.navbar` markup + viking-ui.css (same structure as marketing/backend static HTML).
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingSiteNavbar {
|
|
7
|
-
readonly context: import("@angular/core").InputSignal<SiteDrakkarContext>;
|
|
8
|
-
readonly urls: import("@angular/core").InputSignal<SiteUrls>;
|
|
9
|
-
readonly isAuthenticated: import("@angular/core").InputSignal<boolean>;
|
|
10
|
-
readonly theme: import("@angular/core").InputSignal<"dark" | "light">;
|
|
11
|
-
readonly showSearch: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
readonly login: import("@angular/core").OutputEmitterRef<void>;
|
|
13
|
-
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
-
readonly themeToggle: import("@angular/core").OutputEmitterRef<void>;
|
|
15
|
-
readonly searchOpen: import("@angular/core").OutputEmitterRef<void>;
|
|
16
|
-
protected readonly mobileMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
-
protected readonly navLinks: import("@angular/core").Signal<import("./site-drakkar.config").SiteNavLink[]>;
|
|
18
|
-
protected readonly brandHref: import("@angular/core").Signal<string>;
|
|
19
|
-
protected resolveHref: (link: (typeof SITE_NAV_LINKS)[number]) => string;
|
|
20
|
-
protected isAppRouterPath: (href: string) => boolean;
|
|
21
|
-
protected onBrandClick(event: MouseEvent): void;
|
|
22
|
-
protected toggleMobileMenu(): void;
|
|
23
|
-
protected closeMobileMenu(): void;
|
|
24
|
-
protected openSearch(): void;
|
|
25
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { SiteDrakkarContext, SiteUrls } from "./site-drakkar.config";
|
|
2
|
-
/** Curated command-palette entry for cross-surface navigation. */
|
|
3
|
-
export type SuiteSearchItem = {
|
|
4
|
-
title: string;
|
|
5
|
-
href: string;
|
|
6
|
-
snippet?: string;
|
|
7
|
-
group?: string;
|
|
8
|
-
keywords?: string[];
|
|
9
|
-
action?: "cookie-settings" | "bug-report";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Builds curated command-palette links for deml.app, marketing, backend, and docs.
|
|
13
|
-
* Used by the static widget and Angular `viking-suite-search-palette`.
|
|
14
|
-
*/
|
|
15
|
-
export declare const buildSuiteSearchItems: (context: SiteDrakkarContext, urls: SiteUrls, options?: {
|
|
16
|
-
docsOrigin?: string;
|
|
17
|
-
}) => SuiteSearchItem[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-skeleton — loading placeholder.
|
|
3
|
-
*/
|
|
4
|
-
export declare class VikingSkeleton {
|
|
5
|
-
readonly shape: import("@angular/core").InputSignal<"circle" | "line" | "rect">;
|
|
6
|
-
readonly width: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly height: import("@angular/core").InputSignal<string>;
|
|
8
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { VikingControl } from "../core/cva";
|
|
2
|
-
/**
|
|
3
|
-
* viking-slider — range slider.
|
|
4
|
-
* ControlValueAccessor-compatible.
|
|
5
|
-
*/
|
|
6
|
-
export declare class VikingSlider extends VikingControl<number> {
|
|
7
|
-
readonly value: import("@angular/core").ModelSignal<number>;
|
|
8
|
-
readonly min: import("@angular/core").InputSignal<number>;
|
|
9
|
-
readonly max: import("@angular/core").InputSignal<number>;
|
|
10
|
-
readonly step: import("@angular/core").InputSignal<number>;
|
|
11
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly showValue: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
protected readonly fillPercent: import("@angular/core").Signal<number>;
|
|
15
|
-
writeValue(value: number): void;
|
|
16
|
-
protected onInput: (event: Event) => void;
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* viking-status-metric-row — icon + title/subtitle + value row for status cards.
|
|
3
|
-
*/
|
|
4
|
-
export declare class VikingStatusMetricRow {
|
|
5
|
-
readonly icon: import("@angular/core").InputSignal<"link" | "menu" | "search" | "deml" | "deml-compact" | "deml-lockup" | "drakkar" | "drakkar-compact" | "drakkar-lockup" | "kubernetes" | "tensorflow" | "pytorch" | "apache-spark" | "databricks" | "aws-redshift" | "info" | "hub" | "model" | "google" | "apple" | "alert-circle" | "alert-triangle" | "arrow-left" | "arrow-right" | "arrow-up-right" | "bar-chart" | "bell" | "bold" | "bolt" | "brain" | "bug" | "building" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chip" | "clock" | "cloud" | "cookie" | "copy" | "dots-horizontal" | "dots-vertical" | "download" | "external" | "eye" | "eye-off" | "file" | "filter" | "fingerprint" | "folder" | "globe" | "grip-vertical" | "heart" | "home" | "image" | "insights" | "italic" | "key" | "list" | "list-ordered" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "minus" | "moon" | "network" | "paperclip" | "pencil" | "phone" | "play" | "plus" | "policy" | "refresh" | "rocket" | "search-off" | "send" | "server" | "settings" | "shield" | "ship" | "sparkle" | "speed" | "star" | "sun" | "terminal" | "trash" | "trending-up" | "underline" | "upload" | "user" | "user-shield" | "x">;
|
|
6
|
-
readonly title: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly subtitle: import("@angular/core").InputSignal<string>;
|
|
8
|
-
readonly value: import("@angular/core").InputSignal<string | number>;
|
|
9
|
-
}
|