pixel-react 1.13.48 → 1.13.49
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/StyleGuide/ColorPalette/colorPaletteList.js +5 -0
- package/lib/StyleGuide/ColorPalette/colorPaletteList.js.map +1 -1
- package/lib/_virtual/index10.js +2 -2
- package/lib/_virtual/index11.js +2 -2
- package/lib/_virtual/index9.js +2 -2
- package/lib/components/AttachmentButton/AttachmentButton.js +4 -2
- package/lib/components/AttachmentButton/AttachmentButton.js.map +1 -1
- package/lib/components/AttachmentButton/types.d.ts +1 -0
- package/lib/components/EditLabel/EditLabel.js +11 -2
- package/lib/components/EditLabel/EditLabel.js.map +1 -1
- package/lib/components/PrePostTable/PrePostTable.js +2 -1
- package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
- package/lib/components/Search/Search.js +3 -0
- package/lib/components/Search/Search.js.map +1 -1
- package/lib/components/Select/Select.js +17 -2
- package/lib/components/Select/Select.js.map +1 -1
- package/lib/components/Select/components/Dropdown.js +7 -13
- package/lib/components/Select/components/Dropdown.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +2 -1
- package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
- package/lib/index.cjs +53 -30
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
- package/lib/styles.css +1 -1
- package/lib/styles.css.map +1 -1
- package/lib/validations/regex.d.ts +2 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StepTableMainRow.js","sources":["../../../../src/components/StepsLandingTable/Components/StepTableMainRow.tsx"],"sourcesContent":[null],"names":["StepTableMainRow","row","columns","tableBodyRowClass","handleOnclick","tableDataTextColor","withCheckbox","onSelectClick","draggable","indexNumber","tableType","viewModeId","ViewComponent","handleClick","selectedRows","handleStepGroupExpand","isStepGroupExpanded","dataLength","stepPartialSelect","isViewPrivilegeMode","isDisabled","useMemo","isSpecialNlp","serialNumber","toString","attributes","listeners","setNodeRef","transform","transition","useSortable","id","_id","stepId","disabled","style","CSS","Transform","key","getPadding","index","includes","type","renderDragHandle","_jsx","className","Icon","name","renderCheckbox","has","children","Checkbox","onChange","e","target","checked","partial","renderGroupToggle","color","width","height","onClick","_jsxs","_Fragment","ref","classNames","map","column","padding","maxWidth","Typography","as","marginLeft","prepareData","extraInfo","accessor","ffid","StepGroupAccordions","data","stepResults","columnCount","length","level","memo"],"mappings":";;;;;;;;;;;;AAYA,MAAMA,gBAAgB,GAAyBA,CAAC;EAC9CC,GAAG;EACHC,OAAO;EACPC,iBAAiB;EACjBC,aAAa;EACbC,kBAAkB;EAClBC,YAAY;EACZC,aAAa;EACbC,SAAS;AACTC,EAAAA,WAAW,GAAG,CAAC;AACfC,EAAAA,SAAS,GAAG,EAAE;EACdC,UAAU;EACVC,aAAa;EACbC,WAAW;EACXC,YAAY;EACZC,qBAAqB;EACrBC,mBAAmB;EACnBC,UAAU;EACVC,iBAAiB;AACjBC,EAAAA;AACD,CAAA,KAAI;EACH,MAAMC,UAAU,GAAGC,OAAO,CACxB,MAAMpB,GAAG,EAAEmB,UAAU,IAAI,CAACH,UAAU,IAAI,CAAC,KAAK,CAAC,IAAIhB,GAAG,CAACqB,YAAY,EACnE,CAACrB,GAAG,EAAEgB,UAAU,CAAC,CAClB;EACD,IAAIM,YAAY,GAAG,CAACd,WAAW,GAAG,CAAC,EAAEe,QAAQ,EAAE;EAC/C,MAAM;IAAEC,UAAU;IAAEC,SAAS;IAAEC,UAAU;IAAEC,SAAS;AAAEC,IAAAA;GAAY,GAChEC,WAAW,CAAC;AACVC,IAAAA,EAAE,EAAE9B,GAAG,EAAE+B,GAAG,IAAI/B,GAAG,EAAEgC,MAAM;AAC3BC,IAAAA,QAAQ,EAAEd;AACX,GAAA,CAAC;AAEJ,EAAA,MAAMe,KAAK,GAAGd,OAAO,CACnB,OAAO;IACLO,SAAS,EAAEQ,GAAG,CAACC,SAAS,CAACb,QAAQ,CAACI,SAAS,CAAC;AAC5CC,IAAAA;AACD,GAAA,CAAC,EACF,CAACD,SAAS,EAAEC,UAAU,CAAC,CACxB;EACD,MAAMS,GAAG,GAAGrC,GAAG,
|
1
|
+
{"version":3,"file":"StepTableMainRow.js","sources":["../../../../src/components/StepsLandingTable/Components/StepTableMainRow.tsx"],"sourcesContent":[null],"names":["StepTableMainRow","row","columns","tableBodyRowClass","handleOnclick","tableDataTextColor","withCheckbox","onSelectClick","draggable","indexNumber","tableType","viewModeId","ViewComponent","handleClick","selectedRows","handleStepGroupExpand","isStepGroupExpanded","dataLength","stepPartialSelect","isViewPrivilegeMode","isDisabled","useMemo","isSpecialNlp","serialNumber","toString","attributes","listeners","setNodeRef","transform","transition","useSortable","id","_id","stepId","disabled","style","CSS","Transform","key","getPadding","index","includes","type","renderDragHandle","_jsx","className","Icon","name","renderCheckbox","has","children","Checkbox","onChange","e","target","checked","partial","renderGroupToggle","color","width","height","onClick","_jsxs","_Fragment","ref","classNames","map","column","padding","maxWidth","Typography","as","marginLeft","prepareData","extraInfo","accessor","ffid","StepGroupAccordions","data","stepResults","columnCount","length","level","memo"],"mappings":";;;;;;;;;;;;AAYA,MAAMA,gBAAgB,GAAyBA,CAAC;EAC9CC,GAAG;EACHC,OAAO;EACPC,iBAAiB;EACjBC,aAAa;EACbC,kBAAkB;EAClBC,YAAY;EACZC,aAAa;EACbC,SAAS;AACTC,EAAAA,WAAW,GAAG,CAAC;AACfC,EAAAA,S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MAAAA,UAAU,EAAEA,UAAU;AACtBC,MAAAA,aAAa,EAAEA,aAAa;AAC5BC,MAAAA,WAAW,EAAEA,WAAW;AACxBH,MAAAA,SAAS,EAAEA,SAAS;AACpBK,MAAAA,qBAAqB,EAAEA,qBAAqB;AAC5CC,MAAAA,mBAAmB,EAAEA,mBAAmB;MACxCkE,KAAK,EAAEjF,GAAG,EAAEuE,UAAU;AACtBrD,MAAAA,mBAAmB,EAAEA,mBAAmB;AACxCjB,MAAAA,OAAO,EAAEA;AAAO,KAAA,CAEnB;AAAA,GAAA,CACA;AAEP,CAAC;AAED,yBAAeiF,aAAAA,IAAI,CAACnF,gBAAgB,CAAC;;;;"}
|
package/lib/index.cjs
CHANGED
@@ -3925,6 +3925,17 @@ const dropdownDefaultCSSData = {
|
|
3925
3925
|
dropDownWrapperPadding: 0
|
3926
3926
|
};
|
3927
3927
|
|
3928
|
+
const TruncatedTooltip = ({
|
3929
|
+
title,
|
3930
|
+
width
|
3931
|
+
}) => {
|
3932
|
+
const isTruncated = isTextTruncated(title, width, 'pixel');
|
3933
|
+
return jsxRuntime.jsx(Tooltip, {
|
3934
|
+
title: isTruncated ? title : '',
|
3935
|
+
children: truncateText(title, width, 'pixel')
|
3936
|
+
});
|
3937
|
+
};
|
3938
|
+
|
3928
3939
|
const Dropdown$1 = /*#__PURE__*/React.forwardRef(({
|
3929
3940
|
options = [],
|
3930
3941
|
optionZIndex = 10000000,
|
@@ -3938,7 +3949,6 @@ const Dropdown$1 = /*#__PURE__*/React.forwardRef(({
|
|
3938
3949
|
selectedOption,
|
3939
3950
|
valueAccessor,
|
3940
3951
|
showIcon = false,
|
3941
|
-
showToolTip = false,
|
3942
3952
|
customReccurenece = true,
|
3943
3953
|
onCancelModal = () => {},
|
3944
3954
|
onSaveModal = () => {},
|
@@ -3997,16 +4007,8 @@ const Dropdown$1 = /*#__PURE__*/React.forwardRef(({
|
|
3997
4007
|
if (/*#__PURE__*/React.isValidElement(label)) {
|
3998
4008
|
return label;
|
3999
4009
|
}
|
4000
|
-
return jsxRuntime.jsxs(
|
4001
|
-
|
4002
|
-
title: showToolTip ? label : '',
|
4003
|
-
zIndex: optionZIndex + 1,
|
4004
|
-
style: {
|
4005
|
-
width: '100%',
|
4006
|
-
height: '32px',
|
4007
|
-
display: 'flex',
|
4008
|
-
alignItems: 'center'
|
4009
|
-
},
|
4010
|
+
return jsxRuntime.jsxs("div", {
|
4011
|
+
className: "ff-select-dropdown-option-wrapper",
|
4010
4012
|
children: [showIcon && jsxRuntime.jsx(Icon, {
|
4011
4013
|
name: icon,
|
4012
4014
|
className: "ff-select-dropdown__icon"
|
@@ -4017,7 +4019,10 @@ const Dropdown$1 = /*#__PURE__*/React.forwardRef(({
|
|
4017
4019
|
className: classNames('ff-select-dropdown-text', {
|
4018
4020
|
'ff-select-dropdown-icon-container': showIcon
|
4019
4021
|
}),
|
4020
|
-
children:
|
4022
|
+
children: jsxRuntime.jsx(TruncatedTooltip, {
|
4023
|
+
title: label,
|
4024
|
+
width: updateDropdownPosition()?.width
|
4025
|
+
})
|
4021
4026
|
})]
|
4022
4027
|
});
|
4023
4028
|
};
|
@@ -4247,6 +4252,7 @@ const Select$1 = ({
|
|
4247
4252
|
searchedText: getValue$1(selectedOption, valueAccessor) || '',
|
4248
4253
|
searchedIcon: selectedOption.iconName || ''
|
4249
4254
|
});
|
4255
|
+
inputRef?.current?.blur();
|
4250
4256
|
setSelectOptionList(optionsList);
|
4251
4257
|
setCustomRecurrence(false);
|
4252
4258
|
onBlur();
|
@@ -4267,21 +4273,35 @@ const Select$1 = ({
|
|
4267
4273
|
}
|
4268
4274
|
};
|
4269
4275
|
const handleResizeOrScroll = () => onSelectUpdatePosition();
|
4276
|
+
const getScrollParent = element => {
|
4277
|
+
if (!element) return null;
|
4278
|
+
let parent = element.parentElement;
|
4279
|
+
while (parent) {
|
4280
|
+
const overflowY = window.getComputedStyle(parent).overflowY;
|
4281
|
+
if (overflowY === 'auto' || overflowY === 'scroll') {
|
4282
|
+
return parent;
|
4283
|
+
}
|
4284
|
+
parent = parent.parentElement;
|
4285
|
+
}
|
4286
|
+
return document.body;
|
4287
|
+
};
|
4270
4288
|
const hideShowScrollbar = () => {
|
4271
4289
|
if (disabled) return;
|
4272
4290
|
if (showDropdownOptions && optionsRequired) {
|
4273
4291
|
onSelectToggleScroll(!showDropdownOptions);
|
4274
4292
|
}
|
4275
4293
|
onSelectUpdatePosition();
|
4294
|
+
const scrollableParent = getScrollParent(inputRef.current);
|
4276
4295
|
window.addEventListener('resize', handleResizeOrScroll);
|
4277
|
-
|
4296
|
+
scrollableParent?.addEventListener('scroll', onSelectBlur);
|
4278
4297
|
};
|
4279
4298
|
React.useEffect(() => {
|
4280
4299
|
hideShowScrollbar();
|
4300
|
+
const scrollableParent = getScrollParent(inputRef.current);
|
4281
4301
|
return () => {
|
4282
4302
|
onSelectToggleScroll(true);
|
4283
4303
|
window.removeEventListener('resize', handleResizeOrScroll);
|
4284
|
-
|
4304
|
+
scrollableParent?.removeEventListener('scroll', onSelectBlur);
|
4285
4305
|
};
|
4286
4306
|
}, [showDropdownOptions]);
|
4287
4307
|
React.useEffect(() => {
|
@@ -12850,17 +12870,6 @@ var LazyLoad = /*#__PURE__*/Object.freeze({
|
|
12850
12870
|
shouldComponentUpdate: shouldComponentUpdate
|
12851
12871
|
});
|
12852
12872
|
|
12853
|
-
const TruncatedTooltip = ({
|
12854
|
-
title,
|
12855
|
-
width
|
12856
|
-
}) => {
|
12857
|
-
const isTruncated = isTextTruncated(title, width, 'pixel');
|
12858
|
-
return jsxRuntime.jsx(Tooltip, {
|
12859
|
-
title: isTruncated ? title : '',
|
12860
|
-
children: truncateText(title, width, 'pixel')
|
12861
|
-
});
|
12862
|
-
};
|
12863
|
-
|
12864
12873
|
const useTheme = () => {
|
12865
12874
|
const context = React.useContext(ThemeContext);
|
12866
12875
|
if (context === undefined) {
|
@@ -16481,6 +16490,15 @@ const EditLabel = ({
|
|
16481
16490
|
[key]: !prev[key]
|
16482
16491
|
}));
|
16483
16492
|
};
|
16493
|
+
const getTooltipTitle = () => {
|
16494
|
+
if (tooltip?.tooltipTitle) {
|
16495
|
+
return tooltip.tooltipTitle;
|
16496
|
+
} else if (isTextTruncated(text, truncatedTextCount, truncatedType)) {
|
16497
|
+
return text;
|
16498
|
+
} else {
|
16499
|
+
return '';
|
16500
|
+
}
|
16501
|
+
};
|
16484
16502
|
React.useEffect(() => {
|
16485
16503
|
if (value) {
|
16486
16504
|
setText(value);
|
@@ -16590,7 +16608,7 @@ const EditLabel = ({
|
|
16590
16608
|
})]
|
16591
16609
|
})]
|
16592
16610
|
}) : jsxRuntime.jsx(Tooltip, {
|
16593
|
-
title:
|
16611
|
+
title: getTooltipTitle(),
|
16594
16612
|
placement: tooltip?.tooltipPlacement ?? 'bottom',
|
16595
16613
|
children: jsxRuntime.jsx("span", {
|
16596
16614
|
className: 'ff-add-module-display-text',
|
@@ -17520,6 +17538,9 @@ const Search = ({
|
|
17520
17538
|
showClose: !showClose
|
17521
17539
|
}),
|
17522
17540
|
onClick: () => handleSearchClearAndClose('Clear'),
|
17541
|
+
style: searchValue ? {
|
17542
|
+
cursor: 'pointer'
|
17543
|
+
} : {},
|
17523
17544
|
children: searchValue !== '' && jsxRuntime.jsx(Typography, {
|
17524
17545
|
children: 'Clear',
|
17525
17546
|
fontSize: 8,
|
@@ -34414,7 +34435,8 @@ const AttachmentButton = ({
|
|
34414
34435
|
attachmentInfoTooltip = '',
|
34415
34436
|
selectedFileMessage = 'This file is already selected',
|
34416
34437
|
required = false,
|
34417
|
-
errorMessage
|
34438
|
+
errorMessage,
|
34439
|
+
truncateMaxLimit = Infinity
|
34418
34440
|
}) => {
|
34419
34441
|
const fileInputRef = React.useRef(null);
|
34420
34442
|
const [fileError, setFileError] = React.useState('');
|
@@ -34527,7 +34549,7 @@ const AttachmentButton = ({
|
|
34527
34549
|
onClick: onFileListClick,
|
34528
34550
|
children: [jsxRuntime.jsx(Typography, {
|
34529
34551
|
color: "var(--brand-color)",
|
34530
|
-
children: file.name
|
34552
|
+
children: truncateText(file.name, truncateMaxLimit, 'pixel')
|
34531
34553
|
}), deleteButton && jsxRuntime.jsx(Tooltip, {
|
34532
34554
|
title: "Delete",
|
34533
34555
|
children: jsxRuntime.jsx(Icon, {
|
@@ -73262,7 +73284,7 @@ const PrePostTable = ({
|
|
73262
73284
|
id: "ff-table-last-node"
|
73263
73285
|
})]
|
73264
73286
|
})]
|
73265
|
-
}), data
|
73287
|
+
}), checkEmpty(data) && checkEmpty(AddNlp) && jsxRuntime.jsx("div", {
|
73266
73288
|
className: "ff-no-data-content",
|
73267
73289
|
style: {
|
73268
73290
|
height: `calc(${height} - 50px)`
|
@@ -73401,7 +73423,7 @@ const StepTableMainRow = ({
|
|
73401
73423
|
transform: CSS.Transform.toString(transform),
|
73402
73424
|
transition
|
73403
73425
|
}), [transform, transition]);
|
73404
|
-
const key = row
|
73426
|
+
const key = row?._id || row?.stepId;
|
73405
73427
|
const getPadding = index => {
|
73406
73428
|
if (isViewPrivilegeMode) {
|
73407
73429
|
if (['Group', 'PRE', 'POST', 'Script'].includes(row.type) && index === 0) {
|
@@ -73457,6 +73479,7 @@ const StepTableMainRow = ({
|
|
73457
73479
|
className: classNames(tableBodyRowClass, {
|
73458
73480
|
'disabled-inner-row': isDisabled
|
73459
73481
|
}),
|
73482
|
+
id: key,
|
73460
73483
|
children: columns?.map((column, index) => {
|
73461
73484
|
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
73462
73485
|
children: jsxRuntime.jsx("td", {
|