@frame-ui-ng/components 0.1.0-beta.0
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.md +9 -0
- package/README.md +31 -0
- package/accordion/src/styles/_vars.css +25 -0
- package/accordion/src/styles/accordion.css +87 -0
- package/alert/src/styles/_vars.css +28 -0
- package/alert/src/styles/alert.css +77 -0
- package/avatar/src/styles/_vars.css +34 -0
- package/avatar/src/styles/avatar.css +209 -0
- package/badge/src/styles/_vars.css +16 -0
- package/badge/src/styles/badge.css +125 -0
- package/breadcrumb/src/styles/_vars.css +16 -0
- package/breadcrumb/src/styles/breadcrumb.css +98 -0
- package/button/src/styles/_vars.css +20 -0
- package/button/src/styles/button-icon.css +18 -0
- package/button/src/styles/button-label.css +3 -0
- package/button/src/styles/button.css +243 -0
- package/button-group/src/styles/button-group.css +69 -0
- package/calendar/src/styles/_vars.css +29 -0
- package/calendar/src/styles/calendar.css +226 -0
- package/card/src/styles/_vars.css +17 -0
- package/card/src/styles/card.css +142 -0
- package/carousel/src/styles/_vars.css +7 -0
- package/carousel/src/styles/carousel.css +89 -0
- package/checkbox/src/styles/_vars.css +22 -0
- package/checkbox/src/styles/checkbox.css +95 -0
- package/collapsible/src/styles/_vars.css +13 -0
- package/collapsible/src/styles/collapsible.css +42 -0
- package/combobox/src/styles/_vars.css +60 -0
- package/combobox/src/styles/combobox.css +285 -0
- package/command/src/styles/_vars.css +37 -0
- package/command/src/styles/command.css +171 -0
- package/context-menu/src/styles/context-menu.css +5 -0
- package/date-picker/src/styles/_vars.css +29 -0
- package/date-picker/src/styles/date-picker.css +177 -0
- package/dropdown-menu/src/styles/_vars.css +34 -0
- package/dropdown-menu/src/styles/dropdown-menu-item.css +87 -0
- package/dropdown-menu/src/styles/dropdown-menu-motion.css +42 -0
- package/dropdown-menu/src/styles/dropdown-menu-panel.css +26 -0
- package/dropdown-menu/src/styles/dropdown-menu.css +4 -0
- package/empty/src/styles/_vars.css +23 -0
- package/empty/src/styles/empty.css +108 -0
- package/fesm2022/frame-ui-ng-components-accordion.mjs +268 -0
- package/fesm2022/frame-ui-ng-components-accordion.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-alert.mjs +102 -0
- package/fesm2022/frame-ui-ng-components-alert.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-avatar.mjs +197 -0
- package/fesm2022/frame-ui-ng-components-avatar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-badge.mjs +120 -0
- package/fesm2022/frame-ui-ng-components-badge.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-breadcrumb.mjs +156 -0
- package/fesm2022/frame-ui-ng-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-button-group.mjs +44 -0
- package/fesm2022/frame-ui-ng-components-button-group.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-button.mjs +150 -0
- package/fesm2022/frame-ui-ng-components-button.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-calendar.mjs +559 -0
- package/fesm2022/frame-ui-ng-components-calendar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-card.mjs +169 -0
- package/fesm2022/frame-ui-ng-components-card.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-carousel.mjs +454 -0
- package/fesm2022/frame-ui-ng-components-carousel.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-checkbox.mjs +83 -0
- package/fesm2022/frame-ui-ng-components-checkbox.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-collapsible.mjs +191 -0
- package/fesm2022/frame-ui-ng-components-collapsible.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-combobox.mjs +859 -0
- package/fesm2022/frame-ui-ng-components-combobox.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-command.mjs +658 -0
- package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-context-menu.mjs +579 -0
- package/fesm2022/frame-ui-ng-components-context-menu.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-date-picker.mjs +512 -0
- package/fesm2022/frame-ui-ng-components-date-picker.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +647 -0
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-empty.mjs +134 -0
- package/fesm2022/frame-ui-ng-components-empty.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-field.mjs +210 -0
- package/fesm2022/frame-ui-ng-components-field.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-forms.mjs +89 -0
- package/fesm2022/frame-ui-ng-components-forms.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-hover-card.mjs +412 -0
- package/fesm2022/frame-ui-ng-components-hover-card.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-input-otp.mjs +327 -0
- package/fesm2022/frame-ui-ng-components-input-otp.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-input.mjs +250 -0
- package/fesm2022/frame-ui-ng-components-input.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-item.mjs +207 -0
- package/fesm2022/frame-ui-ng-components-item.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-menubar.mjs +371 -0
- package/fesm2022/frame-ui-ng-components-menubar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-modal.mjs +525 -0
- package/fesm2022/frame-ui-ng-components-modal.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-navigation-menu.mjs +322 -0
- package/fesm2022/frame-ui-ng-components-navigation-menu.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-pagination.mjs +327 -0
- package/fesm2022/frame-ui-ng-components-pagination.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-popover.mjs +454 -0
- package/fesm2022/frame-ui-ng-components-popover.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-progress.mjs +96 -0
- package/fesm2022/frame-ui-ng-components-progress.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-radio-group.mjs +124 -0
- package/fesm2022/frame-ui-ng-components-radio-group.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-resizable.mjs +325 -0
- package/fesm2022/frame-ui-ng-components-resizable.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-select.mjs +434 -0
- package/fesm2022/frame-ui-ng-components-select.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-separator.mjs +51 -0
- package/fesm2022/frame-ui-ng-components-separator.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-sheet.mjs +514 -0
- package/fesm2022/frame-ui-ng-components-sheet.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-sidebar.mjs +628 -0
- package/fesm2022/frame-ui-ng-components-sidebar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-skeleton.mjs +46 -0
- package/fesm2022/frame-ui-ng-components-skeleton.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-slider.mjs +279 -0
- package/fesm2022/frame-ui-ng-components-slider.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-spinner.mjs +51 -0
- package/fesm2022/frame-ui-ng-components-spinner.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-switch.mjs +130 -0
- package/fesm2022/frame-ui-ng-components-switch.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-table.mjs +594 -0
- package/fesm2022/frame-ui-ng-components-table.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-tabs.mjs +208 -0
- package/fesm2022/frame-ui-ng-components-tabs.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-textarea.mjs +40 -0
- package/fesm2022/frame-ui-ng-components-textarea.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-toast.mjs +346 -0
- package/fesm2022/frame-ui-ng-components-toast.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-toggle.mjs +127 -0
- package/fesm2022/frame-ui-ng-components-toggle.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-tooltip.mjs +425 -0
- package/fesm2022/frame-ui-ng-components-tooltip.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs +321 -0
- package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components.mjs +10278 -0
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -0
- package/field/src/styles/_vars.css +20 -0
- package/field/src/styles/field.css +165 -0
- package/hover-card/src/styles/_vars.css +21 -0
- package/hover-card/src/styles/hover-card.css +76 -0
- package/input/src/styles/_vars.css +65 -0
- package/input/src/styles/input-group.css +112 -0
- package/input/src/styles/input.css +163 -0
- package/input-otp/src/styles/_vars.css +21 -0
- package/input-otp/src/styles/input-otp.css +116 -0
- package/item/src/styles/_vars.css +34 -0
- package/item/src/styles/item.css +187 -0
- package/menubar/src/styles/_vars.css +22 -0
- package/menubar/src/styles/menubar.css +70 -0
- package/modal/src/styles/_vars.css +18 -0
- package/modal/src/styles/modal.css +179 -0
- package/navigation-menu/src/styles/_vars.css +45 -0
- package/navigation-menu/src/styles/navigation-menu.css +245 -0
- package/package.json +243 -0
- package/pagination/src/styles/_vars.css +22 -0
- package/pagination/src/styles/pagination.css +138 -0
- package/popover/src/styles/_vars.css +24 -0
- package/popover/src/styles/popover.css +101 -0
- package/progress/src/styles/_vars.css +15 -0
- package/progress/src/styles/progress.css +64 -0
- package/radio-group/src/styles/_vars.css +29 -0
- package/radio-group/src/styles/radio-group.css +137 -0
- package/resizable/src/styles/_vars.css +20 -0
- package/resizable/src/styles/resizable.css +130 -0
- package/select/src/styles/_vars.css +28 -0
- package/select/src/styles/select-content.css +19 -0
- package/select/src/styles/select-feedback.css +6 -0
- package/select/src/styles/select-item.css +69 -0
- package/select/src/styles/select-trigger.css +95 -0
- package/select/src/styles/select.css +5 -0
- package/separator/src/styles/_vars.css +9 -0
- package/separator/src/styles/separator.css +25 -0
- package/sheet/src/styles/_vars.css +18 -0
- package/sheet/src/styles/sheet.css +215 -0
- package/sidebar/src/styles/_vars.css +24 -0
- package/sidebar/src/styles/sidebar.css +531 -0
- package/skeleton/src/styles/_vars.css +8 -0
- package/skeleton/src/styles/skeleton.css +40 -0
- package/slider/src/styles/_vars.css +17 -0
- package/slider/src/styles/slider.css +147 -0
- package/spinner/src/styles/_vars.css +9 -0
- package/spinner/src/styles/spinner.css +62 -0
- package/src/styles/components.css +47 -0
- package/styles/components.css +47 -0
- package/styles.css +49 -0
- package/switch/src/styles/_vars.css +34 -0
- package/switch/src/styles/switch.css +131 -0
- package/table/src/styles/_vars.css +25 -0
- package/table/src/styles/table.css +245 -0
- package/tabs/src/styles/_vars.css +23 -0
- package/tabs/src/styles/tabs.css +164 -0
- package/textarea/src/styles/_vars.css +20 -0
- package/textarea/src/styles/textarea.css +60 -0
- package/toast/src/styles/_vars.css +47 -0
- package/toast/src/styles/toast.css +314 -0
- package/toggle/src/styles/_vars.css +24 -0
- package/toggle/src/styles/toggle.css +110 -0
- package/tooltip/src/styles/_vars.css +21 -0
- package/tooltip/src/styles/tooltip.css +103 -0
- package/types/frame-ui-ng-components-accordion.d.ts +75 -0
- package/types/frame-ui-ng-components-alert.d.ts +30 -0
- package/types/frame-ui-ng-components-avatar.d.ts +65 -0
- package/types/frame-ui-ng-components-badge.d.ts +35 -0
- package/types/frame-ui-ng-components-breadcrumb.d.ts +40 -0
- package/types/frame-ui-ng-components-button-group.d.ts +18 -0
- package/types/frame-ui-ng-components-button.d.ts +50 -0
- package/types/frame-ui-ng-components-calendar.d.ts +101 -0
- package/types/frame-ui-ng-components-card.d.ts +51 -0
- package/types/frame-ui-ng-components-carousel.d.ts +117 -0
- package/types/frame-ui-ng-components-checkbox.d.ts +25 -0
- package/types/frame-ui-ng-components-collapsible.d.ts +55 -0
- package/types/frame-ui-ng-components-combobox.d.ts +201 -0
- package/types/frame-ui-ng-components-command.d.ts +198 -0
- package/types/frame-ui-ng-components-context-menu.d.ts +149 -0
- package/types/frame-ui-ng-components-date-picker.d.ts +95 -0
- package/types/frame-ui-ng-components-dropdown-menu.d.ts +182 -0
- package/types/frame-ui-ng-components-empty.d.ts +44 -0
- package/types/frame-ui-ng-components-field.d.ts +60 -0
- package/types/frame-ui-ng-components-forms.d.ts +39 -0
- package/types/frame-ui-ng-components-hover-card.d.ts +94 -0
- package/types/frame-ui-ng-components-input-otp.d.ts +70 -0
- package/types/frame-ui-ng-components-input.d.ts +67 -0
- package/types/frame-ui-ng-components-item.d.ts +62 -0
- package/types/frame-ui-ng-components-menubar.d.ts +76 -0
- package/types/frame-ui-ng-components-modal.d.ts +148 -0
- package/types/frame-ui-ng-components-navigation-menu.d.ts +74 -0
- package/types/frame-ui-ng-components-pagination.d.ts +79 -0
- package/types/frame-ui-ng-components-popover.d.ts +95 -0
- package/types/frame-ui-ng-components-progress.d.ts +24 -0
- package/types/frame-ui-ng-components-radio-group.d.ts +40 -0
- package/types/frame-ui-ng-components-resizable.d.ts +61 -0
- package/types/frame-ui-ng-components-select.d.ts +114 -0
- package/types/frame-ui-ng-components-separator.d.ts +19 -0
- package/types/frame-ui-ng-components-sheet.d.ts +146 -0
- package/types/frame-ui-ng-components-sidebar.d.ts +163 -0
- package/types/frame-ui-ng-components-skeleton.d.ts +18 -0
- package/types/frame-ui-ng-components-slider.d.ts +56 -0
- package/types/frame-ui-ng-components-spinner.d.ts +23 -0
- package/types/frame-ui-ng-components-switch.d.ts +38 -0
- package/types/frame-ui-ng-components-table.d.ts +125 -0
- package/types/frame-ui-ng-components-tabs.d.ts +62 -0
- package/types/frame-ui-ng-components-textarea.d.ts +14 -0
- package/types/frame-ui-ng-components-toast.d.ts +74 -0
- package/types/frame-ui-ng-components-toggle.d.ts +45 -0
- package/types/frame-ui-ng-components-tooltip.d.ts +99 -0
- package/types/frame-ui-ng-components-virtual-scroll.d.ts +106 -0
- package/types/frame-ui-ng-components.d.ts +2746 -0
- package/virtual-scroll/src/styles/virtual-scroll.css +54 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class FrAvatarBadge {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarBadge, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatarBadge, "[frAvatarBadge]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface FrAvatarContext {
|
|
10
|
+
readonly status: () => 'error' | 'idle' | 'loaded';
|
|
11
|
+
setStatus(status: 'error' | 'idle' | 'loaded'): void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class FrAvatarFallback {
|
|
15
|
+
protected readonly root: FrAvatarContext;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarFallback, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatarFallback, "[frAvatarFallback]", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class FrAvatarGroup {
|
|
21
|
+
readonly expandOnHover: i0.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
readonly size: i0.InputSignal<"xs" | "sm" | "md" | "lg">;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarGroup, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatarGroup, "[frAvatarGroup]", never, { "expandOnHover": { "alias": "expandOnHover"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
declare class FrAvatarGroupCount {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarGroupCount, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatarGroupCount, "[frAvatarGroupCount]", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class FrAvatarIcon {
|
|
32
|
+
protected readonly root: FrAvatarContext;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarIcon, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatarIcon, "[frAvatarIcon]", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class FrAvatarImage implements AfterViewInit {
|
|
38
|
+
private readonly host;
|
|
39
|
+
private readonly root;
|
|
40
|
+
ngAfterViewInit(): void;
|
|
41
|
+
protected handleLoad(): void;
|
|
42
|
+
protected handleError(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarImage, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatarImage, "img[frAvatarImage]", never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare class FrAvatar {
|
|
48
|
+
readonly size: i0.InputSignal<"xs" | "sm" | "md" | "lg">;
|
|
49
|
+
readonly status: i0.WritableSignal<"error" | "idle" | "loaded">;
|
|
50
|
+
setStatus(status: 'error' | 'idle' | 'loaded'): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatar, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrAvatar, "FrAvatar, [frAvatar]", ["frAvatar"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const FR_AVATAR_SIZES: readonly ["xs", "sm", "md", "lg"];
|
|
56
|
+
type FrAvatarSize = (typeof FR_AVATAR_SIZES)[number];
|
|
57
|
+
|
|
58
|
+
declare class FrAvatarModule {
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrAvatarModule, never>;
|
|
60
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrAvatarModule, never, [typeof FrAvatar, typeof FrAvatarBadge, typeof FrAvatarFallback, typeof FrAvatarGroup, typeof FrAvatarGroupCount, typeof FrAvatarIcon, typeof FrAvatarImage], [typeof FrAvatar, typeof FrAvatarBadge, typeof FrAvatarFallback, typeof FrAvatarGroup, typeof FrAvatarGroupCount, typeof FrAvatarIcon, typeof FrAvatarImage]>;
|
|
61
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrAvatarModule>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { FR_AVATAR_SIZES, FrAvatar, FrAvatarBadge, FrAvatarFallback, FrAvatarGroup, FrAvatarGroupCount, FrAvatarIcon, FrAvatarImage, FrAvatarModule };
|
|
65
|
+
export type { FrAvatarSize };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@frame-ui-ng/components/spinner';
|
|
3
|
+
|
|
4
|
+
declare const FR_BADGE_VARIANTS: readonly ["default", "secondary", "destructive", "outline", "ghost", "link"];
|
|
5
|
+
declare const FR_BADGE_ICON_POSITIONS: readonly ["inline-start", "inline-end"];
|
|
6
|
+
type FrBadgeVariant = (typeof FR_BADGE_VARIANTS)[number];
|
|
7
|
+
type FrBadgeIconPosition = (typeof FR_BADGE_ICON_POSITIONS)[number];
|
|
8
|
+
declare class FrBadge {
|
|
9
|
+
readonly variant: i0.InputSignal<"default" | "secondary" | "destructive" | "outline" | "ghost" | "link">;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBadge, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBadge, "[frBadge], frame-badge", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
declare class FrBadgeIcon {
|
|
14
|
+
readonly position: i0.InputSignal<"inline-start" | "inline-end">;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBadgeIcon, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBadgeIcon, "[frBadgeIcon]", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
declare class FrBadgeLabel {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBadgeLabel, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBadgeLabel, "[frBadgeLabel]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
declare class FrBadgeSpinner {
|
|
23
|
+
readonly position: i0.InputSignal<"inline-start" | "inline-end">;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBadgeSpinner, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBadgeSpinner, "[frBadgeSpinner]", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.FrSpinner; inputs: { "sizeValue": "sizeValue"; "decorative": "decorative"; "duration": "duration"; "label": "label"; "size": "size"; "stroke": "stroke"; }; outputs: {}; }]>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class FrBadgeModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBadgeModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrBadgeModule, never, [typeof FrBadge, typeof FrBadgeIcon, typeof FrBadgeLabel, typeof FrBadgeSpinner, typeof i1.FrSpinner], [typeof FrBadge, typeof FrBadgeIcon, typeof FrBadgeLabel, typeof FrBadgeSpinner]>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrBadgeModule>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { FR_BADGE_ICON_POSITIONS, FR_BADGE_VARIANTS, FrBadge, FrBadgeIcon, FrBadgeLabel, FrBadgeModule, FrBadgeSpinner };
|
|
35
|
+
export type { FrBadgeIconPosition, FrBadgeVariant };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class FrBreadcrumb {
|
|
4
|
+
readonly ariaLabel: i0.InputSignal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumb, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBreadcrumb, "nav[frBreadcrumb], [frBreadcrumb]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
declare class FrBreadcrumbList {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbList, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBreadcrumbList, "ol[frBreadcrumbList], ul[frBreadcrumbList], [frBreadcrumbList]", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
declare class FrBreadcrumbItem {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbItem, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBreadcrumbItem, "li[frBreadcrumbItem], [frBreadcrumbItem]", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
declare class FrBreadcrumbLink {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbLink, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBreadcrumbLink, "a[frBreadcrumbLink], [frBreadcrumbLink]", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
declare class FrBreadcrumbPage {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbPage, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBreadcrumbPage, "[frBreadcrumbPage]", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
declare class FrBreadcrumbSeparator {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbSeparator, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrBreadcrumbSeparator, "[frBreadcrumbSeparator]", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
declare class FrBreadcrumbEllipsis {
|
|
29
|
+
readonly label: i0.InputSignal<string>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbEllipsis, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FrBreadcrumbEllipsis, "[frBreadcrumbEllipsis], frame-breadcrumb-ellipsis", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class FrBreadcrumbModule {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrBreadcrumbModule, never>;
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrBreadcrumbModule, never, [typeof FrBreadcrumb, typeof FrBreadcrumbEllipsis, typeof FrBreadcrumbItem, typeof FrBreadcrumbLink, typeof FrBreadcrumbList, typeof FrBreadcrumbPage, typeof FrBreadcrumbSeparator], [typeof FrBreadcrumb, typeof FrBreadcrumbEllipsis, typeof FrBreadcrumbItem, typeof FrBreadcrumbLink, typeof FrBreadcrumbList, typeof FrBreadcrumbPage, typeof FrBreadcrumbSeparator]>;
|
|
37
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrBreadcrumbModule>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { FrBreadcrumb, FrBreadcrumbEllipsis, FrBreadcrumbItem, FrBreadcrumbLink, FrBreadcrumbList, FrBreadcrumbModule, FrBreadcrumbPage, FrBreadcrumbSeparator };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const FR_BUTTON_GROUP_ORIENTATIONS: readonly ["horizontal", "vertical"];
|
|
4
|
+
type FrButtonGroupOrientation = (typeof FR_BUTTON_GROUP_ORIENTATIONS)[number];
|
|
5
|
+
declare class FrButtonGroup {
|
|
6
|
+
readonly orientation: i0.InputSignal<"horizontal" | "vertical">;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButtonGroup, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrButtonGroup, "[frButtonGroup], frame-button-group", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class FrButtonGroupModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButtonGroupModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrButtonGroupModule, never, [typeof FrButtonGroup], [typeof FrButtonGroup]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrButtonGroupModule>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { FR_BUTTON_GROUP_ORIENTATIONS, FrButtonGroup, FrButtonGroupModule };
|
|
18
|
+
export type { FrButtonGroupOrientation };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const FR_BUTTON_APPEARANCES: readonly ["ghost", "outline", "primary"];
|
|
4
|
+
declare const FR_BUTTON_LOADING_DISPLAYS: readonly ["inline", "replace"];
|
|
5
|
+
declare const FR_BUTTON_RADII: readonly ["full", "lg", "md", "none", "sm"];
|
|
6
|
+
declare const FR_BUTTON_SIZES: readonly ["sm", "md", "lg"];
|
|
7
|
+
type FrButtonAppearance = (typeof FR_BUTTON_APPEARANCES)[number];
|
|
8
|
+
type FrButtonLoadingDisplay = (typeof FR_BUTTON_LOADING_DISPLAYS)[number];
|
|
9
|
+
type FrButtonRadius = (typeof FR_BUTTON_RADII)[number];
|
|
10
|
+
type FrButtonSize = (typeof FR_BUTTON_SIZES)[number];
|
|
11
|
+
declare class FrButton {
|
|
12
|
+
private readonly loadingIndicator;
|
|
13
|
+
private readonly spinnerIndicator;
|
|
14
|
+
readonly appearance: i0.InputSignal<"ghost" | "outline" | "primary">;
|
|
15
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
readonly loading: i0.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
readonly loadingDisplay: i0.InputSignal<"inline" | "replace">;
|
|
18
|
+
readonly radius: i0.InputSignal<"full" | "lg" | "md" | "none" | "sm">;
|
|
19
|
+
readonly size: i0.InputSignal<"lg" | "md" | "sm">;
|
|
20
|
+
protected readonly hasCustomLoadingIndicator: i0.Signal<boolean>;
|
|
21
|
+
protected readonly isUnavailable: i0.Signal<boolean>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButton, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrButton, "a[frButton], button[frButton]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDisplay": { "alias": "loadingDisplay"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["loadingIndicator", "spinnerIndicator"], never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
declare class FrIconButton {
|
|
26
|
+
readonly ariaLabel: i0.InputSignal<string | null>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrIconButton, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrIconButton, "a[frIconButton], button[frIconButton]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof FrButton; inputs: { "appearance": "appearance"; "disabled": "disabled"; "loading": "loading"; "loadingDisplay": "loadingDisplay"; "radius": "radius"; "size": "size"; }; outputs: {}; }]>;
|
|
29
|
+
}
|
|
30
|
+
declare class FrButtonIcon {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButtonIcon, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrButtonIcon, "[frButtonIcon]", never, {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
declare class FrButtonLabel {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButtonLabel, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrButtonLabel, "[frButtonLabel]", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
declare class FrButtonLoading {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButtonLoading, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrButtonLoading, "[frButtonLoading]", never, {}, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class FrButtonModule {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrButtonModule, never>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrButtonModule, never, [typeof FrButton, typeof FrButtonIcon, typeof FrButtonLabel, typeof FrButtonLoading, typeof FrIconButton], [typeof FrButton, typeof FrButtonIcon, typeof FrButtonLabel, typeof FrButtonLoading, typeof FrIconButton]>;
|
|
46
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrButtonModule>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { FR_BUTTON_APPEARANCES, FR_BUTTON_LOADING_DISPLAYS, FR_BUTTON_RADII, FR_BUTTON_SIZES, FrButton, FrButtonIcon, FrButtonLabel, FrButtonLoading, FrButtonModule, FrIconButton };
|
|
50
|
+
export type { FrButtonAppearance, FrButtonLoadingDisplay, FrButtonRadius, FrButtonSize };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
|
|
5
|
+
type FrCalendarMode = 'single' | 'range';
|
|
6
|
+
type FrCalendarCaptionLayout = 'label' | 'dropdown';
|
|
7
|
+
type FrCalendarDateRange = {
|
|
8
|
+
from: Date | null;
|
|
9
|
+
to: Date | null;
|
|
10
|
+
};
|
|
11
|
+
type FrCalendarCellContext = {
|
|
12
|
+
date: Date;
|
|
13
|
+
day: number;
|
|
14
|
+
dateLabel?: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
disabledDate: boolean;
|
|
17
|
+
outside: boolean;
|
|
18
|
+
selected: boolean;
|
|
19
|
+
today: boolean;
|
|
20
|
+
};
|
|
21
|
+
type FrCalendarDisabledMatcher = (date: Date) => boolean;
|
|
22
|
+
type CalendarDay = FrCalendarCellContext & {
|
|
23
|
+
key: string;
|
|
24
|
+
rangeEnd: boolean;
|
|
25
|
+
rangeMiddle: boolean;
|
|
26
|
+
rangeStart: boolean;
|
|
27
|
+
};
|
|
28
|
+
type CalendarMonth = {
|
|
29
|
+
date: Date;
|
|
30
|
+
key: string;
|
|
31
|
+
label: string;
|
|
32
|
+
weeks: CalendarDay[][];
|
|
33
|
+
};
|
|
34
|
+
declare class FrCalendar implements ControlValueAccessor {
|
|
35
|
+
readonly mode: _angular_core.InputSignal<FrCalendarMode>;
|
|
36
|
+
readonly captionLayout: _angular_core.InputSignal<FrCalendarCaptionLayout>;
|
|
37
|
+
readonly numberOfMonths: _angular_core.InputSignal<number>;
|
|
38
|
+
readonly firstDayOfWeek: _angular_core.InputSignal<number>;
|
|
39
|
+
readonly locale: _angular_core.InputSignal<string>;
|
|
40
|
+
readonly timeZone: _angular_core.InputSignal<string | undefined>;
|
|
41
|
+
readonly dir: _angular_core.InputSignal<"ltr" | "rtl">;
|
|
42
|
+
readonly fromYear: _angular_core.InputSignal<number>;
|
|
43
|
+
readonly toYear: _angular_core.InputSignal<number>;
|
|
44
|
+
readonly showOutsideDays: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
45
|
+
readonly showWeekNumber: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
46
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
47
|
+
readonly disabledDates: _angular_core.InputSignal<Date[]>;
|
|
48
|
+
readonly dateLabels: _angular_core.InputSignal<Record<string, string>>;
|
|
49
|
+
readonly disabledMatcher: _angular_core.InputSignal<FrCalendarDisabledMatcher | null>;
|
|
50
|
+
readonly cellTemplate: _angular_core.InputSignal<TemplateRef<FrCalendarCellContext> | null>;
|
|
51
|
+
readonly previousMonthTemplate: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
52
|
+
readonly nextMonthTemplate: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
53
|
+
readonly previousMonthIcon: _angular_core.InputSignal<string>;
|
|
54
|
+
readonly nextMonthIcon: _angular_core.InputSignal<string>;
|
|
55
|
+
readonly previousMonthLabel: _angular_core.InputSignal<string>;
|
|
56
|
+
readonly nextMonthLabel: _angular_core.InputSignal<string>;
|
|
57
|
+
readonly month: _angular_core.InputSignal<Date | null | undefined>;
|
|
58
|
+
readonly selected: _angular_core.InputSignal<Date | FrCalendarDateRange | null | undefined>;
|
|
59
|
+
readonly selectedChange: _angular_core.OutputEmitterRef<Date | FrCalendarDateRange | null>;
|
|
60
|
+
readonly monthChange: _angular_core.OutputEmitterRef<Date>;
|
|
61
|
+
private readonly navigatedMonth;
|
|
62
|
+
private readonly internalValue;
|
|
63
|
+
private readonly cvaDisabled;
|
|
64
|
+
readonly currentMonth: _angular_core.Signal<Date>;
|
|
65
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
66
|
+
readonly value: _angular_core.Signal<Date | FrCalendarDateRange | null>;
|
|
67
|
+
readonly weekdayLabels: _angular_core.Signal<string[]>;
|
|
68
|
+
readonly monthOptions: _angular_core.Signal<{
|
|
69
|
+
value: number;
|
|
70
|
+
label: string;
|
|
71
|
+
}[]>;
|
|
72
|
+
readonly yearOptions: _angular_core.Signal<number[]>;
|
|
73
|
+
readonly months: _angular_core.Signal<CalendarMonth[]>;
|
|
74
|
+
private onTouched;
|
|
75
|
+
private onChange;
|
|
76
|
+
writeValue(value: Date | FrCalendarDateRange | null): void;
|
|
77
|
+
registerOnChange(fn: (value: Date | FrCalendarDateRange | null) => void): void;
|
|
78
|
+
registerOnTouched(fn: () => void): void;
|
|
79
|
+
setDisabledState(isDisabled: boolean): void;
|
|
80
|
+
previousMonth(): void;
|
|
81
|
+
nextMonth(): void;
|
|
82
|
+
setMonth(value: string): void;
|
|
83
|
+
setYear(value: string): void;
|
|
84
|
+
selectDay(day: CalendarDay): void;
|
|
85
|
+
monthLabel(date: Date): string;
|
|
86
|
+
dayLabel(date: Date): string;
|
|
87
|
+
weekNumber(date: Date): string;
|
|
88
|
+
private updateMonth;
|
|
89
|
+
private buildMonth;
|
|
90
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCalendar, never>;
|
|
91
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrCalendar, "frame-calendar", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "captionLayout": { "alias": "captionLayout"; "required": false; "isSignal": true; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "fromYear": { "alias": "fromYear"; "required": false; "isSignal": true; }; "toYear": { "alias": "toYear"; "required": false; "isSignal": true; }; "showOutsideDays": { "alias": "showOutsideDays"; "required": false; "isSignal": true; }; "showWeekNumber": { "alias": "showWeekNumber"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "dateLabels": { "alias": "dateLabels"; "required": false; "isSignal": true; }; "disabledMatcher": { "alias": "disabledMatcher"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "previousMonthTemplate": { "alias": "previousMonthTemplate"; "required": false; "isSignal": true; }; "nextMonthTemplate": { "alias": "nextMonthTemplate"; "required": false; "isSignal": true; }; "previousMonthIcon": { "alias": "previousMonthIcon"; "required": false; "isSignal": true; }; "nextMonthIcon": { "alias": "nextMonthIcon"; "required": false; "isSignal": true; }; "previousMonthLabel": { "alias": "previousMonthLabel"; "required": false; "isSignal": true; }; "nextMonthLabel": { "alias": "nextMonthLabel"; "required": false; "isSignal": true; }; "month": { "alias": "month"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selectedChange": "selectedChange"; "monthChange": "monthChange"; }, never, never, true, never>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare class FrCalendarModule {
|
|
95
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCalendarModule, never>;
|
|
96
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrCalendarModule, never, [typeof FrCalendar], [typeof FrCalendar]>;
|
|
97
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrCalendarModule>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export { FrCalendar, FrCalendarModule };
|
|
101
|
+
export type { FrCalendarCaptionLayout, FrCalendarCellContext, FrCalendarDateRange, FrCalendarDisabledMatcher, FrCalendarMode };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const FR_CARD_SIZES: readonly ["default", "sm"];
|
|
4
|
+
declare const FR_CARD_SPACINGS: readonly ["sm", "md", "lg", "xl"];
|
|
5
|
+
declare const FR_CARD_FOOTER_ALIGNS: readonly ["start", "end", "between"];
|
|
6
|
+
type FrCardSize = (typeof FR_CARD_SIZES)[number];
|
|
7
|
+
type FrCardSpacing = (typeof FR_CARD_SPACINGS)[number];
|
|
8
|
+
type FrCardFooterAlign = (typeof FR_CARD_FOOTER_ALIGNS)[number];
|
|
9
|
+
declare class FrCard {
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
readonly size: i0.InputSignal<"default" | "sm">;
|
|
13
|
+
readonly spacing: i0.InputSignal<"sm" | "md" | "lg" | "xl" | null>;
|
|
14
|
+
constructor();
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCard, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCard, "[frCard], frame-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
declare class FrCardHeader {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardHeader, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCardHeader, "[frCardHeader]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
declare class FrCardTitle {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardTitle, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCardTitle, "[frCardTitle]", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
declare class FrCardDescription {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardDescription, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCardDescription, "[frCardDescription]", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
declare class FrCardAction {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardAction, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCardAction, "[frCardAction]", never, {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
declare class FrCardContent {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardContent, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCardContent, "[frCardContent]", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
declare class FrCardFooter {
|
|
39
|
+
readonly align: i0.InputSignal<"start" | "end" | "between">;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardFooter, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCardFooter, "[frCardFooter]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class FrCardModule {
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCardModule, never>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrCardModule, never, [typeof FrCard, typeof FrCardAction, typeof FrCardContent, typeof FrCardDescription, typeof FrCardFooter, typeof FrCardHeader, typeof FrCardTitle], [typeof FrCard, typeof FrCardAction, typeof FrCardContent, typeof FrCardDescription, typeof FrCardFooter, typeof FrCardHeader, typeof FrCardTitle]>;
|
|
47
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrCardModule>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { FR_CARD_FOOTER_ALIGNS, FR_CARD_SIZES, FR_CARD_SPACINGS, FrCard, FrCardAction, FrCardContent, FrCardDescription, FrCardFooter, FrCardHeader, FrCardModule, FrCardTitle };
|
|
51
|
+
export type { FrCardFooterAlign, FrCardSize, FrCardSpacing };
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit } from '@angular/core';
|
|
3
|
+
import * as i1 from '@frame-ui-ng/components/button';
|
|
4
|
+
|
|
5
|
+
declare const FR_CAROUSEL_ORIENTATIONS: readonly ["horizontal", "vertical"];
|
|
6
|
+
declare const FR_CAROUSEL_ALIGNS: readonly ["start", "center", "end"];
|
|
7
|
+
declare const FR_CAROUSEL_DIRECTIONS: readonly ["ltr", "rtl"];
|
|
8
|
+
type FrCarouselOrientation = (typeof FR_CAROUSEL_ORIENTATIONS)[number];
|
|
9
|
+
type FrCarouselAlign = (typeof FR_CAROUSEL_ALIGNS)[number];
|
|
10
|
+
type FrCarouselDirection = (typeof FR_CAROUSEL_DIRECTIONS)[number];
|
|
11
|
+
type FrCarouselEvent = 'init' | 'select' | 'reInit';
|
|
12
|
+
type FrCarouselPlugin = (api: FrCarouselApi) => void | (() => void);
|
|
13
|
+
type FrCarouselOptions = {
|
|
14
|
+
align?: FrCarouselAlign;
|
|
15
|
+
direction?: FrCarouselDirection;
|
|
16
|
+
loop?: boolean;
|
|
17
|
+
};
|
|
18
|
+
type FrCarouselApi = {
|
|
19
|
+
canScrollNext: () => boolean;
|
|
20
|
+
canScrollPrev: () => boolean;
|
|
21
|
+
scrollNext: () => void;
|
|
22
|
+
scrollPrev: () => void;
|
|
23
|
+
scrollTo: (index: number) => void;
|
|
24
|
+
scrollSnapList: () => number[];
|
|
25
|
+
selectedScrollSnap: () => number;
|
|
26
|
+
on: (event: FrCarouselEvent, callback: () => void) => () => void;
|
|
27
|
+
};
|
|
28
|
+
declare class FrCarousel implements AfterViewInit {
|
|
29
|
+
private readonly destroyRef;
|
|
30
|
+
private readonly listeners;
|
|
31
|
+
private readonly pluginCleanups;
|
|
32
|
+
private loopResetTimer;
|
|
33
|
+
private loopResetScrollEndCleanup;
|
|
34
|
+
private scrollSyncTimer;
|
|
35
|
+
private isProgrammaticScroll;
|
|
36
|
+
private loopBoundaryClone;
|
|
37
|
+
private contentElement;
|
|
38
|
+
private itemElements;
|
|
39
|
+
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
40
|
+
readonly loop: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
42
|
+
readonly opts: _angular_core.InputSignal<FrCarouselOptions | null>;
|
|
43
|
+
readonly plugins: _angular_core.InputSignal<readonly FrCarouselPlugin[]>;
|
|
44
|
+
readonly apiReady: _angular_core.OutputEmitterRef<FrCarouselApi>;
|
|
45
|
+
readonly selectedChange: _angular_core.OutputEmitterRef<number>;
|
|
46
|
+
readonly selectedIndex: _angular_core.WritableSignal<number>;
|
|
47
|
+
readonly snapCount: _angular_core.WritableSignal<number>;
|
|
48
|
+
protected readonly effectiveAlign: _angular_core.Signal<"start" | "center" | "end">;
|
|
49
|
+
protected readonly effectiveDirection: _angular_core.Signal<"ltr" | "rtl">;
|
|
50
|
+
private readonly effectiveLoop;
|
|
51
|
+
readonly api: FrCarouselApi;
|
|
52
|
+
constructor();
|
|
53
|
+
ngAfterViewInit(): void;
|
|
54
|
+
registerContent(element: HTMLElement): void;
|
|
55
|
+
registerItem(element: HTMLElement): void;
|
|
56
|
+
unregisterItem(element: HTMLElement): void;
|
|
57
|
+
canScrollPrev(): boolean;
|
|
58
|
+
canScrollNext(): boolean;
|
|
59
|
+
scrollPrev(): void;
|
|
60
|
+
scrollNext(): void;
|
|
61
|
+
scrollTo(index: number): void;
|
|
62
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
63
|
+
private on;
|
|
64
|
+
private emit;
|
|
65
|
+
private recalculate;
|
|
66
|
+
private syncSelectedFromScroll;
|
|
67
|
+
private scrollItemIntoView;
|
|
68
|
+
private getItemScrollOffset;
|
|
69
|
+
private getCurrentScrollOffset;
|
|
70
|
+
private getMaxScrollOffset;
|
|
71
|
+
private scrollLoopBoundary;
|
|
72
|
+
private createLoopClone;
|
|
73
|
+
private removeLoopClone;
|
|
74
|
+
private clearLoopResetTimer;
|
|
75
|
+
private scheduleLoopReset;
|
|
76
|
+
private pauseScrollSync;
|
|
77
|
+
private clearScrollSyncTimer;
|
|
78
|
+
private setSelectedIndex;
|
|
79
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCarousel, never>;
|
|
80
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrCarousel, "[frCarousel], frame-carousel", ["frCarousel"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "opts": { "alias": "opts"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, { "apiReady": "apiReady"; "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
81
|
+
}
|
|
82
|
+
declare class FrCarouselContent implements AfterViewInit {
|
|
83
|
+
protected readonly carousel: FrCarousel;
|
|
84
|
+
private readonly elementRef;
|
|
85
|
+
ngAfterViewInit(): void;
|
|
86
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCarouselContent, never>;
|
|
87
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrCarouselContent, "[frCarouselContent]", never, {}, {}, never, never, true, never>;
|
|
88
|
+
}
|
|
89
|
+
declare class FrCarouselItem implements AfterViewInit {
|
|
90
|
+
private readonly carousel;
|
|
91
|
+
private readonly destroyRef;
|
|
92
|
+
private readonly elementRef;
|
|
93
|
+
ngAfterViewInit(): void;
|
|
94
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCarouselItem, never>;
|
|
95
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrCarouselItem, "[frCarouselItem]", never, {}, {}, never, never, true, never>;
|
|
96
|
+
}
|
|
97
|
+
declare class FrCarouselPrevious {
|
|
98
|
+
protected readonly carousel: FrCarousel;
|
|
99
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
100
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCarouselPrevious, never>;
|
|
101
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrCarouselPrevious, "button[frCarouselPrevious]", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.FrButton; inputs: { "appearance": "appearance"; "disabled": "disabled"; "radius": "radius"; "size": "size"; }; outputs: {}; }]>;
|
|
102
|
+
}
|
|
103
|
+
declare class FrCarouselNext {
|
|
104
|
+
protected readonly carousel: FrCarousel;
|
|
105
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCarouselNext, never>;
|
|
107
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrCarouselNext, "button[frCarouselNext]", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.FrButton; inputs: { "appearance": "appearance"; "disabled": "disabled"; "radius": "radius"; "size": "size"; }; outputs: {}; }]>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare class FrCarouselModule {
|
|
111
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrCarouselModule, never>;
|
|
112
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrCarouselModule, never, [typeof FrCarousel, typeof FrCarouselContent, typeof FrCarouselItem, typeof FrCarouselNext, typeof FrCarouselPrevious], [typeof FrCarousel, typeof FrCarouselContent, typeof FrCarouselItem, typeof FrCarouselNext, typeof FrCarouselPrevious]>;
|
|
113
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrCarouselModule>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export { FR_CAROUSEL_ALIGNS, FR_CAROUSEL_DIRECTIONS, FR_CAROUSEL_ORIENTATIONS, FrCarousel, FrCarouselContent, FrCarouselItem, FrCarouselModule, FrCarouselNext, FrCarouselPrevious };
|
|
117
|
+
export type { FrCarouselAlign, FrCarouselApi, FrCarouselDirection, FrCarouselEvent, FrCarouselOptions, FrCarouselOrientation, FrCarouselPlugin };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class FrCheckbox {
|
|
4
|
+
private readonly elementRef;
|
|
5
|
+
readonly indeterminate: i0.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCheckbox, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCheckbox, "input[type=checkbox][frCheckbox]", never, { "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
declare class FrCheckboxField {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCheckboxField, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCheckboxField, "label[frCheckboxField]", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
declare class FrCheckboxLabel {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCheckboxLabel, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCheckboxLabel, "[frCheckboxLabel]", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class FrCheckboxModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCheckboxModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrCheckboxModule, never, [typeof FrCheckbox, typeof FrCheckboxField, typeof FrCheckboxLabel], [typeof FrCheckbox, typeof FrCheckboxField, typeof FrCheckboxLabel]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrCheckboxModule>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { FrCheckbox, FrCheckboxField, FrCheckboxLabel, FrCheckboxModule };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
interface FrCollapsibleContext {
|
|
5
|
+
readonly contentId: Signal<string>;
|
|
6
|
+
readonly disabled: Signal<boolean>;
|
|
7
|
+
readonly open: Signal<boolean>;
|
|
8
|
+
readonly triggerId: Signal<string>;
|
|
9
|
+
toggle(): void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare class FrCollapsibleContent {
|
|
13
|
+
private readonly host;
|
|
14
|
+
protected readonly collapsible: FrCollapsibleContext;
|
|
15
|
+
private initialized;
|
|
16
|
+
private rafId;
|
|
17
|
+
constructor();
|
|
18
|
+
onTransitionEnd(event: TransitionEvent): void;
|
|
19
|
+
private animate;
|
|
20
|
+
private applyStaticState;
|
|
21
|
+
private cancelAnimationFrame;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCollapsibleContent, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCollapsibleContent, "[frCollapsibleContent]", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class FrCollapsible {
|
|
27
|
+
private readonly collapsibleId;
|
|
28
|
+
private readonly internalOpen;
|
|
29
|
+
readonly defaultOpen: i0.InputSignalWithTransform<boolean, unknown>;
|
|
30
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly openInput: i0.InputSignal<boolean | undefined>;
|
|
32
|
+
readonly openChange: i0.OutputEmitterRef<boolean>;
|
|
33
|
+
readonly open: i0.Signal<boolean>;
|
|
34
|
+
readonly triggerId: i0.Signal<string>;
|
|
35
|
+
readonly contentId: i0.Signal<string>;
|
|
36
|
+
constructor();
|
|
37
|
+
toggle(): void;
|
|
38
|
+
setOpen(open: boolean): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCollapsible, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCollapsible, "[frCollapsible], frame-collapsible", ["frCollapsible"], { "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "openInput": { "alias": "open"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class FrCollapsibleTrigger {
|
|
44
|
+
protected readonly collapsible: FrCollapsibleContext;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCollapsibleTrigger, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrCollapsibleTrigger, "button[frCollapsibleTrigger]", never, {}, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class FrCollapsibleModule {
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrCollapsibleModule, never>;
|
|
51
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrCollapsibleModule, never, [typeof FrCollapsible, typeof FrCollapsibleContent, typeof FrCollapsibleTrigger], [typeof FrCollapsible, typeof FrCollapsibleContent, typeof FrCollapsibleTrigger]>;
|
|
52
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrCollapsibleModule>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { FrCollapsible, FrCollapsibleContent, FrCollapsibleModule, FrCollapsibleTrigger };
|