abdul-react 0.0.33 → 0.0.36

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 (159) 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/fia_ai_icon.svg.js +846 -0
  6. package/lib/assets/icons/fia_ai_icon.svg.js.map +1 -0
  7. package/lib/assets/icons/mac_white_icon.svg.js +6 -0
  8. package/lib/assets/icons/mac_white_icon.svg.js.map +1 -0
  9. package/lib/assets/icons/maximize_livetesting.svg.js +6 -0
  10. package/lib/assets/icons/maximize_livetesting.svg.js.map +1 -0
  11. package/lib/assets/icons/minimize_tree.svg.js +6 -0
  12. package/lib/assets/icons/minimize_tree.svg.js.map +1 -0
  13. package/lib/assets/icons/timer_icon.svg.js +6 -0
  14. package/lib/assets/icons/timer_icon.svg.js.map +1 -0
  15. package/lib/assets/icons/view_access_icon.svg.js +1 -1
  16. package/lib/assets/icons/view_access_icon.svg.js.map +1 -1
  17. package/lib/assets/icons/windows_blue_icon.svg.js +6 -0
  18. package/lib/assets/icons/windows_blue_icon.svg.js.map +1 -0
  19. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js +53 -13
  20. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js.map +1 -1
  21. package/lib/components/AppHeader/AppHeader.js +37 -4
  22. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  23. package/lib/components/AppHeader/types.d.ts +11 -0
  24. package/lib/components/Comments/childComment/ChildComment.js +6 -6
  25. package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
  26. package/lib/components/ConditionalDropdown/ConditionalDropdown.js +17 -5
  27. package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
  28. package/lib/components/ConditionalDropdown/OptionsDropdown.js +16 -6
  29. package/lib/components/ConditionalDropdown/OptionsDropdown.js.map +1 -1
  30. package/lib/components/ConditionalDropdown/types.d.ts +12 -0
  31. package/lib/components/CreateVariable/CreateVariableSlider.js +3 -2
  32. package/lib/components/CreateVariable/CreateVariableSlider.js.map +1 -1
  33. package/lib/components/CreateVariable/types.d.ts +3 -2
  34. package/lib/components/DragAndDrop/DragAndDrop.d.ts +2 -0
  35. package/lib/components/DragAndDrop/DragAndDrop.js +3 -1
  36. package/lib/components/DragAndDrop/DragAndDrop.js.map +1 -1
  37. package/lib/components/Drawer/Drawer.js +7 -4
  38. package/lib/components/Drawer/Drawer.js.map +1 -1
  39. package/lib/components/EditLabel/EditLabel.js +2 -2
  40. package/lib/components/EditLabel/EditLabel.js.map +1 -1
  41. package/lib/components/Editor/Editor.js +12 -5
  42. package/lib/components/Editor/Editor.js.map +1 -1
  43. package/lib/components/Editor/VariableDropdown.js +7 -7
  44. package/lib/components/Editor/VariableDropdown.js.map +1 -1
  45. package/lib/components/Editor/types.d.ts +12 -0
  46. package/lib/components/Excel/Data.d.ts +8 -0
  47. package/lib/components/Excel/Data.js +48 -6
  48. package/lib/components/Excel/Data.js.map +1 -1
  49. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +28 -14
  50. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  51. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js +8 -2
  52. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js.map +1 -1
  53. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +44 -20
  54. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
  55. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.d.ts +0 -3
  56. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js +4 -8
  57. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js.map +1 -1
  58. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js +45 -2
  59. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js.map +1 -1
  60. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.js +5 -1
  61. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.js.map +1 -1
  62. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +11 -10
  63. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
  64. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.d.ts +0 -3
  65. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js +5 -9
  66. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js.map +1 -1
  67. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +160 -189
  68. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  69. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js +9 -13
  70. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js.map +1 -1
  71. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +17 -1
  72. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js +21 -1
  73. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js.map +1 -1
  74. package/lib/components/Excel/ExcelFile/ExcelFileComponents/index.js +1 -0
  75. package/lib/components/Excel/ExcelFile/ExcelFileComponents/index.js.map +1 -1
  76. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +400 -54
  77. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  78. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +1 -1
  79. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  80. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +3 -5
  81. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.d.ts +10 -18
  82. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js +157 -64
  83. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js.map +1 -1
  84. package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js +26 -25
  85. package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js.map +1 -1
  86. package/lib/components/Excel/Types.d.ts +2 -0
  87. package/lib/components/Excel/dataConversion.js +17 -4
  88. package/lib/components/Excel/dataConversion.js.map +1 -1
  89. package/lib/components/Icon/Icon.js +14 -1
  90. package/lib/components/Icon/Icon.js.map +1 -1
  91. package/lib/components/Icon/iconList.js +18 -6
  92. package/lib/components/Icon/iconList.js.map +1 -1
  93. package/lib/components/Input/Input.js +3 -2
  94. package/lib/components/Input/Input.js.map +1 -1
  95. package/lib/components/Input/types.d.ts +1 -0
  96. package/lib/components/MachineInputField/MachineInputField.js +2 -2
  97. package/lib/components/MachineInputField/MachineInputField.js.map +1 -1
  98. package/lib/components/NLPInput/NlpInput.js +1 -1
  99. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js +1 -1
  100. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
  101. package/lib/components/PrePostTable/PrePostTable.js +2 -0
  102. package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
  103. package/lib/components/Prompt/Prompt.js +17 -2
  104. package/lib/components/Prompt/Prompt.js.map +1 -1
  105. package/lib/components/Prompt/types.d.ts +4 -0
  106. package/lib/components/Select/Select.js +3 -1
  107. package/lib/components/Select/Select.js.map +1 -1
  108. package/lib/components/Select/components/Dropdown.js +2 -1
  109. package/lib/components/Select/components/Dropdown.js.map +1 -1
  110. package/lib/components/Select/types.d.ts +3 -2
  111. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +14 -9
  112. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
  113. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +4 -4
  114. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
  115. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js +92 -69
  116. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js.map +1 -1
  117. package/lib/components/StepsLandingTable/Components/StepInnerTable.d.ts +1 -1
  118. package/lib/components/StepsLandingTable/Components/StepInnerTable.js +189 -15
  119. package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
  120. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +20 -4
  121. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
  122. package/lib/components/StepsLandingTable/Components/Types.d.ts +6 -0
  123. package/lib/components/StepsLandingTable/StepLandingTable.js +12 -5
  124. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  125. package/lib/components/StepsLandingTable/types.d.ts +3 -0
  126. package/lib/components/Table/Table.js +184 -42
  127. package/lib/components/Table/Table.js.map +1 -1
  128. package/lib/components/TableTreeFn/TableTreeFn.js +30 -0
  129. package/lib/components/TableTreeFn/TableTreeFn.js.map +1 -1
  130. package/lib/components/TableWithAccordion/TableWithAccordion.js +4 -3
  131. package/lib/components/TableWithAccordion/TableWithAccordion.js.map +1 -1
  132. package/lib/components/Toggle/Toggle.js +6 -2
  133. package/lib/components/Toggle/Toggle.js.map +1 -1
  134. package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js +7 -5
  135. package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js.map +1 -1
  136. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js +1 -1
  137. package/lib/hooks/useFileDropzone.js +45 -17
  138. package/lib/hooks/useFileDropzone.js.map +1 -1
  139. package/lib/index.cjs +2737 -651
  140. package/lib/index.cjs.map +1 -1
  141. package/lib/index.d.ts +52 -4
  142. package/lib/index.js +1 -0
  143. package/lib/index.js.map +1 -1
  144. package/lib/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js +106 -0
  145. package/lib/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js.map +1 -0
  146. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  147. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  148. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  149. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  150. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  151. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  152. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  153. package/lib/styles.css +1 -1
  154. package/lib/styles.css.map +1 -1
  155. package/lib/tsconfig.tsbuildinfo +1 -1
  156. package/lib/utils/useDeviceType/useDeviceType.d.ts +6 -0
  157. package/lib/utils/useDeviceType/useDeviceType.js +27 -0
  158. package/lib/utils/useDeviceType/useDeviceType.js.map +1 -0
  159. package/package.json +2 -1
package/lib/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import * as Form from 'react-hook-form';
7
7
  import * as DNDCore from '@dnd-kit/core';
8
8
  import * as DNDSortable from '@dnd-kit/sortable';
9
9
  import * as DNDUtilities from '@dnd-kit/utilities';
10
+ import * as DNDModifiers from '@dnd-kit/modifiers';
10
11
  import ReCAPTCHA from 'react-google-recaptcha';
11
12
  export { default as Janus } from 'janus-gateway';
12
13
  export { default as adapter } from 'webrtc-adapter';
@@ -68,7 +69,7 @@ interface CreateVariableProps {
68
69
  /**
69
70
  * verify which drawer is open, create or edit
70
71
  */
71
- mode?: 'create' | 'edit';
72
+ mode?: "create" | "edit";
72
73
  /**
73
74
  * Disable the checkbox
74
75
  */
@@ -89,6 +90,7 @@ interface CreateVariableProps {
89
90
  * Show placeholder text
90
91
  */
91
92
  placeholder?: string;
93
+ truncateTextValue?: number;
92
94
  }
93
95
 
94
96
  interface ButtonProps {
@@ -852,6 +854,7 @@ interface InputProps {
852
854
  */
853
855
  disableAfterMaxValueReached?: boolean;
854
856
  helperTextWidth?: string | number;
857
+ fixedLabel?: boolean;
855
858
  }
856
859
 
857
860
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
@@ -991,8 +994,8 @@ interface SelectProps$1 {
991
994
  */
992
995
  background?: string;
993
996
  /**
994
- * No Result message
995
- */
997
+ * No Result message
998
+ */
996
999
  noResultsMessage?: string;
997
1000
  /**
998
1001
  * Ref for select option dropdown
@@ -1002,6 +1005,7 @@ interface SelectProps$1 {
1002
1005
  * handling dropdownDown height
1003
1006
  */
1004
1007
  dropDownHeight?: number;
1008
+ onSearchText?: (text: string) => void;
1005
1009
  }
1006
1010
  type OptionValue$3 = any;
1007
1011
  interface Option$5 {
@@ -2200,6 +2204,7 @@ type TreeNodeProps = {
2200
2204
  machInstanceId?: string;
2201
2205
  duration?: string;
2202
2206
  headless?: boolean;
2207
+ recordedVideoUrlId?: string;
2203
2208
  };
2204
2209
 
2205
2210
  interface NewNode$1 {
@@ -2622,6 +2627,7 @@ declare const DragAndDrop: {
2622
2627
  DNDCore: typeof DNDCore;
2623
2628
  DNDSortable: typeof DNDSortable;
2624
2629
  DNDUtilities: typeof DNDUtilities;
2630
+ DNDModifiers: typeof DNDModifiers;
2625
2631
  };
2626
2632
 
2627
2633
  interface VariableInputProps {
@@ -2734,6 +2740,17 @@ interface AppHeaderProps {
2734
2740
  disabled?: boolean;
2735
2741
  isClient?: boolean;
2736
2742
  hideNavbar?: boolean;
2743
+ centerInfoItems?: {
2744
+ iconName: string;
2745
+ label: string;
2746
+ }[];
2747
+ rightButtons?: {
2748
+ label: string;
2749
+ iconName?: string;
2750
+ color?: string;
2751
+ backgroundColor?: string;
2752
+ onClick?: () => void;
2753
+ }[];
2737
2754
  profileContent?: ReactNode;
2738
2755
  }
2739
2756
  interface appHeaderMenuItemProps {
@@ -3517,6 +3534,10 @@ interface EditorProps {
3517
3534
  * Variable options list
3518
3535
  */
3519
3536
  variableOptionsList?: [] | DyanamicObj[];
3537
+ /**
3538
+ * If true, adds 'FLV_for:' prefix to for loop variables in the dropdown and while searching.
3539
+ */
3540
+ addForloopPrefix?: boolean;
3520
3541
  /**
3521
3542
  *Value to set in the editor
3522
3543
  */
@@ -3550,6 +3571,14 @@ interface EditorProps {
3550
3571
  * Defaukt value for the editor
3551
3572
  */
3552
3573
  defaultValue?: string;
3574
+ /**
3575
+ * Height of the variable dropdown
3576
+ */
3577
+ VariableDropdownHeight?: string;
3578
+ /**
3579
+ * Custom Monaco Editor options
3580
+ */
3581
+ customOptions?: any;
3553
3582
  }
3554
3583
  interface dropdownPositionType {
3555
3584
  top: number;
@@ -3920,6 +3949,10 @@ interface promptProp {
3920
3949
  tooltipTitle?: string;
3921
3950
  value: string;
3922
3951
  disableInput?: boolean;
3952
+ isAdditionalIcon?: boolean;
3953
+ additionalIconName?: string;
3954
+ onAdditionalIconClick?: () => void;
3955
+ additionIconToolTip?: string;
3923
3956
  onPromptChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
3924
3957
  onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
3925
3958
  onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
@@ -4787,6 +4820,10 @@ interface ConditionalDropdownProps {
4787
4820
  * List of variables
4788
4821
  */
4789
4822
  variableList?: dynamicObject$1[];
4823
+ /**
4824
+ * If true, adds 'FLV_for:' prefix to for loop variables in the dropdown and while searching.
4825
+ */
4826
+ addForloopPrefix?: boolean;
4790
4827
  /**
4791
4828
  * Place holder for the input field
4792
4829
  */
@@ -4893,6 +4930,8 @@ interface ConditionalDropdownProps {
4893
4930
  formProps?: Record<string, any>;
4894
4931
  readOnly?: boolean;
4895
4932
  height?: string;
4933
+ isTruncateText?: boolean;
4934
+ truncateTextValue?: number;
4896
4935
  }
4897
4936
 
4898
4937
  declare const ConditionalDropdown: React$1.ForwardRefExoticComponent<ConditionalDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
@@ -5304,6 +5343,8 @@ interface DataProps {
5304
5343
  [key: string]: any;
5305
5344
  }
5306
5345
  interface TableProps {
5346
+ onHighlightComplete?: () => void;
5347
+ highlightKey?: string | undefined | null;
5307
5348
  /**
5308
5349
  * Column details for table
5309
5350
  */
@@ -5600,4 +5641,11 @@ interface ScriptGenerationLoaderProps {
5600
5641
 
5601
5642
  declare const ScriptGenerationLoader: React__default.FC<ScriptGenerationLoaderProps>;
5602
5643
 
5603
- export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LineChart, LineLoader, Link, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NoDataContent, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, type RootNode$1 as RootNode, Row, SCRIPT_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, SessionDropdown, SessionManager, StateDropdown, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, type TreeNodeProps, TruncatedTooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, VariableSuggestionInputDropDown, WHITESPACE_REGEX, XML_FILE_TYPE_VALIDATION, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, clearStore, compareArrays, compareObjects, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, rearrangeDragItem, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateTreeState, useBeforeUnload, useClickOutside, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl };
5644
+ declare const useDeviceType: () => {
5645
+ isMobile: boolean;
5646
+ isTab: boolean;
5647
+ isLargeTab: boolean;
5648
+ isWeb: boolean;
5649
+ };
5650
+
5651
+ export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LineChart, LineLoader, Link, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NoDataContent, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, type RootNode$1 as RootNode, Row, SCRIPT_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, SessionDropdown, SessionManager, StateDropdown, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, type TreeNodeProps, TruncatedTooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, VariableSuggestionInputDropDown, WHITESPACE_REGEX, XML_FILE_TYPE_VALIDATION, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, clearStore, compareArrays, compareObjects, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, rearrangeDragItem, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateTreeState, useBeforeUnload, useClickOutside, useDeviceType, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl };
package/lib/index.js CHANGED
@@ -165,4 +165,5 @@ export { default as Janus } from './node_modules/janus-gateway/npm/dist/janus.es
165
165
  export { default as adapter } from './node_modules/webrtc-adapter/src/js/adapter_core.js';
166
166
  export { default as StepResultStats } from './components/StepsLandingTable/Components/StepResultStats.js';
167
167
  export { default as ScriptGenerationLoader } from './components/ScriptGenerationLoader/ScriptGenerationLoader.js';
168
+ export { useDeviceType } from './utils/useDeviceType/useDeviceType.js';
168
169
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,106 @@
1
+ import { getEventCoordinates } from '../../utilities/dist/utilities.esm.js';
2
+
3
+ function createSnapModifier(gridSize) {
4
+ return _ref => {
5
+ let {
6
+ transform
7
+ } = _ref;
8
+ return {
9
+ ...transform,
10
+ x: Math.ceil(transform.x / gridSize) * gridSize,
11
+ y: Math.ceil(transform.y / gridSize) * gridSize
12
+ };
13
+ };
14
+ }
15
+ const restrictToHorizontalAxis = _ref => {
16
+ let {
17
+ transform
18
+ } = _ref;
19
+ return {
20
+ ...transform,
21
+ y: 0
22
+ };
23
+ };
24
+ function restrictToBoundingRect(transform, rect, boundingRect) {
25
+ const value = {
26
+ ...transform
27
+ };
28
+ if (rect.top + transform.y <= boundingRect.top) {
29
+ value.y = boundingRect.top - rect.top;
30
+ } else if (rect.bottom + transform.y >= boundingRect.top + boundingRect.height) {
31
+ value.y = boundingRect.top + boundingRect.height - rect.bottom;
32
+ }
33
+ if (rect.left + transform.x <= boundingRect.left) {
34
+ value.x = boundingRect.left - rect.left;
35
+ } else if (rect.right + transform.x >= boundingRect.left + boundingRect.width) {
36
+ value.x = boundingRect.left + boundingRect.width - rect.right;
37
+ }
38
+ return value;
39
+ }
40
+ const restrictToParentElement = _ref => {
41
+ let {
42
+ containerNodeRect,
43
+ draggingNodeRect,
44
+ transform
45
+ } = _ref;
46
+ if (!draggingNodeRect || !containerNodeRect) {
47
+ return transform;
48
+ }
49
+ return restrictToBoundingRect(transform, draggingNodeRect, containerNodeRect);
50
+ };
51
+ const restrictToFirstScrollableAncestor = _ref => {
52
+ let {
53
+ draggingNodeRect,
54
+ transform,
55
+ scrollableAncestorRects
56
+ } = _ref;
57
+ const firstScrollableAncestorRect = scrollableAncestorRects[0];
58
+ if (!draggingNodeRect || !firstScrollableAncestorRect) {
59
+ return transform;
60
+ }
61
+ return restrictToBoundingRect(transform, draggingNodeRect, firstScrollableAncestorRect);
62
+ };
63
+ const restrictToVerticalAxis = _ref => {
64
+ let {
65
+ transform
66
+ } = _ref;
67
+ return {
68
+ ...transform,
69
+ x: 0
70
+ };
71
+ };
72
+ const restrictToWindowEdges = _ref => {
73
+ let {
74
+ transform,
75
+ draggingNodeRect,
76
+ windowRect
77
+ } = _ref;
78
+ if (!draggingNodeRect || !windowRect) {
79
+ return transform;
80
+ }
81
+ return restrictToBoundingRect(transform, draggingNodeRect, windowRect);
82
+ };
83
+ const snapCenterToCursor = _ref => {
84
+ let {
85
+ activatorEvent,
86
+ draggingNodeRect,
87
+ transform
88
+ } = _ref;
89
+ if (draggingNodeRect && activatorEvent) {
90
+ const activatorCoordinates = getEventCoordinates(activatorEvent);
91
+ if (!activatorCoordinates) {
92
+ return transform;
93
+ }
94
+ const offsetX = activatorCoordinates.x - draggingNodeRect.left;
95
+ const offsetY = activatorCoordinates.y - draggingNodeRect.top;
96
+ return {
97
+ ...transform,
98
+ x: transform.x + offsetX - draggingNodeRect.width / 2,
99
+ y: transform.y + offsetY - draggingNodeRect.height / 2
100
+ };
101
+ }
102
+ return transform;
103
+ };
104
+
105
+ export { createSnapModifier, restrictToFirstScrollableAncestor, restrictToHorizontalAxis, restrictToParentElement, restrictToVerticalAxis, restrictToWindowEdges, snapCenterToCursor };
106
+ //# sourceMappingURL=modifiers.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modifiers.esm.js","sources":["../../../../../node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js"],"sourcesContent":["import { getEventCoordinates } from '@dnd-kit/utilities';\n\nfunction createSnapModifier(gridSize) {\n return _ref => {\n let {\n transform\n } = _ref;\n return { ...transform,\n x: Math.ceil(transform.x / gridSize) * gridSize,\n y: Math.ceil(transform.y / gridSize) * gridSize\n };\n };\n}\n\nconst restrictToHorizontalAxis = _ref => {\n let {\n transform\n } = _ref;\n return { ...transform,\n y: 0\n };\n};\n\nfunction restrictToBoundingRect(transform, rect, boundingRect) {\n const value = { ...transform\n };\n\n if (rect.top + transform.y <= boundingRect.top) {\n value.y = boundingRect.top - rect.top;\n } else if (rect.bottom + transform.y >= boundingRect.top + boundingRect.height) {\n value.y = boundingRect.top + boundingRect.height - rect.bottom;\n }\n\n if (rect.left + transform.x <= boundingRect.left) {\n value.x = boundingRect.left - rect.left;\n } else if (rect.right + transform.x >= boundingRect.left + boundingRect.width) {\n value.x = boundingRect.left + boundingRect.width - rect.right;\n }\n\n return value;\n}\n\nconst restrictToParentElement = _ref => {\n let {\n containerNodeRect,\n draggingNodeRect,\n transform\n } = _ref;\n\n if (!draggingNodeRect || !containerNodeRect) {\n return transform;\n }\n\n return restrictToBoundingRect(transform, draggingNodeRect, containerNodeRect);\n};\n\nconst restrictToFirstScrollableAncestor = _ref => {\n let {\n draggingNodeRect,\n transform,\n scrollableAncestorRects\n } = _ref;\n const firstScrollableAncestorRect = scrollableAncestorRects[0];\n\n if (!draggingNodeRect || !firstScrollableAncestorRect) {\n return transform;\n }\n\n return restrictToBoundingRect(transform, draggingNodeRect, firstScrollableAncestorRect);\n};\n\nconst restrictToVerticalAxis = _ref => {\n let {\n transform\n } = _ref;\n return { ...transform,\n x: 0\n };\n};\n\nconst restrictToWindowEdges = _ref => {\n let {\n transform,\n draggingNodeRect,\n windowRect\n } = _ref;\n\n if (!draggingNodeRect || !windowRect) {\n return transform;\n }\n\n return restrictToBoundingRect(transform, draggingNodeRect, windowRect);\n};\n\nconst snapCenterToCursor = _ref => {\n let {\n activatorEvent,\n draggingNodeRect,\n transform\n } = _ref;\n\n if (draggingNodeRect && activatorEvent) {\n const activatorCoordinates = getEventCoordinates(activatorEvent);\n\n if (!activatorCoordinates) {\n return transform;\n }\n\n const offsetX = activatorCoordinates.x - draggingNodeRect.left;\n const offsetY = activatorCoordinates.y - draggingNodeRect.top;\n return { ...transform,\n x: transform.x + offsetX - draggingNodeRect.width / 2,\n y: transform.y + offsetY - draggingNodeRect.height / 2\n };\n }\n\n return transform;\n};\n\nexport { createSnapModifier, restrictToFirstScrollableAncestor, restrictToHorizontalAxis, restrictToParentElement, restrictToVerticalAxis, restrictToWindowEdges, snapCenterToCursor };\n//# sourceMappingURL=modifiers.esm.js.map\n"],"names":["createSnapModifier","gridSize","_ref","transform","x","Math","ceil","y"],"mappings":";;AAEgBA,SAAAA,kBAAAA,CAAmBC,QAAA,EAAA;AACjC,EAAA,OAAOC,IAAA,IAAA;IAAA,IAAC;AAACC,MAAAA;AAAF,KAAA,GAAAD,IAAA;IAAA,OAAkB;AACvB,MAAA,GAAGC,SADoB;MAEvBC,CAAC,EAAEC,IAAI,CAACC,IAAL,CAAUH,SAAS,CAACC,CAAV,GAAcH,QAAxB,CAAA,GAAoCA,QAFhB;MAGvBM,CAAC,EAAEF,IAAI,CAACC,IAAL,CAAUH,SAAS,CAACI,CAAV,GAAcN,QAAxB,CAAoCA,GAAAA;AAHlC,KAAA;AAAP,GAAA;AAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { __module as css } from '../../../../../_virtual/index11.js';
1
+ import { __module as css } 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 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 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/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/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 */