@avora-labs/meta-forge 1.6.0 → 1.7.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/package.json
CHANGED
|
@@ -2356,23 +2356,43 @@ declare const authGuard: CanActivateFn;
|
|
|
2356
2356
|
*/
|
|
2357
2357
|
declare const authInterceptor: HttpInterceptorFn;
|
|
2358
2358
|
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2359
|
+
interface ColorPreset {
|
|
2360
|
+
name: string;
|
|
2361
|
+
primary: string;
|
|
2362
|
+
hover: string;
|
|
2363
|
+
light: string;
|
|
2364
|
+
glow: string;
|
|
2365
|
+
}
|
|
2366
|
+
interface SurfacePreset {
|
|
2367
|
+
name: string;
|
|
2368
|
+
bg: string;
|
|
2369
|
+
bgSecondary: string;
|
|
2370
|
+
sidebarBg: string;
|
|
2371
|
+
navbarBg: string;
|
|
2372
|
+
}
|
|
2373
|
+
interface ThemeConfig {
|
|
2374
|
+
primaryPreset: string;
|
|
2375
|
+
surfacePreset: string;
|
|
2376
|
+
colorScheme: 'light' | 'dark';
|
|
2377
|
+
menuType: 'static' | 'overlay' | 'slim' | 'slim-plus' | 'reveal' | 'drawer' | 'horizontal';
|
|
2378
|
+
menuProfile: 'start' | 'end';
|
|
2379
|
+
}
|
|
2380
|
+
declare const THEME_PRESETS: ColorPreset[];
|
|
2381
|
+
declare const SURFACE_PRESETS: SurfacePreset[];
|
|
2382
|
+
declare const DEFAULT_THEME_CONFIG: ThemeConfig;
|
|
2383
|
+
|
|
2363
2384
|
declare class ThemeService {
|
|
2364
|
-
|
|
2365
|
-
readonly
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
cycleTheme(): void;
|
|
2385
|
+
private platformId;
|
|
2386
|
+
private readonly STORAGE_KEY;
|
|
2387
|
+
config: i0.WritableSignal<ThemeConfig>;
|
|
2388
|
+
customizerOpen: i0.WritableSignal<boolean>;
|
|
2389
|
+
constructor(platformId: Object);
|
|
2390
|
+
updateConfig(partial: Partial<ThemeConfig>): void;
|
|
2391
|
+
private loadConfig;
|
|
2392
|
+
private saveConfig;
|
|
2393
|
+
private applyTheme;
|
|
2394
|
+
private applyPrimaryPalette;
|
|
2395
|
+
private applySurfacePalette;
|
|
2376
2396
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
2377
2397
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
2378
2398
|
}
|
|
@@ -2411,5 +2431,5 @@ declare class LayoutComponent {
|
|
|
2411
2431
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "app-layout", never, {}, {}, never, never, true, never>;
|
|
2412
2432
|
}
|
|
2413
2433
|
|
|
2414
|
-
export { APP_META_CONFIG_TOKEN, AccordionSectionComponent, ActionDispatcherService, AmfDialogHostComponent, AmfDrawerHostComponent, AppConfigService, AuthService, CardSectionComponent, ComponentRegistryService, ConditionEvaluatorService, FormRendererComponent, LayoutComponent, LayoutType, META_SECTION_CONFIG, META_SECTION_CONTEXT, MetaApiService, MetaModalHostComponent, MetaPageComponent, MetaRendererComponent, MetaRouterService, MetaStateService, NotificationService, PageHeaderSectionComponent, PluginRegistryService, RepeaterFieldComponent, StatsGridSectionComponent, StepperFormRendererComponent, TableRendererComponent, ThemeService, authGuard, authInterceptor, getAmfRoutes, initializeAvoraMetaForge, metaCanDeactivateGuard, metaGuard, provideAvoraMetaForge };
|
|
2415
|
-
export type { AccordionMeta, AccordionPanelMeta, ActionMeta, ActionType, AggregateRowMeta, AlertMeta, ApiActionConfig, ApiAuthMeta, ApiEndpointMeta, ApiPaginationMeta, AppBrandingMeta, AppMeta, AuthUser, AutosaveMeta, AvoraMetaForgePlugin, BreadcrumbMeta, CacheMeta, CardMeta, CellType, ClearStateActionConfig, ColumnEditValidatorMeta, ColumnMeta, ComputeFieldMeta, ConditionMeta, ConditionOperator, ConditionalActionConfig, ConfirmActionConfig, CopyToClipboardActionConfig, CrossFieldValidatorMeta, CustomComponentMeta, DelayActionConfig, DialogConfig, DispatchMultipleActionConfig, DividerMeta, DownloadFileActionConfig, DrawerActionConfig, EmitActionConfig, EmptyStateMeta, EnvironmentConfig, FieldMeta, FieldType, FocusActionConfig, FooterLinkMeta, ForEachActionConfig, FormLayout, FormMeta, FormStepMeta, GlobalAuthMeta, GuardMeta, HtmlMeta, HttpMethod$1 as HttpMethod, IframeMeta, LayoutConfigMeta, LayoutMeta, LayoutTypeKey, LoadingActionConfig, LogActionConfig, MetaSectionComponent, ModalActionConfig, NavGroupMeta, NavItemMeta, NavigateActionConfig, Notification, NotificationType, NotifyActionConfig, OpenUrlActionConfig, OptionMeta, PageHeaderActionMeta, PageHeaderMeta, PageMeta, PaginationMeta, PatchFormActionConfig, PrintActionConfig, ReloadTableActionConfig, ResetFormActionConfig, ResolverMeta, RetryMeta, RowClassMeta, ScrollToActionConfig, SectionMeta, ServerPaginationConfig, SetStateActionConfig, SetTitleActionConfig, SpacerMeta, StatCardMeta, StateChange, StatsGridMeta, StorageActionConfig, SubmitFormActionConfig, TabMeta, TableActionMeta, TableFilterMeta, TableMeta, TabsMeta, ThemeMeta, TimelineItemMeta, TimelineMeta, ToggleClassActionConfig, TransformContextActionConfig, TransformMeta, ValidatorMeta };
|
|
2434
|
+
export { APP_META_CONFIG_TOKEN, AccordionSectionComponent, ActionDispatcherService, AmfDialogHostComponent, AmfDrawerHostComponent, AppConfigService, AuthService, CardSectionComponent, ComponentRegistryService, ConditionEvaluatorService, DEFAULT_THEME_CONFIG, FormRendererComponent, LayoutComponent, LayoutType, META_SECTION_CONFIG, META_SECTION_CONTEXT, MetaApiService, MetaModalHostComponent, MetaPageComponent, MetaRendererComponent, MetaRouterService, MetaStateService, NotificationService, PageHeaderSectionComponent, PluginRegistryService, RepeaterFieldComponent, SURFACE_PRESETS, StatsGridSectionComponent, StepperFormRendererComponent, THEME_PRESETS, TableRendererComponent, ThemeService, authGuard, authInterceptor, getAmfRoutes, initializeAvoraMetaForge, metaCanDeactivateGuard, metaGuard, provideAvoraMetaForge };
|
|
2435
|
+
export type { AccordionMeta, AccordionPanelMeta, ActionMeta, ActionType, AggregateRowMeta, AlertMeta, ApiActionConfig, ApiAuthMeta, ApiEndpointMeta, ApiPaginationMeta, AppBrandingMeta, AppMeta, AuthUser, AutosaveMeta, AvoraMetaForgePlugin, BreadcrumbMeta, CacheMeta, CardMeta, CellType, ClearStateActionConfig, ColorPreset, ColumnEditValidatorMeta, ColumnMeta, ComputeFieldMeta, ConditionMeta, ConditionOperator, ConditionalActionConfig, ConfirmActionConfig, CopyToClipboardActionConfig, CrossFieldValidatorMeta, CustomComponentMeta, DelayActionConfig, DialogConfig, DispatchMultipleActionConfig, DividerMeta, DownloadFileActionConfig, DrawerActionConfig, EmitActionConfig, EmptyStateMeta, EnvironmentConfig, FieldMeta, FieldType, FocusActionConfig, FooterLinkMeta, ForEachActionConfig, FormLayout, FormMeta, FormStepMeta, GlobalAuthMeta, GuardMeta, HtmlMeta, HttpMethod$1 as HttpMethod, IframeMeta, LayoutConfigMeta, LayoutMeta, LayoutTypeKey, LoadingActionConfig, LogActionConfig, MetaSectionComponent, ModalActionConfig, NavGroupMeta, NavItemMeta, NavigateActionConfig, Notification, NotificationType, NotifyActionConfig, OpenUrlActionConfig, OptionMeta, PageHeaderActionMeta, PageHeaderMeta, PageMeta, PaginationMeta, PatchFormActionConfig, PrintActionConfig, ReloadTableActionConfig, ResetFormActionConfig, ResolverMeta, RetryMeta, RowClassMeta, ScrollToActionConfig, SectionMeta, ServerPaginationConfig, SetStateActionConfig, SetTitleActionConfig, SpacerMeta, StatCardMeta, StateChange, StatsGridMeta, StorageActionConfig, SubmitFormActionConfig, SurfacePreset, TabMeta, TableActionMeta, TableFilterMeta, TableMeta, TabsMeta, ThemeConfig, ThemeMeta, TimelineItemMeta, TimelineMeta, ToggleClassActionConfig, TransformContextActionConfig, TransformMeta, ValidatorMeta };
|