pixel-react-excel-sheet 1.1.25 → 1.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/lib/ComponentProps/TreeNodeProps.d.ts +1 -0
  2. package/lib/StyleGuide/ColorPalette/colorPaletteList.js +20 -0
  3. package/lib/StyleGuide/ColorPalette/colorPaletteList.js.map +1 -1
  4. package/lib/_virtual/index10.js +2 -2
  5. package/lib/_virtual/index9.js +2 -2
  6. package/lib/assets/icons/Video_recording.svg.js +6 -0
  7. package/lib/assets/icons/Video_recording.svg.js.map +1 -0
  8. package/lib/assets/icons/ai_token.svg.js +6 -0
  9. package/lib/assets/icons/ai_token.svg.js.map +1 -0
  10. package/lib/assets/icons/capture_image.svg.js +6 -0
  11. package/lib/assets/icons/capture_image.svg.js.map +1 -0
  12. package/lib/assets/icons/eclipse_plugin.svg.js +8 -0
  13. package/lib/assets/icons/eclipse_plugin.svg.js.map +1 -0
  14. package/lib/components/AppHeader/AppHeader.js +1 -1
  15. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  16. package/lib/components/AttachmentButton/AttachmentButton.js +1 -1
  17. package/lib/components/AttachmentButton/AttachmentButton.js.map +1 -1
  18. package/lib/components/Button/Button.js +6 -2
  19. package/lib/components/Button/Button.js.map +1 -1
  20. package/lib/components/Button/types.d.ts +4 -0
  21. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +8 -2
  22. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js.map +1 -1
  23. package/lib/components/ChooseFile/ChooseFile.js +4 -2
  24. package/lib/components/ChooseFile/ChooseFile.js.map +1 -1
  25. package/lib/components/ChooseFile/types.d.ts +4 -0
  26. package/lib/components/Comments/Comments.js +1 -1
  27. package/lib/components/Comments/Comments.js.map +1 -1
  28. package/lib/components/Comments/childComment/ChildComment.js +6 -2
  29. package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
  30. package/lib/components/Comments/type.d.ts +1 -0
  31. package/lib/components/Drawer/Drawer.js +5 -2
  32. package/lib/components/Drawer/Drawer.js.map +1 -1
  33. package/lib/components/EditLabel/EditLabel.js +2 -1
  34. package/lib/components/EditLabel/EditLabel.js.map +1 -1
  35. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js +3 -1
  36. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js.map +1 -1
  37. package/lib/components/Excel/ExcelFile/ExcelFile.js +27 -14
  38. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  39. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +34 -3
  40. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  41. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +1 -1
  42. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  43. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +14 -2
  44. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  45. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +25 -13
  46. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  47. package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js +36 -42
  48. package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js.map +1 -1
  49. package/lib/components/FileDropzone/FileDropzone.js +15 -3
  50. package/lib/components/FileDropzone/FileDropzone.js.map +1 -1
  51. package/lib/components/FileDropzone/types.d.ts +4 -0
  52. package/lib/components/Icon/iconList.js +8 -0
  53. package/lib/components/Icon/iconList.js.map +1 -1
  54. package/lib/components/Input/Input.js +13 -1
  55. package/lib/components/Input/Input.js.map +1 -1
  56. package/lib/components/InputWithDropdown/InputWithDropdown.js +11 -0
  57. package/lib/components/InputWithDropdown/InputWithDropdown.js.map +1 -1
  58. package/lib/components/MediaViewerModal/MediaViewerModal.js +13 -7
  59. package/lib/components/MediaViewerModal/MediaViewerModal.js.map +1 -1
  60. package/lib/components/MediaViewerModal/type.d.ts +8 -2
  61. package/lib/components/MultiSelect/Dropdown.js +1 -1
  62. package/lib/components/MultiSelect/Dropdown.js.map +1 -1
  63. package/lib/components/MultiSelect/MultiSelect.js +8 -4
  64. package/lib/components/MultiSelect/MultiSelect.js.map +1 -1
  65. package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -1
  66. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js +13 -9
  67. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
  68. package/lib/components/NLPInput/sampleData.js +1 -1
  69. package/lib/components/NLPInput/sampleData.js.map +1 -1
  70. package/lib/components/NoDataContent/NoDataContent.js +1 -1
  71. package/lib/components/NoDataContent/NoDataContent.js.map +1 -1
  72. package/lib/components/ProgressBar/ProgressBar.js +6 -1
  73. package/lib/components/ProgressBar/ProgressBar.js.map +1 -1
  74. package/lib/components/Search/Search.js +13 -0
  75. package/lib/components/Search/Search.js.map +1 -1
  76. package/lib/components/TextArea/Textarea.d.ts +1 -1
  77. package/lib/components/TextArea/Textarea.js +9 -5
  78. package/lib/components/TextArea/Textarea.js.map +1 -1
  79. package/lib/components/TextArea/Types.d.ts +8 -0
  80. package/lib/components/TextEditor/TextEditor.js +2 -2
  81. package/lib/components/TextEditor/TextEditor.js.map +1 -1
  82. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js +2 -2
  83. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js.map +1 -1
  84. package/lib/hooks/useFileDropzone.js +8 -2
  85. package/lib/hooks/useFileDropzone.js.map +1 -1
  86. package/lib/index.cjs +307 -130
  87. package/lib/index.cjs.map +1 -1
  88. package/lib/index.d.ts +33 -5
  89. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  90. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  91. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  92. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  93. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  94. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  95. package/lib/styles.css +1 -1
  96. package/lib/styles.css.map +1 -1
  97. package/lib/utils/AppendNewRow/AppendNewRow.js +4 -0
  98. package/lib/utils/AppendNewRow/AppendNewRow.js.map +1 -1
  99. package/lib/utils/togglePrePostCondition/togglePrePostCondition.d.ts +1 -1
  100. package/lib/utils/togglePrePostCondition/togglePrePostCondition.js +3 -2
  101. package/lib/utils/togglePrePostCondition/togglePrePostCondition.js.map +1 -1
  102. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -191,6 +191,10 @@ interface ButtonProps {
191
191
  */
192
192
  typographyStyle?: React.CSSProperties;
193
193
  iconColor?: string;
194
+ /**
195
+ * Is the Type ChooseFile Action Mandatory for the button
196
+ */
197
+ isMandatory?: boolean;
194
198
  }
195
199
 
196
200
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -480,7 +484,7 @@ interface MultiSelectProps {
480
484
  labelAccessor?: string;
481
485
  valueAccessor?: string;
482
486
  searchAccessor?: string;
483
- onEnter?: (newOption: string) => void;
487
+ onEnter?: (newOption: string) => boolean;
484
488
  loadMoreOptions?: () => void;
485
489
  maxVisibleChips?: number;
486
490
  onBlur?: () => void;
@@ -1074,9 +1078,17 @@ interface TextareaProps {
1074
1078
  * To make text are read only state
1075
1079
  */
1076
1080
  readOnly?: boolean;
1081
+ /**
1082
+ * To show the capacity of textArea chars.
1083
+ */
1084
+ displayCapacity?: boolean;
1085
+ /**
1086
+ * isLabe lRequired for the textArea field without label, showing placeholder
1087
+ */
1088
+ isLabelRequired?: boolean;
1077
1089
  }
1078
1090
 
1079
- declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
1091
+ declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, displayCapacity, isLabelRequired, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
1080
1092
 
1081
1093
  interface StatusButtonProps {
1082
1094
  /**
@@ -1573,6 +1585,8 @@ interface FileDropzoneProps {
1573
1585
  fileContent?: string;
1574
1586
  isUploadIcon?: boolean;
1575
1587
  onUploadFile?: () => void;
1588
+ showNoFilesUploadedMessage?: boolean;
1589
+ noFileUploadedText?: string;
1576
1590
  /**
1577
1591
  * Its fileInputRef using inside fileDropZone.
1578
1592
  **/
@@ -1598,6 +1612,8 @@ interface DropzoneOptions {
1598
1612
  fileExistMessage?: string;
1599
1613
  validateMIMEType?: boolean;
1600
1614
  isApiResponseError?: boolean;
1615
+ selectedFile?: File | DynamicObj | null;
1616
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1601
1617
  }
1602
1618
  interface DropzoneState {
1603
1619
  getRootProps: () => React.HTMLAttributes<HTMLElement>;
@@ -2135,6 +2151,7 @@ type TreeNodeProps = {
2135
2151
  expandedAll?: boolean;
2136
2152
  hideResources?: boolean;
2137
2153
  hidePreOrPost?: boolean;
2154
+ isScript?: boolean;
2138
2155
  };
2139
2156
 
2140
2157
  interface NewNode {
@@ -3698,6 +3715,10 @@ interface ChooseFileProps {
3698
3715
  * handleCloseIcon function will set to the initial state .
3699
3716
  */
3700
3717
  handleCloseIcon?: () => void;
3718
+ /**
3719
+ * Is the Type ChooseFile Action Mandatory.
3720
+ */
3721
+ isMandatory?: boolean;
3701
3722
  }
3702
3723
 
3703
3724
  declare const ChooseFile: FC<ChooseFileProps>;
@@ -4209,11 +4230,17 @@ interface MediaViewerModalProps {
4209
4230
  onClose: () => void;
4210
4231
  isPlaying: boolean;
4211
4232
  onTogglePlay?: () => void;
4212
- mediaType: 'image' | 'video';
4233
+ mediaType: 'video' | 'image';
4213
4234
  src: string;
4214
- headerTitle: string;
4235
+ headerTitle?: string;
4215
4236
  onDownload?: () => void;
4216
4237
  onExpand?: () => void;
4238
+ showHeader?: boolean;
4239
+ showDownload?: boolean;
4240
+ showExpand?: boolean;
4241
+ width?: string;
4242
+ height?: string;
4243
+ showControls?: boolean;
4217
4244
  }
4218
4245
 
4219
4246
  declare const MediaViewerModal: React__default.FC<MediaViewerModalProps>;
@@ -4453,6 +4480,7 @@ interface CommentType {
4453
4480
  emailId?: string[];
4454
4481
  commentParentId?: string;
4455
4482
  comments: CommentType[];
4483
+ profileImage?: string | null;
4456
4484
  }
4457
4485
  interface CommentsProps {
4458
4486
  commentsData: CommentType[];
@@ -5193,7 +5221,7 @@ declare const handleTreeExpandAllCollapseAll: (data: TreeNodeProps[], key: strin
5193
5221
 
5194
5222
  declare const scrollToView: (id: string | null) => void;
5195
5223
 
5196
- declare function togglePrePostConditions(data: TreeNodeProps[], isHide: boolean): TreeNodeProps[];
5224
+ declare function togglePrePostConditions(data: TreeNodeProps[], isHide: boolean, isScript: boolean): TreeNodeProps[];
5197
5225
 
5198
5226
  declare function getTopVisibleNodeKey(scrollContainerWrapper: HTMLDivElement, treeData: TreeNodeProps[]): string | null;
5199
5227
 
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
2
2
  import { __require as requireOptions } from './options.js';
3
3
  import { __require as requireOutput } from '../core/output.js';
4
4
  import { __require as requireInputscanner } from '../core/inputscanner.js';
@@ -1,4 +1,4 @@
1
- import { __module as css } from '../../../../../_virtual/index9.js';
1
+ import { __module as css } from '../../../../../_virtual/index10.js';
2
2
  import { __require as requireBeautifier } from './beautifier.js';
3
3
  import { __require as requireOptions } from './options.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier.js';
2
2
  import { __require as requireOptions } from './options.js';
3
3
  import { __require as requireOutput } from '../core/output.js';
4
4
  import { __require as requireTokenizer } from './tokenizer.js';
@@ -1,4 +1,4 @@
1
- import { __exports as tokenizer } from '../../../../../_virtual/tokenizer2.js';
1
+ import { __exports as tokenizer } from '../../../../../_virtual/tokenizer.js';
2
2
  import { __require as requireTokenizer$1 } from '../core/tokenizer.js';
3
3
  import { __require as requireDirectives } from '../core/directives.js';
4
4
  import { __require as requireTemplatablepattern } from '../core/templatablepattern.js';
@@ -1,4 +1,4 @@
1
- import { __module as javascript } from '../../../../../_virtual/index10.js';
1
+ import { __module as javascript } from '../../../../../_virtual/index9.js';
2
2
  import { __require as requireBeautifier } from './beautifier.js';
3
3
  import { __require as requireOptions } from './options.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __exports as tokenizer } from '../../../../../_virtual/tokenizer.js';
1
+ import { __exports as tokenizer } from '../../../../../_virtual/tokenizer2.js';
2
2
  import { __require as requireInputscanner } from '../core/inputscanner.js';
3
3
  import { __require as requireTokenizer$1 } from '../core/tokenizer.js';
4
4
  import { __require as requireDirectives } from '../core/directives.js';