@nice2dev/ui 1.1.6 → 1.1.7
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 +52 -0
- package/README.md +50 -29
- package/css/legacy-bg-text-aliases.css +65 -61
- package/dist/NiceCodeEditor-Bc81wiaN.js +1134 -0
- package/dist/NiceCodeEditor-D6f8KdHN.js +1134 -0
- package/dist/NiceCodeEditor-DE3saxyt.cjs +260 -0
- package/dist/NiceCodeEditor-DZM16My5.cjs +260 -0
- package/dist/NiceCodeEditor-HqmcJjmZ.js +1179 -0
- package/dist/NiceColorPicker-6EqXaDj0.cjs +1 -0
- package/dist/NiceColorPicker-BiEWqWnd.js +596 -0
- package/dist/NiceColorPicker-Cuc6YXqz.cjs +1 -0
- package/dist/NiceColorPicker-DMATcNWG.js +596 -0
- package/dist/NiceColorPicker-R3O1nemp.js +596 -0
- package/dist/NiceConfirmDialog-B0e10fRL.cjs +1 -0
- package/dist/NiceConfirmDialog-BBDgEMHv.js +81 -0
- package/dist/NiceConfirmDialog-C7kdr8jJ.js +81 -0
- package/dist/NiceConfirmDialog-DMHqPfFM.js +81 -0
- package/dist/NiceConfirmDialog-ZJpQLQQS.cjs +1 -0
- package/dist/NiceDataGrid-BzUw4dSu.cjs +10 -0
- package/dist/NiceDataGrid-CPKcVOVz.js +1743 -0
- package/dist/NiceDataGrid-DJr33WMy.cjs +10 -0
- package/dist/NiceDataGrid-D_4gZ1Hu.js +1736 -0
- package/dist/NiceDataGrid-DlUAaXhD.js +1736 -0
- package/dist/NiceDocumentViewer-8ghRVtfO.js +672 -0
- package/dist/NiceDocumentViewer-ChWtA_Ry.cjs +180 -0
- package/dist/NiceDocumentViewer-DwLUV7Tc.js +672 -0
- package/dist/NiceDocumentViewer-goMzF1w3.cjs +180 -0
- package/dist/NiceDocumentViewer-gt1mxzP8.js +672 -0
- package/dist/NiceForm-CHEAHxDw.js +4805 -0
- package/dist/NiceForm-CJUp1CL0.cjs +1 -0
- package/dist/NiceForm-Cp_RH3Yj.js +4805 -0
- package/dist/NiceForm-a6tGr6ss.js +4819 -0
- package/dist/NiceForm-jU89oe2S.cjs +1 -0
- package/dist/NiceGantt-BnQwyTfG.cjs +1 -0
- package/dist/NiceGantt-D8coFAvK.js +328 -0
- package/dist/NiceGantt-DOZfT6r5.js +328 -0
- package/dist/NiceGantt-DQzH1V-R.js +328 -0
- package/dist/NiceGantt-jQ8ZpXko.cjs +1 -0
- package/dist/NiceHtmlEditor-B1nlXJNW.cjs +10 -0
- package/dist/NiceHtmlEditor-Bv3VqJPG.js +862 -0
- package/dist/NiceHtmlEditor-CKsGj-Ei.cjs +10 -0
- package/dist/NiceHtmlEditor-CloMgyzg.js +841 -0
- package/dist/NiceHtmlEditor-DUAHmkWI.js +841 -0
- package/dist/NiceLoginForm-Ce_QLnLf.js +736 -0
- package/dist/NiceLoginForm-DLpNTQlR.cjs +1 -0
- package/dist/NiceLoginForm-Dg0286Cc.js +736 -0
- package/dist/NiceLoginForm-X05Vadeg.js +708 -0
- package/dist/NiceLoginForm-f_dBCnUi.cjs +1 -0
- package/dist/NiceMention-BByI4nFG.js +11120 -0
- package/dist/NiceMention-C2TPiMph.cjs +430 -0
- package/dist/NiceMention-C67vT6m0.js +11145 -0
- package/dist/NiceMention-D1cdy63w.cjs +430 -0
- package/dist/NiceMention-QIuggb9Y.js +11122 -0
- package/dist/NiceMention.css +1 -1
- package/dist/NiceModal-CHaan9al.js +95 -0
- package/dist/NiceModal-Czq6OEAT.js +95 -0
- package/dist/NiceModal-D-HFwawr.js +95 -0
- package/dist/NiceModal-DOy2XTzc.cjs +1 -0
- package/dist/NiceModal-DkawKzEE.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-1CsP8Zst.js +6997 -0
- package/dist/NiceModuleLifecyclePanel-Bkx4Yg-3.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-C5oYtczk.js +6999 -0
- package/dist/NiceModuleLifecyclePanel-DCcy2yYi.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-DqdgW-0s.js +7004 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NicePagination-7od5KUa3.cjs +1 -0
- package/dist/NicePagination-DMrkR8hH.cjs +1 -0
- package/dist/NicePagination-DQmZpsSQ.js +179 -0
- package/dist/NicePagination-DipQRjPq.js +172 -0
- package/dist/NicePagination-KhlVXYaT.js +172 -0
- package/dist/NicePivotGrid-B-KthuqL.cjs +152 -0
- package/dist/NicePivotGrid-CLCTHkKO.cjs +152 -0
- package/dist/NicePivotGrid-DV54FCsH.js +1174 -0
- package/dist/NicePivotGrid-DoWLUPUs.js +1167 -0
- package/dist/NicePivotGrid-etwpfccz.js +1167 -0
- package/dist/NiceSavedQueryPanel-BABkTNc5.js +5129 -0
- package/dist/NiceSavedQueryPanel-Cfeig83P.cjs +586 -0
- package/dist/NiceSavedQueryPanel-DTWRLseb.cjs +586 -0
- package/dist/NiceSavedQueryPanel-Dy154sxE.js +5129 -0
- package/dist/NiceSavedQueryPanel-v7AffOOe.js +5129 -0
- package/dist/NiceSavedQueryPanel.css +1 -1
- package/dist/NiceScheduler-BEgB7ZgF.cjs +5 -0
- package/dist/NiceScheduler-C9JprsEI.cjs +5 -0
- package/dist/NiceScheduler-DSP-PPh0.js +1645 -0
- package/dist/NiceScheduler-DuPnaA3t.js +1652 -0
- package/dist/NiceScheduler-Oa89YZx9.js +1645 -0
- package/dist/NiceSelect-A336yeLZ.js +433 -0
- package/dist/NiceSelect-B5hTbqi2.js +433 -0
- package/dist/NiceSelect-BYSgDYzq.cjs +1 -0
- package/dist/NiceSelect-Dudf2T5T.js +433 -0
- package/dist/NiceSelect-DwBAIrX7.cjs +1 -0
- package/dist/NiceWindow-B6zjBTl9.cjs +1 -0
- package/dist/NiceWindow-BKQEx7Vf.js +1623 -0
- package/dist/NiceWindow-BnTH7Gy0.js +1623 -0
- package/dist/NiceWindow-CZN9NVZw.cjs +1 -0
- package/dist/NiceWindow-lxtPR7yZ.js +1623 -0
- package/dist/NiceWindow.css +1 -1
- package/dist/charts-B8_V3_nq.cjs +882 -0
- package/dist/charts-BZgyyybE.js +31933 -0
- package/dist/charts-FuDk5-r6.js +31958 -0
- package/dist/charts-INj3yFo5.js +31946 -0
- package/dist/charts-NolNXKUL.cjs +882 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.css +1 -1
- package/dist/charts.mjs +1 -1
- package/dist/core-A_A6c7an.js +795 -0
- package/dist/core-B2iH2J_X.js +795 -0
- package/dist/core-BmspZEfD.js +795 -0
- package/dist/core-DAfLOet6.cjs +1 -0
- package/dist/core-ZG3bgnBR.cjs +1 -0
- package/dist/data-branching-B3TOqXAO.cjs +1 -0
- package/dist/data-branching-BUGiICDZ.js +6275 -0
- package/dist/data-branching-DMXmcocj.js +6275 -0
- package/dist/data-branching-YE8P9M5P.js +6275 -0
- package/dist/data-branching-t6uhAwIm.cjs +1 -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 +7 -2
- package/dist/data.mjs +3 -3
- package/dist/devops-BhV3OmF7.js +8285 -0
- package/dist/devops-BqUxnbRi.cjs +17 -0
- package/dist/devops-Bx-Qwj9w.cjs +17 -0
- package/dist/devops-DYZatW45.js +8251 -0
- package/dist/devops-R98k2zpd.js +8251 -0
- package/dist/devops.cjs +1 -1
- package/dist/devops.d.ts +29 -16
- package/dist/devops.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +35 -20
- package/dist/editors.mjs +7 -7
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.mjs +3 -3
- package/dist/index.cjs +445 -445
- package/dist/index.css +1 -1
- package/dist/index.d.ts +190 -111
- package/dist/index.mjs +16635 -16351
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +31 -18
- package/dist/lazy.mjs +24 -24
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +17 -14
- package/dist/navigation.mjs +130 -130
- package/dist/no-code-BPaAS4wW.cjs +332 -0
- package/dist/no-code-CBwUVL1i.js +7447 -0
- package/dist/no-code-CjktkQ50.js +7447 -0
- package/dist/no-code-DW2NrRba.js +7447 -0
- package/dist/no-code-DmFxrZ5T.cjs +332 -0
- package/dist/no-code.cjs +1 -1
- package/dist/no-code.d.ts +2 -2
- package/dist/no-code.mjs +1 -1
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.d.ts +4 -4
- package/dist/overlays.mjs +2 -2
- package/dist/pickerCommons-C4XWRUvH.cjs +1 -0
- package/dist/pickerCommons-C_BpYs_m.cjs +1 -0
- package/dist/pickerCommons-DAOXH_u5.js +1122 -0
- package/dist/pickerCommons-Dn4wnDco.js +1122 -0
- package/dist/pickerCommons-DskswPS5.js +1122 -0
- package/dist/pickerCommons.css +1 -1
- package/dist/style.css +7 -7
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -7144,10 +7144,12 @@ export { NiceAccessControlProps }
|
|
|
7144
7144
|
export declare const NiceAccessManager: ForwardRefExoticComponent<NiceAccessManagerProps & RefAttributes<HTMLDivElement>>;
|
|
7145
7145
|
|
|
7146
7146
|
export declare interface NiceAccessManagerProps extends NiceBaseProps {
|
|
7147
|
-
/** The RBAC model (controlled). */
|
|
7148
|
-
value
|
|
7147
|
+
/** The RBAC model (controlled). Omit it to let the manager keep its own. */
|
|
7148
|
+
value?: NiceRbacModel;
|
|
7149
|
+
/** Initial model when uncontrolled. Defaults to an empty model. */
|
|
7150
|
+
defaultValue?: NiceRbacModel;
|
|
7149
7151
|
/** Change callback with the full updated model. */
|
|
7150
|
-
onChange
|
|
7152
|
+
onChange?: (model: NiceRbacModel) => void;
|
|
7151
7153
|
/** Render read-only. */
|
|
7152
7154
|
readOnly?: boolean;
|
|
7153
7155
|
/** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
|
|
@@ -7276,10 +7278,12 @@ export declare interface NiceAchievementBadgeProps {
|
|
|
7276
7278
|
export declare const NiceActionBuilder: ForwardRefExoticComponent<NiceActionBuilderProps & RefAttributes<HTMLDivElement>>;
|
|
7277
7279
|
|
|
7278
7280
|
export declare interface NiceActionBuilderProps {
|
|
7279
|
-
/** Current actions (controlled). */
|
|
7280
|
-
value
|
|
7281
|
+
/** Current actions (controlled). Omit it to let the builder keep its own. */
|
|
7282
|
+
value?: NiceViewAction[];
|
|
7283
|
+
/** Initial actions when uncontrolled. */
|
|
7284
|
+
defaultValue?: NiceViewAction[];
|
|
7281
7285
|
/** Change callback with the full updated array. */
|
|
7282
|
-
onChange
|
|
7286
|
+
onChange?: (actions: NiceViewAction[]) => void;
|
|
7283
7287
|
/** Available custom handler names (for `type: 'custom'`). */
|
|
7284
7288
|
handlers?: string[];
|
|
7285
7289
|
/** Available data source keys (for `refresh`). */
|
|
@@ -8036,8 +8040,10 @@ export declare const NiceAutocomplete: default_2.FC<NiceAutocompleteProps>;
|
|
|
8036
8040
|
/** Props for the {@link NiceAutocomplete} component — a text input with filtered suggestion dropdown and optional multi-select. */
|
|
8037
8041
|
export declare interface NiceAutocompleteProps extends NiceFormFieldProps {
|
|
8038
8042
|
options: NiceOption[];
|
|
8039
|
-
/** Single value or array of values if multiple=true. */
|
|
8040
|
-
value
|
|
8043
|
+
/** Single value or array of values if multiple=true (controlled). Omit it to let the field keep its own. */
|
|
8044
|
+
value?: string | string[];
|
|
8045
|
+
/** Initial value when uncontrolled. */
|
|
8046
|
+
defaultValue?: string | string[];
|
|
8041
8047
|
onChange?: (value: string | string[]) => void;
|
|
8042
8048
|
minSearchLength?: number;
|
|
8043
8049
|
maxResults?: number;
|
|
@@ -8210,13 +8216,15 @@ export declare interface NiceBackupRestoreDialogProps {
|
|
|
8210
8216
|
onClose?: () => void;
|
|
8211
8217
|
}
|
|
8212
8218
|
|
|
8213
|
-
export declare function NiceBackupScheduler({ value, onChange, onSave, loading, className, style, }: NiceBackupSchedulerProps): default_2.JSX.Element;
|
|
8219
|
+
export declare function NiceBackupScheduler({ value: valueProp, defaultValue, onChange, onSave, loading, className, style, }: NiceBackupSchedulerProps): default_2.JSX.Element;
|
|
8214
8220
|
|
|
8215
8221
|
export declare interface NiceBackupSchedulerProps {
|
|
8216
|
-
/** Current schedule configuration */
|
|
8217
|
-
value
|
|
8222
|
+
/** Current schedule configuration (controlled). Omit it to let the scheduler keep its own. */
|
|
8223
|
+
value?: BackupScheduleConfig;
|
|
8224
|
+
/** Initial configuration when uncontrolled. */
|
|
8225
|
+
defaultValue?: BackupScheduleConfig;
|
|
8218
8226
|
/** Called on any change */
|
|
8219
|
-
onChange
|
|
8227
|
+
onChange?: (value: BackupScheduleConfig) => void;
|
|
8220
8228
|
/** Called when user saves */
|
|
8221
8229
|
onSave?: (value: BackupScheduleConfig) => void;
|
|
8222
8230
|
/** Loading (disable save button) */
|
|
@@ -8311,8 +8319,10 @@ export declare type NiceBarcodeGeneratorProps = NiceBarcodeProps;
|
|
|
8311
8319
|
|
|
8312
8320
|
/** Props for the {@link NiceBarcode} component — renders a barcode on a `<canvas>`. */
|
|
8313
8321
|
export declare interface NiceBarcodeProps extends NiceStandardProps {
|
|
8314
|
-
/** Text value to encode. */
|
|
8315
|
-
value
|
|
8322
|
+
/** Text value to encode (controlled). Omit it to let the barcode keep its own. */
|
|
8323
|
+
value?: string;
|
|
8324
|
+
/** Initial value when uncontrolled. */
|
|
8325
|
+
defaultValue?: string;
|
|
8316
8326
|
/** Barcode symbology (default CODE128). */
|
|
8317
8327
|
format?: NiceBarcodeFormat;
|
|
8318
8328
|
/** Canvas width in pixels (auto-calculated if omitted). */
|
|
@@ -8598,8 +8608,10 @@ export declare const NiceBusinessCard: default_2.ForwardRefExoticComponent<NiceB
|
|
|
8598
8608
|
* state-ish props below exist only for the optional inline-edit mode.
|
|
8599
8609
|
*/
|
|
8600
8610
|
export declare interface NiceBusinessCardProps {
|
|
8601
|
-
/** Business entity data. */
|
|
8602
|
-
data
|
|
8611
|
+
/** Business entity data (controlled). Omit it to let the card keep its own copy in edit mode. */
|
|
8612
|
+
data?: BusinessCardData;
|
|
8613
|
+
/** Initial data when uncontrolled. */
|
|
8614
|
+
defaultData?: BusinessCardData;
|
|
8603
8615
|
/** Whether to render in edit mode. */
|
|
8604
8616
|
editing?: boolean;
|
|
8605
8617
|
/** Fires when data changes (in edit mode). */
|
|
@@ -9323,10 +9335,14 @@ export declare interface NiceCodeDecoration {
|
|
|
9323
9335
|
export declare function NiceCodeDiffEditor(props: NiceCodeDiffEditorProps): default_2.ReactElement;
|
|
9324
9336
|
|
|
9325
9337
|
export declare interface NiceCodeDiffEditorProps {
|
|
9326
|
-
/** Original (left) code */
|
|
9327
|
-
original
|
|
9328
|
-
/**
|
|
9329
|
-
|
|
9338
|
+
/** Original (left) code (controlled). Omit it to let the editor keep its own. */
|
|
9339
|
+
original?: string;
|
|
9340
|
+
/** Initial original code when uncontrolled. */
|
|
9341
|
+
defaultOriginal?: string;
|
|
9342
|
+
/** Modified (right) code (controlled). Omit it to let the editor keep its own. */
|
|
9343
|
+
modified?: string;
|
|
9344
|
+
/** Initial modified code when uncontrolled. */
|
|
9345
|
+
defaultModified?: string;
|
|
9330
9346
|
/** Language */
|
|
9331
9347
|
language?: NiceCodeLanguage;
|
|
9332
9348
|
/** Theme */
|
|
@@ -9483,8 +9499,10 @@ export declare interface NiceCodeEditorOptions {
|
|
|
9483
9499
|
export declare interface NiceCodeEditorProps {
|
|
9484
9500
|
/** Editor layout size (minimal / compact / standard / fullscreen). */
|
|
9485
9501
|
editorSize?: NiceEditorSize;
|
|
9486
|
-
/** Code
|
|
9487
|
-
value
|
|
9502
|
+
/** Code (controlled). Omit it to let the editor keep its own. */
|
|
9503
|
+
value?: string;
|
|
9504
|
+
/** Initial code when uncontrolled. */
|
|
9505
|
+
defaultValue?: string;
|
|
9488
9506
|
/** Value change callback */
|
|
9489
9507
|
onChange?: (value: string) => void;
|
|
9490
9508
|
/** Language */
|
|
@@ -9638,8 +9656,8 @@ export declare interface NiceCodePreviewProps {
|
|
|
9638
9656
|
export declare const NiceCodeTemplate: default_2.FC<NiceCodeTemplateProps>;
|
|
9639
9657
|
|
|
9640
9658
|
export declare interface NiceCodeTemplateProps extends NiceBaseProps {
|
|
9641
|
-
/** Available templates */
|
|
9642
|
-
templates
|
|
9659
|
+
/** Available templates. Defaults to none. */
|
|
9660
|
+
templates?: CodeTemplate[];
|
|
9643
9661
|
/** Framework presets */
|
|
9644
9662
|
presets?: FrameworkPreset[];
|
|
9645
9663
|
/** Currently selected template */
|
|
@@ -9948,10 +9966,9 @@ export declare interface NiceCommandBarCommand {
|
|
|
9948
9966
|
keywords?: string[];
|
|
9949
9967
|
}
|
|
9950
9968
|
|
|
9951
|
-
/** Props for {@link NiceCommandBar} — searchable command palette. */
|
|
9952
9969
|
export declare interface NiceCommandBarProps extends NiceStandardProps {
|
|
9953
|
-
/** Command set. */
|
|
9954
|
-
commands
|
|
9970
|
+
/** Command set. Defaults to none. */
|
|
9971
|
+
commands?: NiceCommandBarCommand[];
|
|
9955
9972
|
/** Controlled visibility. When omitted the bar is always visible. */
|
|
9956
9973
|
open?: boolean;
|
|
9957
9974
|
/** Fires when open state changes (e.g. Escape closes). */
|
|
@@ -10323,10 +10340,9 @@ export declare interface NiceConsentBannerProps {
|
|
|
10323
10340
|
*/
|
|
10324
10341
|
export declare const NiceConsentPanel: default_2.ForwardRefExoticComponent<NiceConsentPanelProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
10325
10342
|
|
|
10326
|
-
/** Props for the {@link NiceConsentPanel} component. */
|
|
10327
10343
|
export declare interface NiceConsentPanelProps extends NiceFormFieldProps {
|
|
10328
|
-
/** Consent items to display. */
|
|
10329
|
-
consents
|
|
10344
|
+
/** Consent items to display. Defaults to none. */
|
|
10345
|
+
consents?: ConsentItem[];
|
|
10330
10346
|
/** Fires when a consent status changes. */
|
|
10331
10347
|
onConsentChange?: (id: string, status: ConsentStatus) => void;
|
|
10332
10348
|
/** Fires when "Accept all" is clicked. */
|
|
@@ -12221,8 +12237,8 @@ export declare interface NiceDrawerProps extends NiceStandardProps {
|
|
|
12221
12237
|
export declare const NiceDrillDownChart: default_2.ForwardRefExoticComponent<NiceDrillDownChartProps & default_2.RefAttributes<NiceDrillDownChartRef>>;
|
|
12222
12238
|
|
|
12223
12239
|
export declare interface NiceDrillDownChartProps extends NiceStandardProps {
|
|
12224
|
-
/** Poziomy danych do drill-down */
|
|
12225
|
-
levels
|
|
12240
|
+
/** Poziomy danych do drill-down. Domyślnie brak. */
|
|
12241
|
+
levels?: DrillDownLevel[];
|
|
12226
12242
|
/** Początkowy poziom */
|
|
12227
12243
|
initialLevelId?: string;
|
|
12228
12244
|
/** Typ wykresu */
|
|
@@ -12988,8 +13004,11 @@ export declare const NiceFilterBuilder: default_2.FC<NiceFilterBuilderProps>;
|
|
|
12988
13004
|
/** Props for the {@link NiceFilterBuilder} component — a visual query builder for complex AND/OR filter trees. */
|
|
12989
13005
|
export declare interface NiceFilterBuilderProps extends NiceBaseProps {
|
|
12990
13006
|
fields: NiceFilterField[];
|
|
12991
|
-
|
|
12992
|
-
|
|
13007
|
+
/** Filter tree (controlled). Omit it to let the builder keep its own. */
|
|
13008
|
+
value?: NiceFilterGroup;
|
|
13009
|
+
/** Initial filter tree when uncontrolled. Defaults to an empty AND group. */
|
|
13010
|
+
defaultValue?: NiceFilterGroup;
|
|
13011
|
+
onChange?: (value: NiceFilterGroup) => void;
|
|
12993
13012
|
maxDepth?: number;
|
|
12994
13013
|
/** Named filter presets */
|
|
12995
13014
|
presets?: NiceFilterPreset[];
|
|
@@ -13578,8 +13597,8 @@ export declare interface NiceGitConflictResolverProps extends NiceBaseProps {
|
|
|
13578
13597
|
export declare const NiceGitDiffViewer: default_2.FC<NiceGitDiffViewerProps>;
|
|
13579
13598
|
|
|
13580
13599
|
export declare interface NiceGitDiffViewerProps extends NiceBaseProps {
|
|
13581
|
-
/** Diff files */
|
|
13582
|
-
files
|
|
13600
|
+
/** Diff files. Defaults to none. */
|
|
13601
|
+
files?: DiffFile[];
|
|
13583
13602
|
/** View mode */
|
|
13584
13603
|
viewMode?: DiffViewMode;
|
|
13585
13604
|
/** Show whitespace changes */
|
|
@@ -13606,12 +13625,12 @@ export declare interface NiceGitDiffViewerProps extends NiceBaseProps {
|
|
|
13606
13625
|
export declare const NiceGitGraph: default_2.FC<NiceGitGraphProps>;
|
|
13607
13626
|
|
|
13608
13627
|
export declare interface NiceGitGraphProps extends NiceBaseProps {
|
|
13609
|
-
/** Commits to display (newest first) */
|
|
13610
|
-
commits
|
|
13611
|
-
/** All branches */
|
|
13612
|
-
branches
|
|
13613
|
-
/** All tags */
|
|
13614
|
-
tags
|
|
13628
|
+
/** Commits to display (newest first). Defaults to none. */
|
|
13629
|
+
commits?: GitCommit_2[];
|
|
13630
|
+
/** All branches. Defaults to none. */
|
|
13631
|
+
branches?: GitBranch_2[];
|
|
13632
|
+
/** All tags. Defaults to none. */
|
|
13633
|
+
tags?: GitTag_2[];
|
|
13615
13634
|
/** Currently checked out branch/commit */
|
|
13616
13635
|
head?: string;
|
|
13617
13636
|
/** Selected commit hash */
|
|
@@ -13650,8 +13669,13 @@ export declare interface NiceGitGraphProps extends NiceBaseProps {
|
|
|
13650
13669
|
export declare const NiceGitHooks: default_2.FC<NiceGitHooksProps>;
|
|
13651
13670
|
|
|
13652
13671
|
export declare interface NiceGitHooksProps extends NiceBaseProps {
|
|
13653
|
-
/**
|
|
13654
|
-
|
|
13672
|
+
/**
|
|
13673
|
+
* Hooks configuration. Controlled only together with `onHooksChange`; on its own it is
|
|
13674
|
+
* the initial configuration the editor then keeps in a local copy.
|
|
13675
|
+
*/
|
|
13676
|
+
hooks?: GitHook[];
|
|
13677
|
+
/** Initial hooks configuration when uncontrolled. */
|
|
13678
|
+
defaultHooks?: GitHook[];
|
|
13655
13679
|
/** Available templates */
|
|
13656
13680
|
templates?: HookTemplate[];
|
|
13657
13681
|
/** Hook manager type */
|
|
@@ -13660,7 +13684,10 @@ export declare interface NiceGitHooksProps extends NiceBaseProps {
|
|
|
13660
13684
|
repoPath?: string;
|
|
13661
13685
|
/** Currently editing hook */
|
|
13662
13686
|
selectedHook?: GitHookType;
|
|
13687
|
+
/** Called with each hook the user changed. */
|
|
13663
13688
|
onHookChange?: (hook: GitHook) => void;
|
|
13689
|
+
/** Called with the whole hooks list after any change. */
|
|
13690
|
+
onHooksChange?: (hooks: GitHook[]) => void;
|
|
13664
13691
|
onHookToggle?: (hookType: GitHookType, enabled: boolean) => void;
|
|
13665
13692
|
onActionAdd?: (hookType: GitHookType, action: HookAction) => void;
|
|
13666
13693
|
onActionRemove?: (hookType: GitHookType, actionId: string) => void;
|
|
@@ -14038,8 +14065,12 @@ declare interface NiceHtmlEditorAIRef {
|
|
|
14038
14065
|
export declare type NiceHtmlEditorCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'h1' | 'h2' | 'h3' | 'ul' | 'ol' | 'link' | 'unlink' | 'undo' | 'redo' | 'clear' | 'table' | 'image' | 'code' | 'markdown' | 'blockquote' | 'hr' | 'fontSize' | 'fontColor' | 'bgColor' | 'subscript' | 'superscript' | 'indent' | 'outdent' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'fullscreen' | 'removeFormat' | 'print' | 'source' | 'emoji' | 'findReplace';
|
|
14039
14066
|
|
|
14040
14067
|
export declare interface NiceHtmlEditorProps extends NiceFormFieldProps {
|
|
14041
|
-
|
|
14042
|
-
|
|
14068
|
+
/** HTML content (controlled). Omit it to let the editor keep its own. */
|
|
14069
|
+
value?: string;
|
|
14070
|
+
/** Initial HTML content when uncontrolled. */
|
|
14071
|
+
defaultValue?: string;
|
|
14072
|
+
/** Called with the new HTML after every edit. */
|
|
14073
|
+
onChange?: (html: string) => void;
|
|
14043
14074
|
placeholder?: string;
|
|
14044
14075
|
height?: number | string;
|
|
14045
14076
|
toolbar?: NiceHtmlEditorCommand[];
|
|
@@ -14358,8 +14389,8 @@ export { NiceInstanceMonitor }
|
|
|
14358
14389
|
export { NiceInstanceMonitor as NiceWorkflowInstanceMonitor }
|
|
14359
14390
|
|
|
14360
14391
|
export declare interface NiceInstanceMonitorProps extends NiceBaseProps {
|
|
14361
|
-
/** List of process instances */
|
|
14362
|
-
instances
|
|
14392
|
+
/** List of process instances. Defaults to none. */
|
|
14393
|
+
instances?: ProcessInstance[];
|
|
14363
14394
|
/** Currently selected instance ID */
|
|
14364
14395
|
selectedInstanceId?: string;
|
|
14365
14396
|
/** Called when an instance is selected */
|
|
@@ -14581,10 +14612,12 @@ export { NiceKeyboardHintProps }
|
|
|
14581
14612
|
export declare const NiceKeyValueEditor: ForwardRefExoticComponent<NiceKeyValueEditorProps & RefAttributes<HTMLDivElement>>;
|
|
14582
14613
|
|
|
14583
14614
|
export declare interface NiceKeyValueEditorProps extends NiceBaseProps {
|
|
14584
|
-
/** Current rows (controlled). */
|
|
14585
|
-
value
|
|
14615
|
+
/** Current rows (controlled). Omit it to let the editor keep its own. */
|
|
14616
|
+
value?: NiceKeyValuePair[];
|
|
14617
|
+
/** Initial rows when uncontrolled. */
|
|
14618
|
+
defaultValue?: NiceKeyValuePair[];
|
|
14586
14619
|
/** Change callback with the full updated array. */
|
|
14587
|
-
onChange
|
|
14620
|
+
onChange?: (pairs: NiceKeyValuePair[]) => void;
|
|
14588
14621
|
/** Allow toggling a row's value between text and secret (adds a lock toggle). */
|
|
14589
14622
|
allowSecret?: boolean;
|
|
14590
14623
|
/** Show a per-row enable/disable checkbox. */
|
|
@@ -15348,8 +15381,14 @@ export declare const NiceLocaleManager: default_2.FC<NiceLocaleManagerProps>;
|
|
|
15348
15381
|
|
|
15349
15382
|
export declare interface NiceLocaleManagerProps extends NiceBaseProps {
|
|
15350
15383
|
locales: NiceLocaleInfo[];
|
|
15351
|
-
|
|
15352
|
-
|
|
15384
|
+
/** Translations per locale, `translations[locale][key]` (controlled). Omit it to let the manager keep its own. */
|
|
15385
|
+
translations?: Record<string, Record<string, string>>;
|
|
15386
|
+
/** Initial translations when uncontrolled. */
|
|
15387
|
+
defaultTranslations?: Record<string, Record<string, string>>;
|
|
15388
|
+
/** Called with the single edited cell. */
|
|
15389
|
+
onTranslationChange?: (locale: string, key: string, value: string) => void;
|
|
15390
|
+
/** Called with the whole translations object after any edit. */
|
|
15391
|
+
onTranslationsChange?: (translations: Record<string, Record<string, string>>) => void;
|
|
15353
15392
|
onLocaleAdd: (locale: NiceLocaleInfo) => void;
|
|
15354
15393
|
onLocaleRemove: (localeCode: string) => void;
|
|
15355
15394
|
onExport: (locale: string, format: 'json' | 'csv' | 'xliff') => void;
|
|
@@ -15526,10 +15565,12 @@ declare interface NiceLookupColumn {
|
|
|
15526
15565
|
export declare interface NiceLookupProps extends NiceFormFieldProps {
|
|
15527
15566
|
/** Available options. Used when `data`/`columns` aren't provided. */
|
|
15528
15567
|
options?: NiceOption[];
|
|
15529
|
-
/** Selected value. */
|
|
15530
|
-
value
|
|
15568
|
+
/** Selected value (controlled). Omit it to let the lookup keep its own. */
|
|
15569
|
+
value?: string;
|
|
15570
|
+
/** Initial selection when uncontrolled. */
|
|
15571
|
+
defaultValue?: string;
|
|
15531
15572
|
/** Called when the selection changes. */
|
|
15532
|
-
onChange
|
|
15573
|
+
onChange?: (value: string) => void;
|
|
15533
15574
|
/** Enable search/filter in the dropdown. */
|
|
15534
15575
|
searchable?: boolean;
|
|
15535
15576
|
/** Show a clear button. */
|
|
@@ -15799,8 +15840,10 @@ export declare const NiceMdiWorkspace: ForwardRefExoticComponent<NiceMdiWorkspac
|
|
|
15799
15840
|
export declare interface NiceMdiWorkspaceProps extends NiceBaseProps {
|
|
15800
15841
|
/** Currently open tabs. */
|
|
15801
15842
|
tabs: NiceTabDescriptor[];
|
|
15802
|
-
/** Index of the active (visible) tab. */
|
|
15803
|
-
activeIndex
|
|
15843
|
+
/** Index of the active (visible) tab (controlled). Omit it to let the workspace keep its own. */
|
|
15844
|
+
activeIndex?: number;
|
|
15845
|
+
/** Initial active index when uncontrolled. Defaults to 0. */
|
|
15846
|
+
defaultActiveIndex?: number;
|
|
15804
15847
|
/** Render function returning the content for a given tab. */
|
|
15805
15848
|
renderTab: (tab: NiceTabDescriptor, index: number) => React.ReactNode;
|
|
15806
15849
|
/** Called when user selects a different tab. */
|
|
@@ -16087,8 +16130,8 @@ export declare type NiceMenuVariant = 'separated' | 'group' | 'pills' | 'ghost'
|
|
|
16087
16130
|
export declare const NiceMergeRequestBuilder: default_2.FC<NiceMergeRequestBuilderProps>;
|
|
16088
16131
|
|
|
16089
16132
|
export declare interface NiceMergeRequestBuilderProps extends NiceBaseProps {
|
|
16090
|
-
/** Available branches */
|
|
16091
|
-
branches
|
|
16133
|
+
/** Available branches. Defaults to none. */
|
|
16134
|
+
branches?: Array<{
|
|
16092
16135
|
name: string;
|
|
16093
16136
|
isRemote?: boolean;
|
|
16094
16137
|
}>;
|
|
@@ -16162,8 +16205,8 @@ export declare const NiceModeSelector: ForwardRefExoticComponent<NiceModeSelecto
|
|
|
16162
16205
|
export declare interface NiceModeSelectorProps extends NiceBaseProps {
|
|
16163
16206
|
/** Size variant. */
|
|
16164
16207
|
size?: NiceSize;
|
|
16165
|
-
/** Available modes. */
|
|
16166
|
-
modes
|
|
16208
|
+
/** Available modes. Defaults to none. */
|
|
16209
|
+
modes?: NiceModeInfo[];
|
|
16167
16210
|
/** Currently active mode key. */
|
|
16168
16211
|
activeMode: string;
|
|
16169
16212
|
/** Called when user selects a mode. */
|
|
@@ -16853,8 +16896,8 @@ export declare interface NiceNavShellProps {
|
|
|
16853
16896
|
mobileBreakpoint?: number;
|
|
16854
16897
|
/** Force the shell into the mobile layout regardless of viewport. */
|
|
16855
16898
|
forceMobileLayout?: boolean;
|
|
16856
|
-
/** Map of route → content (ReactNode or factory). */
|
|
16857
|
-
routes
|
|
16899
|
+
/** Map of route → content (ReactNode or factory). Defaults to none (the empty state shows). */
|
|
16900
|
+
routes?: Record<string, ReactNode | (() => ReactNode)>;
|
|
16858
16901
|
/** Initial / default route (used when uncontrolled). */
|
|
16859
16902
|
defaultRoute?: string;
|
|
16860
16903
|
/** Controlled active route. */
|
|
@@ -17462,12 +17505,14 @@ export declare const NicePagination: default_2.FC<NicePaginationProps>;
|
|
|
17462
17505
|
export declare interface NicePaginationProps extends NiceBaseProps {
|
|
17463
17506
|
/** Pagination size. */
|
|
17464
17507
|
size?: NiceSize;
|
|
17465
|
-
/** Current 1-based page number. */
|
|
17466
|
-
page
|
|
17508
|
+
/** Current 1-based page number (controlled). Omit it to let the bar keep its own. */
|
|
17509
|
+
page?: number;
|
|
17510
|
+
/** Initial page when uncontrolled. Defaults to 1. */
|
|
17511
|
+
defaultPage?: number;
|
|
17467
17512
|
/** Total number of pages. */
|
|
17468
17513
|
totalPages: number;
|
|
17469
17514
|
/** Called when the page changes. */
|
|
17470
|
-
onChange
|
|
17515
|
+
onChange?: (page: number) => void;
|
|
17471
17516
|
/**
|
|
17472
17517
|
* Show "Page X of Y" info text.
|
|
17473
17518
|
* @default true
|
|
@@ -17780,9 +17825,13 @@ export declare interface NicePieSlice {
|
|
|
17780
17825
|
export declare const NicePipelineEditor: default_2.FC<NicePipelineEditorProps>;
|
|
17781
17826
|
|
|
17782
17827
|
export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
17783
|
-
pipeline
|
|
17828
|
+
/** The pipeline (controlled). Omit it to let the editor keep its own. */
|
|
17829
|
+
pipeline?: Pipeline;
|
|
17830
|
+
/** Initial pipeline when uncontrolled. */
|
|
17831
|
+
defaultPipeline?: Pipeline;
|
|
17784
17832
|
templates: PipelineTemplate[];
|
|
17785
|
-
|
|
17833
|
+
/** Runners a job can be assigned to. Defaults to none. */
|
|
17834
|
+
runners?: Array<{
|
|
17786
17835
|
id: string;
|
|
17787
17836
|
name: string;
|
|
17788
17837
|
os: string;
|
|
@@ -17793,7 +17842,7 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
|
17793
17842
|
name: string;
|
|
17794
17843
|
protection: boolean;
|
|
17795
17844
|
}>;
|
|
17796
|
-
onPipelineChange
|
|
17845
|
+
onPipelineChange?: (pipeline: Pipeline) => void;
|
|
17797
17846
|
onStageAdd: () => void;
|
|
17798
17847
|
onStageRemove: (stageId: string) => void;
|
|
17799
17848
|
onStageMove: (stageId: string, direction: 'up' | 'down') => void;
|
|
@@ -17816,7 +17865,8 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
|
17816
17865
|
export declare const NicePipelineMonitor: default_2.FC<NicePipelineMonitorProps>;
|
|
17817
17866
|
|
|
17818
17867
|
export declare interface NicePipelineMonitorProps extends NiceBaseProps {
|
|
17819
|
-
runs
|
|
17868
|
+
/** Pipeline runs. Defaults to none. */
|
|
17869
|
+
runs?: PipelineRun[];
|
|
17820
17870
|
stats?: PipelineStats;
|
|
17821
17871
|
selectedRunId?: string;
|
|
17822
17872
|
onRunSelect: (runId: string) => void;
|
|
@@ -17867,8 +17917,13 @@ export declare interface NicePivotGridFieldChooserProps extends NiceBaseProps {
|
|
|
17867
17917
|
export declare interface NicePivotGridProps extends NiceBaseProps {
|
|
17868
17918
|
/** Raw data records. */
|
|
17869
17919
|
data: Record<string, any>[];
|
|
17870
|
-
/**
|
|
17871
|
-
|
|
17920
|
+
/**
|
|
17921
|
+
* Field definitions (row, column, data, filter areas). Controlled only together with
|
|
17922
|
+
* `onFieldsChange`; on its own it is the initial layout the field chooser then edits.
|
|
17923
|
+
*/
|
|
17924
|
+
fields?: NicePivotField[];
|
|
17925
|
+
/** Initial field layout when uncontrolled. */
|
|
17926
|
+
defaultFields?: NicePivotField[];
|
|
17872
17927
|
/** Called when user rearranges fields. */
|
|
17873
17928
|
onFieldsChange?: (fields: NicePivotField[]) => void;
|
|
17874
17929
|
/** Show the field chooser panel. */
|
|
@@ -18266,8 +18321,10 @@ export declare const NiceQRCode: ForwardRefExoticComponent<NiceQRCodeProps & Ref
|
|
|
18266
18321
|
|
|
18267
18322
|
/** Props for the {@link NiceQRCode} component — generates and renders a QR code from a text value. */
|
|
18268
18323
|
export declare interface NiceQRCodeProps extends NiceStandardProps {
|
|
18269
|
-
/** Text or URL to encode. */
|
|
18270
|
-
value
|
|
18324
|
+
/** Text or URL to encode (controlled). Omit it to let the code keep its own. */
|
|
18325
|
+
value?: string;
|
|
18326
|
+
/** Initial value when uncontrolled. */
|
|
18327
|
+
defaultValue?: string;
|
|
18271
18328
|
/** Output size in pixels. */
|
|
18272
18329
|
qrSize?: number;
|
|
18273
18330
|
/**
|
|
@@ -19418,8 +19475,11 @@ export declare interface NiceScannerControlProps extends NiceFormFieldProps {
|
|
|
19418
19475
|
export declare const NiceSceneActionBuilder: default_2.FC<NiceSceneActionBuilderProps>;
|
|
19419
19476
|
|
|
19420
19477
|
export declare interface NiceSceneActionBuilderProps extends NiceBaseProps {
|
|
19421
|
-
actions
|
|
19422
|
-
|
|
19478
|
+
/** Scene actions (controlled). Omit it to let the builder keep its own. */
|
|
19479
|
+
actions?: SceneAction[];
|
|
19480
|
+
/** Initial actions when uncontrolled. */
|
|
19481
|
+
defaultActions?: SceneAction[];
|
|
19482
|
+
onActionsChange?: (actions: SceneAction[]) => void;
|
|
19423
19483
|
availableDevices: SmartDeviceDto[];
|
|
19424
19484
|
availableRooms?: SmartRoomDto[];
|
|
19425
19485
|
showPreview?: boolean;
|
|
@@ -19505,7 +19565,14 @@ export declare interface NiceSchedulerEventTypeDef {
|
|
|
19505
19565
|
|
|
19506
19566
|
/** Props for the {@link NiceScheduler} component — a full-featured calendar / scheduler with drag, recurring events, resources, and inline editing. */
|
|
19507
19567
|
export declare interface NiceSchedulerProps extends NiceBaseProps {
|
|
19508
|
-
|
|
19568
|
+
/**
|
|
19569
|
+
* Events. Controlled only together with `onEventsChange` (the same rule as
|
|
19570
|
+
* `currentDate`/`view` here); on its own it is the live starting list, which the
|
|
19571
|
+
* built-in editor then takes over.
|
|
19572
|
+
*/
|
|
19573
|
+
events?: NiceSchedulerEvent[];
|
|
19574
|
+
/** Initial events when uncontrolled. */
|
|
19575
|
+
defaultEvents?: NiceSchedulerEvent[];
|
|
19509
19576
|
resources?: NiceSchedulerResource[];
|
|
19510
19577
|
currentDate?: Date;
|
|
19511
19578
|
view?: NiceSchedulerView;
|
|
@@ -19617,8 +19684,10 @@ export declare type NiceSchedulerView = 'day' | 'week' | 'workWeek' | 'month' |
|
|
|
19617
19684
|
export declare const NiceScriptRunner: ForwardRefExoticComponent<NiceScriptRunnerProps & RefAttributes<HTMLDivElement>>;
|
|
19618
19685
|
|
|
19619
19686
|
export declare interface NiceScriptRunnerProps extends NiceBaseProps {
|
|
19620
|
-
/** Script source (controlled). */
|
|
19621
|
-
value
|
|
19687
|
+
/** Script source (controlled). Omit it to let the runner keep its own. */
|
|
19688
|
+
value?: string;
|
|
19689
|
+
/** Initial script source when uncontrolled. */
|
|
19690
|
+
defaultValue?: string;
|
|
19622
19691
|
/** Script change callback. */
|
|
19623
19692
|
onChange?: (value: string) => void;
|
|
19624
19693
|
/** Editor language. Default `'javascript'`. */
|
|
@@ -19777,10 +19846,12 @@ export declare const NiceSearchInput: default_2.FC<NiceSearchInputProps>;
|
|
|
19777
19846
|
|
|
19778
19847
|
/** Props for {@link NiceSearchInput} — text field with async suggestions + recents. */
|
|
19779
19848
|
export declare interface NiceSearchInputProps extends NiceStandardProps {
|
|
19780
|
-
/**
|
|
19781
|
-
value
|
|
19849
|
+
/** Search text (controlled). Omit it to let the input keep its own. */
|
|
19850
|
+
value?: string;
|
|
19851
|
+
/** Initial search text when uncontrolled. */
|
|
19852
|
+
defaultValue?: string;
|
|
19782
19853
|
/** Fires on every keystroke. */
|
|
19783
|
-
onChange
|
|
19854
|
+
onChange?: (value: string) => void;
|
|
19784
19855
|
/** Fires on Enter or when the user picks a suggestion. */
|
|
19785
19856
|
onSearch?: (value: string) => void;
|
|
19786
19857
|
/**
|
|
@@ -19981,10 +20052,9 @@ export declare interface NiceSensorGaugePanelProps extends NiceBaseProps {
|
|
|
19981
20052
|
*/
|
|
19982
20053
|
export declare const NiceSetupWizard: default_2.ForwardRefExoticComponent<NiceSetupWizardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
19983
20054
|
|
|
19984
|
-
/** Props */
|
|
19985
20055
|
export declare interface NiceSetupWizardProps {
|
|
19986
|
-
/** Step definitions */
|
|
19987
|
-
steps
|
|
20056
|
+
/** Step definitions. Defaults to none. */
|
|
20057
|
+
steps?: SetupWizardStep[];
|
|
19988
20058
|
/** Initial values */
|
|
19989
20059
|
initialValues?: Record<string, unknown>;
|
|
19990
20060
|
/** Controlled current step */
|
|
@@ -20441,8 +20511,10 @@ export declare interface NiceSignatureStroke {
|
|
|
20441
20511
|
export declare function NiceSimpleCodeEditor(props: NiceSimpleCodeEditorProps): default_2.ReactElement;
|
|
20442
20512
|
|
|
20443
20513
|
export declare interface NiceSimpleCodeEditorProps {
|
|
20444
|
-
/** Code
|
|
20445
|
-
value
|
|
20514
|
+
/** Code (controlled). Omit it to let the editor keep its own. */
|
|
20515
|
+
value?: string;
|
|
20516
|
+
/** Initial code when uncontrolled. */
|
|
20517
|
+
defaultValue?: string;
|
|
20446
20518
|
/** Value change callback */
|
|
20447
20519
|
onChange?: (value: string) => void;
|
|
20448
20520
|
/** Language (for highlighting class) */
|
|
@@ -21318,10 +21390,12 @@ export declare const NiceTagBox: default_2.FC<NiceTagBoxProps>;
|
|
|
21318
21390
|
export declare interface NiceTagBoxProps extends NiceFormFieldProps {
|
|
21319
21391
|
/** Available options. */
|
|
21320
21392
|
options?: NiceOption[];
|
|
21321
|
-
/** Array of selected values. */
|
|
21322
|
-
value
|
|
21393
|
+
/** Array of selected values (controlled). Omit it to let the box keep its own. */
|
|
21394
|
+
value?: string[];
|
|
21395
|
+
/** Initial selection when uncontrolled. */
|
|
21396
|
+
defaultValue?: string[];
|
|
21323
21397
|
/** Called when the selection changes. */
|
|
21324
|
-
onChange
|
|
21398
|
+
onChange?: (value: string[]) => void;
|
|
21325
21399
|
/** Enable search/filter within the dropdown. */
|
|
21326
21400
|
searchable?: boolean;
|
|
21327
21401
|
/** Show a clear-all button. */
|
|
@@ -21357,10 +21431,12 @@ export declare const NiceTagInput: default_2.FC<NiceTagInputProps>;
|
|
|
21357
21431
|
|
|
21358
21432
|
/** Props for {@link NiceTagInput} — multi-value input rendering tags + textbox. */
|
|
21359
21433
|
export declare interface NiceTagInputProps extends NiceStandardProps {
|
|
21360
|
-
/**
|
|
21361
|
-
value
|
|
21434
|
+
/** Tag list (controlled). Omit it to let the input keep its own. */
|
|
21435
|
+
value?: string[];
|
|
21436
|
+
/** Initial tag list when uncontrolled. */
|
|
21437
|
+
defaultValue?: string[];
|
|
21362
21438
|
/** Fires on every change. */
|
|
21363
|
-
onChange
|
|
21439
|
+
onChange?: (tags: string[]) => void;
|
|
21364
21440
|
/** Suggestions shown below the input as filterable dropdown. */
|
|
21365
21441
|
suggestions?: string[];
|
|
21366
21442
|
/** Hard cap on tag count. New entries beyond `maxTags` are rejected. */
|
|
@@ -21421,8 +21497,8 @@ export { NiceTaskInbox }
|
|
|
21421
21497
|
export { NiceTaskInbox as NiceWorkflowTaskInbox }
|
|
21422
21498
|
|
|
21423
21499
|
export declare interface NiceTaskInboxProps extends NiceBaseProps {
|
|
21424
|
-
/** List of tasks to display */
|
|
21425
|
-
tasks
|
|
21500
|
+
/** List of tasks to display. Defaults to none. */
|
|
21501
|
+
tasks?: WorkflowTask[];
|
|
21426
21502
|
/** Currently selected task ID */
|
|
21427
21503
|
selectedTaskId?: string;
|
|
21428
21504
|
/** Called when a task is selected */
|
|
@@ -21452,12 +21528,15 @@ export declare interface NiceTaskInboxProps extends NiceBaseProps {
|
|
|
21452
21528
|
export declare const NiceTempDial: default_2.FC<NiceTempDialProps>;
|
|
21453
21529
|
|
|
21454
21530
|
export declare interface NiceTempDialProps extends NiceBaseProps {
|
|
21455
|
-
|
|
21531
|
+
/** Set temperature (controlled). Omit it to let the dial keep its own. */
|
|
21532
|
+
value?: number;
|
|
21533
|
+
/** Initial set temperature when uncontrolled. Defaults to `min`. */
|
|
21534
|
+
defaultValue?: number;
|
|
21456
21535
|
currentTemp?: number;
|
|
21457
21536
|
min?: number;
|
|
21458
21537
|
max?: number;
|
|
21459
21538
|
step?: number;
|
|
21460
|
-
onChange
|
|
21539
|
+
onChange?: (value: number) => void;
|
|
21461
21540
|
mode?: TempDialMode;
|
|
21462
21541
|
size?: NiceSize;
|
|
21463
21542
|
showCurrentTemp?: boolean;
|
|
@@ -22734,8 +22813,8 @@ export declare interface NiceTutorialHostProps {
|
|
|
22734
22813
|
|
|
22735
22814
|
/** Props for the {@link NiceTutorial} component — a guided walkthrough overlay with step-by-step highlighting. */
|
|
22736
22815
|
export declare interface NiceTutorialProps {
|
|
22737
|
-
/** Array of ordered tutorial steps */
|
|
22738
|
-
steps
|
|
22816
|
+
/** Array of ordered tutorial steps. Defaults to none. */
|
|
22817
|
+
steps?: NiceTutorialStep[];
|
|
22739
22818
|
/** Starts the tutorial when true */
|
|
22740
22819
|
active: boolean;
|
|
22741
22820
|
/** Called when tutorial finishes (last step completed) */
|
|
@@ -23104,9 +23183,11 @@ export declare const NiceValidationBuilder: default_2.FC<NiceValidationBuilderPr
|
|
|
23104
23183
|
export declare interface NiceValidationBuilderProps extends NiceBaseProps {
|
|
23105
23184
|
/** Fields that rules may target (reuses the filter field descriptor). */
|
|
23106
23185
|
fields: NiceFilterField[];
|
|
23107
|
-
/** The validation rules (controlled). */
|
|
23108
|
-
value
|
|
23109
|
-
|
|
23186
|
+
/** The validation rules (controlled). Omit it to let the builder keep its own. */
|
|
23187
|
+
value?: NiceFieldValidationRule[];
|
|
23188
|
+
/** Initial rules when uncontrolled. */
|
|
23189
|
+
defaultValue?: NiceFieldValidationRule[];
|
|
23190
|
+
onChange?: (rules: NiceFieldValidationRule[]) => void;
|
|
23110
23191
|
/** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
|
|
23111
23192
|
tutorial?: NiceComponentTutorial;
|
|
23112
23193
|
}
|
|
@@ -23881,10 +23962,9 @@ export { NiceWebSocketMessageType }
|
|
|
23881
23962
|
*/
|
|
23882
23963
|
export declare const NiceWiki: default_2.ForwardRefExoticComponent<NiceWikiProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
23883
23964
|
|
|
23884
|
-
/** Props for the {@link NiceWiki} component. */
|
|
23885
23965
|
export declare interface NiceWikiProps extends NiceFormFieldProps {
|
|
23886
|
-
/** Page tree. */
|
|
23887
|
-
pages
|
|
23966
|
+
/** Page tree. Defaults to none. */
|
|
23967
|
+
pages?: WikiPage[];
|
|
23888
23968
|
/** Currently selected page id. */
|
|
23889
23969
|
selectedPageId?: string | number;
|
|
23890
23970
|
/** Content of the currently selected page (HTML or Markdown). */
|
|
@@ -23975,8 +24055,8 @@ export declare interface NiceWindowPosition {
|
|
|
23975
24055
|
export declare interface NiceWindowProps extends NiceBaseProps {
|
|
23976
24056
|
/** Unique window identifier. Auto-generated if not provided. */
|
|
23977
24057
|
windowKey?: string;
|
|
23978
|
-
/** Window title. */
|
|
23979
|
-
title
|
|
24058
|
+
/** Window title. Optional — without one the title bar is empty and the dialog carries no aria-label. */
|
|
24059
|
+
title?: string;
|
|
23980
24060
|
/** Icon displayed in title bar */
|
|
23981
24061
|
icon?: React.ReactNode;
|
|
23982
24062
|
/** Window content */
|
|
@@ -24103,10 +24183,9 @@ export declare interface NiceWindowState {
|
|
|
24103
24183
|
*/
|
|
24104
24184
|
export declare const NiceWizard: default_2.ForwardRefExoticComponent<NiceWizardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
24105
24185
|
|
|
24106
|
-
/** Props for the {@link NiceWizard} component. */
|
|
24107
24186
|
export declare interface NiceWizardProps {
|
|
24108
|
-
/** Step definitions. */
|
|
24109
|
-
steps
|
|
24187
|
+
/** Step definitions. Defaults to none. */
|
|
24188
|
+
steps?: WizardStep[];
|
|
24110
24189
|
/** Controlled current step index. */
|
|
24111
24190
|
activeStep?: number;
|
|
24112
24191
|
/** Called when step changes. */
|