wuic-framework-lib 1.7.6 → 1.7.8

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 (21) hide show
  1. package/fesm2022/{wuic-framework-lib-chart-list.component-Bd81NAA4.mjs → wuic-framework-lib-chart-list.component-B-qi3f9x.mjs} +2 -2
  2. package/fesm2022/{wuic-framework-lib-code-editor.component-CT9RQP0j.mjs → wuic-framework-lib-code-editor.component-CdZRro82.mjs} +2 -2
  3. package/fesm2022/{wuic-framework-lib-designer.component-DARgqyVY.mjs → wuic-framework-lib-designer.component-NI80qEef.mjs} +2 -2
  4. package/fesm2022/{wuic-framework-lib-first-run-wizard.component-CpE5e6eG.mjs → wuic-framework-lib-first-run-wizard.component-CZRn9cUV.mjs} +2 -2
  5. package/fesm2022/{wuic-framework-lib-framework-docs.component-C04bapkD.mjs → wuic-framework-lib-framework-docs.component-CreW338k.mjs} +194 -104
  6. package/fesm2022/{wuic-framework-lib-pivot-builder.component-D48ouhKb.mjs → wuic-framework-lib-pivot-builder.component-0iwqvcfZ.mjs} +4 -4
  7. package/fesm2022/{wuic-framework-lib-prompt-dialog-fallback-host.component-CHdqlPlh.mjs → wuic-framework-lib-prompt-dialog-fallback-host.component-DFGOpdlV.mjs} +2 -2
  8. package/fesm2022/{wuic-framework-lib-report-designer.component-CR6AWWCs.mjs → wuic-framework-lib-report-designer.component-x1qjlyS9.mjs} +2 -2
  9. package/fesm2022/{wuic-framework-lib-report-scaffold-dialog.component-UOHh2H80.mjs → wuic-framework-lib-report-scaffold-dialog.component-YO8IyqI9.mjs} +2 -2
  10. package/fesm2022/{wuic-framework-lib-report-viewer.component-jggUwuS6.mjs → wuic-framework-lib-report-viewer.component-AOhX1ah0.mjs} +2 -2
  11. package/fesm2022/{wuic-framework-lib-scene3d-designer.component-Cf99bYCj.mjs → wuic-framework-lib-scene3d-designer.component-B-9lIpui.mjs} +5 -5
  12. package/fesm2022/{wuic-framework-lib-scene3d-light-baker-gpu-CIilDU9M.mjs → wuic-framework-lib-scene3d-light-baker-gpu-MyzRdukh.mjs} +2 -2
  13. package/fesm2022/{wuic-framework-lib-scene3d-viewer.component-BOMK1lig.mjs → wuic-framework-lib-scene3d-viewer.component-DHrKs3zg.mjs} +2 -2
  14. package/fesm2022/{wuic-framework-lib-scheduler-list.component-QpRYvvOw.mjs → wuic-framework-lib-scheduler-list.component-B4Y92Q0p.mjs} +2 -2
  15. package/fesm2022/{wuic-framework-lib-spreadsheet-list-sf.component-qCPw_JOC.mjs → wuic-framework-lib-spreadsheet-list-sf.component-BvVnXgfH.mjs} +2 -2
  16. package/fesm2022/{wuic-framework-lib-timeline-list.component-DUHygnTw.mjs → wuic-framework-lib-timeline-list.component-a_KcbMD0.mjs} +4 -4
  17. package/fesm2022/{wuic-framework-lib-workflow-designer.component-BcFyxfQI.mjs → wuic-framework-lib-workflow-designer.component-A6g5UefX.mjs} +14 -14
  18. package/fesm2022/{wuic-framework-lib-wuic-framework-lib-B2TNmDgm.mjs → wuic-framework-lib-wuic-framework-lib-D4Q320L6.mjs} +11179 -11046
  19. package/fesm2022/wuic-framework-lib.mjs +1 -1
  20. package/package.json +1 -1
  21. package/types/wuic-framework-lib.d.ts +70 -1
@@ -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-B2TNmDgm.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-D4Q320L6.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.6",
3
+ "version": "1.7.8",
4
4
  "description": "Wuic Angular Framework Library",
5
5
  "author": "Wuic",
6
6
  "license": "MIT",
@@ -7655,6 +7655,49 @@ declare class ListGridComponent implements AfterViewInit, OnInit, OnDestroy, IDa
7655
7655
  * Gestisce la logica di `onRowExpand` con il flusso specifico definito dalla sua implementazione.
7656
7656
  * @param event Evento UI/payload evento che innesca la logica del metodo.
7657
7657
  */
7658
+ /** Riga e istante dell'ultimo click utile, per riconoscere la coppia ravvicinata. */
7659
+ private ultimoClicSuRiga;
7660
+ /** Istante dell'ultima apertura, per non aprire due volte lo stesso doppio gesto. */
7661
+ private ultimaAperturaDaDoppioGesto;
7662
+ /** Millisecondi entro cui due click sulla stessa riga valgono come doppio. */
7663
+ private static readonly MS_DOPPIO_GESTO;
7664
+ /**
7665
+ * Doppio clic sulla riga: apre la modifica, esattamente come la matita.
7666
+ *
7667
+ * @param event Il doppio clic arrivato dalla tabella.
7668
+ */
7669
+ onRowDoubleClick(event: MouseEvent): void;
7670
+ /**
7671
+ * Secondo click ravvicinato sulla stessa riga: vale come doppio clic.
7672
+ *
7673
+ * Perche' non basta `dblclick`: quando il gesto nasce da un tocco, il browser non lo
7674
+ * consegna sempre — due tap restano due `click`. Verificato sulla stessa pagina: con il
7675
+ * mouse, a finestra stretta e layout a card, la modifica si apre; con l'input touch della
7676
+ * device toolbar di Chrome, no. Riconoscere la coppia di click copre entrambi i casi senza
7677
+ * dipendere da come il browser classifica il gesto.
7678
+ *
7679
+ * @param event Il click arrivato dalla tabella.
7680
+ */
7681
+ onRowClick(event: MouseEvent): void;
7682
+ /**
7683
+ * La riga colpita dall'evento, solo se il gesto e' davvero rivolto alla riga.
7684
+ *
7685
+ * @param event L'evento di puntamento ricevuto dalla tabella.
7686
+ * @returns Il `<tr>` colpito, oppure `null` se il gesto era su un controllo o fuori da una riga.
7687
+ */
7688
+ private rigaModificabileDellEvento;
7689
+ /**
7690
+ * Apre la modifica della riga colpita delegando alla voce Modifica del suo componente azioni.
7691
+ *
7692
+ * Perche' delega invece di aprire la form da se': la matita non e' solo "apri la form".
7693
+ * `DataActionButtonComponent` decide se la voce Modifica esiste (`md_editable`) e se e'
7694
+ * abilitata valutando `md_conditional_update_rule` su QUELLA riga. Riscrivere qui
7695
+ * l'apertura vorrebbe dire duplicare quelle regole — e alla prima divergenza il doppio clic
7696
+ * lascerebbe modificare righe che la matita vieta.
7697
+ *
7698
+ * @param event Il gesto (doppio clic, o secondo click della coppia) che ha innescato l'apertura.
7699
+ */
7700
+ private apriModificaDaGesto;
7658
7701
  onRowExpand(event: TableRowExpandEvent): void;
7659
7702
  /**
7660
7703
  * Gestisce la logica di `onRowCollapse` con il flusso specifico definito dalla sua implementazione.
@@ -11699,6 +11742,7 @@ declare class AppSettingsEditorComponent implements OnInit, OnDestroy {
11699
11742
  }
11700
11743
 
11701
11744
  declare class DataActionButtonComponent implements AfterViewInit, OnDestroy {
11745
+ readonly hostEl: ElementRef<HTMLElement>;
11702
11746
  private readonly trslSrv;
11703
11747
  private readonly cd;
11704
11748
  private readonly messageService;
@@ -11707,6 +11751,25 @@ declare class DataActionButtonComponent implements AfterViewInit, OnDestroy {
11707
11751
  private readonly http;
11708
11752
  private readonly metadataProvider;
11709
11753
  private static readonly ACTION_KEY_EDIT;
11754
+ /**
11755
+ * Registro elemento host -> componente azioni della riga.
11756
+ *
11757
+ * Perche' un registro e non una query di vista dalla list-grid: le righe della griglia
11758
+ * sono montate con `ngComponentOutlet`, e `@ViewChildren` non entra nella vista di un
11759
+ * componente creato dinamicamente — dalla list-grid la QueryList tornava sempre vuota e
11760
+ * il doppio clic sulla riga non trovava nulla a cui delegare. Qui il componente si
11761
+ * annuncia quando nasce e si cancella quando muore; la WeakMap non trattiene gli
11762
+ * elementi tolti dal DOM.
11763
+ */
11764
+ private static readonly componentiPerElemento;
11765
+ /**
11766
+ * Il componente azioni contenuto in quella riga, se c'e'.
11767
+ *
11768
+ * @param riga Il `<tr>` della griglia.
11769
+ * @returns Il componente azioni della riga, oppure `undefined` quando la riga non ne ha
11770
+ * uno (colonna azioni nascosta, riga di dettaglio, riga di gruppo).
11771
+ */
11772
+ static perRiga(riga: Element | null | undefined): DataActionButtonComponent | undefined;
11710
11773
  data: any;
11711
11774
  metaInfo: MetaInfo;
11712
11775
  datasource: BehaviorSubject<DataSourceComponent>;
@@ -11722,7 +11785,13 @@ declare class DataActionButtonComponent implements AfterViewInit, OnDestroy {
11722
11785
  inlineItems: any[];
11723
11786
  nonInlineEditingItems: MenuItem[];
11724
11787
  private translationsLoadedSub?;
11725
- constructor(trslSrv: TranslationManagerService, cd: ChangeDetectorRef, messageService: MessageService, confirmationService: ConfirmationService, router: Router, http: HttpClient, metadataProvider: MetadataProviderService);
11788
+ /**
11789
+ * L'elemento DOM di questo componente. Serve a chi deve risalire dalla riga della
11790
+ * griglia al suo componente azioni — per esempio il doppio clic sulla riga, che deve
11791
+ * fare esattamente quello che fa la matita (compresi i permessi condizionali) e quindi
11792
+ * delega a questo componente invece di reimplementare la modifica.
11793
+ */
11794
+ constructor(hostEl: ElementRef<HTMLElement>, trslSrv: TranslationManagerService, cd: ChangeDetectorRef, messageService: MessageService, confirmationService: ConfirmationService, router: Router, http: HttpClient, metadataProvider: MetadataProviderService);
11726
11795
  /**
11727
11796
  * Hook di debug locale per ispezionare l'evento click sul pulsante azioni.
11728
11797
  * @param $event Evento UI ricevuto dal template.