@nice2dev/ui 1.1.10 → 1.2.0

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 (114) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +12 -20
  3. package/dist/NiceButton-5tWvfXKl.cjs +1 -0
  4. package/dist/NiceButton-DHSgQT1_.js +112 -0
  5. package/dist/NiceCodeEditor-B8At55f5.js +1179 -0
  6. package/dist/NiceCodeEditor-BJSEzhcY.cjs +260 -0
  7. package/dist/NiceColorPicker-DCgmE-3H.cjs +1 -0
  8. package/dist/NiceColorPicker-DK30kJgy.js +486 -0
  9. package/dist/NiceColorPicker-DtPFxDKM.cjs +1 -0
  10. package/dist/NiceColorPicker-bNJBAU_c.js +598 -0
  11. package/dist/NiceDataGrid-BOCJr6XF.js +2217 -0
  12. package/dist/NiceDataGrid-BV5Oh-gy.cjs +10 -0
  13. package/dist/NiceDataGrid-Dd7SI-M6.cjs +10 -0
  14. package/dist/NiceDataGrid-DjZchXYG.js +2217 -0
  15. package/dist/NiceForm-BCEXovJR.cjs +1 -0
  16. package/dist/NiceForm-D7oyWHXg.js +4820 -0
  17. package/dist/NiceForm-DUhxXArr.js +4817 -0
  18. package/dist/NiceForm-uCeVmTrD.cjs +1 -0
  19. package/dist/NiceHtmlEditor-BYk1roA4.cjs +10 -0
  20. package/dist/NiceHtmlEditor-C5kLeF9H.cjs +10 -0
  21. package/dist/NiceHtmlEditor-CFVMIC5L.js +848 -0
  22. package/dist/NiceHtmlEditor-mWebBmy1.js +849 -0
  23. package/dist/NiceLoginForm-BHyDY7br.cjs +1 -0
  24. package/dist/NiceLoginForm-BuxFY2Rk.js +750 -0
  25. package/dist/NiceLoginForm.css +1 -0
  26. package/dist/NiceMention-CA7CL5BI.js +11263 -0
  27. package/dist/NiceMention-CHcKRl-L.cjs +430 -0
  28. package/dist/NiceMention-DJD0BLcp.js +11269 -0
  29. package/dist/NiceMention-DcaUEMSg.cjs +430 -0
  30. package/dist/NiceMention.css +1 -1
  31. package/dist/NiceModal-C4p8a82e.cjs +1 -0
  32. package/dist/NiceModal-TNlkaL_i.js +85 -0
  33. package/dist/NiceModuleLifecyclePanel-BWbKdVC_.js +7054 -0
  34. package/dist/NiceModuleLifecyclePanel-CZHIzvkE.cjs +1 -0
  35. package/dist/NiceModuleLifecyclePanel-OC9YK2kG.js +7052 -0
  36. package/dist/NiceModuleLifecyclePanel-_OcfDmtC.cjs +1 -0
  37. package/dist/NicePagination-8XsBbMNx.js +165 -0
  38. package/dist/NicePagination-CkOoXf0f.js +165 -0
  39. package/dist/NicePagination-D7lek1G7.cjs +1 -0
  40. package/dist/NicePagination-OjTEfZJE.cjs +1 -0
  41. package/dist/NicePivotGrid-BJRSciWl.js +1183 -0
  42. package/dist/NicePivotGrid-CS1dPmNI.cjs +152 -0
  43. package/dist/NicePivotGrid-D2AxqDzJ.js +1183 -0
  44. package/dist/NicePivotGrid-DxQ6Py9D.cjs +152 -0
  45. package/dist/NiceSavedQueryPanel-B5HhqlAI.cjs +586 -0
  46. package/dist/NiceSavedQueryPanel-CMStDOKe.js +5125 -0
  47. package/dist/NiceSavedQueryPanel-D2i34e_b.cjs +586 -0
  48. package/dist/NiceSavedQueryPanel-mPO2THs7.js +5142 -0
  49. package/dist/NiceSavedQueryPanel.css +1 -1
  50. package/dist/NiceScheduler-7gP7vcLy.cjs +5 -0
  51. package/dist/NiceScheduler-Cy7F9tgH.js +1693 -0
  52. package/dist/NiceScheduler-DquRUZxD.cjs +5 -0
  53. package/dist/NiceScheduler-l8N4yCWd.js +1716 -0
  54. package/dist/NiceSelect-DZB1Rs9x.js +435 -0
  55. package/dist/NiceSelect-tMz9QQUs.cjs +1 -0
  56. package/dist/NiceStreamDashboard.doc-74KUXya1.cjs +8 -0
  57. package/dist/NiceStreamDashboard.doc-k8PQfCM0.js +32 -0
  58. package/dist/NiceWindow-BEov3s9F.js +2094 -0
  59. package/dist/NiceWindow-CDt6PCEg.cjs +1 -0
  60. package/dist/NiceWindow.css +1 -1
  61. package/dist/charts-C047IMVn.cjs +768 -0
  62. package/dist/charts-CCXSb3xk.js +4752 -0
  63. package/dist/charts-CqETcUhH.js +4752 -0
  64. package/dist/charts-DouiiHOT.cjs +768 -0
  65. package/dist/charts.cjs +1 -1
  66. package/dist/charts.mjs +1 -1
  67. package/dist/core-BL-KmGYC.js +795 -0
  68. package/dist/core-Chg-oYCr.cjs +1 -0
  69. package/dist/core-CxBnKAhs.cjs +1 -0
  70. package/dist/core-D_LRh59n.js +795 -0
  71. package/dist/data-branching-Km4lc8P_.cjs +1 -0
  72. package/dist/data-branching-YQtJJEtn.js +6273 -0
  73. package/dist/data-branching.cjs +1 -1
  74. package/dist/data-branching.mjs +1 -1
  75. package/dist/data.cjs +1 -1
  76. package/dist/data.d.ts +0 -51
  77. package/dist/data.mjs +3 -3
  78. package/dist/devops-D5yIDM3e.js +8312 -0
  79. package/dist/devops-rVpB0ZAX.cjs +17 -0
  80. package/dist/devops.cjs +1 -1
  81. package/dist/devops.mjs +1 -1
  82. package/dist/editors.cjs +1 -1
  83. package/dist/editors.d.ts +6 -25
  84. package/dist/editors.mjs +55 -54
  85. package/dist/feedback.cjs +1 -1
  86. package/dist/feedback.d.ts +5 -0
  87. package/dist/feedback.mjs +2 -2
  88. package/dist/index.cjs +284 -284
  89. package/dist/index.css +1 -1
  90. package/dist/index.d.ts +194 -208
  91. package/dist/index.mjs +20312 -19511
  92. package/dist/lazy.cjs +1 -1
  93. package/dist/lazy.mjs +29 -29
  94. package/dist/navigation.cjs +1 -1
  95. package/dist/navigation.mjs +3 -3
  96. package/dist/no-code-6WyYb3hL.cjs +331 -0
  97. package/dist/no-code-BH5oVFC6.js +8186 -0
  98. package/dist/no-code-CnHG5_Vn.js +8186 -0
  99. package/dist/no-code-DMKlg1Zl.cjs +331 -0
  100. package/dist/no-code.cjs +1 -1
  101. package/dist/no-code.css +1 -1
  102. package/dist/no-code.d.ts +25 -18
  103. package/dist/no-code.mjs +3 -3
  104. package/dist/overlays.cjs +1 -1
  105. package/dist/overlays.d.ts +24 -24
  106. package/dist/overlays.mjs +24 -490
  107. package/dist/pickerCommons-0vyK1Knv.js +547 -0
  108. package/dist/pickerCommons-BFbItm8o.cjs +1 -0
  109. package/dist/pickerCommons-BHirHJyn.js +548 -0
  110. package/dist/pickerCommons-Bt8JIaTN.cjs +1 -0
  111. package/dist/pickerCommons.css +1 -1
  112. package/dist/style.css +10 -7
  113. package/package.json +4 -6
  114. package/css/legacy-bg-text-aliases.css +0 -87
package/dist/index.d.ts CHANGED
@@ -48,6 +48,7 @@ import { createCustomDataSource } from '@nice2dev/ui-core';
48
48
  import { createGraphQLDataSource } from '@nice2dev/ui-core';
49
49
  import { createGraphQLSubscriptionSource } from '@nice2dev/ui-core';
50
50
  import { createICUTranslator } from '@nice2dev/ui-core';
51
+ import { createId } from '@nice2dev/ui-core';
51
52
  import { createIndexedDBDataSource } from '@nice2dev/ui-core';
52
53
  import { createInfiniteScroll } from '@nice2dev/ui-core';
53
54
  import { createMockDataSource } from '@nice2dev/ui-core';
@@ -2655,7 +2656,9 @@ declare interface ComponentDefinition {
2655
2656
  id: string;
2656
2657
  name: string;
2657
2658
  category: string;
2659
+ /** NiceIcon name shown in the palette and on the canvas */
2658
2660
  icon?: string;
2661
+ /** Props a newly placed component starts with; editable in the Properties panel */
2659
2662
  defaultProps?: Record<string, unknown>;
2660
2663
  }
2661
2664
 
@@ -2748,6 +2751,7 @@ export declare interface ComponentDoc {
2748
2751
 
2749
2752
  declare interface ComponentInstance {
2750
2753
  id: string;
2754
+ /** The palette entry's id */
2751
2755
  type: string;
2752
2756
  props: Record<string, unknown>;
2753
2757
  children?: ComponentInstance[];
@@ -3077,6 +3081,8 @@ export { createGraphQLSubscriptionSource }
3077
3081
 
3078
3082
  export { createICUTranslator }
3079
3083
 
3084
+ export { createId }
3085
+
3080
3086
  export { createIndexedDBDataSource }
3081
3087
 
3082
3088
  export { createInfiniteScroll }
@@ -5061,19 +5067,6 @@ export declare const FlagIcon: default_2.FC<{
5061
5067
  className?: string;
5062
5068
  }>;
5063
5069
 
5064
- /**
5065
- * Legacy coloured-stripe swatch using the {@link getFlagColors} commons
5066
- * palette. Kept as a fallback for unknown ISO codes and for environments
5067
- * that cannot ship the SVG bundle. New code should prefer {@link FlagIcon}.
5068
- *
5069
- * @deprecated Prefer {@link FlagIcon} for accurate, heraldically-correct flags.
5070
- */
5071
- export declare const FlagSwatch: default_2.FC<{
5072
- code: string;
5073
- size?: number;
5074
- className?: string;
5075
- }>;
5076
-
5077
5070
  /**
5078
5071
  * Flat token map
5079
5072
  */
@@ -7039,19 +7032,6 @@ export declare interface ModuleGridResponse<T> {
7039
7032
  aggregates?: Record<string, number>;
7040
7033
  }
7041
7034
 
7042
- /** Grouped row structure. */
7043
- declare interface ModuleGroupedRow<T = any> {
7044
- isGroup: true;
7045
- groupKey: string;
7046
- groupValue: unknown;
7047
- groupLabel: string;
7048
- count: number;
7049
- aggregates?: Record<string, number>;
7050
- rows?: T[];
7051
- expanded?: boolean;
7052
- level: number;
7053
- }
7054
-
7055
7035
  /** Dynamic import function type. */
7056
7036
  export declare type ModuleImportFn = () => Promise<{
7057
7037
  default: ComponentType<Record<string, unknown>>;
@@ -8067,8 +8047,6 @@ export declare interface NiceAutocompleteProps extends NiceFormFieldProps {
8067
8047
  renderOption?: (option: NiceOption, query: string) => default_2.ReactNode;
8068
8048
  /** Highlight matching text in suggestions (default true). */
8069
8049
  highlightMatch?: boolean;
8070
- /** Alias for options — array of string suggestions. */
8071
- suggestions?: (string | NiceOption)[];
8072
8050
  /**
8073
8051
  * When `true` (default), focusing the field (before typing) opens the dropdown
8074
8052
  * with **all** options sorted alphabetically. Set `false` to only show
@@ -8322,12 +8300,6 @@ export declare const NiceBarcode: ForwardRefExoticComponent<NiceBarcodeProps & R
8322
8300
  /** Supported barcode symbologies. */
8323
8301
  export declare type NiceBarcodeFormat = 'CODE128' | 'CODE39' | 'EAN13' | 'EAN8' | 'UPC' | 'ITF14' | 'MSI' | 'codabar';
8324
8302
 
8325
- /** @deprecated Renamed to {@link NiceBarcode}. Kept as an alias for backward compatibility. */
8326
- export declare const NiceBarcodeGenerator: ForwardRefExoticComponent<NiceBarcodeProps & RefAttributes<HTMLCanvasElement>>;
8327
-
8328
- /** @deprecated Renamed to {@link NiceBarcodeProps}. */
8329
- export declare type NiceBarcodeGeneratorProps = NiceBarcodeProps;
8330
-
8331
8303
  /** Props for the {@link NiceBarcode} component — renders a barcode on a `<canvas>`. */
8332
8304
  export declare interface NiceBarcodeProps extends NiceStandardProps {
8333
8305
  /** Text value to encode (controlled). Omit it to let the barcode keep its own. */
@@ -9633,29 +9605,31 @@ export declare interface NiceCodeMarker {
9633
9605
  }
9634
9606
 
9635
9607
  /**
9636
- * NiceCodePreview - Live code preview with syntax highlighting and diff
9608
+ * NiceCodePreview - read-only view of a piece of code, e.g. generated code
9637
9609
  *
9638
9610
  * Features:
9639
- * - Syntax highlighting for multiple languages
9640
- * - Line numbers
9641
- * - Live preview for React/HTML
9642
- * - Side-by-side diff view
9611
+ * - Language label and line numbers
9643
9612
  * - Copy to clipboard
9613
+ * - The previous and the current version side by side (`showDiff`)
9614
+ * - Live preview of HTML in a sandboxed iframe
9615
+ *
9616
+ * It does not colour the code itself: the block carries `language-<id>`, so a highlighter on
9617
+ * the page (Prism, highlight.js) can.
9644
9618
  */
9645
9619
  export declare const NiceCodePreview: default_2.FC<NiceCodePreviewProps>;
9646
9620
 
9647
9621
  export declare interface NiceCodePreviewProps {
9648
9622
  /** Code to display */
9649
9623
  code: string;
9650
- /** Programming language */
9624
+ /** Language: the label in the header and the `language-<id>` class on the code block */
9651
9625
  language?: string;
9652
9626
  /** Show line numbers */
9653
9627
  lineNumbers?: boolean;
9654
- /** Enable live preview (for React/HTML) */
9628
+ /** Render the code below it in a sandboxed iframe — HTML only */
9655
9629
  livePreview?: boolean;
9656
- /** Show diff view */
9630
+ /** Show `previousCode` and `code` side by side (whole texts, not a line diff) */
9657
9631
  showDiff?: boolean;
9658
- /** Previous code for diff comparison */
9632
+ /** The previous version, for `showDiff` */
9659
9633
  previousCode?: string;
9660
9634
  /** Theme */
9661
9635
  theme?: 'light' | 'dark';
@@ -10025,7 +9999,7 @@ export declare interface NiceCommandPaletteContextValue {
10025
9999
  }
10026
10000
 
10027
10001
  export declare interface NiceCommandPaletteProps {
10028
- /** Placeholder text for the search input */
10002
+ /** Placeholder text for the search input (default: translated "Type a command...") */
10029
10003
  placeholder?: string;
10030
10004
  /** Maximum items shown before scrolling */
10031
10005
  maxVisible?: number;
@@ -10033,7 +10007,7 @@ export declare interface NiceCommandPaletteProps {
10033
10007
  maxRecent?: number;
10034
10008
  /** Custom class name */
10035
10009
  className?: string;
10036
- /** Custom empty state text */
10010
+ /** Custom empty state text (default: translated "No commands found") */
10037
10011
  emptyText?: string;
10038
10012
  /** Close on action execution */
10039
10013
  closeOnAction?: boolean;
@@ -10336,7 +10310,7 @@ export declare interface NiceConnectorSelectorProps extends NiceBaseProps {
10336
10310
  /**
10337
10311
  * Cookie/storage consent banner that auto-hides based on Traceless policy.
10338
10312
  */
10339
- export declare function NiceConsentBanner({ className, position, variant, onAccept, onDecline, onCustomize, privacyPolicyUrl, acceptText, declineText, }: NiceConsentBannerProps): default_2.ReactElement | null;
10313
+ export declare function NiceConsentBanner({ className, position, onAccept, onDecline, onCustomize, privacyPolicyUrl, acceptText, declineText, }: NiceConsentBannerProps): default_2.ReactElement | null;
10340
10314
 
10341
10315
  /**
10342
10316
  * Props for NiceConsentBanner.
@@ -10346,8 +10320,6 @@ export declare interface NiceConsentBannerProps {
10346
10320
  className?: string;
10347
10321
  /** Position */
10348
10322
  position?: 'top' | 'bottom';
10349
- /** Theme variant */
10350
- variant?: 'minimal' | 'detailed';
10351
10323
  /** Callback when consent is given */
10352
10324
  onAccept?: () => void;
10353
10325
  /** Callback when consent is declined */
@@ -10356,9 +10328,9 @@ export declare interface NiceConsentBannerProps {
10356
10328
  onCustomize?: () => void;
10357
10329
  /** Privacy policy URL */
10358
10330
  privacyPolicyUrl?: string;
10359
- /** Custom accept button text */
10331
+ /** Custom accept button text (default: a translated "Accept all") */
10360
10332
  acceptText?: string;
10361
- /** Custom decline button text */
10333
+ /** Custom decline button text (default: a translated "Reject all") */
10362
10334
  declineText?: string;
10363
10335
  }
10364
10336
 
@@ -10701,6 +10673,41 @@ export declare interface NiceCountdownProps extends NiceStandardProps {
10701
10673
  labels?: NiceCountdownLabels;
10702
10674
  }
10703
10675
 
10676
+ /**
10677
+ * Countdown from a length of time: presets, hours / minutes / seconds fields, start / pause /
10678
+ * resume, reset and a bar of the time left. When the time runs out it stops, shows zero and
10679
+ * fires `onComplete` once. For a countdown to a date use `NiceCountdown`.
10680
+ */
10681
+ export declare const NiceCountdownTimer: default_2.FC<NiceCountdownTimerProps>;
10682
+
10683
+ /** Props for {@link NiceCountdownTimer}. */
10684
+ export declare interface NiceCountdownTimerProps extends NiceStandardProps {
10685
+ /** Length of the countdown in ms (controlled). */
10686
+ duration?: number;
10687
+ /** Initial length in ms (uncontrolled). Default 5 minutes. */
10688
+ defaultDuration?: number;
10689
+ /** Fires when the user picks a preset or edits the hours / minutes / seconds. */
10690
+ onDurationChange?: (ms: number) => void;
10691
+ /** Whether the timer runs (controlled). */
10692
+ running?: boolean;
10693
+ /** Initial running state (uncontrolled). Default `false`. */
10694
+ defaultRunning?: boolean;
10695
+ /** Fires on start, pause and when the time runs out. */
10696
+ onRunningChange?: (running: boolean) => void;
10697
+ /** Fires once when the remaining time reaches zero. */
10698
+ onComplete?: () => void;
10699
+ /** Quick-pick lengths in ms, shown while the timer is reset. Default 1, 5, 10 and 25 min; `[]` hides them. */
10700
+ presets?: number[];
10701
+ /** Let the user set hours / minutes / seconds while the timer is reset. Default `true`. */
10702
+ editable?: boolean;
10703
+ /** Display precision. Default `'seconds'`. */
10704
+ precision?: 'seconds' | 'tenths';
10705
+ /** Show a bar of the time left. Default `true`. */
10706
+ showProgress?: boolean;
10707
+ /** Caption above the time; also the accessible name of the clock. */
10708
+ label?: string;
10709
+ }
10710
+
10704
10711
  export declare const NiceCountryPicker: default_2.FC<NiceCountryPickerProps>;
10705
10712
 
10706
10713
  export declare interface NiceCountryPickerProps extends NiceFormFieldProps, DualVisibilityProps {
@@ -10716,16 +10723,6 @@ export declare interface NiceCountryPickerProps extends NiceFormFieldProps, Dual
10716
10723
  showSearch?: boolean;
10717
10724
  /** Search placeholder */
10718
10725
  searchPlaceholder?: string;
10719
- /**
10720
- * @deprecated Use `showDialCodeInValue` and `showDialCodeInMenu` for fine-grained control.
10721
- * When set, applies to both trigger and menu (legacy behaviour).
10722
- */
10723
- showDialCode?: boolean;
10724
- /**
10725
- * @deprecated Use `showFlagInValue` and `showFlagInMenu` for fine-grained control.
10726
- * When set, applies to both trigger and menu (legacy behaviour).
10727
- */
10728
- showFlag?: boolean;
10729
10726
  /** Show dial code in trigger (selected value). Default: false (compact) */
10730
10727
  showDialCodeInValue?: boolean;
10731
10728
  /** Show dial code in dropdown options. Default: true */
@@ -11528,11 +11525,6 @@ export declare interface NiceDateRangeBoxProps extends NiceFormFieldProps {
11528
11525
  * browser locale. The emitted value stays ISO regardless of display locale.
11529
11526
  */
11530
11527
  locale?: string;
11531
- /**
11532
- * @deprecated Use `dateFormatPreset`. Native input type forwarded to both
11533
- * inner pickers.
11534
- */
11535
- type?: 'date' | 'datetime-local' | 'time' | 'month' | 'week';
11536
11528
  /**
11537
11529
  * How the end date is constrained relative to the start (default
11538
11530
  * `'greater-or-equal'` — the end can equal the start).
@@ -11578,12 +11570,7 @@ export declare interface NiceDateTimePickerProps extends NiceFormFieldProps {
11578
11570
  min?: string;
11579
11571
  /** Maximum selectable date (passed to the hidden native picker). */
11580
11572
  max?: string;
11581
- /**
11582
- * @deprecated Use `dateFormatPreset` instead.
11583
- * Input type — `'date'`, `'datetime-local'`, `'time'`, `'month'`, or `'week'`.
11584
- */
11585
- type?: 'date' | 'datetime-local' | 'time' | 'month' | 'week';
11586
- /** Date format preset. Takes precedence over `type`. */
11573
+ /** Date format preset — what the field holds and how it is shown (default: a local date). */
11587
11574
  dateFormatPreset?: NiceDateFormatPreset;
11588
11575
  /** Placeholder text. Defaults to a derived placeholder (e.g. `dd.MM.yyyy`). */
11589
11576
  placeholder?: string;
@@ -13157,30 +13144,6 @@ export declare interface NiceFlexProps extends NiceStandardProps {
13157
13144
 
13158
13145
  export declare type NiceFlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
13159
13146
 
13160
- export declare const NiceFloorPlanCanvas: default_2.FC<NiceFloorPlanCanvasProps>;
13161
-
13162
- /**
13163
- * @deprecated Use `NiceSpatialEditor` from `@nice2dev/ui-buildings` instead.
13164
- */
13165
- export declare interface NiceFloorPlanCanvasProps extends NiceBaseProps {
13166
- svgUrl?: string;
13167
- devices: SmartDeviceDto[];
13168
- rooms?: SmartRoomDto[];
13169
- floor?: number;
13170
- floors?: FloorDescriptor[];
13171
- onDeviceClick?: (deviceId: string) => void;
13172
- onDeviceDrop?: (deviceId: string, x: number, y: number) => void;
13173
- /** Alias of `onDeviceDrop` (called whenever a device is dragged to a new position). */
13174
- onDeviceMove?: (deviceId: string, x: number, y: number) => void;
13175
- editMode?: boolean;
13176
- zoom?: number;
13177
- minZoom?: number;
13178
- maxZoom?: number;
13179
- showDeviceLabels?: boolean;
13180
- colorByState?: Record<string, string>;
13181
- animateStateChanges?: boolean;
13182
- }
13183
-
13184
13147
  export { NiceFocusable }
13185
13148
 
13186
13149
  export { NiceFocusableProps }
@@ -14531,13 +14494,18 @@ export declare interface NiceIntegrationHubProps extends NiceBaseProps {
14531
14494
  onJobsChange?: (jobs: SyncJobConfig[]) => void;
14532
14495
  /** Called when webhooks change */
14533
14496
  onWebhooksChange?: (webhooks: IntegrationWebhookConfig[]) => void;
14534
- /** Custom connection test handler */
14497
+ /** Tests a connector against its system. Without it the Test button is disabled. */
14535
14498
  onTestConnection?: (connector: ConnectorConfig) => Promise<{
14536
14499
  success: boolean;
14537
14500
  message: string;
14538
14501
  }>;
14539
- /** Custom job runner */
14502
+ /** Runs a sync job. Without it jobs cannot run: the Run buttons are disabled. */
14540
14503
  onRunJob?: (job: SyncJobConfig) => Promise<SyncJobRun>;
14504
+ /** Sends a test request to a webhook. Without it the webhook Test button is disabled. */
14505
+ onTestWebhook?: (webhook: IntegrationWebhookConfig) => Promise<{
14506
+ success: boolean;
14507
+ response?: unknown;
14508
+ }>;
14541
14509
  /** Read-only mode */
14542
14510
  readOnly?: boolean;
14543
14511
  /** Show monitoring panel */
@@ -15288,9 +15256,9 @@ export declare interface NiceLiveDataGridProps<T extends LiveGridRow = LiveGridR
15288
15256
  onUpdate?: (update: LiveGridUpdate<T>) => void;
15289
15257
  /** Connection status change callback */
15290
15258
  onConnectionStatusChange?: (status: ConnectionStatus) => void;
15291
- /** Empty state content */
15259
+ /** Empty state content (default: a translated "No data") */
15292
15260
  emptyContent?: ReactNode;
15293
- /** Loading state content */
15261
+ /** Loading state content (default: a translated "Loading…") */
15294
15262
  loadingContent?: ReactNode;
15295
15263
  /** Enable sorting */
15296
15264
  sortable?: boolean;
@@ -15689,14 +15657,11 @@ export declare interface NiceLookupProps extends NiceFormFieldProps {
15689
15657
  export { NiceLookupSourceState }
15690
15658
 
15691
15659
  /**
15692
- * NiceLowCodeStudio - Visual no-code development environment
15660
+ * NiceLowCodeStudio - visual page composer
15693
15661
  *
15694
- * Central hub integrating all no-code tools:
15695
- * - Component Designer
15696
- * - Page Builder
15697
- * - State Designer
15698
- * - API Flow
15699
- * - Event Orchestrator
15662
+ * Drag components from the palette onto the canvas (or click them), select one to edit its
15663
+ * props, and see the result in Preview (through `renderComponent`) and as JSX in Code. Every
15664
+ * change goes to `onChange`, Save to `onSave`.
15700
15665
  */
15701
15666
  export declare const NiceLowCodeStudio: default_2.FC<NiceLowCodeStudioProps>;
15702
15667
 
@@ -15707,10 +15672,15 @@ export declare interface NiceLowCodeStudioProps {
15707
15672
  components?: ComponentDefinition[];
15708
15673
  /** Theme configuration */
15709
15674
  theme?: 'light' | 'dark';
15710
- /** Called when design changes */
15675
+ /** Called with the design after every change: a component added, removed or edited */
15711
15676
  onChange?: (design: DesignState) => void;
15712
- /** Called when save is requested */
15677
+ /** Called with the current design when Save is pressed */
15713
15678
  onSave?: (design: DesignState) => void;
15679
+ /**
15680
+ * Draws a placed component in the Preview tab: map `instance.type` (the palette entry's id)
15681
+ * to your real component. Without it the tab says the preview is not connected.
15682
+ */
15683
+ renderComponent?: (instance: ComponentInstance) => default_2.ReactNode;
15714
15684
  /** Additional class name */
15715
15685
  className?: string;
15716
15686
  /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
@@ -16401,12 +16371,8 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
16401
16371
  onSortChange?: (sort: ModuleSortSpec[]) => void;
16402
16372
  /** Multi-column sort */
16403
16373
  multiSort?: boolean;
16404
- /** Enable column filtering */
16405
- filterable?: boolean;
16406
16374
  /** Current filter state */
16407
16375
  filter?: ModuleFilterGroup;
16408
- /** Filter change handler */
16409
- onFilterChange?: (filter: ModuleFilterGroup) => void;
16410
16376
  /** Quick search text */
16411
16377
  searchText?: string;
16412
16378
  /** Search change handler */
@@ -16437,38 +16403,10 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
16437
16403
  selectedKeys?: Set<string>;
16438
16404
  /** Selection change handler */
16439
16405
  onSelectionChange?: (keys: Set<string>, rows: T[]) => void;
16440
- /** Select all with server count */
16441
- selectAllServerCount?: number;
16442
- /** Select all handler for server-side */
16443
- onSelectAll?: () => Promise<Set<string>>;
16444
- /** Enable column reordering */
16445
- columnReorder?: boolean;
16446
- /** Column order change handler */
16447
- onColumnOrderChange?: (order: string[]) => void;
16448
16406
  /** Enable column resizing */
16449
16407
  columnResize?: boolean;
16450
16408
  /** Column width change handler */
16451
16409
  onColumnWidthChange?: (field: string, width: number) => void;
16452
- /** Column visibility change handler */
16453
- onColumnVisibilityChange?: (field: string, visible: boolean) => void;
16454
- /** Group by field */
16455
- groupBy?: string;
16456
- /** Group change handler */
16457
- onGroupByChange?: (field: string | null) => void;
16458
- /** Custom group row renderer */
16459
- groupRowRender?: (group: ModuleGroupedRow<T>) => React.ReactNode;
16460
- /** Expand all groups by default */
16461
- expandAllGroups?: boolean;
16462
- /** Enable inline editing */
16463
- editable?: boolean;
16464
- /** Cell edit handler */
16465
- onCellEdit?: (rowKey: string, field: string, value: unknown, row: T) => Promise<boolean> | boolean;
16466
- /** Row edit handler */
16467
- onRowEdit?: (rowKey: string, values: Partial<T>, row: T) => Promise<boolean> | boolean;
16468
- /** Edit mode: cell or row */
16469
- editMode?: 'cell' | 'row';
16470
- /** Validation error handler */
16471
- onValidationError?: (rowKey: string, field: string, error: string) => void;
16472
16410
  /** Context menu items */
16473
16411
  contextMenuItems?: ModuleContextMenuItem<T>[];
16474
16412
  /** Context menu action handler */
@@ -16483,8 +16421,6 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
16483
16421
  preferencesKey?: string;
16484
16422
  /** Initial preferences */
16485
16423
  initialPreferences?: ModuleViewPreferences;
16486
- /** Preferences change handler */
16487
- onPreferencesChange?: (prefs: ModuleViewPreferences) => void;
16488
16424
  /** Display density */
16489
16425
  density?: 'compact' | 'normal' | 'comfortable';
16490
16426
  /** Striped rows */
@@ -16516,10 +16452,6 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
16516
16452
  mobilePrimaryField?: string;
16517
16453
  /** Secondary field for mobile card subtitle */
16518
16454
  mobileSecondaryField?: string;
16519
- /** Module ID for permissions */
16520
- moduleId?: string;
16521
- /** Module permission for context menu filtering */
16522
- permissions?: Record<string, boolean>;
16523
16455
  /** Component size */
16524
16456
  size?: NiceSize;
16525
16457
  /** Show skeleton loading per column */
@@ -17379,6 +17311,11 @@ export declare interface NiceOfflineBannerProps extends NiceStandardProps {
17379
17311
  message?: string;
17380
17312
  variant?: 'warning' | 'error';
17381
17313
  icon?: default_2.ReactNode;
17314
+ /**
17315
+ * Overrides the browser's `navigator.onLine` — e.g. with your own health check, which also
17316
+ * catches a network that is up while the server is not. Leave it out to follow the browser.
17317
+ */
17318
+ online?: boolean;
17382
17319
  }
17383
17320
 
17384
17321
  export { NiceOfflineFirstConfig }
@@ -18322,8 +18259,6 @@ export declare interface NiceProgressProps extends Omit<NiceFormFieldProps, 'sub
18322
18259
  max?: number;
18323
18260
  /** Show the numeric percentage / value text alongside the bar. */
18324
18261
  showValue?: boolean;
18325
- /** @deprecated Renamed to {@link showValue}. Kept for backward compatibility. */
18326
- showLabel?: boolean;
18327
18262
  /** Optional custom text rendered next to the bar instead of the auto-formatted percentage. */
18328
18263
  text?: string;
18329
18264
  /** Colour variant for the filled portion. */
@@ -19043,6 +18978,39 @@ export declare interface NiceReconciliationViewProps extends NiceBaseProps {
19043
18978
 
19044
18979
  export { NiceRecordState }
19045
18980
 
18981
+ /**
18982
+ * Editor for a {@link NiceRecurrenceRule} — the rule `NiceScheduler` expands: frequency, interval,
18983
+ * weekdays of a weekly rule, and the end (never, on a date, after a number of occurrences). Below
18984
+ * the fields: the rule as one line of text and the next few dates it produces.
18985
+ */
18986
+ export declare const NiceRecurrenceEditor: default_2.FC<NiceRecurrenceEditorProps>;
18987
+
18988
+ /** Props for {@link NiceRecurrenceEditor}. */
18989
+ export declare interface NiceRecurrenceEditorProps extends NiceBaseProps {
18990
+ /** The rule (controlled); `null` means the event does not repeat. */
18991
+ value?: NiceRecurrenceRule | null;
18992
+ /** Initial rule (uncontrolled). Default `null`. */
18993
+ defaultValue?: NiceRecurrenceRule | null;
18994
+ /** Fires with the new rule, or `null` when "Does not repeat" is picked. */
18995
+ onChange?: (rule: NiceRecurrenceRule | null) => void;
18996
+ /** First occurrence: picks the weekday of a new weekly rule and anchors the preview. Default: now. */
18997
+ start?: Date;
18998
+ /** Offer "Does not repeat". Default `true`. */
18999
+ allowNone?: boolean;
19000
+ /** How many upcoming dates to list under the summary; `0` hides the list. Default `5`. */
19001
+ previewCount?: number;
19002
+ /** First day of the week in the day picker: `0` Sunday, `1` Monday. Default `1`. */
19003
+ weekStartsOn?: 0 | 1;
19004
+ /** Caption of the frequency field. Default: translated "Repeats". */
19005
+ label?: string;
19006
+ /** Size of the inner fields. Default `'md'`. */
19007
+ size?: NiceSize;
19008
+ /** Disables every field. */
19009
+ disabled?: boolean;
19010
+ /** Shows the rule without letting it change. */
19011
+ readOnly?: boolean;
19012
+ }
19013
+
19046
19014
  /** A recurrence rule for repeating {@link NiceSchedulerEvent} instances. */
19047
19015
  export declare type NiceRecurrenceRule = {
19048
19016
  freq: 'daily' | 'weekly' | 'monthly' | 'yearly';
@@ -20113,6 +20081,11 @@ export declare interface NiceSelectProps extends NiceFormFieldProps {
20113
20081
  renderOption?: (option: NiceOption, isSelected: boolean) => default_2.ReactNode;
20114
20082
  /** When true (default false), the trigger width grows to fit selected items in `multiple` mode. When false, width stays fixed. */
20115
20083
  multipleAutosize?: boolean;
20084
+ /**
20085
+ * Accessible name when the select has no visible `label` (a toolbar filter, a compact row).
20086
+ * It used to be dropped: the trigger had no name at all.
20087
+ */
20088
+ 'aria-label'?: string;
20116
20089
  }
20117
20090
 
20118
20091
  export declare const NiceSensorGaugePanel: default_2.FC<NiceSensorGaugePanelProps>;
@@ -21190,6 +21163,39 @@ export declare interface NiceStockDataPoint {
21190
21163
  volume?: number;
21191
21164
  }
21192
21165
 
21166
+ /**
21167
+ * Stopwatch: start / pause / resume, laps with split and total time, reset.
21168
+ *
21169
+ * Time comes from `performance.now()`, so a wall-clock change does not move it, and it is
21170
+ * repainted only as often as `precision` needs. `running` and `laps` are controllable; the
21171
+ * elapsed time itself is the component's own (it is time, not data).
21172
+ */
21173
+ export declare const NiceStopwatch: default_2.FC<NiceStopwatchProps>;
21174
+
21175
+ /** Props for {@link NiceStopwatch}. */
21176
+ export declare interface NiceStopwatchProps extends NiceStandardProps {
21177
+ /** Whether the stopwatch runs (controlled). */
21178
+ running?: boolean;
21179
+ /** Initial running state (uncontrolled). Default `false`. */
21180
+ defaultRunning?: boolean;
21181
+ /** Fires on start, pause and resume. */
21182
+ onRunningChange?: (running: boolean) => void;
21183
+ /** Lap marks — the total elapsed ms at each lap press, oldest first (controlled). */
21184
+ laps?: number[];
21185
+ /** Initial lap marks (uncontrolled). */
21186
+ defaultLaps?: number[];
21187
+ /** Fires with the new list when a lap is added and when the stopwatch is reset. */
21188
+ onLapsChange?: (laps: number[]) => void;
21189
+ /** Fires when the user resets the stopwatch (time back to zero, laps cleared). */
21190
+ onReset?: () => void;
21191
+ /** Display precision. Default `'hundredths'`. */
21192
+ precision?: NiceTimekeepingPrecision;
21193
+ /** Show the Lap button and the lap list. Default `true`. */
21194
+ showLaps?: boolean;
21195
+ /** Caption above the time; also the accessible name of the clock. */
21196
+ label?: string;
21197
+ }
21198
+
21193
21199
  /** Storybook story definition. */
21194
21200
  export declare interface NiceStoryDef {
21195
21201
  /** Story name. */
@@ -21220,7 +21226,7 @@ export declare interface NiceStoryMeta {
21220
21226
  parameters?: Record<string, unknown>;
21221
21227
  }
21222
21228
 
21223
- 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;
21229
+ export declare function NiceStreamDashboard({ platforms: initialPlatforms, scenes: initialScenes, config: initialConfig, maxChatMessages, autoRecord, onStreamStart, onStreamStop, onChatMessage, onAlert, onAnalyticsUpdate, onVODCreated, renderPreview, renderChatMessage, onAddPlatform, onSendChatMessage, onTransition, onScreenshot, onOpenAudioMixer, onOpenSettings, className, style, children, ...baseProps }: NiceStreamDashboardProps): default_2.JSX.Element;
21224
21230
 
21225
21231
  export declare interface NiceStreamDashboardProps extends NiceBaseProps {
21226
21232
  /** Initial platform connections */
@@ -21229,16 +21235,10 @@ export declare interface NiceStreamDashboardProps extends NiceBaseProps {
21229
21235
  scenes?: Scene[];
21230
21236
  /** Initial stream configuration */
21231
21237
  config?: Partial<StreamConfig>;
21232
- /** Enable WebRTC broadcasting */
21233
- enableWebRTC?: boolean;
21234
- /** RTMP server URL for custom streaming */
21235
- rtmpServerUrl?: string;
21236
21238
  /** Maximum chat messages to keep */
21237
21239
  maxChatMessages?: number;
21238
21240
  /** Enable auto-recording */
21239
21241
  autoRecord?: boolean;
21240
- /** Recording path */
21241
- recordingPath?: string;
21242
21242
  /** Callback when stream starts */
21243
21243
  onStreamStart?: () => void;
21244
21244
  /** Callback when stream stops */
@@ -21255,6 +21255,27 @@ export declare interface NiceStreamDashboardProps extends NiceBaseProps {
21255
21255
  renderPreview?: (scene: Scene | null) => ReactNode;
21256
21256
  /** Custom render for chat message */
21257
21257
  renderChatMessage?: (message: ChatMessage) => ReactNode;
21258
+ /**
21259
+ * Called by "Add platform": connecting an account (credentials, OAuth) is the host's job.
21260
+ * Without it the button is disabled.
21261
+ */
21262
+ onAddPlatform?: () => void;
21263
+ /**
21264
+ * Sends a chat message through the platform's API. Without it the chat input is disabled —
21265
+ * the dashboard has no platform connection of its own.
21266
+ */
21267
+ onSendChatMessage?: (platform: StreamPlatform, message: string) => void | Promise<void>;
21268
+ /**
21269
+ * Called when the program switches to a scene, with the transition chosen next to the buttons
21270
+ * and its duration, so the host's renderer can animate it.
21271
+ */
21272
+ onTransition?: (sceneId: string, transition: string, durationMs: number) => void;
21273
+ /** "Screenshot" quick action; disabled without it. */
21274
+ onScreenshot?: () => void;
21275
+ /** "Audio Mixer" quick action; disabled without it. */
21276
+ onOpenAudioMixer?: () => void;
21277
+ /** "Settings" quick action; disabled without it. */
21278
+ onOpenSettings?: () => void;
21258
21279
  children?: ReactNode;
21259
21280
  }
21260
21281
 
@@ -21601,10 +21622,6 @@ export declare interface NiceTaskInboxProps extends NiceBaseProps {
21601
21622
  onTaskSelect?: (task: WorkflowTask) => void;
21602
21623
  /** Called when user claims a task */
21603
21624
  onTaskClaim?: (task: WorkflowTask) => void;
21604
- /** Called when user completes a task */
21605
- onTaskComplete?: (task: WorkflowTask, variables?: Record<string, unknown>) => void;
21606
- /** Called when user delegates a task */
21607
- onTaskDelegate?: (task: WorkflowTask, assignee: string) => void;
21608
21625
  /** Current user ID (for claimed/assigned logic) */
21609
21626
  currentUserId?: string;
21610
21627
  /** Show filter controls */
@@ -22049,6 +22066,9 @@ export declare interface NiceTileViewProps<T extends NiceTileViewItem = NiceTile
22049
22066
  emptyText?: string;
22050
22067
  }
22051
22068
 
22069
+ /** How finely {@link NiceStopwatch} and {@link NiceCountdownTimer} show the time. */
22070
+ export declare type NiceTimekeepingPrecision = 'seconds' | 'tenths' | 'hundredths';
22071
+
22052
22072
  export declare const NiceTimeline: default_2.ForwardRefExoticComponent<NiceTimelineProps & default_2.RefAttributes<HTMLDivElement>>;
22053
22073
 
22054
22074
  /** A single entry in the {@link NiceTimeline}. */
@@ -22240,32 +22260,6 @@ declare interface NiceTopNavExtraAction {
22240
22260
  badge?: number | string;
22241
22261
  }
22242
22262
 
22243
- /** @deprecated v2 nav-item type. Prefer {@link NiceNavMenuItem} via `navMenuItems`. */
22244
- export declare interface NiceTopNavItem {
22245
- id: string;
22246
- label: string;
22247
- icon?: default_2.ReactNode;
22248
- href?: string;
22249
- onClick?: () => void;
22250
- }
22251
-
22252
- /** @deprecated v2 language type. Prefer `<NiceLanguagePicker>` props. */
22253
- export declare interface NiceTopNavLanguageOption {
22254
- code: string;
22255
- label: string;
22256
- flag?: default_2.ReactNode;
22257
- }
22258
-
22259
- /** @deprecated v2 user-menu item. Prefer {@link UserMenuItem}. */
22260
- export declare interface NiceTopNavMenuItem {
22261
- id: string;
22262
- label: string;
22263
- icon?: default_2.ReactNode;
22264
- onClick?: () => void;
22265
- divider?: boolean;
22266
- href?: string;
22267
- }
22268
-
22269
22263
  export declare interface NiceTopNavProps {
22270
22264
  height?: number | string;
22271
22265
  density?: NiceTopNavDensity;
@@ -22353,7 +22347,6 @@ export declare interface NiceTopNavProps {
22353
22347
  * - `'minimal'` — bare brand bar: brand only, no nav, no right cluster.
22354
22348
  */
22355
22349
  preset?: 'marketing' | 'saas' | 'docs' | 'minimal';
22356
- navItems?: NiceTopNavItem[];
22357
22350
  navMenuItems?: NiceNavMenuItem[];
22358
22351
  activeNavId?: string;
22359
22352
  navAlignment?: 'start' | 'center' | 'end';
@@ -22383,12 +22376,10 @@ export declare interface NiceTopNavProps {
22383
22376
  centerContent?: default_2.ReactNode;
22384
22377
  /** Toggle search visibility independently of search props presence. Default: derived from search props. */
22385
22378
  showSearch?: boolean;
22386
- languages?: NiceTopNavLanguageOption[];
22387
22379
  currentLanguage?: string;
22388
22380
  onLanguageChange?: (code: string) => void;
22389
22381
  showLanguagePicker?: boolean;
22390
22382
  languagePickerProps?: Partial<NiceLanguagePickerProps>;
22391
- themes?: NiceTopNavThemeOption[];
22392
22383
  currentTheme?: string;
22393
22384
  onThemeChange?: (id: string) => void;
22394
22385
  showThemePicker?: boolean;
@@ -22399,10 +22390,8 @@ export declare interface NiceTopNavProps {
22399
22390
  onMarkAllNotificationsRead?: () => void;
22400
22391
  /** Toggle notifications visibility independently of notification props presence. */
22401
22392
  showNotifications?: boolean;
22402
- user?: NiceTopNavUser | NiceAuthUser;
22393
+ user?: NiceAuthUser;
22403
22394
  userMenuItems?: UserMenuItem[];
22404
- /** @deprecated Use `userMenuItems`. */
22405
- userMenu?: NiceTopNavMenuItem[];
22406
22395
  onProfile?: () => void;
22407
22396
  onLogout?: () => void;
22408
22397
  /**
@@ -22501,20 +22490,6 @@ export declare interface NiceTopNavProps {
22501
22490
  'data-testid'?: string;
22502
22491
  }
22503
22492
 
22504
- /** @deprecated v2 theme type. Prefer `<NiceThemePicker>` props. */
22505
- export declare interface NiceTopNavThemeOption {
22506
- id: string;
22507
- label: string;
22508
- icon?: default_2.ReactNode;
22509
- }
22510
-
22511
- /** @deprecated v2 user type. Prefer {@link NiceAuthUser}. */
22512
- export declare interface NiceTopNavUser {
22513
- name: string;
22514
- avatarUrl?: string;
22515
- initials?: string;
22516
- }
22517
-
22518
22493
  export declare type NiceTopNavVariant = 'default' | 'primary' | 'accent' | 'transparent' | 'glass' | 'dark';
22519
22494
 
22520
22495
  export declare interface NiceTopologyData {
@@ -22770,8 +22745,6 @@ export declare interface NiceTreeSelectNode {
22770
22745
  label: string;
22771
22746
  children?: NiceTreeSelectNode[];
22772
22747
  disabled?: boolean;
22773
- /** @deprecated Icons are no longer rendered — prop kept for backward compatibility. */
22774
- icon?: default_2.ReactNode;
22775
22748
  }
22776
22749
 
22777
22750
  /** Props for the {@link NiceTreeSelect} component — a dropdown that lets the user pick from a tree hierarchy. */
@@ -25570,6 +25543,16 @@ export declare interface RectangleAnnotation extends AnnotationBase {
25570
25543
  tool: 'rectangle';
25571
25544
  }
25572
25545
 
25546
+ /**
25547
+ * Start times of the occurrences of `rule` for a series that begins at `start`, in order, up to
25548
+ * `rangeEnd` (inclusive), honouring `until` and `count` (counted from `start`). A weekly rule with
25549
+ * `byDay` (0 = Sunday … 6 = Saturday, as `Date.getDay()`) repeats on those weekdays of every
25550
+ * `interval`-th week, counted from the week of `start`, and never before `start`; without
25551
+ * `byDay` it repeats on the weekday of `start`. `limit` caps the list (for previews of open-ended
25552
+ * rules).
25553
+ */
25554
+ export declare function recurrenceDates(rule: NiceRecurrenceRule, start: Date, rangeEnd: Date, limit?: number): Date[];
25555
+
25573
25556
  declare interface ReducerStep {
25574
25557
  id: string;
25575
25558
  type: 'set' | 'update' | 'push' | 'remove' | 'reset' | 'custom';
@@ -26983,7 +26966,10 @@ declare interface StreamDashboardContextValue {
26983
26966
  updateAlertConfig: (id: string, updates: Partial<AlertConfig>) => void;
26984
26967
  removeAlertConfig: (id: string) => void;
26985
26968
  triggerAlert: (configId: string, data: unknown) => void;
26986
- sendChatMessage: (platform: StreamPlatform, message: string) => void;
26969
+ /** Sends through `onSendChatMessage`; without it nothing is sent. */
26970
+ sendChatMessage: (platform: StreamPlatform, message: string) => void | Promise<void>;
26971
+ /** Feed an incoming chat message (from the platform connections) into the chat panel. */
26972
+ receiveChatMessage: (message: ChatMessage) => void;
26987
26973
  clearChat: () => void;
26988
26974
  pauseChat: (paused: boolean) => void;
26989
26975
  setSlowMode: (seconds: number) => void;