@nice2dev/ui 1.1.10 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +183 -0
- package/README.md +12 -20
- package/dist/NiceApiExplorer.doc-CFJndg5h.js +25 -0
- package/dist/NiceApiExplorer.doc-TEx67kV5.cjs +1 -0
- package/dist/NiceBPMNDesigner.doc-6lK1pXRq.js +32 -0
- package/dist/NiceBPMNDesigner.doc-BY8t7qOi.cjs +8 -0
- package/dist/NiceBackupDiffViewer.doc-CYvOeX19.js +25 -0
- package/dist/NiceBackupDiffViewer.doc-ChQaZCg1.cjs +1 -0
- package/dist/NiceBackupList.doc-BdQCw0_D.cjs +1 -0
- package/dist/NiceBackupList.doc-BwjIAoqz.js +25 -0
- package/dist/NiceBackupRestoreDialog.doc-B2iiqTps.cjs +1 -0
- package/dist/NiceBackupRestoreDialog.doc-DuXSGJiD.js +25 -0
- package/dist/NiceBackupScheduler.doc-BpY45181.js +31 -0
- package/dist/NiceBackupScheduler.doc-ByeL3iH1.cjs +7 -0
- package/dist/NiceBackupStatusBadge.doc-BA3dYgiW.cjs +1 -0
- package/dist/NiceBackupStatusBadge.doc-CxwkVarP.js +25 -0
- package/dist/NiceBackupTagEditor.doc-Bej1KHco.cjs +7 -0
- package/dist/NiceBackupTagEditor.doc-CNy4uNws.js +31 -0
- package/dist/NiceBottomSheet.doc-keq-Fzlz.cjs +8 -0
- package/dist/NiceBottomSheet.doc-v-UPUKQk.js +32 -0
- package/dist/NiceBranchManager.doc-BTyRjX7X.cjs +6 -0
- package/dist/NiceBranchManager.doc-Cz4SyEqE.js +30 -0
- package/dist/NiceButton-3AcJJ15c.cjs +1 -0
- package/dist/NiceButton-5tWvfXKl.cjs +1 -0
- package/dist/NiceButton-DHSgQT1_.js +112 -0
- package/dist/NiceButton-vkI07DP0.js +88 -0
- package/dist/NiceCodeEditor-B8At55f5.js +1179 -0
- package/dist/NiceCodeEditor-BJSEzhcY.cjs +260 -0
- package/dist/NiceCodeEditor-VGIDWSkS.js +1181 -0
- package/dist/NiceCodeEditor-qX39PSnQ.cjs +260 -0
- package/dist/NiceColorPicker-CQhhjZ8w.cjs +1 -0
- package/dist/NiceColorPicker-Cbop7VMu.js +491 -0
- package/dist/NiceColorPicker-DCgmE-3H.cjs +1 -0
- package/dist/NiceColorPicker-DK30kJgy.js +486 -0
- package/dist/NiceColorPicker-DtPFxDKM.cjs +1 -0
- package/dist/NiceColorPicker-bNJBAU_c.js +598 -0
- package/dist/NiceConnectorConfigForm.doc-BKrDuhXw.cjs +7 -0
- package/dist/NiceConnectorConfigForm.doc-BsHeXz3M.js +31 -0
- package/dist/NiceDataBranchGraph.doc-Axidz41W.js +29 -0
- package/dist/NiceDataBranchGraph.doc-sjLmrrtE.cjs +5 -0
- package/dist/NiceDataBranchManager.doc-B1-Rp2X4.cjs +6 -0
- package/dist/NiceDataBranchManager.doc-GUqfTFvW.js +30 -0
- package/dist/NiceDataConflictResolver.doc-CjQryrTu.cjs +5 -0
- package/dist/NiceDataConflictResolver.doc-L-TcnQMX.js +29 -0
- package/dist/NiceDataDiffViewer.doc-BzGrf0U-.cjs +6 -0
- package/dist/NiceDataDiffViewer.doc-goxhSldH.js +30 -0
- package/dist/NiceDataGrid-BDEIbuBS.js +2218 -0
- package/dist/NiceDataGrid-BOCJr6XF.js +2217 -0
- package/dist/NiceDataGrid-BV5Oh-gy.cjs +10 -0
- package/dist/NiceDataGrid-CS5aB-EN.cjs +10 -0
- package/dist/NiceDataGrid-Dd7SI-M6.cjs +10 -0
- package/dist/NiceDataGrid-DjZchXYG.js +2217 -0
- package/dist/NiceDataMapper.doc-QmnmnvVq.js +30 -0
- package/dist/NiceDataMapper.doc-ytGVtYVr.cjs +6 -0
- package/dist/NiceDataMergeBuilder.doc-BcmzKxh2.cjs +6 -0
- package/dist/NiceDataMergeBuilder.doc-BvYa4aUJ.js +30 -0
- package/dist/NiceDataSnapshot.doc-C73K1biG.cjs +6 -0
- package/dist/NiceDataSnapshot.doc-hU7wnOzM.js +30 -0
- package/dist/NiceDesktopViews.doc-DJjYlyP2.cjs +1 -0
- package/dist/NiceDesktopViews.doc-ly-VUAJj.js +25 -0
- package/dist/NiceDeviceControlCard.doc-BZIo92-w.cjs +1 -0
- package/dist/NiceDeviceControlCard.doc-DIzZcW9L.js +25 -0
- package/dist/NiceDocumentViewer-B9VIVKyw.js +726 -0
- package/dist/NiceDocumentViewer-CDXAmPp7.cjs +180 -0
- package/dist/NiceDocumentationViewer.doc-BSNGa7a_.js +25 -0
- package/dist/NiceDocumentationViewer.doc-CrwlvPFg.cjs +1 -0
- package/dist/NiceEnergyChart.doc-DW-jllDV.cjs +1 -0
- package/dist/NiceEnergyChart.doc-DnEehTff.js +25 -0
- package/dist/NiceFeatureGate.doc-DN17uS_B.cjs +3 -0
- package/dist/NiceFeatureGate.doc-DNfFSRrh.js +27 -0
- package/dist/NiceForm-BCEXovJR.cjs +1 -0
- package/dist/NiceForm-BcN4p2kG.cjs +1 -0
- package/dist/NiceForm-D7oyWHXg.js +4820 -0
- package/dist/NiceForm-DUhxXArr.js +4817 -0
- package/dist/NiceForm-tIXS-M6b.js +4770 -0
- package/dist/NiceForm-uCeVmTrD.cjs +1 -0
- package/dist/NiceFormItem.doc-BJwEnDz2.js +36 -0
- package/dist/NiceFormItem.doc-Ck3PgaPD.cjs +12 -0
- package/dist/NiceGantt-CTbqCuwv.cjs +1 -0
- package/dist/NiceGantt-Dao7pN9z.js +328 -0
- package/dist/NiceGantt.doc-B6YZcJvG.cjs +11 -0
- package/dist/NiceGantt.doc-DsI1QXly.js +48 -0
- package/dist/NiceGitBlame.doc-BQ2KvGkD.js +30 -0
- package/dist/NiceGitBlame.doc-DuTSjZVN.cjs +6 -0
- package/dist/NiceGitDiffViewer.doc-D24AGos_.js +30 -0
- package/dist/NiceGitDiffViewer.doc-D9FVquBC.cjs +6 -0
- package/dist/NiceGitGraph.doc-C-8VGMIz.js +29 -0
- package/dist/NiceGitGraph.doc-eRvTmefl.cjs +5 -0
- package/dist/NiceGitHooks.doc-DCTVw7HX.cjs +5 -0
- package/dist/NiceGitHooks.doc-OCFj5w6v.js +29 -0
- package/dist/NiceHtmlEditor-BYk1roA4.cjs +10 -0
- package/dist/NiceHtmlEditor-C5kLeF9H.cjs +10 -0
- package/dist/NiceHtmlEditor-CFVMIC5L.js +848 -0
- package/dist/NiceHtmlEditor-DUwcqj5N.cjs +10 -0
- package/dist/NiceHtmlEditor-DiAphF1k.js +889 -0
- package/dist/NiceHtmlEditor-mWebBmy1.js +849 -0
- package/dist/NiceInstanceMonitor.doc-BSDZp5xa.js +31 -0
- package/dist/NiceInstanceMonitor.doc-HVbLufnh.cjs +7 -0
- package/dist/NiceLocaleManager.doc-CbVHDEWu.js +25 -0
- package/dist/NiceLocaleManager.doc-XH6hMW0Z.cjs +1 -0
- package/dist/NiceLockButton.doc-BMhSj3TB.cjs +1 -0
- package/dist/NiceLockButton.doc-DvHGhcfm.js +25 -0
- package/dist/NiceLoginForm-BHyDY7br.cjs +1 -0
- package/dist/NiceLoginForm-BuxFY2Rk.js +750 -0
- package/dist/NiceLoginForm-DQe77Isv.js +747 -0
- package/dist/NiceLoginForm-NBCo-DUZ.cjs +1 -0
- package/dist/NiceLoginForm.css +1 -0
- package/dist/NiceMAM.doc-CsQ57saR.cjs +8 -0
- package/dist/NiceMAM.doc-hjW7buTH.js +32 -0
- package/dist/NiceMention--3P3vO-W.cjs +430 -0
- package/dist/NiceMention-CA7CL5BI.js +11263 -0
- package/dist/NiceMention-CHcKRl-L.cjs +430 -0
- package/dist/NiceMention-Co2cqkVM.js +11316 -0
- package/dist/NiceMention-DJD0BLcp.js +11269 -0
- package/dist/NiceMention-DcaUEMSg.cjs +430 -0
- package/dist/NiceMention.css +1 -1
- package/dist/NiceModal-C4p8a82e.cjs +1 -0
- package/dist/NiceModal-TNlkaL_i.js +85 -0
- package/dist/NiceModuleLifecyclePanel-BWbKdVC_.js +7054 -0
- package/dist/NiceModuleLifecyclePanel-CZHIzvkE.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-DV3F_QdI.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-OC9YK2kG.js +7052 -0
- package/dist/NiceModuleLifecyclePanel-_OcfDmtC.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-gaZkIEtK.js +6825 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NiceNetworkDiscoveryPanel.doc-B0RtGaS3.js +25 -0
- package/dist/NiceNetworkDiscoveryPanel.doc-BFgFZI5G.cjs +1 -0
- package/dist/NicePagination-8XsBbMNx.js +165 -0
- package/dist/NicePagination-B3nZDZem.js +165 -0
- package/dist/NicePagination-B8rg1Y67.cjs +1 -0
- package/dist/NicePagination-CkOoXf0f.js +165 -0
- package/dist/NicePagination-D7lek1G7.cjs +1 -0
- package/dist/NicePagination-OjTEfZJE.cjs +1 -0
- package/dist/NicePipelineEditor.doc-CjqDKe2x.js +29 -0
- package/dist/NicePipelineEditor.doc-DZ0pTVTp.cjs +5 -0
- package/dist/NicePipelineMonitor.doc-C88-TagI.cjs +5 -0
- package/dist/NicePipelineMonitor.doc-CFtH4XJx.js +29 -0
- package/dist/NicePivotGrid-BJRSciWl.js +1183 -0
- package/dist/NicePivotGrid-BaZa2YZW.js +1157 -0
- package/dist/NicePivotGrid-CS1dPmNI.cjs +152 -0
- package/dist/NicePivotGrid-D2AxqDzJ.js +1183 -0
- package/dist/NicePivotGrid-DxQ6Py9D.cjs +152 -0
- package/dist/NicePivotGrid-DyOPhPO8.cjs +152 -0
- package/dist/NiceRoomGrid.doc-DJPVUQVg.cjs +8 -0
- package/dist/NiceRoomGrid.doc-DLHJS_Wb.js +32 -0
- package/dist/NiceSavedQueryPanel-B5HhqlAI.cjs +586 -0
- package/dist/NiceSavedQueryPanel-BC84uRfh.cjs +586 -0
- package/dist/NiceSavedQueryPanel-CMStDOKe.js +5125 -0
- package/dist/NiceSavedQueryPanel-CMfcODIO.js +5120 -0
- package/dist/NiceSavedQueryPanel-D2i34e_b.cjs +586 -0
- package/dist/NiceSavedQueryPanel-mPO2THs7.js +5142 -0
- package/dist/NiceSavedQueryPanel.css +1 -1
- package/dist/NiceSceneBar.doc-09sc3yuF.cjs +1 -0
- package/dist/NiceSceneBar.doc-DLePMuVU.js +25 -0
- package/dist/NiceSceneSelector.doc-CPzCAy-d.cjs +7 -0
- package/dist/NiceSceneSelector.doc-FCLZvPc0.js +31 -0
- package/dist/NiceScheduler-7gP7vcLy.cjs +5 -0
- package/dist/NiceScheduler-BAJRzFQN.js +1690 -0
- package/dist/NiceScheduler-Cy7F9tgH.js +1693 -0
- package/dist/NiceScheduler-DquRUZxD.cjs +5 -0
- package/dist/NiceScheduler-dJ7gHDv7.cjs +5 -0
- package/dist/NiceScheduler-l8N4yCWd.js +1716 -0
- package/dist/NiceSchedulerViews.doc-C9opZpgg.cjs +1 -0
- package/dist/NiceSchedulerViews.doc-Dy7ZH1iL.js +25 -0
- package/dist/NiceSelect-CZR8Zu_k.js +420 -0
- package/dist/NiceSelect-DIKGbaJo.cjs +1 -0
- package/dist/NiceSelect-DZB1Rs9x.js +435 -0
- package/dist/NiceSelect-tMz9QQUs.cjs +1 -0
- package/dist/NiceSensorGaugePanel.doc-BHirbWLn.cjs +8 -0
- package/dist/NiceSensorGaugePanel.doc-DjKmooI6.js +32 -0
- package/dist/NiceSpotlight.doc-BVZFfDVI.cjs +10 -0
- package/dist/NiceSpotlight.doc-JqwkzrEm.js +34 -0
- package/dist/NiceStateDesigner.doc-CfnwiwfU.js +29 -0
- package/dist/NiceStateDesigner.doc-DV4zEC50.cjs +5 -0
- package/dist/NiceStepper.doc-5VjaLM6r.js +31 -0
- package/dist/NiceStepper.doc-f8lYpr33.cjs +7 -0
- package/dist/NiceStreamDashboard.doc-74KUXya1.cjs +8 -0
- package/dist/NiceStreamDashboard.doc-k8PQfCM0.js +32 -0
- package/dist/NiceTaskInbox.doc-CHrxthqp.js +32 -0
- package/dist/NiceTaskInbox.doc-CdCTfgBq.cjs +8 -0
- package/dist/NiceTestBuilder.doc-BoBzLfa0.js +30 -0
- package/dist/NiceTestBuilder.doc-Cj1fNTvk.cjs +6 -0
- package/dist/NiceTranscoder.doc-Dnirl3wg.cjs +7 -0
- package/dist/NiceTranscoder.doc-cInCYZh7.js +31 -0
- package/dist/NiceVideoAnnotator.doc-C1iEi7OM.cjs +7 -0
- package/dist/NiceVideoAnnotator.doc-C8zyfKH_.js +31 -0
- package/dist/NiceVideoEditor.doc-C6mhEb-q.cjs +7 -0
- package/dist/NiceVideoEditor.doc-lrwmKjqj.js +31 -0
- package/dist/NiceWindow-BEov3s9F.js +2094 -0
- package/dist/NiceWindow-CDt6PCEg.cjs +1 -0
- package/dist/NiceWindow-CWN8OCHF.js +2109 -0
- package/dist/NiceWindow-Dd8qjkIW.cjs +1 -0
- package/dist/NiceWindow.css +1 -1
- package/dist/charts-Bo2WAI5T.cjs +768 -0
- package/dist/charts-ByrdMeQP.js +4767 -0
- package/dist/charts-C047IMVn.cjs +768 -0
- package/dist/charts-CCXSb3xk.js +4752 -0
- package/dist/charts-CqETcUhH.js +4752 -0
- package/dist/charts-DouiiHOT.cjs +768 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.css +1 -1
- package/dist/charts.d.ts +28 -18
- package/dist/charts.mjs +1 -1
- package/dist/core-B8eBUE4m.js +438 -0
- package/dist/core-BL-KmGYC.js +795 -0
- package/dist/core-Chg-oYCr.cjs +1 -0
- package/dist/core-CxBnKAhs.cjs +1 -0
- package/dist/core-D_LRh59n.js +795 -0
- package/dist/core-lBFqvT0V.cjs +1 -0
- package/dist/core-lazy-Bh2yg4Et.js +351 -0
- package/dist/core-lazy-CkWKjfc6.cjs +1 -0
- package/dist/data-branching-Dak1_ZKR.cjs +1 -0
- package/dist/data-branching-DiLAO4Qt.js +6386 -0
- package/dist/data-branching-Km4lc8P_.cjs +1 -0
- package/dist/data-branching-YQtJJEtn.js +6273 -0
- package/dist/data-branching.cjs +1 -1
- package/dist/data-branching.mjs +1 -1
- package/dist/data.cjs +1 -1
- package/dist/data.d.ts +22 -69
- package/dist/data.mjs +3 -3
- package/dist/devops-D5yIDM3e.js +8312 -0
- package/dist/devops-DkVluHBp.cjs +17 -0
- package/dist/devops-rVpB0ZAX.cjs +17 -0
- package/dist/devops-zsMUueTd.js +8648 -0
- package/dist/devops.cjs +1 -1
- package/dist/devops.d.ts +3 -3
- package/dist/devops.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +106 -63
- package/dist/editors.mjs +55 -54
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +76 -2
- package/dist/feedback.mjs +10 -9
- package/dist/index.cjs +261 -261
- package/dist/index.css +1 -1
- package/dist/index.d.ts +831 -433
- package/dist/index.mjs +27339 -26540
- package/dist/injectStyleOnce-BzC_BCs_.js +9 -0
- package/dist/injectStyleOnce-DeWaxcdf.cjs +1 -0
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +9 -7
- package/dist/lazy.mjs +55 -55
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.css +1 -0
- package/dist/navigation.d.ts +99 -43
- package/dist/navigation.mjs +504 -547
- package/dist/no-code-6WyYb3hL.cjs +331 -0
- package/dist/no-code-BH5oVFC6.js +8186 -0
- package/dist/no-code-CnHG5_Vn.js +8186 -0
- package/dist/no-code-DMKlg1Zl.cjs +331 -0
- package/dist/no-code-DiTEnuRv.js +8288 -0
- package/dist/no-code-wG9c0z_T.cjs +331 -0
- package/dist/no-code.cjs +1 -1
- package/dist/no-code.css +1 -1
- package/dist/no-code.d.ts +25 -18
- package/dist/no-code.mjs +3 -3
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.d.ts +36 -30
- package/dist/overlays.mjs +24 -490
- package/dist/pickerCommons-0vyK1Knv.js +547 -0
- package/dist/pickerCommons-BCRiHDE_.cjs +1 -0
- package/dist/pickerCommons-BFbItm8o.cjs +1 -0
- package/dist/pickerCommons-BHirHJyn.js +548 -0
- package/dist/pickerCommons-Bt8JIaTN.cjs +1 -0
- package/dist/pickerCommons-DkumQ3KE.js +548 -0
- package/dist/pickerCommons.css +1 -1
- package/dist/style.css +15 -9
- package/package.json +4 -6
- 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';
|
|
@@ -2423,6 +2424,43 @@ export declare interface Clip {
|
|
|
2423
2424
|
hidden?: boolean;
|
|
2424
2425
|
}
|
|
2425
2426
|
|
|
2427
|
+
export declare interface ClipboardEntry {
|
|
2428
|
+
/** Unique identifier. */
|
|
2429
|
+
id: string;
|
|
2430
|
+
/** Entry type. */
|
|
2431
|
+
type: ClipboardEntryType;
|
|
2432
|
+
/** Raw content/value. */
|
|
2433
|
+
content: string;
|
|
2434
|
+
/** Parsed value (for JSON/record). */
|
|
2435
|
+
parsedValue?: unknown;
|
|
2436
|
+
/** Display label. */
|
|
2437
|
+
label?: string;
|
|
2438
|
+
/** Preview text (truncated). */
|
|
2439
|
+
preview?: string;
|
|
2440
|
+
/** Source application or module. */
|
|
2441
|
+
source?: string;
|
|
2442
|
+
/** Timestamp when copied. */
|
|
2443
|
+
copiedAt: number;
|
|
2444
|
+
/** Whether entry is pinned (won't be auto-removed). */
|
|
2445
|
+
isPinned?: boolean;
|
|
2446
|
+
/** Optional file metadata. */
|
|
2447
|
+
fileMeta?: {
|
|
2448
|
+
name: string;
|
|
2449
|
+
size: number;
|
|
2450
|
+
mimeType: string;
|
|
2451
|
+
};
|
|
2452
|
+
/** Optional image metadata. */
|
|
2453
|
+
imageMeta?: {
|
|
2454
|
+
width: number;
|
|
2455
|
+
height: number;
|
|
2456
|
+
dataUrl?: string;
|
|
2457
|
+
};
|
|
2458
|
+
/** Custom metadata. */
|
|
2459
|
+
meta?: Record<string, unknown>;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
export declare type ClipboardEntryType = 'text' | 'json' | 'record' | 'file' | 'image' | 'html' | 'custom';
|
|
2463
|
+
|
|
2426
2464
|
/** Clipboard export format. */
|
|
2427
2465
|
declare type ClipboardFormat = 'text' | 'csv' | 'json' | 'html' | 'markdown';
|
|
2428
2466
|
|
|
@@ -2655,7 +2693,9 @@ declare interface ComponentDefinition {
|
|
|
2655
2693
|
id: string;
|
|
2656
2694
|
name: string;
|
|
2657
2695
|
category: string;
|
|
2696
|
+
/** NiceIcon name shown in the palette and on the canvas */
|
|
2658
2697
|
icon?: string;
|
|
2698
|
+
/** Props a newly placed component starts with; editable in the Properties panel */
|
|
2659
2699
|
defaultProps?: Record<string, unknown>;
|
|
2660
2700
|
}
|
|
2661
2701
|
|
|
@@ -2748,6 +2788,7 @@ export declare interface ComponentDoc {
|
|
|
2748
2788
|
|
|
2749
2789
|
declare interface ComponentInstance {
|
|
2750
2790
|
id: string;
|
|
2791
|
+
/** The palette entry's id */
|
|
2751
2792
|
type: string;
|
|
2752
2793
|
props: Record<string, unknown>;
|
|
2753
2794
|
children?: ComponentInstance[];
|
|
@@ -3077,6 +3118,8 @@ export { createGraphQLSubscriptionSource }
|
|
|
3077
3118
|
|
|
3078
3119
|
export { createICUTranslator }
|
|
3079
3120
|
|
|
3121
|
+
export { createId }
|
|
3122
|
+
|
|
3080
3123
|
export { createIndexedDBDataSource }
|
|
3081
3124
|
|
|
3082
3125
|
export { createInfiniteScroll }
|
|
@@ -3407,12 +3450,19 @@ export declare const DefaultLoadingFallback: default_2.FC<{
|
|
|
3407
3450
|
height?: number | string;
|
|
3408
3451
|
}>;
|
|
3409
3452
|
|
|
3410
|
-
/**
|
|
3453
|
+
/**
|
|
3454
|
+
* Default cross-platform component type mapping. Built by a pure call, so an app that never
|
|
3455
|
+
* uses it does not carry the table (it used to be filled at import time).
|
|
3456
|
+
*/
|
|
3411
3457
|
export declare const defaultTypeMapping: NiceComponentTypeMapping;
|
|
3412
3458
|
|
|
3413
3459
|
export { defaultValidationMessage }
|
|
3414
3460
|
|
|
3415
|
-
/**
|
|
3461
|
+
/**
|
|
3462
|
+
* Default global registry instance. Built by a pure call, so an app that never uses the registry
|
|
3463
|
+
* does not carry it (nor the controls it registers) — registering at import time kept both in
|
|
3464
|
+
* every bundle that imported anything from `@nice2dev/ui`.
|
|
3465
|
+
*/
|
|
3416
3466
|
export declare const defaultViewRegistry: NiceViewRegistry;
|
|
3417
3467
|
|
|
3418
3468
|
export { DENSITY_VALUES }
|
|
@@ -5061,19 +5111,6 @@ export declare const FlagIcon: default_2.FC<{
|
|
|
5061
5111
|
className?: string;
|
|
5062
5112
|
}>;
|
|
5063
5113
|
|
|
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
5114
|
/**
|
|
5078
5115
|
* Flat token map
|
|
5079
5116
|
*/
|
|
@@ -7039,19 +7076,6 @@ export declare interface ModuleGridResponse<T> {
|
|
|
7039
7076
|
aggregates?: Record<string, number>;
|
|
7040
7077
|
}
|
|
7041
7078
|
|
|
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
7079
|
/** Dynamic import function type. */
|
|
7056
7080
|
export declare type ModuleImportFn = () => Promise<{
|
|
7057
7081
|
default: ComponentType<Record<string, unknown>>;
|
|
@@ -7221,7 +7245,9 @@ export declare interface NiceAccordionProps extends NiceBaseProps {
|
|
|
7221
7245
|
* {@link NiceAccountPicker} — Accounting account selector with search,
|
|
7222
7246
|
* tree view support, and account type indicators.
|
|
7223
7247
|
*/
|
|
7224
|
-
export declare const NiceAccountPicker: default_2.ForwardRefExoticComponent<NiceAccountPickerProps & default_2.RefAttributes<HTMLDivElement
|
|
7248
|
+
export declare const NiceAccountPicker: default_2.ForwardRefExoticComponent<NiceAccountPickerProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7249
|
+
displayName: string;
|
|
7250
|
+
};
|
|
7225
7251
|
|
|
7226
7252
|
/** Props for the {@link NiceAccountPicker} component. */
|
|
7227
7253
|
export declare interface NiceAccountPickerProps extends NiceFormFieldProps {
|
|
@@ -7230,7 +7256,7 @@ export declare interface NiceAccountPickerProps extends NiceFormFieldProps {
|
|
|
7230
7256
|
/** Fires when selection changes. */
|
|
7231
7257
|
onChange?: (code: string, account: AccountEntry) => void;
|
|
7232
7258
|
/** Available accounts (flat or tree). */
|
|
7233
|
-
accounts
|
|
7259
|
+
accounts?: AccountEntry[];
|
|
7234
7260
|
/** Whether to display as a tree. */
|
|
7235
7261
|
treeView?: boolean;
|
|
7236
7262
|
/** Placeholder. */
|
|
@@ -7247,7 +7273,9 @@ export declare interface NiceAccountPickerProps extends NiceFormFieldProps {
|
|
|
7247
7273
|
* {@link NiceAchievementBadge} — Displays achievement/badge with locked/unlocked/in-progress states,
|
|
7248
7274
|
* rarity, points and progress indicator.
|
|
7249
7275
|
*/
|
|
7250
|
-
export declare const NiceAchievementBadge: default_2.ForwardRefExoticComponent<NiceAchievementBadgeProps & default_2.RefAttributes<HTMLDivElement
|
|
7276
|
+
export declare const NiceAchievementBadge: default_2.ForwardRefExoticComponent<NiceAchievementBadgeProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7277
|
+
displayName: string;
|
|
7278
|
+
};
|
|
7251
7279
|
|
|
7252
7280
|
/** Props for the {@link NiceAchievementBadge} component. */
|
|
7253
7281
|
export declare interface NiceAchievementBadgeProps {
|
|
@@ -7351,7 +7379,7 @@ export declare interface NiceActionSheetProps extends NiceBaseProps {
|
|
|
7351
7379
|
/** Optional header title. */
|
|
7352
7380
|
title?: string;
|
|
7353
7381
|
/** Action items. */
|
|
7354
|
-
items
|
|
7382
|
+
items?: NiceActionSheetItem[];
|
|
7355
7383
|
/** Show a cancel button at the bottom. */
|
|
7356
7384
|
showCancelButton?: boolean;
|
|
7357
7385
|
/** Cancel button text. */
|
|
@@ -7381,7 +7409,9 @@ export declare const NiceAddress: default_2.FC<NiceAddressProps>;
|
|
|
7381
7409
|
* {@link NiceAddressInput} — A structured address entry form with street, city, postal code, state and country fields.
|
|
7382
7410
|
* Supports custom layouts, field visibility, country selection, and postal code validation.
|
|
7383
7411
|
*/
|
|
7384
|
-
export declare const NiceAddressInput: default_2.ForwardRefExoticComponent<NiceAddressInputProps & default_2.RefAttributes<HTMLDivElement
|
|
7412
|
+
export declare const NiceAddressInput: default_2.ForwardRefExoticComponent<NiceAddressInputProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7413
|
+
displayName: string;
|
|
7414
|
+
};
|
|
7385
7415
|
|
|
7386
7416
|
/** Props for the {@link NiceAddressInput} component — a structured address entry form. */
|
|
7387
7417
|
export declare interface NiceAddressInputProps extends NiceFormFieldProps {
|
|
@@ -7505,12 +7535,14 @@ export declare interface NiceAlertProps extends NiceStandardProps {
|
|
|
7505
7535
|
* {@link NiceAmountBreakdown} — Displays a financial breakdown (net / VAT / gross)
|
|
7506
7536
|
* with formatted currency amounts and optional subtotal dividers.
|
|
7507
7537
|
*/
|
|
7508
|
-
export declare const NiceAmountBreakdown: default_2.ForwardRefExoticComponent<NiceAmountBreakdownProps & default_2.RefAttributes<HTMLDivElement
|
|
7538
|
+
export declare const NiceAmountBreakdown: default_2.ForwardRefExoticComponent<NiceAmountBreakdownProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7539
|
+
displayName: string;
|
|
7540
|
+
};
|
|
7509
7541
|
|
|
7510
7542
|
/** Props for the {@link NiceAmountBreakdown} component. */
|
|
7511
7543
|
export declare interface NiceAmountBreakdownProps extends NiceFormFieldProps {
|
|
7512
7544
|
/** Lines to display (net, tax, discount, total etc.). */
|
|
7513
|
-
lines
|
|
7545
|
+
lines?: BreakdownLine[];
|
|
7514
7546
|
/** Currency code (ISO 4217). */
|
|
7515
7547
|
currency?: string;
|
|
7516
7548
|
/** Locale for number formatting. */
|
|
@@ -7601,7 +7633,7 @@ export declare interface NiceAnchorItem {
|
|
|
7601
7633
|
/** Props for {@link NiceAnchor} — table-of-contents navigation list. */
|
|
7602
7634
|
export declare interface NiceAnchorProps extends NiceStandardProps {
|
|
7603
7635
|
/** Flat or nested list of headings. */
|
|
7604
|
-
items
|
|
7636
|
+
items?: NiceAnchorItem[];
|
|
7605
7637
|
/** Render as `position: sticky` so the list stays on screen while scrolling. */
|
|
7606
7638
|
affix?: boolean;
|
|
7607
7639
|
/** Top offset (px) for `position: sticky` placement. */
|
|
@@ -7668,7 +7700,9 @@ export declare interface NiceAPIFlowProps extends NiceBaseProps {
|
|
|
7668
7700
|
onSave?: (flow: APIFlowDefinition) => void;
|
|
7669
7701
|
}
|
|
7670
7702
|
|
|
7671
|
-
export declare const NiceAppLayout: default_2.ForwardRefExoticComponent<NiceAppLayoutProps & default_2.RefAttributes<HTMLDivElement
|
|
7703
|
+
export declare const NiceAppLayout: default_2.ForwardRefExoticComponent<NiceAppLayoutProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7704
|
+
displayName: string;
|
|
7705
|
+
};
|
|
7672
7706
|
|
|
7673
7707
|
/** Props for the {@link NiceAppLayout} component — a top-level application shell with header, collapsible sidebar, content area, and footer. */
|
|
7674
7708
|
export declare interface NiceAppLayoutProps extends NiceBaseProps {
|
|
@@ -7704,7 +7738,9 @@ export declare interface NiceAppManifest {
|
|
|
7704
7738
|
* bar. Built to be composed with `NiceMenu` and the content of
|
|
7705
7739
|
* your choice (e.g. `NiceAudioStudio` builds on it).
|
|
7706
7740
|
*/
|
|
7707
|
-
export declare const NiceAppShell: default_2.ForwardRefExoticComponent<NiceAppShellProps & default_2.RefAttributes<HTMLDivElement
|
|
7741
|
+
export declare const NiceAppShell: default_2.ForwardRefExoticComponent<NiceAppShellProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7742
|
+
displayName: string;
|
|
7743
|
+
};
|
|
7708
7744
|
|
|
7709
7745
|
/**
|
|
7710
7746
|
* Props for {@link NiceAppShell} — a generic desktop-application frame
|
|
@@ -7768,7 +7804,9 @@ export declare interface NiceAspectRatioProps extends NiceStandardProps {
|
|
|
7768
7804
|
maxWidth?: number | string;
|
|
7769
7805
|
}
|
|
7770
7806
|
|
|
7771
|
-
export declare const NiceAssessment: default_2.ForwardRefExoticComponent<NiceAssessmentProps & default_2.RefAttributes<HTMLDivElement
|
|
7807
|
+
export declare const NiceAssessment: default_2.ForwardRefExoticComponent<NiceAssessmentProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7808
|
+
displayName: string;
|
|
7809
|
+
};
|
|
7772
7810
|
|
|
7773
7811
|
export declare interface NiceAssessmentProps {
|
|
7774
7812
|
/** Behaviour profile. Presets (`NiceQuiz`/`NiceExam`/`NiceSurvey`/`NicePoll`) set this. */
|
|
@@ -7964,7 +8002,9 @@ export declare interface NiceAuditLogProps {
|
|
|
7964
8002
|
'data-testid'?: string;
|
|
7965
8003
|
}
|
|
7966
8004
|
|
|
7967
|
-
export declare const NiceAuthButtons: default_2.ForwardRefExoticComponent<NiceAuthButtonsProps & default_2.RefAttributes<HTMLDivElement
|
|
8005
|
+
export declare const NiceAuthButtons: default_2.ForwardRefExoticComponent<NiceAuthButtonsProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
8006
|
+
displayName: string;
|
|
8007
|
+
};
|
|
7968
8008
|
|
|
7969
8009
|
export declare interface NiceAuthButtonsProps {
|
|
7970
8010
|
/**
|
|
@@ -8004,7 +8044,9 @@ export declare interface NiceAuthButtonsProps {
|
|
|
8004
8044
|
* {@link NiceAuthGuard} — Protected route/section wrapper.
|
|
8005
8045
|
* Checks authentication and permission/role requirements before rendering children.
|
|
8006
8046
|
*/
|
|
8007
|
-
export declare const NiceAuthGuard: default_2.ForwardRefExoticComponent<NiceAuthGuardProps & default_2.RefAttributes<HTMLDivElement
|
|
8047
|
+
export declare const NiceAuthGuard: default_2.ForwardRefExoticComponent<NiceAuthGuardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
8048
|
+
displayName: string;
|
|
8049
|
+
};
|
|
8008
8050
|
|
|
8009
8051
|
/** Props for the {@link NiceAuthGuard} component. */
|
|
8010
8052
|
export declare interface NiceAuthGuardProps {
|
|
@@ -8067,8 +8109,6 @@ export declare interface NiceAutocompleteProps extends NiceFormFieldProps {
|
|
|
8067
8109
|
renderOption?: (option: NiceOption, query: string) => default_2.ReactNode;
|
|
8068
8110
|
/** Highlight matching text in suggestions (default true). */
|
|
8069
8111
|
highlightMatch?: boolean;
|
|
8070
|
-
/** Alias for options — array of string suggestions. */
|
|
8071
|
-
suggestions?: (string | NiceOption)[];
|
|
8072
8112
|
/**
|
|
8073
8113
|
* When `true` (default), focusing the field (before typing) opens the dropdown
|
|
8074
8114
|
* with **all** options sorted alphabetically. Set `false` to only show
|
|
@@ -8084,7 +8124,7 @@ export declare const NiceAutomationRuleEditor: default_2.FC<NiceAutomationRuleEd
|
|
|
8084
8124
|
export declare interface NiceAutomationRuleEditorProps extends NiceBaseProps {
|
|
8085
8125
|
rule: AutomationRuleDto;
|
|
8086
8126
|
onChange: (rule: AutomationRuleDto) => void;
|
|
8087
|
-
availableDevices
|
|
8127
|
+
availableDevices?: SmartDeviceDto[];
|
|
8088
8128
|
availableScenes?: SmartSceneDto[];
|
|
8089
8129
|
/** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
|
|
8090
8130
|
tutorial?: NiceComponentTutorial;
|
|
@@ -8166,7 +8206,7 @@ export declare function NiceBackupDiffViewer({ diffs, title, defaultMode, defaul
|
|
|
8166
8206
|
|
|
8167
8207
|
export declare interface NiceBackupDiffViewerProps {
|
|
8168
8208
|
/** Array of individual entity diffs */
|
|
8169
|
-
diffs
|
|
8209
|
+
diffs?: BackupDiff[];
|
|
8170
8210
|
/** Title shown in the toolbar */
|
|
8171
8211
|
title?: string;
|
|
8172
8212
|
/** Default view mode ('split' | 'unified' | 'fields') — default 'fields' */
|
|
@@ -8181,7 +8221,7 @@ export declare function NiceBackupList({ entries, onRestore, onDownload, onDelet
|
|
|
8181
8221
|
|
|
8182
8222
|
export declare interface NiceBackupListProps {
|
|
8183
8223
|
/** List of backup entries to display */
|
|
8184
|
-
entries
|
|
8224
|
+
entries?: BackupEntry[];
|
|
8185
8225
|
/** Called when the user requests to restore a backup */
|
|
8186
8226
|
onRestore?: (entry: BackupEntry) => void;
|
|
8187
8227
|
/** Called when the user requests to download a backup */
|
|
@@ -8272,7 +8312,7 @@ export declare function NiceBackupTagEditor({ tags, onChange, suggestions, allow
|
|
|
8272
8312
|
|
|
8273
8313
|
export declare interface NiceBackupTagEditorProps {
|
|
8274
8314
|
/** Current tags */
|
|
8275
|
-
tags
|
|
8315
|
+
tags?: BackupTag[];
|
|
8276
8316
|
/** Called when tags change */
|
|
8277
8317
|
onChange: (tags: BackupTag[]) => void;
|
|
8278
8318
|
/** Suggested tag keys/labels for quick-add */
|
|
@@ -8317,17 +8357,13 @@ export declare interface NiceBadgeProps extends NiceStandardProps {
|
|
|
8317
8357
|
onRemove?: () => void;
|
|
8318
8358
|
}
|
|
8319
8359
|
|
|
8320
|
-
export declare const NiceBarcode: ForwardRefExoticComponent<NiceBarcodeProps & RefAttributes<HTMLCanvasElement
|
|
8360
|
+
export declare const NiceBarcode: ForwardRefExoticComponent<NiceBarcodeProps & RefAttributes<HTMLCanvasElement>> & {
|
|
8361
|
+
displayName: string;
|
|
8362
|
+
};
|
|
8321
8363
|
|
|
8322
8364
|
/** Supported barcode symbologies. */
|
|
8323
8365
|
export declare type NiceBarcodeFormat = 'CODE128' | 'CODE39' | 'EAN13' | 'EAN8' | 'UPC' | 'ITF14' | 'MSI' | 'codabar';
|
|
8324
8366
|
|
|
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
8367
|
/** Props for the {@link NiceBarcode} component — renders a barcode on a `<canvas>`. */
|
|
8332
8368
|
export declare interface NiceBarcodeProps extends NiceStandardProps {
|
|
8333
8369
|
/** Text value to encode (controlled). Omit it to let the barcode keep its own. */
|
|
@@ -8395,7 +8431,7 @@ declare interface NiceBarGaugeItem {
|
|
|
8395
8431
|
/** Props for the {@link NiceBarGauge} component — a circular segmented bar gauge. */
|
|
8396
8432
|
export declare interface NiceBarGaugeProps extends NiceStandardProps {
|
|
8397
8433
|
/** Gauge items. */
|
|
8398
|
-
items
|
|
8434
|
+
items?: NiceBarGaugeItem[];
|
|
8399
8435
|
/** Minimum scale value. */
|
|
8400
8436
|
min?: number;
|
|
8401
8437
|
/** Maximum scale value. */
|
|
@@ -8443,7 +8479,9 @@ export declare interface NiceBlockquoteProps extends Omit<NiceStandardProps, 'va
|
|
|
8443
8479
|
|
|
8444
8480
|
export declare type NiceBlockquoteVariant = 'default' | 'bordered' | 'filled';
|
|
8445
8481
|
|
|
8446
|
-
export declare const NiceBlockUI: default_2.ForwardRefExoticComponent<NiceBlockUIProps & default_2.RefAttributes<HTMLDivElement
|
|
8482
|
+
export declare const NiceBlockUI: default_2.ForwardRefExoticComponent<NiceBlockUIProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
8483
|
+
displayName: string;
|
|
8484
|
+
};
|
|
8447
8485
|
|
|
8448
8486
|
/** Props for the {@link NiceBlockUI} component — an overlay that blocks user interaction on its children. */
|
|
8449
8487
|
export declare interface NiceBlockUIProps extends NiceBaseProps {
|
|
@@ -8506,7 +8544,7 @@ export declare const NiceBranchManager: default_2.FC<NiceBranchManagerProps>;
|
|
|
8506
8544
|
|
|
8507
8545
|
export declare interface NiceBranchManagerProps extends NiceBaseProps {
|
|
8508
8546
|
/** All branches */
|
|
8509
|
-
branches
|
|
8547
|
+
branches?: GitBranch_3[];
|
|
8510
8548
|
/** Current HEAD branch */
|
|
8511
8549
|
currentBranch?: string;
|
|
8512
8550
|
/** Default branch */
|
|
@@ -8548,7 +8586,7 @@ export declare interface NiceBreadcrumbProps extends NiceBaseProps {
|
|
|
8548
8586
|
/** Breadcrumb size. */
|
|
8549
8587
|
size?: NiceSize;
|
|
8550
8588
|
/** Ordered breadcrumb items (left-to-right). */
|
|
8551
|
-
items
|
|
8589
|
+
items?: NiceBreadcrumbItem[];
|
|
8552
8590
|
/** Custom separator between crumbs (default "/"). */
|
|
8553
8591
|
separator?: default_2.ReactNode;
|
|
8554
8592
|
}
|
|
@@ -8608,7 +8646,9 @@ declare type NiceBulletState = 'normal' | 'loading' | 'error';
|
|
|
8608
8646
|
* {@link NiceBusinessCard} — Business entity card showing company/person info
|
|
8609
8647
|
* with read-only display and optional inline editing.
|
|
8610
8648
|
*/
|
|
8611
|
-
export declare const NiceBusinessCard: default_2.ForwardRefExoticComponent<NiceBusinessCardProps & default_2.RefAttributes<HTMLDivElement
|
|
8649
|
+
export declare const NiceBusinessCard: default_2.ForwardRefExoticComponent<NiceBusinessCardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
8650
|
+
displayName: string;
|
|
8651
|
+
};
|
|
8612
8652
|
|
|
8613
8653
|
/**
|
|
8614
8654
|
* Props for the {@link NiceBusinessCard} component.
|
|
@@ -8655,7 +8695,9 @@ export declare interface NiceBusinessCardProps {
|
|
|
8655
8695
|
id?: string;
|
|
8656
8696
|
}
|
|
8657
8697
|
|
|
8658
|
-
export declare const NiceButton: default_2.ForwardRefExoticComponent<NiceButtonProps & default_2.RefAttributes<HTMLButtonElement
|
|
8698
|
+
export declare const NiceButton: default_2.ForwardRefExoticComponent<NiceButtonProps & default_2.RefAttributes<HTMLButtonElement>> & {
|
|
8699
|
+
displayName: string;
|
|
8700
|
+
};
|
|
8659
8701
|
|
|
8660
8702
|
export declare const NiceButtonGroup: default_2.FC<NiceButtonGroupProps>;
|
|
8661
8703
|
|
|
@@ -8833,7 +8875,9 @@ export declare interface NiceCardGridProps extends NiceStandardProps {
|
|
|
8833
8875
|
* With `value`/`onChange` it also acts as a single-select card radio group, and
|
|
8834
8876
|
* with `items`/`renderCard` it renders a searchable data grid of cards.
|
|
8835
8877
|
*/
|
|
8836
|
-
export declare const NiceCardGroup: default_2.ForwardRefExoticComponent<NiceCardGroupProps & default_2.RefAttributes<HTMLDivElement
|
|
8878
|
+
export declare const NiceCardGroup: default_2.ForwardRefExoticComponent<NiceCardGroupProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
8879
|
+
displayName: string;
|
|
8880
|
+
};
|
|
8837
8881
|
|
|
8838
8882
|
/** An item rendered by {@link NiceCardGroup} in data mode (consolidated from the former NiceCardView). */
|
|
8839
8883
|
export declare interface NiceCardGroupItem {
|
|
@@ -8944,12 +8988,14 @@ export declare interface NiceCardProps extends NiceBaseProps {
|
|
|
8944
8988
|
/** Value type used by selectable cards / card radio groups. */
|
|
8945
8989
|
export declare type NiceCardValue = string | number;
|
|
8946
8990
|
|
|
8947
|
-
export declare const NiceCarousel: default_2.ForwardRefExoticComponent<NiceCarouselProps & default_2.RefAttributes<HTMLDivElement
|
|
8991
|
+
export declare const NiceCarousel: default_2.ForwardRefExoticComponent<NiceCarouselProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
8992
|
+
displayName: string;
|
|
8993
|
+
};
|
|
8948
8994
|
|
|
8949
8995
|
/** Props for the {@link NiceCarousel} component — a swipeable slide show with arrows, dots, and auto-play. */
|
|
8950
8996
|
export declare interface NiceCarouselProps extends NiceStandardProps {
|
|
8951
8997
|
/** Array of items to display */
|
|
8952
|
-
items
|
|
8998
|
+
items?: default_2.ReactNode[];
|
|
8953
8999
|
/** How many visible slides at a time (default: 1) */
|
|
8954
9000
|
visibleCount?: number;
|
|
8955
9001
|
/** Show navigation arrows */
|
|
@@ -9098,7 +9144,7 @@ export declare interface NiceChartAnnotation {
|
|
|
9098
9144
|
* with stacking, zoom, crosshair, annotations, legend interaction and PNG export.
|
|
9099
9145
|
*/
|
|
9100
9146
|
export declare interface NiceChartProps extends NiceStandardProps {
|
|
9101
|
-
series
|
|
9147
|
+
series?: NiceChartSeries[];
|
|
9102
9148
|
categories?: string[];
|
|
9103
9149
|
width?: number;
|
|
9104
9150
|
height?: number;
|
|
@@ -9136,7 +9182,9 @@ export declare interface NiceChartSeries {
|
|
|
9136
9182
|
type?: 'bar' | 'line' | 'area' | 'scatter' | 'radar';
|
|
9137
9183
|
}
|
|
9138
9184
|
|
|
9139
|
-
export declare const NiceChat: default_2.ForwardRefExoticComponent<NiceChatProps & default_2.RefAttributes<HTMLDivElement
|
|
9185
|
+
export declare const NiceChat: default_2.ForwardRefExoticComponent<NiceChatProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
9186
|
+
displayName: string;
|
|
9187
|
+
};
|
|
9140
9188
|
|
|
9141
9189
|
/** A message in the {@link NiceChat} component. */
|
|
9142
9190
|
export declare interface NiceChatMessage {
|
|
@@ -9179,7 +9227,9 @@ export declare interface NiceChatProps extends NiceBaseProps {
|
|
|
9179
9227
|
renderMessage?: (msg: NiceChatMessage) => default_2.ReactNode;
|
|
9180
9228
|
}
|
|
9181
9229
|
|
|
9182
|
-
export declare const NiceCheckbox: default_2.ForwardRefExoticComponent<NiceCheckboxProps & default_2.RefAttributes<HTMLInputElement
|
|
9230
|
+
export declare const NiceCheckbox: default_2.ForwardRefExoticComponent<NiceCheckboxProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
9231
|
+
displayName: string;
|
|
9232
|
+
};
|
|
9183
9233
|
|
|
9184
9234
|
/**
|
|
9185
9235
|
* Renders a `role="group"` of native `<input type="checkbox">` for
|
|
@@ -9209,7 +9259,7 @@ export declare interface NiceCheckboxGroupProps<T = string> extends NiceStandard
|
|
|
9209
9259
|
/** Default selected values (uncontrolled). */
|
|
9210
9260
|
defaultValue?: T[];
|
|
9211
9261
|
/** Available options. */
|
|
9212
|
-
options
|
|
9262
|
+
options?: NiceCheckboxGroupOption<T>[];
|
|
9213
9263
|
/** Disable every option. Per-option `disabled` still respected if false. */
|
|
9214
9264
|
disabled?: boolean;
|
|
9215
9265
|
/** Layout direction. */
|
|
@@ -9313,6 +9363,51 @@ export declare interface NiceClickOutsideProps extends NiceStandardProps {
|
|
|
9313
9363
|
mouseEvent?: NiceClickOutsideEvent;
|
|
9314
9364
|
}
|
|
9315
9365
|
|
|
9366
|
+
export declare const NiceClipboardStack: ForwardRefExoticComponent<NiceClipboardStackProps & RefAttributes<HTMLDivElement>> & {
|
|
9367
|
+
displayName: string;
|
|
9368
|
+
};
|
|
9369
|
+
|
|
9370
|
+
export declare interface NiceClipboardStackProps extends NiceBaseProps {
|
|
9371
|
+
/** Current clipboard entries (controlled). */
|
|
9372
|
+
entries?: ClipboardEntry[];
|
|
9373
|
+
/** Called when entries change. */
|
|
9374
|
+
onEntriesChange?: (entries: ClipboardEntry[]) => void;
|
|
9375
|
+
/** Called when user pastes an entry. */
|
|
9376
|
+
onPaste?: (entry: ClipboardEntry) => void;
|
|
9377
|
+
/** Called when user copies new content. */
|
|
9378
|
+
onCopy?: (entry: ClipboardEntry) => void;
|
|
9379
|
+
/** Maximum entries to keep (default 20). */
|
|
9380
|
+
maxEntries?: number;
|
|
9381
|
+
/** Enable keyboard shortcuts (Ctrl+Shift+V). */
|
|
9382
|
+
enableShortcuts?: boolean;
|
|
9383
|
+
/** Enable LocalStorage persistence. */
|
|
9384
|
+
persist?: boolean;
|
|
9385
|
+
/** Storage key for persistence. */
|
|
9386
|
+
storageKey?: string;
|
|
9387
|
+
/** Whether the dropdown is open (controlled). */
|
|
9388
|
+
open?: boolean;
|
|
9389
|
+
/** Called when dropdown open state changes. */
|
|
9390
|
+
onOpenChange?: (open: boolean) => void;
|
|
9391
|
+
/** Size variant. */
|
|
9392
|
+
size?: NiceSize;
|
|
9393
|
+
/** Position of dropdown. */
|
|
9394
|
+
position?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
9395
|
+
/** Show clipboard icon/trigger. */
|
|
9396
|
+
showTrigger?: boolean;
|
|
9397
|
+
/** Custom trigger element. */
|
|
9398
|
+
trigger?: React.ReactNode;
|
|
9399
|
+
/** Show entry type icons. */
|
|
9400
|
+
showTypeIcons?: boolean;
|
|
9401
|
+
/** Show timestamps. */
|
|
9402
|
+
showTimestamps?: boolean;
|
|
9403
|
+
/** Allow drag-to-reorder. */
|
|
9404
|
+
draggable?: boolean;
|
|
9405
|
+
/** Render custom entry preview. */
|
|
9406
|
+
renderEntry?: (entry: ClipboardEntry) => React.ReactNode;
|
|
9407
|
+
/** Whether the clipboard stack is disabled. */
|
|
9408
|
+
disabled?: boolean;
|
|
9409
|
+
}
|
|
9410
|
+
|
|
9316
9411
|
export declare interface NiceCodeCompletionItem {
|
|
9317
9412
|
/** Label displayed in completion list */
|
|
9318
9413
|
label: string;
|
|
@@ -9633,29 +9728,31 @@ export declare interface NiceCodeMarker {
|
|
|
9633
9728
|
}
|
|
9634
9729
|
|
|
9635
9730
|
/**
|
|
9636
|
-
* NiceCodePreview -
|
|
9731
|
+
* NiceCodePreview - read-only view of a piece of code, e.g. generated code
|
|
9637
9732
|
*
|
|
9638
9733
|
* Features:
|
|
9639
|
-
* -
|
|
9640
|
-
* - Line numbers
|
|
9641
|
-
* - Live preview for React/HTML
|
|
9642
|
-
* - Side-by-side diff view
|
|
9734
|
+
* - Language label and line numbers
|
|
9643
9735
|
* - Copy to clipboard
|
|
9736
|
+
* - The previous and the current version side by side (`showDiff`)
|
|
9737
|
+
* - Live preview of HTML in a sandboxed iframe
|
|
9738
|
+
*
|
|
9739
|
+
* It does not colour the code itself: the block carries `language-<id>`, so a highlighter on
|
|
9740
|
+
* the page (Prism, highlight.js) can.
|
|
9644
9741
|
*/
|
|
9645
9742
|
export declare const NiceCodePreview: default_2.FC<NiceCodePreviewProps>;
|
|
9646
9743
|
|
|
9647
9744
|
export declare interface NiceCodePreviewProps {
|
|
9648
9745
|
/** Code to display */
|
|
9649
9746
|
code: string;
|
|
9650
|
-
/**
|
|
9747
|
+
/** Language: the label in the header and the `language-<id>` class on the code block */
|
|
9651
9748
|
language?: string;
|
|
9652
9749
|
/** Show line numbers */
|
|
9653
9750
|
lineNumbers?: boolean;
|
|
9654
|
-
/**
|
|
9751
|
+
/** Render the code below it in a sandboxed iframe — HTML only */
|
|
9655
9752
|
livePreview?: boolean;
|
|
9656
|
-
/** Show diff
|
|
9753
|
+
/** Show `previousCode` and `code` side by side (whole texts, not a line diff) */
|
|
9657
9754
|
showDiff?: boolean;
|
|
9658
|
-
/**
|
|
9755
|
+
/** The previous version, for `showDiff` */
|
|
9659
9756
|
previousCode?: string;
|
|
9660
9757
|
/** Theme */
|
|
9661
9758
|
theme?: 'light' | 'dark';
|
|
@@ -9780,7 +9877,9 @@ export declare interface NiceCollapsibleCardProps extends Omit<NiceStandardProps
|
|
|
9780
9877
|
|
|
9781
9878
|
export declare type NiceCollapsibleCardTrigger = 'header' | 'icon';
|
|
9782
9879
|
|
|
9783
|
-
export declare const NiceColorPalette: default_2.ForwardRefExoticComponent<NiceColorPaletteProps & default_2.RefAttributes<HTMLDivElement
|
|
9880
|
+
export declare const NiceColorPalette: default_2.ForwardRefExoticComponent<NiceColorPaletteProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
9881
|
+
displayName: string;
|
|
9882
|
+
};
|
|
9784
9883
|
|
|
9785
9884
|
export declare interface NiceColorPaletteProps extends NiceBaseProps {
|
|
9786
9885
|
/** Current palette colors */
|
|
@@ -9856,7 +9955,9 @@ export declare interface NiceColorPaletteProps extends NiceBaseProps {
|
|
|
9856
9955
|
persistCustomSchemes?: boolean;
|
|
9857
9956
|
}
|
|
9858
9957
|
|
|
9859
|
-
export declare const NiceColorPicker: default_2.ForwardRefExoticComponent<NiceColorPickerProps & default_2.RefAttributes<HTMLInputElement
|
|
9958
|
+
export declare const NiceColorPicker: default_2.ForwardRefExoticComponent<NiceColorPickerProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
9959
|
+
displayName: string;
|
|
9960
|
+
};
|
|
9860
9961
|
|
|
9861
9962
|
export declare interface NiceColorPickerProps extends NiceFormFieldProps {
|
|
9862
9963
|
value?: string;
|
|
@@ -10025,7 +10126,7 @@ export declare interface NiceCommandPaletteContextValue {
|
|
|
10025
10126
|
}
|
|
10026
10127
|
|
|
10027
10128
|
export declare interface NiceCommandPaletteProps {
|
|
10028
|
-
/** Placeholder text for the search input */
|
|
10129
|
+
/** Placeholder text for the search input (default: translated "Type a command...") */
|
|
10029
10130
|
placeholder?: string;
|
|
10030
10131
|
/** Maximum items shown before scrolling */
|
|
10031
10132
|
maxVisible?: number;
|
|
@@ -10033,7 +10134,7 @@ export declare interface NiceCommandPaletteProps {
|
|
|
10033
10134
|
maxRecent?: number;
|
|
10034
10135
|
/** Custom class name */
|
|
10035
10136
|
className?: string;
|
|
10036
|
-
/** Custom empty state text */
|
|
10137
|
+
/** Custom empty state text (default: translated "No commands found") */
|
|
10037
10138
|
emptyText?: string;
|
|
10038
10139
|
/** Close on action execution */
|
|
10039
10140
|
closeOnAction?: boolean;
|
|
@@ -10080,7 +10181,7 @@ export declare const NiceComplianceDashboard: default_2.ForwardRefExoticComponen
|
|
|
10080
10181
|
*/
|
|
10081
10182
|
export declare interface NiceComplianceDashboardProps extends NiceBaseProps {
|
|
10082
10183
|
/** Certifications */
|
|
10083
|
-
certifications
|
|
10184
|
+
certifications?: Certification[];
|
|
10084
10185
|
/** Timeline events */
|
|
10085
10186
|
events?: ComplianceEvent[];
|
|
10086
10187
|
/** Gap items (can be derived from requirements) */
|
|
@@ -10299,6 +10400,22 @@ export declare interface NiceConfirmDialogProps extends NiceStandardProps {
|
|
|
10299
10400
|
closeOnOverlay?: boolean;
|
|
10300
10401
|
/** Close on Escape key (default: true) */
|
|
10301
10402
|
closeOnEscape?: boolean;
|
|
10403
|
+
/** Show the reject button (default: true). `false` makes it a one-button message. */
|
|
10404
|
+
showReject?: boolean;
|
|
10405
|
+
}
|
|
10406
|
+
|
|
10407
|
+
/** What {@link useNiceDialogs}' `confirm` and `alert` show. */
|
|
10408
|
+
export declare interface NiceConfirmRequest {
|
|
10409
|
+
/** The question / message. */
|
|
10410
|
+
message: default_2.ReactNode;
|
|
10411
|
+
/** Dialog heading. */
|
|
10412
|
+
header?: string;
|
|
10413
|
+
/** Icon and accept-button style. */
|
|
10414
|
+
variant?: 'info' | 'warning' | 'error' | 'success';
|
|
10415
|
+
/** Accept button label. */
|
|
10416
|
+
acceptLabel?: string;
|
|
10417
|
+
/** Reject button label (`confirm` only). */
|
|
10418
|
+
rejectLabel?: string;
|
|
10302
10419
|
}
|
|
10303
10420
|
|
|
10304
10421
|
export declare const NiceConnectorConfigForm: default_2.FC<NiceConnectorConfigFormProps>;
|
|
@@ -10336,7 +10453,7 @@ export declare interface NiceConnectorSelectorProps extends NiceBaseProps {
|
|
|
10336
10453
|
/**
|
|
10337
10454
|
* Cookie/storage consent banner that auto-hides based on Traceless policy.
|
|
10338
10455
|
*/
|
|
10339
|
-
export declare function NiceConsentBanner({ className, position,
|
|
10456
|
+
export declare function NiceConsentBanner({ className, position, onAccept, onDecline, onCustomize, privacyPolicyUrl, acceptText, declineText, }: NiceConsentBannerProps): default_2.ReactElement | null;
|
|
10340
10457
|
|
|
10341
10458
|
/**
|
|
10342
10459
|
* Props for NiceConsentBanner.
|
|
@@ -10346,8 +10463,6 @@ export declare interface NiceConsentBannerProps {
|
|
|
10346
10463
|
className?: string;
|
|
10347
10464
|
/** Position */
|
|
10348
10465
|
position?: 'top' | 'bottom';
|
|
10349
|
-
/** Theme variant */
|
|
10350
|
-
variant?: 'minimal' | 'detailed';
|
|
10351
10466
|
/** Callback when consent is given */
|
|
10352
10467
|
onAccept?: () => void;
|
|
10353
10468
|
/** Callback when consent is declined */
|
|
@@ -10356,9 +10471,9 @@ export declare interface NiceConsentBannerProps {
|
|
|
10356
10471
|
onCustomize?: () => void;
|
|
10357
10472
|
/** Privacy policy URL */
|
|
10358
10473
|
privacyPolicyUrl?: string;
|
|
10359
|
-
/** Custom accept button text */
|
|
10474
|
+
/** Custom accept button text (default: a translated "Accept all") */
|
|
10360
10475
|
acceptText?: string;
|
|
10361
|
-
/** Custom decline button text */
|
|
10476
|
+
/** Custom decline button text (default: a translated "Reject all") */
|
|
10362
10477
|
declineText?: string;
|
|
10363
10478
|
}
|
|
10364
10479
|
|
|
@@ -10366,7 +10481,9 @@ export declare interface NiceConsentBannerProps {
|
|
|
10366
10481
|
* {@link NiceConsentPanel} — GDPR/terms consent tracking panel with individual
|
|
10367
10482
|
* accept/reject toggles, required consent markers, bulk actions, and confirm button.
|
|
10368
10483
|
*/
|
|
10369
|
-
export declare const NiceConsentPanel: default_2.ForwardRefExoticComponent<NiceConsentPanelProps & default_2.RefAttributes<HTMLDivElement
|
|
10484
|
+
export declare const NiceConsentPanel: default_2.ForwardRefExoticComponent<NiceConsentPanelProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
10485
|
+
displayName: string;
|
|
10486
|
+
};
|
|
10370
10487
|
|
|
10371
10488
|
export declare interface NiceConsentPanelProps extends NiceFormFieldProps {
|
|
10372
10489
|
/** Consent items to display. Defaults to none. */
|
|
@@ -10391,7 +10508,9 @@ export declare interface NiceConsentPanelProps extends NiceFormFieldProps {
|
|
|
10391
10508
|
variant?: 'panel' | 'banner' | 'modal';
|
|
10392
10509
|
}
|
|
10393
10510
|
|
|
10394
|
-
export declare const NiceConsole: ForwardRefExoticComponent<NiceConsoleProps & RefAttributes<HTMLDivElement
|
|
10511
|
+
export declare const NiceConsole: ForwardRefExoticComponent<NiceConsoleProps & RefAttributes<HTMLDivElement>> & {
|
|
10512
|
+
displayName: string;
|
|
10513
|
+
};
|
|
10395
10514
|
|
|
10396
10515
|
/** A command registered in the {@link NiceConsole} command palette. */
|
|
10397
10516
|
export declare interface NiceConsoleCommand {
|
|
@@ -10485,7 +10604,9 @@ export declare interface NiceConsoleTab {
|
|
|
10485
10604
|
* {@link NiceContactPicker} — Search-and-select picker for contacts (persons or companies)
|
|
10486
10605
|
* with avatar display, async search and multi-select chip display.
|
|
10487
10606
|
*/
|
|
10488
|
-
export declare const NiceContactPicker: default_2.ForwardRefExoticComponent<NiceContactPickerProps & default_2.RefAttributes<HTMLDivElement
|
|
10607
|
+
export declare const NiceContactPicker: default_2.ForwardRefExoticComponent<NiceContactPickerProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
10608
|
+
displayName: string;
|
|
10609
|
+
};
|
|
10489
10610
|
|
|
10490
10611
|
/** Props for the {@link NiceContactPicker} component. */
|
|
10491
10612
|
export declare interface NiceContactPickerProps extends NiceFormFieldProps {
|
|
@@ -10542,7 +10663,7 @@ export declare interface NiceContextMenuProps extends NiceBaseProps {
|
|
|
10542
10663
|
/** Size variant. */
|
|
10543
10664
|
size?: NiceSize;
|
|
10544
10665
|
/** Menu items. */
|
|
10545
|
-
items
|
|
10666
|
+
items?: NiceMenuItem[];
|
|
10546
10667
|
/** Element ref that triggers the context menu on right-click. */
|
|
10547
10668
|
target: default_2.RefObject<HTMLElement | null>;
|
|
10548
10669
|
/** Called when an item is selected. */
|
|
@@ -10594,7 +10715,9 @@ export declare interface NiceContractTestConfig {
|
|
|
10594
10715
|
/** Cookie category types for the {@link NiceCookieConsent} banner. */
|
|
10595
10716
|
export declare type NiceCookieCategory = 'necessary' | 'analytics' | 'marketing' | 'preferences';
|
|
10596
10717
|
|
|
10597
|
-
export declare const NiceCookieConsent: ForwardRefExoticComponent<NiceCookieConsentProps & RefAttributes<HTMLDivElement
|
|
10718
|
+
export declare const NiceCookieConsent: ForwardRefExoticComponent<NiceCookieConsentProps & RefAttributes<HTMLDivElement>> & {
|
|
10719
|
+
displayName: string;
|
|
10720
|
+
};
|
|
10598
10721
|
|
|
10599
10722
|
/** Props for the {@link NiceCookieConsent} component — a GDPR-style cookie consent banner with category toggles. */
|
|
10600
10723
|
export declare interface NiceCookieConsentProps extends NiceStandardProps {
|
|
@@ -10701,6 +10824,41 @@ export declare interface NiceCountdownProps extends NiceStandardProps {
|
|
|
10701
10824
|
labels?: NiceCountdownLabels;
|
|
10702
10825
|
}
|
|
10703
10826
|
|
|
10827
|
+
/**
|
|
10828
|
+
* Countdown from a length of time: presets, hours / minutes / seconds fields, start / pause /
|
|
10829
|
+
* resume, reset and a bar of the time left. When the time runs out it stops, shows zero and
|
|
10830
|
+
* fires `onComplete` once. For a countdown to a date use `NiceCountdown`.
|
|
10831
|
+
*/
|
|
10832
|
+
export declare const NiceCountdownTimer: default_2.FC<NiceCountdownTimerProps>;
|
|
10833
|
+
|
|
10834
|
+
/** Props for {@link NiceCountdownTimer}. */
|
|
10835
|
+
export declare interface NiceCountdownTimerProps extends NiceStandardProps {
|
|
10836
|
+
/** Length of the countdown in ms (controlled). */
|
|
10837
|
+
duration?: number;
|
|
10838
|
+
/** Initial length in ms (uncontrolled). Default 5 minutes. */
|
|
10839
|
+
defaultDuration?: number;
|
|
10840
|
+
/** Fires when the user picks a preset or edits the hours / minutes / seconds. */
|
|
10841
|
+
onDurationChange?: (ms: number) => void;
|
|
10842
|
+
/** Whether the timer runs (controlled). */
|
|
10843
|
+
running?: boolean;
|
|
10844
|
+
/** Initial running state (uncontrolled). Default `false`. */
|
|
10845
|
+
defaultRunning?: boolean;
|
|
10846
|
+
/** Fires on start, pause and when the time runs out. */
|
|
10847
|
+
onRunningChange?: (running: boolean) => void;
|
|
10848
|
+
/** Fires once when the remaining time reaches zero. */
|
|
10849
|
+
onComplete?: () => void;
|
|
10850
|
+
/** Quick-pick lengths in ms, shown while the timer is reset. Default 1, 5, 10 and 25 min; `[]` hides them. */
|
|
10851
|
+
presets?: number[];
|
|
10852
|
+
/** Let the user set hours / minutes / seconds while the timer is reset. Default `true`. */
|
|
10853
|
+
editable?: boolean;
|
|
10854
|
+
/** Display precision. Default `'seconds'`. */
|
|
10855
|
+
precision?: 'seconds' | 'tenths';
|
|
10856
|
+
/** Show a bar of the time left. Default `true`. */
|
|
10857
|
+
showProgress?: boolean;
|
|
10858
|
+
/** Caption above the time; also the accessible name of the clock. */
|
|
10859
|
+
label?: string;
|
|
10860
|
+
}
|
|
10861
|
+
|
|
10704
10862
|
export declare const NiceCountryPicker: default_2.FC<NiceCountryPickerProps>;
|
|
10705
10863
|
|
|
10706
10864
|
export declare interface NiceCountryPickerProps extends NiceFormFieldProps, DualVisibilityProps {
|
|
@@ -10716,16 +10874,6 @@ export declare interface NiceCountryPickerProps extends NiceFormFieldProps, Dual
|
|
|
10716
10874
|
showSearch?: boolean;
|
|
10717
10875
|
/** Search placeholder */
|
|
10718
10876
|
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
10877
|
/** Show dial code in trigger (selected value). Default: false (compact) */
|
|
10730
10878
|
showDialCodeInValue?: boolean;
|
|
10731
10879
|
/** Show dial code in dropdown options. Default: true */
|
|
@@ -10893,12 +11041,14 @@ declare interface NiceCustomHarmonyScheme {
|
|
|
10893
11041
|
lightnessOffsets?: number[];
|
|
10894
11042
|
}
|
|
10895
11043
|
|
|
10896
|
-
export declare const NiceDashboardLayout: default_2.ForwardRefExoticComponent<NiceDashboardLayoutProps & default_2.RefAttributes<HTMLDivElement
|
|
11044
|
+
export declare const NiceDashboardLayout: default_2.ForwardRefExoticComponent<NiceDashboardLayoutProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
11045
|
+
displayName: string;
|
|
11046
|
+
};
|
|
10897
11047
|
|
|
10898
11048
|
/** Props for the {@link NiceDashboardLayout} component — a CSS-grid dashboard with draggable, resizable panels. */
|
|
10899
11049
|
export declare interface NiceDashboardLayoutProps extends NiceBaseProps {
|
|
10900
11050
|
/** Panel definitions with grid positions. */
|
|
10901
|
-
panels
|
|
11051
|
+
panels?: NiceDashboardPanel[];
|
|
10902
11052
|
/** Number of grid columns. */
|
|
10903
11053
|
columns?: number;
|
|
10904
11054
|
/** Height of one grid row in px. */
|
|
@@ -10929,7 +11079,9 @@ export declare interface NiceDashboardPanel {
|
|
|
10929
11079
|
render: () => default_2.ReactNode;
|
|
10930
11080
|
}
|
|
10931
11081
|
|
|
10932
|
-
export declare const NiceDashboardShell: ForwardRefExoticComponent<NiceDashboardShellProps & RefAttributes<HTMLDivElement
|
|
11082
|
+
export declare const NiceDashboardShell: ForwardRefExoticComponent<NiceDashboardShellProps & RefAttributes<HTMLDivElement>> & {
|
|
11083
|
+
displayName: string;
|
|
11084
|
+
};
|
|
10933
11085
|
|
|
10934
11086
|
export declare interface NiceDashboardShellProps extends NiceBaseProps {
|
|
10935
11087
|
/** Top bar content (app title, user menu, search). */
|
|
@@ -11141,7 +11293,7 @@ export declare interface NiceDataGridColumn<T = any> {
|
|
|
11141
11293
|
* filtering, pagination, virtual scrolling, grouping, inline editing, master/detail and more.
|
|
11142
11294
|
*/
|
|
11143
11295
|
export declare interface NiceDataGridProps<T extends Record<string, any> = any> extends NiceBaseProps {
|
|
11144
|
-
columns
|
|
11296
|
+
columns?: NiceDataGridColumn<T>[];
|
|
11145
11297
|
/** Inline data array. Ignored when `dataSource` is provided. */
|
|
11146
11298
|
data?: T[];
|
|
11147
11299
|
keyField?: string;
|
|
@@ -11422,7 +11574,7 @@ export declare interface NiceDataSourceBuilderProps extends NiceBaseProps {
|
|
|
11422
11574
|
/** Change callback with the full updated data source (incl. generated SQL). */
|
|
11423
11575
|
onChange?: (ds: NiceDataSourceDef) => void;
|
|
11424
11576
|
/** Tables available from the connected database schema(s) — host-supplied. */
|
|
11425
|
-
schemas
|
|
11577
|
+
schemas?: NiceDataSourceSchemaTable[];
|
|
11426
11578
|
/** Optional ER/schema preview slot (e.g. NiceDatabaseSchemaViewer from ui-diagrams). */
|
|
11427
11579
|
renderSchemaPreview?: (schemas: NiceDataSourceSchemaTable[]) => React.ReactNode;
|
|
11428
11580
|
/** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
|
|
@@ -11528,11 +11680,6 @@ export declare interface NiceDateRangeBoxProps extends NiceFormFieldProps {
|
|
|
11528
11680
|
* browser locale. The emitted value stays ISO regardless of display locale.
|
|
11529
11681
|
*/
|
|
11530
11682
|
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
11683
|
/**
|
|
11537
11684
|
* How the end date is constrained relative to the start (default
|
|
11538
11685
|
* `'greater-or-equal'` — the end can equal the start).
|
|
@@ -11562,7 +11709,9 @@ declare type NiceDateRangeStartCondition = 'today-or-greater' | 'greater-than-to
|
|
|
11562
11709
|
* public export of the unrelated `NiceCountdown` display component. */
|
|
11563
11710
|
declare type NiceDateTimeCountdownFormat = 'verbose' | 'compact' | 'short' | 'minimal' | 'words';
|
|
11564
11711
|
|
|
11565
|
-
export declare const NiceDateTimePicker: default_2.ForwardRefExoticComponent<NiceDateTimePickerProps & default_2.RefAttributes<HTMLInputElement
|
|
11712
|
+
export declare const NiceDateTimePicker: default_2.ForwardRefExoticComponent<NiceDateTimePickerProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
11713
|
+
displayName: string;
|
|
11714
|
+
};
|
|
11566
11715
|
|
|
11567
11716
|
/** Props for the {@link NiceDateTimePicker} component — a masked, locale-aware date/time input. */
|
|
11568
11717
|
export declare interface NiceDateTimePickerProps extends NiceFormFieldProps {
|
|
@@ -11578,12 +11727,7 @@ export declare interface NiceDateTimePickerProps extends NiceFormFieldProps {
|
|
|
11578
11727
|
min?: string;
|
|
11579
11728
|
/** Maximum selectable date (passed to the hidden native picker). */
|
|
11580
11729
|
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`. */
|
|
11730
|
+
/** Date format preset — what the field holds and how it is shown (default: a local date). */
|
|
11587
11731
|
dateFormatPreset?: NiceDateFormatPreset;
|
|
11588
11732
|
/** Placeholder text. Defaults to a derived placeholder (e.g. `dd.MM.yyyy`). */
|
|
11589
11733
|
placeholder?: string;
|
|
@@ -11681,7 +11825,9 @@ export declare interface NiceDesignTokensProps {
|
|
|
11681
11825
|
onExport?: (result: TokenGeneratorResult) => void;
|
|
11682
11826
|
}
|
|
11683
11827
|
|
|
11684
|
-
export declare const NiceDesktop: ForwardRefExoticComponent<NiceDesktopProps & RefAttributes<HTMLDivElement
|
|
11828
|
+
export declare const NiceDesktop: ForwardRefExoticComponent<NiceDesktopProps & RefAttributes<HTMLDivElement>> & {
|
|
11829
|
+
displayName: string;
|
|
11830
|
+
};
|
|
11685
11831
|
|
|
11686
11832
|
/** A shortcut icon on the {@link NiceDesktop} surface. */
|
|
11687
11833
|
export declare interface NiceDesktopIcon {
|
|
@@ -11874,6 +12020,18 @@ export declare interface NiceDiagramDesignerProps {
|
|
|
11874
12020
|
tutorial?: NiceComponentTutorial;
|
|
11875
12021
|
}
|
|
11876
12022
|
|
|
12023
|
+
/** Returned by {@link useNiceDialogs}. */
|
|
12024
|
+
export declare interface NiceDialogs {
|
|
12025
|
+
/** Asks for one value; resolves with it, or `null` when cancelled. */
|
|
12026
|
+
prompt: (request: NicePromptRequest) => Promise<string | null>;
|
|
12027
|
+
/** Asks a yes / no question; resolves `true` on accept. */
|
|
12028
|
+
confirm: (request: NiceConfirmRequest) => Promise<boolean>;
|
|
12029
|
+
/** Shows a message with one button; resolves when it is closed. */
|
|
12030
|
+
alert: (request: NiceConfirmRequest) => Promise<void>;
|
|
12031
|
+
/** The open dialog, if any — render it once in the component. */
|
|
12032
|
+
element: default_2.ReactElement | null;
|
|
12033
|
+
}
|
|
12034
|
+
|
|
11877
12035
|
export { NiceDirection }
|
|
11878
12036
|
|
|
11879
12037
|
export { NiceDisplayMode }
|
|
@@ -11977,7 +12135,9 @@ export declare interface NiceDMSProps extends NiceBaseProps {
|
|
|
11977
12135
|
onSign?: (docId: string, data: Partial<DocumentSignature>) => Promise<DocumentSignature>;
|
|
11978
12136
|
}
|
|
11979
12137
|
|
|
11980
|
-
export declare const NiceDock: ForwardRefExoticComponent<NiceDockProps & RefAttributes<HTMLDivElement
|
|
12138
|
+
export declare const NiceDock: ForwardRefExoticComponent<NiceDockProps & RefAttributes<HTMLDivElement>> & {
|
|
12139
|
+
displayName: string;
|
|
12140
|
+
};
|
|
11981
12141
|
|
|
11982
12142
|
/** An item in the {@link NiceDock} bar. */
|
|
11983
12143
|
export declare interface NiceDockItem {
|
|
@@ -11996,7 +12156,7 @@ export declare interface NiceDockItem {
|
|
|
11996
12156
|
/** Props for the {@link NiceDock} component — a macOS-style dock bar with magnification effect. */
|
|
11997
12157
|
export declare interface NiceDockProps extends NiceBaseProps {
|
|
11998
12158
|
/** Dock items. */
|
|
11999
|
-
items
|
|
12159
|
+
items?: NiceDockItem[];
|
|
12000
12160
|
/** Dock placement. */
|
|
12001
12161
|
position?: 'bottom' | 'left' | 'right';
|
|
12002
12162
|
/** Icon size preset. */
|
|
@@ -12017,12 +12177,14 @@ export declare interface NiceDockProps extends NiceBaseProps {
|
|
|
12017
12177
|
* {@link NiceDocumentApprovalFlow} — Visual approval workflow path showing each step,
|
|
12018
12178
|
* its status, approver info, and decision history with optional approve/reject actions.
|
|
12019
12179
|
*/
|
|
12020
|
-
export declare const NiceDocumentApprovalFlow: default_2.ForwardRefExoticComponent<NiceDocumentApprovalFlowProps & default_2.RefAttributes<HTMLDivElement
|
|
12180
|
+
export declare const NiceDocumentApprovalFlow: default_2.ForwardRefExoticComponent<NiceDocumentApprovalFlowProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
12181
|
+
displayName: string;
|
|
12182
|
+
};
|
|
12021
12183
|
|
|
12022
12184
|
/** Props for the {@link NiceDocumentApprovalFlow} component. */
|
|
12023
12185
|
export declare interface NiceDocumentApprovalFlowProps extends NiceFormFieldProps {
|
|
12024
12186
|
/** Approval steps in order. */
|
|
12025
|
-
steps
|
|
12187
|
+
steps?: ApprovalStep[];
|
|
12026
12188
|
/** Current active step id. */
|
|
12027
12189
|
activeStepId?: string | number;
|
|
12028
12190
|
/** Whether the current user can approve/reject the active step. */
|
|
@@ -12105,7 +12267,9 @@ export declare interface NiceDocumentBlock {
|
|
|
12105
12267
|
/** Block type options in the {@link NiceDocumentEditor}. */
|
|
12106
12268
|
export declare type NiceDocumentBlockType = 'paragraph' | 'heading' | 'list' | 'image' | 'table' | 'divider' | 'code' | 'quote' | 'callout' | 'toggle' | 'video' | 'embed' | 'pageBreak';
|
|
12107
12269
|
|
|
12108
|
-
export declare const NiceDocumentEditor: ForwardRefExoticComponent<NiceDocumentEditorProps & RefAttributes<HTMLDivElement
|
|
12270
|
+
export declare const NiceDocumentEditor: ForwardRefExoticComponent<NiceDocumentEditorProps & RefAttributes<HTMLDivElement>> & {
|
|
12271
|
+
displayName: string;
|
|
12272
|
+
};
|
|
12109
12273
|
|
|
12110
12274
|
/** Props for the {@link NiceDocumentEditor} component — a block-based document editor (Notion-like). */
|
|
12111
12275
|
export declare interface NiceDocumentEditorProps extends NiceBaseProps {
|
|
@@ -12159,7 +12323,9 @@ export declare type NiceDocumentType = 'pdf' | 'image' | 'office' | 'text' | 'ht
|
|
|
12159
12323
|
* {@link NiceDocumentVersionList} — Displays a chronological list of document versions
|
|
12160
12324
|
* with view, restore and diff actions.
|
|
12161
12325
|
*/
|
|
12162
|
-
export declare const NiceDocumentVersionList: default_2.ForwardRefExoticComponent<NiceDocumentVersionListProps & default_2.RefAttributes<HTMLDivElement
|
|
12326
|
+
export declare const NiceDocumentVersionList: default_2.ForwardRefExoticComponent<NiceDocumentVersionListProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
12327
|
+
displayName: string;
|
|
12328
|
+
};
|
|
12163
12329
|
|
|
12164
12330
|
/** Props for the {@link NiceDocumentVersionList} component. */
|
|
12165
12331
|
export declare interface NiceDocumentVersionListProps extends NiceFormFieldProps {
|
|
@@ -12267,7 +12433,9 @@ export declare interface NiceDocumentViewerRef {
|
|
|
12267
12433
|
getInfo: () => NiceDocumentInfo | null;
|
|
12268
12434
|
}
|
|
12269
12435
|
|
|
12270
|
-
export declare const NiceDraggable: default_2.ForwardRefExoticComponent<NiceDraggableProps & default_2.RefAttributes<HTMLDivElement
|
|
12436
|
+
export declare const NiceDraggable: default_2.ForwardRefExoticComponent<NiceDraggableProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
12437
|
+
displayName: string;
|
|
12438
|
+
};
|
|
12271
12439
|
|
|
12272
12440
|
/** Props for the {@link NiceDraggable} component — a wrapper that makes its children draggable (HTML5 drag-and-drop). */
|
|
12273
12441
|
export declare interface NiceDraggableProps extends NiceBaseProps {
|
|
@@ -12309,7 +12477,9 @@ export declare interface NiceDrawerProps extends NiceStandardProps {
|
|
|
12309
12477
|
transitionDuration?: number;
|
|
12310
12478
|
}
|
|
12311
12479
|
|
|
12312
|
-
export declare const NiceDrillDownChart: default_2.ForwardRefExoticComponent<NiceDrillDownChartProps & default_2.RefAttributes<NiceDrillDownChartRef
|
|
12480
|
+
export declare const NiceDrillDownChart: default_2.ForwardRefExoticComponent<NiceDrillDownChartProps & default_2.RefAttributes<NiceDrillDownChartRef>> & {
|
|
12481
|
+
displayName: string;
|
|
12482
|
+
};
|
|
12313
12483
|
|
|
12314
12484
|
export declare interface NiceDrillDownChartProps extends NiceStandardProps {
|
|
12315
12485
|
/** Poziomy danych do drill-down. Domyślnie brak. */
|
|
@@ -12415,7 +12585,7 @@ export declare interface NiceDropDownButtonProps extends NiceBaseProps {
|
|
|
12415
12585
|
/** Icon shown before the label. */
|
|
12416
12586
|
icon?: default_2.ReactNode;
|
|
12417
12587
|
/** Menu items. */
|
|
12418
|
-
items
|
|
12588
|
+
items?: NiceDropDownButtonItem[];
|
|
12419
12589
|
/** Visual variant. */
|
|
12420
12590
|
variant?: NiceVariant;
|
|
12421
12591
|
/** Button size. */
|
|
@@ -12438,7 +12608,9 @@ export declare interface NiceDropDownButtonProps extends NiceBaseProps {
|
|
|
12438
12608
|
errorPlacement?: 'bottom' | 'right';
|
|
12439
12609
|
}
|
|
12440
12610
|
|
|
12441
|
-
export declare const NiceDynamicSidebar: ForwardRefExoticComponent<NiceDynamicSidebarProps & RefAttributes<HTMLElement
|
|
12611
|
+
export declare const NiceDynamicSidebar: ForwardRefExoticComponent<NiceDynamicSidebarProps & RefAttributes<HTMLElement>> & {
|
|
12612
|
+
displayName: string;
|
|
12613
|
+
};
|
|
12442
12614
|
|
|
12443
12615
|
export declare interface NiceDynamicSidebarProps extends NiceBaseProps {
|
|
12444
12616
|
/** Full navigation data (modules, quickActions, favorites). */
|
|
@@ -12527,7 +12699,7 @@ export declare interface NiceEmptyProps extends NiceStandardProps {
|
|
|
12527
12699
|
export declare const NiceEnergyChart: default_2.FC<NiceEnergyChartProps>;
|
|
12528
12700
|
|
|
12529
12701
|
export declare interface NiceEnergyChartProps extends NiceBaseProps {
|
|
12530
|
-
data
|
|
12702
|
+
data?: EnergyReadingDto[];
|
|
12531
12703
|
period?: EnergyPeriod;
|
|
12532
12704
|
groupBy?: EnergyGroupBy;
|
|
12533
12705
|
breakdown?: boolean;
|
|
@@ -12667,7 +12839,9 @@ export declare interface NiceEventOrchestratorProps extends NiceBaseProps {
|
|
|
12667
12839
|
* end, pass threshold, optional certificate. (Named `NiceExam`, not `NiceTest`, to
|
|
12668
12840
|
* avoid colliding with the unrelated software `NiceTestBuilder`.)
|
|
12669
12841
|
*/
|
|
12670
|
-
export declare const NiceExam: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement
|
|
12842
|
+
export declare const NiceExam: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
12843
|
+
displayName: string;
|
|
12844
|
+
};
|
|
12671
12845
|
|
|
12672
12846
|
/**
|
|
12673
12847
|
* Unified export function.
|
|
@@ -12762,7 +12936,7 @@ export declare interface NiceFAQProps extends NiceStandardProps {
|
|
|
12762
12936
|
/** Size variant */
|
|
12763
12937
|
size?: NiceSize;
|
|
12764
12938
|
/** FAQ items */
|
|
12765
|
-
items
|
|
12939
|
+
items?: FAQItem[];
|
|
12766
12940
|
/** Categories for grouping */
|
|
12767
12941
|
categories?: FAQCategory[];
|
|
12768
12942
|
/** Show search bar */
|
|
@@ -12967,12 +13141,14 @@ export declare interface NiceFileItem {
|
|
|
12967
13141
|
attributes?: Record<string, unknown>;
|
|
12968
13142
|
}
|
|
12969
13143
|
|
|
12970
|
-
export declare const NiceFileManager: default_2.ForwardRefExoticComponent<NiceFileManagerProps & default_2.RefAttributes<HTMLDivElement
|
|
13144
|
+
export declare const NiceFileManager: default_2.ForwardRefExoticComponent<NiceFileManagerProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
13145
|
+
displayName: string;
|
|
13146
|
+
};
|
|
12971
13147
|
|
|
12972
13148
|
/** Props for the {@link NiceFileManager} component — a file explorer with dual-pane Norton Commander mode, breadcrumb, and function-key toolbar. */
|
|
12973
13149
|
export declare interface NiceFileManagerProps extends NiceBaseProps {
|
|
12974
|
-
/** Items (single-pane) or left-panel items (dual-pane) */
|
|
12975
|
-
items
|
|
13150
|
+
/** Items (single-pane) or left-panel items (dual-pane). Default: none — an empty folder. */
|
|
13151
|
+
items?: NiceFileItem[];
|
|
12976
13152
|
/** Right-panel items (only used when dualPane=true) */
|
|
12977
13153
|
rightItems?: NiceFileItem[];
|
|
12978
13154
|
/** Current folder ID (single-pane) or left-panel folder (dual-pane) */
|
|
@@ -13084,7 +13260,7 @@ export declare const NiceFilterBuilder: default_2.FC<NiceFilterBuilderProps>;
|
|
|
13084
13260
|
|
|
13085
13261
|
/** Props for the {@link NiceFilterBuilder} component — a visual query builder for complex AND/OR filter trees. */
|
|
13086
13262
|
export declare interface NiceFilterBuilderProps extends NiceBaseProps {
|
|
13087
|
-
fields
|
|
13263
|
+
fields?: NiceFilterField[];
|
|
13088
13264
|
/** Filter tree (controlled). Omit it to let the builder keep its own. */
|
|
13089
13265
|
value?: NiceFilterGroup;
|
|
13090
13266
|
/** Initial filter tree when uncontrolled. Defaults to an empty AND group. */
|
|
@@ -13157,30 +13333,6 @@ export declare interface NiceFlexProps extends NiceStandardProps {
|
|
|
13157
13333
|
|
|
13158
13334
|
export declare type NiceFlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
13159
13335
|
|
|
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
13336
|
export { NiceFocusable }
|
|
13185
13337
|
|
|
13186
13338
|
export { NiceFocusableProps }
|
|
@@ -13409,7 +13561,7 @@ export declare interface NiceFormItem {
|
|
|
13409
13561
|
|
|
13410
13562
|
/** Props for the {@link NiceForm} component — a declarative, data-driven form layout. */
|
|
13411
13563
|
export declare interface NiceFormProps extends NiceBaseProps {
|
|
13412
|
-
items
|
|
13564
|
+
items?: NiceFormItem[];
|
|
13413
13565
|
/** Inline form data. Ignored when `dataSource` + `recordKey` are provided. */
|
|
13414
13566
|
data?: Record<string, any>;
|
|
13415
13567
|
/** Field change callback. Ignored when `dataSource` is provided. */
|
|
@@ -13469,7 +13621,7 @@ export declare interface NiceFunnelItem {
|
|
|
13469
13621
|
/** Props for the {@link NiceFunnel} component — an SVG funnel / pyramid chart. */
|
|
13470
13622
|
export declare interface NiceFunnelProps extends NiceStandardProps {
|
|
13471
13623
|
/** Funnel stage data. */
|
|
13472
|
-
data
|
|
13624
|
+
data?: NiceFunnelItem[];
|
|
13473
13625
|
/** SVG width in px. */
|
|
13474
13626
|
width?: number;
|
|
13475
13627
|
/** SVG height in px. */
|
|
@@ -13484,7 +13636,9 @@ export declare interface NiceFunnelProps extends NiceStandardProps {
|
|
|
13484
13636
|
title?: string;
|
|
13485
13637
|
}
|
|
13486
13638
|
|
|
13487
|
-
export declare const NiceGallery: default_2.ForwardRefExoticComponent<NiceGalleryProps & default_2.RefAttributes<HTMLDivElement
|
|
13639
|
+
export declare const NiceGallery: default_2.ForwardRefExoticComponent<NiceGalleryProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
13640
|
+
displayName: string;
|
|
13641
|
+
};
|
|
13488
13642
|
|
|
13489
13643
|
/** An image item in the {@link NiceGallery}. */
|
|
13490
13644
|
export declare interface NiceGalleryItem {
|
|
@@ -13501,7 +13655,7 @@ export declare interface NiceGalleryItem {
|
|
|
13501
13655
|
/** Props for the {@link NiceGallery} component — an image gallery with thumbnails, autoplay, and lightbox navigation. */
|
|
13502
13656
|
export declare interface NiceGalleryProps extends NiceStandardProps {
|
|
13503
13657
|
/** Gallery images. */
|
|
13504
|
-
items
|
|
13658
|
+
items?: NiceGalleryItem[];
|
|
13505
13659
|
/** Currently selected image index. */
|
|
13506
13660
|
selectedIndex?: number;
|
|
13507
13661
|
/** Called when the selection changes. */
|
|
@@ -13568,7 +13722,7 @@ export declare interface NiceGanttColumn {
|
|
|
13568
13722
|
|
|
13569
13723
|
/** Props for the {@link NiceGantt} component — a project Gantt chart with draggable bars, dependencies, and zoom. */
|
|
13570
13724
|
export declare interface NiceGanttProps extends NiceBaseProps {
|
|
13571
|
-
tasks
|
|
13725
|
+
tasks?: NiceGanttTask[];
|
|
13572
13726
|
columns?: NiceGanttColumn[];
|
|
13573
13727
|
scale?: NiceGanttScale;
|
|
13574
13728
|
rowHeight?: number;
|
|
@@ -13778,7 +13932,9 @@ export declare interface NiceGitHooksProps extends NiceBaseProps {
|
|
|
13778
13932
|
onExport?: (hooks: GitHook[], format: 'shell' | 'husky' | 'lefthook') => void;
|
|
13779
13933
|
}
|
|
13780
13934
|
|
|
13781
|
-
export declare const NiceGitManager: default_2.ForwardRefExoticComponent<NiceGitManagerProps & default_2.RefAttributes<HTMLDivElement
|
|
13935
|
+
export declare const NiceGitManager: default_2.ForwardRefExoticComponent<NiceGitManagerProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
13936
|
+
displayName: string;
|
|
13937
|
+
};
|
|
13782
13938
|
|
|
13783
13939
|
export declare interface NiceGitManagerProps extends NiceBaseProps {
|
|
13784
13940
|
trackedModules?: GitTrackedModule[];
|
|
@@ -13834,7 +13990,9 @@ export declare interface NiceGitManagerProps extends NiceBaseProps {
|
|
|
13834
13990
|
onFetch?: () => void;
|
|
13835
13991
|
}
|
|
13836
13992
|
|
|
13837
|
-
export declare const NiceGradientPicker: default_2.ForwardRefExoticComponent<NiceGradientPickerProps & default_2.RefAttributes<HTMLDivElement
|
|
13993
|
+
export declare const NiceGradientPicker: default_2.ForwardRefExoticComponent<NiceGradientPickerProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
13994
|
+
displayName: string;
|
|
13995
|
+
};
|
|
13838
13996
|
|
|
13839
13997
|
export declare interface NiceGradientPickerProps extends NiceBaseProps {
|
|
13840
13998
|
value?: NiceGradientValue;
|
|
@@ -13945,12 +14103,14 @@ export declare interface NiceHealthReport {
|
|
|
13945
14103
|
incompatibleModules: string[];
|
|
13946
14104
|
}
|
|
13947
14105
|
|
|
13948
|
-
export declare const NiceHeatMap: default_2.ForwardRefExoticComponent<NiceHeatMapProps & default_2.RefAttributes<HTMLDivElement
|
|
14106
|
+
export declare const NiceHeatMap: default_2.ForwardRefExoticComponent<NiceHeatMapProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14107
|
+
displayName: string;
|
|
14108
|
+
};
|
|
13949
14109
|
|
|
13950
14110
|
/** Props for the {@link NiceHeatMap} component — a 2D color-intensity grid with optional cell click. */
|
|
13951
14111
|
export declare interface NiceHeatMapProps extends NiceStandardProps {
|
|
13952
14112
|
/** 2D data matrix (rows × cols). */
|
|
13953
|
-
data
|
|
14113
|
+
data?: number[][];
|
|
13954
14114
|
/** Column header labels. */
|
|
13955
14115
|
xLabels?: string[];
|
|
13956
14116
|
/** Row header labels. */
|
|
@@ -13969,7 +14129,7 @@ export declare const NiceHelpDesk: default_2.FC<NiceHelpDeskProps>;
|
|
|
13969
14129
|
|
|
13970
14130
|
export declare interface NiceHelpDeskProps extends NiceBaseProps {
|
|
13971
14131
|
/** All tickets to display */
|
|
13972
|
-
tickets
|
|
14132
|
+
tickets?: HelpDeskTicket[];
|
|
13973
14133
|
/** Current logged-in user */
|
|
13974
14134
|
currentUser: HelpDeskUser;
|
|
13975
14135
|
/** Available agents for assignment */
|
|
@@ -14238,7 +14398,9 @@ export declare interface NiceIcsEvent {
|
|
|
14238
14398
|
|
|
14239
14399
|
declare type NiceImageAnnotationType = 'text' | 'rect' | 'circle' | 'line' | 'arrow';
|
|
14240
14400
|
|
|
14241
|
-
export declare const NiceImageAnnotator: default_2.ForwardRefExoticComponent<NiceImageAnnotatorProps & default_2.RefAttributes<NiceImageAnnotatorRef
|
|
14401
|
+
export declare const NiceImageAnnotator: default_2.ForwardRefExoticComponent<NiceImageAnnotatorProps & default_2.RefAttributes<NiceImageAnnotatorRef>> & {
|
|
14402
|
+
displayName: string;
|
|
14403
|
+
};
|
|
14242
14404
|
|
|
14243
14405
|
export declare interface NiceImageAnnotatorProps {
|
|
14244
14406
|
/** Image source (URL, data URI, or Blob URL) */
|
|
@@ -14284,7 +14446,9 @@ export declare interface NiceImageAnnotatorRef {
|
|
|
14284
14446
|
clear: () => void;
|
|
14285
14447
|
}
|
|
14286
14448
|
|
|
14287
|
-
export declare const NiceImageEditor: ForwardRefExoticComponent<NiceImageEditorProps & RefAttributes<HTMLDivElement
|
|
14449
|
+
export declare const NiceImageEditor: ForwardRefExoticComponent<NiceImageEditorProps & RefAttributes<HTMLDivElement>> & {
|
|
14450
|
+
displayName: string;
|
|
14451
|
+
};
|
|
14288
14452
|
|
|
14289
14453
|
export declare interface NiceImageEditorAnnotation {
|
|
14290
14454
|
type: NiceImageAnnotationType;
|
|
@@ -14341,11 +14505,13 @@ export declare type NiceImageEditorTool = 'crop' | 'rotate' | 'flip' | 'brightne
|
|
|
14341
14505
|
* {@link NiceInbox} — Full-featured email inbox with reading pane, compose, folders,
|
|
14342
14506
|
* batch actions, sorting, search, and keyboard navigation.
|
|
14343
14507
|
*/
|
|
14344
|
-
export declare const NiceInbox: default_2.ForwardRefExoticComponent<NiceInboxProps & default_2.RefAttributes<HTMLDivElement
|
|
14508
|
+
export declare const NiceInbox: default_2.ForwardRefExoticComponent<NiceInboxProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14509
|
+
displayName: string;
|
|
14510
|
+
};
|
|
14345
14511
|
|
|
14346
14512
|
/** Props for the {@link NiceInbox} component. */
|
|
14347
14513
|
export declare interface NiceInboxProps extends NiceFormFieldProps {
|
|
14348
|
-
messages
|
|
14514
|
+
messages?: InboxMessage[];
|
|
14349
14515
|
selectedId?: string | number;
|
|
14350
14516
|
onSelect?: (message: InboxMessage) => void;
|
|
14351
14517
|
onStar?: (id: string | number, starred: boolean) => void;
|
|
@@ -14414,7 +14580,9 @@ export { NiceInlineHelp }
|
|
|
14414
14580
|
|
|
14415
14581
|
export { NiceInlineHelpProps }
|
|
14416
14582
|
|
|
14417
|
-
export declare const NiceInputOtp: default_2.ForwardRefExoticComponent<NiceInputOtpProps & default_2.RefAttributes<HTMLDivElement
|
|
14583
|
+
export declare const NiceInputOtp: default_2.ForwardRefExoticComponent<NiceInputOtpProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14584
|
+
displayName: string;
|
|
14585
|
+
};
|
|
14418
14586
|
|
|
14419
14587
|
/** Props for the {@link NiceInputOtp} component — a one-time-password input with separate digit boxes. */
|
|
14420
14588
|
export declare interface NiceInputOtpProps extends NiceFormFieldProps {
|
|
@@ -14432,7 +14600,9 @@ export declare interface NiceInputOtpProps extends NiceFormFieldProps {
|
|
|
14432
14600
|
cellWidth?: number | string;
|
|
14433
14601
|
}
|
|
14434
14602
|
|
|
14435
|
-
export declare const NiceInstallPrompt: default_2.ForwardRefExoticComponent<NiceInstallPromptProps & default_2.RefAttributes<HTMLDivElement
|
|
14603
|
+
export declare const NiceInstallPrompt: default_2.ForwardRefExoticComponent<NiceInstallPromptProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14604
|
+
displayName: string;
|
|
14605
|
+
};
|
|
14436
14606
|
|
|
14437
14607
|
export declare interface NiceInstallPromptProps extends NiceBaseProps {
|
|
14438
14608
|
/** Display variant */
|
|
@@ -14531,13 +14701,18 @@ export declare interface NiceIntegrationHubProps extends NiceBaseProps {
|
|
|
14531
14701
|
onJobsChange?: (jobs: SyncJobConfig[]) => void;
|
|
14532
14702
|
/** Called when webhooks change */
|
|
14533
14703
|
onWebhooksChange?: (webhooks: IntegrationWebhookConfig[]) => void;
|
|
14534
|
-
/**
|
|
14704
|
+
/** Tests a connector against its system. Without it the Test button is disabled. */
|
|
14535
14705
|
onTestConnection?: (connector: ConnectorConfig) => Promise<{
|
|
14536
14706
|
success: boolean;
|
|
14537
14707
|
message: string;
|
|
14538
14708
|
}>;
|
|
14539
|
-
/**
|
|
14709
|
+
/** Runs a sync job. Without it jobs cannot run: the Run buttons are disabled. */
|
|
14540
14710
|
onRunJob?: (job: SyncJobConfig) => Promise<SyncJobRun>;
|
|
14711
|
+
/** Sends a test request to a webhook. Without it the webhook Test button is disabled. */
|
|
14712
|
+
onTestWebhook?: (webhook: IntegrationWebhookConfig) => Promise<{
|
|
14713
|
+
success: boolean;
|
|
14714
|
+
response?: unknown;
|
|
14715
|
+
}>;
|
|
14541
14716
|
/** Read-only mode */
|
|
14542
14717
|
readOnly?: boolean;
|
|
14543
14718
|
/** Show monitoring panel */
|
|
@@ -14548,7 +14723,9 @@ export declare interface NiceIntegrationHubProps extends NiceBaseProps {
|
|
|
14548
14723
|
* {@link NiceInvoiceLineEditor} — Editable grid for invoice/order line items with auto-calculated
|
|
14549
14724
|
* net/gross amounts, VAT breakdown, discounts and totals.
|
|
14550
14725
|
*/
|
|
14551
|
-
export declare const NiceInvoiceLineEditor: default_2.ForwardRefExoticComponent<NiceInvoiceLineEditorProps & default_2.RefAttributes<HTMLDivElement
|
|
14726
|
+
export declare const NiceInvoiceLineEditor: default_2.ForwardRefExoticComponent<NiceInvoiceLineEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14727
|
+
displayName: string;
|
|
14728
|
+
};
|
|
14552
14729
|
|
|
14553
14730
|
/** Props for the {@link NiceInvoiceLineEditor} component. */
|
|
14554
14731
|
export declare interface NiceInvoiceLineEditorProps extends NiceFormFieldProps {
|
|
@@ -14591,14 +14768,16 @@ declare interface NiceJSONOptions extends NiceExportOptions {
|
|
|
14591
14768
|
transform?: <T>(item: T, index: number) => unknown;
|
|
14592
14769
|
}
|
|
14593
14770
|
|
|
14594
|
-
export declare const NiceKanbanBoard: default_2.ForwardRefExoticComponent<NiceKanbanBoardProps & default_2.RefAttributes<HTMLDivElement
|
|
14771
|
+
export declare const NiceKanbanBoard: default_2.ForwardRefExoticComponent<NiceKanbanBoardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14772
|
+
displayName: string;
|
|
14773
|
+
};
|
|
14595
14774
|
|
|
14596
14775
|
/** Props for the {@link NiceKanbanBoard} component — a drag-and-drop kanban board with columns, WIP limits, and custom card rendering. */
|
|
14597
14776
|
export declare interface NiceKanbanBoardProps extends NiceBaseProps, TracelessStorageProps {
|
|
14598
14777
|
/** Column definitions. */
|
|
14599
|
-
columns
|
|
14778
|
+
columns?: NiceKanbanColumn[];
|
|
14600
14779
|
/** Card data. */
|
|
14601
|
-
cards
|
|
14780
|
+
cards?: NiceKanbanCard[];
|
|
14602
14781
|
/** Called when a card is moved to a different column or reordered. */
|
|
14603
14782
|
onCardMove?: (cardKey: string | number, targetColumn: string | number, targetIndex: number) => void;
|
|
14604
14783
|
/** Called when a card is clicked. */
|
|
@@ -14746,7 +14925,9 @@ export declare interface NiceKeyValuePair {
|
|
|
14746
14925
|
description?: string;
|
|
14747
14926
|
}
|
|
14748
14927
|
|
|
14749
|
-
export declare const NiceKioskShell: ForwardRefExoticComponent<NiceKioskShellProps & RefAttributes<HTMLDivElement
|
|
14928
|
+
export declare const NiceKioskShell: ForwardRefExoticComponent<NiceKioskShellProps & RefAttributes<HTMLDivElement>> & {
|
|
14929
|
+
displayName: string;
|
|
14930
|
+
};
|
|
14750
14931
|
|
|
14751
14932
|
export declare interface NiceKioskShellProps extends NiceBaseProps {
|
|
14752
14933
|
/** Optional minimal controls overlay (home button, logout). */
|
|
@@ -14759,7 +14940,9 @@ export declare interface NiceKioskShellProps extends NiceBaseProps {
|
|
|
14759
14940
|
children?: React.ReactNode;
|
|
14760
14941
|
}
|
|
14761
14942
|
|
|
14762
|
-
export declare const NiceKnob: default_2.ForwardRefExoticComponent<NiceKnobProps & default_2.RefAttributes<HTMLDivElement
|
|
14943
|
+
export declare const NiceKnob: default_2.ForwardRefExoticComponent<NiceKnobProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14944
|
+
displayName: string;
|
|
14945
|
+
};
|
|
14763
14946
|
|
|
14764
14947
|
/** Props for the {@link NiceKnob} component — a rotary knob for numeric input (SVG-based). */
|
|
14765
14948
|
export declare interface NiceKnobProps extends Omit<NiceFormFieldProps, 'size' | 'labelPlacement'> {
|
|
@@ -14882,12 +15065,14 @@ export declare interface NiceLayoutProps extends NiceStandardProps {
|
|
|
14882
15065
|
/**
|
|
14883
15066
|
* {@link NiceLeaderboard} — Ranked list of players/entities with scores, deltas, avatars, and stat columns.
|
|
14884
15067
|
*/
|
|
14885
|
-
export declare const NiceLeaderboard: default_2.ForwardRefExoticComponent<NiceLeaderboardProps & default_2.RefAttributes<HTMLDivElement
|
|
15068
|
+
export declare const NiceLeaderboard: default_2.ForwardRefExoticComponent<NiceLeaderboardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
15069
|
+
displayName: string;
|
|
15070
|
+
};
|
|
14886
15071
|
|
|
14887
15072
|
/** Props for the {@link NiceLeaderboard} component. */
|
|
14888
15073
|
export declare interface NiceLeaderboardProps {
|
|
14889
15074
|
/** Leaderboard entries (must be sorted by rank). */
|
|
14890
|
-
entries
|
|
15075
|
+
entries?: LeaderboardEntry[];
|
|
14891
15076
|
/** Title displayed above the leaderboard. */
|
|
14892
15077
|
title?: string;
|
|
14893
15078
|
/** Extra stat column headers — keys must match `entry.stats` keys. */
|
|
@@ -14926,9 +15111,9 @@ export declare const NiceLifecycleHooksEditor: ForwardRefExoticComponent<NiceLif
|
|
|
14926
15111
|
|
|
14927
15112
|
export declare interface NiceLifecycleHooksEditorProps extends NiceBaseProps {
|
|
14928
15113
|
/** Available triggers. */
|
|
14929
|
-
triggers
|
|
15114
|
+
triggers?: NiceLifecycleTrigger[];
|
|
14930
15115
|
/** Current bindings (controlled). */
|
|
14931
|
-
bindings
|
|
15116
|
+
bindings?: NiceHookBinding[];
|
|
14932
15117
|
/** Available handlers. When omitted, the handler field is a free-text input. */
|
|
14933
15118
|
handlers?: NiceLifecycleHandlerOption[];
|
|
14934
15119
|
/** Change callback with the full updated bindings array. */
|
|
@@ -14985,7 +15170,7 @@ export declare interface NiceLightboxProps extends NiceStandardProps {
|
|
|
14985
15170
|
/** Controlled visibility. */
|
|
14986
15171
|
open: boolean;
|
|
14987
15172
|
/** Image gallery to navigate between. */
|
|
14988
|
-
images
|
|
15173
|
+
images?: NiceLightboxImage[];
|
|
14989
15174
|
/** Currently shown image (controlled). */
|
|
14990
15175
|
index?: number;
|
|
14991
15176
|
/** Default index when the viewer first opens (uncontrolled). */
|
|
@@ -15092,7 +15277,7 @@ export declare interface NiceListItem {
|
|
|
15092
15277
|
/** Props for the {@link NiceList} component — a versatile list with selection, grouping, search, reorder, and swipe actions. */
|
|
15093
15278
|
export declare interface NiceListProps extends NiceBaseProps {
|
|
15094
15279
|
/** List items. */
|
|
15095
|
-
items
|
|
15280
|
+
items?: NiceListItem[];
|
|
15096
15281
|
/** Currently selected keys (controlled). */
|
|
15097
15282
|
selectedKeys?: string[];
|
|
15098
15283
|
/** Called when the selection changes. */
|
|
@@ -15142,12 +15327,14 @@ export declare interface NiceListProps extends NiceBaseProps {
|
|
|
15142
15327
|
}[];
|
|
15143
15328
|
}
|
|
15144
15329
|
|
|
15145
|
-
export declare const NiceLiveChart: default_2.ForwardRefExoticComponent<NiceLiveChartProps & default_2.RefAttributes<NiceLiveChartRef
|
|
15330
|
+
export declare const NiceLiveChart: default_2.ForwardRefExoticComponent<NiceLiveChartProps & default_2.RefAttributes<NiceLiveChartRef>> & {
|
|
15331
|
+
displayName: string;
|
|
15332
|
+
};
|
|
15146
15333
|
|
|
15147
15334
|
/** Props for NiceLiveChart component. */
|
|
15148
15335
|
export declare interface NiceLiveChartProps extends NiceStandardProps {
|
|
15149
15336
|
/** Series configuration. Each series receives its own data stream. */
|
|
15150
|
-
series
|
|
15337
|
+
series?: NiceLiveChartSeriesConfig[];
|
|
15151
15338
|
/** Maximum number of data points to keep per series. Default: 100. */
|
|
15152
15339
|
maxPoints?: number;
|
|
15153
15340
|
/** Enable sliding window (auto-remove old points). Default: true. */
|
|
@@ -15252,16 +15439,18 @@ export declare interface NiceLiveChartSeriesConfig {
|
|
|
15252
15439
|
initialData?: number[];
|
|
15253
15440
|
}
|
|
15254
15441
|
|
|
15255
|
-
export declare const NiceLiveDataGrid: <T extends LiveGridRow = LiveGridRow>(props: NiceLiveDataGridProps<T> & {
|
|
15442
|
+
export declare const NiceLiveDataGrid: (<T extends LiveGridRow = LiveGridRow>(props: NiceLiveDataGridProps<T> & {
|
|
15256
15443
|
ref?: default_2.ForwardedRef<NiceLiveDataGridRef<T>>;
|
|
15257
|
-
}) => ReturnType<typeof NiceLiveDataGridInner
|
|
15444
|
+
}) => ReturnType<typeof NiceLiveDataGridInner>) & {
|
|
15445
|
+
displayName: string;
|
|
15446
|
+
};
|
|
15258
15447
|
|
|
15259
15448
|
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;
|
|
15260
15449
|
|
|
15261
15450
|
/** Props for NiceLiveDataGrid */
|
|
15262
15451
|
export declare interface NiceLiveDataGridProps<T extends LiveGridRow = LiveGridRow> extends NiceBaseProps {
|
|
15263
15452
|
/** Column definitions */
|
|
15264
|
-
columns
|
|
15453
|
+
columns?: LiveGridColumn<T>[];
|
|
15265
15454
|
/** Initial data */
|
|
15266
15455
|
data?: T[];
|
|
15267
15456
|
/** Live data source */
|
|
@@ -15288,9 +15477,9 @@ export declare interface NiceLiveDataGridProps<T extends LiveGridRow = LiveGridR
|
|
|
15288
15477
|
onUpdate?: (update: LiveGridUpdate<T>) => void;
|
|
15289
15478
|
/** Connection status change callback */
|
|
15290
15479
|
onConnectionStatusChange?: (status: ConnectionStatus) => void;
|
|
15291
|
-
/** Empty state content */
|
|
15480
|
+
/** Empty state content (default: a translated "No data") */
|
|
15292
15481
|
emptyContent?: ReactNode;
|
|
15293
|
-
/** Loading state content */
|
|
15482
|
+
/** Loading state content (default: a translated "Loading…") */
|
|
15294
15483
|
loadingContent?: ReactNode;
|
|
15295
15484
|
/** Enable sorting */
|
|
15296
15485
|
sortable?: boolean;
|
|
@@ -15470,7 +15659,7 @@ export declare interface NiceLocaleInfo {
|
|
|
15470
15659
|
export declare const NiceLocaleManager: default_2.FC<NiceLocaleManagerProps>;
|
|
15471
15660
|
|
|
15472
15661
|
export declare interface NiceLocaleManagerProps extends NiceBaseProps {
|
|
15473
|
-
locales
|
|
15662
|
+
locales?: NiceLocaleInfo[];
|
|
15474
15663
|
/** Translations per locale, `translations[locale][key]` (controlled). Omit it to let the manager keep its own. */
|
|
15475
15664
|
translations?: Record<string, Record<string, string>>;
|
|
15476
15665
|
/** Initial translations when uncontrolled. */
|
|
@@ -15505,7 +15694,7 @@ export declare const NiceLogConsole: ForwardRefExoticComponent<NiceLogConsolePro
|
|
|
15505
15694
|
|
|
15506
15695
|
export declare interface NiceLogConsoleProps extends NiceBaseProps {
|
|
15507
15696
|
/** Entries to render, oldest → newest. */
|
|
15508
|
-
entries
|
|
15697
|
+
entries?: NiceLogEntry[];
|
|
15509
15698
|
/** Max height before the body scrolls. Number → px. Default `240`. */
|
|
15510
15699
|
maxHeight?: number | string;
|
|
15511
15700
|
/** Auto-scroll to the newest entry when `entries` grows. Default `true`. */
|
|
@@ -15540,7 +15729,9 @@ export declare interface NiceLogEntry {
|
|
|
15540
15729
|
source?: string;
|
|
15541
15730
|
}
|
|
15542
15731
|
|
|
15543
|
-
export declare const NiceLoginForm: ForwardRefExoticComponent<NiceLoginFormProps & RefAttributes<HTMLFormElement
|
|
15732
|
+
export declare const NiceLoginForm: ForwardRefExoticComponent<NiceLoginFormProps & RefAttributes<HTMLFormElement>> & {
|
|
15733
|
+
displayName: string;
|
|
15734
|
+
};
|
|
15544
15735
|
|
|
15545
15736
|
/** Props for the {@link NiceLoginForm} component — a pre-built login form with username, password, remember-me, and social links. */
|
|
15546
15737
|
export declare interface NiceLoginFormProps extends NiceStandardProps {
|
|
@@ -15588,7 +15779,9 @@ export declare interface NiceLoginFormProps extends NiceStandardProps {
|
|
|
15588
15779
|
*/
|
|
15589
15780
|
export declare type NiceLogLevel = 'trace' | 'log' | 'info' | 'warn' | 'error' | 'debug';
|
|
15590
15781
|
|
|
15591
|
-
export declare const NiceLogo: default_2.ForwardRefExoticComponent<NiceLogoProps & default_2.RefAttributes<HTMLElement
|
|
15782
|
+
export declare const NiceLogo: default_2.ForwardRefExoticComponent<NiceLogoProps & default_2.RefAttributes<HTMLElement>> & {
|
|
15783
|
+
displayName: string;
|
|
15784
|
+
};
|
|
15592
15785
|
|
|
15593
15786
|
export declare interface NiceLogoProps {
|
|
15594
15787
|
/** Image URL to render as `<img>`. Has priority over `icon` and `variant`. */
|
|
@@ -15689,14 +15882,11 @@ export declare interface NiceLookupProps extends NiceFormFieldProps {
|
|
|
15689
15882
|
export { NiceLookupSourceState }
|
|
15690
15883
|
|
|
15691
15884
|
/**
|
|
15692
|
-
* NiceLowCodeStudio -
|
|
15885
|
+
* NiceLowCodeStudio - visual page composer
|
|
15693
15886
|
*
|
|
15694
|
-
*
|
|
15695
|
-
*
|
|
15696
|
-
*
|
|
15697
|
-
* - State Designer
|
|
15698
|
-
* - API Flow
|
|
15699
|
-
* - Event Orchestrator
|
|
15887
|
+
* Drag components from the palette onto the canvas (or click them), select one to edit its
|
|
15888
|
+
* props, and see the result in Preview (through `renderComponent`) and as JSX in Code. Every
|
|
15889
|
+
* change goes to `onChange`, Save to `onSave`.
|
|
15700
15890
|
*/
|
|
15701
15891
|
export declare const NiceLowCodeStudio: default_2.FC<NiceLowCodeStudioProps>;
|
|
15702
15892
|
|
|
@@ -15707,10 +15897,15 @@ export declare interface NiceLowCodeStudioProps {
|
|
|
15707
15897
|
components?: ComponentDefinition[];
|
|
15708
15898
|
/** Theme configuration */
|
|
15709
15899
|
theme?: 'light' | 'dark';
|
|
15710
|
-
/** Called
|
|
15900
|
+
/** Called with the design after every change: a component added, removed or edited */
|
|
15711
15901
|
onChange?: (design: DesignState) => void;
|
|
15712
|
-
/** Called when
|
|
15902
|
+
/** Called with the current design when Save is pressed */
|
|
15713
15903
|
onSave?: (design: DesignState) => void;
|
|
15904
|
+
/**
|
|
15905
|
+
* Draws a placed component in the Preview tab: map `instance.type` (the palette entry's id)
|
|
15906
|
+
* to your real component. Without it the tab says the preview is not connected.
|
|
15907
|
+
*/
|
|
15908
|
+
renderComponent?: (instance: ComponentInstance) => default_2.ReactNode;
|
|
15714
15909
|
/** Additional class name */
|
|
15715
15910
|
className?: string;
|
|
15716
15911
|
/** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
|
|
@@ -15777,7 +15972,9 @@ export declare interface NiceManagedDevice {
|
|
|
15777
15972
|
assignedTo?: string | null;
|
|
15778
15973
|
}
|
|
15779
15974
|
|
|
15780
|
-
export declare const NiceMap: default_2.ForwardRefExoticComponent<NiceMapProps & default_2.RefAttributes<HTMLDivElement
|
|
15975
|
+
export declare const NiceMap: default_2.ForwardRefExoticComponent<NiceMapProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
15976
|
+
displayName: string;
|
|
15977
|
+
};
|
|
15781
15978
|
|
|
15782
15979
|
export declare const NiceMapChart: default_2.FC<NiceMapChartProps>;
|
|
15783
15980
|
|
|
@@ -15874,7 +16071,9 @@ export declare interface NiceMapRegion {
|
|
|
15874
16071
|
value?: number;
|
|
15875
16072
|
}
|
|
15876
16073
|
|
|
15877
|
-
export declare const NiceMarkdownEditor: default_2.ForwardRefExoticComponent<NiceMarkdownEditorProps & default_2.RefAttributes<HTMLDivElement
|
|
16074
|
+
export declare const NiceMarkdownEditor: default_2.ForwardRefExoticComponent<NiceMarkdownEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
16075
|
+
displayName: string;
|
|
16076
|
+
};
|
|
15878
16077
|
|
|
15879
16078
|
export declare interface NiceMarkdownEditorProps extends NiceBaseProps {
|
|
15880
16079
|
value?: string;
|
|
@@ -15898,7 +16097,9 @@ export declare interface NiceMarkdownEditorProps extends NiceBaseProps {
|
|
|
15898
16097
|
|
|
15899
16098
|
export declare type NiceMarkdownPreviewMode = 'side' | 'tab' | 'none';
|
|
15900
16099
|
|
|
15901
|
-
export declare const NiceMaskedInput: default_2.ForwardRefExoticComponent<NiceMaskedInputProps & default_2.RefAttributes<HTMLInputElement
|
|
16100
|
+
export declare const NiceMaskedInput: default_2.ForwardRefExoticComponent<NiceMaskedInputProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
16101
|
+
displayName: string;
|
|
16102
|
+
};
|
|
15902
16103
|
|
|
15903
16104
|
/** Props for the {@link NiceMaskedInput} component — a text input that enforces a mask pattern (e.g. phone, credit card). */
|
|
15904
16105
|
export declare interface NiceMaskedInputProps extends NiceFormFieldProps {
|
|
@@ -15931,11 +16132,13 @@ export declare interface NiceMaskedInputProps extends NiceFormFieldProps {
|
|
|
15931
16132
|
/** Predefined mask presets. */
|
|
15932
16133
|
declare type NiceMaskPreset = 'phone' | 'credit-card' | 'date' | 'ssn' | 'zip' | 'time' | 'iban';
|
|
15933
16134
|
|
|
15934
|
-
export declare const NiceMdiWorkspace: ForwardRefExoticComponent<NiceMdiWorkspaceProps & RefAttributes<HTMLDivElement
|
|
16135
|
+
export declare const NiceMdiWorkspace: ForwardRefExoticComponent<NiceMdiWorkspaceProps & RefAttributes<HTMLDivElement>> & {
|
|
16136
|
+
displayName: string;
|
|
16137
|
+
};
|
|
15935
16138
|
|
|
15936
16139
|
export declare interface NiceMdiWorkspaceProps extends NiceBaseProps {
|
|
15937
16140
|
/** Currently open tabs. */
|
|
15938
|
-
tabs
|
|
16141
|
+
tabs?: NiceTabDescriptor[];
|
|
15939
16142
|
/** Index of the active (visible) tab (controlled). Omit it to let the workspace keep its own. */
|
|
15940
16143
|
activeIndex?: number;
|
|
15941
16144
|
/** Initial active index when uncontrolled. Defaults to 0. */
|
|
@@ -16011,9 +16214,9 @@ export declare const NiceMealPlan: default_2.FC<NiceMealPlanProps>;
|
|
|
16011
16214
|
|
|
16012
16215
|
export declare interface NiceMealPlanProps extends NiceBaseProps {
|
|
16013
16216
|
/** Pool of recipes the user can pick from. */
|
|
16014
|
-
recipes
|
|
16217
|
+
recipes?: NiceRecipeModel[];
|
|
16015
16218
|
/** Planned meals. */
|
|
16016
|
-
meals
|
|
16219
|
+
meals?: NiceMeal[];
|
|
16017
16220
|
/** Called whenever the meal list changes. */
|
|
16018
16221
|
onChange?: (meals: NiceMeal[]) => void;
|
|
16019
16222
|
/** First day of the week to render (defaults to today's Monday). */
|
|
@@ -16047,7 +16250,9 @@ export declare interface NiceMediaObjectProps extends NiceStandardProps {
|
|
|
16047
16250
|
spacing?: number | string;
|
|
16048
16251
|
}
|
|
16049
16252
|
|
|
16050
|
-
export declare const NiceMention: default_2.ForwardRefExoticComponent<NiceMentionProps & default_2.RefAttributes<HTMLTextAreaElement
|
|
16253
|
+
export declare const NiceMention: default_2.ForwardRefExoticComponent<NiceMentionProps & default_2.RefAttributes<HTMLTextAreaElement>> & {
|
|
16254
|
+
displayName: string;
|
|
16255
|
+
};
|
|
16051
16256
|
|
|
16052
16257
|
/** Props for the {@link NiceMention} component — a textarea with @mention triggers and suggestion popup. */
|
|
16053
16258
|
export declare interface NiceMentionProps extends NiceFormFieldProps {
|
|
@@ -16125,7 +16330,7 @@ export declare type NiceMenuOrientation = 'horizontal' | 'vertical';
|
|
|
16125
16330
|
|
|
16126
16331
|
export declare interface NiceMenuProps extends NiceBaseProps {
|
|
16127
16332
|
/** Menu items. */
|
|
16128
|
-
items
|
|
16333
|
+
items?: NiceMenuItem[];
|
|
16129
16334
|
/** Layout direction. */
|
|
16130
16335
|
orientation?: NiceMenuOrientation;
|
|
16131
16336
|
/** Visual style. */
|
|
@@ -16296,7 +16501,9 @@ export declare interface NiceModalProps extends NiceStandardProps {
|
|
|
16296
16501
|
|
|
16297
16502
|
export { NiceModeInfo }
|
|
16298
16503
|
|
|
16299
|
-
export declare const NiceModeSelector: ForwardRefExoticComponent<NiceModeSelectorProps & RefAttributes<HTMLDivElement
|
|
16504
|
+
export declare const NiceModeSelector: ForwardRefExoticComponent<NiceModeSelectorProps & RefAttributes<HTMLDivElement>> & {
|
|
16505
|
+
displayName: string;
|
|
16506
|
+
};
|
|
16300
16507
|
|
|
16301
16508
|
export declare interface NiceModeSelectorProps extends NiceBaseProps {
|
|
16302
16509
|
/** Size variant. */
|
|
@@ -16384,7 +16591,7 @@ declare function NiceModuleGridInner<T extends Record<string, any>>(props: NiceM
|
|
|
16384
16591
|
*/
|
|
16385
16592
|
export declare interface NiceModuleGridProps<T extends Record<string, any> = any> extends NiceBaseProps {
|
|
16386
16593
|
/** Column definitions from JSON schema */
|
|
16387
|
-
columns
|
|
16594
|
+
columns?: ModuleGridColumn<T>[];
|
|
16388
16595
|
/** Static data array (for client-side mode) */
|
|
16389
16596
|
data?: T[];
|
|
16390
16597
|
/** Key field for row identification */
|
|
@@ -16401,12 +16608,8 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
|
|
|
16401
16608
|
onSortChange?: (sort: ModuleSortSpec[]) => void;
|
|
16402
16609
|
/** Multi-column sort */
|
|
16403
16610
|
multiSort?: boolean;
|
|
16404
|
-
/** Enable column filtering */
|
|
16405
|
-
filterable?: boolean;
|
|
16406
16611
|
/** Current filter state */
|
|
16407
16612
|
filter?: ModuleFilterGroup;
|
|
16408
|
-
/** Filter change handler */
|
|
16409
|
-
onFilterChange?: (filter: ModuleFilterGroup) => void;
|
|
16410
16613
|
/** Quick search text */
|
|
16411
16614
|
searchText?: string;
|
|
16412
16615
|
/** Search change handler */
|
|
@@ -16437,38 +16640,10 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
|
|
|
16437
16640
|
selectedKeys?: Set<string>;
|
|
16438
16641
|
/** Selection change handler */
|
|
16439
16642
|
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
16643
|
/** Enable column resizing */
|
|
16449
16644
|
columnResize?: boolean;
|
|
16450
16645
|
/** Column width change handler */
|
|
16451
16646
|
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
16647
|
/** Context menu items */
|
|
16473
16648
|
contextMenuItems?: ModuleContextMenuItem<T>[];
|
|
16474
16649
|
/** Context menu action handler */
|
|
@@ -16483,8 +16658,6 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
|
|
|
16483
16658
|
preferencesKey?: string;
|
|
16484
16659
|
/** Initial preferences */
|
|
16485
16660
|
initialPreferences?: ModuleViewPreferences;
|
|
16486
|
-
/** Preferences change handler */
|
|
16487
|
-
onPreferencesChange?: (prefs: ModuleViewPreferences) => void;
|
|
16488
16661
|
/** Display density */
|
|
16489
16662
|
density?: 'compact' | 'normal' | 'comfortable';
|
|
16490
16663
|
/** Striped rows */
|
|
@@ -16516,10 +16689,6 @@ export declare interface NiceModuleGridProps<T extends Record<string, any> = any
|
|
|
16516
16689
|
mobilePrimaryField?: string;
|
|
16517
16690
|
/** Secondary field for mobile card subtitle */
|
|
16518
16691
|
mobileSecondaryField?: string;
|
|
16519
|
-
/** Module ID for permissions */
|
|
16520
|
-
moduleId?: string;
|
|
16521
|
-
/** Module permission for context menu filtering */
|
|
16522
|
-
permissions?: Record<string, boolean>;
|
|
16523
16692
|
/** Component size */
|
|
16524
16693
|
size?: NiceSize;
|
|
16525
16694
|
/** Show skeleton loading per column */
|
|
@@ -16577,11 +16746,13 @@ export declare class NiceModuleHotSwap {
|
|
|
16577
16746
|
|
|
16578
16747
|
export { NiceModuleInfo }
|
|
16579
16748
|
|
|
16580
|
-
export declare const NiceModuleLifecyclePanel: ForwardRefExoticComponent<NiceModuleLifecyclePanelProps & RefAttributes<HTMLDivElement
|
|
16749
|
+
export declare const NiceModuleLifecyclePanel: ForwardRefExoticComponent<NiceModuleLifecyclePanelProps & RefAttributes<HTMLDivElement>> & {
|
|
16750
|
+
displayName: string;
|
|
16751
|
+
};
|
|
16581
16752
|
|
|
16582
16753
|
export declare interface NiceModuleLifecyclePanelProps extends NiceBaseProps {
|
|
16583
16754
|
/** List of all modules. */
|
|
16584
|
-
modules
|
|
16755
|
+
modules?: NiceModuleInfo[];
|
|
16585
16756
|
/** Called when an action is triggered on a module. */
|
|
16586
16757
|
onAction?: (moduleId: string, action: NiceModuleAction) => void;
|
|
16587
16758
|
/** Filter: show only specific statuses. Empty = all. */
|
|
@@ -16733,7 +16904,9 @@ export { NiceModuleStatus }
|
|
|
16733
16904
|
* {@link NiceNavbar} — Top navigation bar with logo, breadcrumbs, centre content,
|
|
16734
16905
|
* and right-side slots for tenant switcher, notifications, and user menu.
|
|
16735
16906
|
*/
|
|
16736
|
-
export declare const NiceNavbar: default_2.ForwardRefExoticComponent<NiceNavbarProps & default_2.RefAttributes<HTMLElement
|
|
16907
|
+
export declare const NiceNavbar: default_2.ForwardRefExoticComponent<NiceNavbarProps & default_2.RefAttributes<HTMLElement>> & {
|
|
16908
|
+
displayName: string;
|
|
16909
|
+
};
|
|
16737
16910
|
|
|
16738
16911
|
/** Props for the {@link NiceNavbar} component. */
|
|
16739
16912
|
export declare interface NiceNavbarProps extends NiceFormFieldProps {
|
|
@@ -16759,7 +16932,9 @@ export declare interface NiceNavbarProps extends NiceFormFieldProps {
|
|
|
16759
16932
|
onBrandClick?: () => void;
|
|
16760
16933
|
}
|
|
16761
16934
|
|
|
16762
|
-
export declare const NiceNavMenu: default_2.ForwardRefExoticComponent<NiceNavMenuProps & default_2.RefAttributes<HTMLElement
|
|
16935
|
+
export declare const NiceNavMenu: default_2.ForwardRefExoticComponent<NiceNavMenuProps & default_2.RefAttributes<HTMLElement>> & {
|
|
16936
|
+
displayName: string;
|
|
16937
|
+
};
|
|
16763
16938
|
|
|
16764
16939
|
export declare type NiceNavMenuAlign = 'start' | 'end' | 'auto';
|
|
16765
16940
|
|
|
@@ -16818,7 +16993,7 @@ export declare interface NiceNavMenuMegaColumn {
|
|
|
16818
16993
|
|
|
16819
16994
|
export declare interface NiceNavMenuProps {
|
|
16820
16995
|
/** Top-level items. */
|
|
16821
|
-
items
|
|
16996
|
+
items?: NiceNavMenuItem[];
|
|
16822
16997
|
/** Currently active item id (matched against any nested item id). */
|
|
16823
16998
|
activeId?: string;
|
|
16824
16999
|
/** Size scale. Default `'md'`. */
|
|
@@ -16850,7 +17025,9 @@ export declare interface NiceNavMenuProps {
|
|
|
16850
17025
|
|
|
16851
17026
|
export declare type NiceNavMenuSize = 'sm' | 'md' | 'lg';
|
|
16852
17027
|
|
|
16853
|
-
export declare const NiceNavShell: ForwardRefExoticComponent<NiceNavShellProps & RefAttributes<HTMLDivElement
|
|
17028
|
+
export declare const NiceNavShell: ForwardRefExoticComponent<NiceNavShellProps & RefAttributes<HTMLDivElement>> & {
|
|
17029
|
+
displayName: string;
|
|
17030
|
+
};
|
|
16854
17031
|
|
|
16855
17032
|
export declare interface NiceNavShellApi {
|
|
16856
17033
|
activeRoute: string | undefined;
|
|
@@ -17110,7 +17287,7 @@ export declare type NiceNavShellTabsAnimation = 'none' | 'fade' | 'slide';
|
|
|
17110
17287
|
export declare const NiceNetworkDiscoveryPanel: default_2.FC<NiceNetworkDiscoveryPanelProps>;
|
|
17111
17288
|
|
|
17112
17289
|
export declare interface NiceNetworkDiscoveryPanelProps extends NiceBaseProps {
|
|
17113
|
-
nodes
|
|
17290
|
+
nodes?: NiceNetworkNode[];
|
|
17114
17291
|
topology?: NiceTopologyData;
|
|
17115
17292
|
onScan: (subnet?: string) => Promise<void>;
|
|
17116
17293
|
onNodeClick: (nodeId: string) => void;
|
|
@@ -17156,6 +17333,7 @@ export declare interface NiceNotificationCategory {
|
|
|
17156
17333
|
id: string;
|
|
17157
17334
|
name: string;
|
|
17158
17335
|
description: string;
|
|
17336
|
+
/** NiceIcon name, e.g. `'bell'`. */
|
|
17159
17337
|
icon: string;
|
|
17160
17338
|
defaultChannels: string[];
|
|
17161
17339
|
examples?: string[];
|
|
@@ -17164,6 +17342,7 @@ export declare interface NiceNotificationCategory {
|
|
|
17164
17342
|
export declare interface NiceNotificationChannel {
|
|
17165
17343
|
id: string;
|
|
17166
17344
|
name: string;
|
|
17345
|
+
/** NiceIcon name, e.g. `'mail'` (until 1.2.1 it was printed as text). */
|
|
17167
17346
|
icon: string;
|
|
17168
17347
|
enabled: boolean;
|
|
17169
17348
|
configRequired?: boolean;
|
|
@@ -17194,8 +17373,8 @@ export declare interface NiceNotificationPreferencesProps extends NiceBaseProps
|
|
|
17194
17373
|
preferences: NiceNotificationPrefs;
|
|
17195
17374
|
onChange: (prefs: NiceNotificationPrefs) => void;
|
|
17196
17375
|
onSave: (prefs: NiceNotificationPrefs) => Promise<void>;
|
|
17197
|
-
channels
|
|
17198
|
-
categories
|
|
17376
|
+
channels?: NiceNotificationChannel[];
|
|
17377
|
+
categories?: NiceNotificationCategory[];
|
|
17199
17378
|
showQuietHours?: boolean;
|
|
17200
17379
|
showDigest?: boolean;
|
|
17201
17380
|
showTestButton?: boolean;
|
|
@@ -17220,7 +17399,9 @@ export declare interface NiceNotificationPrefs {
|
|
|
17220
17399
|
};
|
|
17221
17400
|
}
|
|
17222
17401
|
|
|
17223
|
-
export declare const NiceNotifications: default_2.ForwardRefExoticComponent<NiceNotificationsProps & default_2.RefAttributes<HTMLDivElement
|
|
17402
|
+
export declare const NiceNotifications: default_2.ForwardRefExoticComponent<NiceNotificationsProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
17403
|
+
displayName: string;
|
|
17404
|
+
};
|
|
17224
17405
|
|
|
17225
17406
|
export declare interface NiceNotificationsProps {
|
|
17226
17407
|
/** List of notifications. */
|
|
@@ -17273,7 +17454,9 @@ export declare interface NiceNotificationsProps {
|
|
|
17273
17454
|
'data-testid'?: string;
|
|
17274
17455
|
}
|
|
17275
17456
|
|
|
17276
|
-
export declare const NiceNumberInput: default_2.ForwardRefExoticComponent<NiceNumberInputProps & default_2.RefAttributes<HTMLInputElement
|
|
17457
|
+
export declare const NiceNumberInput: default_2.ForwardRefExoticComponent<NiceNumberInputProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
17458
|
+
displayName: string;
|
|
17459
|
+
};
|
|
17277
17460
|
|
|
17278
17461
|
/** Props for the {@link NiceNumberInput} component — a numeric field with stepper and precision control. */
|
|
17279
17462
|
export declare interface NiceNumberInputProps extends NiceFormFieldProps {
|
|
@@ -17379,6 +17562,11 @@ export declare interface NiceOfflineBannerProps extends NiceStandardProps {
|
|
|
17379
17562
|
message?: string;
|
|
17380
17563
|
variant?: 'warning' | 'error';
|
|
17381
17564
|
icon?: default_2.ReactNode;
|
|
17565
|
+
/**
|
|
17566
|
+
* Overrides the browser's `navigator.onLine` — e.g. with your own health check, which also
|
|
17567
|
+
* catches a network that is up while the server is not. Leave it out to follow the browser.
|
|
17568
|
+
*/
|
|
17569
|
+
online?: boolean;
|
|
17382
17570
|
}
|
|
17383
17571
|
|
|
17384
17572
|
export { NiceOfflineFirstConfig }
|
|
@@ -17397,7 +17585,9 @@ export { NiceOptimisticConfig }
|
|
|
17397
17585
|
|
|
17398
17586
|
export { NiceOption }
|
|
17399
17587
|
|
|
17400
|
-
export declare const NiceOrganizationChart: default_2.ForwardRefExoticComponent<NiceOrganizationChartProps & default_2.RefAttributes<HTMLDivElement
|
|
17588
|
+
export declare const NiceOrganizationChart: default_2.ForwardRefExoticComponent<NiceOrganizationChartProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
17589
|
+
displayName: string;
|
|
17590
|
+
};
|
|
17401
17591
|
|
|
17402
17592
|
/** Props for the {@link NiceOrganizationChart} component — a hierarchical org chart with optional node selection and collapsible branches. */
|
|
17403
17593
|
export declare interface NiceOrganizationChartProps extends NiceStandardProps {
|
|
@@ -17419,7 +17609,9 @@ export declare interface NiceOrganizationChartProps extends NiceStandardProps {
|
|
|
17419
17609
|
|
|
17420
17610
|
export { NiceOrganizationProfile }
|
|
17421
17611
|
|
|
17422
|
-
export declare const NiceOrganizationProfileForm: ForwardRefExoticComponent<NiceOrganizationProfileFormProps & RefAttributes<HTMLDivElement
|
|
17612
|
+
export declare const NiceOrganizationProfileForm: ForwardRefExoticComponent<NiceOrganizationProfileFormProps & RefAttributes<HTMLDivElement>> & {
|
|
17613
|
+
displayName: string;
|
|
17614
|
+
};
|
|
17423
17615
|
|
|
17424
17616
|
export declare interface NiceOrganizationProfileFormProps extends NiceBaseProps {
|
|
17425
17617
|
/** Current profile data. */
|
|
@@ -17652,7 +17844,9 @@ export declare interface NiceParagraphProps extends Omit<NiceStandardProps, 'siz
|
|
|
17652
17844
|
|
|
17653
17845
|
export declare type NiceParagraphSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
17654
17846
|
|
|
17655
|
-
export declare const NicePasswordInput: default_2.ForwardRefExoticComponent<NicePasswordInputProps & default_2.RefAttributes<HTMLInputElement
|
|
17847
|
+
export declare const NicePasswordInput: default_2.ForwardRefExoticComponent<NicePasswordInputProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
17848
|
+
displayName: string;
|
|
17849
|
+
};
|
|
17656
17850
|
|
|
17657
17851
|
/** Props for the {@link NicePasswordInput} component — a password field with visibility toggle and strength meter. */
|
|
17658
17852
|
export declare interface NicePasswordInputProps extends NiceFormFieldProps {
|
|
@@ -17689,7 +17883,9 @@ export declare interface NicePasswordRule {
|
|
|
17689
17883
|
* PDF rendering is external (expects an iframe/embed or a custom renderer).
|
|
17690
17884
|
* This component provides the toolbar, annotation layer, and page navigation.
|
|
17691
17885
|
*/
|
|
17692
|
-
export declare const NicePDFAnnotationEditor: default_2.ForwardRefExoticComponent<NicePDFAnnotationEditorProps & default_2.RefAttributes<HTMLDivElement
|
|
17886
|
+
export declare const NicePDFAnnotationEditor: default_2.ForwardRefExoticComponent<NicePDFAnnotationEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
17887
|
+
displayName: string;
|
|
17888
|
+
};
|
|
17693
17889
|
|
|
17694
17890
|
/** Props for the {@link NicePDFAnnotationEditor} component. */
|
|
17695
17891
|
export declare interface NicePDFAnnotationEditorProps extends NiceFormFieldProps {
|
|
@@ -17755,7 +17951,9 @@ declare interface NicePDFOptions extends NiceExportOptions {
|
|
|
17755
17951
|
compress?: boolean;
|
|
17756
17952
|
}
|
|
17757
17953
|
|
|
17758
|
-
export declare const NicePDFViewer: ForwardRefExoticComponent<NicePDFViewerProps & RefAttributes<HTMLDivElement
|
|
17954
|
+
export declare const NicePDFViewer: ForwardRefExoticComponent<NicePDFViewerProps & RefAttributes<HTMLDivElement>> & {
|
|
17955
|
+
displayName: string;
|
|
17956
|
+
};
|
|
17759
17957
|
|
|
17760
17958
|
/** Props for the {@link NicePDFViewer} component — an embedded PDF viewer with toolbar, navigation, and zoom. */
|
|
17761
17959
|
export declare interface NicePDFViewerProps extends NiceStandardProps {
|
|
@@ -17813,7 +18011,9 @@ export { NicePendingChange }
|
|
|
17813
18011
|
* {@link NicePermissionMatrix} — A table-based permission matrix showing roles (rows) × actions (columns).
|
|
17814
18012
|
* Supports tristate (granted / denied / inherited) and bulk toggles.
|
|
17815
18013
|
*/
|
|
17816
|
-
export declare const NicePermissionMatrix: default_2.ForwardRefExoticComponent<NicePermissionMatrixProps & default_2.RefAttributes<HTMLDivElement
|
|
18014
|
+
export declare const NicePermissionMatrix: default_2.ForwardRefExoticComponent<NicePermissionMatrixProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18015
|
+
displayName: string;
|
|
18016
|
+
};
|
|
17817
18017
|
|
|
17818
18018
|
/** Props for the {@link NicePermissionMatrix} component. */
|
|
17819
18019
|
export declare interface NicePermissionMatrixProps {
|
|
@@ -17846,14 +18046,16 @@ export declare interface NicePermissionMatrixProps {
|
|
|
17846
18046
|
id?: string;
|
|
17847
18047
|
}
|
|
17848
18048
|
|
|
17849
|
-
export declare const NicePickList: <T = unknown>(props: NicePickListProps<T> & default_2.RefAttributes<HTMLDivElement>) => default_2.ReactElement | null
|
|
18049
|
+
export declare const NicePickList: (<T = unknown>(props: NicePickListProps<T> & default_2.RefAttributes<HTMLDivElement>) => default_2.ReactElement | null) & {
|
|
18050
|
+
displayName: string;
|
|
18051
|
+
};
|
|
17850
18052
|
|
|
17851
18053
|
/** Props for the {@link NicePickList} component — a dual-list control for moving items between source and target. */
|
|
17852
18054
|
export declare interface NicePickListProps<T = unknown> extends NiceBaseProps {
|
|
17853
18055
|
/** Items in the source list */
|
|
17854
|
-
source
|
|
18056
|
+
source?: T[];
|
|
17855
18057
|
/** Items in the target list */
|
|
17856
|
-
target
|
|
18058
|
+
target?: T[];
|
|
17857
18059
|
/** Called when items move between lists */
|
|
17858
18060
|
onChange: (source: T[], target: T[]) => void;
|
|
17859
18061
|
/** Unique key extractor */
|
|
@@ -17893,7 +18095,7 @@ export declare const NicePieChart: default_2.FC<NicePieChartProps>;
|
|
|
17893
18095
|
/** Props for the {@link NicePieChart} component — an SVG pie / donut chart with legend and labels. */
|
|
17894
18096
|
export declare interface NicePieChartProps extends NiceStandardProps {
|
|
17895
18097
|
/** Slice data. */
|
|
17896
|
-
data
|
|
18098
|
+
data?: NicePieSlice[];
|
|
17897
18099
|
/** Chart width in px. */
|
|
17898
18100
|
width?: number;
|
|
17899
18101
|
/** Chart height in px. */
|
|
@@ -17925,7 +18127,7 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
|
17925
18127
|
pipeline?: Pipeline;
|
|
17926
18128
|
/** Initial pipeline when uncontrolled. */
|
|
17927
18129
|
defaultPipeline?: Pipeline;
|
|
17928
|
-
templates
|
|
18130
|
+
templates?: PipelineTemplate[];
|
|
17929
18131
|
/** Runners a job can be assigned to. Defaults to none. */
|
|
17930
18132
|
runners?: Array<{
|
|
17931
18133
|
id: string;
|
|
@@ -17933,7 +18135,7 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
|
17933
18135
|
os: string;
|
|
17934
18136
|
available: boolean;
|
|
17935
18137
|
}>;
|
|
17936
|
-
environments
|
|
18138
|
+
environments?: Array<{
|
|
17937
18139
|
id: string;
|
|
17938
18140
|
name: string;
|
|
17939
18141
|
protection: boolean;
|
|
@@ -17999,7 +18201,7 @@ export declare const NicePivotGridFieldChooser: default_2.FC<NicePivotGridFieldC
|
|
|
17999
18201
|
/** Props for the {@link NicePivotGridFieldChooser} component — a standalone drag-and-drop field configurator for {@link NicePivotGrid}. */
|
|
18000
18202
|
export declare interface NicePivotGridFieldChooserProps extends NiceBaseProps {
|
|
18001
18203
|
/** Current field configuration. */
|
|
18002
|
-
fields
|
|
18204
|
+
fields?: NicePivotField[];
|
|
18003
18205
|
/** Called when the user rearranges fields. */
|
|
18004
18206
|
onChange: (fields: NicePivotField[]) => void;
|
|
18005
18207
|
/**
|
|
@@ -18012,7 +18214,7 @@ export declare interface NicePivotGridFieldChooserProps extends NiceBaseProps {
|
|
|
18012
18214
|
/** Props for the {@link NicePivotGrid} component — a cross-tab / pivot table with drag-and-drop field chooser, CSV/XLSX export, and drill-through. */
|
|
18013
18215
|
export declare interface NicePivotGridProps extends NiceBaseProps {
|
|
18014
18216
|
/** Raw data records. */
|
|
18015
|
-
data
|
|
18217
|
+
data?: Record<string, any>[];
|
|
18016
18218
|
/**
|
|
18017
18219
|
* Field definitions (row, column, data, filter areas). Controlled only together with
|
|
18018
18220
|
* `onFieldsChange`; on its own it is the initial layout the field chooser then edits.
|
|
@@ -18038,11 +18240,13 @@ export declare interface NicePivotGridProps extends NiceBaseProps {
|
|
|
18038
18240
|
onDrillThrough?: (rowValue: string, colValue: string, records: Record<string, any>[]) => void;
|
|
18039
18241
|
}
|
|
18040
18242
|
|
|
18041
|
-
export declare const NicePlanningTimeline: default_2.ForwardRefExoticComponent<NicePlanningTimelineProps & default_2.RefAttributes<NicePlanningTimelineRef
|
|
18243
|
+
export declare const NicePlanningTimeline: default_2.ForwardRefExoticComponent<NicePlanningTimelineProps & default_2.RefAttributes<NicePlanningTimelineRef>> & {
|
|
18244
|
+
displayName: string;
|
|
18245
|
+
};
|
|
18042
18246
|
|
|
18043
18247
|
export declare interface NicePlanningTimelineProps extends NiceBaseProps {
|
|
18044
18248
|
/** Wydarzenia na osi czasu */
|
|
18045
|
-
events
|
|
18249
|
+
events?: TimelineEvent[];
|
|
18046
18250
|
/** Grupy (swimlanes) */
|
|
18047
18251
|
groups?: TimelineGroup[];
|
|
18048
18252
|
/** Markery (linie czasu, kamienie milowe) */
|
|
@@ -18107,9 +18311,9 @@ export declare const NicePolarChart: default_2.FC<NicePolarChartProps>;
|
|
|
18107
18311
|
/** Props for the {@link NicePolarChart} component — an SVG radar / spider chart. */
|
|
18108
18312
|
export declare interface NicePolarChartProps extends NiceStandardProps {
|
|
18109
18313
|
/** Series definitions. */
|
|
18110
|
-
series
|
|
18314
|
+
series?: NicePolarChartSeries[];
|
|
18111
18315
|
/** Axis category labels. */
|
|
18112
|
-
categories
|
|
18316
|
+
categories?: string[];
|
|
18113
18317
|
/** Chart width in px. */
|
|
18114
18318
|
width?: number;
|
|
18115
18319
|
/** Chart height in px. */
|
|
@@ -18137,7 +18341,9 @@ declare interface NicePolarChartSeries {
|
|
|
18137
18341
|
/**
|
|
18138
18342
|
* {@link NicePoll} — one / few questions with live aggregate results.
|
|
18139
18343
|
*/
|
|
18140
|
-
export declare const NicePoll: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement
|
|
18344
|
+
export declare const NicePoll: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18345
|
+
displayName: string;
|
|
18346
|
+
};
|
|
18141
18347
|
|
|
18142
18348
|
export { NicePollingConfig }
|
|
18143
18349
|
|
|
@@ -18145,7 +18351,9 @@ export { NicePollingConfig }
|
|
|
18145
18351
|
* {@link NicePollLive} — alias of {@link NicePoll} with aggregate results shown by
|
|
18146
18352
|
* default (kept for ergonomics / backward-compatible naming).
|
|
18147
18353
|
*/
|
|
18148
|
-
export declare const NicePollLive: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement
|
|
18354
|
+
export declare const NicePollLive: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18355
|
+
displayName: string;
|
|
18356
|
+
};
|
|
18149
18357
|
|
|
18150
18358
|
export declare const NicePopover: default_2.FC<NicePopoverProps>;
|
|
18151
18359
|
|
|
@@ -18176,7 +18384,9 @@ export { NicePreferencesPanel }
|
|
|
18176
18384
|
|
|
18177
18385
|
export { NicePreferencesPanelProps }
|
|
18178
18386
|
|
|
18179
|
-
export declare const NicePresenceAvatars: default_2.ForwardRefExoticComponent<NicePresenceAvatarsProps & default_2.RefAttributes<HTMLDivElement
|
|
18387
|
+
export declare const NicePresenceAvatars: default_2.ForwardRefExoticComponent<NicePresenceAvatarsProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18388
|
+
displayName: string;
|
|
18389
|
+
};
|
|
18180
18390
|
|
|
18181
18391
|
export declare interface NicePresenceAvatarsProps extends NiceBaseProps {
|
|
18182
18392
|
/** Max avatars to show before collapsing */
|
|
@@ -18193,7 +18403,9 @@ export declare interface NicePresenceAvatarsProps extends NiceBaseProps {
|
|
|
18193
18403
|
overflowRender?: (count: number) => ReactNode;
|
|
18194
18404
|
}
|
|
18195
18405
|
|
|
18196
|
-
export declare const NicePresenceCursors: default_2.ForwardRefExoticComponent<NicePresenceCursorsProps & default_2.RefAttributes<HTMLDivElement
|
|
18406
|
+
export declare const NicePresenceCursors: default_2.ForwardRefExoticComponent<NicePresenceCursorsProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18407
|
+
displayName: string;
|
|
18408
|
+
};
|
|
18197
18409
|
|
|
18198
18410
|
export declare interface NicePresenceCursorsProps extends NiceBaseProps {
|
|
18199
18411
|
/** Container ref for cursor positioning */
|
|
@@ -18206,7 +18418,9 @@ export declare interface NicePresenceCursorsProps extends NiceBaseProps {
|
|
|
18206
18418
|
filterUsers?: (user: PresenceUser) => boolean;
|
|
18207
18419
|
}
|
|
18208
18420
|
|
|
18209
|
-
export declare const NicePresenceFocus: default_2.ForwardRefExoticComponent<NicePresenceFocusProps & default_2.RefAttributes<HTMLDivElement
|
|
18421
|
+
export declare const NicePresenceFocus: default_2.ForwardRefExoticComponent<NicePresenceFocusProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18422
|
+
displayName: string;
|
|
18423
|
+
};
|
|
18210
18424
|
|
|
18211
18425
|
export declare interface NicePresenceFocusProps extends NiceBaseProps {
|
|
18212
18426
|
/** Field ID this indicator is for */
|
|
@@ -18217,7 +18431,9 @@ export declare interface NicePresenceFocusProps extends NiceBaseProps {
|
|
|
18217
18431
|
showAvatars?: boolean;
|
|
18218
18432
|
}
|
|
18219
18433
|
|
|
18220
|
-
export declare const NicePresenceList: default_2.ForwardRefExoticComponent<NicePresenceListProps & default_2.RefAttributes<HTMLDivElement
|
|
18434
|
+
export declare const NicePresenceList: default_2.ForwardRefExoticComponent<NicePresenceListProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18435
|
+
displayName: string;
|
|
18436
|
+
};
|
|
18221
18437
|
|
|
18222
18438
|
export declare interface NicePresenceListProps extends NiceBaseProps {
|
|
18223
18439
|
/** Show what each user is focused on */
|
|
@@ -18322,8 +18538,6 @@ export declare interface NiceProgressProps extends Omit<NiceFormFieldProps, 'sub
|
|
|
18322
18538
|
max?: number;
|
|
18323
18539
|
/** Show the numeric percentage / value text alongside the bar. */
|
|
18324
18540
|
showValue?: boolean;
|
|
18325
|
-
/** @deprecated Renamed to {@link showValue}. Kept for backward compatibility. */
|
|
18326
|
-
showLabel?: boolean;
|
|
18327
18541
|
/** Optional custom text rendered next to the bar instead of the auto-formatted percentage. */
|
|
18328
18542
|
text?: string;
|
|
18329
18543
|
/** Colour variant for the filled portion. */
|
|
@@ -18348,8 +18562,8 @@ export declare interface NiceProgressProps extends Omit<NiceFormFieldProps, 'sub
|
|
|
18348
18562
|
|
|
18349
18563
|
/**
|
|
18350
18564
|
* Light-weight prompt modal — a tiny `window.prompt` replacement.
|
|
18351
|
-
*
|
|
18352
|
-
*
|
|
18565
|
+
* The panel opens with the same `nice-modal-in` animation as `NiceModal` /
|
|
18566
|
+
* `NiceConfirmDialog`; the backdrop covers the whole viewport.
|
|
18353
18567
|
*
|
|
18354
18568
|
* Keyboard:
|
|
18355
18569
|
* - Enter on the input submits
|
|
@@ -18392,6 +18606,24 @@ export declare interface NicePromptDialogProps extends Omit<NiceStandardProps, '
|
|
|
18392
18606
|
cancelLabel?: default_2.ReactNode;
|
|
18393
18607
|
}
|
|
18394
18608
|
|
|
18609
|
+
/** What {@link useNiceDialogs}' `prompt` asks for. */
|
|
18610
|
+
export declare interface NicePromptRequest {
|
|
18611
|
+
/** Dialog heading. */
|
|
18612
|
+
title: default_2.ReactNode;
|
|
18613
|
+
/** Optional explanation above the input. */
|
|
18614
|
+
message?: default_2.ReactNode;
|
|
18615
|
+
/** Initial value of the input. */
|
|
18616
|
+
defaultValue?: string;
|
|
18617
|
+
/** Input placeholder. */
|
|
18618
|
+
placeholder?: string;
|
|
18619
|
+
/** Native input type. */
|
|
18620
|
+
inputType?: default_2.HTMLInputTypeAttribute;
|
|
18621
|
+
/** Confirm button label (default: translated "OK"). */
|
|
18622
|
+
confirmLabel?: default_2.ReactNode;
|
|
18623
|
+
/** Cancel button label (default: translated "Cancel"). */
|
|
18624
|
+
cancelLabel?: default_2.ReactNode;
|
|
18625
|
+
}
|
|
18626
|
+
|
|
18395
18627
|
export declare interface NicePropDescriptor {
|
|
18396
18628
|
name: string;
|
|
18397
18629
|
type: string;
|
|
@@ -18413,7 +18645,9 @@ export { NicePullToRefresh }
|
|
|
18413
18645
|
|
|
18414
18646
|
export { NicePullToRefreshProps }
|
|
18415
18647
|
|
|
18416
|
-
export declare const NiceQRCode: ForwardRefExoticComponent<NiceQRCodeProps & RefAttributes<HTMLCanvasElement
|
|
18648
|
+
export declare const NiceQRCode: ForwardRefExoticComponent<NiceQRCodeProps & RefAttributes<HTMLCanvasElement>> & {
|
|
18649
|
+
displayName: string;
|
|
18650
|
+
};
|
|
18417
18651
|
|
|
18418
18652
|
/** Props for the {@link NiceQRCode} component — generates and renders a QR code from a text value. */
|
|
18419
18653
|
export declare interface NiceQRCodeProps extends NiceStandardProps {
|
|
@@ -18490,7 +18724,9 @@ export declare interface NiceQueryModel {
|
|
|
18490
18724
|
/**
|
|
18491
18725
|
* {@link NiceQuestCard} — Displays a quest/task card with progress, rewards, deadline and action buttons.
|
|
18492
18726
|
*/
|
|
18493
|
-
export declare const NiceQuestCard: default_2.ForwardRefExoticComponent<NiceQuestCardProps & default_2.RefAttributes<HTMLDivElement
|
|
18727
|
+
export declare const NiceQuestCard: default_2.ForwardRefExoticComponent<NiceQuestCardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18728
|
+
displayName: string;
|
|
18729
|
+
};
|
|
18494
18730
|
|
|
18495
18731
|
/** Props for the {@link NiceQuestCard} component. */
|
|
18496
18732
|
export declare interface NiceQuestCardProps {
|
|
@@ -18542,14 +18778,16 @@ export { NiceQuickHelpProps }
|
|
|
18542
18778
|
* {@link NiceQuiz} — correct answers + scoring with immediate feedback and optional
|
|
18543
18779
|
* gamification (lives, lifelines, difficulty). Pages can hold any content.
|
|
18544
18780
|
*/
|
|
18545
|
-
export declare const NiceQuiz: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement
|
|
18781
|
+
export declare const NiceQuiz: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18782
|
+
displayName: string;
|
|
18783
|
+
};
|
|
18546
18784
|
|
|
18547
18785
|
export declare const NiceRadioGroup: default_2.FC<NiceRadioGroupProps>;
|
|
18548
18786
|
|
|
18549
18787
|
/** Props for the {@link NiceRadioGroup} component — a set of mutually exclusive radio options. */
|
|
18550
18788
|
export declare interface NiceRadioGroupProps extends NiceFormFieldProps {
|
|
18551
18789
|
/** Available options. */
|
|
18552
|
-
options
|
|
18790
|
+
options?: NiceOption[];
|
|
18553
18791
|
/** Currently selected value. */
|
|
18554
18792
|
value?: string;
|
|
18555
18793
|
/** Called when the selection changes. */
|
|
@@ -18643,7 +18881,9 @@ export declare interface NiceRateProps extends NiceStandardProps {
|
|
|
18643
18881
|
onChange?: (value: number) => void;
|
|
18644
18882
|
}
|
|
18645
18883
|
|
|
18646
|
-
export declare const NiceRating: default_2.ForwardRefExoticComponent<NiceRatingProps & default_2.RefAttributes<HTMLDivElement
|
|
18884
|
+
export declare const NiceRating: default_2.ForwardRefExoticComponent<NiceRatingProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
18885
|
+
displayName: string;
|
|
18886
|
+
};
|
|
18647
18887
|
|
|
18648
18888
|
/** Props for the {@link NiceRating} component — a star/icon rating input with half-step support. */
|
|
18649
18889
|
export declare interface NiceRatingProps extends NiceBaseProps {
|
|
@@ -18734,7 +18974,9 @@ export declare interface NiceRbacRole {
|
|
|
18734
18974
|
permissions: NiceRbacPermission[];
|
|
18735
18975
|
}
|
|
18736
18976
|
|
|
18737
|
-
export declare const NiceRealtimeChart: default_2.ForwardRefExoticComponent<NiceRealtimeChartProps & default_2.RefAttributes<NiceRealtimeChartRef
|
|
18977
|
+
export declare const NiceRealtimeChart: default_2.ForwardRefExoticComponent<NiceRealtimeChartProps & default_2.RefAttributes<NiceRealtimeChartRef>> & {
|
|
18978
|
+
displayName: string;
|
|
18979
|
+
};
|
|
18738
18980
|
|
|
18739
18981
|
export declare interface NiceRealtimeChartProps extends NiceStandardProps {
|
|
18740
18982
|
/** Początkowe dane */
|
|
@@ -18805,9 +19047,9 @@ export declare const NiceRecipeCollections: default_2.FC<NiceRecipeCollectionsPr
|
|
|
18805
19047
|
|
|
18806
19048
|
export declare interface NiceRecipeCollectionsProps extends NiceBaseProps {
|
|
18807
19049
|
/** Pool of recipes the collections reference. */
|
|
18808
|
-
recipes
|
|
19050
|
+
recipes?: NiceRecipeModel[];
|
|
18809
19051
|
/** Collections to display. */
|
|
18810
|
-
collections
|
|
19052
|
+
collections?: NiceRecipeCollection[];
|
|
18811
19053
|
/** Fired when collections change (rename, add, remove, add/remove recipe). */
|
|
18812
19054
|
onChange?: (collections: NiceRecipeCollection[]) => void;
|
|
18813
19055
|
/** Hide create / rename / delete controls. */
|
|
@@ -18854,7 +19096,7 @@ export declare const NiceRecipeList: default_2.FC<NiceRecipeListProps>;
|
|
|
18854
19096
|
|
|
18855
19097
|
export declare interface NiceRecipeListProps extends NiceBaseProps {
|
|
18856
19098
|
/** Recipes to browse. */
|
|
18857
|
-
recipes
|
|
19099
|
+
recipes?: NiceRecipeModel[];
|
|
18858
19100
|
/** Fired when the user activates a card. */
|
|
18859
19101
|
onSelect?: (recipe: NiceRecipeModel) => void;
|
|
18860
19102
|
/** Initial search query. */
|
|
@@ -19043,6 +19285,39 @@ export declare interface NiceReconciliationViewProps extends NiceBaseProps {
|
|
|
19043
19285
|
|
|
19044
19286
|
export { NiceRecordState }
|
|
19045
19287
|
|
|
19288
|
+
/**
|
|
19289
|
+
* Editor for a {@link NiceRecurrenceRule} — the rule `NiceScheduler` expands: frequency, interval,
|
|
19290
|
+
* weekdays of a weekly rule, and the end (never, on a date, after a number of occurrences). Below
|
|
19291
|
+
* the fields: the rule as one line of text and the next few dates it produces.
|
|
19292
|
+
*/
|
|
19293
|
+
export declare const NiceRecurrenceEditor: default_2.FC<NiceRecurrenceEditorProps>;
|
|
19294
|
+
|
|
19295
|
+
/** Props for {@link NiceRecurrenceEditor}. */
|
|
19296
|
+
export declare interface NiceRecurrenceEditorProps extends NiceBaseProps {
|
|
19297
|
+
/** The rule (controlled); `null` means the event does not repeat. */
|
|
19298
|
+
value?: NiceRecurrenceRule | null;
|
|
19299
|
+
/** Initial rule (uncontrolled). Default `null`. */
|
|
19300
|
+
defaultValue?: NiceRecurrenceRule | null;
|
|
19301
|
+
/** Fires with the new rule, or `null` when "Does not repeat" is picked. */
|
|
19302
|
+
onChange?: (rule: NiceRecurrenceRule | null) => void;
|
|
19303
|
+
/** First occurrence: picks the weekday of a new weekly rule and anchors the preview. Default: now. */
|
|
19304
|
+
start?: Date;
|
|
19305
|
+
/** Offer "Does not repeat". Default `true`. */
|
|
19306
|
+
allowNone?: boolean;
|
|
19307
|
+
/** How many upcoming dates to list under the summary; `0` hides the list. Default `5`. */
|
|
19308
|
+
previewCount?: number;
|
|
19309
|
+
/** First day of the week in the day picker: `0` Sunday, `1` Monday. Default `1`. */
|
|
19310
|
+
weekStartsOn?: 0 | 1;
|
|
19311
|
+
/** Caption of the frequency field. Default: translated "Repeats". */
|
|
19312
|
+
label?: string;
|
|
19313
|
+
/** Size of the inner fields. Default `'md'`. */
|
|
19314
|
+
size?: NiceSize;
|
|
19315
|
+
/** Disables every field. */
|
|
19316
|
+
disabled?: boolean;
|
|
19317
|
+
/** Shows the rule without letting it change. */
|
|
19318
|
+
readOnly?: boolean;
|
|
19319
|
+
}
|
|
19320
|
+
|
|
19046
19321
|
/** A recurrence rule for repeating {@link NiceSchedulerEvent} instances. */
|
|
19047
19322
|
export declare type NiceRecurrenceRule = {
|
|
19048
19323
|
freq: 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
@@ -19118,11 +19393,13 @@ export declare interface NiceResolvedPermissions {
|
|
|
19118
19393
|
|
|
19119
19394
|
export { NiceResolvedTutorialStep }
|
|
19120
19395
|
|
|
19121
|
-
export declare const NiceResourceAllocation: default_2.ForwardRefExoticComponent<NiceResourceAllocationProps & default_2.RefAttributes<NiceResourceAllocationRef
|
|
19396
|
+
export declare const NiceResourceAllocation: default_2.ForwardRefExoticComponent<NiceResourceAllocationProps & default_2.RefAttributes<NiceResourceAllocationRef>> & {
|
|
19397
|
+
displayName: string;
|
|
19398
|
+
};
|
|
19122
19399
|
|
|
19123
19400
|
export declare interface NiceResourceAllocationProps extends NiceBaseProps {
|
|
19124
19401
|
/** Resources (rows). */
|
|
19125
|
-
resources
|
|
19402
|
+
resources?: Resource[];
|
|
19126
19403
|
/** Allocations. Optional — when omitted they are collected from each `resource.allocations[]` (same shape). */
|
|
19127
19404
|
allocations?: Allocation[];
|
|
19128
19405
|
/** First visible day. */
|
|
@@ -19214,7 +19491,7 @@ export declare interface NiceResponsiveBoxProps extends NiceBaseProps {
|
|
|
19214
19491
|
/** Flex direction. */
|
|
19215
19492
|
direction?: 'row' | 'column';
|
|
19216
19493
|
/** Flex items. */
|
|
19217
|
-
items
|
|
19494
|
+
items?: NiceResponsiveBoxItem[];
|
|
19218
19495
|
/** Gap between items (px or CSS value). */
|
|
19219
19496
|
gap?: number | string;
|
|
19220
19497
|
}
|
|
@@ -19290,7 +19567,7 @@ export declare const NiceRevisionHistory: ForwardRefExoticComponent<NiceRevision
|
|
|
19290
19567
|
|
|
19291
19568
|
export declare interface NiceRevisionHistoryProps extends NiceBaseProps {
|
|
19292
19569
|
/** Revisions, newest first (rendered in given order). */
|
|
19293
|
-
revisions
|
|
19570
|
+
revisions?: NiceRevision[];
|
|
19294
19571
|
/** Language for diff syntax highlighting. Default `'plaintext'`. */
|
|
19295
19572
|
language?: NiceCodeLanguage;
|
|
19296
19573
|
/** Selected (modified / right side) revision id. Uncontrolled when omitted. */
|
|
@@ -19347,7 +19624,7 @@ export declare interface NiceRoleInfo {
|
|
|
19347
19624
|
export declare const NiceRoomGrid: default_2.FC<NiceRoomGridProps>;
|
|
19348
19625
|
|
|
19349
19626
|
export declare interface NiceRoomGridProps extends NiceBaseProps {
|
|
19350
|
-
rooms
|
|
19627
|
+
rooms?: SmartRoomDto[];
|
|
19351
19628
|
onClick: (roomId: string) => void;
|
|
19352
19629
|
layout?: RoomGridLayout;
|
|
19353
19630
|
showSensors?: boolean;
|
|
@@ -19394,9 +19671,9 @@ export declare const NiceSankeyChart: default_2.FC<NiceSankeyChartProps>;
|
|
|
19394
19671
|
|
|
19395
19672
|
export declare interface NiceSankeyChartProps extends NiceStandardProps {
|
|
19396
19673
|
/** Węzły */
|
|
19397
|
-
nodes
|
|
19674
|
+
nodes?: SankeyNode[];
|
|
19398
19675
|
/** Połączenia */
|
|
19399
|
-
links
|
|
19676
|
+
links?: SankeyLink[];
|
|
19400
19677
|
/** Szerokość */
|
|
19401
19678
|
width?: number;
|
|
19402
19679
|
/** Wysokość */
|
|
@@ -19440,9 +19717,9 @@ export declare interface NiceSankeyNode {
|
|
|
19440
19717
|
/** Props for the {@link NiceSankey} component — an SVG Sankey flow diagram. */
|
|
19441
19718
|
export declare interface NiceSankeyProps extends NiceStandardProps {
|
|
19442
19719
|
/** Node definitions. */
|
|
19443
|
-
nodes
|
|
19720
|
+
nodes?: NiceSankeyNode[];
|
|
19444
19721
|
/** Link definitions. */
|
|
19445
|
-
links
|
|
19722
|
+
links?: NiceSankeyLink[];
|
|
19446
19723
|
/** SVG width in px. */
|
|
19447
19724
|
width?: number;
|
|
19448
19725
|
/** SVG height in px. */
|
|
@@ -19479,7 +19756,7 @@ export declare type NiceSavedQueryCreate = Pick<NiceSavedQuery, 'name' | 'descri
|
|
|
19479
19756
|
export declare const NiceSavedQueryPanel: default_2.FC<NiceSavedQueryPanelProps>;
|
|
19480
19757
|
|
|
19481
19758
|
export declare interface NiceSavedQueryPanelProps extends NiceBaseProps {
|
|
19482
|
-
queries
|
|
19759
|
+
queries?: NiceSavedQuery[];
|
|
19483
19760
|
currentFilter?: NiceFilterState;
|
|
19484
19761
|
currentColumns?: NiceColumnState[];
|
|
19485
19762
|
currentSort?: NiceSortState;
|
|
@@ -19536,7 +19813,9 @@ export declare interface NiceScaffoldResult {
|
|
|
19536
19813
|
* {@link NiceScannerControl} — QR/barcode scanner UI with camera preview placeholder,
|
|
19537
19814
|
* manual text entry, beep feedback, and scan history.
|
|
19538
19815
|
*/
|
|
19539
|
-
export declare const NiceScannerControl: default_2.ForwardRefExoticComponent<NiceScannerControlProps & default_2.RefAttributes<HTMLDivElement
|
|
19816
|
+
export declare const NiceScannerControl: default_2.ForwardRefExoticComponent<NiceScannerControlProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
19817
|
+
displayName: string;
|
|
19818
|
+
};
|
|
19540
19819
|
|
|
19541
19820
|
/** Props for the {@link NiceScannerControl} component. */
|
|
19542
19821
|
export declare interface NiceScannerControlProps extends NiceFormFieldProps {
|
|
@@ -19576,7 +19855,7 @@ export declare interface NiceSceneActionBuilderProps extends NiceBaseProps {
|
|
|
19576
19855
|
/** Initial actions when uncontrolled. */
|
|
19577
19856
|
defaultActions?: SceneAction[];
|
|
19578
19857
|
onActionsChange?: (actions: SceneAction[]) => void;
|
|
19579
|
-
availableDevices
|
|
19858
|
+
availableDevices?: SmartDeviceDto[];
|
|
19580
19859
|
availableRooms?: SmartRoomDto[];
|
|
19581
19860
|
showPreview?: boolean;
|
|
19582
19861
|
maxActions?: number;
|
|
@@ -19587,7 +19866,7 @@ export declare interface NiceSceneActionBuilderProps extends NiceBaseProps {
|
|
|
19587
19866
|
export declare const NiceSceneBar: default_2.FC<NiceSceneBarProps>;
|
|
19588
19867
|
|
|
19589
19868
|
export declare interface NiceSceneBarProps extends NiceBaseProps {
|
|
19590
|
-
scenes
|
|
19869
|
+
scenes?: SmartSceneDto[];
|
|
19591
19870
|
onActivate: (sceneId: string) => void;
|
|
19592
19871
|
confirm?: boolean;
|
|
19593
19872
|
compact?: boolean;
|
|
@@ -19855,7 +20134,9 @@ export declare interface NiceScrollViewProps extends NiceBaseProps {
|
|
|
19855
20134
|
children?: default_2.ReactNode;
|
|
19856
20135
|
}
|
|
19857
20136
|
|
|
19858
|
-
export declare const NiceSearchBar: default_2.ForwardRefExoticComponent<NiceSearchBarProps & default_2.RefAttributes<NiceSearchBarHandle
|
|
20137
|
+
export declare const NiceSearchBar: default_2.ForwardRefExoticComponent<NiceSearchBarProps & default_2.RefAttributes<NiceSearchBarHandle>> & {
|
|
20138
|
+
displayName: string;
|
|
20139
|
+
};
|
|
19859
20140
|
|
|
19860
20141
|
export declare type NiceSearchBarExpandDirection = 'left' | 'right' | 'down';
|
|
19861
20142
|
|
|
@@ -20034,7 +20315,7 @@ export declare namespace NiceSegmentedControl {
|
|
|
20034
20315
|
|
|
20035
20316
|
export declare interface NiceSegmentedControlProps<T = string> {
|
|
20036
20317
|
/** Options for the segmented control */
|
|
20037
|
-
options
|
|
20318
|
+
options?: NiceSegmentOption<T>[];
|
|
20038
20319
|
/** Current selected value */
|
|
20039
20320
|
value?: T;
|
|
20040
20321
|
/** Default selected value (uncontrolled) */
|
|
@@ -20075,7 +20356,9 @@ export declare interface NiceSegmentOption<T = string> {
|
|
|
20075
20356
|
disabled?: boolean;
|
|
20076
20357
|
}
|
|
20077
20358
|
|
|
20078
|
-
export declare const NiceSelect: default_2.ForwardRefExoticComponent<NiceSelectProps & default_2.RefAttributes<HTMLButtonElement
|
|
20359
|
+
export declare const NiceSelect: default_2.ForwardRefExoticComponent<NiceSelectProps & default_2.RefAttributes<HTMLButtonElement>> & {
|
|
20360
|
+
displayName: string;
|
|
20361
|
+
};
|
|
20079
20362
|
|
|
20080
20363
|
export { niceSelectors }
|
|
20081
20364
|
|
|
@@ -20113,12 +20396,17 @@ export declare interface NiceSelectProps extends NiceFormFieldProps {
|
|
|
20113
20396
|
renderOption?: (option: NiceOption, isSelected: boolean) => default_2.ReactNode;
|
|
20114
20397
|
/** When true (default false), the trigger width grows to fit selected items in `multiple` mode. When false, width stays fixed. */
|
|
20115
20398
|
multipleAutosize?: boolean;
|
|
20399
|
+
/**
|
|
20400
|
+
* Accessible name when the select has no visible `label` (a toolbar filter, a compact row).
|
|
20401
|
+
* It used to be dropped: the trigger had no name at all.
|
|
20402
|
+
*/
|
|
20403
|
+
'aria-label'?: string;
|
|
20116
20404
|
}
|
|
20117
20405
|
|
|
20118
20406
|
export declare const NiceSensorGaugePanel: default_2.FC<NiceSensorGaugePanelProps>;
|
|
20119
20407
|
|
|
20120
20408
|
export declare interface NiceSensorGaugePanelProps extends NiceBaseProps {
|
|
20121
|
-
sensors
|
|
20409
|
+
sensors?: SensorReading[];
|
|
20122
20410
|
layout?: 'grid' | 'row' | 'compact';
|
|
20123
20411
|
gaugeTypes?: Partial<Record<string, GaugeType>>;
|
|
20124
20412
|
thresholds?: Partial<Record<string, SensorThreshold>>;
|
|
@@ -20146,7 +20434,9 @@ export declare interface NiceSensorGaugePanelProps extends NiceBaseProps {
|
|
|
20146
20434
|
* />
|
|
20147
20435
|
* ```
|
|
20148
20436
|
*/
|
|
20149
|
-
export declare const NiceSetupWizard: default_2.ForwardRefExoticComponent<NiceSetupWizardProps & default_2.RefAttributes<HTMLDivElement
|
|
20437
|
+
export declare const NiceSetupWizard: default_2.ForwardRefExoticComponent<NiceSetupWizardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
20438
|
+
displayName: string;
|
|
20439
|
+
};
|
|
20150
20440
|
|
|
20151
20441
|
export declare interface NiceSetupWizardProps {
|
|
20152
20442
|
/** Step definitions. Defaults to none. */
|
|
@@ -20292,7 +20582,9 @@ export declare interface NiceShellProps extends NiceBaseProps {
|
|
|
20292
20582
|
children?: React.ReactNode;
|
|
20293
20583
|
}
|
|
20294
20584
|
|
|
20295
|
-
export declare const NiceShowcase: default_2.ForwardRefExoticComponent<NiceShowcaseProps & default_2.RefAttributes<HTMLDivElement
|
|
20585
|
+
export declare const NiceShowcase: default_2.ForwardRefExoticComponent<NiceShowcaseProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
20586
|
+
displayName: string;
|
|
20587
|
+
};
|
|
20296
20588
|
|
|
20297
20589
|
/** Props for the {@link NiceShowcase} component — a self-contained demo / documentation app for the nice2dev-ui library. */
|
|
20298
20590
|
export declare interface NiceShowcaseProps extends NiceBaseProps {
|
|
@@ -20325,7 +20617,7 @@ export declare const NiceSidebarNav: ForwardRefExoticComponent<NiceSidebarNavPro
|
|
|
20325
20617
|
|
|
20326
20618
|
export declare interface NiceSidebarNavProps {
|
|
20327
20619
|
/** Full navigation data */
|
|
20328
|
-
data
|
|
20620
|
+
data?: SidebarNavDataNode[];
|
|
20329
20621
|
/** User ID for per-user localStorage persistence */
|
|
20330
20622
|
userId?: string;
|
|
20331
20623
|
/** Currently active route (for item highlighting) */
|
|
@@ -20661,7 +20953,9 @@ export { NiceSkipLink }
|
|
|
20661
20953
|
|
|
20662
20954
|
export { NiceSkipLinkProps }
|
|
20663
20955
|
|
|
20664
|
-
export declare const NiceSlider: default_2.ForwardRefExoticComponent<NiceSliderProps & default_2.RefAttributes<HTMLInputElement
|
|
20956
|
+
export declare const NiceSlider: default_2.ForwardRefExoticComponent<NiceSliderProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
20957
|
+
displayName: string;
|
|
20958
|
+
};
|
|
20665
20959
|
|
|
20666
20960
|
/** Props for the {@link NiceSlider} component — a single-thumb range slider for numeric input. */
|
|
20667
20961
|
export declare interface NiceSliderProps extends Omit<NiceFormFieldProps, 'labelPlacement'> {
|
|
@@ -20706,7 +21000,7 @@ export declare namespace NiceSortable {
|
|
|
20706
21000
|
/** Props for the {@link NiceSortable} component — a drag-to-reorder list container. */
|
|
20707
21001
|
export declare interface NiceSortableProps<T = unknown> extends NiceBaseProps {
|
|
20708
21002
|
/** Items to be rendered and reordered. */
|
|
20709
|
-
items
|
|
21003
|
+
items?: T[];
|
|
20710
21004
|
/** Field used as the unique key. */
|
|
20711
21005
|
keyField: keyof T;
|
|
20712
21006
|
/** Called with the new item order after a drag-drop. */
|
|
@@ -20772,7 +21066,7 @@ export declare const NiceSparkline: default_2.FC<NiceSparklineProps>;
|
|
|
20772
21066
|
/** Props for the {@link NiceSparkline} component — a compact inline chart (line, bar, or area). */
|
|
20773
21067
|
export declare interface NiceSparklineProps extends NiceStandardProps {
|
|
20774
21068
|
/** Data values. */
|
|
20775
|
-
data
|
|
21069
|
+
data?: number[];
|
|
20776
21070
|
/** SVG width in px. */
|
|
20777
21071
|
width?: number;
|
|
20778
21072
|
/** SVG height in px. */
|
|
@@ -20793,7 +21087,9 @@ export { NiceSpatialNavProvider }
|
|
|
20793
21087
|
|
|
20794
21088
|
export { NiceSpatialNavProviderProps }
|
|
20795
21089
|
|
|
20796
|
-
export declare const NiceSpeechToText: default_2.ForwardRefExoticComponent<NiceSpeechToTextProps & default_2.RefAttributes<HTMLDivElement
|
|
21090
|
+
export declare const NiceSpeechToText: default_2.ForwardRefExoticComponent<NiceSpeechToTextProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
21091
|
+
displayName: string;
|
|
21092
|
+
};
|
|
20797
21093
|
|
|
20798
21094
|
/** Props for the {@link NiceSpeechToText} component — a browser Speech Recognition toggle button. */
|
|
20799
21095
|
export declare interface NiceSpeechToTextProps extends NiceBaseProps {
|
|
@@ -20837,7 +21133,7 @@ export declare interface NiceSpeedDialProps extends NiceBaseProps {
|
|
|
20837
21133
|
/** Icon for the trigger FAB button. Defaults to a built-in plus icon. */
|
|
20838
21134
|
icon?: default_2.ReactNode;
|
|
20839
21135
|
/** Action items that fan out when expanded. */
|
|
20840
|
-
items
|
|
21136
|
+
items?: NiceSpeedDialItem[];
|
|
20841
21137
|
/** Direction in which the action items expand. Defaults to `'right'`. */
|
|
20842
21138
|
direction?: NiceSpeedDialDirection;
|
|
20843
21139
|
/** CSS position offset for fixed placement (e.g. bottom-right corner). */
|
|
@@ -20880,7 +21176,7 @@ export declare interface NiceSplitterPane {
|
|
|
20880
21176
|
/** Props for the {@link NiceSplitter} component — a resizable multi-pane layout with draggable gutters. */
|
|
20881
21177
|
export declare interface NiceSplitterProps extends NiceBaseProps {
|
|
20882
21178
|
/** Pane definitions. */
|
|
20883
|
-
panes
|
|
21179
|
+
panes?: NiceSplitterPane[];
|
|
20884
21180
|
/** Split direction. */
|
|
20885
21181
|
orientation?: 'horizontal' | 'vertical';
|
|
20886
21182
|
/** Drag handle width/height in px. */
|
|
@@ -20889,7 +21185,9 @@ export declare interface NiceSplitterProps extends NiceBaseProps {
|
|
|
20889
21185
|
onResize?: (sizes: number[]) => void;
|
|
20890
21186
|
}
|
|
20891
21187
|
|
|
20892
|
-
export declare const NiceSpreadsheet: ForwardRefExoticComponent<NiceSpreadsheetProps & RefAttributes<HTMLDivElement
|
|
21188
|
+
export declare const NiceSpreadsheet: ForwardRefExoticComponent<NiceSpreadsheetProps & RefAttributes<HTMLDivElement>> & {
|
|
21189
|
+
displayName: string;
|
|
21190
|
+
};
|
|
20893
21191
|
|
|
20894
21192
|
/** A single cell in a {@link NiceSpreadsheetSheet}. */
|
|
20895
21193
|
export declare interface NiceSpreadsheetCell {
|
|
@@ -21124,7 +21422,7 @@ export declare const NiceStepper: default_2.FC<NiceStepperProps>;
|
|
|
21124
21422
|
/** Props for the {@link NiceStepper} component — a step indicator / wizard with horizontal or vertical orientation. */
|
|
21125
21423
|
export declare interface NiceStepperProps extends NiceBaseProps {
|
|
21126
21424
|
/** Step definitions. */
|
|
21127
|
-
steps
|
|
21425
|
+
steps?: NiceStepperStep[];
|
|
21128
21426
|
/** 0-based index of the active step. */
|
|
21129
21427
|
activeStep: number;
|
|
21130
21428
|
/** Layout orientation. */
|
|
@@ -21151,12 +21449,14 @@ export declare interface NiceStepperStep {
|
|
|
21151
21449
|
optional?: boolean;
|
|
21152
21450
|
}
|
|
21153
21451
|
|
|
21154
|
-
export declare const NiceStockChart: default_2.ForwardRefExoticComponent<NiceStockChartProps & default_2.RefAttributes<HTMLDivElement
|
|
21452
|
+
export declare const NiceStockChart: default_2.ForwardRefExoticComponent<NiceStockChartProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
21453
|
+
displayName: string;
|
|
21454
|
+
};
|
|
21155
21455
|
|
|
21156
21456
|
/** Props for the {@link NiceStockChart} component — an SVG candlestick / OHLC / line stock chart with optional volume bars. */
|
|
21157
21457
|
export declare interface NiceStockChartProps extends NiceStandardProps {
|
|
21158
21458
|
/** OHLC data points. */
|
|
21159
|
-
data
|
|
21459
|
+
data?: NiceStockDataPoint[];
|
|
21160
21460
|
/** Chart type. */
|
|
21161
21461
|
type?: NiceStockChartType;
|
|
21162
21462
|
/** Show volume bars below the price chart. */
|
|
@@ -21190,6 +21490,39 @@ export declare interface NiceStockDataPoint {
|
|
|
21190
21490
|
volume?: number;
|
|
21191
21491
|
}
|
|
21192
21492
|
|
|
21493
|
+
/**
|
|
21494
|
+
* Stopwatch: start / pause / resume, laps with split and total time, reset.
|
|
21495
|
+
*
|
|
21496
|
+
* Time comes from `performance.now()`, so a wall-clock change does not move it, and it is
|
|
21497
|
+
* repainted only as often as `precision` needs. `running` and `laps` are controllable; the
|
|
21498
|
+
* elapsed time itself is the component's own (it is time, not data).
|
|
21499
|
+
*/
|
|
21500
|
+
export declare const NiceStopwatch: default_2.FC<NiceStopwatchProps>;
|
|
21501
|
+
|
|
21502
|
+
/** Props for {@link NiceStopwatch}. */
|
|
21503
|
+
export declare interface NiceStopwatchProps extends NiceStandardProps {
|
|
21504
|
+
/** Whether the stopwatch runs (controlled). */
|
|
21505
|
+
running?: boolean;
|
|
21506
|
+
/** Initial running state (uncontrolled). Default `false`. */
|
|
21507
|
+
defaultRunning?: boolean;
|
|
21508
|
+
/** Fires on start, pause and resume. */
|
|
21509
|
+
onRunningChange?: (running: boolean) => void;
|
|
21510
|
+
/** Lap marks — the total elapsed ms at each lap press, oldest first (controlled). */
|
|
21511
|
+
laps?: number[];
|
|
21512
|
+
/** Initial lap marks (uncontrolled). */
|
|
21513
|
+
defaultLaps?: number[];
|
|
21514
|
+
/** Fires with the new list when a lap is added and when the stopwatch is reset. */
|
|
21515
|
+
onLapsChange?: (laps: number[]) => void;
|
|
21516
|
+
/** Fires when the user resets the stopwatch (time back to zero, laps cleared). */
|
|
21517
|
+
onReset?: () => void;
|
|
21518
|
+
/** Display precision. Default `'hundredths'`. */
|
|
21519
|
+
precision?: NiceTimekeepingPrecision;
|
|
21520
|
+
/** Show the Lap button and the lap list. Default `true`. */
|
|
21521
|
+
showLaps?: boolean;
|
|
21522
|
+
/** Caption above the time; also the accessible name of the clock. */
|
|
21523
|
+
label?: string;
|
|
21524
|
+
}
|
|
21525
|
+
|
|
21193
21526
|
/** Storybook story definition. */
|
|
21194
21527
|
export declare interface NiceStoryDef {
|
|
21195
21528
|
/** Story name. */
|
|
@@ -21220,7 +21553,7 @@ export declare interface NiceStoryMeta {
|
|
|
21220
21553
|
parameters?: Record<string, unknown>;
|
|
21221
21554
|
}
|
|
21222
21555
|
|
|
21223
|
-
export declare function NiceStreamDashboard({ platforms: initialPlatforms, scenes: initialScenes, config: initialConfig,
|
|
21556
|
+
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
21557
|
|
|
21225
21558
|
export declare interface NiceStreamDashboardProps extends NiceBaseProps {
|
|
21226
21559
|
/** Initial platform connections */
|
|
@@ -21229,16 +21562,10 @@ export declare interface NiceStreamDashboardProps extends NiceBaseProps {
|
|
|
21229
21562
|
scenes?: Scene[];
|
|
21230
21563
|
/** Initial stream configuration */
|
|
21231
21564
|
config?: Partial<StreamConfig>;
|
|
21232
|
-
/** Enable WebRTC broadcasting */
|
|
21233
|
-
enableWebRTC?: boolean;
|
|
21234
|
-
/** RTMP server URL for custom streaming */
|
|
21235
|
-
rtmpServerUrl?: string;
|
|
21236
21565
|
/** Maximum chat messages to keep */
|
|
21237
21566
|
maxChatMessages?: number;
|
|
21238
21567
|
/** Enable auto-recording */
|
|
21239
21568
|
autoRecord?: boolean;
|
|
21240
|
-
/** Recording path */
|
|
21241
|
-
recordingPath?: string;
|
|
21242
21569
|
/** Callback when stream starts */
|
|
21243
21570
|
onStreamStart?: () => void;
|
|
21244
21571
|
/** Callback when stream stops */
|
|
@@ -21255,6 +21582,27 @@ export declare interface NiceStreamDashboardProps extends NiceBaseProps {
|
|
|
21255
21582
|
renderPreview?: (scene: Scene | null) => ReactNode;
|
|
21256
21583
|
/** Custom render for chat message */
|
|
21257
21584
|
renderChatMessage?: (message: ChatMessage) => ReactNode;
|
|
21585
|
+
/**
|
|
21586
|
+
* Called by "Add platform": connecting an account (credentials, OAuth) is the host's job.
|
|
21587
|
+
* Without it the button is disabled.
|
|
21588
|
+
*/
|
|
21589
|
+
onAddPlatform?: () => void;
|
|
21590
|
+
/**
|
|
21591
|
+
* Sends a chat message through the platform's API. Without it the chat input is disabled —
|
|
21592
|
+
* the dashboard has no platform connection of its own.
|
|
21593
|
+
*/
|
|
21594
|
+
onSendChatMessage?: (platform: StreamPlatform, message: string) => void | Promise<void>;
|
|
21595
|
+
/**
|
|
21596
|
+
* Called when the program switches to a scene, with the transition chosen next to the buttons
|
|
21597
|
+
* and its duration, so the host's renderer can animate it.
|
|
21598
|
+
*/
|
|
21599
|
+
onTransition?: (sceneId: string, transition: string, durationMs: number) => void;
|
|
21600
|
+
/** "Screenshot" quick action; disabled without it. */
|
|
21601
|
+
onScreenshot?: () => void;
|
|
21602
|
+
/** "Audio Mixer" quick action; disabled without it. */
|
|
21603
|
+
onOpenAudioMixer?: () => void;
|
|
21604
|
+
/** "Settings" quick action; disabled without it. */
|
|
21605
|
+
onOpenSettings?: () => void;
|
|
21258
21606
|
children?: ReactNode;
|
|
21259
21607
|
}
|
|
21260
21608
|
|
|
@@ -21272,7 +21620,9 @@ declare interface NiceSuffixOption {
|
|
|
21272
21620
|
* {@link NiceSurvey} — no scoring; collects responses and can display aggregate
|
|
21273
21621
|
* (global) results via `results` / `fetchAggregateResults`.
|
|
21274
21622
|
*/
|
|
21275
|
-
export declare const NiceSurvey: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement
|
|
21623
|
+
export declare const NiceSurvey: default_2.ForwardRefExoticComponent<AssessmentPresetProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
21624
|
+
displayName: string;
|
|
21625
|
+
};
|
|
21276
21626
|
|
|
21277
21627
|
/**
|
|
21278
21628
|
* Drop-in replacement for `<React.Suspense>` with a `delay` knob to
|
|
@@ -21369,7 +21719,7 @@ export declare const NiceTabBar: default_2.FC<NiceTabBarProps>;
|
|
|
21369
21719
|
*/
|
|
21370
21720
|
export declare interface NiceTabBarProps extends Omit<NiceStandardProps, 'variant'> {
|
|
21371
21721
|
/** Tab list. */
|
|
21372
|
-
tabs
|
|
21722
|
+
tabs?: NiceTabBarTab[];
|
|
21373
21723
|
/** Currently selected tab id (uncontrolled when omitted). */
|
|
21374
21724
|
activeTab?: string;
|
|
21375
21725
|
/** Fires on selection change. */
|
|
@@ -21437,9 +21787,9 @@ export declare interface NiceTableColumn<T = any> {
|
|
|
21437
21787
|
/** Props for the {@link NiceTable} component — a simple read-only HTML table with optional striping and sorting. */
|
|
21438
21788
|
export declare interface NiceTableProps<T extends Record<string, any> = any> extends NiceBaseProps {
|
|
21439
21789
|
/** Column definitions. */
|
|
21440
|
-
columns
|
|
21790
|
+
columns?: NiceTableColumn<T>[];
|
|
21441
21791
|
/** Row data. */
|
|
21442
|
-
data
|
|
21792
|
+
data?: T[];
|
|
21443
21793
|
/** Alternate row coloring. */
|
|
21444
21794
|
striped?: boolean;
|
|
21445
21795
|
/** Reduced padding. */
|
|
@@ -21455,7 +21805,7 @@ export declare const NiceTabs: default_2.FC<NiceTabsProps>;
|
|
|
21455
21805
|
/** Props for the {@link NiceTabs} component — a tabbed content panel. */
|
|
21456
21806
|
export declare interface NiceTabsProps extends NiceBaseProps {
|
|
21457
21807
|
/** Array of tab definitions. */
|
|
21458
|
-
tabs
|
|
21808
|
+
tabs?: NiceTabItem[];
|
|
21459
21809
|
/** Controlled active tab id. */
|
|
21460
21810
|
activeTab?: string;
|
|
21461
21811
|
/** Called when the active tab changes. */
|
|
@@ -21601,10 +21951,6 @@ export declare interface NiceTaskInboxProps extends NiceBaseProps {
|
|
|
21601
21951
|
onTaskSelect?: (task: WorkflowTask) => void;
|
|
21602
21952
|
/** Called when user claims a task */
|
|
21603
21953
|
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
21954
|
/** Current user ID (for claimed/assigned logic) */
|
|
21609
21955
|
currentUserId?: string;
|
|
21610
21956
|
/** Show filter controls */
|
|
@@ -21652,7 +21998,9 @@ export declare interface NiceTerminalLine {
|
|
|
21652
21998
|
/** Colour scheme for the {@link NiceTerminalUI}. */
|
|
21653
21999
|
export declare type NiceTerminalTheme = 'auto' | 'dark' | 'matrix';
|
|
21654
22000
|
|
|
21655
|
-
export declare const NiceTerminalUI: ForwardRefExoticComponent<NiceTerminalUIProps & RefAttributes<HTMLDivElement
|
|
22001
|
+
export declare const NiceTerminalUI: ForwardRefExoticComponent<NiceTerminalUIProps & RefAttributes<HTMLDivElement>> & {
|
|
22002
|
+
displayName: string;
|
|
22003
|
+
};
|
|
21656
22004
|
|
|
21657
22005
|
/** Props for the {@link NiceTerminalUI} component — a retro terminal / console emulator. */
|
|
21658
22006
|
export declare interface NiceTerminalUIProps extends NiceStandardProps {
|
|
@@ -21709,7 +22057,9 @@ export { NiceTestWrapper }
|
|
|
21709
22057
|
|
|
21710
22058
|
export { NiceTestWrapperProps }
|
|
21711
22059
|
|
|
21712
|
-
export declare const NiceTextArea: default_2.ForwardRefExoticComponent<NiceTextAreaProps & default_2.RefAttributes<HTMLTextAreaElement
|
|
22060
|
+
export declare const NiceTextArea: default_2.ForwardRefExoticComponent<NiceTextAreaProps & default_2.RefAttributes<HTMLTextAreaElement>> & {
|
|
22061
|
+
displayName: string;
|
|
22062
|
+
};
|
|
21713
22063
|
|
|
21714
22064
|
export declare interface NiceTextAreaProps extends NiceFormFieldProps {
|
|
21715
22065
|
value?: string;
|
|
@@ -21727,7 +22077,9 @@ export declare interface NiceTextAreaProps extends NiceFormFieldProps {
|
|
|
21727
22077
|
counterPlacement?: 'bottom' | 'right';
|
|
21728
22078
|
}
|
|
21729
22079
|
|
|
21730
|
-
export declare const NiceTextInput: default_2.ForwardRefExoticComponent<NiceTextInputProps & default_2.RefAttributes<HTMLInputElement
|
|
22080
|
+
export declare const NiceTextInput: default_2.ForwardRefExoticComponent<NiceTextInputProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
22081
|
+
displayName: string;
|
|
22082
|
+
};
|
|
21731
22083
|
|
|
21732
22084
|
/** Props for the {@link NiceTextInput} component. */
|
|
21733
22085
|
export declare interface NiceTextInputProps extends Omit<NiceFormFieldProps, 'labelPlacement'> {
|
|
@@ -21833,7 +22185,9 @@ export declare interface NiceThemeDescriptor {
|
|
|
21833
22185
|
meta?: Record<string, unknown>;
|
|
21834
22186
|
}
|
|
21835
22187
|
|
|
21836
|
-
export declare const NiceThemeDesigner: ForwardRefExoticComponent<NiceThemeBuilderProps & RefAttributes<HTMLDivElement
|
|
22188
|
+
export declare const NiceThemeDesigner: ForwardRefExoticComponent<NiceThemeBuilderProps & RefAttributes<HTMLDivElement>> & {
|
|
22189
|
+
displayName: string;
|
|
22190
|
+
};
|
|
21837
22191
|
|
|
21838
22192
|
export declare type NiceThemeDesignerProps = NiceThemeBuilderProps;
|
|
21839
22193
|
|
|
@@ -21978,7 +22332,9 @@ export declare interface NiceThemePickerProps extends NiceFormFieldProps, DualVi
|
|
|
21978
22332
|
'data-testid'?: string;
|
|
21979
22333
|
}
|
|
21980
22334
|
|
|
21981
|
-
export declare const NiceThemePreview: default_2.ForwardRefExoticComponent<NiceThemePreviewProps & default_2.RefAttributes<HTMLDivElement
|
|
22335
|
+
export declare const NiceThemePreview: default_2.ForwardRefExoticComponent<NiceThemePreviewProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
22336
|
+
displayName: string;
|
|
22337
|
+
};
|
|
21982
22338
|
|
|
21983
22339
|
export declare interface NiceThemePreviewProps extends NiceBaseProps {
|
|
21984
22340
|
/** The theme to preview */
|
|
@@ -22032,7 +22388,7 @@ declare interface NiceTileViewItem {
|
|
|
22032
22388
|
/** Props for the {@link NiceTileView} component — a scrollable tile strip (horizontal or vertical). */
|
|
22033
22389
|
export declare interface NiceTileViewProps<T extends NiceTileViewItem = NiceTileViewItem> extends NiceBaseProps {
|
|
22034
22390
|
/** Tile items. */
|
|
22035
|
-
items
|
|
22391
|
+
items?: T[];
|
|
22036
22392
|
/** Fixed tile width in px. */
|
|
22037
22393
|
tileWidth?: number;
|
|
22038
22394
|
/** Fixed tile height in px. */
|
|
@@ -22049,7 +22405,12 @@ export declare interface NiceTileViewProps<T extends NiceTileViewItem = NiceTile
|
|
|
22049
22405
|
emptyText?: string;
|
|
22050
22406
|
}
|
|
22051
22407
|
|
|
22052
|
-
|
|
22408
|
+
/** How finely {@link NiceStopwatch} and {@link NiceCountdownTimer} show the time. */
|
|
22409
|
+
export declare type NiceTimekeepingPrecision = 'seconds' | 'tenths' | 'hundredths';
|
|
22410
|
+
|
|
22411
|
+
export declare const NiceTimeline: default_2.ForwardRefExoticComponent<NiceTimelineProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
22412
|
+
displayName: string;
|
|
22413
|
+
};
|
|
22053
22414
|
|
|
22054
22415
|
/** A single entry in the {@link NiceTimeline}. */
|
|
22055
22416
|
export declare interface NiceTimelineItem {
|
|
@@ -22070,7 +22431,7 @@ export declare interface NiceTimelineItem {
|
|
|
22070
22431
|
/** Props for the {@link NiceTimeline} component — a vertical or horizontal timeline of events. */
|
|
22071
22432
|
export declare interface NiceTimelineProps extends NiceStandardProps {
|
|
22072
22433
|
/** Timeline entries. */
|
|
22073
|
-
items
|
|
22434
|
+
items?: NiceTimelineItem[];
|
|
22074
22435
|
/** Layout mode */
|
|
22075
22436
|
mode?: 'left' | 'right' | 'alternate' | 'horizontal';
|
|
22076
22437
|
/** Size of timeline dots and spacing */
|
|
@@ -22117,7 +22478,9 @@ export declare interface NiceToastItem {
|
|
|
22117
22478
|
duration?: number;
|
|
22118
22479
|
}
|
|
22119
22480
|
|
|
22120
|
-
export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement
|
|
22481
|
+
export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
22482
|
+
displayName: string;
|
|
22483
|
+
};
|
|
22121
22484
|
|
|
22122
22485
|
/**
|
|
22123
22486
|
* Toggle-button group with single OR multiple selection. Uses native
|
|
@@ -22218,7 +22581,9 @@ export declare interface NiceTooltipProps {
|
|
|
22218
22581
|
/** Concrete side a tooltip can be placed on (after `'auto'` is resolved). */
|
|
22219
22582
|
declare type NiceTooltipSide = 'top' | 'bottom' | 'left' | 'right';
|
|
22220
22583
|
|
|
22221
|
-
export declare const NiceTopNav: default_2.ForwardRefExoticComponent<NiceTopNavProps & default_2.RefAttributes<HTMLElement
|
|
22584
|
+
export declare const NiceTopNav: default_2.ForwardRefExoticComponent<NiceTopNavProps & default_2.RefAttributes<HTMLElement>> & {
|
|
22585
|
+
displayName: string;
|
|
22586
|
+
};
|
|
22222
22587
|
|
|
22223
22588
|
export declare type NiceTopNavDensity = 'compact' | 'normal' | 'comfortable';
|
|
22224
22589
|
|
|
@@ -22240,32 +22605,6 @@ declare interface NiceTopNavExtraAction {
|
|
|
22240
22605
|
badge?: number | string;
|
|
22241
22606
|
}
|
|
22242
22607
|
|
|
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
22608
|
export declare interface NiceTopNavProps {
|
|
22270
22609
|
height?: number | string;
|
|
22271
22610
|
density?: NiceTopNavDensity;
|
|
@@ -22353,7 +22692,6 @@ export declare interface NiceTopNavProps {
|
|
|
22353
22692
|
* - `'minimal'` — bare brand bar: brand only, no nav, no right cluster.
|
|
22354
22693
|
*/
|
|
22355
22694
|
preset?: 'marketing' | 'saas' | 'docs' | 'minimal';
|
|
22356
|
-
navItems?: NiceTopNavItem[];
|
|
22357
22695
|
navMenuItems?: NiceNavMenuItem[];
|
|
22358
22696
|
activeNavId?: string;
|
|
22359
22697
|
navAlignment?: 'start' | 'center' | 'end';
|
|
@@ -22383,12 +22721,10 @@ export declare interface NiceTopNavProps {
|
|
|
22383
22721
|
centerContent?: default_2.ReactNode;
|
|
22384
22722
|
/** Toggle search visibility independently of search props presence. Default: derived from search props. */
|
|
22385
22723
|
showSearch?: boolean;
|
|
22386
|
-
languages?: NiceTopNavLanguageOption[];
|
|
22387
22724
|
currentLanguage?: string;
|
|
22388
22725
|
onLanguageChange?: (code: string) => void;
|
|
22389
22726
|
showLanguagePicker?: boolean;
|
|
22390
22727
|
languagePickerProps?: Partial<NiceLanguagePickerProps>;
|
|
22391
|
-
themes?: NiceTopNavThemeOption[];
|
|
22392
22728
|
currentTheme?: string;
|
|
22393
22729
|
onThemeChange?: (id: string) => void;
|
|
22394
22730
|
showThemePicker?: boolean;
|
|
@@ -22399,10 +22735,8 @@ export declare interface NiceTopNavProps {
|
|
|
22399
22735
|
onMarkAllNotificationsRead?: () => void;
|
|
22400
22736
|
/** Toggle notifications visibility independently of notification props presence. */
|
|
22401
22737
|
showNotifications?: boolean;
|
|
22402
|
-
user?:
|
|
22738
|
+
user?: NiceAuthUser;
|
|
22403
22739
|
userMenuItems?: UserMenuItem[];
|
|
22404
|
-
/** @deprecated Use `userMenuItems`. */
|
|
22405
|
-
userMenu?: NiceTopNavMenuItem[];
|
|
22406
22740
|
onProfile?: () => void;
|
|
22407
22741
|
onLogout?: () => void;
|
|
22408
22742
|
/**
|
|
@@ -22501,20 +22835,6 @@ export declare interface NiceTopNavProps {
|
|
|
22501
22835
|
'data-testid'?: string;
|
|
22502
22836
|
}
|
|
22503
22837
|
|
|
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
22838
|
export declare type NiceTopNavVariant = 'default' | 'primary' | 'accent' | 'transparent' | 'glass' | 'dark';
|
|
22519
22839
|
|
|
22520
22840
|
export declare interface NiceTopologyData {
|
|
@@ -22585,9 +22905,9 @@ export declare interface NiceTreeGridNode {
|
|
|
22585
22905
|
/** Props for the {@link NiceTreeGrid} component — a hierarchical data grid with sorting, selection, search, and NiceDataGrid column features. */
|
|
22586
22906
|
export declare interface NiceTreeGridProps<T extends NiceTreeGridNode = NiceTreeGridNode> extends NiceBaseProps {
|
|
22587
22907
|
/** Column definitions (reuses NiceDataGridColumn). */
|
|
22588
|
-
columns
|
|
22908
|
+
columns?: NiceDataGridColumn<T>[];
|
|
22589
22909
|
/** Row data. */
|
|
22590
|
-
data
|
|
22910
|
+
data?: T[];
|
|
22591
22911
|
/** Field used as unique key. */
|
|
22592
22912
|
keyField?: string;
|
|
22593
22913
|
/** Field pointing to parent key (flat data). */
|
|
@@ -22659,9 +22979,9 @@ export declare interface NiceTreeListNode {
|
|
|
22659
22979
|
/** Props for the {@link NiceTreeList} component — a tree-structured data grid with expandable parent rows and NiceDataGrid columns. */
|
|
22660
22980
|
export declare interface NiceTreeListProps<T extends NiceTreeListNode = NiceTreeListNode> extends NiceBaseProps {
|
|
22661
22981
|
/** Column definitions (reuses NiceDataGridColumn). */
|
|
22662
|
-
columns
|
|
22982
|
+
columns?: NiceDataGridColumn<T>[];
|
|
22663
22983
|
/** Row data (flat or nested). */
|
|
22664
|
-
data
|
|
22984
|
+
data?: T[];
|
|
22665
22985
|
/** Field used as the unique key. */
|
|
22666
22986
|
keyField?: string;
|
|
22667
22987
|
/** Field pointing to parent key (flat data mode). */
|
|
@@ -22684,7 +23004,9 @@ export declare interface NiceTreeListProps<T extends NiceTreeListNode = NiceTree
|
|
|
22684
23004
|
emptyText?: string;
|
|
22685
23005
|
}
|
|
22686
23006
|
|
|
22687
|
-
export declare const NiceTreeMap: default_2.ForwardRefExoticComponent<NiceTreeMapProps & default_2.RefAttributes<HTMLDivElement
|
|
23007
|
+
export declare const NiceTreeMap: default_2.ForwardRefExoticComponent<NiceTreeMapProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
23008
|
+
displayName: string;
|
|
23009
|
+
};
|
|
22688
23010
|
|
|
22689
23011
|
export declare const NiceTreeMapChart: default_2.FC<NiceTreeMapChartProps>;
|
|
22690
23012
|
|
|
@@ -22762,7 +23084,9 @@ export declare interface NiceTreeNode {
|
|
|
22762
23084
|
[key: string]: any;
|
|
22763
23085
|
}
|
|
22764
23086
|
|
|
22765
|
-
export declare const NiceTreeSelect: default_2.ForwardRefExoticComponent<NiceTreeSelectProps & default_2.RefAttributes<HTMLDivElement
|
|
23087
|
+
export declare const NiceTreeSelect: default_2.ForwardRefExoticComponent<NiceTreeSelectProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
23088
|
+
displayName: string;
|
|
23089
|
+
};
|
|
22766
23090
|
|
|
22767
23091
|
/** A node in the tree hierarchy for {@link NiceTreeSelect}. */
|
|
22768
23092
|
export declare interface NiceTreeSelectNode {
|
|
@@ -22770,13 +23094,11 @@ export declare interface NiceTreeSelectNode {
|
|
|
22770
23094
|
label: string;
|
|
22771
23095
|
children?: NiceTreeSelectNode[];
|
|
22772
23096
|
disabled?: boolean;
|
|
22773
|
-
/** @deprecated Icons are no longer rendered — prop kept for backward compatibility. */
|
|
22774
|
-
icon?: default_2.ReactNode;
|
|
22775
23097
|
}
|
|
22776
23098
|
|
|
22777
23099
|
/** Props for the {@link NiceTreeSelect} component — a dropdown that lets the user pick from a tree hierarchy. */
|
|
22778
23100
|
export declare interface NiceTreeSelectProps extends NiceFormFieldProps {
|
|
22779
|
-
nodes
|
|
23101
|
+
nodes?: NiceTreeSelectNode[];
|
|
22780
23102
|
/** Selected value(s) */
|
|
22781
23103
|
value?: string | number | (string | number)[];
|
|
22782
23104
|
onChange?: (value: string | number | (string | number)[]) => void;
|
|
@@ -23117,7 +23439,9 @@ export declare interface NiceUndoProviderProps<T = unknown> {
|
|
|
23117
23439
|
maxHistory?: number;
|
|
23118
23440
|
}
|
|
23119
23441
|
|
|
23120
|
-
export declare const NiceUpdatePrompt: default_2.ForwardRefExoticComponent<NiceUpdatePromptProps & default_2.RefAttributes<HTMLDivElement
|
|
23442
|
+
export declare const NiceUpdatePrompt: default_2.ForwardRefExoticComponent<NiceUpdatePromptProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
23443
|
+
displayName: string;
|
|
23444
|
+
};
|
|
23121
23445
|
|
|
23122
23446
|
export declare interface NiceUpdatePromptProps extends NiceBaseProps, UseServiceWorkerOptions {
|
|
23123
23447
|
/** Display variant */
|
|
@@ -23149,7 +23473,9 @@ export declare interface NiceUpdatePromptProps extends NiceBaseProps, UseService
|
|
|
23149
23473
|
preview?: boolean;
|
|
23150
23474
|
}
|
|
23151
23475
|
|
|
23152
|
-
export declare const NiceUpload: default_2.ForwardRefExoticComponent<NiceUploadProps & default_2.RefAttributes<HTMLDivElement
|
|
23476
|
+
export declare const NiceUpload: default_2.ForwardRefExoticComponent<NiceUploadProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
23477
|
+
displayName: string;
|
|
23478
|
+
};
|
|
23153
23479
|
|
|
23154
23480
|
/** Imperative handle, exposed via the optional `apiRef` prop (not the div `ref`). */
|
|
23155
23481
|
export declare interface NiceUploadHandle {
|
|
@@ -23237,7 +23563,9 @@ export declare interface NiceUserInfo {
|
|
|
23237
23563
|
* {@link NiceUserMenu} — Avatar button with dropdown showing user info, role,
|
|
23238
23564
|
* status indicator, and action menu (profile, settings, logout).
|
|
23239
23565
|
*/
|
|
23240
|
-
export declare const NiceUserMenu: default_2.ForwardRefExoticComponent<NiceUserMenuProps & default_2.RefAttributes<HTMLDivElement
|
|
23566
|
+
export declare const NiceUserMenu: default_2.ForwardRefExoticComponent<NiceUserMenuProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
23567
|
+
displayName: string;
|
|
23568
|
+
};
|
|
23241
23569
|
|
|
23242
23570
|
/** Props for the {@link NiceUserMenu} component. */
|
|
23243
23571
|
export declare interface NiceUserMenuProps extends NiceFormFieldProps {
|
|
@@ -23283,7 +23611,7 @@ export declare const NiceValidationBuilder: default_2.FC<NiceValidationBuilderPr
|
|
|
23283
23611
|
/** Props for {@link NiceValidationBuilder}. */
|
|
23284
23612
|
export declare interface NiceValidationBuilderProps extends NiceBaseProps {
|
|
23285
23613
|
/** Fields that rules may target (reuses the filter field descriptor). */
|
|
23286
|
-
fields
|
|
23614
|
+
fields?: NiceFilterField[];
|
|
23287
23615
|
/** The validation rules (controlled). Omit it to let the builder keep its own. */
|
|
23288
23616
|
value?: NiceFieldValidationRule[];
|
|
23289
23617
|
/** Initial rules when uncontrolled. */
|
|
@@ -23366,7 +23694,7 @@ export declare interface NiceValidatorConfig {
|
|
|
23366
23694
|
export declare interface NiceValidatorProps extends NiceBaseProps {
|
|
23367
23695
|
name: string;
|
|
23368
23696
|
value: unknown;
|
|
23369
|
-
rules
|
|
23697
|
+
rules?: NiceValidationRule[];
|
|
23370
23698
|
children: (props: {
|
|
23371
23699
|
isValid: boolean;
|
|
23372
23700
|
errors: string[];
|
|
@@ -23382,7 +23710,7 @@ export declare const NiceVectorMap: default_2.FC<NiceVectorMapProps>;
|
|
|
23382
23710
|
/** Props for the {@link NiceVectorMap} component — an SVG choropleth map with region selection and tooltips. */
|
|
23383
23711
|
export declare interface NiceVectorMapProps extends NiceStandardProps {
|
|
23384
23712
|
/** Region definitions. */
|
|
23385
|
-
regions
|
|
23713
|
+
regions?: NiceMapRegion[];
|
|
23386
23714
|
/** SVG width in px. */
|
|
23387
23715
|
width?: number;
|
|
23388
23716
|
/** SVG height in px. */
|
|
@@ -23942,7 +24270,9 @@ export declare class NiceViewRegistry {
|
|
|
23942
24270
|
clear(): void;
|
|
23943
24271
|
}
|
|
23944
24272
|
|
|
23945
|
-
export declare const NiceViewRenderer: default_2.ForwardRefExoticComponent<NiceViewRendererProps & default_2.RefAttributes<HTMLDivElement
|
|
24273
|
+
export declare const NiceViewRenderer: default_2.ForwardRefExoticComponent<NiceViewRendererProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
24274
|
+
displayName: string;
|
|
24275
|
+
};
|
|
23946
24276
|
|
|
23947
24277
|
export declare interface NiceViewRendererProps extends NiceBaseProps {
|
|
23948
24278
|
/** The v2 view definition to render. */
|
|
@@ -24012,6 +24342,7 @@ export declare interface NiceViewToolbarItem {
|
|
|
24012
24342
|
id: string;
|
|
24013
24343
|
type: 'button' | 'separator' | 'spacer' | 'dropdown' | 'search' | 'custom';
|
|
24014
24344
|
label?: string;
|
|
24345
|
+
/** NiceIcon name, e.g. 'save' (until 1.2.1 the renderer printed it as text). */
|
|
24015
24346
|
icon?: string;
|
|
24016
24347
|
variant?: string;
|
|
24017
24348
|
disabled?: boolean | string;
|
|
@@ -24024,14 +24355,16 @@ export declare interface NiceViewToolbarItem {
|
|
|
24024
24355
|
|
|
24025
24356
|
export declare type NiceViewUpdateListener = (view: NiceViewDefinition) => void;
|
|
24026
24357
|
|
|
24027
|
-
export declare const NiceVirtualScroller: <T>(props: NiceVirtualScrollerProps<T> & {
|
|
24358
|
+
export declare const NiceVirtualScroller: (<T>(props: NiceVirtualScrollerProps<T> & {
|
|
24028
24359
|
ref?: default_2.ForwardedRef<HTMLDivElement>;
|
|
24029
|
-
}) => default_2.ReactElement | null
|
|
24360
|
+
}) => default_2.ReactElement | null) & {
|
|
24361
|
+
displayName: string;
|
|
24362
|
+
};
|
|
24030
24363
|
|
|
24031
24364
|
/** Props for the {@link NiceVirtualScroller} component — renders large lists efficiently by only mounting visible items. */
|
|
24032
24365
|
export declare interface NiceVirtualScrollerProps<T = unknown> extends NiceStandardProps {
|
|
24033
24366
|
/** Data items to render */
|
|
24034
|
-
items
|
|
24367
|
+
items?: T[];
|
|
24035
24368
|
/** Fixed height of each item in pixels */
|
|
24036
24369
|
itemHeight: number;
|
|
24037
24370
|
/** Visible area height in pixels (or CSS string) */
|
|
@@ -24064,7 +24397,9 @@ export { NiceWebSocketMessageType }
|
|
|
24064
24397
|
* {@link NiceWiki} — Wiki module with page tree sidebar, rich content area,
|
|
24065
24398
|
* inline editor (edit mode), page create/delete, and version history hooks.
|
|
24066
24399
|
*/
|
|
24067
|
-
export declare const NiceWiki: default_2.ForwardRefExoticComponent<NiceWikiProps & default_2.RefAttributes<HTMLDivElement
|
|
24400
|
+
export declare const NiceWiki: default_2.ForwardRefExoticComponent<NiceWikiProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
24401
|
+
displayName: string;
|
|
24402
|
+
};
|
|
24068
24403
|
|
|
24069
24404
|
export declare interface NiceWikiProps extends NiceFormFieldProps {
|
|
24070
24405
|
/** Page tree. Defaults to none. */
|
|
@@ -24103,7 +24438,9 @@ export declare interface NiceWikiProps extends NiceFormFieldProps {
|
|
|
24103
24438
|
onSearch?: (query: string) => void;
|
|
24104
24439
|
}
|
|
24105
24440
|
|
|
24106
|
-
export declare const NiceWindow: ForwardRefExoticComponent<NiceWindowProps & RefAttributes<HTMLDivElement
|
|
24441
|
+
export declare const NiceWindow: ForwardRefExoticComponent<NiceWindowProps & RefAttributes<HTMLDivElement>> & {
|
|
24442
|
+
displayName: string;
|
|
24443
|
+
};
|
|
24107
24444
|
|
|
24108
24445
|
/** Full runtime state of a {@link NiceWindow}. */
|
|
24109
24446
|
export declare interface NiceWindowFullState {
|
|
@@ -24127,7 +24464,9 @@ export declare interface NiceWindowFullState {
|
|
|
24127
24464
|
focused: boolean;
|
|
24128
24465
|
}
|
|
24129
24466
|
|
|
24130
|
-
export declare const NiceWindowManager: ForwardRefExoticComponent<NiceWindowManagerProps & RefAttributes<HTMLDivElement
|
|
24467
|
+
export declare const NiceWindowManager: ForwardRefExoticComponent<NiceWindowManagerProps & RefAttributes<HTMLDivElement>> & {
|
|
24468
|
+
displayName: string;
|
|
24469
|
+
};
|
|
24131
24470
|
|
|
24132
24471
|
/** Props for the {@link NiceWindowManager} component — a multi-window manager with taskbar and z-index stacking. */
|
|
24133
24472
|
export declare interface NiceWindowManagerProps extends NiceBaseProps {
|
|
@@ -24285,7 +24624,9 @@ export declare interface NiceWindowState {
|
|
|
24285
24624
|
/**
|
|
24286
24625
|
* {@link NiceWizard} — Multi-step wizard/stepper with per-step validation, optional steps, and step branching.
|
|
24287
24626
|
*/
|
|
24288
|
-
export declare const NiceWizard: default_2.ForwardRefExoticComponent<NiceWizardProps & default_2.RefAttributes<HTMLDivElement
|
|
24627
|
+
export declare const NiceWizard: default_2.ForwardRefExoticComponent<NiceWizardProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
24628
|
+
displayName: string;
|
|
24629
|
+
};
|
|
24289
24630
|
|
|
24290
24631
|
export declare interface NiceWizardProps {
|
|
24291
24632
|
/** Step definitions. Defaults to none. */
|
|
@@ -25570,6 +25911,16 @@ export declare interface RectangleAnnotation extends AnnotationBase {
|
|
|
25570
25911
|
tool: 'rectangle';
|
|
25571
25912
|
}
|
|
25572
25913
|
|
|
25914
|
+
/**
|
|
25915
|
+
* Start times of the occurrences of `rule` for a series that begins at `start`, in order, up to
|
|
25916
|
+
* `rangeEnd` (inclusive), honouring `until` and `count` (counted from `start`). A weekly rule with
|
|
25917
|
+
* `byDay` (0 = Sunday … 6 = Saturday, as `Date.getDay()`) repeats on those weekdays of every
|
|
25918
|
+
* `interval`-th week, counted from the week of `start`, and never before `start`; without
|
|
25919
|
+
* `byDay` it repeats on the weekday of `start`. `limit` caps the list (for previews of open-ended
|
|
25920
|
+
* rules).
|
|
25921
|
+
*/
|
|
25922
|
+
export declare function recurrenceDates(rule: NiceRecurrenceRule, start: Date, rangeEnd: Date, limit?: number): Date[];
|
|
25923
|
+
|
|
25573
25924
|
declare interface ReducerStep {
|
|
25574
25925
|
id: string;
|
|
25575
25926
|
type: 'set' | 'update' | 'push' | 'remove' | 'reset' | 'custom';
|
|
@@ -26695,6 +27046,7 @@ export declare interface SmartRoomDto {
|
|
|
26695
27046
|
export declare interface SmartSceneDto {
|
|
26696
27047
|
id: string;
|
|
26697
27048
|
name: string;
|
|
27049
|
+
/** NiceIcon name, e.g. `'moon'` (until 1.2.1 the scene bar printed it as text). */
|
|
26698
27050
|
icon?: string;
|
|
26699
27051
|
color?: string;
|
|
26700
27052
|
isQuickAccess?: boolean;
|
|
@@ -26983,7 +27335,10 @@ declare interface StreamDashboardContextValue {
|
|
|
26983
27335
|
updateAlertConfig: (id: string, updates: Partial<AlertConfig>) => void;
|
|
26984
27336
|
removeAlertConfig: (id: string) => void;
|
|
26985
27337
|
triggerAlert: (configId: string, data: unknown) => void;
|
|
26986
|
-
|
|
27338
|
+
/** Sends through `onSendChatMessage`; without it nothing is sent. */
|
|
27339
|
+
sendChatMessage: (platform: StreamPlatform, message: string) => void | Promise<void>;
|
|
27340
|
+
/** Feed an incoming chat message (from the platform connections) into the chat panel. */
|
|
27341
|
+
receiveChatMessage: (message: ChatMessage) => void;
|
|
26987
27342
|
clearChat: () => void;
|
|
26988
27343
|
pauseChat: (paused: boolean) => void;
|
|
26989
27344
|
setSlowMode: (seconds: number) => void;
|
|
@@ -28287,6 +28642,30 @@ export { useChartSuggestion }
|
|
|
28287
28642
|
|
|
28288
28643
|
export { useClickOutside }
|
|
28289
28644
|
|
|
28645
|
+
export declare function useClipboardStack(options?: UseClipboardStackOptions): {
|
|
28646
|
+
entries: ClipboardEntry[];
|
|
28647
|
+
copy: (content: string, meta?: Partial<ClipboardEntry>) => ClipboardEntry;
|
|
28648
|
+
paste: (entry: ClipboardEntry) => string;
|
|
28649
|
+
remove: (id: string) => void;
|
|
28650
|
+
pin: (id: string, pinned: boolean) => void;
|
|
28651
|
+
clear: (keepPinned?: boolean) => void;
|
|
28652
|
+
reorder: (from: number, to: number) => void;
|
|
28653
|
+
canUndo: boolean;
|
|
28654
|
+
};
|
|
28655
|
+
|
|
28656
|
+
export declare interface UseClipboardStackOptions {
|
|
28657
|
+
/** Maximum entries. */
|
|
28658
|
+
maxEntries?: number;
|
|
28659
|
+
/** LocalStorage key. */
|
|
28660
|
+
storageKey?: string;
|
|
28661
|
+
/** Enable persistence. */
|
|
28662
|
+
persist?: boolean;
|
|
28663
|
+
/** Called on copy. */
|
|
28664
|
+
onCopy?: (entry: ClipboardEntry) => void;
|
|
28665
|
+
/** Called on paste. */
|
|
28666
|
+
onPaste?: (entry: ClipboardEntry) => void;
|
|
28667
|
+
}
|
|
28668
|
+
|
|
28290
28669
|
export { useCodeCompletion }
|
|
28291
28670
|
|
|
28292
28671
|
export { useCognitiveAccessibility }
|
|
@@ -28502,6 +28881,25 @@ export declare interface UseNiceDataSourceTimeoutResult<T = unknown> {
|
|
|
28502
28881
|
refetch: () => void;
|
|
28503
28882
|
}
|
|
28504
28883
|
|
|
28884
|
+
/**
|
|
28885
|
+
* Promise-based `prompt` / `confirm` / `alert` on the library's own dialogs
|
|
28886
|
+
* ({@link NicePromptDialog}, {@link NiceConfirmDialog}), in place of the browser's blocking
|
|
28887
|
+
* `window.prompt` / `window.confirm` / `window.alert`, which ignore the theme, the language and
|
|
28888
|
+
* the app's focus management.
|
|
28889
|
+
*
|
|
28890
|
+
* ```tsx
|
|
28891
|
+
* const dialogs = useNiceDialogs();
|
|
28892
|
+
* const rename = async () => {
|
|
28893
|
+
* const name = await dialogs.prompt({ title: t('rename', 'New name'), defaultValue: item.name });
|
|
28894
|
+
* if (name) onRename(item, name);
|
|
28895
|
+
* };
|
|
28896
|
+
* return <>{dialogs.element}<button onClick={rename}>…</button></>;
|
|
28897
|
+
* ```
|
|
28898
|
+
*
|
|
28899
|
+
* One dialog at a time: a new request settles the open one as cancelled.
|
|
28900
|
+
*/
|
|
28901
|
+
export declare function useNiceDialogs(): NiceDialogs;
|
|
28902
|
+
|
|
28505
28903
|
export { useNiceDisplayStyle }
|
|
28506
28904
|
|
|
28507
28905
|
export { useNiceField }
|