@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/devops.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./devops-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./devops-BqUxnbRi.cjs");exports.NiceBranchManager=e.NiceBranchManager;exports.NiceGitBlame=e.NiceGitBlame;exports.NiceGitConflictResolver=e.NiceGitConflictResolver;exports.NiceGitDiffViewer=e.NiceGitDiffViewer;exports.NiceGitGraph=e.NiceGitGraph;exports.NiceGitHooks=e.NiceGitHooks;exports.NiceMergeRequestBuilder=e.NiceMergeRequestBuilder;exports.NicePipelineEditor=e.NicePipelineEditor;exports.NicePipelineMonitor=e.NicePipelineMonitor;
|
package/dist/devops.d.ts
CHANGED
|
@@ -395,8 +395,8 @@ export declare interface NiceGitConflictResolverProps extends NiceBaseProps {
|
|
|
395
395
|
export declare const NiceGitDiffViewer: default_2.FC<NiceGitDiffViewerProps>;
|
|
396
396
|
|
|
397
397
|
export declare interface NiceGitDiffViewerProps extends NiceBaseProps {
|
|
398
|
-
/** Diff files */
|
|
399
|
-
files
|
|
398
|
+
/** Diff files. Defaults to none. */
|
|
399
|
+
files?: DiffFile[];
|
|
400
400
|
/** View mode */
|
|
401
401
|
viewMode?: DiffViewMode;
|
|
402
402
|
/** Show whitespace changes */
|
|
@@ -423,12 +423,12 @@ export declare interface NiceGitDiffViewerProps extends NiceBaseProps {
|
|
|
423
423
|
export declare const NiceGitGraph: default_2.FC<NiceGitGraphProps>;
|
|
424
424
|
|
|
425
425
|
export declare interface NiceGitGraphProps extends NiceBaseProps {
|
|
426
|
-
/** Commits to display (newest first) */
|
|
427
|
-
commits
|
|
428
|
-
/** All branches */
|
|
429
|
-
branches
|
|
430
|
-
/** All tags */
|
|
431
|
-
tags
|
|
426
|
+
/** Commits to display (newest first). Defaults to none. */
|
|
427
|
+
commits?: GitCommit[];
|
|
428
|
+
/** All branches. Defaults to none. */
|
|
429
|
+
branches?: GitBranch[];
|
|
430
|
+
/** All tags. Defaults to none. */
|
|
431
|
+
tags?: GitTag[];
|
|
432
432
|
/** Currently checked out branch/commit */
|
|
433
433
|
head?: string;
|
|
434
434
|
/** Selected commit hash */
|
|
@@ -467,8 +467,13 @@ export declare interface NiceGitGraphProps extends NiceBaseProps {
|
|
|
467
467
|
export declare const NiceGitHooks: default_2.FC<NiceGitHooksProps>;
|
|
468
468
|
|
|
469
469
|
export declare interface NiceGitHooksProps extends NiceBaseProps {
|
|
470
|
-
/**
|
|
471
|
-
|
|
470
|
+
/**
|
|
471
|
+
* Hooks configuration. Controlled only together with `onHooksChange`; on its own it is
|
|
472
|
+
* the initial configuration the editor then keeps in a local copy.
|
|
473
|
+
*/
|
|
474
|
+
hooks?: GitHook[];
|
|
475
|
+
/** Initial hooks configuration when uncontrolled. */
|
|
476
|
+
defaultHooks?: GitHook[];
|
|
472
477
|
/** Available templates */
|
|
473
478
|
templates?: HookTemplate[];
|
|
474
479
|
/** Hook manager type */
|
|
@@ -477,7 +482,10 @@ export declare interface NiceGitHooksProps extends NiceBaseProps {
|
|
|
477
482
|
repoPath?: string;
|
|
478
483
|
/** Currently editing hook */
|
|
479
484
|
selectedHook?: GitHookType;
|
|
485
|
+
/** Called with each hook the user changed. */
|
|
480
486
|
onHookChange?: (hook: GitHook) => void;
|
|
487
|
+
/** Called with the whole hooks list after any change. */
|
|
488
|
+
onHooksChange?: (hooks: GitHook[]) => void;
|
|
481
489
|
onHookToggle?: (hookType: GitHookType, enabled: boolean) => void;
|
|
482
490
|
onActionAdd?: (hookType: GitHookType, action: HookAction) => void;
|
|
483
491
|
onActionRemove?: (hookType: GitHookType, actionId: string) => void;
|
|
@@ -490,8 +498,8 @@ export declare interface NiceGitHooksProps extends NiceBaseProps {
|
|
|
490
498
|
export declare const NiceMergeRequestBuilder: default_2.FC<NiceMergeRequestBuilderProps>;
|
|
491
499
|
|
|
492
500
|
export declare interface NiceMergeRequestBuilderProps extends NiceBaseProps {
|
|
493
|
-
/** Available branches */
|
|
494
|
-
branches
|
|
501
|
+
/** Available branches. Defaults to none. */
|
|
502
|
+
branches?: Array<{
|
|
495
503
|
name: string;
|
|
496
504
|
isRemote?: boolean;
|
|
497
505
|
}>;
|
|
@@ -524,9 +532,13 @@ export declare interface NiceMergeRequestBuilderProps extends NiceBaseProps {
|
|
|
524
532
|
export declare const NicePipelineEditor: default_2.FC<NicePipelineEditorProps>;
|
|
525
533
|
|
|
526
534
|
export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
527
|
-
pipeline
|
|
535
|
+
/** The pipeline (controlled). Omit it to let the editor keep its own. */
|
|
536
|
+
pipeline?: Pipeline;
|
|
537
|
+
/** Initial pipeline when uncontrolled. */
|
|
538
|
+
defaultPipeline?: Pipeline;
|
|
528
539
|
templates: PipelineTemplate[];
|
|
529
|
-
|
|
540
|
+
/** Runners a job can be assigned to. Defaults to none. */
|
|
541
|
+
runners?: Array<{
|
|
530
542
|
id: string;
|
|
531
543
|
name: string;
|
|
532
544
|
os: string;
|
|
@@ -537,7 +549,7 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
|
537
549
|
name: string;
|
|
538
550
|
protection: boolean;
|
|
539
551
|
}>;
|
|
540
|
-
onPipelineChange
|
|
552
|
+
onPipelineChange?: (pipeline: Pipeline) => void;
|
|
541
553
|
onStageAdd: () => void;
|
|
542
554
|
onStageRemove: (stageId: string) => void;
|
|
543
555
|
onStageMove: (stageId: string, direction: 'up' | 'down') => void;
|
|
@@ -560,7 +572,8 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
|
|
|
560
572
|
export declare const NicePipelineMonitor: default_2.FC<NicePipelineMonitorProps>;
|
|
561
573
|
|
|
562
574
|
export declare interface NicePipelineMonitorProps extends NiceBaseProps {
|
|
563
|
-
runs
|
|
575
|
+
/** Pipeline runs. Defaults to none. */
|
|
576
|
+
runs?: PipelineRun[];
|
|
564
577
|
stats?: PipelineStats;
|
|
565
578
|
selectedRunId?: string;
|
|
566
579
|
onRunSelect: (runId: string) => void;
|
package/dist/devops.mjs
CHANGED
package/dist/editors.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./pickerCommons-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./pickerCommons-C_BpYs_m.cjs"),i=require("./NiceForm-jU89oe2S.cjs"),e=require("./NiceMention-C2TPiMph.cjs"),o=require("./NiceSelect-BYSgDYzq.cjs"),N=require("./NiceColorPicker-Cuc6YXqz.cjs"),t=require("./NiceHtmlEditor-B1nlXJNW.cjs"),r=require("./NiceCodeEditor-DZM16My5.cjs");exports.NiceCheckbox=c.NiceCheckbox;exports.NiceNumberInput=c.NiceNumberInput;exports.NiceTextInput=c.NiceTextInput;exports.NiceToggle=c.NiceToggle;exports.MASK_PRESETS=i.MASK_PRESETS;exports.NiceAutocomplete=i.NiceAutocomplete;exports.NiceCalendar=i.NiceCalendar;exports.NiceCountryPicker=i.NiceCountryPicker;exports.NiceDateTimePicker=i.NiceDateTimePicker;exports.NiceForm=i.NiceForm;exports.NiceMaskedInput=i.NiceMaskedInput;exports.NicePasswordInput=i.NicePasswordInput;exports.NiceRadioGroup=i.NiceRadioGroup;exports.NiceRating=i.NiceRating;exports.NiceSlider=i.NiceSlider;exports.NiceTagBox=i.NiceTagBox;exports.NiceTextArea=i.NiceTextArea;exports.NiceUpload=i.NiceUpload;exports.NICE_COLOR_PRESET_KEYS=e.NICE_COLOR_PRESET_KEYS;exports.NiceAccountPicker=e.NiceAccountPicker;exports.NiceAddressInput=e.NiceAddressInput;exports.NiceCodeEditorAI=e.NiceCodeEditorAI;exports.NiceColorPalette=e.NiceColorPalette;exports.NiceContactPicker=e.NiceContactPicker;exports.NiceCropEditor=e.NiceCropEditor;exports.NiceDateRangeBox=e.NiceDateRangeBox;exports.NiceDocumentEditor=e.NiceDocumentEditor;exports.NiceDropDownBox=e.NiceDropDownBox;exports.NiceEmojiPicker=e.NiceEmojiPicker;exports.NiceGradientPicker=e.NiceGradientPicker;exports.NiceHtmlEditorAI=e.NiceHtmlEditorAI;exports.NiceImageAnnotator=e.NiceImageAnnotator;exports.NiceImageEditor=e.NiceImageEditor;exports.NiceInputOtp=e.NiceInputOtp;exports.NiceInvoiceLineEditor=e.NiceInvoiceLineEditor;exports.NiceKeyValueEditor=e.NiceKeyValueEditor;exports.NiceKnob=e.NiceKnob;exports.NiceLogConsole=e.NiceLogConsole;exports.NiceLookup=e.NiceLookup;exports.NiceMarkdownEditor=e.NiceMarkdownEditor;exports.NiceMention=e.NiceMention;exports.NicePDFAnnotationEditor=e.NicePDFAnnotationEditor;exports.NicePickList=e.NicePickList;exports.NiceRangeSlider=e.NiceRangeSlider;exports.NiceScannerControl=e.NiceScannerControl;exports.NiceScriptRunner=e.NiceScriptRunner;exports.NiceSignature=e.NiceSignature;exports.NiceTreeSelect=e.NiceTreeSelect;exports.NiceWiki=e.NiceWiki;exports.NiceSelect=o.NiceSelect;exports.NiceColorPicker=N.NiceColorPicker;exports.NiceHtmlEditor=t.NiceHtmlEditor;exports.NiceCodeEditor=r.NiceCodeEditor;
|
package/dist/editors.d.ts
CHANGED
|
@@ -296,8 +296,10 @@ export declare const NiceAutocomplete: default_2.FC<NiceAutocompleteProps>;
|
|
|
296
296
|
/** Props for the {@link NiceAutocomplete} component — a text input with filtered suggestion dropdown and optional multi-select. */
|
|
297
297
|
export declare interface NiceAutocompleteProps extends NiceFormFieldProps {
|
|
298
298
|
options: NiceOption[];
|
|
299
|
-
/** Single value or array of values if multiple=true. */
|
|
300
|
-
value
|
|
299
|
+
/** Single value or array of values if multiple=true (controlled). Omit it to let the field keep its own. */
|
|
300
|
+
value?: string | string[];
|
|
301
|
+
/** Initial value when uncontrolled. */
|
|
302
|
+
defaultValue?: string | string[];
|
|
301
303
|
onChange?: (value: string | string[]) => void;
|
|
302
304
|
minSearchLength?: number;
|
|
303
305
|
maxResults?: number;
|
|
@@ -572,8 +574,10 @@ declare interface NiceCodeEditorOptions {
|
|
|
572
574
|
export declare interface NiceCodeEditorProps {
|
|
573
575
|
/** Editor layout size (minimal / compact / standard / fullscreen). */
|
|
574
576
|
editorSize?: NiceEditorSize;
|
|
575
|
-
/** Code
|
|
576
|
-
value
|
|
577
|
+
/** Code (controlled). Omit it to let the editor keep its own. */
|
|
578
|
+
value?: string;
|
|
579
|
+
/** Initial code when uncontrolled. */
|
|
580
|
+
defaultValue?: string;
|
|
577
581
|
/** Value change callback */
|
|
578
582
|
onChange?: (value: string) => void;
|
|
579
583
|
/** Language */
|
|
@@ -1488,8 +1492,12 @@ declare interface NiceHtmlEditorAIRef {
|
|
|
1488
1492
|
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';
|
|
1489
1493
|
|
|
1490
1494
|
export declare interface NiceHtmlEditorProps extends NiceFormFieldProps {
|
|
1491
|
-
|
|
1492
|
-
|
|
1495
|
+
/** HTML content (controlled). Omit it to let the editor keep its own. */
|
|
1496
|
+
value?: string;
|
|
1497
|
+
/** Initial HTML content when uncontrolled. */
|
|
1498
|
+
defaultValue?: string;
|
|
1499
|
+
/** Called with the new HTML after every edit. */
|
|
1500
|
+
onChange?: (html: string) => void;
|
|
1493
1501
|
placeholder?: string;
|
|
1494
1502
|
height?: number | string;
|
|
1495
1503
|
toolbar?: NiceHtmlEditorCommand[];
|
|
@@ -1680,10 +1688,12 @@ export declare interface NiceInvoiceLineEditorProps extends NiceFormFieldProps {
|
|
|
1680
1688
|
export declare const NiceKeyValueEditor: ForwardRefExoticComponent<NiceKeyValueEditorProps & RefAttributes<HTMLDivElement>>;
|
|
1681
1689
|
|
|
1682
1690
|
export declare interface NiceKeyValueEditorProps extends NiceBaseProps {
|
|
1683
|
-
/** Current rows (controlled). */
|
|
1684
|
-
value
|
|
1691
|
+
/** Current rows (controlled). Omit it to let the editor keep its own. */
|
|
1692
|
+
value?: NiceKeyValuePair[];
|
|
1693
|
+
/** Initial rows when uncontrolled. */
|
|
1694
|
+
defaultValue?: NiceKeyValuePair[];
|
|
1685
1695
|
/** Change callback with the full updated array. */
|
|
1686
|
-
onChange
|
|
1696
|
+
onChange?: (pairs: NiceKeyValuePair[]) => void;
|
|
1687
1697
|
/** Allow toggling a row's value between text and secret (adds a lock toggle). */
|
|
1688
1698
|
allowSecret?: boolean;
|
|
1689
1699
|
/** Show a per-row enable/disable checkbox. */
|
|
@@ -1808,10 +1818,12 @@ declare interface NiceLookupColumn {
|
|
|
1808
1818
|
export declare interface NiceLookupProps extends NiceFormFieldProps {
|
|
1809
1819
|
/** Available options. Used when `data`/`columns` aren't provided. */
|
|
1810
1820
|
options?: NiceOption[];
|
|
1811
|
-
/** Selected value. */
|
|
1812
|
-
value
|
|
1821
|
+
/** Selected value (controlled). Omit it to let the lookup keep its own. */
|
|
1822
|
+
value?: string;
|
|
1823
|
+
/** Initial selection when uncontrolled. */
|
|
1824
|
+
defaultValue?: string;
|
|
1813
1825
|
/** Called when the selection changes. */
|
|
1814
|
-
onChange
|
|
1826
|
+
onChange?: (value: string) => void;
|
|
1815
1827
|
/** Enable search/filter in the dropdown. */
|
|
1816
1828
|
searchable?: boolean;
|
|
1817
1829
|
/** Show a clear button. */
|
|
@@ -2204,8 +2216,10 @@ export declare interface NiceScannerControlProps extends NiceFormFieldProps {
|
|
|
2204
2216
|
export declare const NiceScriptRunner: ForwardRefExoticComponent<NiceScriptRunnerProps & RefAttributes<HTMLDivElement>>;
|
|
2205
2217
|
|
|
2206
2218
|
export declare interface NiceScriptRunnerProps extends NiceBaseProps {
|
|
2207
|
-
/** Script source (controlled). */
|
|
2208
|
-
value
|
|
2219
|
+
/** Script source (controlled). Omit it to let the runner keep its own. */
|
|
2220
|
+
value?: string;
|
|
2221
|
+
/** Initial script source when uncontrolled. */
|
|
2222
|
+
defaultValue?: string;
|
|
2209
2223
|
/** Script change callback. */
|
|
2210
2224
|
onChange?: (value: string) => void;
|
|
2211
2225
|
/** Editor language. Default `'javascript'`. */
|
|
@@ -2453,10 +2467,12 @@ export declare const NiceTagBox: default_2.FC<NiceTagBoxProps>;
|
|
|
2453
2467
|
export declare interface NiceTagBoxProps extends NiceFormFieldProps {
|
|
2454
2468
|
/** Available options. */
|
|
2455
2469
|
options?: NiceOption[];
|
|
2456
|
-
/** Array of selected values. */
|
|
2457
|
-
value
|
|
2470
|
+
/** Array of selected values (controlled). Omit it to let the box keep its own. */
|
|
2471
|
+
value?: string[];
|
|
2472
|
+
/** Initial selection when uncontrolled. */
|
|
2473
|
+
defaultValue?: string[];
|
|
2458
2474
|
/** Called when the selection changes. */
|
|
2459
|
-
onChange
|
|
2475
|
+
onChange?: (value: string[]) => void;
|
|
2460
2476
|
/** Enable search/filter within the dropdown. */
|
|
2461
2477
|
searchable?: boolean;
|
|
2462
2478
|
/** Show a clear-all button. */
|
|
@@ -2683,10 +2699,9 @@ export declare interface NiceUploadProps extends NiceBaseProps {
|
|
|
2683
2699
|
*/
|
|
2684
2700
|
export declare const NiceWiki: default_2.ForwardRefExoticComponent<NiceWikiProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2685
2701
|
|
|
2686
|
-
/** Props for the {@link NiceWiki} component. */
|
|
2687
2702
|
export declare interface NiceWikiProps extends NiceFormFieldProps {
|
|
2688
|
-
/** Page tree. */
|
|
2689
|
-
pages
|
|
2703
|
+
/** Page tree. Defaults to none. */
|
|
2704
|
+
pages?: WikiPage[];
|
|
2690
2705
|
/** Currently selected page id. */
|
|
2691
2706
|
selectedPageId?: string | number;
|
|
2692
2707
|
/** Content of the currently selected page (HTML or Markdown). */
|
package/dist/editors.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { N as a, a as c, b as o, c as s } from "./pickerCommons-
|
|
2
|
-
import { M as r, N as t, a as n, b as d, c as p, d as l, e as m, f as E, g as u, h as k, i as x, j as C, k as P, l as g } from "./NiceForm-
|
|
3
|
-
import { N as S, a as A, b as f, c as R, d as T, e as D, f as b, g as L, h as M, i as w, j as B, k as K, l as _, m as h, n as j, o as y, p as O, q as v, r as F, s as G, t as H, u as q, v as z, w as U, x as V, y as W, z as Y, A as J, B as Q, C as X, D as Z } from "./NiceMention-
|
|
4
|
-
import { N as ee } from "./NiceSelect-
|
|
5
|
-
import { N as ae } from "./NiceColorPicker-
|
|
6
|
-
import { NiceHtmlEditor as oe } from "./NiceHtmlEditor-
|
|
7
|
-
import { NiceCodeEditor as Ne } from "./NiceCodeEditor-
|
|
1
|
+
import { N as a, a as c, b as o, c as s } from "./pickerCommons-Dn4wnDco.js";
|
|
2
|
+
import { M as r, N as t, a as n, b as d, c as p, d as l, e as m, f as E, g as u, h as k, i as x, j as C, k as P, l as g } from "./NiceForm-a6tGr6ss.js";
|
|
3
|
+
import { N as S, a as A, b as f, c as R, d as T, e as D, f as b, g as L, h as M, i as w, j as B, k as K, l as _, m as h, n as j, o as y, p as O, q as v, r as F, s as G, t as H, u as q, v as z, w as U, x as V, y as W, z as Y, A as J, B as Q, C as X, D as Z } from "./NiceMention-C67vT6m0.js";
|
|
4
|
+
import { N as ee } from "./NiceSelect-A336yeLZ.js";
|
|
5
|
+
import { N as ae } from "./NiceColorPicker-BiEWqWnd.js";
|
|
6
|
+
import { NiceHtmlEditor as oe } from "./NiceHtmlEditor-Bv3VqJPG.js";
|
|
7
|
+
import { NiceCodeEditor as Ne } from "./NiceCodeEditor-HqmcJjmZ.js";
|
|
8
8
|
export {
|
|
9
9
|
r as MASK_PRESETS,
|
|
10
10
|
S as NICE_COLOR_PRESET_KEYS,
|
package/dist/feedback.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceLoginForm-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceLoginForm-f_dBCnUi.cjs"),i=require("./NiceModal-DkawKzEE.cjs"),o=require("./NiceConfirmDialog-ZJpQLQQS.cjs");exports.NiceAlert=e.NiceAlert;exports.NiceCookieConsent=e.NiceCookieConsent;exports.NiceDrawer=e.NiceDrawer;exports.NiceErrorBoundary=e.NiceErrorBoundary;exports.NiceLoginForm=e.NiceLoginForm;exports.NiceOfflineBanner=e.NiceOfflineBanner;exports.NiceRetryPanel=e.NiceRetryPanel;exports.NiceTimeoutFeedback=e.NiceTimeoutFeedback;exports.NiceToastContainer=e.NiceToastContainer;exports.alertIcons=e.alertIcons;exports.useNiceToast=e.useNiceToast;exports.NiceModal=i.NiceModal;exports.NiceConfirmDialog=o.NiceConfirmDialog;
|
package/dist/feedback.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as o, a as i, b as r, c as s, d as c, e as N, f as n, g as t, h as f, i as l, u as m } from "./NiceLoginForm-
|
|
2
|
-
import { N as u } from "./NiceModal-
|
|
3
|
-
import { N as g } from "./NiceConfirmDialog-
|
|
1
|
+
import { N as o, a as i, b as r, c as s, d as c, e as N, f as n, g as t, h as f, i as l, u as m } from "./NiceLoginForm-Ce_QLnLf.js";
|
|
2
|
+
import { N as u } from "./NiceModal-CHaan9al.js";
|
|
3
|
+
import { N as g } from "./NiceConfirmDialog-C7kdr8jJ.js";
|
|
4
4
|
export {
|
|
5
5
|
o as NiceAlert,
|
|
6
6
|
g as NiceConfirmDialog,
|