@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,67 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class FrInput {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInput, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInput, "input[frInput]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
7
|
+
declare class FrInputField {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputField, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputField, "[frInputField], frame-input-field", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
declare class FrInputHeader {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputHeader, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputHeader, "[frInputHeader], frame-input-header", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
declare class FrInputControl {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputControl, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputControl, "[frInputControl], frame-input-control", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
declare class FrInputFieldGroup {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputFieldGroup, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputFieldGroup, "[frInputFieldGroup], frame-input-field-group", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
declare class FrInputLabel {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputLabel, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputLabel, "[frInputLabel], frame-input-label", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
declare class FrInputDescription {
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputDescription, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputDescription, "[frInputDescription], frame-input-description", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
declare class FrInputError {
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputError, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputError, "[frInputError], frame-input-error", never, {}, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
declare class FrInputBadge {
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputBadge, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputBadge, "[frInputBadge], frame-input-badge", never, {}, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare const FR_INPUT_GROUP_ADDON_ALIGNS: readonly ["inline-start", "inline-end"];
|
|
41
|
+
type FrInputGroupAddonAlign = (typeof FR_INPUT_GROUP_ADDON_ALIGNS)[number];
|
|
42
|
+
declare class FrInputGroup {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputGroup, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputGroup, "[frInputGroup], frame-input-group", never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
declare class FrInputGroupAddon {
|
|
47
|
+
readonly align: i0.InputSignal<"inline-start" | "inline-end">;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputGroupAddon, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputGroupAddon, "[frInputGroupAddon], frame-input-group-addon", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
declare class FrInputGroupText {
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputGroupText, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputGroupText, "[frInputGroupText], frame-input-group-text", never, {}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
declare class FrInputGroupInput {
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputGroupInput, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrInputGroupInput, "input[frInputGroupInput]", never, {}, {}, never, never, true, [{ directive: typeof FrInput; inputs: {}; outputs: {}; }]>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class FrInputModule {
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrInputModule, never>;
|
|
62
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrInputModule, never, [typeof FrInput, typeof FrInputBadge, typeof FrInputControl, typeof FrInputDescription, typeof FrInputError, typeof FrInputField, typeof FrInputFieldGroup, typeof FrInputGroup, typeof FrInputGroupAddon, typeof FrInputGroupInput, typeof FrInputGroupText, typeof FrInputHeader, typeof FrInputLabel], [typeof FrInput, typeof FrInputBadge, typeof FrInputControl, typeof FrInputDescription, typeof FrInputError, typeof FrInputField, typeof FrInputFieldGroup, typeof FrInputGroup, typeof FrInputGroupAddon, typeof FrInputGroupInput, typeof FrInputGroupText, typeof FrInputHeader, typeof FrInputLabel]>;
|
|
63
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrInputModule>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { FR_INPUT_GROUP_ADDON_ALIGNS, FrInput, FrInputBadge, FrInputControl, FrInputDescription, FrInputError, FrInputField, FrInputFieldGroup, FrInputGroup, FrInputGroupAddon, FrInputGroupInput, FrInputGroupText, FrInputHeader, FrInputLabel, FrInputModule };
|
|
67
|
+
export type { FrInputGroupAddonAlign };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const FR_ITEM_VARIANTS: readonly ["default", "outline", "muted"];
|
|
4
|
+
declare const FR_ITEM_SIZES: readonly ["default", "sm", "xs"];
|
|
5
|
+
declare const FR_ITEM_MEDIA_VARIANTS: readonly ["default", "icon", "image", "avatar"];
|
|
6
|
+
type FrItemVariant = (typeof FR_ITEM_VARIANTS)[number];
|
|
7
|
+
type FrItemSize = (typeof FR_ITEM_SIZES)[number];
|
|
8
|
+
type FrItemMediaVariant = (typeof FR_ITEM_MEDIA_VARIANTS)[number];
|
|
9
|
+
declare class FrItem {
|
|
10
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly interactive: i0.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly size: i0.InputSignal<"default" | "sm" | "xs">;
|
|
13
|
+
readonly variant: i0.InputSignal<"default" | "outline" | "muted">;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItem, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItem, "[frItem], frame-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
declare class FrItemGroup {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemGroup, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemGroup, "[frItemGroup], frame-item-group", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
declare class FrItemSeparator {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemSeparator, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemSeparator, "[frItemSeparator], frame-item-separator", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
declare class FrItemHeader {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemHeader, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemHeader, "[frItemHeader], frame-item-header", never, {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
declare class FrItemMedia {
|
|
30
|
+
readonly variant: i0.InputSignal<"default" | "icon" | "image" | "avatar">;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemMedia, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemMedia, "[frItemMedia], frame-item-media", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
declare class FrItemContent {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemContent, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemContent, "[frItemContent], frame-item-content", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
declare class FrItemTitle {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemTitle, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemTitle, "[frItemTitle], frame-item-title", never, {}, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
declare class FrItemDescription {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemDescription, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemDescription, "[frItemDescription], frame-item-description", never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
declare class FrItemActions {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemActions, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemActions, "[frItemActions], frame-item-actions", never, {}, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
declare class FrItemFooter {
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemFooter, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrItemFooter, "[frItemFooter], frame-item-footer", never, {}, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class FrItemModule {
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrItemModule, never>;
|
|
57
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrItemModule, never, [typeof FrItem, typeof FrItemActions, typeof FrItemContent, typeof FrItemDescription, typeof FrItemFooter, typeof FrItemGroup, typeof FrItemHeader, typeof FrItemMedia, typeof FrItemSeparator, typeof FrItemTitle], [typeof FrItem, typeof FrItemActions, typeof FrItemContent, typeof FrItemDescription, typeof FrItemFooter, typeof FrItemGroup, typeof FrItemHeader, typeof FrItemMedia, typeof FrItemSeparator, typeof FrItemTitle]>;
|
|
58
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrItemModule>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { FR_ITEM_MEDIA_VARIANTS, FR_ITEM_SIZES, FR_ITEM_VARIANTS, FrItem, FrItemActions, FrItemContent, FrItemDescription, FrItemFooter, FrItemGroup, FrItemHeader, FrItemMedia, FrItemModule, FrItemSeparator, FrItemTitle };
|
|
62
|
+
export type { FrItemMediaVariant, FrItemSize, FrItemVariant };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as i1 from '@frame-ui-ng/components/dropdown-menu';
|
|
4
|
+
import { FrDropdownMenuParent, FrDropdownMenuContent } from '@frame-ui-ng/components/dropdown-menu';
|
|
5
|
+
|
|
6
|
+
declare const FR_MENUBAR_PARENT: InjectionToken<FrMenuBar>;
|
|
7
|
+
declare class FrMenuBar implements FrDropdownMenuParent {
|
|
8
|
+
readonly closeDelay: i0.InputSignal<number>;
|
|
9
|
+
readonly triggerMode: i0.InputSignal<"both" | "click" | "hover">;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBar, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBar, "[frMenuBar], frame-menubar", never, { "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "triggerMode": { "alias": "triggerMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
declare class FrMenuBarMenu {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarMenu, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarMenu, "[frMenuBarMenu], frame-menubar-menu", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
declare class FrMenuBarTrigger {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarTrigger, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarTrigger, "[frMenuBarTrigger]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuTrigger; inputs: { "frDropdownMenuTrigger": "frMenuBarTrigger"; "triggerMode": "triggerMode"; }; outputs: {}; }]>;
|
|
20
|
+
}
|
|
21
|
+
declare class FrMenuBarContent extends FrDropdownMenuContent {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarContent, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarContent, "ng-template[frMenuBarContent], ng-template[frMenuBarSubContent]", ["frMenuBarContent"], {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
declare class FrMenuBarPanel {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarPanel, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarPanel, "[frMenuBarPanel]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuPanel; inputs: {}; outputs: {}; }]>;
|
|
28
|
+
}
|
|
29
|
+
declare class FrMenuBarItem {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarItem, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarItem, "[frMenuBarItem]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuItem; inputs: { "inset": "inset"; "variant": "variant"; }; outputs: {}; }]>;
|
|
32
|
+
}
|
|
33
|
+
declare class FrMenuBarCheckboxItem {
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarCheckboxItem, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarCheckboxItem, "button[frMenuBarCheckboxItem]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuCheckboxItem; inputs: { "checked": "checked"; "inset": "inset"; "variant": "variant"; }; outputs: {}; }]>;
|
|
36
|
+
}
|
|
37
|
+
declare class FrMenuBarRadioGroup {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarRadioGroup, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarRadioGroup, "[frMenuBarRadioGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuRadioGroup; inputs: {}; outputs: {}; }]>;
|
|
40
|
+
}
|
|
41
|
+
declare class FrMenuBarRadioItem {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarRadioItem, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarRadioItem, "button[frMenuBarRadioItem]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuRadioItem; inputs: { "checked": "checked"; "inset": "inset"; "variant": "variant"; }; outputs: {}; }]>;
|
|
44
|
+
}
|
|
45
|
+
declare class FrMenuBarLabel {
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarLabel, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarLabel, "[frMenuBarLabel]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuLabel; inputs: { "inset": "inset"; }; outputs: {}; }]>;
|
|
48
|
+
}
|
|
49
|
+
declare class FrMenuBarSeparator {
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarSeparator, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarSeparator, "[frMenuBarSeparator]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuSeparator; inputs: {}; outputs: {}; }]>;
|
|
52
|
+
}
|
|
53
|
+
declare class FrMenuBarShortcut {
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarShortcut, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarShortcut, "[frMenuBarShortcut]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuShortcut; inputs: {}; outputs: {}; }]>;
|
|
56
|
+
}
|
|
57
|
+
declare class FrMenuBarItemIndicator {
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarItemIndicator, never>;
|
|
59
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarItemIndicator, "[frMenuBarItemIndicator]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuItemIndicator; inputs: {}; outputs: {}; }]>;
|
|
60
|
+
}
|
|
61
|
+
declare class FrMenuBarSub {
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarSub, never>;
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarSub, "[frMenuBarSub]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuSub; inputs: { "closeDelay": "closeDelay"; "triggerMode": "triggerMode"; }; outputs: {}; }]>;
|
|
64
|
+
}
|
|
65
|
+
declare class FrMenuBarSubTrigger {
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenuBarSubTrigger, never>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrMenuBarSubTrigger, "[frMenuBarSubTrigger]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuSubTrigger; inputs: { "frDropdownMenuSubTrigger": "frMenuBarSubTrigger"; "inset": "inset"; "triggerMode": "triggerMode"; "variant": "variant"; }; outputs: {}; }]>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class FrMenubarModule {
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrMenubarModule, never>;
|
|
72
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrMenubarModule, never, [typeof FrMenuBar, typeof FrMenuBarCheckboxItem, typeof FrMenuBarContent, typeof FrMenuBarItem, typeof FrMenuBarItemIndicator, typeof FrMenuBarLabel, typeof FrMenuBarMenu, typeof FrMenuBarPanel, typeof FrMenuBarRadioGroup, typeof FrMenuBarRadioItem, typeof FrMenuBarSeparator, typeof FrMenuBarShortcut, typeof FrMenuBarSub, typeof FrMenuBarSubTrigger, typeof FrMenuBarTrigger], [typeof FrMenuBar, typeof FrMenuBarCheckboxItem, typeof FrMenuBarContent, typeof FrMenuBarItem, typeof FrMenuBarItemIndicator, typeof FrMenuBarLabel, typeof FrMenuBarMenu, typeof FrMenuBarPanel, typeof FrMenuBarRadioGroup, typeof FrMenuBarRadioItem, typeof FrMenuBarSeparator, typeof FrMenuBarShortcut, typeof FrMenuBarSub, typeof FrMenuBarSubTrigger, typeof FrMenuBarTrigger]>;
|
|
73
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrMenubarModule>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { FR_MENUBAR_PARENT, FrMenuBar, FrMenuBarCheckboxItem, FrMenuBarContent, FrMenuBarItem, FrMenuBarItemIndicator, FrMenuBarLabel, FrMenuBarMenu, FrMenuBarPanel, FrMenuBarRadioGroup, FrMenuBarRadioItem, FrMenuBarSeparator, FrMenuBarShortcut, FrMenuBarSub, FrMenuBarSubTrigger, FrMenuBarTrigger, FrMenubarModule };
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
4
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
5
|
+
import { DialogConfig, DialogRef } from '@angular/cdk/dialog';
|
|
6
|
+
import { FrButtonAppearance } from '@frame-ui-ng/components/button';
|
|
7
|
+
|
|
8
|
+
type FrModalFooterAction = {
|
|
9
|
+
appearance?: FrButtonAppearance;
|
|
10
|
+
ariaLabel?: string;
|
|
11
|
+
close?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
label: string;
|
|
14
|
+
result?: unknown;
|
|
15
|
+
};
|
|
16
|
+
type FrModalShellOptions = {
|
|
17
|
+
bodyComponent: Type<unknown>;
|
|
18
|
+
bodyData?: unknown;
|
|
19
|
+
bodyInputs?: Record<string, unknown>;
|
|
20
|
+
description?: string;
|
|
21
|
+
footerActions?: FrModalFooterAction[];
|
|
22
|
+
scrollable?: boolean;
|
|
23
|
+
showCloseButton?: boolean;
|
|
24
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
25
|
+
stickyFooter?: boolean;
|
|
26
|
+
title?: string;
|
|
27
|
+
};
|
|
28
|
+
declare class FrModalShell {
|
|
29
|
+
private readonly dialogRef;
|
|
30
|
+
private readonly injector;
|
|
31
|
+
readonly options: FrModalShellOptions;
|
|
32
|
+
readonly bodyInjector: _angular_core.DestroyableInjector;
|
|
33
|
+
handleAction(action: FrModalFooterAction): void;
|
|
34
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalShell, never>;
|
|
35
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrModalShell, "frame-modal-shell", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
type FrModalRef<Result = unknown, Component = unknown> = DialogRef<Result, Component>;
|
|
39
|
+
type FrModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
40
|
+
type FrModalConfig<Data = unknown, Result = unknown, Component = unknown> = DialogConfig<Data, DialogRef<Result, Component>> & {
|
|
41
|
+
bodyData?: unknown;
|
|
42
|
+
bodyInputs?: Record<string, unknown>;
|
|
43
|
+
description?: string;
|
|
44
|
+
footerActions?: FrModalFooterAction[];
|
|
45
|
+
scrollable?: boolean;
|
|
46
|
+
showCloseButton?: boolean;
|
|
47
|
+
size?: FrModalSize;
|
|
48
|
+
stickyFooter?: boolean;
|
|
49
|
+
title?: string;
|
|
50
|
+
};
|
|
51
|
+
declare class FrModalService {
|
|
52
|
+
private readonly dialog;
|
|
53
|
+
open<Result = unknown, Data = unknown, Component = unknown>(content: ComponentType<Component>, config?: FrModalConfig<Data, Result, Component>): FrModalRef<Result, Component>;
|
|
54
|
+
open<Result = unknown, Data = unknown, Context = unknown>(content: TemplateRef<Context>, config?: FrModalConfig<Data, Result, Context>): FrModalRef<Result, Context>;
|
|
55
|
+
closeAll(): void;
|
|
56
|
+
private withDefaultClasses;
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalService, never>;
|
|
58
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FrModalService>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare class FrModalContent {
|
|
62
|
+
readonly templateRef: TemplateRef<any>;
|
|
63
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
64
|
+
readonly ariaLabelledBy: _angular_core.InputSignal<string | null>;
|
|
65
|
+
readonly ariaDescribedBy: _angular_core.InputSignal<string | null>;
|
|
66
|
+
readonly backdropClass: _angular_core.InputSignal<string | string[] | null>;
|
|
67
|
+
readonly closeOnDestroy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
68
|
+
readonly closeOnNavigation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
69
|
+
readonly direction: _angular_core.InputSignal<Direction | null>;
|
|
70
|
+
readonly disableClose: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
+
readonly height: _angular_core.InputSignal<string | null>;
|
|
72
|
+
readonly id: _angular_core.InputSignal<string | null>;
|
|
73
|
+
readonly maxHeight: _angular_core.InputSignal<string | null>;
|
|
74
|
+
readonly maxWidth: _angular_core.InputSignal<string | null>;
|
|
75
|
+
readonly minHeight: _angular_core.InputSignal<string | null>;
|
|
76
|
+
readonly minWidth: _angular_core.InputSignal<string | null>;
|
|
77
|
+
readonly panelClass: _angular_core.InputSignal<string | string[] | null>;
|
|
78
|
+
readonly role: _angular_core.InputSignal<"dialog" | "alertdialog">;
|
|
79
|
+
readonly width: _angular_core.InputSignal<string | null>;
|
|
80
|
+
buildConfig(viewContainerRef: ViewContainerRef): FrModalConfig;
|
|
81
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalContent, never>;
|
|
82
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalContent, "ng-template[frModalContent]", ["frModalContent"], { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "closeOnDestroy": { "alias": "closeOnDestroy"; "required": false; "isSignal": true; }; "closeOnNavigation": { "alias": "closeOnNavigation"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "disableClose": { "alias": "disableClose"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare class FrModalClose {
|
|
86
|
+
private readonly dialogRef;
|
|
87
|
+
readonly result: _angular_core.InputSignal<unknown>;
|
|
88
|
+
close(): void;
|
|
89
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalClose, never>;
|
|
90
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalClose, "[frModalClose]", never, { "result": { "alias": "frModalClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
91
|
+
}
|
|
92
|
+
declare class FrModalPanel {
|
|
93
|
+
readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
94
|
+
readonly showCloseButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
95
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl" | "full">;
|
|
96
|
+
readonly stickyFooter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalPanel, never>;
|
|
98
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrModalPanel, "[frModalPanel], frame-modal-panel", never, { "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "stickyFooter": { "alias": "stickyFooter"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
99
|
+
}
|
|
100
|
+
declare class FrModalHeader {
|
|
101
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalHeader, never>;
|
|
102
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalHeader, "[frModalHeader], frame-modal-header", never, {}, {}, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
declare class FrModalBody {
|
|
105
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalBody, never>;
|
|
106
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalBody, "[frModalBody], frame-modal-body", never, {}, {}, never, never, true, never>;
|
|
107
|
+
}
|
|
108
|
+
declare class FrModalFooter {
|
|
109
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalFooter, never>;
|
|
110
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalFooter, "[frModalFooter], frame-modal-footer", never, {}, {}, never, never, true, never>;
|
|
111
|
+
}
|
|
112
|
+
declare class FrModalTitle {
|
|
113
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalTitle, never>;
|
|
114
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalTitle, "[frModalTitle], frame-modal-title", never, {}, {}, never, never, true, never>;
|
|
115
|
+
}
|
|
116
|
+
declare class FrModalDescription {
|
|
117
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalDescription, never>;
|
|
118
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalDescription, "[frModalDescription], frame-modal-description", never, {}, {}, never, never, true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare const FR_MODAL_DATA: _angular_core.InjectionToken<any>;
|
|
122
|
+
|
|
123
|
+
declare class FrModalTrigger {
|
|
124
|
+
private static readonly CUSTOM_PROPERTY_PREFIX;
|
|
125
|
+
private readonly destroyRef;
|
|
126
|
+
private readonly elementRef;
|
|
127
|
+
private readonly modal;
|
|
128
|
+
private readonly viewContainerRef;
|
|
129
|
+
private modalRef;
|
|
130
|
+
readonly content: _angular_core.InputSignal<FrModalContent | TemplateRef<unknown> | null>;
|
|
131
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
132
|
+
readonly opened: _angular_core.OutputEmitterRef<FrModalRef>;
|
|
133
|
+
readonly closed: _angular_core.OutputEmitterRef<unknown>;
|
|
134
|
+
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
135
|
+
open(): void;
|
|
136
|
+
private syncCustomPropertiesToOverlay;
|
|
137
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalTrigger, never>;
|
|
138
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrModalTrigger, "[frModalTrigger]", never, { "content": { "alias": "frModalTrigger"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare class FrModalModule {
|
|
142
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalModule, never>;
|
|
143
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrModalModule, never, [typeof FrModalBody, typeof FrModalClose, typeof FrModalContent, typeof FrModalDescription, typeof FrModalFooter, typeof FrModalHeader, typeof FrModalPanel, typeof FrModalShell, typeof FrModalTitle, typeof FrModalTrigger], [typeof FrModalBody, typeof FrModalClose, typeof FrModalContent, typeof FrModalDescription, typeof FrModalFooter, typeof FrModalHeader, typeof FrModalPanel, typeof FrModalShell, typeof FrModalTitle, typeof FrModalTrigger]>;
|
|
144
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrModalModule>;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export { FR_MODAL_DATA, FrModalBody, FrModalClose, FrModalContent, FrModalDescription, FrModalFooter, FrModalHeader, FrModalModule, FrModalPanel, FrModalService, FrModalShell, FrModalTitle, FrModalTrigger };
|
|
148
|
+
export type { FrModalConfig, FrModalFooterAction, FrModalRef, FrModalShellOptions, FrModalSize };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as i1 from '@frame-ui-ng/components/dropdown-menu';
|
|
4
|
+
import { FrDropdownMenuParent, FrDropdownMenuContent } from '@frame-ui-ng/components/dropdown-menu';
|
|
5
|
+
|
|
6
|
+
declare const FR_NAVIGATION_MENU_PARENT: InjectionToken<FrNavigationMenu>;
|
|
7
|
+
declare class FrNavigationMenu implements FrDropdownMenuParent {
|
|
8
|
+
readonly closeDelay: i0.InputSignal<number>;
|
|
9
|
+
readonly triggerMode: i0.InputSignal<"both" | "click" | "hover">;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenu, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenu, "[frNavigationMenu], frame-navigation-menu", never, { "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "triggerMode": { "alias": "triggerMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
declare class FrNavigationMenuList {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuList, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuList, "[frNavigationMenuList], frame-navigation-menu-list", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
declare class FrNavigationMenuItem {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuItem, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuItem, "[frNavigationMenuItem], frame-navigation-menu-item", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
declare class FrNavigationMenuTrigger {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuTrigger, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuTrigger, "[frNavigationMenuTrigger]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuTrigger; inputs: { "frDropdownMenuTrigger": "frNavigationMenuTrigger"; "triggerMode": "triggerMode"; }; outputs: {}; }]>;
|
|
24
|
+
}
|
|
25
|
+
declare class FrNavigationMenuContent extends FrDropdownMenuContent {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuContent, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuContent, "ng-template[frNavigationMenuContent]", ["frNavigationMenuContent"], {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
declare class FrNavigationMenuPanel {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuPanel, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuPanel, "[frNavigationMenuPanel]", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuPanel; inputs: {}; outputs: {}; }]>;
|
|
32
|
+
}
|
|
33
|
+
declare class FrNavigationMenuLink {
|
|
34
|
+
readonly active: i0.InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuLink, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuLink, "[frNavigationMenuLink], a[frNavigationMenuLink]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
declare class FrNavigationMenuGrid {
|
|
39
|
+
readonly columns: i0.InputSignal<3 | 1 | 2>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuGrid, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuGrid, "[frNavigationMenuGrid]", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
declare class FrNavigationMenuFeature {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuFeature, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuFeature, "[frNavigationMenuFeature]", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
declare class FrNavigationMenuLinkTitle {
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuLinkTitle, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuLinkTitle, "[frNavigationMenuLinkTitle]", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
declare class FrNavigationMenuLinkDescription {
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuLinkDescription, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuLinkDescription, "[frNavigationMenuLinkDescription]", never, {}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
declare class FrNavigationLinkSeparator {
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationLinkSeparator, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationLinkSeparator, "[frNavigationLinkSeparator]", never, {}, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
declare class FrNavigationMenuIndicator {
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuIndicator, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuIndicator, "[frNavigationMenuIndicator], frame-navigation-menu-indicator", never, {}, {}, never, never, true, never>;
|
|
62
|
+
}
|
|
63
|
+
declare class FrNavigationMenuViewport {
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuViewport, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrNavigationMenuViewport, "[frNavigationMenuViewport], frame-navigation-menu-viewport", never, {}, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare class FrNavigationMenuModule {
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrNavigationMenuModule, never>;
|
|
70
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrNavigationMenuModule, never, [typeof FrNavigationLinkSeparator, typeof FrNavigationMenu, typeof FrNavigationMenuContent, typeof FrNavigationMenuFeature, typeof FrNavigationMenuGrid, typeof FrNavigationMenuIndicator, typeof FrNavigationMenuItem, typeof FrNavigationMenuLink, typeof FrNavigationMenuLinkDescription, typeof FrNavigationMenuLinkTitle, typeof FrNavigationMenuList, typeof FrNavigationMenuPanel, typeof FrNavigationMenuTrigger, typeof FrNavigationMenuViewport], [typeof FrNavigationLinkSeparator, typeof FrNavigationMenu, typeof FrNavigationMenuContent, typeof FrNavigationMenuFeature, typeof FrNavigationMenuGrid, typeof FrNavigationMenuIndicator, typeof FrNavigationMenuItem, typeof FrNavigationMenuLink, typeof FrNavigationMenuLinkDescription, typeof FrNavigationMenuLinkTitle, typeof FrNavigationMenuList, typeof FrNavigationMenuPanel, typeof FrNavigationMenuTrigger, typeof FrNavigationMenuViewport]>;
|
|
71
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrNavigationMenuModule>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { FR_NAVIGATION_MENU_PARENT, FrNavigationLinkSeparator, FrNavigationMenu, FrNavigationMenuContent, FrNavigationMenuFeature, FrNavigationMenuGrid, FrNavigationMenuIndicator, FrNavigationMenuItem, FrNavigationMenuLink, FrNavigationMenuLinkDescription, FrNavigationMenuLinkTitle, FrNavigationMenuList, FrNavigationMenuModule, FrNavigationMenuPanel, FrNavigationMenuTrigger, FrNavigationMenuViewport };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type FrPaginationPage = number | 'ellipsis';
|
|
4
|
+
declare class FrPagination {
|
|
5
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
6
|
+
readonly boundaryCount: _angular_core.InputSignal<number>;
|
|
7
|
+
readonly page: _angular_core.ModelSignal<number>;
|
|
8
|
+
readonly siblingCount: _angular_core.InputSignal<number>;
|
|
9
|
+
readonly totalPages: _angular_core.InputSignal<number>;
|
|
10
|
+
readonly canPrevious: _angular_core.Signal<boolean>;
|
|
11
|
+
readonly canNext: _angular_core.Signal<boolean>;
|
|
12
|
+
readonly pages: _angular_core.Signal<FrPaginationPage[]>;
|
|
13
|
+
goToPage(page: number): void;
|
|
14
|
+
goToPreviousPage(): void;
|
|
15
|
+
goToNextPage(): void;
|
|
16
|
+
private normalizedTotalPages;
|
|
17
|
+
private buildPages;
|
|
18
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPagination, never>;
|
|
19
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrPagination, "nav[frPagination], [frPagination]", ["frPagination"], { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "boundaryCount": { "alias": "boundaryCount"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "siblingCount": { "alias": "siblingCount"; "required": false; "isSignal": true; }; "totalPages": { "alias": "totalPages"; "required": false; "isSignal": true; }; }, { "page": "pageChange"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
declare class FrPaginationContent {
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationContent, never>;
|
|
23
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrPaginationContent, "ul[frPaginationContent], ol[frPaginationContent], [frPaginationContent]", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
declare class FrPaginationItem {
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationItem, never>;
|
|
27
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrPaginationItem, "li[frPaginationItem], [frPaginationItem]", never, {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
declare class FrPaginationLink {
|
|
30
|
+
private readonly pagination;
|
|
31
|
+
readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
readonly page: _angular_core.InputSignal<number | null>;
|
|
34
|
+
protected readonly isActive: _angular_core.Signal<boolean>;
|
|
35
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
36
|
+
protected handleClick(event: Event): void;
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationLink, never>;
|
|
38
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrPaginationLink, "a[frPaginationLink], button[frPaginationLink]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
declare class FrPaginationIcon {
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationIcon, never>;
|
|
42
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrPaginationIcon, "[frPaginationIcon]", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
declare class FrPaginationPrevious {
|
|
45
|
+
private readonly pagination;
|
|
46
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
47
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
48
|
+
readonly iconOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
49
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
50
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
51
|
+
protected handleClick(event: Event): void;
|
|
52
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationPrevious, never>;
|
|
53
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrPaginationPrevious, "a[frPaginationPrevious], button[frPaginationPrevious]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, ["[frPaginationIcon]"], true, never>;
|
|
54
|
+
}
|
|
55
|
+
declare class FrPaginationNext {
|
|
56
|
+
private readonly pagination;
|
|
57
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
58
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
readonly iconOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
60
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
61
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
62
|
+
protected handleClick(event: Event): void;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationNext, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrPaginationNext, "a[frPaginationNext], button[frPaginationNext]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, ["[frPaginationIcon]"], true, never>;
|
|
65
|
+
}
|
|
66
|
+
declare class FrPaginationEllipsis {
|
|
67
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
68
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationEllipsis, never>;
|
|
69
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrPaginationEllipsis, "[frPaginationEllipsis], frame-pagination-ellipsis", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class FrPaginationModule {
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrPaginationModule, never>;
|
|
74
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrPaginationModule, never, [typeof FrPagination, typeof FrPaginationContent, typeof FrPaginationEllipsis, typeof FrPaginationIcon, typeof FrPaginationItem, typeof FrPaginationLink, typeof FrPaginationNext, typeof FrPaginationPrevious], [typeof FrPagination, typeof FrPaginationContent, typeof FrPaginationEllipsis, typeof FrPaginationIcon, typeof FrPaginationItem, typeof FrPaginationLink, typeof FrPaginationNext, typeof FrPaginationPrevious]>;
|
|
75
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrPaginationModule>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export { FrPagination, FrPaginationContent, FrPaginationEllipsis, FrPaginationIcon, FrPaginationItem, FrPaginationLink, FrPaginationModule, FrPaginationNext, FrPaginationPrevious };
|
|
79
|
+
export type { FrPaginationPage };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { ConnectedPosition, ConnectedOverlayPositionChange } from '@angular/cdk/overlay';
|
|
4
|
+
import * as _frame_ui_ng_components_popover from '@frame-ui-ng/components/popover';
|
|
5
|
+
|
|
6
|
+
declare class FrPopoverContent {
|
|
7
|
+
readonly templateRef: TemplateRef<any>;
|
|
8
|
+
readonly align: i0.InputSignal<"start" | "center" | "end">;
|
|
9
|
+
readonly alignOffset: i0.InputSignal<number>;
|
|
10
|
+
readonly debugVisible: i0.InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly side: i0.InputSignal<"top" | "right" | "bottom" | "left">;
|
|
12
|
+
readonly sideOffset: i0.InputSignal<number>;
|
|
13
|
+
getPositions(): ConnectedPosition[];
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverContent, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverContent, "ng-template[frPopoverContent]", ["frPopoverContent"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "alignOffset": { "alias": "alignOffset"; "required": false; "isSignal": true; }; "debugVisible": { "alias": "debugVisible"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "sideOffset": { "alias": "sideOffset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
declare class FrPopoverPanel {
|
|
18
|
+
protected readonly content: FrPopoverContent;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverPanel, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverPanel, "[frPopoverPanel]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
declare class FrPopoverHeader {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverHeader, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverHeader, "[frPopoverHeader]", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
declare class FrPopoverTitle {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverTitle, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverTitle, "[frPopoverTitle]", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
declare class FrPopoverDescription {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverDescription, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverDescription, "[frPopoverDescription]", never, {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
declare class FrPopoverBody {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverBody, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverBody, "[frPopoverBody]", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
declare class FrPopoverFooter {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverFooter, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverFooter, "[frPopoverFooter]", never, {}, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
declare class FrPopoverClose {
|
|
43
|
+
private readonly root;
|
|
44
|
+
protected handleClick(event: Event): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverClose, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverClose, "[frPopoverClose]", never, {}, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class FrPopoverRoot {
|
|
50
|
+
readonly defaultOpen: i0.InputSignalWithTransform<boolean, unknown>;
|
|
51
|
+
readonly debugVisible: i0.InputSignalWithTransform<boolean, unknown>;
|
|
52
|
+
readonly open: i0.ModelSignal<boolean>;
|
|
53
|
+
readonly content: i0.WritableSignal<FrPopoverContent | null>;
|
|
54
|
+
readonly overlaySide: i0.WritableSignal<string>;
|
|
55
|
+
private triggerElement;
|
|
56
|
+
readonly isOpen: i0.Signal<boolean>;
|
|
57
|
+
readonly positions: i0.Signal<ConnectedPosition[]>;
|
|
58
|
+
constructor();
|
|
59
|
+
registerTrigger(trigger: HTMLElement): void;
|
|
60
|
+
setContent(content: unknown | null): void;
|
|
61
|
+
toggle(): void;
|
|
62
|
+
openPopover(): void;
|
|
63
|
+
close(): void;
|
|
64
|
+
handleOverlayKeydown(event: KeyboardEvent): void;
|
|
65
|
+
handlePositionChange(event: ConnectedOverlayPositionChange): void;
|
|
66
|
+
overlayPanelClasses(): string[];
|
|
67
|
+
private syncCustomPropertiesToOverlay;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverRoot, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FrPopoverRoot, "frame-popover", ["frPopover"], { "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "debugVisible": { "alias": "debugVisible"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, ["*"], true, never>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class FrPopoverTrigger {
|
|
73
|
+
readonly content: i0.InputSignal<FrPopoverContent | null>;
|
|
74
|
+
protected readonly root: _frame_ui_ng_components_popover.FrPopover;
|
|
75
|
+
private readonly elementRef;
|
|
76
|
+
constructor();
|
|
77
|
+
protected handleClick(event: Event): void;
|
|
78
|
+
protected handleKeydown(event: KeyboardEvent): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverTrigger, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrPopoverTrigger, "[frPopoverTrigger]", never, { "content": { "alias": "frPopoverTrigger"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare const FR_POPOVER_ALIGNMENTS: readonly ["start", "center", "end"];
|
|
84
|
+
declare const FR_POPOVER_SIDES: readonly ["top", "right", "bottom", "left"];
|
|
85
|
+
type FrPopoverAlignment = (typeof FR_POPOVER_ALIGNMENTS)[number];
|
|
86
|
+
type FrPopoverSide = (typeof FR_POPOVER_SIDES)[number];
|
|
87
|
+
|
|
88
|
+
declare class FrPopoverModule {
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrPopoverModule, never>;
|
|
90
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FrPopoverModule, never, [typeof FrPopoverRoot, typeof FrPopoverBody, typeof FrPopoverClose, typeof FrPopoverContent, typeof FrPopoverDescription, typeof FrPopoverFooter, typeof FrPopoverHeader, typeof FrPopoverPanel, typeof FrPopoverTitle, typeof FrPopoverTrigger], [typeof FrPopoverRoot, typeof FrPopoverBody, typeof FrPopoverClose, typeof FrPopoverContent, typeof FrPopoverDescription, typeof FrPopoverFooter, typeof FrPopoverHeader, typeof FrPopoverPanel, typeof FrPopoverTitle, typeof FrPopoverTrigger]>;
|
|
91
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FrPopoverModule>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { FR_POPOVER_ALIGNMENTS, FR_POPOVER_SIDES, FrPopoverRoot as FrPopover, FrPopoverBody, FrPopoverClose, FrPopoverContent, FrPopoverDescription, FrPopoverFooter, FrPopoverHeader, FrPopoverModule, FrPopoverPanel, FrPopoverTitle, FrPopoverTrigger };
|
|
95
|
+
export type { FrPopoverAlignment, FrPopoverSide };
|