wuic-framework-lib 1.7.0 → 1.7.2
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/{wuic-framework-lib-chart-list.component-Bl424n7x.mjs → wuic-framework-lib-chart-list.component-MeAS47VV.mjs} +4 -4
- package/fesm2022/{wuic-framework-lib-code-editor.component-N6HMl2mf.mjs → wuic-framework-lib-code-editor.component-WtZC2MZC.mjs} +6 -6
- package/fesm2022/{wuic-framework-lib-designer.component-Bd2fwl6H.mjs → wuic-framework-lib-designer.component-Dt7Yz5hn.mjs} +12 -12
- package/fesm2022/{wuic-framework-lib-first-run-wizard.component-NN6cWVHL.mjs → wuic-framework-lib-first-run-wizard.component-C8nhy5yK.mjs} +349 -33
- package/fesm2022/{wuic-framework-lib-framework-docs.component-B867JAYe.mjs → wuic-framework-lib-framework-docs.component-CGsugPCx.mjs} +1426 -979
- package/fesm2022/{wuic-framework-lib-pivot-builder.component-DWukH0L-.mjs → wuic-framework-lib-pivot-builder.component-S5zqy3vj.mjs} +164 -164
- package/fesm2022/{wuic-framework-lib-prompt-dialog-fallback-host.component-DWO1Rcgv.mjs → wuic-framework-lib-prompt-dialog-fallback-host.component-VY-gtgRW.mjs} +28 -28
- package/fesm2022/{wuic-framework-lib-report-designer.component-QcrU81m6.mjs → wuic-framework-lib-report-designer.component-QRxxueU-.mjs} +2 -2
- package/fesm2022/{wuic-framework-lib-report-scaffold-dialog.component-U-zdOoRV.mjs → wuic-framework-lib-report-scaffold-dialog.component-OGdglGPw.mjs} +246 -246
- package/fesm2022/{wuic-framework-lib-report-viewer.component-B4LhA3SL.mjs → wuic-framework-lib-report-viewer.component-CuXw3e0j.mjs} +4 -4
- package/fesm2022/{wuic-framework-lib-scene3d-designer.component-DjOfzKLo.mjs → wuic-framework-lib-scene3d-designer.component-LhC0KzWO.mjs} +20 -20
- package/fesm2022/{wuic-framework-lib-scene3d-light-baker-gpu-C96T9uIW.mjs → wuic-framework-lib-scene3d-light-baker-gpu-B5ywsrSp.mjs} +2 -2
- package/fesm2022/{wuic-framework-lib-scene3d-shader-effect-DjHyCAFK.mjs → wuic-framework-lib-scene3d-shader-effect-gBEFKNvi.mjs} +18 -18
- package/fesm2022/{wuic-framework-lib-scene3d-viewer.component-Dboz1fjl.mjs → wuic-framework-lib-scene3d-viewer.component-DiDqJO-P.mjs} +5 -5
- package/fesm2022/{wuic-framework-lib-scheduler-list.component--wY21R3o.mjs → wuic-framework-lib-scheduler-list.component-5JbxIBdp.mjs} +4 -4
- package/fesm2022/{wuic-framework-lib-spreadsheet-list-sf.component-Ek30J8v-.mjs → wuic-framework-lib-spreadsheet-list-sf.component-Dxk5d9au.mjs} +47 -47
- package/fesm2022/{wuic-framework-lib-timeline-list.component-aqCH4P0G.mjs → wuic-framework-lib-timeline-list.component-B1ro-16J.mjs} +6 -6
- package/fesm2022/{wuic-framework-lib-workflow-designer.component-DMM8BeXm.mjs → wuic-framework-lib-workflow-designer.component-D32ZMxq2.mjs} +6 -6
- package/fesm2022/{wuic-framework-lib-wuic-framework-lib-dfLTqam5.mjs → wuic-framework-lib-wuic-framework-lib-81WUtxz8.mjs} +847 -823
- package/fesm2022/wuic-framework-lib.mjs +1 -1
- package/package.json +19 -2
- package/styles/_wuic-tokens.scss +82 -82
- package/types/wuic-framework-lib.d.ts +5 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { w as AUTH_REDIRECT_REASON_KEY, x as AppHeaderComponent, y as AppHeaderConfigService, z as AppSettingsEditorComponent, B as AuthSessionService, E as BooleanEditorComponent, H as BoundedRepeaterComponent, J as ButtonEditorComponent, K as CUSTOM_THEMES_STORAGE_KEY, N as CallbackPipe, O as CallbackPipe2, Q as CarouselListComponent, R as CodeAreaEditorComponent, S as ColorEditorComponent, V as CrashReporterService, X as CustomAttributesService, Y as CustomException, Z as DEFAULT_FONT_STACK, _ as DEFAULT_THEME_STORAGE_KEY, $ as DEFAULT_THEME_VALUE, a0 as DataActionButtonComponent, a1 as DataProviderOdataService, c as DataRepeaterComponent, b as DataSourceComponent, a2 as DateEditorComponent, a3 as DesignerRouteComponent, a4 as DictionaryEditorComponent, a as DynamicCompilerService, a5 as DynamicRowTemplateComponent, k as FieldEditorComponent, F as FilterBarComponent, q as FilterInfo, a6 as FormatGridViewValuePipe, a7 as GetSrcUploadPreviewPipe, G as GlobalHandler, a8 as HtmlEditorComponent, a9 as ImageWrapperComponent, I as ImportExportButtonComponent, aa as IsSelectedRowPipe, ab as KanbanListComponent, ac as KanbanOptions, ad as KanbanStatusColumnItem, ae as LazyChartListComponent, af as LazyCodeEditorComponent, ag as LazyDataActionButtonComponent, ah as LazyDataSourceComponent, ai as LazyFieldEditorComponent, aj as LazyFirstRunWizardComponent, ak as LazyImageWrapperComponent, al as LazyKanbanListComponent, am as LazyMetaMenuComponent, an as LazyPivotBuilderComponent, ao as LazyReportDesignerComponent, ap as LazyReportViewerComponent, aq as LazySchedulerListComponent, ar as LazySpreadsheetListSfComponent, as as LazyTimelineListComponent, r as LicenseFeatureService, at as ListGridComponent, au as LookupEditorComponent, av as MapListComponent, o as MetaInfo, aw as MetaMenuComponent, i as MetadataEditorService, M as MetadataProviderService, g as MetadatiColonna, ax as MetadatiTabella, ay as NotificationBellComponent, az as NotificationRealtimeService, aA as NumberEditorComponent, aB as PALETTE_STOPS, aC as PREVIEW_RESTORE_KEY, aD as PRIMARY_PALETTES, P as PagerComponent, f as ParametricDialogComponent, aE as PerformanceInspectorComponent, aF as PointFilterComponent, aG as PropertyArrayEditorComponent, aH as PropertyObjectEditorComponent, aI as RAG_DESTRUCTIVE_KINDS, aJ as RouteMetricsDashboardComponent, aK as Scene3dDesignerRouteComponent, aL as Scene3dViewerRouteComponent, aM as THEME_MODE_STORAGE_KEY, aN as THEME_OPTIONS, aO as THEME_STORAGE_KEY, aP as TextAreaEditorComponent, aQ as TextEditorComponent, aR as ThemeBuilderComponent, aS as ThemeCatalogService, aT as ThemePreviewPanelComponent, aU as ThemeRuntimeService, aV as ThemeSelectorComponent, u as TimelineOptions, T as TranslationManagerService, aW as TreeListComponent, aX as TreeViewSelectorComponent, aY as UploadDialogComponent, aZ as UploadEditorComponent, U as UserInfoService, a_ as UserLanguageService, a$ as UserMenuComponent, b0 as ValidationRule, b1 as ValueChangedPayload, b2 as VisibleFieldListPipe, b3 as WUIC_FONT_CATALOG, p as WUIC_SUPPRESS_GLOBAL_ERROR, b4 as WidgetDefinition, b5 as WorkflowDesignerRouteComponent, b6 as WorkflowRunnerComponent, j as WorkflowRuntimeMetadataService, W as WtoolboxService, b7 as WuicAziendaSwitcherComponent, b8 as WuicErrorDialogComponent, b9 as WuicErrorInterceptor, ba as WuicFeatureDirective, bb as WuicFrozenColumnDirective, bc as WuicRagChatbotComponent, bd as WuicRagChatbotFabComponent, be as WuicRagService, bf as WuicRowTogglerDirective, bg as _PRIMENG_TABLE_DIRECTIVES_NAMES, bh as authExpiredInterceptor, bi as bestContrastColor, bj as boundedRepeaterPendingChangesGuard, bk as buildCustomPreset, bl as buildThemeValue, d as clampAlpha, bm as computeDataQualitySummary, bn as contrastRatio, bo as createDraftTheme, bp as featureRouteCanActivateGuard, bq as featureRouteCanMatchGuard, br as generatePrimaryPalette, bs as generateSurfacePalette, bt as getQualityInspectorOptions, v as getThemeOptions, bu as getThemePrimaryHex, bv as hexToOklch, bw as hexToRgb, bx as hsbaToRgbaString, by as inferTemplateFieldFromBaseClass, bz as isCustomThemeValue, bA as isDestructiveRagAction, bB as isRoutePersistenceEnabled, bC as loadBooleanEditorComponent, bD as loadButtonEditorComponent, bE as loadCodeAreaEditorComponent, bF as loadColorEditorComponent, bG as loadDateEditorComponent, bH as loadDictionaryEditorComponent, bI as loadHtmlEditorComponent, bJ as loadLookupEditorComponent, bK as loadNumberEditorComponent, bL as loadPropertyArrayEditorComponent, bM as loadPropertyObjectEditorComponent, bN as loadTextAreaEditorComponent, bO as loadTextEditorComponent, bP as loadTreeViewSelectorComponent, bQ as loadUploadEditorComponent, bR as menuRouteAccessCanActivateGuard, bS as menuRouteAccessCanMatchGuard, bT as nearestPrimaryName, bU as normalizeHex, bV as oklchToHex, bW as oklchToRgb, bX as resolveBackgroundCss, bY as resolveFontStack, bZ as resolveGridStrengths, b_ as resolveThemePreset, b$ as resolveThemePresetForOption, c0 as rgbToHex, c1 as rgbToOklch, c2 as rgbaToHsbaModel, c3 as routeMetricsClient, c4 as routes, c5 as scene3dDesignerPendingChangesGuard, c6 as themeBuilderPendingChangesGuard, t as toHsbaModel, e as toPersistedColor, c7 as wcagLevel, c8 as wuicErrorInterceptor } from './wuic-framework-lib-wuic-framework-lib-
|
|
1
|
+
export { w as AUTH_REDIRECT_REASON_KEY, x as AppHeaderComponent, y as AppHeaderConfigService, z as AppSettingsEditorComponent, B as AuthSessionService, E as BooleanEditorComponent, H as BoundedRepeaterComponent, J as ButtonEditorComponent, K as CUSTOM_THEMES_STORAGE_KEY, N as CallbackPipe, O as CallbackPipe2, Q as CarouselListComponent, R as CodeAreaEditorComponent, S as ColorEditorComponent, V as CrashReporterService, X as CustomAttributesService, Y as CustomException, Z as DEFAULT_FONT_STACK, _ as DEFAULT_THEME_STORAGE_KEY, $ as DEFAULT_THEME_VALUE, a0 as DataActionButtonComponent, a1 as DataProviderOdataService, c as DataRepeaterComponent, b as DataSourceComponent, a2 as DateEditorComponent, a3 as DesignerRouteComponent, a4 as DictionaryEditorComponent, a as DynamicCompilerService, a5 as DynamicRowTemplateComponent, k as FieldEditorComponent, F as FilterBarComponent, q as FilterInfo, a6 as FormatGridViewValuePipe, a7 as GetSrcUploadPreviewPipe, G as GlobalHandler, a8 as HtmlEditorComponent, a9 as ImageWrapperComponent, I as ImportExportButtonComponent, aa as IsSelectedRowPipe, ab as KanbanListComponent, ac as KanbanOptions, ad as KanbanStatusColumnItem, ae as LazyChartListComponent, af as LazyCodeEditorComponent, ag as LazyDataActionButtonComponent, ah as LazyDataSourceComponent, ai as LazyFieldEditorComponent, aj as LazyFirstRunWizardComponent, ak as LazyImageWrapperComponent, al as LazyKanbanListComponent, am as LazyMetaMenuComponent, an as LazyPivotBuilderComponent, ao as LazyReportDesignerComponent, ap as LazyReportViewerComponent, aq as LazySchedulerListComponent, ar as LazySpreadsheetListSfComponent, as as LazyTimelineListComponent, r as LicenseFeatureService, at as ListGridComponent, au as LookupEditorComponent, av as MapListComponent, o as MetaInfo, aw as MetaMenuComponent, i as MetadataEditorService, M as MetadataProviderService, g as MetadatiColonna, ax as MetadatiTabella, ay as NotificationBellComponent, az as NotificationRealtimeService, aA as NumberEditorComponent, aB as PALETTE_STOPS, aC as PREVIEW_RESTORE_KEY, aD as PRIMARY_PALETTES, P as PagerComponent, f as ParametricDialogComponent, aE as PerformanceInspectorComponent, aF as PointFilterComponent, aG as PropertyArrayEditorComponent, aH as PropertyObjectEditorComponent, aI as RAG_DESTRUCTIVE_KINDS, aJ as RouteMetricsDashboardComponent, aK as Scene3dDesignerRouteComponent, aL as Scene3dViewerRouteComponent, aM as THEME_MODE_STORAGE_KEY, aN as THEME_OPTIONS, aO as THEME_STORAGE_KEY, aP as TextAreaEditorComponent, aQ as TextEditorComponent, aR as ThemeBuilderComponent, aS as ThemeCatalogService, aT as ThemePreviewPanelComponent, aU as ThemeRuntimeService, aV as ThemeSelectorComponent, u as TimelineOptions, T as TranslationManagerService, aW as TreeListComponent, aX as TreeViewSelectorComponent, aY as UploadDialogComponent, aZ as UploadEditorComponent, U as UserInfoService, a_ as UserLanguageService, a$ as UserMenuComponent, b0 as ValidationRule, b1 as ValueChangedPayload, b2 as VisibleFieldListPipe, b3 as WUIC_FONT_CATALOG, p as WUIC_SUPPRESS_GLOBAL_ERROR, b4 as WidgetDefinition, b5 as WorkflowDesignerRouteComponent, b6 as WorkflowRunnerComponent, j as WorkflowRuntimeMetadataService, W as WtoolboxService, b7 as WuicAziendaSwitcherComponent, b8 as WuicErrorDialogComponent, b9 as WuicErrorInterceptor, ba as WuicFeatureDirective, bb as WuicFrozenColumnDirective, bc as WuicRagChatbotComponent, bd as WuicRagChatbotFabComponent, be as WuicRagService, bf as WuicRowTogglerDirective, bg as _PRIMENG_TABLE_DIRECTIVES_NAMES, bh as authExpiredInterceptor, bi as bestContrastColor, bj as boundedRepeaterPendingChangesGuard, bk as buildCustomPreset, bl as buildThemeValue, d as clampAlpha, bm as computeDataQualitySummary, bn as contrastRatio, bo as createDraftTheme, bp as featureRouteCanActivateGuard, bq as featureRouteCanMatchGuard, br as generatePrimaryPalette, bs as generateSurfacePalette, bt as getQualityInspectorOptions, v as getThemeOptions, bu as getThemePrimaryHex, bv as hexToOklch, bw as hexToRgb, bx as hsbaToRgbaString, by as inferTemplateFieldFromBaseClass, bz as isCustomThemeValue, bA as isDestructiveRagAction, bB as isRoutePersistenceEnabled, bC as loadBooleanEditorComponent, bD as loadButtonEditorComponent, bE as loadCodeAreaEditorComponent, bF as loadColorEditorComponent, bG as loadDateEditorComponent, bH as loadDictionaryEditorComponent, bI as loadHtmlEditorComponent, bJ as loadLookupEditorComponent, bK as loadNumberEditorComponent, bL as loadPropertyArrayEditorComponent, bM as loadPropertyObjectEditorComponent, bN as loadTextAreaEditorComponent, bO as loadTextEditorComponent, bP as loadTreeViewSelectorComponent, bQ as loadUploadEditorComponent, bR as menuRouteAccessCanActivateGuard, bS as menuRouteAccessCanMatchGuard, bT as nearestPrimaryName, bU as normalizeHex, bV as oklchToHex, bW as oklchToRgb, bX as resolveBackgroundCss, bY as resolveFontStack, bZ as resolveGridStrengths, b_ as resolveThemePreset, b$ as resolveThemePresetForOption, c0 as rgbToHex, c1 as rgbToOklch, c2 as rgbaToHsbaModel, c3 as routeMetricsClient, c4 as routes, c5 as scene3dDesignerPendingChangesGuard, c6 as themeBuilderPendingChangesGuard, t as toHsbaModel, e as toPersistedColor, c7 as wcagLevel, c8 as wuicErrorInterceptor } from './wuic-framework-lib-wuic-framework-lib-81WUtxz8.mjs';
|
|
2
2
|
//# sourceMappingURL=wuic-framework-lib.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wuic-framework-lib",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Wuic Angular Framework Library",
|
|
5
5
|
"author": "Wuic",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,10 @@
|
|
|
43
43
|
"primeicons": "^7.0.0",
|
|
44
44
|
"primeng": ">=21.0.0",
|
|
45
45
|
"@primeuix/styled": ">=0.7.0",
|
|
46
|
-
"@primeuix/themes": ">=2.0.0"
|
|
46
|
+
"@primeuix/themes": ">=2.0.0",
|
|
47
|
+
"three-gpu-pathtracer": "^0.0.24",
|
|
48
|
+
"three-mesh-bvh": "^0.9.10",
|
|
49
|
+
"@dimforge/rapier3d-compat": "^0.12.0"
|
|
47
50
|
},
|
|
48
51
|
"dependencies": {
|
|
49
52
|
"stimulsoft-designer-angular": "^2026.1.7",
|
|
@@ -83,6 +86,20 @@
|
|
|
83
86
|
"default": "./fesm2022/wuic-framework-lib-widget-loaders.mjs"
|
|
84
87
|
}
|
|
85
88
|
},
|
|
89
|
+
"peerDependenciesMeta": {
|
|
90
|
+
"three-gpu-pathtracer": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"three-mesh-bvh": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"@dimforge/rapier3d-compat": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"three": {
|
|
100
|
+
"optional": true
|
|
101
|
+
}
|
|
102
|
+
},
|
|
86
103
|
"module": "fesm2022/wuic-framework-lib.mjs",
|
|
87
104
|
"typings": "types/wuic-framework-lib.d.ts",
|
|
88
105
|
"type": "module"
|
package/styles/_wuic-tokens.scss
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
// Token di design condivisi del framework (--wuic-*).
|
|
2
|
-
// Sono DERIVATI dai token semantici PrimeUIX (--p-*): commutano da soli al
|
|
3
|
-
// cambio tema/preset, in dark mode (darkModeSelector `.theme-dark` ricalcola i
|
|
4
|
-
// --p-*) e in alto contrasto (l'host rimappa i --p-* sui --hc-*). Per questo
|
|
5
|
-
// i componenti che usano --wuic-* NON devono aggiungere blocchi
|
|
6
|
-
// `:host-context(.theme-dark)` propri: la commutazione avviene qui, una volta.
|
|
7
|
-
// I fallback hex servono solo quando i --p-* non sono ancora installati
|
|
8
|
-
// (bootstrap primissimo paint) e replicano il light di default.
|
|
9
|
-
|
|
10
|
-
:root {
|
|
11
|
-
// Superfici
|
|
12
|
-
--wuic-surface: var(--p-content-background, #ffffff);
|
|
13
|
-
--wuic-surface-soft: var(--p-content-hover-background, #f8fafc);
|
|
14
|
-
|
|
15
|
-
// Bordi
|
|
16
|
-
--wuic-border: var(--p-content-border-color, #d9e2ec);
|
|
17
|
-
--wuic-border-soft: color-mix(in srgb, var(--wuic-border) 55%, var(--wuic-surface));
|
|
18
|
-
|
|
19
|
-
// Testo
|
|
20
|
-
--wuic-text: var(--p-text-color, #1f2937);
|
|
21
|
-
--wuic-text-muted: var(--p-text-muted-color, #64748b);
|
|
22
|
-
|
|
23
|
-
// Accent (colore primario del tema attivo)
|
|
24
|
-
--wuic-accent: var(--p-primary-color, #3b82f6);
|
|
25
|
-
--wuic-accent-contrast: var(--p-primary-contrast-color, #ffffff);
|
|
26
|
-
--wuic-accent-soft: color-mix(in srgb, var(--wuic-accent) 12%, var(--wuic-surface));
|
|
27
|
-
|
|
28
|
-
// Raggi
|
|
29
|
-
--wuic-radius-sm: var(--p-border-radius-sm, 4px);
|
|
30
|
-
--wuic-radius-md: var(--p-border-radius-md, 6px);
|
|
31
|
-
--wuic-radius-lg: var(--p-border-radius-lg, 10px);
|
|
32
|
-
|
|
33
|
-
// Ombre: non derivabili dai --p-* (PrimeUIX non espone shadow semantiche),
|
|
34
|
-
// quindi hanno l'unico override esplicito in `.theme-dark` qui sotto.
|
|
35
|
-
--wuic-shadow-1: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
36
|
-
--wuic-shadow-2: 0 10px 24px rgba(15, 23, 42, 0.08);
|
|
37
|
-
|
|
38
|
-
// Spaziature (pilotate anche dal tema "dense")
|
|
39
|
-
--wuic-space-1: 4px;
|
|
40
|
-
--wuic-space-2: 8px;
|
|
41
|
-
--wuic-space-3: 16px;
|
|
42
|
-
|
|
43
|
-
// Tipografia e sfondo pagina.
|
|
44
|
-
// NON derivano dai --p-*: PrimeUIX non ha token per font-family, per il
|
|
45
|
-
// font-size globale (esistono solo `formField.sm/lg.fontSize`) ne' per lo
|
|
46
|
-
// sfondo della pagina. Sono scritti dal Theme Builder via
|
|
47
|
-
// documentElement.style.setProperty e applicati in styles.scss.
|
|
48
|
-
//
|
|
49
|
-
// Il default dello stack NON e' neutro di proposito: senza font-family il
|
|
50
|
-
// browser cade sul serif di sistema (verificato: body in "Times New Roman"),
|
|
51
|
-
// che non e' mai stata una scelta di design del framework.
|
|
52
|
-
--wuic-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
53
|
-
--wuic-font-scale: 16px;
|
|
54
|
-
--wuic-app-bg: var(--wuic-surface);
|
|
55
|
-
--wuic-app-bg-image: none;
|
|
56
|
-
--wuic-app-bg-overlay: transparent;
|
|
57
|
-
/* Resa dell'immagine di sfondo: `auto` + `repeat` per le texture,
|
|
58
|
-
`cover` per le foto a piena pagina. */
|
|
59
|
-
--wuic-app-bg-size: cover;
|
|
60
|
-
--wuic-app-bg-repeat: no-repeat;
|
|
61
|
-
--wuic-app-bg-position: center;
|
|
62
|
-
/* Durata della deriva del gradiente animato: lunga di proposito, deve
|
|
63
|
-
essere percepibile solo di sfuggita. */
|
|
64
|
-
--wuic-app-bg-anim-duration: 32s;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Unico blocco dark globale: solo i token non derivabili dai --p-*.
|
|
68
|
-
:is(html, body).theme-dark {
|
|
69
|
-
--wuic-shadow-1: 0 1px 3px rgba(0, 0, 0, 0.35);
|
|
70
|
-
--wuic-shadow-2: 0 14px 30px rgba(0, 0, 0, 0.35);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Densita' compatta: classe applicata su html/body dal theme selector (stesso
|
|
74
|
-
// meccanismo di `.theme-dark`) perche' definePreset() scrive solo --p-*.
|
|
75
|
-
// Solo spacing: i radius NON vanno ridefiniti qui — derivano gia' dai
|
|
76
|
-
// --p-border-radius-* che il preset Dense riduce, e un override creerebbe
|
|
77
|
-
// due fonti di verita' in conflitto.
|
|
78
|
-
:is(html, body).theme-dense {
|
|
79
|
-
--wuic-space-1: 2px;
|
|
80
|
-
--wuic-space-2: 5px;
|
|
81
|
-
--wuic-space-3: 10px;
|
|
82
|
-
}
|
|
1
|
+
// Token di design condivisi del framework (--wuic-*).
|
|
2
|
+
// Sono DERIVATI dai token semantici PrimeUIX (--p-*): commutano da soli al
|
|
3
|
+
// cambio tema/preset, in dark mode (darkModeSelector `.theme-dark` ricalcola i
|
|
4
|
+
// --p-*) e in alto contrasto (l'host rimappa i --p-* sui --hc-*). Per questo
|
|
5
|
+
// i componenti che usano --wuic-* NON devono aggiungere blocchi
|
|
6
|
+
// `:host-context(.theme-dark)` propri: la commutazione avviene qui, una volta.
|
|
7
|
+
// I fallback hex servono solo quando i --p-* non sono ancora installati
|
|
8
|
+
// (bootstrap primissimo paint) e replicano il light di default.
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
// Superfici
|
|
12
|
+
--wuic-surface: var(--p-content-background, #ffffff);
|
|
13
|
+
--wuic-surface-soft: var(--p-content-hover-background, #f8fafc);
|
|
14
|
+
|
|
15
|
+
// Bordi
|
|
16
|
+
--wuic-border: var(--p-content-border-color, #d9e2ec);
|
|
17
|
+
--wuic-border-soft: color-mix(in srgb, var(--wuic-border) 55%, var(--wuic-surface));
|
|
18
|
+
|
|
19
|
+
// Testo
|
|
20
|
+
--wuic-text: var(--p-text-color, #1f2937);
|
|
21
|
+
--wuic-text-muted: var(--p-text-muted-color, #64748b);
|
|
22
|
+
|
|
23
|
+
// Accent (colore primario del tema attivo)
|
|
24
|
+
--wuic-accent: var(--p-primary-color, #3b82f6);
|
|
25
|
+
--wuic-accent-contrast: var(--p-primary-contrast-color, #ffffff);
|
|
26
|
+
--wuic-accent-soft: color-mix(in srgb, var(--wuic-accent) 12%, var(--wuic-surface));
|
|
27
|
+
|
|
28
|
+
// Raggi
|
|
29
|
+
--wuic-radius-sm: var(--p-border-radius-sm, 4px);
|
|
30
|
+
--wuic-radius-md: var(--p-border-radius-md, 6px);
|
|
31
|
+
--wuic-radius-lg: var(--p-border-radius-lg, 10px);
|
|
32
|
+
|
|
33
|
+
// Ombre: non derivabili dai --p-* (PrimeUIX non espone shadow semantiche),
|
|
34
|
+
// quindi hanno l'unico override esplicito in `.theme-dark` qui sotto.
|
|
35
|
+
--wuic-shadow-1: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
36
|
+
--wuic-shadow-2: 0 10px 24px rgba(15, 23, 42, 0.08);
|
|
37
|
+
|
|
38
|
+
// Spaziature (pilotate anche dal tema "dense")
|
|
39
|
+
--wuic-space-1: 4px;
|
|
40
|
+
--wuic-space-2: 8px;
|
|
41
|
+
--wuic-space-3: 16px;
|
|
42
|
+
|
|
43
|
+
// Tipografia e sfondo pagina.
|
|
44
|
+
// NON derivano dai --p-*: PrimeUIX non ha token per font-family, per il
|
|
45
|
+
// font-size globale (esistono solo `formField.sm/lg.fontSize`) ne' per lo
|
|
46
|
+
// sfondo della pagina. Sono scritti dal Theme Builder via
|
|
47
|
+
// documentElement.style.setProperty e applicati in styles.scss.
|
|
48
|
+
//
|
|
49
|
+
// Il default dello stack NON e' neutro di proposito: senza font-family il
|
|
50
|
+
// browser cade sul serif di sistema (verificato: body in "Times New Roman"),
|
|
51
|
+
// che non e' mai stata una scelta di design del framework.
|
|
52
|
+
--wuic-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
53
|
+
--wuic-font-scale: 16px;
|
|
54
|
+
--wuic-app-bg: var(--wuic-surface);
|
|
55
|
+
--wuic-app-bg-image: none;
|
|
56
|
+
--wuic-app-bg-overlay: transparent;
|
|
57
|
+
/* Resa dell'immagine di sfondo: `auto` + `repeat` per le texture,
|
|
58
|
+
`cover` per le foto a piena pagina. */
|
|
59
|
+
--wuic-app-bg-size: cover;
|
|
60
|
+
--wuic-app-bg-repeat: no-repeat;
|
|
61
|
+
--wuic-app-bg-position: center;
|
|
62
|
+
/* Durata della deriva del gradiente animato: lunga di proposito, deve
|
|
63
|
+
essere percepibile solo di sfuggita. */
|
|
64
|
+
--wuic-app-bg-anim-duration: 32s;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Unico blocco dark globale: solo i token non derivabili dai --p-*.
|
|
68
|
+
:is(html, body).theme-dark {
|
|
69
|
+
--wuic-shadow-1: 0 1px 3px rgba(0, 0, 0, 0.35);
|
|
70
|
+
--wuic-shadow-2: 0 14px 30px rgba(0, 0, 0, 0.35);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Densita' compatta: classe applicata su html/body dal theme selector (stesso
|
|
74
|
+
// meccanismo di `.theme-dark`) perche' definePreset() scrive solo --p-*.
|
|
75
|
+
// Solo spacing: i radius NON vanno ridefiniti qui — derivano gia' dai
|
|
76
|
+
// --p-border-radius-* che il preset Dense riduce, e un override creerebbe
|
|
77
|
+
// due fonti di verita' in conflitto.
|
|
78
|
+
:is(html, body).theme-dense {
|
|
79
|
+
--wuic-space-1: 2px;
|
|
80
|
+
--wuic-space-2: 5px;
|
|
81
|
+
--wuic-space-3: 10px;
|
|
82
|
+
}
|
|
@@ -9027,6 +9027,11 @@ declare class MapListComponent implements OnInit, AfterViewInit, OnDestroy, IBin
|
|
|
9027
9027
|
/**
|
|
9028
9028
|
* Proprieta di stato del componente per map lib, usata dalla logica interna e dal template.
|
|
9029
9029
|
*/
|
|
9030
|
+
/** True when the Maps JavaScript API is not loaded (missing API key): the view
|
|
9031
|
+
* shows an inline notice instead of failing with a blocking error dialog. */
|
|
9032
|
+
mapsApiUnavailable: boolean;
|
|
9033
|
+
/** The Maps script sets `window.google.maps.importLibrary` once it has loaded. */
|
|
9034
|
+
static isMapsApiAvailable(): boolean;
|
|
9030
9035
|
MAP_LIB: google.maps.MapsLibrary;
|
|
9031
9036
|
/**
|
|
9032
9037
|
* Proprieta di stato del componente per marker lib, usata dalla logica interna e dal template.
|