abdul-react 0.0.13 → 0.0.20

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 (119) hide show
  1. package/lib/ComponentProps/TreeNodeProps.d.ts +1 -0
  2. package/lib/_virtual/index10.js +2 -2
  3. package/lib/_virtual/index11.js +2 -2
  4. package/lib/_virtual/index9.js +2 -2
  5. package/lib/assets/icons/copy_icon_filled.svg.js +6 -0
  6. package/lib/assets/icons/copy_icon_filled.svg.js.map +1 -0
  7. package/lib/assets/icons/cypress.svg.js +1 -1
  8. package/lib/assets/icons/cypress.svg.js.map +1 -1
  9. package/lib/assets/icons/generate_command_logo.svg.js +6 -0
  10. package/lib/assets/icons/generate_command_logo.svg.js.map +1 -0
  11. package/lib/assets/icons/generate_testcase.svg.js +6 -0
  12. package/lib/assets/icons/generate_testcase.svg.js.map +1 -0
  13. package/lib/assets/icons/prompt_slider.svg.js +6 -0
  14. package/lib/assets/icons/prompt_slider.svg.js.map +1 -0
  15. package/lib/assets/icons/regenerate_ai_result.svg.js +6 -0
  16. package/lib/assets/icons/regenerate_ai_result.svg.js.map +1 -0
  17. package/lib/assets/icons/send_prompt.svg.js +6 -0
  18. package/lib/assets/icons/send_prompt.svg.js.map +1 -0
  19. package/lib/assets/icons/windows.svg.js +1 -1
  20. package/lib/assets/icons/windows.svg.js.map +1 -1
  21. package/lib/components/AppHeader/AppHeader.js +10 -10
  22. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  23. package/lib/components/AttachmentButton/AttachmentButton.js +1 -1
  24. package/lib/components/AttachmentButton/AttachmentButton.js.map +1 -1
  25. package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
  26. package/lib/components/Charts/BarChart/BarChart.js +12 -4
  27. package/lib/components/Charts/BarChart/BarChart.js.map +1 -1
  28. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +5 -1
  29. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js.map +1 -1
  30. package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
  31. package/lib/components/Charts/RadialChart/RadialChart.js +2 -2
  32. package/lib/components/Charts/RadialChart/RadialChart.js.map +1 -1
  33. package/lib/components/ChipWithCount/ChipWithCount.js +5 -4
  34. package/lib/components/ChipWithCount/ChipWithCount.js.map +1 -1
  35. package/lib/components/Comments/Comments.js +1 -1
  36. package/lib/components/Comments/Comments.js.map +1 -1
  37. package/lib/components/Comments/childComment/ChildComment.js +4 -2
  38. package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
  39. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js +4 -4
  40. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js.map +1 -1
  41. package/lib/components/ConnectingBranch/ConnectingBranch.js +1 -1
  42. package/lib/components/ConnectingBranch/ConnectingBranch.js.map +1 -1
  43. package/lib/components/DatePicker/DatePicker.js +5 -3
  44. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  45. package/lib/components/DebugToolsPanel/DebugToolsPanel.d.ts +2 -1
  46. package/lib/components/DebugToolsPanel/DebugToolsPanel.js +3 -3
  47. package/lib/components/DebugToolsPanel/DebugToolsPanel.js.map +1 -1
  48. package/lib/components/DownloadClient/DownloadClient.js +2 -2
  49. package/lib/components/DownloadClient/DownloadClient.js.map +1 -1
  50. package/lib/components/Excel/Data.js +14 -14
  51. package/lib/components/Excel/Data.js.map +1 -1
  52. package/lib/components/Excel/Data2.d.ts +133 -0
  53. package/lib/components/Excel/Data2.js +698 -0
  54. package/lib/components/Excel/Data2.js.map +1 -0
  55. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js +3 -1
  56. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js.map +1 -1
  57. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +2 -1
  58. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  59. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +32 -25
  60. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  61. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +61 -40
  62. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  63. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +3 -0
  64. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.d.ts +4 -0
  65. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js +172 -25
  66. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js.map +1 -1
  67. package/lib/components/FileDropzone/FileDropzone.js +9 -3
  68. package/lib/components/FileDropzone/FileDropzone.js.map +1 -1
  69. package/lib/components/FileDropzone/FilePreview.js +4 -1
  70. package/lib/components/FileDropzone/FilePreview.js.map +1 -1
  71. package/lib/components/FileDropzone/types.d.ts +9 -0
  72. package/lib/components/HighlightText/HighlightText.js +4 -1
  73. package/lib/components/HighlightText/HighlightText.js.map +1 -1
  74. package/lib/components/Icon/iconList.js +12 -0
  75. package/lib/components/Icon/iconList.js.map +1 -1
  76. package/lib/components/MachineInputField/MachineInputField.js +1 -1
  77. package/lib/components/MachineInputField/MachineInputField.js.map +1 -1
  78. package/lib/components/MultiSelect/MultiSelect.js +3 -2
  79. package/lib/components/MultiSelect/MultiSelect.js.map +1 -1
  80. package/lib/components/PromptContainer/PromptContainer.js +2 -2
  81. package/lib/components/PromptContainer/PromptContainer.js.map +1 -1
  82. package/lib/components/Select/Select.js +2 -1
  83. package/lib/components/Select/Select.js.map +1 -1
  84. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js +69 -92
  85. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js.map +1 -1
  86. package/lib/components/StepsLandingTable/Components/StepInnerTable.d.ts +1 -1
  87. package/lib/components/StepsLandingTable/Components/StepInnerTable.js +14 -162
  88. package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
  89. package/lib/components/StepsLandingTable/Components/StepResultStats.d.ts +3 -2
  90. package/lib/components/StepsLandingTable/Components/StepResultStats.js +68 -25
  91. package/lib/components/StepsLandingTable/Components/StepResultStats.js.map +1 -1
  92. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +4 -18
  93. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
  94. package/lib/components/StepsLandingTable/Components/Types.d.ts +9 -3
  95. package/lib/components/StepsLandingTable/StepLandingTable.js +2 -0
  96. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  97. package/lib/components/Table/Table.js +30 -30
  98. package/lib/components/Table/Table.js.map +1 -1
  99. package/lib/components/VariableInput/VariableInput.js +2 -2
  100. package/lib/components/VariableInput/VariableInput.js.map +1 -1
  101. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js +21 -18
  102. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js.map +1 -1
  103. package/lib/index.cjs +1102 -984
  104. package/lib/index.cjs.map +1 -1
  105. package/lib/index.d.ts +19 -2
  106. package/lib/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +39 -0
  107. package/lib/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js.map +1 -0
  108. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  109. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  110. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  111. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  112. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  113. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  114. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  115. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  116. package/lib/styles.css +1 -1
  117. package/lib/styles.css.map +1 -1
  118. package/lib/tsconfig.tsbuildinfo +1 -1
  119. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1604,6 +1604,14 @@ interface FileDropzoneProps {
1604
1604
  **/
1605
1605
  fileInputRef?: RefObject<HTMLInputElement>;
1606
1606
  handleReplaceFile?: (file?: File | DynamicObj | null) => void;
1607
+ /**
1608
+ * To Disable Remove Button.
1609
+ **/
1610
+ isRemoveDisabled?: boolean;
1611
+ /**
1612
+ * To Disable Replace Button.
1613
+ **/
1614
+ isReplaceDisabled?: boolean;
1607
1615
  }
1608
1616
  interface FileError {
1609
1617
  message: string;
@@ -1668,6 +1676,7 @@ interface FilePreviewProps {
1668
1676
  onUploadFile?: VoidFunction;
1669
1677
  isUploadIcon?: boolean;
1670
1678
  isRemoveDisabled?: boolean;
1679
+ isReplaceDisabled?: boolean;
1671
1680
  isError?: boolean;
1672
1681
  isIndependentPreview?: boolean;
1673
1682
  }
@@ -2181,6 +2190,7 @@ type TreeNodeProps = {
2181
2190
  stepId?: string;
2182
2191
  conditionId?: string;
2183
2192
  machInstanceId?: string;
2193
+ duration?: string;
2184
2194
  };
2185
2195
 
2186
2196
  interface NewNode$1 {
@@ -2805,6 +2815,7 @@ type DashboardDonutChartProps = {
2805
2815
  selectedStatusKey?: string;
2806
2816
  setSelectedStatusKey?: (_selectedStatusKey: string) => void;
2807
2817
  isOnClick?: boolean;
2818
+ zIndex?: number;
2808
2819
  };
2809
2820
 
2810
2821
  declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
@@ -4478,6 +4489,7 @@ type BarChartProps = {
4478
4489
  isDashboardVersions?: boolean;
4479
4490
  type?: string;
4480
4491
  isMemory?: boolean;
4492
+ tooltipWidth?: string;
4481
4493
  };
4482
4494
  declare const BarChart: React__default.FC<BarChartProps>;
4483
4495
 
@@ -5377,7 +5389,7 @@ interface DebugToolsPanelProps {
5377
5389
  panelwidth?: string;
5378
5390
  }
5379
5391
 
5380
- declare const DebugToolsPanel: React$1.ForwardRefExoticComponent<DebugToolsPanelProps & React$1.RefAttributes<HTMLDivElement>>;
5392
+ declare const DebugToolsPanel: FC<DebugToolsPanelProps>;
5381
5393
 
5382
5394
  interface SessionManagerProps {
5383
5395
  isRotate?: boolean;
@@ -5477,7 +5489,12 @@ declare const convertToGB: (value: string) => number;
5477
5489
 
5478
5490
  declare const convertToBytes: (value: string) => number;
5479
5491
 
5480
- declare const StepResultStats: React__default.FC<any>;
5492
+ interface StepResultStatsProps {
5493
+ metaData: any;
5494
+ width?: number;
5495
+ }
5496
+
5497
+ declare const StepResultStats: React.FC<StepResultStatsProps>;
5481
5498
 
5482
5499
  interface Action {
5483
5500
  text?: string;
@@ -0,0 +1,39 @@
1
+ import { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';
2
+ import { toDate } from '../toDate/index.js';
3
+
4
+ /**
5
+ * @name toZonedTime
6
+ * @category Time Zone Helpers
7
+ * @summary Get a date/time representing local time in a given time zone from the UTC date
8
+ *
9
+ * @description
10
+ * Returns a date instance with values representing the local time in the time zone
11
+ * specified of the UTC time from the date provided. In other words, when the new date
12
+ * is formatted it will show the equivalent hours in the target time zone regardless
13
+ * of the current system time zone.
14
+ *
15
+ * @param date the date with the relevant UTC time
16
+ * @param timeZone the time zone to get local time for, can be an offset or IANA time zone
17
+ * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}
18
+ * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
19
+ *
20
+ * @throws {TypeError} 2 arguments required
21
+ * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2
22
+ *
23
+ * @example
24
+ * // In June 10am UTC is 6am in New York (-04:00)
25
+ * const result = toZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')
26
+ * //=> Jun 25 2014 06:00:00
27
+ */
28
+ function toZonedTime(date, timeZone, options) {
29
+ date = toDate(date, options);
30
+ const offsetMilliseconds = tzParseTimezone(timeZone, date, true);
31
+ const d = new Date(date.getTime() - offsetMilliseconds);
32
+ const resultDate = new Date(0);
33
+ resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());
34
+ resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());
35
+ return resultDate;
36
+ }
37
+
38
+ export { toZonedTime };
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/date-fns-tz/dist/esm/toZonedTime/index.js"],"sourcesContent":["import { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';\nimport { toDate } from '../toDate/index.js';\n/**\n * @name toZonedTime\n * @category Time Zone Helpers\n * @summary Get a date/time representing local time in a given time zone from the UTC date\n *\n * @description\n * Returns a date instance with values representing the local time in the time zone\n * specified of the UTC time from the date provided. In other words, when the new date\n * is formatted it will show the equivalent hours in the target time zone regardless\n * of the current system time zone.\n *\n * @param date the date with the relevant UTC time\n * @param timeZone the time zone to get local time for, can be an offset or IANA time zone\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n *\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // In June 10am UTC is 6am in New York (-04:00)\n * const result = toZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')\n * //=> Jun 25 2014 06:00:00\n */\nexport function toZonedTime(date, timeZone, options) {\n date = toDate(date, options);\n const offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n const d = new Date(date.getTime() - offsetMilliseconds);\n const resultDate = new Date(0);\n resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());\n resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n return resultDate;\n}\n"],"names":["toZonedTime","date","timeZone","options","toDate","offsetMilliseconds","tzParseTimezone","d","Date","getTime","resultDate","setFullYear","getUTCFullYear","getUTCMonth","getUTCDate","setHours","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds"],"mappings":";;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,WAAWA,CAACC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAE;AACjDF,EAAAA,IAAI,GAAGG,MAAM,CAACH,IAAI,EAAEE,OAAO,CAAC;EAC5B,MAAME,kBAAkB,GAAGC,eAAe,CAACJ,QAAQ,EAAED,IAAI,EAAE,IAAI,CAAC;AAChE,EAAA,MAAMM,CAAC,GAAG,IAAIC,IAAI,CAACP,IAAI,CAACQ,OAAO,EAAE,GAAGJ,kBAAkB,CAAC;AACvD,EAAA,MAAMK,UAAU,GAAG,IAAIF,IAAI,CAAC,CAAC,CAAC;EAC9BE,UAAU,CAACC,WAAW,CAACJ,CAAC,CAACK,cAAc,EAAE,EAAEL,CAAC,CAACM,WAAW,EAAE,EAAEN,CAAC,CAACO,UAAU,EAAE,CAAC;EAC3EJ,UAAU,CAACK,QAAQ,CAACR,CAAC,CAACS,WAAW,EAAE,EAAET,CAAC,CAACU,aAAa,EAAE,EAAEV,CAAC,CAACW,aAAa,EAAE,EAAEX,CAAC,CAACY,kBAAkB,EAAE,CAAC;AAClG,EAAA,OAAOT,UAAU;AACrB;;;;","x_google_ignoreList":[0]}
@@ -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/index11.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 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 beautifier } from '../../../../../_virtual/beautifier3.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier2.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/index11.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 beautifier } from '../../../../../_virtual/beautifier2.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier.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 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 */