@acorex/platform 21.0.0-next.88 → 21.0.0-next.89
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-auth.mjs +8 -2
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-VfmZct9H.mjs → acorex-platform-common-common-settings.provider-DilV4dql.mjs} +15 -42
- package/fesm2022/acorex-platform-common-common-settings.provider-DilV4dql.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +3299 -3200
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +621 -26
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +98 -189
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-RttFwaw9.mjs} +17 -4
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-RttFwaw9.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +125 -26
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +4 -4
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +106 -12
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +419 -147
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +851 -162
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +378 -103
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-D4MOHEpI.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-CZc2zFlg.mjs} +2 -2
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-D4MOHEpI.mjs.map → acorex-platform-layout-widgets-tabular-data-edit-popup.component-CZc2zFlg.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-gX-3Kx9I.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-XWRUVoL4.mjs} +2 -2
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-gX-3Kx9I.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-XWRUVoL4.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +575 -239
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +221 -24
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-BUwPqwUS.mjs → acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs} +48 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +103 -24
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-auth.d.ts +1 -0
- package/types/acorex-platform-common.d.ts +202 -151
- package/types/acorex-platform-core.d.ts +161 -6
- package/types/acorex-platform-layout-builder.d.ts +10 -20
- package/types/acorex-platform-layout-components.d.ts +14 -1
- package/types/acorex-platform-layout-entity-contracts.d.ts +27 -2
- package/types/acorex-platform-layout-entity.d.ts +61 -12
- package/types/acorex-platform-layout-views.d.ts +101 -19
- package/types/acorex-platform-layout-widget-core.d.ts +65 -9
- package/types/acorex-platform-layout-widgets.d.ts +48 -26
- package/types/acorex-platform-themes-default.d.ts +56 -5
- package/types/acorex-platform-themes-shared.d.ts +4 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-VfmZct9H.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BUwPqwUS.mjs.map +0 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { AXPCommonSettings } from '@acorex/platform/common';
|
|
1
2
|
import { AXPWidgetsCatalog, AXPPlatformScope } from '@acorex/platform/contracts';
|
|
2
3
|
import { objectKeyValueTransforms } from '@acorex/platform/core';
|
|
3
4
|
import { AXPThemeLayoutSetting, AXPThemeMode, AXPMenuVerticalMode } from './acorex-platform-themes-shared.mjs';
|
|
4
5
|
|
|
5
6
|
const I18N = '@layout:settings.appearance';
|
|
6
7
|
const verticalModeVisibility = `{{ context.eval('${AXPThemeLayoutSetting.MenuOrientation}') !== 'horizontal' }}`;
|
|
8
|
+
const maxOpenTabsVisibility = `{{ context.eval('${AXPCommonSettings.NavigationMode}') !== 'simple' }}`;
|
|
7
9
|
class AXPThemeSettingProvider {
|
|
8
10
|
constructor(_injector) {
|
|
9
11
|
this._injector = _injector;
|
|
@@ -126,6 +128,51 @@ class AXPThemeSettingProvider {
|
|
|
126
128
|
},
|
|
127
129
|
},
|
|
128
130
|
description: `${I18N}.items.root-menu.badge.description`,
|
|
131
|
+
})
|
|
132
|
+
.endSection()
|
|
133
|
+
// Add the 'Navigation' section
|
|
134
|
+
.addSection('navigation', `${I18N}.items.navigation.title`, `${I18N}.items.navigation.description`)
|
|
135
|
+
.addSetting({
|
|
136
|
+
key: AXPCommonSettings.NavigationMode,
|
|
137
|
+
title: `${I18N}.items.navigation.mode.title`,
|
|
138
|
+
scope: AXPPlatformScope.User,
|
|
139
|
+
isInherited: true,
|
|
140
|
+
defaultValue: 'simple',
|
|
141
|
+
requiresPageRefresh: true,
|
|
142
|
+
widget: {
|
|
143
|
+
type: AXPWidgetsCatalog.menuOrientationChooser,
|
|
144
|
+
options: {
|
|
145
|
+
chooser: 'navigation-mode',
|
|
146
|
+
},
|
|
147
|
+
layout: {
|
|
148
|
+
positions: {
|
|
149
|
+
sm: {
|
|
150
|
+
colSpan: 12,
|
|
151
|
+
},
|
|
152
|
+
md: {
|
|
153
|
+
colSpan: 6,
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
description: `${I18N}.items.navigation.mode.description`,
|
|
159
|
+
})
|
|
160
|
+
.addSetting({
|
|
161
|
+
key: AXPCommonSettings.MaxOpenTabs,
|
|
162
|
+
title: `${I18N}.items.navigation.max-open-tabs.title`,
|
|
163
|
+
scope: AXPPlatformScope.User,
|
|
164
|
+
isInherited: true,
|
|
165
|
+
defaultValue: 5,
|
|
166
|
+
widget: {
|
|
167
|
+
type: AXPWidgetsCatalog.number,
|
|
168
|
+
options: {
|
|
169
|
+
minValue: 2,
|
|
170
|
+
maxValue: 20,
|
|
171
|
+
step: 1,
|
|
172
|
+
visibility: maxOpenTabsVisibility,
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
description: `${I18N}.items.navigation.max-open-tabs.description`,
|
|
129
176
|
})
|
|
130
177
|
.endSection()
|
|
131
178
|
// Add the 'Scale & Layout' section
|
|
@@ -184,4 +231,4 @@ class AXPThemeSettingProvider {
|
|
|
184
231
|
}
|
|
185
232
|
|
|
186
233
|
export { AXPThemeSettingProvider };
|
|
187
|
-
//# sourceMappingURL=acorex-platform-themes-shared-settings.provider-
|
|
234
|
+
//# sourceMappingURL=acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs","sources":["../../../../libs/platform/themes/shared/src/lib/settings.provider.ts"],"sourcesContent":["import { Injector } from '@angular/core';\nimport { AXPCommonSettings, AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { AXPPlatformScope } from '@acorex/platform/contracts';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/contracts';\nimport { AXPThemeLayoutSetting } from './contracts/settings.keys';\nimport { AXPMenuVerticalMode, AXPThemeMode } from './contracts/theme.types';\n\nconst I18N = '@layout:settings.appearance';\nconst verticalModeVisibility = `{{ context.eval('${AXPThemeLayoutSetting.MenuOrientation}') !== 'horizontal' }}`;\nconst maxOpenTabsVisibility = `{{ context.eval('${AXPCommonSettings.NavigationMode}') !== 'simple' }}`;\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 'Navigation' section\n .addSection('navigation', `${I18N}.items.navigation.title`, `${I18N}.items.navigation.description`)\n .addSetting({\n key: AXPCommonSettings.NavigationMode,\n title: `${I18N}.items.navigation.mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'simple',\n requiresPageRefresh: true,\n widget: {\n type: AXPWidgetsCatalog.menuOrientationChooser,\n options: {\n chooser: 'navigation-mode',\n },\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.navigation.mode.description`,\n })\n .addSetting({\n key: AXPCommonSettings.MaxOpenTabs,\n title: `${I18N}.items.navigation.max-open-tabs.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 5,\n widget: {\n type: AXPWidgetsCatalog.number,\n options: {\n minValue: 2,\n maxValue: 20,\n step: 1,\n visibility: maxOpenTabsVisibility,\n },\n },\n description: `${I18N}.items.navigation.max-open-tabs.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":";;;;;AAQA,MAAM,IAAI,GAAG,6BAA6B;AAC1C,MAAM,sBAAsB,GAAG,CAAA,iBAAA,EAAoB,qBAAqB,CAAC,eAAe,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BAAA,OAAO,EAAE,CAAC;AACX,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;YACD,WAAW,EAAE,CAAA,EAAG,IAAI,CAAA,8BAAA,CAAgC;SACrD;;AAGA,aAAA,UAAU;;AAGV,aAAA,QAAQ,EAAE;IACf;AACD;;;;"}
|
|
@@ -11,7 +11,7 @@ import { computed, inject, effect, ChangeDetectionStrategy, Component, Injection
|
|
|
11
11
|
import { AXPSettingsService, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
12
12
|
import { AXPPlatformScope } from '@acorex/platform/contracts';
|
|
13
13
|
import * as i1$3 from '@acorex/platform/core';
|
|
14
|
-
import { AXPScreenSize, AXPDeviceService, AXPComponentSlotModule } from '@acorex/platform/core';
|
|
14
|
+
import { AXPScreenSize, AXPDeviceService, AXPDebugService, OVERLAY_LAYOUT_TRACE_NS, AXPComponentSlotModule } from '@acorex/platform/core';
|
|
15
15
|
import { HttpClient } from '@angular/common/http';
|
|
16
16
|
import { signalStore, withState, withComputed, withMethods, patchState, withHooks } from '@ngrx/signals';
|
|
17
17
|
import { timer, firstValueFrom, filter } from 'rxjs';
|
|
@@ -129,7 +129,7 @@ withState(() => {
|
|
|
129
129
|
return state;
|
|
130
130
|
}),
|
|
131
131
|
// Computed Signals
|
|
132
|
-
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMenuState, overlaySideMenuOpen, overlayLoading, navigationLoading, menuOrientation, menuVerticalMode, sideMenuWidth, sideMenuCompactWidth, isPrinting, }, deviceService = inject(AXPDeviceService)) => {
|
|
132
|
+
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMenuState, overlaySideMenuOpen, overlayLoading, navigationLoading, overlayLoadingTaskCount, menuOrientation, menuVerticalMode, sideMenuWidth, sideMenuCompactWidth, isPrinting, }, deviceService = inject(AXPDeviceService)) => {
|
|
133
133
|
const effectiveMenuVerticalMode = computed(() => {
|
|
134
134
|
if (!deviceService.isLarge()) {
|
|
135
135
|
return AXPMenuVerticalMode.Full;
|
|
@@ -151,6 +151,7 @@ withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMen
|
|
|
151
151
|
? sideMenuState() === AXPSideMenuState.Opened
|
|
152
152
|
: overlaySideMenuOpen()),
|
|
153
153
|
isOverlayLoading: computed(() => overlayLoading()),
|
|
154
|
+
overlayTaskCount: computed(() => overlayLoadingTaskCount()),
|
|
154
155
|
isNavigationLoading: computed(() => navigationLoading()),
|
|
155
156
|
isMenuHorizontal: computed(() => menuOrientation() === AXPMenuOrientation.Horizontal),
|
|
156
157
|
effectiveMenuVerticalMode,
|
|
@@ -207,19 +208,34 @@ withMethods((store, http = inject(HttpClient), settingsService = inject(AXPSetti
|
|
|
207
208
|
timeoutId = window.setTimeout(() => {
|
|
208
209
|
patchState(store, { overlayLoadingTaskCount: store.overlayLoadingTaskCount() + 1 });
|
|
209
210
|
patchState(store, { overlayLoading: true });
|
|
211
|
+
AXPDebugService.instance?.trace(OVERLAY_LAYOUT_TRACE_NS, 'theme', 'overlay ON (delayed)', () => ({
|
|
212
|
+
taskCount: store.overlayLoadingTaskCount(),
|
|
213
|
+
overlayLoading: store.overlayLoading(),
|
|
214
|
+
delay,
|
|
215
|
+
}));
|
|
210
216
|
}, delay);
|
|
211
217
|
}
|
|
212
218
|
else {
|
|
213
219
|
patchState(store, { overlayLoadingTaskCount: store.overlayLoadingTaskCount() + 1 });
|
|
214
220
|
patchState(store, { overlayLoading: true });
|
|
221
|
+
AXPDebugService.instance?.trace(OVERLAY_LAYOUT_TRACE_NS, 'theme', 'overlay ON', () => ({
|
|
222
|
+
taskCount: store.overlayLoadingTaskCount(),
|
|
223
|
+
overlayLoading: store.overlayLoading(),
|
|
224
|
+
}));
|
|
215
225
|
}
|
|
216
226
|
// Store timeout ID to clear it if the loading ends before delay
|
|
217
227
|
store._loadingTimeoutId = timeoutId;
|
|
218
228
|
}
|
|
219
229
|
else {
|
|
230
|
+
const prevCount = store.overlayLoadingTaskCount();
|
|
220
231
|
if (store.overlayLoadingTaskCount() > 0) {
|
|
221
232
|
patchState(store, { overlayLoadingTaskCount: store.overlayLoadingTaskCount() - 1 });
|
|
222
233
|
}
|
|
234
|
+
AXPDebugService.instance?.trace(OVERLAY_LAYOUT_TRACE_NS, 'theme', 'overlay OFF requested', () => ({
|
|
235
|
+
prevTaskCount: prevCount,
|
|
236
|
+
taskCount: store.overlayLoadingTaskCount(),
|
|
237
|
+
overlayLoading: store.overlayLoading(),
|
|
238
|
+
}));
|
|
223
239
|
if (store.overlayLoadingTaskCount() === 0) {
|
|
224
240
|
const timeoutId = store._loadingTimeoutId;
|
|
225
241
|
if (timeoutId) {
|
|
@@ -229,11 +245,27 @@ withMethods((store, http = inject(HttpClient), settingsService = inject(AXPSetti
|
|
|
229
245
|
timer(minimumDisplayTime).subscribe(() => {
|
|
230
246
|
if (store.overlayLoadingTaskCount() === 0) {
|
|
231
247
|
patchState(store, { overlayLoading: false });
|
|
248
|
+
AXPDebugService.instance?.trace(OVERLAY_LAYOUT_TRACE_NS, 'theme', 'overlay flag false (after min display)', () => ({
|
|
249
|
+
taskCount: store.overlayLoadingTaskCount(),
|
|
250
|
+
}));
|
|
232
251
|
}
|
|
233
252
|
});
|
|
234
253
|
}
|
|
235
254
|
}
|
|
236
255
|
};
|
|
256
|
+
const _clearOverlayLoading = () => {
|
|
257
|
+
const prevCount = store.overlayLoadingTaskCount();
|
|
258
|
+
const timeoutId = store._loadingTimeoutId;
|
|
259
|
+
if (timeoutId) {
|
|
260
|
+
clearTimeout(timeoutId);
|
|
261
|
+
store._loadingTimeoutId = null;
|
|
262
|
+
}
|
|
263
|
+
patchState(store, { overlayLoadingTaskCount: 0, overlayLoading: false });
|
|
264
|
+
AXPDebugService.instance?.trace(OVERLAY_LAYOUT_TRACE_NS, 'theme', 'overlay CLEARED (force)', () => ({
|
|
265
|
+
prevTaskCount: prevCount,
|
|
266
|
+
taskCount: 0,
|
|
267
|
+
}));
|
|
268
|
+
};
|
|
237
269
|
const _setNavigationLoading = (value, delay) => {
|
|
238
270
|
if (value) {
|
|
239
271
|
patchState(store, { navigationLoadingTaskCount: store.navigationLoadingTaskCount() + 1 });
|
|
@@ -342,6 +374,10 @@ withMethods((store, http = inject(HttpClient), settingsService = inject(AXPSetti
|
|
|
342
374
|
setOverlayLoading(value, delay) {
|
|
343
375
|
_setOverlayLoading(value, delay);
|
|
344
376
|
},
|
|
377
|
+
/** Resets overlay task count and hides overlay (page-ready / destroy). */
|
|
378
|
+
clearOverlayLoading() {
|
|
379
|
+
_clearOverlayLoading();
|
|
380
|
+
},
|
|
345
381
|
async loadSettings() {
|
|
346
382
|
await _applySettings();
|
|
347
383
|
},
|
|
@@ -1674,21 +1710,54 @@ const AXPFontStyleChooserWidget = {
|
|
|
1674
1710
|
class AXPMenuOrientationChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
1675
1711
|
constructor() {
|
|
1676
1712
|
super(...arguments);
|
|
1677
|
-
this.orientations = computed(() =>
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1713
|
+
this.orientations = computed(() => {
|
|
1714
|
+
const chooser = this.options()['chooser'];
|
|
1715
|
+
if (chooser === 'vertical-mode') {
|
|
1716
|
+
return [
|
|
1717
|
+
{
|
|
1718
|
+
id: 'compact',
|
|
1719
|
+
image: '/assets/images/menu-mode/compact.svg',
|
|
1720
|
+
labelKey: '@layout:terms.menu-modes.compact',
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
id: 'full',
|
|
1724
|
+
image: '/assets/images/menu-mode/full.svg',
|
|
1725
|
+
labelKey: '@layout:terms.menu-modes.full',
|
|
1726
|
+
},
|
|
1727
|
+
];
|
|
1728
|
+
}
|
|
1729
|
+
if (chooser === 'navigation-mode') {
|
|
1730
|
+
return [
|
|
1731
|
+
{
|
|
1732
|
+
id: 'simple',
|
|
1733
|
+
image: '/assets/images/navigation-mode/simple.svg',
|
|
1734
|
+
labelKey: '@layout:terms.navigation-modes.simple',
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
id: 'tabular',
|
|
1738
|
+
image: '/assets/images/navigation-mode/tabular.svg',
|
|
1739
|
+
labelKey: '@layout:terms.navigation-modes.tabular',
|
|
1740
|
+
},
|
|
1741
|
+
];
|
|
1742
|
+
}
|
|
1743
|
+
return [
|
|
1744
|
+
{
|
|
1745
|
+
id: 'vertical',
|
|
1746
|
+
icon: 'fa-regular fa-square-ellipsis-vertical',
|
|
1747
|
+
labelKey: '@layout:terms.menu-modes.vertical',
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
id: 'horizontal',
|
|
1751
|
+
icon: 'fa-regular fa-square-ellipsis',
|
|
1752
|
+
labelKey: '@layout:terms.menu-modes.horizontal',
|
|
1753
|
+
},
|
|
1754
|
+
];
|
|
1755
|
+
}, ...(ngDevMode ? [{ debugName: "orientations" }] : /* istanbul ignore next */ []));
|
|
1686
1756
|
this.selectedOrientation = signal(null, ...(ngDevMode ? [{ debugName: "selectedOrientation" }] : /* istanbul ignore next */ []));
|
|
1687
1757
|
this.#eff = effect(() => {
|
|
1688
1758
|
const options = this.orientations();
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
this.selectedOrientation.set(options.find((o) => o.id === value) ?? options[0]);
|
|
1759
|
+
if (this.getValue()) {
|
|
1760
|
+
this.selectedOrientation.set(options.find((o) => o.id === this.getValue()) ?? options[0]);
|
|
1692
1761
|
}
|
|
1693
1762
|
}, ...(ngDevMode ? [{ debugName: "#eff" }] : /* istanbul ignore next */ []));
|
|
1694
1763
|
}
|
|
@@ -1699,31 +1768,41 @@ class AXPMenuOrientationChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1699
1768
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1700
1769
|
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: `
|
|
1701
1770
|
@for (orientation of orientations(); track orientation.id) {
|
|
1702
|
-
<div
|
|
1771
|
+
<div
|
|
1772
|
+
(click)="onOrientationClick(orientation)"
|
|
1773
|
+
[class.--selected]="orientation.id === selectedOrientation()?.id"
|
|
1774
|
+
[class.--visual]="!!orientation.image"
|
|
1775
|
+
>
|
|
1703
1776
|
@if (orientation.image) {
|
|
1704
|
-
<img [src]="orientation.image" alt="" />
|
|
1777
|
+
<img [src]="orientation.image" [alt]="orientation.labelKey | translate | async" />
|
|
1778
|
+
<span>{{ orientation.labelKey | translate | async }}</span>
|
|
1705
1779
|
} @else {
|
|
1706
1780
|
<i [class]="orientation.icon"></i>
|
|
1707
|
-
<span>{{
|
|
1781
|
+
<span>{{ orientation.labelKey | translate | async }}</span>
|
|
1708
1782
|
}
|
|
1709
1783
|
</div>
|
|
1710
1784
|
}
|
|
1711
|
-
`, 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
|
|
1785
|
+
`, 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.--visual{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.5rem;padding:.75rem}:host>div.--visual img{display:block;height:auto;width:100%}:host>div.--visual>span{text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.375}:host>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}\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 }); }
|
|
1712
1786
|
}
|
|
1713
1787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, decorators: [{
|
|
1714
1788
|
type: Component,
|
|
1715
1789
|
args: [{ template: `
|
|
1716
1790
|
@for (orientation of orientations(); track orientation.id) {
|
|
1717
|
-
<div
|
|
1791
|
+
<div
|
|
1792
|
+
(click)="onOrientationClick(orientation)"
|
|
1793
|
+
[class.--selected]="orientation.id === selectedOrientation()?.id"
|
|
1794
|
+
[class.--visual]="!!orientation.image"
|
|
1795
|
+
>
|
|
1718
1796
|
@if (orientation.image) {
|
|
1719
|
-
<img [src]="orientation.image" alt="" />
|
|
1797
|
+
<img [src]="orientation.image" [alt]="orientation.labelKey | translate | async" />
|
|
1798
|
+
<span>{{ orientation.labelKey | translate | async }}</span>
|
|
1720
1799
|
} @else {
|
|
1721
1800
|
<i [class]="orientation.icon"></i>
|
|
1722
|
-
<span>{{
|
|
1801
|
+
<span>{{ orientation.labelKey | translate | async }}</span>
|
|
1723
1802
|
}
|
|
1724
1803
|
</div>
|
|
1725
1804
|
}
|
|
1726
|
-
`, 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
|
|
1805
|
+
`, 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.--visual{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.5rem;padding:.75rem}:host>div.--visual img{display:block;height:auto;width:100%}:host>div.--visual>span{text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.375}:host>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}\n"] }]
|
|
1727
1806
|
}] });
|
|
1728
1807
|
|
|
1729
1808
|
var menuOrientationChooserWidget_component = /*#__PURE__*/Object.freeze({
|
|
@@ -2247,7 +2326,7 @@ class AXPThemesSharedModule {
|
|
|
2247
2326
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2248
2327
|
useFactory: async () => {
|
|
2249
2328
|
const injector = inject(Injector);
|
|
2250
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
2329
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs')).AXPThemeSettingProvider;
|
|
2251
2330
|
return new provider(injector);
|
|
2252
2331
|
},
|
|
2253
2332
|
multi: true,
|
|
@@ -2287,7 +2366,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2287
2366
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2288
2367
|
useFactory: async () => {
|
|
2289
2368
|
const injector = inject(Injector);
|
|
2290
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
2369
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs')).AXPThemeSettingProvider;
|
|
2291
2370
|
return new provider(injector);
|
|
2292
2371
|
},
|
|
2293
2372
|
multi: true,
|