wuic-framework-lib 1.7.1 → 1.7.3
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-Dq9IEKsY.mjs → wuic-framework-lib-chart-list.component-B7d2AQ3G.mjs} +4 -4
- package/fesm2022/{wuic-framework-lib-code-editor.component-B6IpTSo8.mjs → wuic-framework-lib-code-editor.component-Bx_fV1X1.mjs} +6 -6
- package/fesm2022/{wuic-framework-lib-designer.component-D6cbqNFg.mjs → wuic-framework-lib-designer.component-CohHkalb.mjs} +12 -12
- package/fesm2022/{wuic-framework-lib-first-run-wizard.component-D1ZQUl-q.mjs → wuic-framework-lib-first-run-wizard.component-BoP77ip9.mjs} +2 -2
- package/fesm2022/{wuic-framework-lib-framework-docs.component-C_o5r7pg.mjs → wuic-framework-lib-framework-docs.component-CcyeNUzz.mjs} +10 -10
- package/fesm2022/{wuic-framework-lib-pivot-builder.component-DkWGzJpr.mjs → wuic-framework-lib-pivot-builder.component-BUkGGFaw.mjs} +164 -164
- package/fesm2022/{wuic-framework-lib-prompt-dialog-fallback-host.component-D29go5yA.mjs → wuic-framework-lib-prompt-dialog-fallback-host.component-DPapKCIE.mjs} +28 -28
- package/fesm2022/{wuic-framework-lib-report-designer.component-DcpCWghx.mjs → wuic-framework-lib-report-designer.component-A6_tmp6z.mjs} +2 -2
- package/fesm2022/{wuic-framework-lib-report-scaffold-dialog.component-CgUjG7Bi.mjs → wuic-framework-lib-report-scaffold-dialog.component-Dbrx9bSq.mjs} +246 -246
- package/fesm2022/{wuic-framework-lib-report-viewer.component-C4Opgl_M.mjs → wuic-framework-lib-report-viewer.component-CYl77DcU.mjs} +4 -4
- package/fesm2022/{wuic-framework-lib-scene3d-designer.component-8l3vsyEb.mjs → wuic-framework-lib-scene3d-designer.component-DyVwOmXa.mjs} +20 -20
- package/fesm2022/{wuic-framework-lib-scene3d-light-baker-gpu-C1w-8Aai.mjs → wuic-framework-lib-scene3d-light-baker-gpu-DEGIR8lh.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-nMSl5jbe.mjs → wuic-framework-lib-scene3d-viewer.component-G_ykpDDF.mjs} +5 -5
- package/fesm2022/{wuic-framework-lib-scheduler-list.component-Cvk3Zg0Q.mjs → wuic-framework-lib-scheduler-list.component-C_1YjS3c.mjs} +4 -4
- package/fesm2022/{wuic-framework-lib-spreadsheet-list-sf.component-C1U7JPiq.mjs → wuic-framework-lib-spreadsheet-list-sf.component-BKtu4edX.mjs} +47 -47
- package/fesm2022/{wuic-framework-lib-timeline-list.component-cZbPgNh1.mjs → wuic-framework-lib-timeline-list.component-Dcosb8Zx.mjs} +6 -6
- package/fesm2022/{wuic-framework-lib-workflow-designer.component-C_4RQGa0.mjs → wuic-framework-lib-workflow-designer.component-BXnoS_ts.mjs} +6 -6
- package/fesm2022/{wuic-framework-lib-wuic-framework-lib-BZZwta8b.mjs → wuic-framework-lib-wuic-framework-lib-54sySY_p.mjs} +838 -823
- package/fesm2022/wuic-framework-lib.mjs +1 -1
- package/package.json +1 -1
- package/styles/_wuic-tokens.scss +82 -82
- package/types/wuic-framework-lib.d.ts +15 -2
|
@@ -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-54sySY_p.mjs';
|
|
2
2
|
//# sourceMappingURL=wuic-framework-lib.mjs.map
|
package/package.json
CHANGED
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
|
+
}
|
|
@@ -3494,7 +3494,7 @@ declare class MetadataProviderService {
|
|
|
3494
3494
|
* @param col Metadato colonna da analizzare.
|
|
3495
3495
|
* @returns Nome tipo TypeScript stimato (`string`, `number`, `boolean`, `Date`, `any`).
|
|
3496
3496
|
*/
|
|
3497
|
-
static getTSTypeFromMetaColumn(col: MetadatiColonna): "
|
|
3497
|
+
static getTSTypeFromMetaColumn(col: MetadatiColonna): "number" | "boolean" | "string" | "any" | "Date";
|
|
3498
3498
|
/**
|
|
3499
3499
|
* Normalizza e arricchisce i metadata colonna/tabella: ordina campi, inizializza callback dinamiche, parse di bag JSON
|
|
3500
3500
|
* e garantisce fallback robusti per funzioni custom non compilabili.
|
|
@@ -6051,7 +6051,7 @@ declare class RouteMetricsDashboardComponent implements OnInit {
|
|
|
6051
6051
|
datasets: any[];
|
|
6052
6052
|
}>;
|
|
6053
6053
|
/** Vista attiva: chart o tabella (stessi dati/filtri). */
|
|
6054
|
-
readonly activeTab: i0.WritableSignal<"
|
|
6054
|
+
readonly activeTab: i0.WritableSignal<"table" | "chart">;
|
|
6055
6055
|
/** Righe piatte per la tabella: una per (route, bucket) nel range. */
|
|
6056
6056
|
readonly tableRows: i0.WritableSignal<{
|
|
6057
6057
|
route: string;
|
|
@@ -9032,6 +9032,19 @@ declare class MapListComponent implements OnInit, AfterViewInit, OnDestroy, IBin
|
|
|
9032
9032
|
mapsApiUnavailable: boolean;
|
|
9033
9033
|
/** The Maps script sets `window.google.maps.importLibrary` once it has loaded. */
|
|
9034
9034
|
static isMapsApiAvailable(): boolean;
|
|
9035
|
+
/**
|
|
9036
|
+
* Il template monta `<google-map>` solo se questo e' vero.
|
|
9037
|
+
*
|
|
9038
|
+
* Serve un GETTER e non `!mapsApiUnavailable`: quel flag viene alzato dentro la
|
|
9039
|
+
* sottoscrizione al datasource, cioe' dopo che il template e' gia' stato valutato almeno
|
|
9040
|
+
* una volta. In quella finestra `<google-map>` di @angular/google-maps si costruiva e
|
|
9041
|
+
* lanciava `ReferenceError: google is not defined` dal suo codice interno; l'eccezione
|
|
9042
|
+
* risaliva al dialog di errore applicativo e bloccava l'intera UI, che e' proprio il guasto
|
|
9043
|
+
* che l'avviso in pagina doveva sostituire. Essendo un getter, la condizione viene rivalutata
|
|
9044
|
+
* a ogni ciclo di change detection: se lo script di Maps arriva piu' tardi, la mappa compare
|
|
9045
|
+
* da sola senza ricaricare.
|
|
9046
|
+
*/
|
|
9047
|
+
get mapsApiReady(): boolean;
|
|
9035
9048
|
MAP_LIB: google.maps.MapsLibrary;
|
|
9036
9049
|
/**
|
|
9037
9050
|
* Proprieta di stato del componente per marker lib, usata dalla logica interna e dal template.
|