@vadem/ui 0.0.0-stage → 0.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/LICENSE-lucide.txt +43 -0
- package/README.md +19 -2
- package/fesm2022/vadem-ui-accordion.mjs +139 -0
- package/fesm2022/vadem-ui-accordion.mjs.map +1 -0
- package/fesm2022/vadem-ui-active-filters.mjs +355 -0
- package/fesm2022/vadem-ui-active-filters.mjs.map +1 -0
- package/fesm2022/vadem-ui-alert-dialog.mjs +433 -0
- package/fesm2022/vadem-ui-alert-dialog.mjs.map +1 -0
- package/fesm2022/vadem-ui-alert.mjs +266 -0
- package/fesm2022/vadem-ui-alert.mjs.map +1 -0
- package/fesm2022/vadem-ui-autocomplete.mjs +715 -0
- package/fesm2022/vadem-ui-autocomplete.mjs.map +1 -0
- package/fesm2022/vadem-ui-avatar.mjs +219 -0
- package/fesm2022/vadem-ui-avatar.mjs.map +1 -0
- package/fesm2022/vadem-ui-badge.mjs +86 -0
- package/fesm2022/vadem-ui-badge.mjs.map +1 -0
- package/fesm2022/vadem-ui-breadcrumbs.mjs +61 -0
- package/fesm2022/vadem-ui-breadcrumbs.mjs.map +1 -0
- package/fesm2022/vadem-ui-button.mjs +220 -0
- package/fesm2022/vadem-ui-button.mjs.map +1 -0
- package/fesm2022/vadem-ui-calendar.mjs +1314 -0
- package/fesm2022/vadem-ui-calendar.mjs.map +1 -0
- package/fesm2022/vadem-ui-card.mjs +271 -0
- package/fesm2022/vadem-ui-card.mjs.map +1 -0
- package/fesm2022/vadem-ui-character-count.mjs +269 -0
- package/fesm2022/vadem-ui-character-count.mjs.map +1 -0
- package/fesm2022/vadem-ui-chart.mjs +1984 -0
- package/fesm2022/vadem-ui-chart.mjs.map +1 -0
- package/fesm2022/vadem-ui-checkbox.mjs +67 -0
- package/fesm2022/vadem-ui-checkbox.mjs.map +1 -0
- package/fesm2022/vadem-ui-color-picker.mjs +815 -0
- package/fesm2022/vadem-ui-color-picker.mjs.map +1 -0
- package/fesm2022/vadem-ui-command.mjs +735 -0
- package/fesm2022/vadem-ui-command.mjs.map +1 -0
- package/fesm2022/vadem-ui-copy-button.mjs +375 -0
- package/fesm2022/vadem-ui-copy-button.mjs.map +1 -0
- package/fesm2022/vadem-ui-date-range-picker.mjs +1011 -0
- package/fesm2022/vadem-ui-date-range-picker.mjs.map +1 -0
- package/fesm2022/vadem-ui-description-list.mjs +59 -0
- package/fesm2022/vadem-ui-description-list.mjs.map +1 -0
- package/fesm2022/vadem-ui-dialog.mjs +587 -0
- package/fesm2022/vadem-ui-dialog.mjs.map +1 -0
- package/fesm2022/vadem-ui-dropzone.mjs +176 -0
- package/fesm2022/vadem-ui-dropzone.mjs.map +1 -0
- package/fesm2022/vadem-ui-editable-text.mjs +641 -0
- package/fesm2022/vadem-ui-editable-text.mjs.map +1 -0
- package/fesm2022/vadem-ui-empty-state.mjs +175 -0
- package/fesm2022/vadem-ui-empty-state.mjs.map +1 -0
- package/fesm2022/vadem-ui-expandable-text.mjs +244 -0
- package/fesm2022/vadem-ui-expandable-text.mjs.map +1 -0
- package/fesm2022/vadem-ui-field.mjs +583 -0
- package/fesm2022/vadem-ui-field.mjs.map +1 -0
- package/fesm2022/vadem-ui-file-preview.mjs +532 -0
- package/fesm2022/vadem-ui-file-preview.mjs.map +1 -0
- package/fesm2022/vadem-ui-file-size.mjs +83 -0
- package/fesm2022/vadem-ui-file-size.mjs.map +1 -0
- package/fesm2022/vadem-ui-form-error-summary.mjs +201 -0
- package/fesm2022/vadem-ui-form-error-summary.mjs.map +1 -0
- package/fesm2022/vadem-ui-icon.mjs +303 -0
- package/fesm2022/vadem-ui-icon.mjs.map +1 -0
- package/fesm2022/vadem-ui-input.mjs +120 -0
- package/fesm2022/vadem-ui-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-kbd.mjs +286 -0
- package/fesm2022/vadem-ui-kbd.mjs.map +1 -0
- package/fesm2022/vadem-ui-keyboard.mjs +105 -0
- package/fesm2022/vadem-ui-keyboard.mjs.map +1 -0
- package/fesm2022/vadem-ui-locale.mjs +443 -0
- package/fesm2022/vadem-ui-locale.mjs.map +1 -0
- package/fesm2022/vadem-ui-menu.mjs +637 -0
- package/fesm2022/vadem-ui-menu.mjs.map +1 -0
- package/fesm2022/vadem-ui-navigation-list.mjs +130 -0
- package/fesm2022/vadem-ui-navigation-list.mjs.map +1 -0
- package/fesm2022/vadem-ui-number-input.mjs +264 -0
- package/fesm2022/vadem-ui-number-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-otp-input.mjs +86 -0
- package/fesm2022/vadem-ui-otp-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-pagination.mjs +353 -0
- package/fesm2022/vadem-ui-pagination.mjs.map +1 -0
- package/fesm2022/vadem-ui-password-input.mjs +213 -0
- package/fesm2022/vadem-ui-password-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-popover.mjs +178 -0
- package/fesm2022/vadem-ui-popover.mjs.map +1 -0
- package/fesm2022/vadem-ui-progress.mjs +331 -0
- package/fesm2022/vadem-ui-progress.mjs.map +1 -0
- package/fesm2022/vadem-ui-radio.mjs +39 -0
- package/fesm2022/vadem-ui-radio.mjs.map +1 -0
- package/fesm2022/vadem-ui-range-slider.mjs +561 -0
- package/fesm2022/vadem-ui-range-slider.mjs.map +1 -0
- package/fesm2022/vadem-ui-rating.mjs +404 -0
- package/fesm2022/vadem-ui-rating.mjs.map +1 -0
- package/fesm2022/vadem-ui-relative-time.mjs +217 -0
- package/fesm2022/vadem-ui-relative-time.mjs.map +1 -0
- package/fesm2022/vadem-ui-reorder-list.mjs +601 -0
- package/fesm2022/vadem-ui-reorder-list.mjs.map +1 -0
- package/fesm2022/vadem-ui-scroll-area.mjs +65 -0
- package/fesm2022/vadem-ui-scroll-area.mjs.map +1 -0
- package/fesm2022/vadem-ui-search-input.mjs +307 -0
- package/fesm2022/vadem-ui-search-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-segmented.mjs +297 -0
- package/fesm2022/vadem-ui-segmented.mjs.map +1 -0
- package/fesm2022/vadem-ui-select.mjs +1462 -0
- package/fesm2022/vadem-ui-select.mjs.map +1 -0
- package/fesm2022/vadem-ui-sidebar.mjs +493 -0
- package/fesm2022/vadem-ui-sidebar.mjs.map +1 -0
- package/fesm2022/vadem-ui-skeleton.mjs +106 -0
- package/fesm2022/vadem-ui-skeleton.mjs.map +1 -0
- package/fesm2022/vadem-ui-slider.mjs +60 -0
- package/fesm2022/vadem-ui-slider.mjs.map +1 -0
- package/fesm2022/vadem-ui-splitter.mjs +438 -0
- package/fesm2022/vadem-ui-splitter.mjs.map +1 -0
- package/fesm2022/vadem-ui-stat.mjs +369 -0
- package/fesm2022/vadem-ui-stat.mjs.map +1 -0
- package/fesm2022/vadem-ui-stepper.mjs +483 -0
- package/fesm2022/vadem-ui-stepper.mjs.map +1 -0
- package/fesm2022/vadem-ui-switch.mjs +45 -0
- package/fesm2022/vadem-ui-switch.mjs.map +1 -0
- package/fesm2022/vadem-ui-table.mjs +593 -0
- package/fesm2022/vadem-ui-table.mjs.map +1 -0
- package/fesm2022/vadem-ui-tabs.mjs +405 -0
- package/fesm2022/vadem-ui-tabs.mjs.map +1 -0
- package/fesm2022/vadem-ui-tag-input.mjs +685 -0
- package/fesm2022/vadem-ui-tag-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-text-highlight.mjs +126 -0
- package/fesm2022/vadem-ui-text-highlight.mjs.map +1 -0
- package/fesm2022/vadem-ui-time-input.mjs +430 -0
- package/fesm2022/vadem-ui-time-input.mjs.map +1 -0
- package/fesm2022/vadem-ui-timeline.mjs +313 -0
- package/fesm2022/vadem-ui-timeline.mjs.map +1 -0
- package/fesm2022/vadem-ui-toast.mjs +397 -0
- package/fesm2022/vadem-ui-toast.mjs.map +1 -0
- package/fesm2022/vadem-ui-toolbar.mjs +396 -0
- package/fesm2022/vadem-ui-toolbar.mjs.map +1 -0
- package/fesm2022/vadem-ui-tooltip.mjs +218 -0
- package/fesm2022/vadem-ui-tooltip.mjs.map +1 -0
- package/fesm2022/vadem-ui-tree.mjs +551 -0
- package/fesm2022/vadem-ui-tree.mjs.map +1 -0
- package/fesm2022/vadem-ui-upload-list.mjs +408 -0
- package/fesm2022/vadem-ui-upload-list.mjs.map +1 -0
- package/fesm2022/vadem-ui.mjs +4 -0
- package/fesm2022/vadem-ui.mjs.map +1 -0
- package/fonts/jetbrains-mono/OFL.txt +93 -0
- package/fonts/jetbrains-mono/jetbrains-mono-cyrillic.woff2 +0 -0
- package/fonts/jetbrains-mono/jetbrains-mono-latin.woff2 +0 -0
- package/fonts/manrope/OFL.txt +93 -0
- package/fonts/manrope/manrope-cyrillic.woff2 +0 -0
- package/fonts/manrope/manrope-latin.woff2 +0 -0
- package/package.json +306 -3
- package/styles/base.css +160 -0
- package/styles/components/accordion.css +130 -0
- package/styles/components/active-filters.css +42 -0
- package/styles/components/alert-dialog.css +34 -0
- package/styles/components/alert.css +159 -0
- package/styles/components/autocomplete.css +97 -0
- package/styles/components/avatar.css +90 -0
- package/styles/components/badge.css +91 -0
- package/styles/components/breadcrumbs.css +94 -0
- package/styles/components/button.css +174 -0
- package/styles/components/calendar.css +186 -0
- package/styles/components/card.css +206 -0
- package/styles/components/character-count.css +41 -0
- package/styles/components/chart.css +308 -0
- package/styles/components/checkbox.css +115 -0
- package/styles/components/color-picker.css +158 -0
- package/styles/components/command.css +175 -0
- package/styles/components/copy-button.css +58 -0
- package/styles/components/date-range-picker.css +153 -0
- package/styles/components/description-list.css +69 -0
- package/styles/components/dialog.css +334 -0
- package/styles/components/dropzone.css +89 -0
- package/styles/components/editable-text.css +58 -0
- package/styles/components/empty-state.css +72 -0
- package/styles/components/expandable-text.css +24 -0
- package/styles/components/field.css +148 -0
- package/styles/components/file-preview.css +65 -0
- package/styles/components/form-error-summary.css +71 -0
- package/styles/components/icon.css +38 -0
- package/styles/components/index.css +80 -0
- package/styles/components/input.css +171 -0
- package/styles/components/kbd.css +42 -0
- package/styles/components/menu.css +168 -0
- package/styles/components/multi-select.css +156 -0
- package/styles/components/navigation-list.css +147 -0
- package/styles/components/number-input.css +33 -0
- package/styles/components/otp-input.css +26 -0
- package/styles/components/pagination.css +127 -0
- package/styles/components/password-input.css +20 -0
- package/styles/components/popover.css +93 -0
- package/styles/components/progress-ring.css +112 -0
- package/styles/components/progress.css +162 -0
- package/styles/components/radio.css +117 -0
- package/styles/components/range-slider.css +158 -0
- package/styles/components/rating.css +100 -0
- package/styles/components/reorder-list.css +143 -0
- package/styles/components/scroll-area.css +39 -0
- package/styles/components/search-input.css +25 -0
- package/styles/components/segmented.css +136 -0
- package/styles/components/select.css +257 -0
- package/styles/components/sidebar.css +105 -0
- package/styles/components/skeleton.css +83 -0
- package/styles/components/slider.css +132 -0
- package/styles/components/splitter.css +83 -0
- package/styles/components/stat.css +62 -0
- package/styles/components/stepper.css +236 -0
- package/styles/components/switch.css +107 -0
- package/styles/components/table.css +195 -0
- package/styles/components/tabs.css +198 -0
- package/styles/components/tag-input.css +138 -0
- package/styles/components/text-highlight.css +22 -0
- package/styles/components/time-input.css +96 -0
- package/styles/components/timeline.css +182 -0
- package/styles/components/toast.css +146 -0
- package/styles/components/toolbar.css +72 -0
- package/styles/components/tooltip.css +93 -0
- package/styles/components/tree.css +88 -0
- package/styles/components/upload-list.css +113 -0
- package/styles/fonts.css +67 -0
- package/styles/index.css +14 -0
- package/styles/reset.css +57 -0
- package/styles/tokens/primitives.css +364 -0
- package/styles/tokens/semantic.css +233 -0
- package/types/vadem-ui-accordion.d.ts +43 -0
- package/types/vadem-ui-active-filters.d.ts +73 -0
- package/types/vadem-ui-alert-dialog.d.ts +87 -0
- package/types/vadem-ui-alert.d.ts +64 -0
- package/types/vadem-ui-autocomplete.d.ts +156 -0
- package/types/vadem-ui-avatar.d.ts +59 -0
- package/types/vadem-ui-badge.d.ts +25 -0
- package/types/vadem-ui-breadcrumbs.d.ts +22 -0
- package/types/vadem-ui-button.d.ts +52 -0
- package/types/vadem-ui-calendar.d.ts +327 -0
- package/types/vadem-ui-card.d.ts +58 -0
- package/types/vadem-ui-character-count.d.ts +71 -0
- package/types/vadem-ui-chart.d.ts +452 -0
- package/types/vadem-ui-checkbox.d.ts +20 -0
- package/types/vadem-ui-color-picker.d.ts +171 -0
- package/types/vadem-ui-command.d.ts +145 -0
- package/types/vadem-ui-copy-button.d.ts +90 -0
- package/types/vadem-ui-date-range-picker.d.ts +216 -0
- package/types/vadem-ui-description-list.d.ts +15 -0
- package/types/vadem-ui-dialog.d.ts +174 -0
- package/types/vadem-ui-dropzone.d.ts +73 -0
- package/types/vadem-ui-editable-text.d.ts +141 -0
- package/types/vadem-ui-empty-state.d.ts +34 -0
- package/types/vadem-ui-expandable-text.d.ts +52 -0
- package/types/vadem-ui-field.d.ts +180 -0
- package/types/vadem-ui-file-preview.d.ts +108 -0
- package/types/vadem-ui-file-size.d.ts +18 -0
- package/types/vadem-ui-form-error-summary.d.ts +46 -0
- package/types/vadem-ui-icon.d.ts +152 -0
- package/types/vadem-ui-input.d.ts +31 -0
- package/types/vadem-ui-kbd.d.ts +66 -0
- package/types/vadem-ui-keyboard.d.ts +61 -0
- package/types/vadem-ui-locale.d.ts +241 -0
- package/types/vadem-ui-menu.d.ts +132 -0
- package/types/vadem-ui-navigation-list.d.ts +28 -0
- package/types/vadem-ui-number-input.d.ts +39 -0
- package/types/vadem-ui-otp-input.d.ts +15 -0
- package/types/vadem-ui-pagination.d.ts +96 -0
- package/types/vadem-ui-password-input.d.ts +36 -0
- package/types/vadem-ui-popover.d.ts +48 -0
- package/types/vadem-ui-progress.d.ts +95 -0
- package/types/vadem-ui-radio.d.ts +11 -0
- package/types/vadem-ui-range-slider.d.ts +136 -0
- package/types/vadem-ui-rating.d.ts +95 -0
- package/types/vadem-ui-relative-time.d.ts +58 -0
- package/types/vadem-ui-reorder-list.d.ts +120 -0
- package/types/vadem-ui-scroll-area.d.ts +13 -0
- package/types/vadem-ui-search-input.d.ts +58 -0
- package/types/vadem-ui-segmented.d.ts +76 -0
- package/types/vadem-ui-select.d.ts +303 -0
- package/types/vadem-ui-sidebar.d.ts +70 -0
- package/types/vadem-ui-skeleton.d.ts +28 -0
- package/types/vadem-ui-slider.d.ts +17 -0
- package/types/vadem-ui-splitter.d.ts +99 -0
- package/types/vadem-ui-stat.d.ts +101 -0
- package/types/vadem-ui-stepper.d.ts +108 -0
- package/types/vadem-ui-switch.d.ts +10 -0
- package/types/vadem-ui-table.d.ts +172 -0
- package/types/vadem-ui-tabs.d.ts +101 -0
- package/types/vadem-ui-tag-input.d.ts +170 -0
- package/types/vadem-ui-text-highlight.d.ts +27 -0
- package/types/vadem-ui-time-input.d.ts +47 -0
- package/types/vadem-ui-timeline.d.ts +54 -0
- package/types/vadem-ui-toast.d.ts +104 -0
- package/types/vadem-ui-toolbar.d.ts +80 -0
- package/types/vadem-ui-tooltip.d.ts +71 -0
- package/types/vadem-ui-tree.d.ts +123 -0
- package/types/vadem-ui-upload-list.d.ts +70 -0
- package/types/vadem-ui.d.ts +1 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type VdTimelineStatus = 'neutral' | 'success' | 'warning' | 'danger' | 'info';
|
|
3
|
+
/** Named chronological list; consumers own ordering and timestamps. */
|
|
4
|
+
export declare class VdTimeline {
|
|
5
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
6
|
+
/** Text inputs resolved against the active VD_LOCALE. */
|
|
7
|
+
protected readonly t: import("@angular/core").Signal<Pick<{
|
|
8
|
+
label: string;
|
|
9
|
+
}, "label">>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTimeline, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTimeline, "ol[vdTimeline]", never, {
|
|
12
|
+
"label": {
|
|
13
|
+
"alias": "label";
|
|
14
|
+
"required": false;
|
|
15
|
+
"isSignal": true;
|
|
16
|
+
};
|
|
17
|
+
}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
/** Native list item with a decorative marker and visible localized status text. */
|
|
20
|
+
export declare class VdTimelineItem {
|
|
21
|
+
readonly status: import("@angular/core").InputSignal<VdTimelineStatus>;
|
|
22
|
+
readonly statusLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
protected readonly icon: import("@angular/core").Signal<"info" | "activity" | "alert-circle" | "alert-triangle" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-down" | "bell" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "copy" | "credit-card" | "download" | "external-link" | "eye" | "eye-off" | "file" | "folder" | "git-branch" | "globe" | "key" | "layout-dashboard" | "loader" | "lock" | "log-out" | "mail" | "menu" | "minus" | "monitor" | "moon" | "more-horizontal" | "panel-left" | "pencil" | "plus" | "rocket" | "search" | "settings" | "shield" | "star" | "sun" | "trash" | "trending-down" | "trending-up" | "upload" | "user" | "users" | "x" | "x-circle" | null>;
|
|
24
|
+
protected readonly resolvedLabel: import("@angular/core").Signal<string>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTimelineItem, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdTimelineItem, "li[vdTimelineItem]", never, {
|
|
27
|
+
"status": {
|
|
28
|
+
"alias": "status";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
"statusLabel": {
|
|
33
|
+
"alias": "statusLabel";
|
|
34
|
+
"required": false;
|
|
35
|
+
"isSignal": true;
|
|
36
|
+
};
|
|
37
|
+
}, {}, never, ["[vdTimelineTime]", "[vdTimelineTitle]", "[vdTimelineDescription]", "*"], true, never>;
|
|
38
|
+
}
|
|
39
|
+
/** Keep the consumer's heading level and any native link semantics. */
|
|
40
|
+
export declare class VdTimelineTitle {
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTimelineTitle, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTimelineTitle, "[vdTimelineTitle]", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
export declare class VdTimelineDescription {
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTimelineDescription, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTimelineDescription, "[vdTimelineDescription]", never, {}, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
/** Native datetime and localized text are supplied by the consumer. */
|
|
49
|
+
export declare class VdTimelineTime {
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTimelineTime, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTimelineTime, "time[vdTimelineTime]", never, {}, {}, never, never, true, never>;
|
|
52
|
+
}
|
|
53
|
+
export declare const VD_TIMELINE: readonly [typeof VdTimeline, typeof VdTimelineItem, typeof VdTimelineTitle, typeof VdTimelineDescription, typeof VdTimelineTime];
|
|
54
|
+
export type { VdTimelineStatus };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Framework-agnostic toast queue: ids, auto-dismiss timers that pause while the user is
|
|
4
|
+
* interacting (hover/focus), a cap on visible toasts, and a two-phase exit ("leaving" for the
|
|
5
|
+
* exit animation, then removed). Adapters subscribe and render.
|
|
6
|
+
*/
|
|
7
|
+
type VdToastVariant = 'neutral' | 'success' | 'warning' | 'danger' | 'info';
|
|
8
|
+
interface VdToastAction {
|
|
9
|
+
label: string;
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
}
|
|
12
|
+
interface VdToastInput {
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
variant?: VdToastVariant;
|
|
16
|
+
action?: VdToastAction;
|
|
17
|
+
/** Auto-dismiss after ms. `Infinity` keeps it until dismissed. Default depends on content. */
|
|
18
|
+
duration?: number;
|
|
19
|
+
}
|
|
20
|
+
interface VdToast extends Required<Pick<VdToastInput, 'title' | 'variant'>> {
|
|
21
|
+
id: number;
|
|
22
|
+
description?: string;
|
|
23
|
+
action?: VdToastAction;
|
|
24
|
+
duration: number;
|
|
25
|
+
state: 'open' | 'leaving';
|
|
26
|
+
}
|
|
27
|
+
interface VdToastStoreOptions {
|
|
28
|
+
/** Max toasts shown at once; older ones leave first. */
|
|
29
|
+
max: number;
|
|
30
|
+
/** Default lifetime, ms. Toasts with an action get double, giving time to reach it. */
|
|
31
|
+
duration: number;
|
|
32
|
+
/** How long the exit animation may take before removal, ms. */
|
|
33
|
+
exitDuration: number;
|
|
34
|
+
}
|
|
35
|
+
export declare const VD_TOAST_DEFAULTS: VdToastStoreOptions;
|
|
36
|
+
export declare class VdToastStore {
|
|
37
|
+
private readonly options;
|
|
38
|
+
private toasts;
|
|
39
|
+
private readonly timers;
|
|
40
|
+
private readonly listeners;
|
|
41
|
+
private nextId;
|
|
42
|
+
private paused;
|
|
43
|
+
constructor(options?: VdToastStoreOptions);
|
|
44
|
+
get snapshot(): readonly VdToast[];
|
|
45
|
+
subscribe(listener: (toasts: readonly VdToast[]) => void): () => void;
|
|
46
|
+
show(input: VdToastInput): number;
|
|
47
|
+
/** Starts the exit; the toast is removed after the exit animation (or `exitDuration`). */
|
|
48
|
+
dismiss(id: number): void;
|
|
49
|
+
/** Removes immediately (call when the exit animation has ended). */
|
|
50
|
+
remove(id: number): void;
|
|
51
|
+
dismissAll(): void;
|
|
52
|
+
/** Pause every timer (pointer or focus inside the toaster - WCAG 2.2.1). */
|
|
53
|
+
pause(): void;
|
|
54
|
+
resume(): void;
|
|
55
|
+
destroy(): void;
|
|
56
|
+
private startTimer;
|
|
57
|
+
private run;
|
|
58
|
+
private clearTimer;
|
|
59
|
+
private emit;
|
|
60
|
+
}
|
|
61
|
+
/** App-wide toast queue. Render it once with `<vd-toaster />`. Spec: specs/toast.md */
|
|
62
|
+
export declare class VdToaster {
|
|
63
|
+
readonly store: VdToastStore;
|
|
64
|
+
private readonly list;
|
|
65
|
+
readonly toasts: import("@angular/core").Signal<readonly VdToast[]>;
|
|
66
|
+
constructor();
|
|
67
|
+
show(toast: VdToastInput): number;
|
|
68
|
+
success(title: string, description?: string): number;
|
|
69
|
+
error(title: string, description?: string): number;
|
|
70
|
+
dismiss(id: number): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToaster, never>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
73
|
+
}
|
|
74
|
+
export declare class VdToasterOutlet {
|
|
75
|
+
/** Landmark name for the region (localize it). */
|
|
76
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
77
|
+
readonly closeLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
78
|
+
/** Text inputs resolved against the active VD_LOCALE. */
|
|
79
|
+
protected readonly t: import("@angular/core").Signal<Pick<{
|
|
80
|
+
label: string;
|
|
81
|
+
closeLabel: string;
|
|
82
|
+
}, "label" | "closeLabel">>;
|
|
83
|
+
protected readonly toaster: VdToaster;
|
|
84
|
+
protected readonly icons: Partial<Record<VdToastVariant, "info" | "activity" | "alert-circle" | "alert-triangle" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-down" | "bell" | "calendar" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "copy" | "credit-card" | "download" | "external-link" | "eye" | "eye-off" | "file" | "folder" | "git-branch" | "globe" | "key" | "layout-dashboard" | "loader" | "lock" | "log-out" | "mail" | "menu" | "minus" | "monitor" | "moon" | "more-horizontal" | "panel-left" | "pencil" | "plus" | "rocket" | "search" | "settings" | "shield" | "star" | "sun" | "trash" | "trending-down" | "trending-up" | "upload" | "user" | "users" | "x" | "x-circle">>;
|
|
85
|
+
private readonly el;
|
|
86
|
+
private readonly hasToasts;
|
|
87
|
+
constructor();
|
|
88
|
+
protected resumeUnlessFocused(): void;
|
|
89
|
+
protected resumeIfLeaving(event: FocusEvent): void;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToasterOutlet, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdToasterOutlet, "vd-toaster", never, {
|
|
92
|
+
"label": {
|
|
93
|
+
"alias": "label";
|
|
94
|
+
"required": false;
|
|
95
|
+
"isSignal": true;
|
|
96
|
+
};
|
|
97
|
+
"closeLabel": {
|
|
98
|
+
"alias": "closeLabel";
|
|
99
|
+
"required": false;
|
|
100
|
+
"isSignal": true;
|
|
101
|
+
};
|
|
102
|
+
}, {}, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
export type { VdToast, VdToastAction, VdToastInput, VdToastStoreOptions, VdToastVariant };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { VdOrientation } from "@vadem/ui/keyboard";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface ToolbarSnapshot {
|
|
4
|
+
items: readonly VdToolbarItem[];
|
|
5
|
+
unavailable: readonly boolean[];
|
|
6
|
+
}
|
|
7
|
+
/** A single keyboard stop for related button actions; consumers own activation. */
|
|
8
|
+
export declare class VdToolbar {
|
|
9
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
/** Text inputs resolved against the active VD_LOCALE. */
|
|
11
|
+
protected readonly t: import("@angular/core").Signal<Pick<{
|
|
12
|
+
label: string;
|
|
13
|
+
}, "label">>;
|
|
14
|
+
readonly orientation: import("@angular/core").InputSignal<VdOrientation>;
|
|
15
|
+
readonly element: HTMLElement;
|
|
16
|
+
private readonly document;
|
|
17
|
+
private readonly descendants;
|
|
18
|
+
readonly snapshot: import("@angular/core").Signal<ToolbarSnapshot>;
|
|
19
|
+
readonly active: import("@angular/core").WritableSignal<VdToolbarItem | null>;
|
|
20
|
+
private lastFocused;
|
|
21
|
+
constructor();
|
|
22
|
+
remember(item: VdToolbarItem): void;
|
|
23
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
24
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToolbar, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdToolbar, "[vdToolbar]", ["vdToolbar"], {
|
|
27
|
+
"label": {
|
|
28
|
+
"alias": "label";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
"orientation": {
|
|
33
|
+
"alias": "orientation";
|
|
34
|
+
"required": false;
|
|
35
|
+
"isSignal": true;
|
|
36
|
+
};
|
|
37
|
+
}, {}, ["descendants"], never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
/** Add beside vdButton; native Enter/Space, disabled/loading and click actions stay with Button. */
|
|
40
|
+
export declare class VdToolbarItem {
|
|
41
|
+
readonly hidden: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
42
|
+
readonly toolbar: VdToolbar;
|
|
43
|
+
readonly element: HTMLButtonElement;
|
|
44
|
+
private readonly button;
|
|
45
|
+
private readonly group;
|
|
46
|
+
readonly unavailable: import("@angular/core").Signal<boolean>;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToolbarItem, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdToolbarItem, "button[vdButton][vdToolbarItem]", never, {
|
|
49
|
+
"hidden": {
|
|
50
|
+
"alias": "hidden";
|
|
51
|
+
"required": false;
|
|
52
|
+
"isSignal": true;
|
|
53
|
+
};
|
|
54
|
+
}, {}, never, never, true, never>;
|
|
55
|
+
}
|
|
56
|
+
export declare class VdToolbarGroup {
|
|
57
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
58
|
+
readonly hidden: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
readonly toolbar: VdToolbar;
|
|
60
|
+
readonly parent: VdToolbarGroup | null;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToolbarGroup, never>;
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdToolbarGroup, "[vdToolbarGroup]", never, {
|
|
63
|
+
"label": {
|
|
64
|
+
"alias": "label";
|
|
65
|
+
"required": true;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
"hidden": {
|
|
69
|
+
"alias": "hidden";
|
|
70
|
+
"required": false;
|
|
71
|
+
"isSignal": true;
|
|
72
|
+
};
|
|
73
|
+
}, {}, never, never, true, never>;
|
|
74
|
+
}
|
|
75
|
+
export declare class VdToolbarSeparator {
|
|
76
|
+
protected readonly toolbar: VdToolbar;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToolbarSeparator, never>;
|
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdToolbarSeparator, "[vdToolbarSeparator]", never, {}, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
export declare const VD_TOOLBAR: readonly [typeof VdToolbar, typeof VdToolbarItem, typeof VdToolbarGroup, typeof VdToolbarSeparator];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type VdTooltipPlacement = 'top' | 'bottom' | 'start' | 'end';
|
|
3
|
+
/**
|
|
4
|
+
* Short plain-text tooltip on hover and keyboard focus. Rendered as a `popover="manual"`
|
|
5
|
+
* element in the top layer and positioned with CSS anchor positioning. Spec: specs/tooltip.md
|
|
6
|
+
*/
|
|
7
|
+
export declare class VdTooltip {
|
|
8
|
+
readonly vdTooltip: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly vdTooltipPlacement: import("@angular/core").InputSignal<VdTooltipPlacement>;
|
|
10
|
+
readonly vdTooltipDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
|
+
private readonly el;
|
|
12
|
+
private readonly id;
|
|
13
|
+
private readonly tip;
|
|
14
|
+
constructor();
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTooltip, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTooltip, "[vdTooltip]", never, {
|
|
17
|
+
"vdTooltip": {
|
|
18
|
+
"alias": "vdTooltip";
|
|
19
|
+
"required": true;
|
|
20
|
+
"isSignal": true;
|
|
21
|
+
};
|
|
22
|
+
"vdTooltipPlacement": {
|
|
23
|
+
"alias": "vdTooltipPlacement";
|
|
24
|
+
"required": false;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
"vdTooltipDelay": {
|
|
28
|
+
"alias": "vdTooltipDelay";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Framework-agnostic tooltip behavior for a trigger + a `popover="manual"` element:
|
|
36
|
+
* - hover shows after a delay (instantly while another tooltip was just open: "warm" state),
|
|
37
|
+
* keyboard focus (:focus-visible) shows immediately;
|
|
38
|
+
* - the tooltip itself is hoverable, so the pointer can move onto it (WCAG 1.4.13);
|
|
39
|
+
* - Escape hides it without moving focus; touch input never shows it.
|
|
40
|
+
*/
|
|
41
|
+
interface VdTooltipControllerOptions {
|
|
42
|
+
/** Hover delay before showing, ms. */
|
|
43
|
+
showDelay: number;
|
|
44
|
+
/** Grace period after the pointer leaves, ms. */
|
|
45
|
+
hideDelay: number;
|
|
46
|
+
}
|
|
47
|
+
export declare const VD_TOOLTIP_DEFAULTS: VdTooltipControllerOptions;
|
|
48
|
+
export declare class VdTooltipController {
|
|
49
|
+
private readonly trigger;
|
|
50
|
+
private readonly tooltip;
|
|
51
|
+
private readonly options;
|
|
52
|
+
private showTimer;
|
|
53
|
+
private hideTimer;
|
|
54
|
+
private hovering;
|
|
55
|
+
private focused;
|
|
56
|
+
constructor(trigger: HTMLElement, tooltip: HTMLElement, options?: VdTooltipControllerOptions);
|
|
57
|
+
get isOpen(): boolean;
|
|
58
|
+
show(): void;
|
|
59
|
+
hide(): void;
|
|
60
|
+
destroy(): void;
|
|
61
|
+
private readonly onEnter;
|
|
62
|
+
private readonly onLeave;
|
|
63
|
+
private readonly onFocusIn;
|
|
64
|
+
private readonly onFocusOut;
|
|
65
|
+
/** Pressing the trigger acts on it; the tooltip gets out of the way. */
|
|
66
|
+
private readonly onPress;
|
|
67
|
+
private readonly onKeydown;
|
|
68
|
+
}
|
|
69
|
+
/** Test helper: reset the shared warm-up state. */
|
|
70
|
+
export declare function vdResetTooltipWarmth(): void;
|
|
71
|
+
export type { VdTooltipControllerOptions, VdTooltipPlacement };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
interface VdTreeNode {
|
|
3
|
+
key: string;
|
|
4
|
+
parent: string | null;
|
|
5
|
+
expanded: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** Preorder visibility from a mounted hierarchy; collapsed ancestors hide descendants. */
|
|
9
|
+
declare function vdTreeVisible(nodes: readonly VdTreeNode[]): VdTreeNode[];
|
|
10
|
+
/** Prefer the current node or its closest visible ancestor, then selection or first node. */
|
|
11
|
+
declare function vdTreeFocusKey(nodes: readonly VdTreeNode[], current: string | null, selected: string | null): string | null;
|
|
12
|
+
type VdTreeAction = {
|
|
13
|
+
type: 'focus';
|
|
14
|
+
key: string;
|
|
15
|
+
} | {
|
|
16
|
+
type: 'expand';
|
|
17
|
+
key: string;
|
|
18
|
+
expanded: boolean;
|
|
19
|
+
} | {
|
|
20
|
+
type: 'select';
|
|
21
|
+
key: string;
|
|
22
|
+
};
|
|
23
|
+
/** RTL mirrors branch keys; disabled nodes are focusable but cannot be activated. */
|
|
24
|
+
declare function vdTreeAction(key: string, current: string, nodes: readonly VdTreeNode[], rtl?: boolean): VdTreeAction | null;
|
|
25
|
+
export declare class VdTree {
|
|
26
|
+
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
27
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
28
|
+
/** Text inputs resolved against the active VD_LOCALE. */
|
|
29
|
+
protected readonly t: import("@angular/core").Signal<Pick<{
|
|
30
|
+
label: string;
|
|
31
|
+
}, "label">>;
|
|
32
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
readonly element: HTMLElement;
|
|
34
|
+
private readonly document;
|
|
35
|
+
private readonly injector;
|
|
36
|
+
private readonly descendants;
|
|
37
|
+
readonly items: import("@angular/core").Signal<VdTreeItem[]>;
|
|
38
|
+
readonly nodes: import("@angular/core").Signal<{
|
|
39
|
+
key: string;
|
|
40
|
+
parent: string | null;
|
|
41
|
+
expanded: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
}[]>;
|
|
44
|
+
readonly visible: import("@angular/core").Signal<VdTreeNode[]>;
|
|
45
|
+
readonly focused: import("@angular/core").WritableSignal<string | null>;
|
|
46
|
+
private readonly typeahead;
|
|
47
|
+
private lastFocused;
|
|
48
|
+
constructor();
|
|
49
|
+
focus(key: string): void;
|
|
50
|
+
remember(item: VdTreeItem): void;
|
|
51
|
+
select(item: VdTreeItem): void;
|
|
52
|
+
toggle(item: VdTreeItem): void;
|
|
53
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
54
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTree, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTree, "ul[vdTree]", ["vdTree"], {
|
|
57
|
+
"value": {
|
|
58
|
+
"alias": "value";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
62
|
+
"label": {
|
|
63
|
+
"alias": "label";
|
|
64
|
+
"required": false;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"disabled": {
|
|
68
|
+
"alias": "disabled";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
"value": "valueChange";
|
|
74
|
+
}, ["descendants"], never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
export declare class VdTreeItem {
|
|
77
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
78
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
79
|
+
readonly expanded: import("@angular/core").ModelSignal<boolean>;
|
|
80
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
81
|
+
readonly tree: VdTree;
|
|
82
|
+
readonly parent: VdTreeItem | null;
|
|
83
|
+
readonly element: HTMLElement;
|
|
84
|
+
readonly branch: import("@angular/core").Signal<boolean>;
|
|
85
|
+
protected readonly labelId: string;
|
|
86
|
+
protected readonly selected: import("@angular/core").Signal<boolean>;
|
|
87
|
+
protected readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
88
|
+
protected readonly siblings: import("@angular/core").Signal<VdTreeItem[]>;
|
|
89
|
+
protected readonly position: import("@angular/core").Signal<number>;
|
|
90
|
+
readonly level: import("@angular/core").Signal<number>;
|
|
91
|
+
protected onClick(event: MouseEvent): void;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTreeItem, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdTreeItem, "li[vdTreeItem]", ["vdTreeItem"], {
|
|
94
|
+
"value": {
|
|
95
|
+
"alias": "value";
|
|
96
|
+
"required": true;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"label": {
|
|
100
|
+
"alias": "label";
|
|
101
|
+
"required": true;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"expanded": {
|
|
105
|
+
"alias": "expanded";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"disabled": {
|
|
110
|
+
"alias": "disabled";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
}, {
|
|
115
|
+
"expanded": "expandedChange";
|
|
116
|
+
}, never, ["*"], true, never>;
|
|
117
|
+
}
|
|
118
|
+
export declare class VdTreeGroup {
|
|
119
|
+
protected readonly parent: VdTreeItem;
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTreeGroup, never>;
|
|
121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTreeGroup, "ul[vdTreeGroup]", never, {}, {}, never, never, true, never>;
|
|
122
|
+
}
|
|
123
|
+
export declare const VD_TREE: readonly [typeof VdTree, typeof VdTreeItem, typeof VdTreeGroup];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type VdUploadStatus = 'queued' | 'uploading' | 'success' | 'error' | 'canceled';
|
|
3
|
+
interface VdUploadFile {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly status: VdUploadStatus;
|
|
7
|
+
readonly sizeText?: string;
|
|
8
|
+
readonly size?: number | null;
|
|
9
|
+
readonly progress?: number | null;
|
|
10
|
+
readonly message?: string;
|
|
11
|
+
}
|
|
12
|
+
interface VdUploadListLabels {
|
|
13
|
+
readonly status: Readonly<Record<VdUploadStatus, string>>;
|
|
14
|
+
readonly cancel: string;
|
|
15
|
+
readonly retry: string;
|
|
16
|
+
readonly remove: string;
|
|
17
|
+
readonly empty: string;
|
|
18
|
+
}
|
|
19
|
+
/** Controlled upload presentation. Consumers own requests and state transitions. */
|
|
20
|
+
export declare class VdUploadList {
|
|
21
|
+
readonly files: import("@angular/core").InputSignal<readonly VdUploadFile[]>;
|
|
22
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
/** Text inputs resolved against the active VD_LOCALE. */
|
|
24
|
+
protected readonly t: import("@angular/core").Signal<Pick<{
|
|
25
|
+
label: string;
|
|
26
|
+
}, "label">>;
|
|
27
|
+
readonly labels: import("@angular/core").InputSignal<VdUploadListLabels>;
|
|
28
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly fileCancel: import("@angular/core").OutputEmitterRef<string>;
|
|
30
|
+
readonly fileRetry: import("@angular/core").OutputEmitterRef<string>;
|
|
31
|
+
readonly fileRemove: import("@angular/core").OutputEmitterRef<string>;
|
|
32
|
+
private readonly el;
|
|
33
|
+
private focusedAction;
|
|
34
|
+
private focusedIndex;
|
|
35
|
+
constructor();
|
|
36
|
+
protected progressValue(file: VdUploadFile): number | null;
|
|
37
|
+
protected canRetry(file: VdUploadFile): boolean;
|
|
38
|
+
protected actionLabel(file: VdUploadFile): string;
|
|
39
|
+
protected rememberFocus(event: FocusEvent, index: number): void;
|
|
40
|
+
protected act(file: VdUploadFile): void;
|
|
41
|
+
protected remove(file: VdUploadFile): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdUploadList, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdUploadList, "ul[vdUploadList]", never, {
|
|
44
|
+
"files": {
|
|
45
|
+
"alias": "files";
|
|
46
|
+
"required": false;
|
|
47
|
+
"isSignal": true;
|
|
48
|
+
};
|
|
49
|
+
"label": {
|
|
50
|
+
"alias": "label";
|
|
51
|
+
"required": false;
|
|
52
|
+
"isSignal": true;
|
|
53
|
+
};
|
|
54
|
+
"labels": {
|
|
55
|
+
"alias": "labels";
|
|
56
|
+
"required": false;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"disabled": {
|
|
60
|
+
"alias": "disabled";
|
|
61
|
+
"required": false;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
}, {
|
|
65
|
+
"fileCancel": "fileCancel";
|
|
66
|
+
"fileRetry": "fileRetry";
|
|
67
|
+
"fileRemove": "fileRemove";
|
|
68
|
+
}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
export type { VdUploadFile, VdUploadListLabels, VdUploadStatus };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VD_VERSION = "0.0.1";
|