wuic-framework-lib 1.7.1 → 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.
Files changed (22) hide show
  1. package/fesm2022/{wuic-framework-lib-chart-list.component-Dq9IEKsY.mjs → wuic-framework-lib-chart-list.component-MeAS47VV.mjs} +4 -4
  2. package/fesm2022/{wuic-framework-lib-code-editor.component-B6IpTSo8.mjs → wuic-framework-lib-code-editor.component-WtZC2MZC.mjs} +6 -6
  3. package/fesm2022/{wuic-framework-lib-designer.component-D6cbqNFg.mjs → wuic-framework-lib-designer.component-Dt7Yz5hn.mjs} +12 -12
  4. package/fesm2022/{wuic-framework-lib-first-run-wizard.component-D1ZQUl-q.mjs → wuic-framework-lib-first-run-wizard.component-C8nhy5yK.mjs} +2 -2
  5. package/fesm2022/{wuic-framework-lib-framework-docs.component-C_o5r7pg.mjs → wuic-framework-lib-framework-docs.component-CGsugPCx.mjs} +4 -4
  6. package/fesm2022/{wuic-framework-lib-pivot-builder.component-DkWGzJpr.mjs → wuic-framework-lib-pivot-builder.component-S5zqy3vj.mjs} +164 -164
  7. package/fesm2022/{wuic-framework-lib-prompt-dialog-fallback-host.component-D29go5yA.mjs → wuic-framework-lib-prompt-dialog-fallback-host.component-VY-gtgRW.mjs} +28 -28
  8. package/fesm2022/{wuic-framework-lib-report-designer.component-DcpCWghx.mjs → wuic-framework-lib-report-designer.component-QRxxueU-.mjs} +2 -2
  9. package/fesm2022/{wuic-framework-lib-report-scaffold-dialog.component-CgUjG7Bi.mjs → wuic-framework-lib-report-scaffold-dialog.component-OGdglGPw.mjs} +246 -246
  10. package/fesm2022/{wuic-framework-lib-report-viewer.component-C4Opgl_M.mjs → wuic-framework-lib-report-viewer.component-CuXw3e0j.mjs} +4 -4
  11. package/fesm2022/{wuic-framework-lib-scene3d-designer.component-8l3vsyEb.mjs → wuic-framework-lib-scene3d-designer.component-LhC0KzWO.mjs} +20 -20
  12. package/fesm2022/{wuic-framework-lib-scene3d-light-baker-gpu-C1w-8Aai.mjs → wuic-framework-lib-scene3d-light-baker-gpu-B5ywsrSp.mjs} +2 -2
  13. package/fesm2022/{wuic-framework-lib-scene3d-shader-effect-DjHyCAFK.mjs → wuic-framework-lib-scene3d-shader-effect-gBEFKNvi.mjs} +18 -18
  14. package/fesm2022/{wuic-framework-lib-scene3d-viewer.component-nMSl5jbe.mjs → wuic-framework-lib-scene3d-viewer.component-DiDqJO-P.mjs} +5 -5
  15. package/fesm2022/{wuic-framework-lib-scheduler-list.component-Cvk3Zg0Q.mjs → wuic-framework-lib-scheduler-list.component-5JbxIBdp.mjs} +4 -4
  16. package/fesm2022/{wuic-framework-lib-spreadsheet-list-sf.component-C1U7JPiq.mjs → wuic-framework-lib-spreadsheet-list-sf.component-Dxk5d9au.mjs} +47 -47
  17. package/fesm2022/{wuic-framework-lib-timeline-list.component-cZbPgNh1.mjs → wuic-framework-lib-timeline-list.component-B1ro-16J.mjs} +6 -6
  18. package/fesm2022/{wuic-framework-lib-workflow-designer.component-C_4RQGa0.mjs → wuic-framework-lib-workflow-designer.component-D32ZMxq2.mjs} +6 -6
  19. package/fesm2022/{wuic-framework-lib-wuic-framework-lib-BZZwta8b.mjs → wuic-framework-lib-wuic-framework-lib-81WUtxz8.mjs} +821 -821
  20. package/fesm2022/wuic-framework-lib.mjs +1 -1
  21. package/package.json +1 -1
  22. package/styles/_wuic-tokens.scss +82 -82
@@ -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-BZZwta8b.mjs';
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.1",
3
+ "version": "1.7.2",
4
4
  "description": "Wuic Angular Framework Library",
5
5
  "author": "Wuic",
6
6
  "license": "MIT",
@@ -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
+ }