@acorex/platform 20.6.0-next.9 → 20.6.1
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/common/index.d.ts +9 -2
- package/core/index.d.ts +209 -55
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +225 -24
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +49 -4
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +39 -118
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1011 -257
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +2 -2
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +9318 -4439
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +30 -24
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +4 -8
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs +30 -0
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +2081 -1238
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +79 -3
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs +136 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs +1543 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +124 -21
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs +55 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +15 -110
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +658 -45
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -33
- package/layout/components/index.d.ts +301 -60
- package/layout/designer/index.d.ts +1 -1
- package/layout/entity/index.d.ts +650 -86
- package/layout/views/index.d.ts +5 -58
- package/layout/widget-core/index.d.ts +24 -26
- package/layout/widgets/README.md +0 -1
- package/layout/widgets/index.d.ts +134 -84
- package/package.json +1 -1
- package/runtime/index.d.ts +36 -8
- package/themes/default/index.d.ts +29 -73
- package/themes/shared/index.d.ts +1 -39
- package/workflow/index.d.ts +401 -90
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs +0 -52
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs +0 -803
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs.map +0 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AXPColumnWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
class AXPIconChooserWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.parseValue = (value) => {
|
|
9
|
+
if (!value) {
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
if (typeof value === 'string') {
|
|
13
|
+
const parts = value.split(' ');
|
|
14
|
+
if (parts.length === 1) {
|
|
15
|
+
return { styleClass: 'fa-solid', iconClass: parts[0] };
|
|
16
|
+
}
|
|
17
|
+
if (parts.length === 2) {
|
|
18
|
+
return { styleClass: parts[0], iconClass: parts[1] };
|
|
19
|
+
}
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
return value;
|
|
23
|
+
};
|
|
24
|
+
this.title = computed(() => {
|
|
25
|
+
const parsed = this.parseValue(this.rawValue);
|
|
26
|
+
return parsed?.label ?? '';
|
|
27
|
+
}, ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
28
|
+
this.icon = computed(() => {
|
|
29
|
+
const parsed = this.parseValue(this.rawValue);
|
|
30
|
+
return parsed ? `${parsed.styleClass} ${parsed.iconClass}` : '';
|
|
31
|
+
}, ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPIconChooserWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPIconChooserWidgetColumnComponent, isStandalone: true, selector: "ax-icon-chooser-column", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `
|
|
35
|
+
<div class="ax-flex ax-items-center ax-justify-center ax-h-full">
|
|
36
|
+
<i [class]="icon()"></i>
|
|
37
|
+
</div>
|
|
38
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
39
|
+
}
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPIconChooserWidgetColumnComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: 'ax-icon-chooser-column',
|
|
44
|
+
template: `
|
|
45
|
+
<div class="ax-flex ax-items-center ax-justify-center ax-h-full">
|
|
46
|
+
<i [class]="icon()"></i>
|
|
47
|
+
</div>
|
|
48
|
+
`,
|
|
49
|
+
inputs: ['rawValue'],
|
|
50
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
+
}]
|
|
52
|
+
}] });
|
|
53
|
+
|
|
54
|
+
export { AXPIconChooserWidgetColumnComponent };
|
|
55
|
+
//# sourceMappingURL=acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs","sources":["../tmp-esm2022/themes/shared/lib/widgets/icon-chooser/icon-chooser-column.component.js"],"sourcesContent":["import { AXPColumnWidgetComponent } from '@acorex/platform/layout/widget-core';\nimport { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXPIconChooserWidgetColumnComponent extends AXPColumnWidgetComponent {\n constructor() {\n super(...arguments);\n this.parseValue = (value) => {\n if (!value) {\n return undefined;\n }\n if (typeof value === 'string') {\n const parts = value.split(' ');\n if (parts.length === 1) {\n return { styleClass: 'fa-solid', iconClass: parts[0] };\n }\n if (parts.length === 2) {\n return { styleClass: parts[0], iconClass: parts[1] };\n }\n return undefined;\n }\n return value;\n };\n this.title = computed(() => {\n const parsed = this.parseValue(this.rawValue);\n return parsed?.label ?? '';\n }, ...(ngDevMode ? [{ debugName: \"title\" }] : []));\n this.icon = computed(() => {\n const parsed = this.parseValue(this.rawValue);\n return parsed ? `${parsed.styleClass} ${parsed.iconClass}` : '';\n }, ...(ngDevMode ? [{ debugName: \"icon\" }] : []));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.12\", ngImport: i0, type: AXPIconChooserWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.3.12\", type: AXPIconChooserWidgetColumnComponent, isStandalone: true, selector: \"ax-icon-chooser-column\", inputs: { rawValue: \"rawValue\" }, usesInheritance: true, ngImport: i0, template: `\n <div class=\"ax-flex ax-items-center ax-justify-center ax-h-full\">\n <i [class]=\"icon()\"></i>\n </div>\n `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.12\", ngImport: i0, type: AXPIconChooserWidgetColumnComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'ax-icon-chooser-column',\n template: `\n <div class=\"ax-flex ax-items-center ax-justify-center ax-h-full\">\n <i [class]=\"icon()\"></i>\n </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AAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
|
|
@@ -10,11 +10,10 @@ import * as i0 from '@angular/core';
|
|
|
10
10
|
import { computed, inject, Component, InjectionToken, Injectable, signal, ChangeDetectionStrategy, effect, Input, Injector, NgModule } from '@angular/core';
|
|
11
11
|
import { AXPSettingService, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
12
12
|
import * as i1$2 from '@acorex/platform/core';
|
|
13
|
-
import { AXPPlatformScope } from '@acorex/platform/core';
|
|
13
|
+
import { AXPScreenSize, AXPPlatformScope } from '@acorex/platform/core';
|
|
14
14
|
import { HttpClient } from '@angular/common/http';
|
|
15
15
|
import { signalStore, withState, withComputed, withMethods, patchState, withHooks } from '@ngrx/signals';
|
|
16
|
-
import { timer, firstValueFrom,
|
|
17
|
-
import { debounceTime } from 'rxjs/operators';
|
|
16
|
+
import { timer, firstValueFrom, filter } from 'rxjs';
|
|
18
17
|
import * as i5 from '@acorex/core/translation';
|
|
19
18
|
import { AXTranslationModule } from '@acorex/core/translation';
|
|
20
19
|
import * as i3$1 from '@acorex/platform/layout/widget-core';
|
|
@@ -57,20 +56,6 @@ var AXPThemeMode;
|
|
|
57
56
|
AXPThemeMode["Dark"] = "dark";
|
|
58
57
|
AXPThemeMode["System"] = "system";
|
|
59
58
|
})(AXPThemeMode || (AXPThemeMode = {}));
|
|
60
|
-
// Screen Size Enum
|
|
61
|
-
var AXPScreenSize;
|
|
62
|
-
(function (AXPScreenSize) {
|
|
63
|
-
AXPScreenSize["Small"] = "small";
|
|
64
|
-
AXPScreenSize["Medium"] = "medium";
|
|
65
|
-
AXPScreenSize["Large"] = "large";
|
|
66
|
-
})(AXPScreenSize || (AXPScreenSize = {}));
|
|
67
|
-
// Device Type Enum
|
|
68
|
-
var AXPDeviceType;
|
|
69
|
-
(function (AXPDeviceType) {
|
|
70
|
-
AXPDeviceType["Mobile"] = "mobile";
|
|
71
|
-
AXPDeviceType["Tablet"] = "tablet";
|
|
72
|
-
AXPDeviceType["Desktop"] = "desktop";
|
|
73
|
-
})(AXPDeviceType || (AXPDeviceType = {}));
|
|
74
59
|
// Side Menu State Enum
|
|
75
60
|
var AXPSideMenuState;
|
|
76
61
|
(function (AXPSideMenuState) {
|
|
@@ -89,8 +74,8 @@ const AXPLayoutThemeService = signalStore({ providedIn: 'root' },
|
|
|
89
74
|
// Initial State
|
|
90
75
|
withState(() => {
|
|
91
76
|
const isSystemDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
92
|
-
// Helper function to get the initial screen size
|
|
93
|
-
const
|
|
77
|
+
// Helper function to get the initial screen size for side menu initialization
|
|
78
|
+
const getInitialScreenSize = () => {
|
|
94
79
|
const width = window.innerWidth;
|
|
95
80
|
if (width <= 600)
|
|
96
81
|
return AXPScreenSize.Small;
|
|
@@ -98,21 +83,6 @@ withState(() => {
|
|
|
98
83
|
return AXPScreenSize.Medium;
|
|
99
84
|
return AXPScreenSize.Large;
|
|
100
85
|
};
|
|
101
|
-
// Helper function to determine device type (based on viewport width for reactivity)
|
|
102
|
-
const getDeviceType = () => {
|
|
103
|
-
const width = window.innerWidth;
|
|
104
|
-
if (width <= 600) {
|
|
105
|
-
return AXPDeviceType.Mobile;
|
|
106
|
-
}
|
|
107
|
-
else if (width <= 1024) {
|
|
108
|
-
return AXPDeviceType.Tablet;
|
|
109
|
-
}
|
|
110
|
-
return AXPDeviceType.Desktop;
|
|
111
|
-
};
|
|
112
|
-
// Helper function to determine if the device supports touch
|
|
113
|
-
const isTouchDevice = () => {
|
|
114
|
-
return 'ontouchstart' in window || navigator.maxTouchPoints > 0;
|
|
115
|
-
};
|
|
116
86
|
const state = {
|
|
117
87
|
currentMode: AXPThemeMode.System,
|
|
118
88
|
currentPalette: 'default',
|
|
@@ -121,26 +91,22 @@ withState(() => {
|
|
|
121
91
|
family: 'system-ui',
|
|
122
92
|
size: 'medium',
|
|
123
93
|
},
|
|
124
|
-
screenSize: getScreenSize(),
|
|
125
|
-
deviceType: getDeviceType(),
|
|
126
|
-
isTouchDevice: isTouchDevice(),
|
|
127
94
|
overlayLoading: false,
|
|
128
95
|
navigationLoading: false,
|
|
129
96
|
overlayLoadingTaskCount: 0,
|
|
130
97
|
navigationLoadingTaskCount: 0,
|
|
131
|
-
sideMenuState: (
|
|
98
|
+
sideMenuState: (getInitialScreenSize() === AXPScreenSize.Large
|
|
132
99
|
? AXPSideMenuState.Opened
|
|
133
100
|
: AXPSideMenuState.Closed),
|
|
134
101
|
sideMenuWidth: 288,
|
|
135
102
|
menuOrientation: 'vertical',
|
|
136
103
|
_listener: null,
|
|
137
|
-
_resizeListener: null,
|
|
138
104
|
isPrinting: false,
|
|
139
105
|
};
|
|
140
106
|
return state;
|
|
141
107
|
}),
|
|
142
108
|
// Computed Signals
|
|
143
|
-
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme,
|
|
109
|
+
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, sideMenuState, overlayLoading, navigationLoading, menuOrientation, isPrinting, }) => ({
|
|
144
110
|
isDarkMode: computed(() => {
|
|
145
111
|
if (isPrinting()) {
|
|
146
112
|
return false;
|
|
@@ -152,14 +118,6 @@ withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenS
|
|
|
152
118
|
(currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Light)),
|
|
153
119
|
isSystemMode: computed(() => currentTheme() === AXPThemeMode.System),
|
|
154
120
|
isSideMenuOpen: computed(() => sideMenuState() === AXPSideMenuState.Opened),
|
|
155
|
-
isSideMenuOverlay: computed(() => screenSize() === AXPScreenSize.Small || screenSize() === AXPScreenSize.Medium),
|
|
156
|
-
isSmall: computed(() => screenSize() === AXPScreenSize.Small),
|
|
157
|
-
isMedium: computed(() => screenSize() === AXPScreenSize.Medium),
|
|
158
|
-
isLarge: computed(() => screenSize() === AXPScreenSize.Large),
|
|
159
|
-
isMobileDevice: computed(() => deviceType() === AXPDeviceType.Mobile),
|
|
160
|
-
isTabletDevice: computed(() => deviceType() === AXPDeviceType.Tablet),
|
|
161
|
-
isDesktopDevice: computed(() => deviceType() === AXPDeviceType.Desktop),
|
|
162
|
-
isTouchScreen: computed(() => isTouchDevice()),
|
|
163
121
|
isOverlayLoading: computed(() => overlayLoading()),
|
|
164
122
|
isNavigationLoading: computed(() => navigationLoading()),
|
|
165
123
|
isMenuHorizontal: computed(() => menuOrientation() === AXPMenuOrientation.Horizontal),
|
|
@@ -200,38 +158,6 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
|
|
|
200
158
|
//
|
|
201
159
|
await _applyThemePalette(store.currentPalette());
|
|
202
160
|
};
|
|
203
|
-
// Update screen size based on window width
|
|
204
|
-
const _updateScreenSize = () => {
|
|
205
|
-
const width = window.innerWidth;
|
|
206
|
-
let newScreenSize;
|
|
207
|
-
if (width <= 600) {
|
|
208
|
-
newScreenSize = AXPScreenSize.Small;
|
|
209
|
-
}
|
|
210
|
-
else if (width <= 1024) {
|
|
211
|
-
newScreenSize = AXPScreenSize.Medium;
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
newScreenSize = AXPScreenSize.Large;
|
|
215
|
-
}
|
|
216
|
-
// Determine device type based on width to keep it reactive to devtools emulation
|
|
217
|
-
let newDeviceType;
|
|
218
|
-
if (width <= 600) {
|
|
219
|
-
newDeviceType = AXPDeviceType.Mobile;
|
|
220
|
-
}
|
|
221
|
-
else if (width <= 1024) {
|
|
222
|
-
newDeviceType = AXPDeviceType.Tablet;
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
newDeviceType = AXPDeviceType.Desktop;
|
|
226
|
-
}
|
|
227
|
-
if (newScreenSize !== store.screenSize() || newDeviceType !== store.deviceType()) {
|
|
228
|
-
patchState(store, { screenSize: newScreenSize, deviceType: newDeviceType });
|
|
229
|
-
if (!store.isLarge()) {
|
|
230
|
-
patchState(store, { sideMenuState: AXPSideMenuState.Closed });
|
|
231
|
-
settingService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuStatus, store.sideMenuState());
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
161
|
const _setOverlayLoading = async (value, delay = 0) => {
|
|
236
162
|
if (value) {
|
|
237
163
|
let timeoutId = null;
|
|
@@ -373,21 +299,6 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
|
|
|
373
299
|
const mediaQueryList = window.matchMedia('(prefers-color-scheme: dark)');
|
|
374
300
|
mediaQueryList.removeEventListener('change', listener);
|
|
375
301
|
},
|
|
376
|
-
// Set up event listener for window resize
|
|
377
|
-
_setupResizeListener() {
|
|
378
|
-
const subscription = fromEvent(window, 'resize')
|
|
379
|
-
.pipe(debounceTime(250))
|
|
380
|
-
.subscribe(() => {
|
|
381
|
-
_updateScreenSize();
|
|
382
|
-
});
|
|
383
|
-
return subscription;
|
|
384
|
-
},
|
|
385
|
-
// Remove event listener for window resize
|
|
386
|
-
_removeResizeListener(subscription) {
|
|
387
|
-
if (subscription) {
|
|
388
|
-
subscription.unsubscribe();
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
302
|
};
|
|
392
303
|
}),
|
|
393
304
|
// Lifecycle Hooks
|
|
@@ -397,19 +308,16 @@ withHooks((store, settingService = inject(AXPSettingService)) => ({
|
|
|
397
308
|
settingService.onChanged.pipe(filter((c) => c.scope == AXPPlatformScope.User)).subscribe(async (changes) => {
|
|
398
309
|
const keys = Object.values(AXPThemeLayoutSetting);
|
|
399
310
|
if (changes.keys.some((key) => keys.includes(key))) {
|
|
400
|
-
await store
|
|
311
|
+
await store['loadSettings']();
|
|
401
312
|
}
|
|
402
313
|
});
|
|
403
314
|
//
|
|
404
315
|
settingService.onLoaded.subscribe(async () => {
|
|
405
|
-
await store
|
|
316
|
+
await store['loadSettings']();
|
|
406
317
|
});
|
|
407
318
|
// Set up event listener for system theme changes
|
|
408
|
-
const listener = store
|
|
319
|
+
const listener = store['_setupSystemColorListener']();
|
|
409
320
|
patchState(store, { _listener: listener });
|
|
410
|
-
// Set up event listener for window resize
|
|
411
|
-
const resizeSubscription = store._setupResizeListener();
|
|
412
|
-
patchState(store, { _resizeListener: resizeSubscription });
|
|
413
321
|
window.addEventListener('beforeprint', () => {
|
|
414
322
|
patchState(store, { isPrinting: true });
|
|
415
323
|
store._internal_updateHtmlClass();
|
|
@@ -421,12 +329,9 @@ withHooks((store, settingService = inject(AXPSettingService)) => ({
|
|
|
421
329
|
},
|
|
422
330
|
onDestroy() {
|
|
423
331
|
// Clean up event listeners when store is destroyed
|
|
424
|
-
const { _listener: listener
|
|
332
|
+
const { _listener: listener } = store;
|
|
425
333
|
if (listener) {
|
|
426
|
-
store
|
|
427
|
-
}
|
|
428
|
-
if (resizeListener instanceof Subscription) {
|
|
429
|
-
store._removeResizeListener(resizeListener);
|
|
334
|
+
store['_removeSystemColorListener'](listener);
|
|
430
335
|
}
|
|
431
336
|
},
|
|
432
337
|
})));
|
|
@@ -1363,7 +1268,7 @@ const AXPIconChooserWidget = {
|
|
|
1363
1268
|
component: () => Promise.resolve().then(function () { return iconChooserEdit_component; }).then((c) => c.AXPIconChooserWidgetEditComponent),
|
|
1364
1269
|
},
|
|
1365
1270
|
column: {
|
|
1366
|
-
component: () => import('./acorex-platform-themes-shared-icon-chooser-
|
|
1271
|
+
component: () => import('./acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs').then((c) => c.AXPIconChooserWidgetColumnComponent),
|
|
1367
1272
|
},
|
|
1368
1273
|
view: {
|
|
1369
1274
|
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
|
|
@@ -2081,7 +1986,7 @@ class AXPThemePaletteChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
2081
1986
|
</div>
|
|
2082
1987
|
</div>
|
|
2083
1988
|
}
|
|
2084
|
-
`, 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{height:3rem;min-width:100%}@media (min-width: 768px){:host>div{min-width:16rem}}:host>div>div{position:relative;height:100%;width:fit-content}:host>div>div div{position:absolute;height:2rem;width:2rem;border-radius:9999px;border-width:1px;border-color
|
|
1989
|
+
`, 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{height:3rem;min-width:100%}@media (min-width: 768px){:host>div{min-width:16rem}}:host>div>div{position:relative;height:100%;width:fit-content}:host>div>div div{position:absolute;height:2rem;width:2rem;border-radius:9999px;border-width:1px;border-color:#ffffff80;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2085
1990
|
}
|
|
2086
1991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPThemePaletteChooserWidgetComponent, decorators: [{
|
|
2087
1992
|
type: Component,
|
|
@@ -2096,7 +2001,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2096
2001
|
</div>
|
|
2097
2002
|
</div>
|
|
2098
2003
|
}
|
|
2099
|
-
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, AXSelectionCdkModule], 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{height:3rem;min-width:100%}@media (min-width: 768px){:host>div{min-width:16rem}}:host>div>div{position:relative;height:100%;width:fit-content}:host>div>div div{position:absolute;height:2rem;width:2rem;border-radius:9999px;border-width:1px;border-color
|
|
2004
|
+
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, AXSelectionCdkModule], 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{height:3rem;min-width:100%}@media (min-width: 768px){:host>div{min-width:16rem}}:host>div>div{position:relative;height:100%;width:fit-content}:host>div>div div{position:absolute;height:2rem;width:2rem;border-radius:9999px;border-width:1px;border-color:#ffffff80;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}\n"] }]
|
|
2100
2005
|
}] });
|
|
2101
2006
|
|
|
2102
2007
|
var themePaletteChooserWidget_component = /*#__PURE__*/Object.freeze({
|
|
@@ -2214,5 +2119,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2214
2119
|
* Generated bundle index. Do not edit.
|
|
2215
2120
|
*/
|
|
2216
2121
|
|
|
2217
|
-
export {
|
|
2122
|
+
export { AXPLayoutThemeService, AXPMenuOrientation, AXPSideMenuState, AXPThemeLayoutSetting, AXPThemeMode, AXPThemePaletteProviderDefault, AXPThemeSlotComponent, AXPThemesSharedModule, AXP_THEME_PALETTE_PROVIDER };
|
|
2218
2123
|
//# sourceMappingURL=acorex-platform-themes-shared.mjs.map
|