abdul-react 0.0.29 → 0.0.30

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 (71) hide show
  1. package/lib/ComponentProps/TreeNodeProps.d.ts +1 -0
  2. package/lib/_virtual/index10.js +2 -2
  3. package/lib/_virtual/index9.js +2 -2
  4. package/lib/assets/icons/access_key.svg.js +6 -0
  5. package/lib/assets/icons/access_key.svg.js.map +1 -0
  6. package/lib/assets/icons/jSON_code_icon.svg.js +6 -0
  7. package/lib/assets/icons/jSON_code_icon.svg.js.map +1 -0
  8. package/lib/assets/icons/list_icon.svg.js +6 -0
  9. package/lib/assets/icons/list_icon.svg.js.map +1 -0
  10. package/lib/components/AppHeader/AppHeader.js +9 -6
  11. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  12. package/lib/components/ChatModalAi/ChatModalAi.js +7 -2
  13. package/lib/components/ChatModalAi/ChatModalAi.js.map +1 -1
  14. package/lib/components/ChatModalAi/types.d.ts +1 -0
  15. package/lib/components/DatePicker/DatePicker.js +20 -3
  16. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  17. package/lib/components/DatePicker/types.d.ts +5 -1
  18. package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +5 -0
  19. package/lib/components/Excel/ExcelFile/ExcelFile.js +9 -2
  20. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  21. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +5 -0
  22. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +14 -4
  23. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  24. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +10 -2
  25. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
  26. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.d.ts +9 -1
  27. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js +26 -7
  28. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js.map +1 -1
  29. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +14 -6
  30. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
  31. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.d.ts +4 -0
  32. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js +15 -20
  33. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js.map +1 -1
  34. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +7 -1
  35. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +69 -31
  36. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  37. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +23 -19
  38. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  39. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +3 -3
  40. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  41. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +12 -0
  42. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.d.ts +1 -0
  43. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js +33 -44
  44. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js.map +1 -1
  45. package/lib/components/Icon/iconList.js +6 -0
  46. package/lib/components/Icon/iconList.js.map +1 -1
  47. package/lib/components/MobileSkin/MobileSkin.js +22 -2
  48. package/lib/components/MobileSkin/MobileSkin.js.map +1 -1
  49. package/lib/components/MobileSkin/MobileSkinInterface.d.ts +1 -1
  50. package/lib/components/Prompt/Prompt.js +4 -2
  51. package/lib/components/Prompt/Prompt.js.map +1 -1
  52. package/lib/components/Prompt/types.d.ts +1 -0
  53. package/lib/components/PromptContainer/PromptContainer.js +4 -2
  54. package/lib/components/PromptContainer/PromptContainer.js.map +1 -1
  55. package/lib/components/PromptContainer/types.d.ts +1 -0
  56. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +1 -1
  57. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
  58. package/lib/components/TableTreeFn/Components/TableHead.js +12 -1
  59. package/lib/components/TableTreeFn/Components/TableHead.js.map +1 -1
  60. package/lib/index.cjs +299 -153
  61. package/lib/index.cjs.map +1 -1
  62. package/lib/index.d.ts +22 -2
  63. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  64. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  65. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  66. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  67. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  68. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  69. package/lib/styles.css +1 -1
  70. package/lib/styles.css.map +1 -1
  71. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2199,6 +2199,7 @@ type TreeNodeProps = {
2199
2199
  conditionId?: string;
2200
2200
  machInstanceId?: string;
2201
2201
  duration?: string;
2202
+ headless?: boolean;
2202
2203
  };
2203
2204
 
2204
2205
  interface NewNode$1 {
@@ -2495,7 +2496,7 @@ interface DatePickerProps {
2495
2496
  /**
2496
2497
  * Function to handle date selection.
2497
2498
  */
2498
- onChange: (value: DateValue) => void;
2499
+ onChange: (value: DateValue, formatted?: string) => void;
2499
2500
  /**
2500
2501
  * Placeholder text for the input field.
2501
2502
  */
@@ -2546,6 +2547,10 @@ interface DatePickerProps {
2546
2547
  * Function to handle onBlur for datepicker.
2547
2548
  */
2548
2549
  onBlur?: (date: DateValue) => void;
2550
+ /**
2551
+ * Default:False,if true, the date picker will not apply any date formatting.
2552
+ */
2553
+ withOutDateFormat?: boolean;
2549
2554
  }
2550
2555
  type DateValue = Date | undefined;
2551
2556
 
@@ -3273,6 +3278,14 @@ interface LabelEditTextFieldTypes {
3273
3278
 
3274
3279
  declare const EditTextField: FC<LabelEditTextFieldTypes>;
3275
3280
 
3281
+ /** A cell coordinates in the spreadsheet */
3282
+ type Point = {
3283
+ /** The cell's column */
3284
+ column: number;
3285
+ /** The cell's row */
3286
+ row: number;
3287
+ };
3288
+
3276
3289
  type ContextMenuState = {
3277
3290
  open: boolean;
3278
3291
  contextType: 'sheet' | 'column' | 'row' | 'cell' | null;
@@ -3383,6 +3396,10 @@ interface ExcelFileProps {
3383
3396
  maxRowLimit?: number;
3384
3397
  maxColLimit?: number;
3385
3398
  maxSheetLimit?: number;
3399
+ getActiveCell?: (cell: {
3400
+ value: string;
3401
+ active: Point;
3402
+ }) => void;
3386
3403
  }
3387
3404
  declare const ExcelFile: React__default.FC<ExcelFileProps>;
3388
3405
 
@@ -3883,7 +3900,7 @@ interface MobileSkinProps {
3883
3900
  UtilityBar?: boolean;
3884
3901
  background?: string;
3885
3902
  tooltip?: Record<string, string>;
3886
- navBarPosition?: 'top' | 'bottom';
3903
+ navBarPosition?: 'top' | 'bottom' | 'left';
3887
3904
  tooltipFormatter?: ((title: string) => React.ReactNode) | undefined;
3888
3905
  }
3889
3906
 
@@ -3902,6 +3919,7 @@ interface promptProp {
3902
3919
  iconColor?: string;
3903
3920
  tooltipTitle?: string;
3904
3921
  value: string;
3922
+ disableInput?: boolean;
3905
3923
  onPromptChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
3906
3924
  onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
3907
3925
  onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
@@ -3985,6 +4003,7 @@ interface ChatModalAiProps {
3985
4003
  iconHeight?: number;
3986
4004
  iconWidth?: number;
3987
4005
  hoverTitle?: string;
4006
+ onVisibilityChange?: (visible: boolean) => void;
3988
4007
  }
3989
4008
 
3990
4009
  declare const ChatModalAi: React$1.ForwardRefExoticComponent<ChatModalAiProps & React$1.RefAttributes<ChatModalRef>>;
@@ -4060,6 +4079,7 @@ interface PromptContainerProps {
4060
4079
  isViewAccess?: boolean;
4061
4080
  versionsLength?: number;
4062
4081
  count?: number;
4082
+ hiddenActions?: string[] | string;
4063
4083
  }
4064
4084
 
4065
4085
  declare const PromptContainer: React__default.FC<PromptContainerProps>;
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier2.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 { __module as html } from '../../../../../_virtual/index9.js';
1
+ import { __module as html } 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 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 { __exports as beautifier } from '../../../../../_virtual/beautifier.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
2
2
  import { __require as requireOutput } from '../core/output.js';
3
3
  import { __require as requireToken } from '../core/token.js';
4
4
  import { __require as requireAcorn } from './acorn.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';