@praxisui/settings-panel 3.0.0-beta.6 → 3.0.0-beta.7
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.
|
@@ -7,7 +7,7 @@ import * as i3$1 from '@angular/material/button';
|
|
|
7
7
|
import { MatButtonModule } from '@angular/material/button';
|
|
8
8
|
import * as i4 from '@angular/material/icon';
|
|
9
9
|
import { MatIconModule } from '@angular/material/icon';
|
|
10
|
-
import { PraxisIconDirective, SETTINGS_PANEL_DATA as SETTINGS_PANEL_DATA$1, GlobalConfigService, FieldControlType, IconPickerService, LoggerService } from '@praxisui/core';
|
|
10
|
+
import { PraxisIconDirective, SETTINGS_PANEL_DATA as SETTINGS_PANEL_DATA$1, SETTINGS_PANEL_BRIDGE, GlobalConfigService, FieldControlType, IconPickerService, LoggerService } from '@praxisui/core';
|
|
11
11
|
import * as i5 from '@angular/material/tooltip';
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import { CdkTrapFocus } from '@angular/cdk/a11y';
|
|
@@ -416,6 +416,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
416
416
|
args: [{ providedIn: 'root' }]
|
|
417
417
|
}], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i0.Injector }] });
|
|
418
418
|
|
|
419
|
+
function providePraxisSettingsPanelBridge() {
|
|
420
|
+
return {
|
|
421
|
+
provide: SETTINGS_PANEL_BRIDGE,
|
|
422
|
+
useFactory: (service) => ({
|
|
423
|
+
open: (opts) => service.open({
|
|
424
|
+
id: opts.id,
|
|
425
|
+
title: opts.title,
|
|
426
|
+
titleIcon: opts.titleIcon,
|
|
427
|
+
content: {
|
|
428
|
+
component: opts.content.component,
|
|
429
|
+
inputs: (opts.content.inputs || undefined),
|
|
430
|
+
},
|
|
431
|
+
}),
|
|
432
|
+
}),
|
|
433
|
+
deps: [SettingsPanelService],
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
|
|
419
437
|
/**
|
|
420
438
|
* Admin helper to load, patch and persist GlobalConfig.
|
|
421
439
|
* Intended to be used by the Global Config Editor UI.
|
|
@@ -2959,5 +2977,5 @@ const SETTINGS_PANEL_AI_CAPABILITIES = {
|
|
|
2959
2977
|
* Generated bundle index. Do not edit.
|
|
2960
2978
|
*/
|
|
2961
2979
|
|
|
2962
|
-
export { GLOBAL_CONFIG_DYNAMIC_FORM_COMPONENT, GlobalConfigAdminService, GlobalConfigEditorComponent, SETTINGS_PANEL_AI_CAPABILITIES, SETTINGS_PANEL_DATA, SETTINGS_PANEL_REF, SettingsPanelComponent, SettingsPanelRef, SettingsPanelService, buildGlobalConfigFormConfig, openGlobalConfigEditor };
|
|
2980
|
+
export { GLOBAL_CONFIG_DYNAMIC_FORM_COMPONENT, GlobalConfigAdminService, GlobalConfigEditorComponent, SETTINGS_PANEL_AI_CAPABILITIES, SETTINGS_PANEL_DATA, SETTINGS_PANEL_REF, SettingsPanelComponent, SettingsPanelRef, SettingsPanelService, buildGlobalConfigFormConfig, openGlobalConfigEditor, providePraxisSettingsPanelBridge };
|
|
2963
2981
|
//# sourceMappingURL=praxisui-settings-panel.mjs.map
|