pixel-priya 1.3.33 → 1.3.35
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.
- package/lib/ComponentProps/TreeNodeProps.d.ts +12 -0
- package/lib/StyleGuide/ColorPalette/colorPaletteList.js +5 -0
- package/lib/StyleGuide/ColorPalette/colorPaletteList.js.map +1 -1
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js +61 -3
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js.map +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js +49 -38
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib/components/Charts/StackedBarChart/types.d.ts +3 -1
- package/lib/components/ConditionalDropdown/ConditionalDropdown.js +2 -1
- package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
- package/lib/components/ConditionalDropdown/OptionsDropdown.d.ts +1 -1
- package/lib/components/ConditionalDropdown/OptionsDropdown.js +13 -3
- package/lib/components/ConditionalDropdown/OptionsDropdown.js.map +1 -1
- package/lib/components/ConditionalDropdown/types.d.ts +1 -0
- package/lib/components/MultiSelect/Dropdown.js +1 -1
- package/lib/components/MultiSelect/Dropdown.js.map +1 -1
- package/lib/components/MultiSelect/MultiSelect.js +3 -4
- package/lib/components/MultiSelect/MultiSelect.js.map +1 -1
- package/lib/components/NoResultFound/NoResultFound.d.ts +1 -0
- package/lib/components/NoResultFound/NoResultFound.js +1 -1
- package/lib/components/NoResultFound/NoResultFound.js.map +1 -1
- package/lib/components/OverviewModal/overviewModal.js +64 -16
- package/lib/components/OverviewModal/overviewModal.js.map +1 -1
- package/lib/components/OverviewModal/types.d.ts +27 -26
- package/lib/components/StepsLandingTable/Components/StepInnerTable.js +74 -32
- package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
- package/lib/components/StepsLandingTable/StepLandingTable.js +1 -1
- package/lib/components/Table/Table.js +1 -3
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Table/Types.d.ts +0 -6
- package/lib/components/Table/components/SortableRow.js +2 -10
- package/lib/components/Table/components/SortableRow.js.map +1 -1
- package/lib/components/TableTreeFn/Components/TableHead.js +1 -1
- package/lib/components/TableTreeFn/Components/TableHead.js.map +1 -1
- package/lib/components/TableTreeFn/TableTreeFn.js +23 -25
- package/lib/components/TableTreeFn/TableTreeFn.js.map +1 -1
- package/lib/index.d.ts +53 -29
- package/lib/index.js +10 -10
- package/lib/index.js.map +1 -1
- package/lib/styles.css +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/computeTreeCountsAndFormatNodes/computeTreeCountsAndFormatNodes.d.ts +8 -0
- package/lib/utils/computeTreeCountsAndFormatNodes/computeTreeCountsAndFormatNodes.js +263 -0
- package/lib/utils/computeTreeCountsAndFormatNodes/computeTreeCountsAndFormatNodes.js.map +1 -0
- package/lib/utils/validateFileContent/validateFileContent.d.ts +1 -0
- package/lib/utils/validateFileContent/validateFileContent.js +297 -0
- package/lib/utils/validateFileContent/validateFileContent.js.map +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, FC, RefObject, LegacyRef, CSSProperties, ReactElement, Ref, ComponentProps, Component, ErrorInfo } from 'react';
|
|
2
|
+
import React__default, { ReactNode, FC, RefObject, LegacyRef, CSSProperties, ReactElement, Ref, ComponentProps, Component, ErrorInfo, Dispatch } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as LazyLoad from 'react-window';
|
|
5
5
|
export { LazyLoad };
|
|
@@ -2187,41 +2187,42 @@ interface OverviewModalProps {
|
|
|
2187
2187
|
onMaximizeToggle?: () => void;
|
|
2188
2188
|
showHeader: boolean;
|
|
2189
2189
|
top?: string;
|
|
2190
|
+
isIframe?: boolean;
|
|
2190
2191
|
overlay?: boolean;
|
|
2191
2192
|
downloadHandler: () => void;
|
|
2192
2193
|
zIndex?: number;
|
|
2193
2194
|
customStyle?: React.CSSProperties;
|
|
2194
2195
|
multiData?: Array<{
|
|
2195
|
-
machineName
|
|
2196
|
-
scriptName
|
|
2197
|
-
icon
|
|
2196
|
+
machineName?: string;
|
|
2197
|
+
scriptName?: string;
|
|
2198
|
+
icon?: string;
|
|
2198
2199
|
src: string;
|
|
2199
|
-
alt
|
|
2200
|
-
runId
|
|
2201
|
-
currentScripts
|
|
2202
|
-
totalScripts
|
|
2200
|
+
alt?: string;
|
|
2201
|
+
runId?: string;
|
|
2202
|
+
currentScripts?: number;
|
|
2203
|
+
totalScripts?: number;
|
|
2203
2204
|
}>;
|
|
2204
2205
|
setSelectedVideo?: (video: {
|
|
2205
|
-
currentVideoData
|
|
2206
|
-
machineName
|
|
2207
|
-
scriptName
|
|
2208
|
-
icon
|
|
2209
|
-
src
|
|
2210
|
-
alt
|
|
2211
|
-
runId
|
|
2212
|
-
currentScripts
|
|
2213
|
-
totalScripts
|
|
2214
|
-
clickedAt
|
|
2206
|
+
currentVideoData?: {
|
|
2207
|
+
machineName?: string;
|
|
2208
|
+
scriptName?: string;
|
|
2209
|
+
icon?: string;
|
|
2210
|
+
src?: string;
|
|
2211
|
+
alt?: string;
|
|
2212
|
+
runId?: string;
|
|
2213
|
+
currentScripts?: number;
|
|
2214
|
+
totalScripts?: number;
|
|
2215
|
+
clickedAt?: number;
|
|
2215
2216
|
};
|
|
2216
|
-
allVideoData
|
|
2217
|
-
machineName
|
|
2218
|
-
scriptName
|
|
2219
|
-
icon
|
|
2220
|
-
src
|
|
2221
|
-
alt
|
|
2222
|
-
runId
|
|
2223
|
-
currentScripts
|
|
2224
|
-
totalScripts
|
|
2217
|
+
allVideoData?: Array<{
|
|
2218
|
+
machineName?: string;
|
|
2219
|
+
scriptName?: string;
|
|
2220
|
+
icon?: string;
|
|
2221
|
+
src?: string;
|
|
2222
|
+
alt?: string;
|
|
2223
|
+
runId?: string;
|
|
2224
|
+
currentScripts?: number;
|
|
2225
|
+
totalScripts?: number;
|
|
2225
2226
|
}>;
|
|
2226
2227
|
}) => void;
|
|
2227
2228
|
}
|
|
@@ -2311,6 +2312,18 @@ type TreeNodeProps = {
|
|
|
2311
2312
|
includeIteration?: boolean;
|
|
2312
2313
|
totalConditionCount?: number;
|
|
2313
2314
|
reRunStep?: boolean;
|
|
2315
|
+
liveURL?: string;
|
|
2316
|
+
isRunning?: boolean;
|
|
2317
|
+
deviceInfo?: {
|
|
2318
|
+
name?: string;
|
|
2319
|
+
brand?: string;
|
|
2320
|
+
platform?: string;
|
|
2321
|
+
version?: string;
|
|
2322
|
+
appName?: string;
|
|
2323
|
+
appId?: string;
|
|
2324
|
+
type?: string;
|
|
2325
|
+
subType?: string;
|
|
2326
|
+
};
|
|
2314
2327
|
};
|
|
2315
2328
|
|
|
2316
2329
|
interface NewNode$1 {
|
|
@@ -4695,6 +4708,7 @@ type NoDataProps = {
|
|
|
4695
4708
|
iconWidth?: number;
|
|
4696
4709
|
iconHeight?: number;
|
|
4697
4710
|
fontWeight?: 'semi-bold' | 'bold' | 'regular' | 'medium' | undefined;
|
|
4711
|
+
marginTop?: string;
|
|
4698
4712
|
};
|
|
4699
4713
|
declare const NoResultFound: FC<NoDataProps>;
|
|
4700
4714
|
|
|
@@ -4798,7 +4812,8 @@ type StackedBarSegment = {
|
|
|
4798
4812
|
key: string;
|
|
4799
4813
|
value: number;
|
|
4800
4814
|
color: string;
|
|
4801
|
-
data?: DynamicObj;
|
|
4815
|
+
data?: DynamicObj | any;
|
|
4816
|
+
uniqueId?: string | any;
|
|
4802
4817
|
};
|
|
4803
4818
|
type StackedBarDataItem = {
|
|
4804
4819
|
label: string;
|
|
@@ -4819,6 +4834,7 @@ type StackedBarChartProps = {
|
|
|
4819
4834
|
showXAxisLabels?: boolean;
|
|
4820
4835
|
isTruncateText?: boolean;
|
|
4821
4836
|
isOnclick?: boolean;
|
|
4837
|
+
isYaxisSticky?: boolean;
|
|
4822
4838
|
onSelectedBar?: (colData: {
|
|
4823
4839
|
label: string;
|
|
4824
4840
|
segments: StackedBarSegment[];
|
|
@@ -5882,6 +5898,12 @@ declare const AutoTruncateText: React$1.MemoExoticComponent<({ children, classNa
|
|
|
5882
5898
|
|
|
5883
5899
|
declare const cleanAllTooltips: () => void;
|
|
5884
5900
|
|
|
5901
|
+
declare const computeTreeCountsAndFormatNodes: (treeData: TreeNodeProps[], timezone?: string) => TreeNodeProps[];
|
|
5902
|
+
declare const updateSearchTree: (searchValues: DynamicObj$1, treeDataList: TreeNodeProps[], dispatch: Dispatch<any>, setSearchedTree: (data: any) => void, setSearchedRootModule: (data: any) => void) => void;
|
|
5903
|
+
declare const passesFilters: (facetQueries: DynamicObj$1[], response: DynamicObj$1) => boolean;
|
|
5904
|
+
declare const restoreSelectedFilters: (urlFilters: DynamicObj$1[], setSelectedFilters: (filters: string[]) => void, setModifiedOnState: (filters: DynamicObj$1) => void, setInitialFilterData: (filters: string[]) => void, setInitialModifiedOnState: (filters: DynamicObj$1) => void) => void;
|
|
5905
|
+
declare const getFiltersFromUrl: (params: URLSearchParams) => DynamicObj$1[];
|
|
5906
|
+
|
|
5885
5907
|
declare const EMAIL_REGEX: RegExp;
|
|
5886
5908
|
declare const URL_REGEX: RegExp;
|
|
5887
5909
|
declare const PHONE_REGEX: RegExp;
|
|
@@ -6024,5 +6046,7 @@ interface StorageUsageBarProps {
|
|
|
6024
6046
|
|
|
6025
6047
|
declare const StorageUsageBar: React.FC<StorageUsageBarProps>;
|
|
6026
6048
|
|
|
6027
|
-
|
|
6049
|
+
declare const validateFileContent: (file: File) => Promise<boolean>;
|
|
6050
|
+
|
|
6051
|
+
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, AutoTruncateText, 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_FORMAT_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILENAME_VALIDATION_REGEX, 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, INVALID_EMAIL_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LayoutWithDrawer, LineChart, LineLoader, Link, Loader, 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, NO_LEADING_TRAILING_SPACE_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NetworkErrorBoundary, NoDataAvailable, NoDataContent, NoResultFound, 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, Row, SCRIPT_REGEX, SERVER_HOST_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SelectionSwitcher, SequentialConnectingBranch, SessionDropdown, SessionManager, StackedBarChart, StateDropdown, StatusBadge, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, StorageUsageBar, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, TooltipService, 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, ZoomControl, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, cleanAllTooltips, clearStore, compareArrays, compareObjects, computeTreeCountsAndFormatNodes, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, copyToClipboard, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getFiltersFromUrl, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, passesFilters, rearrangeDragItem, restoreSelectedFilters, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateSearchTree, updateTreeState, useBeforeUnload, useClickOutside, useDeviceType, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl, validateFileContent };
|
|
6028
6052
|
export type { RootNode$1 as RootNode, TreeNodeProps };
|