@acorex/platform 21.0.0-next.65 → 21.0.0-next.67
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/acorex-platform-common.mjs +94 -18
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +42 -1
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +29 -7
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +282 -108
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-BaTS183I.mjs +383 -0
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-BaTS183I.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs → acorex-platform-layout-entity-file-list-popup.component-_yrP5SQe.mjs} +15 -18
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component-_yrP5SQe.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +3339 -301
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +0 -1
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +1377 -4
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +9214 -11991
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs → acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs → acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs → acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +685 -287
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-BgXYCFia.mjs → acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs} +29 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +94 -24
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +176 -26
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +73 -9
- package/types/acorex-platform-core.d.ts +63 -2
- package/types/acorex-platform-layout-builder.d.ts +7 -1
- package/types/acorex-platform-layout-components.d.ts +162 -36
- package/types/acorex-platform-layout-entity.d.ts +704 -14
- package/types/acorex-platform-layout-views.d.ts +28 -0
- package/types/acorex-platform-layout-widget-core.d.ts +156 -3
- package/types/acorex-platform-layout-widgets.d.ts +29 -393
- package/types/acorex-platform-themes-default.d.ts +137 -30
- package/types/acorex-platform-themes-shared.d.ts +23 -1
- package/types/acorex-platform-workflow.d.ts +89 -4
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BgXYCFia.mjs.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { objectKeyValueTransforms, AXPPlatformScope } from '@acorex/platform/core';
|
|
2
2
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
3
|
-
import { AXPThemeMode,
|
|
3
|
+
import { AXPThemeLayoutSetting, AXPThemeMode, AXPMenuVerticalMode } from './acorex-platform-themes-shared.mjs';
|
|
4
4
|
|
|
5
5
|
const I18N = '@layout:settings.appearance';
|
|
6
|
+
const verticalModeVisibility = `{{ context.eval('${AXPThemeLayoutSetting.MenuOrientation}') !== 'horizontal' }}`;
|
|
6
7
|
class AXPThemeSettingProvider {
|
|
7
8
|
constructor(_injector) {
|
|
8
9
|
this._injector = _injector;
|
|
@@ -77,6 +78,32 @@ class AXPThemeSettingProvider {
|
|
|
77
78
|
},
|
|
78
79
|
},
|
|
79
80
|
description: `${I18N}.items.root-menu.description`,
|
|
81
|
+
})
|
|
82
|
+
.addSetting({
|
|
83
|
+
key: AXPThemeLayoutSetting.MenuVerticalMode,
|
|
84
|
+
title: `${I18N}.items.root-menu.vertical-mode.title`,
|
|
85
|
+
scope: AXPPlatformScope.User,
|
|
86
|
+
isInherited: true,
|
|
87
|
+
defaultValue: AXPMenuVerticalMode.Full,
|
|
88
|
+
valueTransforms: objectKeyValueTransforms('id'),
|
|
89
|
+
widget: {
|
|
90
|
+
type: AXPWidgetsCatalog.menuOrientationChooser,
|
|
91
|
+
options: {
|
|
92
|
+
chooser: 'vertical-mode',
|
|
93
|
+
visibility: verticalModeVisibility,
|
|
94
|
+
},
|
|
95
|
+
layout: {
|
|
96
|
+
positions: {
|
|
97
|
+
sm: {
|
|
98
|
+
colSpan: 12,
|
|
99
|
+
},
|
|
100
|
+
md: {
|
|
101
|
+
colSpan: 6,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
description: `${I18N}.items.root-menu.vertical-mode.description`,
|
|
80
107
|
})
|
|
81
108
|
// Add the 'Menu Badge Visibility' setting
|
|
82
109
|
.addSetting({
|
|
@@ -157,4 +184,4 @@ class AXPThemeSettingProvider {
|
|
|
157
184
|
}
|
|
158
185
|
|
|
159
186
|
export { AXPThemeSettingProvider };
|
|
160
|
-
//# sourceMappingURL=acorex-platform-themes-shared-settings.provider-
|
|
187
|
+
//# sourceMappingURL=acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs","sources":["../../../../libs/platform/themes/shared/src/lib/settings.provider.ts"],"sourcesContent":["import { Injector } from '@angular/core';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { AXPPlatformScope, objectKeyValueTransforms } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { AXPThemeLayoutSetting } from './settings.keys';\nimport { AXPMenuVerticalMode, AXPThemeMode } from './theme.types';\n\nconst I18N = '@layout:settings.appearance';\nconst verticalModeVisibility = `{{ context.eval('${AXPThemeLayoutSetting.MenuOrientation}') !== 'horizontal' }}`;\n\nexport class AXPThemeSettingProvider implements AXPSettingDefinitionProvider {\n constructor(private _injector: Injector) {}\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // Define the 'Appearance Settings' group\n context\n .addGroup(\n 'appearance',\n `${I18N}.nav-title`,\n `${I18N}.description`,\n 'fa-light fa-palette',\n `${I18N}.title`,\n 50,\n )\n\n // Add the 'Brightness & Color' section\n .addSection('color', `${I18N}.items.color.title`, `${I18N}.items.color.description`)\n\n // Add the 'Theme Mode' setting\n .addSetting({\n key: AXPThemeLayoutSetting.Mode,\n title: `${I18N}.items.color.mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: AXPThemeMode.Light,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.themeModeChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.color.mode.description`,\n })\n\n .addSetting({\n key: AXPThemeLayoutSetting.Palette,\n title: `${I18N}.items.color.palette.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'default',\n valueTransforms: objectKeyValueTransforms('name'),\n widget: {\n type: 'theme-palette-chooser',\n layout: {\n stacked: true,\n },\n },\n description: `${I18N}.items.color.palette.description`,\n })\n\n // End the 'Brightness & Color' section\n .endSection()\n\n // Add the 'Root Menu' section\n .addSection('root-menu', `${I18N}.items.root-menu.title`, `${I18N}.items.root-menu.description`)\n\n // Add the 'Menu Orientation' setting\n .addSetting({\n key: AXPThemeLayoutSetting.MenuOrientation,\n title: `${I18N}.items.root-menu.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'vertical',\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.menuOrientationChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.root-menu.description`,\n })\n\n .addSetting({\n key: AXPThemeLayoutSetting.MenuVerticalMode,\n title: `${I18N}.items.root-menu.vertical-mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: AXPMenuVerticalMode.Full,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.menuOrientationChooser,\n options: {\n chooser: 'vertical-mode',\n visibility: verticalModeVisibility,\n },\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.root-menu.vertical-mode.description`,\n })\n\n // Add the 'Menu Badge Visibility' setting\n .addSetting({\n key: AXPThemeLayoutSetting.MenuBadgeVisible,\n title: `${I18N}.items.root-menu.badge.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.root-menu.badge.description`,\n })\n .endSection()\n\n // Add the 'Scale & Layout' section\n .addSection('layout', `${I18N}.items.layout.title`, `${I18N}.items.layout.description`)\n\n // Add the 'Font Style' setting\n .addSetting({\n key: AXPThemeLayoutSetting.Font,\n title: `${I18N}.items.layout.font.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'system-ui',\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.fontStyleChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.layout.font.description`,\n })\n\n // Add the 'Font Size' setting\n .addSetting({\n key: AXPThemeLayoutSetting.FontSize,\n title: `${I18N}.items.layout.size.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'medium',\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.fontSizeChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.layout.size.description`,\n })\n\n // End the 'Scale & Layout' section\n .endSection()\n\n // End the 'Appearance Settings' group\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;AAOA,MAAM,IAAI,GAAG,6BAA6B;AAC1C,MAAM,sBAAsB,GAAG,CAAA,iBAAA,EAAoB,qBAAqB,CAAC,eAAe,wBAAwB;MAEnG,uBAAuB,CAAA;AAClC,IAAA,WAAA,CAAoB,SAAmB,EAAA;QAAnB,IAAA,CAAA,SAAS,GAAT,S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Hook
|
|
|
16
16
|
import { timer, firstValueFrom, filter } from 'rxjs';
|
|
17
17
|
import * as i5 from '@acorex/core/translation';
|
|
18
18
|
import { AXTranslationModule } from '@acorex/core/translation';
|
|
19
|
-
import { AXPValueWidgetComponent, AXP_WIDGETS_LAYOUT_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex/platform/layout/widget-core';
|
|
19
|
+
import { AXPValueWidgetComponent, AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY, AXP_WIDGETS_LAYOUT_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex/platform/layout/widget-core';
|
|
20
20
|
import { AXPopupService } from '@acorex/components/popup';
|
|
21
21
|
import * as i2$1 from '@acorex/components/button-group';
|
|
22
22
|
import { AXButtonGroupModule } from '@acorex/components/button-group';
|
|
23
23
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
24
24
|
import * as i1$1 from '@acorex/components/search-box';
|
|
25
25
|
import { AXSearchBoxModule } from '@acorex/components/search-box';
|
|
26
|
-
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/layout/widgets';
|
|
27
26
|
import { AXSelectionCdkModule } from '@acorex/cdk/selection';
|
|
28
27
|
import * as i4$1 from '@angular/forms';
|
|
29
28
|
import { FormsModule } from '@angular/forms';
|
|
@@ -42,7 +41,9 @@ var AXPThemeLayoutSetting;
|
|
|
42
41
|
AXPThemeLayoutSetting["Mode"] = "Common:Setting:Layout.Mode";
|
|
43
42
|
AXPThemeLayoutSetting["SideMenuStatus"] = "Common:Setting:Layout.SideMenu.Status";
|
|
44
43
|
AXPThemeLayoutSetting["SideMenuWidth"] = "Common:Setting:Layout.SideMenu.Width";
|
|
44
|
+
AXPThemeLayoutSetting["SideMenuCompactWidth"] = "Common:Setting:Layout.SideMenu.CompactWidth";
|
|
45
45
|
AXPThemeLayoutSetting["MenuOrientation"] = "Common:Setting:Layout.RootMenu.Direction";
|
|
46
|
+
AXPThemeLayoutSetting["MenuVerticalMode"] = "Common:Setting:Layout.RootMenu.VerticalMode";
|
|
46
47
|
AXPThemeLayoutSetting["MenuBadgeVisible"] = "Common:Setting:Layout.RootMenu.Badge";
|
|
47
48
|
})(AXPThemeLayoutSetting || (AXPThemeLayoutSetting = {}));
|
|
48
49
|
|
|
@@ -65,7 +66,27 @@ var AXPMenuOrientation;
|
|
|
65
66
|
AXPMenuOrientation["Vertical"] = "vertical";
|
|
66
67
|
AXPMenuOrientation["Horizontal"] = "horizontal";
|
|
67
68
|
})(AXPMenuOrientation || (AXPMenuOrientation = {}));
|
|
69
|
+
// Vertical side menu display mode
|
|
70
|
+
var AXPMenuVerticalMode;
|
|
71
|
+
(function (AXPMenuVerticalMode) {
|
|
72
|
+
AXPMenuVerticalMode["Compact"] = "compact";
|
|
73
|
+
AXPMenuVerticalMode["Full"] = "full";
|
|
74
|
+
})(AXPMenuVerticalMode || (AXPMenuVerticalMode = {}));
|
|
75
|
+
const AXP_SIDE_MENU_FULL_DEFAULT_WIDTH = 300;
|
|
76
|
+
const AXP_SIDE_MENU_COMPACT_WIDTH = 80;
|
|
68
77
|
|
|
78
|
+
function normalizeMenuVerticalMode(value, fallback) {
|
|
79
|
+
if (value === AXPMenuVerticalMode.Compact || value === AXPMenuVerticalMode.Full) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
if (typeof value === 'object' && value !== null && 'id' in value) {
|
|
83
|
+
const id = value.id;
|
|
84
|
+
if (id === AXPMenuVerticalMode.Compact || id === AXPMenuVerticalMode.Full) {
|
|
85
|
+
return id;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return fallback;
|
|
89
|
+
}
|
|
69
90
|
// ThemeStore - Manages theme settings, system changes, and loading states
|
|
70
91
|
const AXPLayoutThemeService = signalStore({ providedIn: 'root' },
|
|
71
92
|
// Initial State
|
|
@@ -95,7 +116,9 @@ withState(() => {
|
|
|
95
116
|
sideMenuState: (getInitialScreenSize() === AXPScreenSize.Large
|
|
96
117
|
? AXPSideMenuState.Opened
|
|
97
118
|
: AXPSideMenuState.Closed),
|
|
98
|
-
sideMenuWidth:
|
|
119
|
+
sideMenuWidth: AXP_SIDE_MENU_FULL_DEFAULT_WIDTH,
|
|
120
|
+
sideMenuCompactWidth: AXP_SIDE_MENU_COMPACT_WIDTH,
|
|
121
|
+
menuVerticalMode: AXPMenuVerticalMode.Full,
|
|
99
122
|
menuOrientation: 'vertical',
|
|
100
123
|
_listener: null,
|
|
101
124
|
isPrinting: false,
|
|
@@ -103,7 +126,7 @@ withState(() => {
|
|
|
103
126
|
return state;
|
|
104
127
|
}),
|
|
105
128
|
// Computed Signals
|
|
106
|
-
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMenuState, overlayLoading, navigationLoading, menuOrientation, isPrinting, }) => ({
|
|
129
|
+
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMenuState, overlayLoading, navigationLoading, menuOrientation, menuVerticalMode, sideMenuWidth, sideMenuCompactWidth, isPrinting, }) => ({
|
|
107
130
|
isDarkMode: computed(() => {
|
|
108
131
|
if (isPrinting()) {
|
|
109
132
|
return false;
|
|
@@ -118,6 +141,9 @@ withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMen
|
|
|
118
141
|
isOverlayLoading: computed(() => overlayLoading()),
|
|
119
142
|
isNavigationLoading: computed(() => navigationLoading()),
|
|
120
143
|
isMenuHorizontal: computed(() => menuOrientation() === AXPMenuOrientation.Horizontal),
|
|
144
|
+
sideMenuDrawerWidth: computed(() => normalizeMenuVerticalMode(menuVerticalMode(), AXPMenuVerticalMode.Full) === AXPMenuVerticalMode.Compact
|
|
145
|
+
? sideMenuCompactWidth()
|
|
146
|
+
: sideMenuWidth()),
|
|
121
147
|
})),
|
|
122
148
|
// Methods for State Management
|
|
123
149
|
withMethods((store, http = inject(HttpClient), settingsService = inject(AXPSettingsService)) => {
|
|
@@ -136,12 +162,19 @@ withMethods((store, http = inject(HttpClient), settingsService = inject(AXPSetti
|
|
|
136
162
|
store.menuOrientation();
|
|
137
163
|
patchState(store, { menuOrientation: settingMenuOrientation });
|
|
138
164
|
//
|
|
165
|
+
const settingMenuVerticalMode = normalizeMenuVerticalMode(await settingsService.get(AXPThemeLayoutSetting.MenuVerticalMode), store.menuVerticalMode());
|
|
166
|
+
patchState(store, { menuVerticalMode: settingMenuVerticalMode });
|
|
167
|
+
//
|
|
139
168
|
const fontFamily = await settingsService.get(AXPThemeLayoutSetting.Font);
|
|
140
169
|
const fontSize = await settingsService.get(AXPThemeLayoutSetting.FontSize);
|
|
141
170
|
patchState(store, { font: { family: fontFamily, size: fontSize } });
|
|
142
171
|
//
|
|
143
|
-
const sideMenuWidth = await settingsService.get(AXPThemeLayoutSetting.SideMenuWidth);
|
|
172
|
+
const sideMenuWidth = (await settingsService.get(AXPThemeLayoutSetting.SideMenuWidth)) ?? store.sideMenuWidth();
|
|
144
173
|
patchState(store, { sideMenuWidth });
|
|
174
|
+
//
|
|
175
|
+
const sideMenuCompactWidth = (await settingsService.get(AXPThemeLayoutSetting.SideMenuCompactWidth)) ??
|
|
176
|
+
store.sideMenuCompactWidth();
|
|
177
|
+
patchState(store, { sideMenuCompactWidth });
|
|
145
178
|
await _updateHtmlClass();
|
|
146
179
|
};
|
|
147
180
|
// Update HTML class based on theme
|
|
@@ -257,11 +290,27 @@ withMethods((store, http = inject(HttpClient), settingsService = inject(AXPSetti
|
|
|
257
290
|
patchState(store, { sideMenuState: AXPSideMenuState.Closed });
|
|
258
291
|
settingsService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuStatus, AXPSideMenuState.Closed);
|
|
259
292
|
},
|
|
260
|
-
// Set side menu width
|
|
293
|
+
// Set side menu width in full vertical mode
|
|
261
294
|
setSideMenuWidth(width) {
|
|
262
295
|
patchState(store, { sideMenuWidth: width });
|
|
263
296
|
settingsService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuWidth, width);
|
|
264
297
|
},
|
|
298
|
+
// Set side menu width in compact vertical mode
|
|
299
|
+
setSideMenuCompactWidth(width) {
|
|
300
|
+
patchState(store, { sideMenuCompactWidth: width });
|
|
301
|
+
settingsService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuCompactWidth, width);
|
|
302
|
+
},
|
|
303
|
+
// Persist drawer width for the active vertical menu mode
|
|
304
|
+
setSideMenuDrawerWidth(width) {
|
|
305
|
+
if (normalizeMenuVerticalMode(store.menuVerticalMode(), AXPMenuVerticalMode.Full) === AXPMenuVerticalMode.Compact) {
|
|
306
|
+
patchState(store, { sideMenuCompactWidth: width });
|
|
307
|
+
settingsService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuCompactWidth, width);
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
patchState(store, { sideMenuWidth: width });
|
|
311
|
+
settingsService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuWidth, width);
|
|
312
|
+
}
|
|
313
|
+
},
|
|
265
314
|
// Toggle side menu state
|
|
266
315
|
toggleSideMenu() {
|
|
267
316
|
const newSideMenuState = store.sideMenuState() === AXPSideMenuState.Opened ? AXPSideMenuState.Closed : AXPSideMenuState.Opened;
|
|
@@ -306,7 +355,17 @@ withHooks((store, settingsService = inject(AXPSettingsService)) => ({
|
|
|
306
355
|
.pipe(filter((c) => [AXPPlatformScope.Platform, AXPPlatformScope.Tenant, AXPPlatformScope.User].includes(c.scope)))
|
|
307
356
|
.subscribe(async (changes) => {
|
|
308
357
|
const keys = Object.values(AXPThemeLayoutSetting);
|
|
309
|
-
if (changes.keys.some((key) => keys.includes(key))) {
|
|
358
|
+
if (!changes.keys.some((key) => keys.includes(key))) {
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
if (changes.keys.includes(AXPThemeLayoutSetting.MenuVerticalMode)) {
|
|
362
|
+
patchState(store, {
|
|
363
|
+
menuVerticalMode: normalizeMenuVerticalMode(changes.values[AXPThemeLayoutSetting.MenuVerticalMode], store.menuVerticalMode()),
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
const shouldReloadSettings = changes.keys.some((key) => keys.includes(key) &&
|
|
367
|
+
key !== AXPThemeLayoutSetting.MenuVerticalMode);
|
|
368
|
+
if (shouldReloadSettings) {
|
|
310
369
|
await store['loadSettings']();
|
|
311
370
|
}
|
|
312
371
|
});
|
|
@@ -1591,14 +1650,21 @@ const AXPFontStyleChooserWidget = {
|
|
|
1591
1650
|
class AXPMenuOrientationChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
1592
1651
|
constructor() {
|
|
1593
1652
|
super(...arguments);
|
|
1594
|
-
this.orientations =
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1653
|
+
this.orientations = computed(() => this.options()['chooser'] === 'vertical-mode'
|
|
1654
|
+
? [
|
|
1655
|
+
{ id: 'compact', image: '/assets/images/menu-mode/compact.svg' },
|
|
1656
|
+
{ id: 'full', image: '/assets/images/menu-mode/full.svg' },
|
|
1657
|
+
]
|
|
1658
|
+
: [
|
|
1659
|
+
{ id: 'vertical', icon: 'fa-regular fa-square-ellipsis-vertical' },
|
|
1660
|
+
{ id: 'horizontal', icon: 'fa-regular fa-square-ellipsis' },
|
|
1661
|
+
], ...(ngDevMode ? [{ debugName: "orientations" }] : /* istanbul ignore next */ []));
|
|
1598
1662
|
this.selectedOrientation = signal(null, ...(ngDevMode ? [{ debugName: "selectedOrientation" }] : /* istanbul ignore next */ []));
|
|
1599
1663
|
this.#eff = effect(() => {
|
|
1600
|
-
|
|
1601
|
-
|
|
1664
|
+
const options = this.orientations();
|
|
1665
|
+
const value = this.getValue();
|
|
1666
|
+
if (value) {
|
|
1667
|
+
this.selectedOrientation.set(options.find((o) => o.id === value) ?? options[0]);
|
|
1602
1668
|
}
|
|
1603
1669
|
}, ...(ngDevMode ? [{ debugName: "#eff" }] : /* istanbul ignore next */ []));
|
|
1604
1670
|
}
|
|
@@ -1610,26 +1676,30 @@ class AXPMenuOrientationChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1610
1676
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXPMenuOrientationChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1611
1677
|
@for (orientation of orientations(); track orientation.id) {
|
|
1612
1678
|
<div (click)="onOrientationClick(orientation)" [class.--selected]="orientation.id === selectedOrientation()?.id">
|
|
1613
|
-
|
|
1679
|
+
@if (orientation.image) {
|
|
1680
|
+
<img [src]="orientation.image" alt="" />
|
|
1681
|
+
} @else {
|
|
1614
1682
|
<i [class]="orientation.icon"></i>
|
|
1615
|
-
|
|
1616
|
-
|
|
1683
|
+
<span>{{ '@layout:terms.menu-modes.' + orientation.id | translate | async }}</span>
|
|
1684
|
+
}
|
|
1617
1685
|
</div>
|
|
1618
1686
|
}
|
|
1619
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1687
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>div img{height:2rem;width:auto}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1620
1688
|
}
|
|
1621
1689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, decorators: [{
|
|
1622
1690
|
type: Component,
|
|
1623
1691
|
args: [{ template: `
|
|
1624
1692
|
@for (orientation of orientations(); track orientation.id) {
|
|
1625
1693
|
<div (click)="onOrientationClick(orientation)" [class.--selected]="orientation.id === selectedOrientation()?.id">
|
|
1626
|
-
|
|
1694
|
+
@if (orientation.image) {
|
|
1695
|
+
<img [src]="orientation.image" alt="" />
|
|
1696
|
+
} @else {
|
|
1627
1697
|
<i [class]="orientation.icon"></i>
|
|
1628
|
-
|
|
1629
|
-
|
|
1698
|
+
<span>{{ '@layout:terms.menu-modes.' + orientation.id | translate | async }}</span>
|
|
1699
|
+
}
|
|
1630
1700
|
</div>
|
|
1631
1701
|
}
|
|
1632
|
-
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, AXSelectionCdkModule, AXTranslationModule], styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"] }]
|
|
1702
|
+
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, AXSelectionCdkModule, AXTranslationModule], styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>div img{height:2rem;width:auto}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"] }]
|
|
1633
1703
|
}] });
|
|
1634
1704
|
|
|
1635
1705
|
var menuOrientationChooserWidget_component = /*#__PURE__*/Object.freeze({
|
|
@@ -2153,7 +2223,7 @@ class AXPThemesSharedModule {
|
|
|
2153
2223
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2154
2224
|
useFactory: async () => {
|
|
2155
2225
|
const injector = inject(Injector);
|
|
2156
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
2226
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs')).AXPThemeSettingProvider;
|
|
2157
2227
|
return new provider(injector);
|
|
2158
2228
|
},
|
|
2159
2229
|
multi: true,
|
|
@@ -2193,7 +2263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2193
2263
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2194
2264
|
useFactory: async () => {
|
|
2195
2265
|
const injector = inject(Injector);
|
|
2196
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
2266
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs')).AXPThemeSettingProvider;
|
|
2197
2267
|
return new provider(injector);
|
|
2198
2268
|
},
|
|
2199
2269
|
multi: true,
|
|
@@ -2207,5 +2277,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2207
2277
|
* Generated bundle index. Do not edit.
|
|
2208
2278
|
*/
|
|
2209
2279
|
|
|
2210
|
-
export { AXPLayoutThemeService, AXPMenuOrientation, AXPSideMenuState, AXPThemeLayoutSetting, AXPThemeMode, AXPThemePaletteProviderDefault, AXPThemeSlotComponent, AXPThemesSharedModule, AXP_THEME_PALETTE_PROVIDER };
|
|
2280
|
+
export { AXPLayoutThemeService, AXPMenuOrientation, AXPMenuVerticalMode, AXPSideMenuState, AXPThemeLayoutSetting, AXPThemeMode, AXPThemePaletteProviderDefault, AXPThemeSlotComponent, AXPThemesSharedModule, AXP_SIDE_MENU_COMPACT_WIDTH, AXP_SIDE_MENU_FULL_DEFAULT_WIDTH, AXP_THEME_PALETTE_PROVIDER };
|
|
2211
2281
|
//# sourceMappingURL=acorex-platform-themes-shared.mjs.map
|