@nice2dev/ui 1.0.21 → 1.0.22

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 (90) hide show
  1. package/CHANGELOG.md +144 -0
  2. package/dist/NiceErrorBoundary-B0262Ffc.js +770 -0
  3. package/dist/NiceErrorBoundary-BXOLv-zG.cjs +1 -0
  4. package/dist/NiceErrorBoundary-DsreAsON.cjs +1 -0
  5. package/dist/NiceErrorBoundary-HMfrXIir.js +770 -0
  6. package/dist/NiceForm-B7D1MASh.js +5383 -0
  7. package/dist/NiceForm-BA9zZdm8.cjs +382 -0
  8. package/dist/NiceForm-Ba9rvBoT.cjs +382 -0
  9. package/dist/NiceForm-DAGMJpgx.js +5383 -0
  10. package/dist/NiceModal-BVT9cZbf.cjs +1 -0
  11. package/dist/NiceModal-CiOYOWJy.cjs +1 -0
  12. package/dist/NiceModal-DZbHCdKq.js +95 -0
  13. package/dist/NiceModal-MeC1cNtW.js +95 -0
  14. package/dist/NiceModuleLifecyclePanel-BiX4KxaK.js +6781 -0
  15. package/dist/NiceModuleLifecyclePanel-CDo0iVfr.js +6781 -0
  16. package/dist/NiceModuleLifecyclePanel-DEJpoz5a.cjs +1 -0
  17. package/dist/NiceModuleLifecyclePanel-DrDTpH6K.cjs +1 -0
  18. package/dist/NiceModuleLifecyclePanel.css +1 -1
  19. package/dist/NicePagination-C8gx6Bcl.js +171 -0
  20. package/dist/NicePagination-CNxEAb4C.cjs +1 -0
  21. package/dist/NicePagination-Cg_WEf-R.cjs +1 -0
  22. package/dist/NicePagination-DQXdzx7W.js +171 -0
  23. package/dist/NicePinCodeInput-3WugpLHi.js +12240 -0
  24. package/dist/NicePinCodeInput-CSfRHs4v.cjs +419 -0
  25. package/dist/NicePinCodeInput-CjwFvOEQ.js +13092 -0
  26. package/dist/NicePinCodeInput-DoBQnMj9.cjs +694 -0
  27. package/dist/NiceSavedQueryPanel-DFDDuKWd.js +6597 -0
  28. package/dist/NiceSavedQueryPanel-DTU4eiIH.cjs +596 -0
  29. package/dist/NiceSavedQueryPanel-qtWETcRP.cjs +596 -0
  30. package/dist/NiceSavedQueryPanel-z29D7N_A.js +6584 -0
  31. package/dist/NiceTabs-B4dM77y_.js +1657 -0
  32. package/dist/NiceTabs-BTVTtRZR.cjs +1 -0
  33. package/dist/NiceTabs-BXGmot7J.cjs +1 -0
  34. package/dist/NiceTabs-DJdhKste.js +1657 -0
  35. package/dist/NiceWindow-Cs6-Dbci.js +1592 -0
  36. package/dist/NiceWindow-DYw4NCeb.js +1592 -0
  37. package/dist/NiceWindow-O_g8StvA.cjs +1 -0
  38. package/dist/NiceWindow-a4wB_m30.cjs +1 -0
  39. package/dist/NiceWindow.css +1 -0
  40. package/dist/charts-BDr6B81L.js +4657 -0
  41. package/dist/charts-Ci_KrAoU.cjs +761 -0
  42. package/dist/charts-ClxW-i5q.js +4657 -0
  43. package/dist/charts-Dr_FIPZT.cjs +761 -0
  44. package/dist/charts.cjs +1 -1
  45. package/dist/charts.mjs +1 -1
  46. package/dist/core-BIz6zQ5u.cjs +122 -0
  47. package/dist/core-BYxnKGOi.js +23141 -0
  48. package/dist/core-Cjw8oBvC.cjs +96 -0
  49. package/dist/core-xcuNJ-DB.js +24948 -0
  50. package/dist/data-branching-Byz79mmA.cjs +1 -0
  51. package/dist/data-branching-DjuerHfS.js +6133 -0
  52. package/dist/data-branching.cjs +1 -1
  53. package/dist/data-branching.d.ts +3 -0
  54. package/dist/data-branching.mjs +1 -1
  55. package/dist/data.cjs +1 -1
  56. package/dist/data.d.ts +10 -7
  57. package/dist/data.mjs +1 -1
  58. package/dist/devops-DYFov8j3.js +7684 -0
  59. package/dist/devops-g4qcLXah.cjs +17 -0
  60. package/dist/devops.cjs +1 -1
  61. package/dist/devops.d.ts +5 -0
  62. package/dist/devops.mjs +1 -1
  63. package/dist/editors.cjs +1 -1
  64. package/dist/editors.d.ts +172 -1
  65. package/dist/editors.mjs +44 -41
  66. package/dist/feedback.cjs +1 -1
  67. package/dist/feedback.d.ts +1 -2
  68. package/dist/feedback.mjs +2 -2
  69. package/dist/index-AEO3cK4T.cjs +5194 -0
  70. package/dist/index-BMQ-F0zE.js +65054 -0
  71. package/dist/index-BNb9q4Ll.cjs +5490 -0
  72. package/dist/index-CjdfogVa.js +66711 -0
  73. package/dist/index.cjs +1 -1
  74. package/dist/index.d.ts +504 -25
  75. package/dist/index.mjs +979 -963
  76. package/dist/lazy.cjs +1 -1
  77. package/dist/lazy.d.ts +11 -0
  78. package/dist/lazy.mjs +24 -24
  79. package/dist/navigation.cjs +1 -1
  80. package/dist/navigation.mjs +34 -34
  81. package/dist/no-code-Dl3ima61.cjs +332 -0
  82. package/dist/no-code-ktRzFaET.js +7133 -0
  83. package/dist/no-code.cjs +1 -1
  84. package/dist/no-code.d.ts +11 -0
  85. package/dist/no-code.mjs +1 -1
  86. package/dist/overlays.cjs +1 -1
  87. package/dist/overlays.d.ts +38 -0
  88. package/dist/overlays.mjs +48 -48
  89. package/dist/style.css +5 -2
  90. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -130,7 +130,7 @@ import { ICUValues } from '@nice2dev/ui-core';
130
130
  import { IndexedDBAdapter } from '@nice2dev/ui-core';
131
131
  import { InputStyleVariant } from '@nice2dev/ui-core';
132
132
  import { ITracelessPolicy } from '@nice2dev/ui-core';
133
- import { JSX as JSX_2 } from 'react/jsx-runtime';
133
+ import { JSX as JSX_2 } from 'react';
134
134
  import { KeyboardShortcut } from '@nice2dev/ui-core';
135
135
  import { LayoutPreferences } from '@nice2dev/ui-core';
136
136
  import { LeakDetectorConfig } from '@nice2dev/ui-core';
@@ -178,6 +178,7 @@ import { NiceBreakpoints } from '@nice2dev/ui-core';
178
178
  import { NiceCacheConfig } from '@nice2dev/ui-core';
179
179
  import { NiceChangeMeta } from '@nice2dev/ui-core';
180
180
  import { NiceChangeReason } from '@nice2dev/ui-core';
181
+ import { NiceComponentTutorial } from '@nice2dev/ui-core';
181
182
  import { NiceComponentType } from '@nice2dev/ui-core';
182
183
  import { NiceCrossTabSyncConfig } from '@nice2dev/ui-core';
183
184
  import { NiceCursorLoadOptions } from '@nice2dev/ui-core';
@@ -258,6 +259,7 @@ import { niceReduxActions } from '@nice2dev/ui-core';
258
259
  import { NiceReduxMiddlewareConfig } from '@nice2dev/ui-core';
259
260
  import { niceReduxReducer } from '@nice2dev/ui-core';
260
261
  import { NiceRequestDeduplicator } from '@nice2dev/ui-core';
262
+ import { NiceResolvedTutorialStep } from '@nice2dev/ui-core';
261
263
  import { NiceResponsiveValue } from '@nice2dev/ui-core';
262
264
  import { NiceRestConfig } from '@nice2dev/ui-core';
263
265
  import { NiceRTLConfig } from '@nice2dev/ui-core';
@@ -317,6 +319,11 @@ import { NiceTone } from '@nice2dev/ui-core';
317
319
  import { NiceTouchTarget } from '@nice2dev/ui-core';
318
320
  import { NiceTransitionState } from '@nice2dev/ui-core';
319
321
  import { NiceTranslateFn } from '@nice2dev/ui-core';
322
+ import { NiceTutorialButton } from '@nice2dev/ui-core';
323
+ import { NiceTutorialButtonProps } from '@nice2dev/ui-core';
324
+ import { NiceTutorialsContextValue } from '@nice2dev/ui-core';
325
+ import { NiceTutorialsProvider } from '@nice2dev/ui-core';
326
+ import { NiceTutorialStepDef } from '@nice2dev/ui-core';
320
327
  import { NiceURLState } from '@nice2dev/ui-core';
321
328
  import { NiceURLStateConfig } from '@nice2dev/ui-core';
322
329
  import { NiceUserMenuResponse } from '@nice2dev/ui-core';
@@ -358,7 +365,9 @@ import { removeTheme } from '@nice2dev/ui-core';
358
365
  import { RenderStats } from '@nice2dev/ui-core';
359
366
  import { RenderTiming } from '@nice2dev/ui-core';
360
367
  import { resolveDisplayStyleConfig } from '@nice2dev/ui-core';
368
+ import { resolveStepsI18n } from '@nice2dev/ui-core';
361
369
  import { resolveTracelessPolicy } from '@nice2dev/ui-core';
370
+ import { resolveTutorial } from '@nice2dev/ui-core';
362
371
  import { RestAPISyncAdapter } from '@nice2dev/ui-core';
363
372
  import { SafeAreaInsets } from '@nice2dev/ui-core';
364
373
  import { saveBaseline } from '@nice2dev/ui-core';
@@ -559,6 +568,8 @@ import { useNiceTransition } from '@nice2dev/ui-core';
559
568
  import { UseNiceTransitionOptions } from '@nice2dev/ui-core';
560
569
  import { UseNiceTransitionResult } from '@nice2dev/ui-core';
561
570
  import { useNiceTranslation } from '@nice2dev/ui-core';
571
+ import { useNiceTutorials } from '@nice2dev/ui-core';
572
+ import { useNiceTutorialsEnabled } from '@nice2dev/ui-core';
562
573
  import { useOrientation } from '@nice2dev/ui-core';
563
574
  import { usePan } from '@nice2dev/ui-core';
564
575
  import { UsePanOptions } from '@nice2dev/ui-core';
@@ -3888,6 +3899,28 @@ export declare interface EntityMapping {
3888
3899
  onError?: string;
3889
3900
  }
3890
3901
 
3902
+ /**
3903
+ * Scaffold a {@link NiceViewDefinitionV2} from an entity:
3904
+ * - `grid` → a single `dataGrid` cell over a `rows` rest data source (columns from fields);
3905
+ * - `form` / `detail` → field controls (mapped by dataType) laid out `perRow` per row,
3906
+ * two-way bound to a `record` data source (`detail` is read-only and omits the PK).
3907
+ * Universal — any entity with a `fields[]` array works (defaults to the OmniVerk shape).
3908
+ */
3909
+ export declare function entityToViewV2(entity: NiceEntityLike, kind?: NiceEntityViewKind, options?: EntityToViewV2Options): NiceViewDefinitionV2;
3910
+
3911
+ export declare interface EntityToViewV2Options {
3912
+ /** dataType → controlType overrides (merged over {@link NICE_DATATYPE_CONTROL_MAP}). */
3913
+ fieldControlMap?: Record<string, string>;
3914
+ /** Cells per row for form/detail. Default 2. */
3915
+ perRow?: number;
3916
+ /** Grid column count. Default 12. */
3917
+ columns?: number;
3918
+ /** Data source endpoint (rest). Default = entity name. */
3919
+ endpoint?: string;
3920
+ id?: string;
3921
+ name?: string;
3922
+ }
3923
+
3891
3924
  export declare type ERPAggregateFunction = 'sum' | 'avg' | 'count' | 'min' | 'max' | 'first' | 'last' | 'distinctCount' | 'runningSum';
3892
3925
 
3893
3926
  export declare interface ERPChartConfig {
@@ -6728,6 +6761,9 @@ export { NICE_BUILTIN_ICONS }
6728
6761
  /** All built-in style preset keys (export for convenience when populating the `presets` prop). */
6729
6762
  export declare const NICE_COLOR_PRESET_KEYS: NiceColorPreset[];
6730
6763
 
6764
+ /** Default mapping: entity field `dataType` (lower-cased) → registry control type. */
6765
+ export declare const NICE_DATATYPE_CONTROL_MAP: Record<string, string>;
6766
+
6731
6767
  export { NICE_DISPLAY_STYLE_INFO }
6732
6768
 
6733
6769
  export { NICE_DISPLAY_STYLES }
@@ -6877,6 +6913,26 @@ export declare interface NiceAchievementBadgeProps {
6877
6913
  id?: string;
6878
6914
  }
6879
6915
 
6916
+ export declare const NiceActionBuilder: ForwardRefExoticComponent<NiceActionBuilderProps & RefAttributes<HTMLDivElement>>;
6917
+
6918
+ export declare interface NiceActionBuilderProps {
6919
+ /** Current actions (controlled). */
6920
+ value: NiceViewAction[];
6921
+ /** Change callback with the full updated array. */
6922
+ onChange: (actions: NiceViewAction[]) => void;
6923
+ /** Available custom handler names (for `type: 'custom'`). */
6924
+ handlers?: string[];
6925
+ /** Available data source keys (for `refresh`). */
6926
+ dataSources?: string[];
6927
+ /** Render read-only. */
6928
+ readOnly?: boolean;
6929
+ /** Add-button label. Default `'+ Add action'`. */
6930
+ addLabel?: string;
6931
+ className?: string;
6932
+ style?: React.CSSProperties;
6933
+ 'data-testid'?: string;
6934
+ }
6935
+
6880
6936
  /** Context provided to action handlers at execution time. */
6881
6937
  export declare interface NiceActionContext {
6882
6938
  /** Current data sources keyed by name */
@@ -7494,6 +7550,8 @@ export declare interface NiceAutomationRuleEditorProps extends NiceBaseProps {
7494
7550
  onChange: (rule: AutomationRuleDto) => void;
7495
7551
  availableDevices: SmartDeviceDto[];
7496
7552
  availableScenes?: SmartSceneDto[];
7553
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
7554
+ tutorial?: NiceComponentTutorial;
7497
7555
  }
7498
7556
 
7499
7557
  export declare const NiceAvatar: default_2.FC<NiceAvatarProps>;
@@ -7551,7 +7609,7 @@ export declare interface NiceBackTopProps extends NiceStandardProps {
7551
7609
  onScroll?: () => void;
7552
7610
  }
7553
7611
 
7554
- export declare function NiceBackupDiffViewer({ diffs, title, defaultMode, defaultActions, className, style, }: NiceBackupDiffViewerProps): JSX_2.Element;
7612
+ export declare function NiceBackupDiffViewer({ diffs, title, defaultMode, defaultActions, className, style, }: NiceBackupDiffViewerProps): default_2.JSX.Element;
7555
7613
 
7556
7614
  export declare interface NiceBackupDiffViewerProps {
7557
7615
  /** Array of individual entity diffs */
@@ -7566,7 +7624,7 @@ export declare interface NiceBackupDiffViewerProps {
7566
7624
  style?: default_2.CSSProperties;
7567
7625
  }
7568
7626
 
7569
- export declare function NiceBackupList({ entries, onRestore, onDownload, onDelete, onCompare, onEditTags, onRowClick, onCreateBackup, pageSize, loading, className, style, }: NiceBackupListProps): JSX_2.Element;
7627
+ export declare function NiceBackupList({ entries, onRestore, onDownload, onDelete, onCompare, onEditTags, onRowClick, onCreateBackup, pageSize, loading, className, style, }: NiceBackupListProps): default_2.JSX.Element;
7570
7628
 
7571
7629
  export declare interface NiceBackupListProps {
7572
7630
  /** List of backup entries to display */
@@ -7593,7 +7651,7 @@ export declare interface NiceBackupListProps {
7593
7651
  style?: default_2.CSSProperties;
7594
7652
  }
7595
7653
 
7596
- export declare function NiceBackupRestoreDialog({ open, entry, plan, loading, progress, error, onDryRun, onConfirm, onClose, }: NiceBackupRestoreDialogProps): JSX_2.Element | null;
7654
+ export declare function NiceBackupRestoreDialog({ open, entry, plan, loading, progress, error, onDryRun, onConfirm, onClose, }: NiceBackupRestoreDialogProps): default_2.JSX.Element | null;
7597
7655
 
7598
7656
  export declare interface NiceBackupRestoreDialogProps {
7599
7657
  /** Whether the dialog is visible */
@@ -7616,7 +7674,7 @@ export declare interface NiceBackupRestoreDialogProps {
7616
7674
  onClose?: () => void;
7617
7675
  }
7618
7676
 
7619
- export declare function NiceBackupScheduler({ value, onChange, onSave, loading, className, style, }: NiceBackupSchedulerProps): JSX_2.Element;
7677
+ export declare function NiceBackupScheduler({ value, onChange, onSave, loading, className, style, }: NiceBackupSchedulerProps): default_2.JSX.Element;
7620
7678
 
7621
7679
  export declare interface NiceBackupSchedulerProps {
7622
7680
  /** Current schedule configuration */
@@ -7631,7 +7689,7 @@ export declare interface NiceBackupSchedulerProps {
7631
7689
  style?: default_2.CSSProperties;
7632
7690
  }
7633
7691
 
7634
- export declare function NiceBackupStatusBadge({ status, createdAt, showAge, warningDays, criticalDays, tags, maxTags, size, animate, className, style, }: NiceBackupStatusBadgeProps): JSX_2.Element;
7692
+ export declare function NiceBackupStatusBadge({ status, createdAt, showAge, warningDays, criticalDays, tags, maxTags, size, animate, className, style, }: NiceBackupStatusBadgeProps): default_2.JSX.Element;
7635
7693
 
7636
7694
  export declare interface NiceBackupStatusBadgeProps {
7637
7695
  status: BackupStatus;
@@ -7655,7 +7713,7 @@ export declare interface NiceBackupStatusBadgeProps {
7655
7713
  style?: default_2.CSSProperties;
7656
7714
  }
7657
7715
 
7658
- export declare function NiceBackupTagEditor({ tags, onChange, suggestions, allowDeleteAutoTags, maxManualTags, className, style, }: NiceBackupTagEditorProps): JSX_2.Element;
7716
+ export declare function NiceBackupTagEditor({ tags, onChange, suggestions, allowDeleteAutoTags, maxManualTags, tutorial, className, style, }: NiceBackupTagEditorProps): default_2.JSX.Element;
7659
7717
 
7660
7718
  export declare interface NiceBackupTagEditorProps {
7661
7719
  /** Current tags */
@@ -7674,6 +7732,8 @@ export declare interface NiceBackupTagEditorProps {
7674
7732
  maxManualTags?: number;
7675
7733
  className?: string;
7676
7734
  style?: default_2.CSSProperties;
7735
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
7736
+ tutorial?: NiceComponentTutorial;
7677
7737
  }
7678
7738
 
7679
7739
  export declare const NiceBadge: default_2.FC<NiceBadgeProps>;
@@ -8172,7 +8232,7 @@ export declare interface NiceCardProps extends NiceBaseProps {
8172
8232
  onClick?: () => void;
8173
8233
  }
8174
8234
 
8175
- export declare function NiceCardView<T extends NiceCardViewItem>({ items, renderCard, columns, gap, searchable, searchField, searchPlaceholder, loading, emptyText, onCardClick, className, style, accessMode, id, }: NiceCardViewProps<T>): JSX_2.Element | null;
8235
+ export declare function NiceCardView<T extends NiceCardViewItem>({ items, renderCard, columns, gap, searchable, searchField, searchPlaceholder, loading, emptyText, onCardClick, className, style, accessMode, id, }: NiceCardViewProps<T>): default_2.JSX.Element | null;
8176
8236
 
8177
8237
  /** An item displayed by the {@link NiceCardView} component. */
8178
8238
  declare interface NiceCardViewItem {
@@ -8816,8 +8876,20 @@ export declare interface NiceCodeEditorProps {
8816
8876
  * LSP bridge configuration. If provided, connects Monaco to the LSP server for enhanced language features.
8817
8877
  */
8818
8878
  lsp?: NiceCodeEditorLspConfig;
8879
+ /**
8880
+ * Extra TypeScript/JavaScript declaration sources fed to Monaco for IntelliSense
8881
+ * (e.g. a generated `ctx.d.ts` describing a script context). Each entry is registered
8882
+ * via `monaco.languages.typescript.{typescript|javascript}Defaults.addExtraLib`.
8883
+ * Only takes effect for `javascript` / `typescript` languages. Re-applied when the array changes.
8884
+ */
8885
+ extraLibs?: Array<{
8886
+ content: string;
8887
+ filePath?: string;
8888
+ }>;
8819
8889
  /** Additional CSS class */
8820
8890
  className?: string;
8891
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
8892
+ tutorial?: NiceComponentTutorial;
8821
8893
  /** Test ID */
8822
8894
  'data-testid'?: string;
8823
8895
  }
@@ -9384,6 +9456,8 @@ export declare interface NiceComponentDesignerProps {
9384
9456
  theme?: 'light' | 'dark';
9385
9457
  /** Additional class name */
9386
9458
  className?: string;
9459
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
9460
+ tutorial?: NiceComponentTutorial;
9387
9461
  }
9388
9462
 
9389
9463
  export declare interface NiceComponentEntry {
@@ -9425,6 +9499,8 @@ export declare interface NiceComponentPlaygroundProps extends NiceBaseProps {
9425
9499
  defaultDisplayStyle?: NiceDisplayStyle;
9426
9500
  }
9427
9501
 
9502
+ export { NiceComponentTutorial }
9503
+
9428
9504
  export { NiceComponentType }
9429
9505
 
9430
9506
  /** Full type mapping registry. */
@@ -10074,6 +10150,8 @@ export declare interface NiceCropEditorProps {
10074
10150
  style?: default_2.CSSProperties;
10075
10151
  /** Test ID */
10076
10152
  'data-testid'?: string;
10153
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
10154
+ tutorial?: NiceComponentTutorial;
10077
10155
  }
10078
10156
 
10079
10157
  /** Cross-platform schema metadata attached to a view definition. */
@@ -10288,7 +10366,7 @@ export declare interface NiceDataDiffViewerProps extends NiceBaseProps {
10288
10366
  onSelectRecord?: (table: string, recordId: string) => void;
10289
10367
  }
10290
10368
 
10291
- export declare function NiceDataGrid<T extends Record<string, any>>({ columns, data: dataProp, keyField, dataSource, sortable, sortField: controlledSortField, sortDirection: controlledSortDir, onSort, selectable, selectedKeys: controlledSelected, onSelectionChange, pagination, pageSize: initPageSize, page: controlledPage, onPageChange, totalRows, searchable, searchPlaceholder, virtualScroll, rowHeight, groupBy, groupRender, onCellEdit, editMode, formItems, formColumns, editFormTitle, formProps, onRowEdit, onRowAdd, onRowDelete: _onRowDelete, bulkActions, onBulkDelete, exportCsv, exportFilename, detailRow, expandedRowKeys: controlledExpandedRows, onExpandedRowChange, columnReorder: _columnReorder, onColumnReorder: _onColumnReorder, columnResize, rowDraggable, onRowReorder, striped, compact, loading: loadingProp, emptyText, toolbar, onRowClick, pinnedTopKeys, pinnedBottomKeys, colSpan: colSpanFn, showStatusBar, contextMenuItems, onContextMenuAction, printFriendly, keyboardNavigation, focusedCell: controlledFocusedCell, onFocusedCellChange, cellRangeSelection, selectedCellRange: controlledCellRange, onCellRangeChange, clipboard, clipboardFormat, onBeforeCopy, onCopy, onPaste, quickFilters, activeQuickFilters: controlledQuickFilters, onQuickFilterChange, columnGroups: _columnGroups, stateStorageKey, initialState, onStateChange, flashRowKeys, flashDuration, autoFitColumns: _autoFitColumns, showColumnStats: _showColumnStats, rowIndicator, frozenRows: _frozenRows, className, style, accessMode, id, displayStyle, }: NiceDataGridProps<T>): JSX_2.Element | null;
10369
+ export declare function NiceDataGrid<T extends Record<string, any>>({ columns, data: dataProp, keyField, dataSource, sortable, sortField: controlledSortField, sortDirection: controlledSortDir, onSort, selectable, selectedKeys: controlledSelected, onSelectionChange, pagination, pageSize: initPageSize, page: controlledPage, onPageChange, totalRows, searchable, searchPlaceholder, virtualScroll, rowHeight, groupBy, groupRender, onCellEdit, editMode, formItems, formColumns, editFormTitle, formProps, onRowEdit, onRowAdd, onRowDelete: _onRowDelete, bulkActions, onBulkDelete, exportCsv, exportFilename, detailRow, expandedRowKeys: controlledExpandedRows, onExpandedRowChange, columnReorder: _columnReorder, onColumnReorder: _onColumnReorder, columnResize, rowDraggable, onRowReorder, striped, compact, loading: loadingProp, emptyText, toolbar, onRowClick, pinnedTopKeys, pinnedBottomKeys, colSpan: colSpanFn, showStatusBar, contextMenuItems, onContextMenuAction, printFriendly, keyboardNavigation, focusedCell: controlledFocusedCell, onFocusedCellChange, cellRangeSelection, selectedCellRange: controlledCellRange, onCellRangeChange, clipboard, clipboardFormat, onBeforeCopy, onCopy, onPaste, quickFilters, activeQuickFilters: controlledQuickFilters, onQuickFilterChange, columnGroups: _columnGroups, stateStorageKey, initialState, onStateChange, flashRowKeys, flashDuration, autoFitColumns: _autoFitColumns, showColumnStats: _showColumnStats, rowIndicator, frozenRows: _frozenRows, className, style, accessMode, id, displayStyle, }: NiceDataGridProps<T>): default_2.JSX.Element | null;
10292
10370
 
10293
10371
  export declare namespace NiceDataGrid {
10294
10372
  var displayName: string;
@@ -10567,6 +10645,8 @@ export declare interface NiceDataMergeBuilderProps extends NiceBaseProps {
10567
10645
  onPreview?: (sourceId: string, targetId: string) => void;
10568
10646
  onMerge?: (config: MergeConfig) => void;
10569
10647
  onCancel?: () => void;
10648
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
10649
+ tutorial?: NiceComponentTutorial;
10570
10650
  }
10571
10651
 
10572
10652
  export declare const NiceDataSnapshot: default_2.FC<NiceDataSnapshotProps>;
@@ -10810,7 +10890,7 @@ export declare interface NiceDeviceControlCardProps extends NiceBaseProps {
10810
10890
  controlLayout?: ControlLayout;
10811
10891
  }
10812
10892
 
10813
- export declare function NiceDiagramDesigner({ initialSchema, onChange, onExport, className, style, }: NiceDiagramDesignerProps): JSX.Element;
10893
+ export declare function NiceDiagramDesigner({ initialSchema, onChange, onExport, className, style, tutorial, }: NiceDiagramDesignerProps): JSX.Element;
10814
10894
 
10815
10895
  export declare interface NiceDiagramDesignerProps {
10816
10896
  /** Initial diagram schema. Accepts the canonical {@link DiagramSchema} or a looser input where nodes only need `id/x/y/label` and edges may use `from`/`to` aliases. */
@@ -10847,6 +10927,8 @@ export declare interface NiceDiagramDesignerProps {
10847
10927
  className?: string;
10848
10928
  /** Style */
10849
10929
  style?: default_2.CSSProperties;
10930
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
10931
+ tutorial?: NiceComponentTutorial;
10850
10932
  }
10851
10933
 
10852
10934
  export { NiceDirection }
@@ -11010,7 +11092,7 @@ export declare interface NiceDocumentApprovalFlowProps extends NiceFormFieldProp
11010
11092
  locale?: string;
11011
11093
  }
11012
11094
 
11013
- export declare function NiceDocumentationViewer({ doc, component: _component, renderPreview: _renderPreview, defaultTab, sections, compact, enableCodeEdit, className, style, }: NiceDocumentationViewerProps): JSX_2.Element;
11095
+ export declare function NiceDocumentationViewer({ doc, component: _component, renderPreview: _renderPreview, defaultTab, sections, compact, enableCodeEdit, className, style, }: NiceDocumentationViewerProps): default_2.JSX.Element;
11014
11096
 
11015
11097
  export declare interface NiceDocumentationViewerProps {
11016
11098
  /** Component documentation data */
@@ -11105,6 +11187,8 @@ export declare interface NiceDocumentEditorProps extends NiceBaseProps {
11105
11187
  showToc?: boolean;
11106
11188
  /** Show find & replace bar (Ctrl+F). */
11107
11189
  showFindReplace?: boolean;
11190
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
11191
+ tutorial?: NiceComponentTutorial;
11108
11192
  }
11109
11193
 
11110
11194
  export declare interface NiceDocumentInfo {
@@ -11507,8 +11591,29 @@ export declare interface NiceEnergyChartProps extends NiceBaseProps {
11507
11591
  onDrillDown?: (bucket: string) => void;
11508
11592
  }
11509
11593
 
11594
+ /** Minimal entity field descriptor (OmniVerk `ModuleEntityField`-compatible). */
11595
+ export declare interface NiceEntityFieldLike {
11596
+ name: string;
11597
+ displayName?: string;
11598
+ dataType?: string;
11599
+ isRequired?: boolean;
11600
+ isPrimaryKey?: boolean;
11601
+ [k: string]: unknown;
11602
+ }
11603
+
11604
+ /** Minimal entity descriptor (OmniVerk `ModuleEntity`-compatible). */
11605
+ export declare interface NiceEntityLike {
11606
+ name?: string;
11607
+ displayName?: string;
11608
+ fields?: NiceEntityFieldLike[];
11609
+ [k: string]: unknown;
11610
+ }
11611
+
11510
11612
  export { NiceEntityMenuDto }
11511
11613
 
11614
+ /** View kinds this scaffolder supports. */
11615
+ export declare type NiceEntityViewKind = 'form' | 'detail' | 'grid';
11616
+
11512
11617
  export declare const NiceERPReportDesigner: default_2.FC<NiceERPReportDesignerProps>;
11513
11618
 
11514
11619
  export declare interface NiceERPReportDesignerProps extends NiceBaseProps {
@@ -11538,6 +11643,8 @@ export declare interface NiceERPReportDesignerProps extends NiceBaseProps {
11538
11643
  showDataPanel?: boolean;
11539
11644
  /** Show toolbar */
11540
11645
  showToolbar?: boolean;
11646
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
11647
+ tutorial?: NiceComponentTutorial;
11541
11648
  }
11542
11649
 
11543
11650
  /**
@@ -11550,7 +11657,7 @@ export declare class NiceErrorBoundary extends Component<NiceErrorBoundaryProps,
11550
11657
  static getDerivedStateFromError(error: Error): NiceErrorBoundaryState;
11551
11658
  componentDidCatch(error: Error, errorInfo: default_2.ErrorInfo): void;
11552
11659
  handleReset: () => void;
11553
- render(): string | number | boolean | Iterable<default_2.ReactNode> | JSX_2.Element | null | undefined;
11660
+ render(): string | number | boolean | Iterable<default_2.ReactNode> | default_2.JSX.Element | null | undefined;
11554
11661
  }
11555
11662
 
11556
11663
  /** Props for the {@link NiceErrorBoundary} component. */
@@ -12130,6 +12237,8 @@ export declare interface NiceFilterBuilderProps extends NiceBaseProps {
12130
12237
  presets?: NiceFilterPreset[];
12131
12238
  onSavePreset?: (preset: NiceFilterPreset) => void;
12132
12239
  onDeletePreset?: (name: string) => void;
12240
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
12241
+ tutorial?: NiceComponentTutorial;
12133
12242
  }
12134
12243
 
12135
12244
  export { NiceFilterCondition }
@@ -13041,6 +13150,22 @@ export declare interface NiceHighlightProps extends NiceStandardProps {
13041
13150
  caseSensitive?: boolean;
13042
13151
  }
13043
13152
 
13153
+ /** A single trigger → handler binding. */
13154
+ export declare interface NiceHookBinding {
13155
+ id: string;
13156
+ /** Id of the {@link NiceLifecycleTrigger} this binding fires on. */
13157
+ trigger: string;
13158
+ /** Id of the bound handler, or a free-form handler reference when no `handlers` list is given. */
13159
+ handler: string;
13160
+ /** Execution order within the trigger (lower runs first). */
13161
+ order: number;
13162
+ /** Whether the binding is active. */
13163
+ enabled: boolean;
13164
+ /** Optional condition expression gating execution. */
13165
+ condition?: string;
13166
+ description?: string;
13167
+ }
13168
+
13044
13169
  /** Configuration for the hot-swap manager. */
13045
13170
  export declare interface NiceHotSwapConfig {
13046
13171
  /** Module import resolver. */
@@ -13110,7 +13235,6 @@ declare interface NiceHtmlEditorAIRef {
13110
13235
  /** Available toolbar commands for the {@link NiceHtmlEditor}. */
13111
13236
  export declare type NiceHtmlEditorCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'h1' | 'h2' | 'h3' | 'ul' | 'ol' | 'link' | 'unlink' | 'undo' | 'redo' | 'clear' | 'table' | 'image' | 'code' | 'markdown' | 'blockquote' | 'hr' | 'fontSize' | 'fontColor' | 'bgColor' | 'subscript' | 'superscript' | 'indent' | 'outdent' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'fullscreen' | 'removeFormat' | 'print' | 'source' | 'emoji' | 'findReplace';
13112
13237
 
13113
- /** Props for the {@link NiceHtmlEditor} component � a WYSIWYG rich-text editor with toolbar, mentions, and image upload. */
13114
13238
  export declare interface NiceHtmlEditorProps extends NiceFormFieldProps {
13115
13239
  value: string;
13116
13240
  onChange: (html: string) => void;
@@ -13142,6 +13266,8 @@ export declare interface NiceHtmlEditorProps extends NiceFormFieldProps {
13142
13266
  label: string;
13143
13267
  html: string;
13144
13268
  }[];
13269
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
13270
+ tutorial?: NiceComponentTutorial;
13145
13271
  }
13146
13272
 
13147
13273
  declare interface NiceHTMLOptions extends NiceExportOptions {
@@ -13289,6 +13415,8 @@ export declare interface NiceImageEditorProps extends NiceBaseProps {
13289
13415
  onChange?: (state: NiceImageEditorState) => void;
13290
13416
  width?: number | string;
13291
13417
  height?: number | string;
13418
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
13419
+ tutorial?: NiceComponentTutorial;
13292
13420
  }
13293
13421
 
13294
13422
  export declare interface NiceImageEditorState {
@@ -13571,6 +13699,8 @@ export declare interface NiceInvoiceLineEditorProps extends NiceFormFieldProps {
13571
13699
  maxLines?: number;
13572
13700
  /** Fires with computed totals whenever lines change. */
13573
13701
  onTotalsChange?: (totals: InvoiceTotals) => void;
13702
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
13703
+ tutorial?: NiceComponentTutorial;
13574
13704
  }
13575
13705
 
13576
13706
  declare interface NiceJSONOptions extends NiceExportOptions {
@@ -13632,6 +13762,8 @@ export declare interface NiceKanbanBoardProps extends NiceBaseProps, TracelessSt
13632
13762
  onCardCreate?: (newCard: NiceKanbanCard) => void;
13633
13763
  /** Called when the user requests deletion from the popup form. */
13634
13764
  onCardDelete?: (cardKey: string | number) => void;
13765
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
13766
+ tutorial?: NiceComponentTutorial;
13635
13767
  }
13636
13768
 
13637
13769
  /** A card on the {@link NiceKanbanBoard}. */
@@ -13684,6 +13816,51 @@ export { NiceKeyboardHint }
13684
13816
 
13685
13817
  export { NiceKeyboardHintProps }
13686
13818
 
13819
+ export declare const NiceKeyValueEditor: ForwardRefExoticComponent<NiceKeyValueEditorProps & RefAttributes<HTMLDivElement>>;
13820
+
13821
+ export declare interface NiceKeyValueEditorProps extends NiceBaseProps {
13822
+ /** Current rows (controlled). */
13823
+ value: NiceKeyValuePair[];
13824
+ /** Change callback with the full updated array. */
13825
+ onChange: (pairs: NiceKeyValuePair[]) => void;
13826
+ /** Allow toggling a row's value between text and secret (adds a lock toggle). */
13827
+ allowSecret?: boolean;
13828
+ /** Show a per-row enable/disable checkbox. */
13829
+ allowToggle?: boolean;
13830
+ /** Show a per-row description input. */
13831
+ allowDescription?: boolean;
13832
+ /** Suggested keys (rendered via a shared `<datalist>`). */
13833
+ keySuggestions?: string[];
13834
+ /** Placeholder for the key input. Default `'Key'`. */
13835
+ keyPlaceholder?: string;
13836
+ /** Placeholder for the value input. Default `'Value'`. */
13837
+ valuePlaceholder?: string;
13838
+ /** Label for the add-row button. Default `'Add'`. */
13839
+ addLabel?: string;
13840
+ /** Render read-only (no editing, no add/remove). */
13841
+ readOnly?: boolean;
13842
+ /** Highlight duplicate keys. Default `true`. */
13843
+ duplicateKeyWarning?: boolean;
13844
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
13845
+ tutorial?: NiceComponentTutorial;
13846
+ }
13847
+
13848
+ /** A single key/value row. */
13849
+ export declare interface NiceKeyValuePair {
13850
+ /** Stable id (used as React key when present). */
13851
+ id?: string;
13852
+ /** The key/name. */
13853
+ key: string;
13854
+ /** The value. */
13855
+ value: string;
13856
+ /** `'secret'` renders the value masked with a reveal toggle. Default `'text'`. */
13857
+ type?: 'text' | 'secret';
13858
+ /** Whether the row is active. Only meaningful when `allowToggle` is set. */
13859
+ enabled?: boolean;
13860
+ /** Optional description / note. Only shown when `allowDescription` is set. */
13861
+ description?: string;
13862
+ }
13863
+
13687
13864
  export declare const NiceKioskShell: ForwardRefExoticComponent<NiceKioskShellProps & RefAttributes<HTMLDivElement>>;
13688
13865
 
13689
13866
  export declare interface NiceKioskShellProps extends NiceBaseProps {
@@ -13853,6 +14030,47 @@ export declare interface NiceLeaderboardProps {
13853
14030
  id?: string;
13854
14031
  }
13855
14032
 
14033
+ /** A handler that can be bound to a trigger (e.g. a script). */
14034
+ export declare interface NiceLifecycleHandlerOption {
14035
+ id: string;
14036
+ label: string;
14037
+ description?: string;
14038
+ }
14039
+
14040
+ export declare const NiceLifecycleHooksEditor: ForwardRefExoticComponent<NiceLifecycleHooksEditorProps & RefAttributes<HTMLDivElement>>;
14041
+
14042
+ export declare interface NiceLifecycleHooksEditorProps extends NiceBaseProps {
14043
+ /** Available triggers. */
14044
+ triggers: NiceLifecycleTrigger[];
14045
+ /** Current bindings (controlled). */
14046
+ bindings: NiceHookBinding[];
14047
+ /** Available handlers. When omitted, the handler field is a free-text input. */
14048
+ handlers?: NiceLifecycleHandlerOption[];
14049
+ /** Change callback with the full updated bindings array. */
14050
+ onChange: (bindings: NiceHookBinding[]) => void;
14051
+ /** Show up/down controls to reorder bindings within a trigger. Default `true`. */
14052
+ allowReorder?: boolean;
14053
+ /** Show a condition input per binding. Default `false`. */
14054
+ allowCondition?: boolean;
14055
+ /** Group triggers by their `group` field. Default `false`. */
14056
+ groupByTrigger?: boolean;
14057
+ /** Render read-only. */
14058
+ readOnly?: boolean;
14059
+ /** Custom handler picker (overrides the default select / text input). */
14060
+ renderHandlerPicker?: (binding: NiceHookBinding, set: (patch: Partial<NiceHookBinding>) => void) => React.ReactNode;
14061
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
14062
+ tutorial?: NiceComponentTutorial;
14063
+ }
14064
+
14065
+ /** A trigger that handlers can be bound to (e.g. `EntityCreated:Article`). */
14066
+ export declare interface NiceLifecycleTrigger {
14067
+ id: string;
14068
+ label: string;
14069
+ /** Optional grouping key (shown as a section header when `groupByTrigger`). */
14070
+ group?: string;
14071
+ description?: string;
14072
+ }
14073
+
13856
14074
  /**
13857
14075
  * Modal image viewer. Renders a full-screen overlay with prev/next
13858
14076
  * navigation, optional zoom + download buttons, and a counter.
@@ -14145,7 +14363,7 @@ export declare const NiceLiveDataGrid: <T extends LiveGridRow = LiveGridRow>(pro
14145
14363
  ref?: default_2.ForwardedRef<NiceLiveDataGridRef<T>>;
14146
14364
  }) => ReturnType<typeof NiceLiveDataGridInner>;
14147
14365
 
14148
- declare function NiceLiveDataGridInner<T extends LiveGridRow = LiveGridRow>({ columns, data: initialData, dataSource, rowKey, showConnectionStatus, highlightDuration, updateAnimation, maxRows, selectable, selectedIds, onSelectionChange, onRowClick, onUpdate, onConnectionStatusChange, emptyContent, loadingContent, sortable, sortField, sortDirection, onSortChange, virtualized: _virtualized, rowHeight, height, className, style, }: NiceLiveDataGridProps<T>, ref: default_2.ForwardedRef<NiceLiveDataGridRef<T>>): JSX_2.Element;
14366
+ declare function NiceLiveDataGridInner<T extends LiveGridRow = LiveGridRow>({ columns, data: initialData, dataSource, rowKey, showConnectionStatus, highlightDuration, updateAnimation, maxRows, selectable, selectedIds, onSelectionChange, onRowClick, onUpdate, onConnectionStatusChange, emptyContent, loadingContent, sortable, sortField, sortDirection, onSortChange, virtualized: _virtualized, rowHeight, height, className, style, }: NiceLiveDataGridProps<T>, ref: default_2.ForwardedRef<NiceLiveDataGridRef<T>>): default_2.JSX.Element;
14149
14367
 
14150
14368
  /** Props for NiceLiveDataGrid */
14151
14369
  export declare interface NiceLiveDataGridProps<T extends LiveGridRow = LiveGridRow> extends NiceBaseProps {
@@ -14384,6 +14602,45 @@ export declare interface NiceLockButtonProps extends NiceBaseProps {
14384
14602
  label?: string;
14385
14603
  }
14386
14604
 
14605
+ export declare const NiceLogConsole: ForwardRefExoticComponent<NiceLogConsoleProps & RefAttributes<HTMLDivElement>>;
14606
+
14607
+ export declare interface NiceLogConsoleProps extends NiceBaseProps {
14608
+ /** Entries to render, oldest → newest. */
14609
+ entries: NiceLogEntry[];
14610
+ /** Max height before the body scrolls. Number → px. Default `240`. */
14611
+ maxHeight?: number | string;
14612
+ /** Auto-scroll to the newest entry when `entries` grows. Default `true`. */
14613
+ autoScroll?: boolean;
14614
+ /** Show a per-entry timestamp gutter. Default `true`. */
14615
+ showTimestamps?: boolean;
14616
+ /** When set, only entries whose level is included are rendered. */
14617
+ levelFilter?: NiceLogLevel[];
14618
+ /** When provided, a "Clear" button is shown in the header. */
14619
+ onClear?: () => void;
14620
+ /** Header title. When omitted (and no `onClear`) the header is hidden. */
14621
+ title?: string;
14622
+ /** Content shown when there are no (visible) entries. Default `'No output'`. */
14623
+ emptyText?: React.ReactNode;
14624
+ /** Label for the clear button. Default `'Clear'`. */
14625
+ clearLabel?: string;
14626
+ /** Monospace font family override. */
14627
+ fontFamily?: string;
14628
+ }
14629
+
14630
+ /** A single line emitted to the console. */
14631
+ export declare interface NiceLogEntry {
14632
+ /** Severity — drives colour and optional filtering. Defaults to `'log'`. */
14633
+ level?: NiceLogLevel;
14634
+ /** Human-readable message. */
14635
+ message: string;
14636
+ /** When the entry was produced. Epoch ms or `Date`. */
14637
+ timestamp?: number | Date;
14638
+ /** Optional structured payload appended (pretty-printed JSON) below the message. */
14639
+ data?: unknown;
14640
+ /** Optional source/tag shown as a dim prefix (e.g. a script or provider id). */
14641
+ source?: string;
14642
+ }
14643
+
14387
14644
  export declare const NiceLoginForm: ForwardRefExoticComponent<NiceLoginFormProps & RefAttributes<HTMLFormElement>>;
14388
14645
 
14389
14646
  /** Props for the {@link NiceLoginForm} component — a pre-built login form with username, password, remember-me, and social links. */
@@ -14426,6 +14683,9 @@ export declare interface NiceLoginFormProps extends NiceStandardProps {
14426
14683
  passwordPlaceholder?: string;
14427
14684
  }
14428
14685
 
14686
+ /** Severity of a single console entry. */
14687
+ export declare type NiceLogLevel = 'log' | 'info' | 'warn' | 'error' | 'debug';
14688
+
14429
14689
  export declare const NiceLogo: default_2.ForwardRefExoticComponent<NiceLogoProps & default_2.RefAttributes<HTMLElement>>;
14430
14690
 
14431
14691
  export declare interface NiceLogoProps {
@@ -14544,9 +14804,11 @@ export declare interface NiceLowCodeStudioProps {
14544
14804
  onSave?: (design: DesignState) => void;
14545
14805
  /** Additional class name */
14546
14806
  className?: string;
14807
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
14808
+ tutorial?: NiceComponentTutorial;
14547
14809
  }
14548
14810
 
14549
- export declare function NiceMAM({ assets: initialAssets, folders: initialFolders, collections: initialCollections, people: initialPeople, currentUser, uploadEndpoint: _uploadEndpoint, enableAITagging, enableFaceRecognition, maxUploadSize: _maxUploadSize, allowedTypes: _allowedTypes, onUpload: _onUpload, onDelete, onAnalyze, onDetectFaces, onSelectionChange: _onSelectionChange, onPreview, renderAssetCard, className, style, children, ...baseProps }: NiceMAMProps): JSX_2.Element;
14811
+ export declare function NiceMAM({ assets: initialAssets, folders: initialFolders, collections: initialCollections, people: initialPeople, currentUser, uploadEndpoint: _uploadEndpoint, enableAITagging, enableFaceRecognition, maxUploadSize: _maxUploadSize, allowedTypes: _allowedTypes, onUpload: _onUpload, onDelete, onAnalyze, onDetectFaces, onSelectionChange: _onSelectionChange, onPreview, renderAssetCard, className, style, children, ...baseProps }: NiceMAMProps): default_2.JSX.Element;
14550
14812
 
14551
14813
  export declare interface NiceMAMProps extends NiceBaseProps {
14552
14814
  /** Initial assets */
@@ -14701,6 +14963,8 @@ export declare interface NiceMarkdownEditorProps extends NiceBaseProps {
14701
14963
  showLineNumbers?: boolean;
14702
14964
  onExportHtml?: (html: string) => void;
14703
14965
  onImageUpload?: (file: File) => Promise<string>;
14966
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
14967
+ tutorial?: NiceComponentTutorial;
14704
14968
  }
14705
14969
 
14706
14970
  export declare type NiceMarkdownPreviewMode = 'side' | 'tab' | 'none';
@@ -15056,6 +15320,8 @@ export declare interface NiceMergeRequestBuilderProps extends NiceBaseProps {
15056
15320
  onCancel?: () => void;
15057
15321
  onBranchChange?: (source: string, target: string) => void;
15058
15322
  onPreview?: (data: MergeRequestData) => void;
15323
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
15324
+ tutorial?: NiceComponentTutorial;
15059
15325
  }
15060
15326
 
15061
15327
  export declare const NiceModal: default_2.FC<NiceModalProps>;
@@ -16405,6 +16671,8 @@ export declare interface NicePageBuilderProps {
16405
16671
  previewMode?: 'desktop' | 'tablet' | 'mobile';
16406
16672
  /** Additional class name */
16407
16673
  className?: string;
16674
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
16675
+ tutorial?: NiceComponentTutorial;
16408
16676
  }
16409
16677
 
16410
16678
  /**
@@ -16576,6 +16844,8 @@ export declare interface NicePDFAnnotationEditorProps extends NiceFormFieldProps
16576
16844
  onAnnotationClick?: (annotation: PDFAnnotation) => void;
16577
16845
  /** Fires when an annotation is deleted. */
16578
16846
  onAnnotationDelete?: (id: string) => void;
16847
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
16848
+ tutorial?: NiceComponentTutorial;
16579
16849
  }
16580
16850
 
16581
16851
  declare interface NicePDFOptions extends NiceExportOptions {
@@ -16850,6 +17120,8 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
16850
17120
  onSave: () => void;
16851
17121
  onRun: () => void;
16852
17122
  onValidate: () => void;
17123
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
17124
+ tutorial?: NiceComponentTutorial;
16853
17125
  }
16854
17126
 
16855
17127
  export declare const NicePipelineMonitor: default_2.FC<NicePipelineMonitorProps>;
@@ -17823,6 +18095,8 @@ export declare interface NiceRecipeEditorProps extends NiceBaseProps {
17823
18095
  saveLabel?: string;
17824
18096
  /** Custom Cancel button label. */
17825
18097
  cancelLabel?: string;
18098
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
18099
+ tutorial?: NiceComponentTutorial;
17826
18100
  }
17827
18101
 
17828
18102
  /**
@@ -18095,6 +18369,8 @@ export declare interface NiceResolvedPermissions {
18095
18369
  denied: Map<string, Set<RbacAction>>;
18096
18370
  }
18097
18371
 
18372
+ export { NiceResolvedTutorialStep }
18373
+
18098
18374
  export declare const NiceResourceAllocation: default_2.ForwardRefExoticComponent<NiceResourceAllocationProps & default_2.RefAttributes<NiceResourceAllocationRef>>;
18099
18375
 
18100
18376
  export declare interface NiceResourceAllocationProps extends NiceBaseProps {
@@ -18248,6 +18524,48 @@ export declare interface NiceRetryPanelProps extends NiceStandardProps {
18248
18524
  icon?: default_2.ReactNode;
18249
18525
  }
18250
18526
 
18527
+ /** A single revision/version entry. */
18528
+ export declare interface NiceRevision {
18529
+ id: string;
18530
+ /** Short label (e.g. "v12" or a commit subject). */
18531
+ label?: string;
18532
+ author?: string;
18533
+ /** When the revision was created. Epoch ms or `Date`. */
18534
+ timestamp: number | Date;
18535
+ /** Inline content. When omitted, `loadContent` is used for diffing. */
18536
+ content?: string;
18537
+ /** Longer description / change summary. */
18538
+ summary?: string;
18539
+ tags?: string[];
18540
+ }
18541
+
18542
+ export declare const NiceRevisionHistory: ForwardRefExoticComponent<NiceRevisionHistoryProps & RefAttributes<HTMLDivElement>>;
18543
+
18544
+ export declare interface NiceRevisionHistoryProps extends NiceBaseProps {
18545
+ /** Revisions, newest first (rendered in given order). */
18546
+ revisions: NiceRevision[];
18547
+ /** Language for diff syntax highlighting. Default `'plaintext'`. */
18548
+ language?: NiceCodeLanguage;
18549
+ /** Selected (modified / right side) revision id. Uncontrolled when omitted. */
18550
+ selectedId?: string;
18551
+ /** Compare-against (original / left side) revision id. Uncontrolled when omitted. */
18552
+ compareWithId?: string;
18553
+ /** Called when the selected revision changes. */
18554
+ onSelect?: (id: string) => void;
18555
+ /** Called when the compare pair changes. */
18556
+ onCompare?: (compareWithId: string, selectedId: string) => void;
18557
+ /** Called when the user rolls back to a revision. */
18558
+ onRollback?: (id: string) => void;
18559
+ /** Lazily resolve a revision's content (when not provided inline). */
18560
+ loadContent?: (id: string) => Promise<string>;
18561
+ /** Render the side-by-side diff pane. Default `true`. */
18562
+ showDiff?: boolean;
18563
+ /** Rollback button label. Default `'Restore'`. */
18564
+ rollbackLabel?: string;
18565
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
18566
+ tutorial?: NiceComponentTutorial;
18567
+ }
18568
+
18251
18569
  /**
18252
18570
  * Decorative corner ribbon that hangs from the top of its wrapped
18253
18571
  * element. Positioning is relative to a `position: relative` shim
@@ -18512,6 +18830,8 @@ export declare interface NiceSceneActionBuilderProps extends NiceBaseProps {
18512
18830
  availableRooms?: SmartRoomDto[];
18513
18831
  showPreview?: boolean;
18514
18832
  maxActions?: number;
18833
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
18834
+ tutorial?: NiceComponentTutorial;
18515
18835
  }
18516
18836
 
18517
18837
  export declare const NiceSceneBar: default_2.FC<NiceSceneBarProps>;
@@ -18700,6 +19020,64 @@ export declare interface NiceSchedulerServiceData {
18700
19020
  /** Available calendar views for the {@link NiceScheduler}. */
18701
19021
  export declare type NiceSchedulerView = 'day' | 'week' | 'workWeek' | 'month' | 'dayRange' | 'monthRange' | 'agenda' | 'timeline';
18702
19022
 
19023
+ export declare const NiceScriptRunner: ForwardRefExoticComponent<NiceScriptRunnerProps & RefAttributes<HTMLDivElement>>;
19024
+
19025
+ export declare interface NiceScriptRunnerProps extends NiceBaseProps {
19026
+ /** Script source (controlled). */
19027
+ value: string;
19028
+ /** Script change callback. */
19029
+ onChange?: (value: string) => void;
19030
+ /** Editor language. Default `'javascript'`. */
19031
+ language?: NiceCodeLanguage;
19032
+ /**
19033
+ * Executes the script. Receives the current code and parsed input.
19034
+ * Return (or resolve) a {@link NiceScriptRunResult}. Throwing is also supported —
19035
+ * the error is surfaced in the result pane.
19036
+ */
19037
+ onRun: (code: string, input: unknown) => Promise<NiceScriptRunResult> | NiceScriptRunResult;
19038
+ /** Sample input (entity/payload). Edited as JSON; parsed before `onRun`. */
19039
+ input?: unknown;
19040
+ /** Called with the parsed input when the input editor changes. */
19041
+ onInputChange?: (input: unknown) => void;
19042
+ /** Show the input editor. Defaults to `true` when `input` is provided. */
19043
+ showInputPanel?: boolean;
19044
+ /** Declaration libs forwarded to the code editor for IntelliSense (e.g. `ctx.d.ts`). */
19045
+ extraLibs?: Array<{
19046
+ content: string;
19047
+ filePath?: string;
19048
+ }>;
19049
+ /** Editor height. Number → px. Default `260`. */
19050
+ height?: number | string;
19051
+ /** Externally-controlled running state. When omitted, the component manages its own. */
19052
+ running?: boolean;
19053
+ /** Debounced auto-run on code/input change. Default `false`. */
19054
+ autoRun?: boolean;
19055
+ /** Debounce for `autoRun`, ms. Default `600`. */
19056
+ autoRunDelay?: number;
19057
+ /** Panel arrangement. Default `'vertical'` (editor on top, output below). */
19058
+ layout?: 'horizontal' | 'vertical';
19059
+ /** Run button label. Default `'Run'`. */
19060
+ runLabel?: string;
19061
+ /** Editor theme. Default `'auto'`. */
19062
+ theme?: 'auto' | 'light' | 'dark' | 'vs' | 'vs-dark';
19063
+ /** Optional guided tour. `true` = built-in; array/object = custom steps. Shows a "?" button. */
19064
+ tutorial?: NiceComponentTutorial;
19065
+ }
19066
+
19067
+ /** Outcome of a single script run, returned by {@link NiceScriptRunnerProps.onRun}. */
19068
+ export declare interface NiceScriptRunResult {
19069
+ /** Whether the run succeeded. */
19070
+ ok: boolean;
19071
+ /** Returned value (pretty-printed in the result pane). */
19072
+ result?: unknown;
19073
+ /** Log lines captured during the run. */
19074
+ logs?: NiceLogEntry[];
19075
+ /** Error message when `ok` is false. */
19076
+ error?: string;
19077
+ /** Wall-clock duration in milliseconds (shown in the status bar). */
19078
+ durationMs?: number;
19079
+ }
19080
+
18703
19081
  export declare const NiceScrollView: default_2.FC<NiceScrollViewProps>;
18704
19082
 
18705
19083
  /** Props for the {@link NiceScrollView} component — a styled scrollable container with configurable scrollbar visibility. */
@@ -18889,7 +19267,7 @@ export declare interface NiceSectionProps extends NiceStandardProps {
18889
19267
  * - `NiceToolbar` — long horizontal strip with separators / spacers /
18890
19268
  * custom widgets, typically above content.
18891
19269
  */
18892
- export declare function NiceSegmentedControl<T = string>({ options, value: controlledValue, defaultValue, onChange, size, block, disabled, className, style, 'data-testid': testId, }: NiceSegmentedControlProps<T>): JSX_2.Element;
19270
+ export declare function NiceSegmentedControl<T = string>({ options, value: controlledValue, defaultValue, onChange, size, block, disabled, className, style, 'data-testid': testId, }: NiceSegmentedControlProps<T>): default_2.JSX.Element;
18893
19271
 
18894
19272
  export declare namespace NiceSegmentedControl {
18895
19273
  var displayName: string;
@@ -19451,7 +19829,7 @@ export declare interface NiceSliderProps extends Omit<NiceFormFieldProps, 'label
19451
19829
  showTickLabels?: boolean;
19452
19830
  }
19453
19831
 
19454
- export declare function NiceSortable<T extends Record<string, unknown>>({ items, keyField, onReorder, renderItem, direction, handle, group: _group, disabled, className, style, }: NiceSortableProps<T>): JSX_2.Element;
19832
+ export declare function NiceSortable<T extends Record<string, unknown>>({ items, keyField, onReorder, renderItem, direction, handle, group: _group, disabled, className, style, }: NiceSortableProps<T>): default_2.JSX.Element;
19455
19833
 
19456
19834
  export declare namespace NiceSortable {
19457
19835
  var displayName: string;
@@ -19811,6 +20189,8 @@ export declare interface NiceStateDesignerProps extends NiceBaseProps {
19811
20189
  onStoreChange?: (store: StoreDefinition) => void;
19812
20190
  onExport?: (code: string, format: ExportFormat_2) => void;
19813
20191
  onSave?: (store: StoreDefinition) => void;
20192
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
20193
+ tutorial?: NiceComponentTutorial;
19814
20194
  }
19815
20195
 
19816
20196
  export { NiceStateIO }
@@ -19982,7 +20362,7 @@ export declare interface NiceStoryMeta {
19982
20362
  parameters?: Record<string, unknown>;
19983
20363
  }
19984
20364
 
19985
- export declare function NiceStreamDashboard({ platforms: initialPlatforms, scenes: initialScenes, config: initialConfig, enableWebRTC: _enableWebRTC, rtmpServerUrl: _rtmpServerUrl, maxChatMessages: _maxChatMessages, autoRecord, recordingPath: _recordingPath, onStreamStart, onStreamStop, onChatMessage: _onChatMessage, onAlert, onAnalyticsUpdate: _onAnalyticsUpdate, onVODCreated, renderPreview, renderChatMessage, className, style, children, ...baseProps }: NiceStreamDashboardProps): JSX_2.Element;
20365
+ export declare function NiceStreamDashboard({ platforms: initialPlatforms, scenes: initialScenes, config: initialConfig, enableWebRTC: _enableWebRTC, rtmpServerUrl: _rtmpServerUrl, maxChatMessages: _maxChatMessages, autoRecord, recordingPath: _recordingPath, onStreamStart, onStreamStop, onChatMessage: _onChatMessage, onAlert, onAnalyticsUpdate: _onAnalyticsUpdate, onVODCreated, renderPreview, renderChatMessage, className, style, children, ...baseProps }: NiceStreamDashboardProps): default_2.JSX.Element;
19986
20366
 
19987
20367
  export declare interface NiceStreamDashboardProps extends NiceBaseProps {
19988
20368
  /** Initial platform connections */
@@ -20225,7 +20605,7 @@ export declare interface NiceTabItem {
20225
20605
  content?: default_2.ReactNode;
20226
20606
  }
20227
20607
 
20228
- export declare function NiceTable<T extends Record<string, any>>({ columns, data, striped, compact, emptyText, className, style, accessMode, id, displayStyle, }: NiceTableProps<T>): JSX_2.Element | null;
20608
+ export declare function NiceTable<T extends Record<string, any>>({ columns, data, striped, compact, emptyText, className, style, accessMode, id, displayStyle, }: NiceTableProps<T>): default_2.JSX.Element | null;
20229
20609
 
20230
20610
  /** Column definition for the {@link NiceTable} component. */
20231
20611
  export declare interface NiceTableColumn<T = any> {
@@ -20557,6 +20937,8 @@ export declare interface NiceTestBuilderProps extends NiceBaseProps {
20557
20937
  onExport?: (code: string) => void;
20558
20938
  onRun?: (suiteId: string) => void;
20559
20939
  onRunAll?: () => void;
20940
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
20941
+ tutorial?: NiceComponentTutorial;
20560
20942
  }
20561
20943
 
20562
20944
  export { NiceTestWrapper }
@@ -20651,6 +21033,8 @@ export declare interface NiceThemeBuilderProps extends NiceBaseProps {
20651
21033
  showPreview?: boolean;
20652
21034
  /** Layout placement of the preview pane (default: 'right') */
20653
21035
  previewPlacement?: 'right' | 'bottom';
21036
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
21037
+ tutorial?: NiceComponentTutorial;
20654
21038
  }
20655
21039
 
20656
21040
  /** Editable sections in the {@link NiceThemeBuilder}. */
@@ -20918,7 +21302,7 @@ export { NiceThemeVariantProvider }
20918
21302
 
20919
21303
  export { NiceThemeVariantProviderProps }
20920
21304
 
20921
- export declare function NiceTileView<T extends NiceTileViewItem>({ items, tileWidth, tileHeight, direction, renderTile, onTileClick, loading, emptyText, className, style, }: NiceTileViewProps<T>): JSX_2.Element;
21305
+ export declare function NiceTileView<T extends NiceTileViewItem>({ items, tileWidth, tileHeight, direction, renderTile, onTileClick, loading, emptyText, className, style, }: NiceTileViewProps<T>): default_2.JSX.Element;
20922
21306
 
20923
21307
  /** A tile item displayed by the {@link NiceTileView} component. */
20924
21308
  declare interface NiceTileViewItem {
@@ -21489,7 +21873,7 @@ export declare interface NiceTopologyData {
21489
21873
 
21490
21874
  export { NiceTouchTarget }
21491
21875
 
21492
- export declare function NiceTranscoder({ jobs: initialJobs, profiles: initialProfiles, presets: customPresets, maxConcurrent, autoStart, defaultOutputDir, showThumbnails, enableDragDrop, onJobStatusChange, onJobComplete: _onJobComplete, onJobError: _onJobError, onProgress: _onProgress, renderJobItem, className, style, children, ...baseProps }: NiceTranscoderProps): JSX_2.Element;
21876
+ export declare function NiceTranscoder({ jobs: initialJobs, profiles: initialProfiles, presets: customPresets, maxConcurrent, autoStart, defaultOutputDir, showThumbnails, enableDragDrop, onJobStatusChange, onJobComplete: _onJobComplete, onJobError: _onJobError, onProgress: _onProgress, renderJobItem, className, style, children, ...baseProps }: NiceTranscoderProps): default_2.JSX.Element;
21493
21877
 
21494
21878
  export declare interface NiceTranscoderProps extends NiceBaseProps {
21495
21879
  /** Initial jobs */
@@ -21537,7 +21921,7 @@ export declare interface NiceTreeContextMenuItem {
21537
21921
  disabled?: boolean;
21538
21922
  }
21539
21923
 
21540
- export declare function NiceTreeGrid<T extends NiceTreeGridNode>({ columns, data, keyField, parentKeyField, nested, childrenField, expandedKeys: controlledExpanded, onExpandedChange, defaultExpandAll, sortable, sortField: controlledSortField, sortDirection: controlledSortDir, onSort, selectable, selectedKeys: controlledSelected, onSelectionChange, searchable, searchPlaceholder, striped, compact, loading, emptyText, toolbar, onRowClick, className, style, }: NiceTreeGridProps<T>): JSX_2.Element;
21924
+ export declare function NiceTreeGrid<T extends NiceTreeGridNode>({ columns, data, keyField, parentKeyField, nested, childrenField, expandedKeys: controlledExpanded, onExpandedChange, defaultExpandAll, sortable, sortField: controlledSortField, sortDirection: controlledSortDir, onSort, selectable, selectedKeys: controlledSelected, onSelectionChange, searchable, searchPlaceholder, striped, compact, loading, emptyText, toolbar, onRowClick, className, style, }: NiceTreeGridProps<T>): default_2.JSX.Element;
21541
21925
 
21542
21926
  /** A row node in the {@link NiceTreeGrid} (supports index-signature for dynamic fields). */
21543
21927
  export declare interface NiceTreeGridNode {
@@ -21596,7 +21980,7 @@ export declare interface NiceTreeGridProps<T extends NiceTreeGridNode = NiceTree
21596
21980
  onRowClick?: (row: T) => void;
21597
21981
  }
21598
21982
 
21599
- export declare function NiceTreeList<T extends NiceTreeListNode>({ columns, data, keyField, parentKeyField, expandedKeys: controlledExpanded, onExpandedChange, selectedKeys, onSelectionChange, selectable, loading, emptyText, className, style, accessMode, id, }: NiceTreeListProps<T>): JSX_2.Element | null;
21983
+ export declare function NiceTreeList<T extends NiceTreeListNode>({ columns, data, keyField, parentKeyField, expandedKeys: controlledExpanded, onExpandedChange, selectedKeys, onSelectionChange, selectable, loading, emptyText, className, style, accessMode, id, }: NiceTreeListProps<T>): default_2.JSX.Element | null;
21600
21984
 
21601
21985
  /** A tree-list node for the {@link NiceTreeList} component. */
21602
21986
  export declare interface NiceTreeListNode {
@@ -21836,6 +22220,22 @@ export declare interface NiceTruncateProps extends NiceStandardProps {
21836
22220
 
21837
22221
  export declare const NiceTutorial: default_2.FC<NiceTutorialProps>;
21838
22222
 
22223
+ export { NiceTutorialButton }
22224
+
22225
+ export { NiceTutorialButtonProps }
22226
+
22227
+ export declare const NiceTutorialHost: default_2.FC<NiceTutorialHostProps>;
22228
+
22229
+ export declare interface NiceTutorialHostProps {
22230
+ /** Global enable flag (default `true`). Set `false` to hide every "?" button. */
22231
+ enabled?: boolean;
22232
+ /** Override NiceTutorial control labels (merged over the i18n defaults). */
22233
+ labels?: NiceTutorialProps['labels'];
22234
+ /** Extra props forwarded to the underlying NiceTutorial (autoplay, placement…). */
22235
+ tutorialProps?: Omit<NiceTutorialProps, 'steps' | 'active' | 'onFinish' | 'onSkip' | 'labels'>;
22236
+ children: default_2.ReactNode;
22237
+ }
22238
+
21839
22239
  /** Props for the {@link NiceTutorial} component — a guided walkthrough overlay with step-by-step highlighting. */
21840
22240
  export declare interface NiceTutorialProps {
21841
22241
  /** Array of ordered tutorial steps */
@@ -21863,6 +22263,14 @@ export declare interface NiceTutorialProps {
21863
22263
  finish?: string;
21864
22264
  skip?: string;
21865
22265
  stepOf?: string;
22266
+ /** Play autoplay button (default "Play"). */
22267
+ play?: string;
22268
+ /** Pause autoplay button (default "Pause"). */
22269
+ pause?: string;
22270
+ /** Aria-label for the speed slider (default "Speed"). */
22271
+ speed?: string;
22272
+ /** Aria-label / tooltip for the tooltip close icon (default "Close"). */
22273
+ close?: string;
21866
22274
  };
21867
22275
  /** Animation duration in ms (default 300) */
21868
22276
  animationDuration?: number;
@@ -21870,6 +22278,36 @@ export declare interface NiceTutorialProps {
21870
22278
  overlayOpacity?: number;
21871
22279
  /** Z-index for the overlay (default 10000) */
21872
22280
  zIndex?: number;
22281
+ /**
22282
+ * Where the control buttons (skip / prev / next / play) sit.
22283
+ * - `'floating-bottom'` (default): fixed strip at bottom-center of the
22284
+ * viewport. The buttons never move between steps and never overlap with
22285
+ * the tooltip body.
22286
+ * - `'inline'`: inside the tooltip footer (legacy behaviour — buttons
22287
+ * re-position with each step).
22288
+ */
22289
+ buttonsPlacement?: 'floating-bottom' | 'inline';
22290
+ /**
22291
+ * How control buttons render.
22292
+ * - `'icon'` (default): round icon-only buttons.
22293
+ * - `'icon-text'`: icon with the label next to it.
22294
+ * - `'text'`: text label only (legacy).
22295
+ */
22296
+ buttonsDisplay?: 'icon' | 'icon-text' | 'text';
22297
+ /**
22298
+ * Show the PLAY/PAUSE button + progress bar + speed slider. Default `true`.
22299
+ * Disable to hide all autoplay controls.
22300
+ */
22301
+ showAutoplay?: boolean;
22302
+ /** Initial autoplay interval in ms-per-step. Default `5000`. */
22303
+ autoplayInterval?: number;
22304
+ /** Min/max range for the speed slider in ms-per-step. Defaults `{ min: 2000, max: 15000 }`. */
22305
+ autoplaySpeedRange?: {
22306
+ min: number;
22307
+ max: number;
22308
+ };
22309
+ /** Called whenever autoplay state changes. */
22310
+ onAutoplayChange?: (playing: boolean) => void;
21873
22311
  }
21874
22312
 
21875
22313
  export declare const NiceTutorialProvider: default_2.FC<NiceTutorialProviderProps>;
@@ -21880,6 +22318,10 @@ export declare interface NiceTutorialProviderProps {
21880
22318
  children: default_2.ReactNode;
21881
22319
  }
21882
22320
 
22321
+ export { NiceTutorialsContextValue }
22322
+
22323
+ export { NiceTutorialsProvider }
22324
+
21883
22325
  /** A single step in a {@link NiceTutorial} flow. */
21884
22326
  export declare interface NiceTutorialStep {
21885
22327
  /** CSS selector or ref-based query to find the target element */
@@ -21910,6 +22352,8 @@ export declare interface NiceTutorialStep {
21910
22352
  disableInteraction?: boolean;
21911
22353
  }
21912
22354
 
22355
+ export { NiceTutorialStepDef }
22356
+
21913
22357
  /** Single type mapping entry. */
21914
22358
  export declare interface NiceTypeMappingEntry {
21915
22359
  /** Universal control type key (used in JSON schema). */
@@ -22263,7 +22707,7 @@ export declare interface NiceVectorMapProps extends NiceStandardProps {
22263
22707
  showTooltip?: boolean;
22264
22708
  }
22265
22709
 
22266
- export declare function NiceVideoAnnotator({ video: initialVideo, annotations: initialAnnotations, markers: initialMarkers, transcription: initialTranscription, speakers: initialSpeakers, currentUser, enableSpatialAnnotations, enableTranscription, enableComments, enableReview: _enableReview, autoSaveInterval: _autoSaveInterval, onAnnotationsChange, onMarkersChange, onTranscriptionChange: _onTranscriptionChange, onAutoSave: _onAutoSave, onFrameExtracted, renderAnnotation, editorSize, className, style, children, ...baseProps }: NiceVideoAnnotatorProps): JSX_2.Element;
22710
+ export declare function NiceVideoAnnotator({ video: initialVideo, annotations: initialAnnotations, markers: initialMarkers, transcription: initialTranscription, speakers: initialSpeakers, currentUser, enableSpatialAnnotations, enableTranscription, enableComments, enableReview: _enableReview, autoSaveInterval: _autoSaveInterval, onAnnotationsChange, onMarkersChange, onTranscriptionChange: _onTranscriptionChange, onAutoSave: _onAutoSave, onFrameExtracted, renderAnnotation, editorSize, className, style, children, ...baseProps }: NiceVideoAnnotatorProps): default_2.JSX.Element;
22267
22711
 
22268
22712
  export declare interface NiceVideoAnnotatorProps extends NiceBaseProps {
22269
22713
  /** Editor layout size (minimal / compact / standard / fullscreen). */
@@ -22336,6 +22780,8 @@ export declare interface NiceVideoEditorProps extends NiceBaseProps {
22336
22780
  onAutoSave?: (project: VideoProject) => void;
22337
22781
  /** Read-only mode */
22338
22782
  readOnly?: boolean;
22783
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
22784
+ tutorial?: NiceComponentTutorial;
22339
22785
  }
22340
22786
 
22341
22787
  export declare type NiceViewAccessLevel = 'hidden' | 'readonly' | 'editable';
@@ -22361,6 +22807,10 @@ export declare interface NiceViewAction {
22361
22807
  dataSourceKey?: string;
22362
22808
  /** For custom: handler name registered in the view registry */
22363
22809
  handler?: string;
22810
+ /** For script: inline source executed by the host (never by the UI). */
22811
+ script?: string;
22812
+ /** For script: language of {@link script}. */
22813
+ language?: 'js' | 'csharp';
22364
22814
  /** Additional payload */
22365
22815
  params?: Record<string, unknown>;
22366
22816
  /** Confirmation dialog text (if set, action requires user confirmation) */
@@ -22371,7 +22821,7 @@ export declare interface NiceViewAction {
22371
22821
  errorMessage?: string;
22372
22822
  }
22373
22823
 
22374
- export declare type NiceViewActionType = 'navigate' | 'apiCall' | 'setField' | 'openDialog' | 'closeDialog' | 'submit' | 'refresh' | 'custom';
22824
+ export declare type NiceViewActionType = 'navigate' | 'apiCall' | 'setField' | 'openDialog' | 'closeDialog' | 'submit' | 'refresh' | 'script' | 'custom';
22375
22825
 
22376
22826
  /** Binding expression that maps a component prop to a data field or expression. */
22377
22827
  export declare interface NiceViewBinding {
@@ -22568,6 +23018,23 @@ export declare interface NiceViewDiffResult {
22568
23018
  summary: string[];
22569
23019
  }
22570
23020
 
23021
+ export declare const NiceViewEditor: ForwardRefExoticComponent<NiceViewEditorProps & RefAttributes<HTMLDivElement>>;
23022
+
23023
+ export declare interface NiceViewEditorProps extends NiceStandardProps {
23024
+ /** The view to edit (controlled). */
23025
+ value?: NiceViewDefinitionV2;
23026
+ /** Change callback with the full updated view. */
23027
+ onChange?: (view: NiceViewDefinitionV2) => void;
23028
+ /** Control registry for the live preview. Default `defaultViewRegistry`. */
23029
+ registry?: NiceViewRegistry;
23030
+ /** Entities available for "New from entity" + binding field hints. */
23031
+ entities?: NiceEntityLike[];
23032
+ /** Save callback (shows a Save button when provided). */
23033
+ onSave?: (view: NiceViewDefinitionV2) => void;
23034
+ /** Editor height. Default `560`. */
23035
+ height?: number | string;
23036
+ }
23037
+
22571
23038
  /** Event-to-action mapping on a cell. */
22572
23039
  export declare interface NiceViewEventBinding {
22573
23040
  /** DOM/component event name (e.g. "onClick", "onValueChange", "onRowClick") */
@@ -23209,6 +23676,8 @@ export declare interface NiceWorkflowDesignerV2Props extends NiceBaseProps {
23209
23676
  showValidation?: boolean;
23210
23677
  onTest?: (workflow: NiceWorkflowDefinition) => void;
23211
23678
  onPublish?: (workflow: NiceWorkflowDefinition) => void;
23679
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
23680
+ tutorial?: NiceComponentTutorial;
23212
23681
  }
23213
23682
 
23214
23683
  export declare interface NiceWorkflowState {
@@ -24576,6 +25045,8 @@ export declare interface ReportBuilderProps {
24576
25045
  fields?: string[];
24577
25046
  }>;
24578
25047
  className?: string;
25048
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
25049
+ tutorial?: NiceComponentTutorial;
24579
25050
  }
24580
25051
 
24581
25052
  export declare interface ReportData {
@@ -24649,8 +25120,12 @@ export { resolveDisplayStyleConfig }
24649
25120
  /** Resolve permissions for a set of user roles. */
24650
25121
  export declare function resolvePermissions(userRoleIds: string[], policy: NiceRbacPolicy): NiceResolvedPermissions;
24651
25122
 
25123
+ export { resolveStepsI18n }
25124
+
24652
25125
  export { resolveTracelessPolicy }
24653
25126
 
25127
+ export { resolveTutorial }
25128
+
24654
25129
  export declare interface Resource {
24655
25130
  id: string;
24656
25131
  name: string;
@@ -27557,6 +28032,10 @@ export { useNiceTranslation }
27557
28032
 
27558
28033
  export declare function useNiceTutorial(): TutorialContextValue;
27559
28034
 
28035
+ export { useNiceTutorials }
28036
+
28037
+ export { useNiceTutorialsEnabled }
28038
+
27560
28039
  export declare const useNiceValidation: () => ValidationContextValue | null;
27561
28040
 
27562
28041
  /**