abdul-react 0.0.9 → 0.0.11

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 (56) hide show
  1. package/lib/components/Charts/LineChart/LineChart.js +25 -25
  2. package/lib/components/Charts/LineChart/LineChart.js.map +1 -1
  3. package/lib/components/Editor/VariableDropdown.js +1 -1
  4. package/lib/components/Editor/VariableDropdown.js.map +1 -1
  5. package/lib/components/Excel/Data.d.ts +127 -0
  6. package/lib/components/Excel/Data.js +646 -0
  7. package/lib/components/Excel/Data.js.map +1 -0
  8. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.d.ts +0 -1
  9. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js +3 -6
  10. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js.map +1 -1
  11. package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +8 -20
  12. package/lib/components/Excel/ExcelFile/ExcelFile.js +36 -31
  13. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  14. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +1 -12
  15. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +1 -0
  16. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  17. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +9 -15
  18. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
  19. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +10 -16
  20. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
  21. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +2 -12
  22. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +13 -17
  23. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  24. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +19 -12
  25. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js +18 -12
  26. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js.map +1 -1
  27. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +39 -21
  28. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  29. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +9 -6
  30. package/lib/components/Excel/Types.d.ts +1 -0
  31. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js +92 -69
  32. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js.map +1 -1
  33. package/lib/components/StepsLandingTable/Components/StepInnerTable.d.ts +1 -1
  34. package/lib/components/StepsLandingTable/Components/StepInnerTable.js +162 -14
  35. package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
  36. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +18 -4
  37. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
  38. package/lib/components/StepsLandingTable/Components/Types.d.ts +3 -0
  39. package/lib/components/StepsLandingTable/StepLandingTable.js +0 -2
  40. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  41. package/lib/index.cjs +438 -238
  42. package/lib/index.cjs.map +1 -1
  43. package/lib/index.d.ts +30 -27
  44. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  45. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  46. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  47. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  48. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  49. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  50. package/lib/styles.css +1 -1
  51. package/lib/styles.css.map +1 -1
  52. package/lib/tsconfig.tsbuildinfo +1 -1
  53. package/lib/utils/ScrollToview/ScrollToView.d.ts +3 -1
  54. package/lib/utils/ScrollToview/ScrollToView.js +14 -9
  55. package/lib/utils/ScrollToview/ScrollToView.js.map +1 -1
  56. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2645,7 +2645,7 @@ interface VariableInputProps {
2645
2645
 
2646
2646
  declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
2647
2647
 
2648
- interface optionsType {
2648
+ interface optionsType$1 {
2649
2649
  label: string;
2650
2650
  value: string;
2651
2651
  iconName: string;
@@ -2653,10 +2653,10 @@ interface optionsType {
2653
2653
  appType?: string;
2654
2654
  }
2655
2655
  interface AllProjectsDropdownProps {
2656
- options: optionsType[];
2656
+ options: optionsType$1[];
2657
2657
  onMenuClick?: () => void;
2658
- onClick: (option: optionsType) => void;
2659
- selectedOption: optionsType;
2658
+ onClick: (option: optionsType$1) => void;
2659
+ selectedOption: optionsType$1;
2660
2660
  selected?: boolean;
2661
2661
  placeholder?: string;
2662
2662
  disabled?: boolean;
@@ -2683,13 +2683,13 @@ interface AppHeaderProps {
2683
2683
  logoIconName: string;
2684
2684
  leftContent?: ReactNode;
2685
2685
  rightContent?: ReactNode;
2686
- projectsList?: optionsType[];
2686
+ projectsList?: optionsType$1[];
2687
2687
  appHeaderMenuItems: appHeaderMenuItemProps[];
2688
2688
  appHeaderHiddenMenuItems?: appHeaderMenuItemProps[];
2689
2689
  selectedMenu: string;
2690
2690
  selectedSubMenu?: string;
2691
2691
  selectedQuickMenu?: string;
2692
- selectedProject?: optionsType;
2692
+ selectedProject?: optionsType$1;
2693
2693
  onMenuClick?: (text: any) => void;
2694
2694
  onSubMenuClick?: (text: any) => void;
2695
2695
  onQuickMenuClick?: (text: any) => void;
@@ -3241,6 +3241,21 @@ interface LabelEditTextFieldTypes {
3241
3241
 
3242
3242
  declare const EditTextField: FC<LabelEditTextFieldTypes>;
3243
3243
 
3244
+ type ContextMenuState = {
3245
+ open: boolean;
3246
+ contextType: 'sheet' | 'column' | 'row' | 'cell' | null;
3247
+ options: optionsType[];
3248
+ };
3249
+ type optionsType = {
3250
+ label: string;
3251
+ value: string;
3252
+ iconName: string;
3253
+ action: () => void;
3254
+ disableTooltip: string;
3255
+ visible: boolean;
3256
+ disable: boolean;
3257
+ };
3258
+
3244
3259
  interface ExcelFileProps {
3245
3260
  /**
3246
3261
  * The Excel data containing all the sheets and their respective content.
@@ -3253,27 +3268,14 @@ interface ExcelFileProps {
3253
3268
  /**
3254
3269
  * Optional configuration for the context menu (usually shown on right-click).
3255
3270
  * This allows customization of the context menu options with a label, value, icon, and action to be performed.
3271
+ * open: boolean;
3272
+ * Whether the context menu should be enabled (open or not).
3273
+ * If set to true, the context menu will be shown, otherwise, it will be disabled.
3274
+ * options: optionsType[];
3275
+ * Array of options available in the context menu. Each option contains a label (display name),
3276
+ * value (identifier), iconName (icon to display), and action (function to be executed on click).
3256
3277
  */
3257
- contextOption?: {
3258
- /**
3259
- * Whether the context menu should be enabled (open or not).
3260
- * If set to true, the context menu will be shown, otherwise, it will be disabled.
3261
- */
3262
- open: boolean;
3263
- /**
3264
- * Array of options available in the context menu. Each option contains a label (display name),
3265
- * value (identifier), iconName (icon to display), and action (function to be executed on click).
3266
- */
3267
- options: {
3268
- label: string;
3269
- value: string;
3270
- iconName: string;
3271
- action: () => void;
3272
- disableTooltip: string;
3273
- visible: boolean;
3274
- disable: boolean;
3275
- }[];
3276
- };
3278
+ contextOption?: ContextMenuState;
3277
3279
  /**
3278
3280
  * Controls whether the toolbar is shown or hidden.
3279
3281
  * Possible values:
@@ -5347,7 +5349,8 @@ declare const handleTreeExpandAllCollapseAll: (data: TreeNodeProps[], key: strin
5347
5349
  rootNode?: TreeNodeProps;
5348
5350
  };
5349
5351
 
5350
- declare const scrollToView: (id: string | null) => void;
5352
+ type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
5353
+ declare const scrollToView: (id: string | null | undefined, block?: ScrollLogicalPosition, retries?: number) => void;
5351
5354
 
5352
5355
  declare function toggleShowHideEntity(data: TreeNodeProps[], isHide: boolean, isScript: boolean): TreeNodeProps[];
5353
5356
 
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options3.js';
1
+ import { __exports as options } from '../../../../../_virtual/options.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier2.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 requireTokenizer } from './tokenizer.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options.js';
1
+ import { __exports as options } from '../../../../../_virtual/options3.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -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 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/beautifier3.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 { __exports as tokenizer } from '../../../../../_virtual/tokenizer2.js';
1
+ import { __exports as tokenizer } from '../../../../../_virtual/tokenizer.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';