@eduboxpro/studio 0.1.34 → 0.1.36
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/fesm2022/eduboxpro-studio.mjs +295 -2
- package/fesm2022/eduboxpro-studio.mjs.map +1 -1
- package/index.d.ts +54 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } fr
|
|
|
5
5
|
import { icons } from 'lucide-angular';
|
|
6
6
|
import { Placement } from '@floating-ui/dom';
|
|
7
7
|
import * as _eduboxpro_studio from '@eduboxpro/studio';
|
|
8
|
+
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Theme mode: light or dark
|
|
@@ -2906,6 +2907,39 @@ declare class ButtonToggleGroupComponent implements ControlValueAccessor {
|
|
|
2906
2907
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonToggleGroupComponent, "studio-button-toggle-group", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; "isSignal": true; }; "orientationInput": { "alias": "orientation"; "required": false; "isSignal": true; }; "sizeInput": { "alias": "size"; "required": false; "isSignal": true; }; "variantInput": { "alias": "variant"; "required": false; "isSignal": true; }; "colorInput": { "alias": "color"; "required": false; "isSignal": true; }; "radiusInput": { "alias": "radius"; "required": false; "isSignal": true; }; "shadowInput": { "alias": "shadow"; "required": false; "isSignal": true; }; "attached": { "alias": "attached"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "showIcons": { "alias": "showIcons"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
2907
2908
|
}
|
|
2908
2909
|
|
|
2910
|
+
/**
|
|
2911
|
+
* FileViewer configuration types
|
|
2912
|
+
*/
|
|
2913
|
+
interface FileViewerLabels {
|
|
2914
|
+
videoLabel?: string;
|
|
2915
|
+
audioLabel?: string;
|
|
2916
|
+
browserNotSupported?: string;
|
|
2917
|
+
}
|
|
2918
|
+
declare const defaultFileViewerLabels: FileViewerLabels;
|
|
2919
|
+
|
|
2920
|
+
declare class FileViewerComponent {
|
|
2921
|
+
private sanitizer;
|
|
2922
|
+
visible: _angular_core.InputSignal<boolean>;
|
|
2923
|
+
fileUrl: _angular_core.InputSignal<string>;
|
|
2924
|
+
fileName: _angular_core.InputSignal<string>;
|
|
2925
|
+
fileType: _angular_core.InputSignal<string>;
|
|
2926
|
+
labels: _angular_core.InputSignal<FileViewerLabels>;
|
|
2927
|
+
close: _angular_core.OutputEmitterRef<void>;
|
|
2928
|
+
resolvedLabels: _angular_core.Signal<{
|
|
2929
|
+
videoLabel?: string;
|
|
2930
|
+
audioLabel?: string;
|
|
2931
|
+
browserNotSupported?: string;
|
|
2932
|
+
}>;
|
|
2933
|
+
isPdf: _angular_core.Signal<boolean>;
|
|
2934
|
+
isImage: _angular_core.Signal<boolean>;
|
|
2935
|
+
isAudio: _angular_core.Signal<boolean>;
|
|
2936
|
+
isVideo: _angular_core.Signal<boolean>;
|
|
2937
|
+
fileIcon: _angular_core.Signal<"file-text" | "image" | "music" | "video" | "table" | "presentation" | "file">;
|
|
2938
|
+
safeUrl: _angular_core.Signal<SafeResourceUrl | null>;
|
|
2939
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileViewerComponent, never>;
|
|
2940
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileViewerComponent, "studio-file-viewer", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "fileUrl": { "alias": "fileUrl"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "fileType": { "alias": "fileType"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, ["[pdfViewer]"], true, never>;
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2909
2943
|
interface InspectorData {
|
|
2910
2944
|
sections: InspectorSection[];
|
|
2911
2945
|
}
|
|
@@ -3014,6 +3048,24 @@ declare class InspectorComponent implements ControlValueAccessor {
|
|
|
3014
3048
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InspectorComponent, "studio-inspector", never, { "componentSize": { "alias": "componentSize"; "required": false; "isSignal": true; }; "componentVariant": { "alias": "componentVariant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "showIcons": { "alias": "showIcons"; "required": false; "isSignal": true; }; "showDefaultIndicator": { "alias": "showDefaultIndicator"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "expandedByDefault": { "alias": "expandedByDefault"; "required": false; "isSignal": true; }; "expandedSectionsInput": { "alias": "expandedSections"; "required": false; "isSignal": true; }; "showGroupLabels": { "alias": "showGroupLabels"; "required": false; "isSignal": true; }; "groupDivider": { "alias": "groupDivider"; "required": false; "isSignal": true; }; "groupDividerSpacing": { "alias": "groupDividerSpacing"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "sectionTemplate": { "alias": "sectionTemplate"; "required": false; "isSignal": true; }; "parameterTemplates": { "alias": "parameterTemplates"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "sectionToggled": "sectionToggled"; "parameterFocused": "parameterFocused"; "parameterBlurred": "parameterBlurred"; }, never, never, true, never>;
|
|
3015
3049
|
}
|
|
3016
3050
|
|
|
3051
|
+
type LogoSize = 'sm' | 'md' | 'lg';
|
|
3052
|
+
declare class LogoComponent {
|
|
3053
|
+
/** URL to navigate when logo is clicked */
|
|
3054
|
+
link: _angular_core.InputSignal<string>;
|
|
3055
|
+
/** Path to logo image */
|
|
3056
|
+
logoSrc: _angular_core.InputSignal<string>;
|
|
3057
|
+
/** Text to display next to logo */
|
|
3058
|
+
logoText: _angular_core.InputSignal<string>;
|
|
3059
|
+
/** Size variant */
|
|
3060
|
+
size: _angular_core.InputSignal<LogoSize>;
|
|
3061
|
+
/** Whether to show text */
|
|
3062
|
+
showText: _angular_core.InputSignal<boolean>;
|
|
3063
|
+
/** Whether to show text on mobile devices */
|
|
3064
|
+
showTextOnMobile: _angular_core.InputSignal<boolean>;
|
|
3065
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LogoComponent, never>;
|
|
3066
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LogoComponent, "ui-logo", never, { "link": { "alias": "link"; "required": false; "isSignal": true; }; "logoSrc": { "alias": "logoSrc"; "required": true; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showText": { "alias": "showText"; "required": false; "isSignal": true; }; "showTextOnMobile": { "alias": "showTextOnMobile"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3017
3069
|
/**
|
|
3018
3070
|
* Theme toggle switch with sun/moon icons
|
|
3019
3071
|
*
|
|
@@ -3516,5 +3568,5 @@ declare function hasChildren(block: Block): block is Block & {
|
|
|
3516
3568
|
children: Block[];
|
|
3517
3569
|
};
|
|
3518
3570
|
|
|
3519
|
-
export { BadgeComponent, BadgeWrapperComponent, BottomNavigationComponent, ButtonComponent, ButtonGroupComponent, ButtonToggleGroupComponent, COUNTRY_OPTIONS, CardComponent, ChatComponent, ChatInputComponent, ChatMessageComponent, CheckboxComponent, ColorPickerCompactComponent, ColorPickerComponent, ConfirmDialogComponent, ConfirmDialogService, DEFAULT_COLOR_PRESETS, DrawerComponent, DrawerService, DropdownComponent, IconComponent, InputComponent, InspectorComponent, MASK_PRESETS, MaskDirective, MaskEngine, MenuComponent, ModalComponent, NavbarComponent, PaginationComponent, PhoneInputComponent, PopoverComponent, RadioButtonComponent, STUDIO_CONFIG, SelectComponent, SidebarComponent, SignalStore, StudioConfigService, SwitchComponent, TableColumnDirective, TableComponent, TabsComponent, TextareaComponent, ThemeSwitchComponent, ToastComponent, ToastService, TooltipComponent, classNames, hasChildren, isContentBlock, isFormBlock, isInteractiveBlock, isLayoutBlock, isSafeUrl, isStudioBlock, loadGoogleFont, loadGoogleFonts, provideStudioConfig, provideStudioIcons, sanitizeUrl, withConfigDefault };
|
|
3520
|
-
export type { AccordionBlock, AlertBlock, AnimationType, BadgeBlock, BadgeColor, BadgeDefaultsConfig, BadgeIconPosition, BadgeRadius, BadgeSize, BadgeVariant, BadgeWrapperPosition, BadgeWrapperSize, BaseBlock, Block, BlockAction, BlockAnimation, BlockType, BottomNavigationDefaultsConfig, BottomNavigationFabPosition, BottomNavigationItem, BottomNavigationLabelMode, BottomNavigationSize, BottomNavigationVariant, ButtonBlock, ButtonDefaultsConfig, ButtonGroupDefaultsConfig, ButtonToggleGroupDefaultsConfig, ButtonToggleGroupOption, ButtonToggleGroupValue, CardBlock, CardColor, CardDefaultsConfig, CardImagePosition, CardOrientation, CardPadding, CardRadius, CardShadow, CardSize, CardVariant, ChatMessage, ChatSize, ChatUser, ChatVariant, CheckboxBlock, CheckboxColor, CheckboxDefaultsConfig, CheckboxRadius, CheckboxSize, CheckboxVariant, CodeBlock, ColorConfig, ColorFormat, ColorPickerDefaultsConfig, ColorPickerSize, ColorPickerVariant, ColorPreset, ColorSwatchGroup, ColorValue, ComponentsConfig, ConfirmDialogConfig, ConfirmDialogVariant, CountryOption, CustomAction, DivBlock, DrawerAnimationEasing, DrawerCloseButtonPosition, DrawerConfig, DrawerDefaultsConfig, DrawerPosition, DrawerRadius, DrawerRole, DrawerShadowSize, DrawerSize, DropdownDefaultsConfig, DropdownItem, DropdownPosition, EmptyStateConfig, ExternalLinkAction, FlexContainerBlock, FooterBlock, FormBlock, GridContainerBlock, HSL, HtmlBlock, ImageBlock, InputBlock, InputDefaultsConfig, InputMode, InputType, InspectorComponentSize, InspectorComponentVariant, InspectorData, InspectorGroup, InspectorGroupDivider, InspectorOption, InspectorParameter, InspectorParameterType, InspectorSection, InspectorSpacing, LinkBlock, ListBlock, MaskConfig, MaskPreset, MaskResult, MaskToken, MenuColor, MenuExpandEvent, MenuExpandIconPosition, MenuItem, MenuItemBadgeColor, MenuItemClickEvent, MenuItemCommandEvent, MenuItemIconPosition, MenuItemTarget, MenuItemTooltipPosition, MenuMode, MenuOrientation, MenuRadius, MenuSize, MenuSpacing, MenuVariant, ModalAnimation, ModalDefaultsConfig, ModalPosition, ModalSize, ModalVariant, NavbarBlock, NavbarColor, NavbarShadow, NavbarSize, NavbarVariant, NavigateAction, PageData, PageMeta, PaginationPageChangeEvent, PaginationPageSizeChangeEvent, PaginationSize, PaginationVariant, PhoneCountry, PopoverAnimation, PopoverBoundary, PopoverConfig, PopoverDefaultsConfig, PopoverPosition, PopoverSize, PopoverTrigger, PopoverVariant, PopoverWidth, RGB, RadioButtonColor, RadioButtonDefaultsConfig, RadioButtonRadius, RadioButtonSize, RadioButtonVariant, RowAction, RowExpansion, ScrollToAction, SectionBlock, SelectBlock, SelectDefaultsConfig, SelectDisplayContext, SelectOption, SelectOptionGroup, SelectPosition, SelectSize, SelectVariant, SelectionEvent, SelectionMode, SidebarConfig, SidebarDefaultsConfig, SidebarPosition, SidebarSize, SidebarVariant, SliderBlock, SortDirection, SortEvent, StudioComponentBlock, StudioConfig, StudioThemeConfig, SubmitFormAction, SubmitLeadAction, SwitchDefaultsConfig, TabItem, TableCellContext, TableColumn, TableDefaultsConfig, TableDensity, TableHeaderContext, TableSort, TableState, TableVariant, TabsBlock, TabsDefaultsConfig, TabsOrientation, TabsSize, TabsVariant, TextBlock, TextareaBlock, TextareaColor, TextareaDefaultsConfig, TextareaRadius, TextareaSize, TextareaVariant, ThemeMode, ToastConfig, ToastMessage, ToastPosition, ToastSeverity, TooltipDefaultsConfig, VideoBlock };
|
|
3571
|
+
export { BadgeComponent, BadgeWrapperComponent, BottomNavigationComponent, ButtonComponent, ButtonGroupComponent, ButtonToggleGroupComponent, COUNTRY_OPTIONS, CardComponent, ChatComponent, ChatInputComponent, ChatMessageComponent, CheckboxComponent, ColorPickerCompactComponent, ColorPickerComponent, ConfirmDialogComponent, ConfirmDialogService, DEFAULT_COLOR_PRESETS, DrawerComponent, DrawerService, DropdownComponent, FileViewerComponent, IconComponent, InputComponent, InspectorComponent, LogoComponent, MASK_PRESETS, MaskDirective, MaskEngine, MenuComponent, ModalComponent, NavbarComponent, PaginationComponent, PhoneInputComponent, PopoverComponent, RadioButtonComponent, STUDIO_CONFIG, SelectComponent, SidebarComponent, SignalStore, StudioConfigService, SwitchComponent, TableColumnDirective, TableComponent, TabsComponent, TextareaComponent, ThemeSwitchComponent, ToastComponent, ToastService, TooltipComponent, classNames, defaultFileViewerLabels, hasChildren, isContentBlock, isFormBlock, isInteractiveBlock, isLayoutBlock, isSafeUrl, isStudioBlock, loadGoogleFont, loadGoogleFonts, provideStudioConfig, provideStudioIcons, sanitizeUrl, withConfigDefault };
|
|
3572
|
+
export type { AccordionBlock, AlertBlock, AnimationType, BadgeBlock, BadgeColor, BadgeDefaultsConfig, BadgeIconPosition, BadgeRadius, BadgeSize, BadgeVariant, BadgeWrapperPosition, BadgeWrapperSize, BaseBlock, Block, BlockAction, BlockAnimation, BlockType, BottomNavigationDefaultsConfig, BottomNavigationFabPosition, BottomNavigationItem, BottomNavigationLabelMode, BottomNavigationSize, BottomNavigationVariant, ButtonBlock, ButtonDefaultsConfig, ButtonGroupDefaultsConfig, ButtonToggleGroupDefaultsConfig, ButtonToggleGroupOption, ButtonToggleGroupValue, CardBlock, CardColor, CardDefaultsConfig, CardImagePosition, CardOrientation, CardPadding, CardRadius, CardShadow, CardSize, CardVariant, ChatMessage, ChatSize, ChatUser, ChatVariant, CheckboxBlock, CheckboxColor, CheckboxDefaultsConfig, CheckboxRadius, CheckboxSize, CheckboxVariant, CodeBlock, ColorConfig, ColorFormat, ColorPickerDefaultsConfig, ColorPickerSize, ColorPickerVariant, ColorPreset, ColorSwatchGroup, ColorValue, ComponentsConfig, ConfirmDialogConfig, ConfirmDialogVariant, CountryOption, CustomAction, DivBlock, DrawerAnimationEasing, DrawerCloseButtonPosition, DrawerConfig, DrawerDefaultsConfig, DrawerPosition, DrawerRadius, DrawerRole, DrawerShadowSize, DrawerSize, DropdownDefaultsConfig, DropdownItem, DropdownPosition, EmptyStateConfig, ExternalLinkAction, FileViewerLabels, FlexContainerBlock, FooterBlock, FormBlock, GridContainerBlock, HSL, HtmlBlock, ImageBlock, InputBlock, InputDefaultsConfig, InputMode, InputType, InspectorComponentSize, InspectorComponentVariant, InspectorData, InspectorGroup, InspectorGroupDivider, InspectorOption, InspectorParameter, InspectorParameterType, InspectorSection, InspectorSpacing, LinkBlock, ListBlock, LogoSize, MaskConfig, MaskPreset, MaskResult, MaskToken, MenuColor, MenuExpandEvent, MenuExpandIconPosition, MenuItem, MenuItemBadgeColor, MenuItemClickEvent, MenuItemCommandEvent, MenuItemIconPosition, MenuItemTarget, MenuItemTooltipPosition, MenuMode, MenuOrientation, MenuRadius, MenuSize, MenuSpacing, MenuVariant, ModalAnimation, ModalDefaultsConfig, ModalPosition, ModalSize, ModalVariant, NavbarBlock, NavbarColor, NavbarShadow, NavbarSize, NavbarVariant, NavigateAction, PageData, PageMeta, PaginationPageChangeEvent, PaginationPageSizeChangeEvent, PaginationSize, PaginationVariant, PhoneCountry, PopoverAnimation, PopoverBoundary, PopoverConfig, PopoverDefaultsConfig, PopoverPosition, PopoverSize, PopoverTrigger, PopoverVariant, PopoverWidth, RGB, RadioButtonColor, RadioButtonDefaultsConfig, RadioButtonRadius, RadioButtonSize, RadioButtonVariant, RowAction, RowExpansion, ScrollToAction, SectionBlock, SelectBlock, SelectDefaultsConfig, SelectDisplayContext, SelectOption, SelectOptionGroup, SelectPosition, SelectSize, SelectVariant, SelectionEvent, SelectionMode, SidebarConfig, SidebarDefaultsConfig, SidebarPosition, SidebarSize, SidebarVariant, SliderBlock, SortDirection, SortEvent, StudioComponentBlock, StudioConfig, StudioThemeConfig, SubmitFormAction, SubmitLeadAction, SwitchDefaultsConfig, TabItem, TableCellContext, TableColumn, TableDefaultsConfig, TableDensity, TableHeaderContext, TableSort, TableState, TableVariant, TabsBlock, TabsDefaultsConfig, TabsOrientation, TabsSize, TabsVariant, TextBlock, TextareaBlock, TextareaColor, TextareaDefaultsConfig, TextareaRadius, TextareaSize, TextareaVariant, ThemeMode, ToastConfig, ToastMessage, ToastPosition, ToastSeverity, TooltipDefaultsConfig, VideoBlock };
|