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.
- package/lib/ComponentProps/TreeNodeProps.d.ts +1 -0
- package/lib/_virtual/index10.js +2 -2
- package/lib/_virtual/index11.js +2 -2
- package/lib/_virtual/index9.js +2 -2
- package/lib/assets/icons/fia_ai_icon.svg.js +846 -0
- package/lib/assets/icons/fia_ai_icon.svg.js.map +1 -0
- package/lib/assets/icons/mac_white_icon.svg.js +6 -0
- package/lib/assets/icons/mac_white_icon.svg.js.map +1 -0
- package/lib/assets/icons/maximize_livetesting.svg.js +6 -0
- package/lib/assets/icons/maximize_livetesting.svg.js.map +1 -0
- package/lib/assets/icons/minimize_tree.svg.js +6 -0
- package/lib/assets/icons/minimize_tree.svg.js.map +1 -0
- package/lib/assets/icons/timer_icon.svg.js +6 -0
- package/lib/assets/icons/timer_icon.svg.js.map +1 -0
- package/lib/assets/icons/view_access_icon.svg.js +1 -1
- package/lib/assets/icons/view_access_icon.svg.js.map +1 -1
- package/lib/assets/icons/windows_blue_icon.svg.js +6 -0
- package/lib/assets/icons/windows_blue_icon.svg.js.map +1 -0
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js +53 -13
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js.map +1 -1
- package/lib/components/AppHeader/AppHeader.js +37 -4
- package/lib/components/AppHeader/AppHeader.js.map +1 -1
- package/lib/components/AppHeader/types.d.ts +11 -0
- package/lib/components/Comments/childComment/ChildComment.js +6 -6
- package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
- package/lib/components/ConditionalDropdown/ConditionalDropdown.js +17 -5
- package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
- package/lib/components/ConditionalDropdown/OptionsDropdown.js +16 -6
- package/lib/components/ConditionalDropdown/OptionsDropdown.js.map +1 -1
- package/lib/components/ConditionalDropdown/types.d.ts +12 -0
- package/lib/components/CreateVariable/CreateVariableSlider.js +3 -2
- package/lib/components/CreateVariable/CreateVariableSlider.js.map +1 -1
- package/lib/components/CreateVariable/types.d.ts +3 -2
- package/lib/components/DragAndDrop/DragAndDrop.d.ts +2 -0
- package/lib/components/DragAndDrop/DragAndDrop.js +3 -1
- package/lib/components/DragAndDrop/DragAndDrop.js.map +1 -1
- package/lib/components/Drawer/Drawer.js +7 -4
- package/lib/components/Drawer/Drawer.js.map +1 -1
- package/lib/components/EditLabel/EditLabel.js +2 -2
- package/lib/components/EditLabel/EditLabel.js.map +1 -1
- package/lib/components/Editor/Editor.js +12 -5
- package/lib/components/Editor/Editor.js.map +1 -1
- package/lib/components/Editor/VariableDropdown.js +7 -7
- package/lib/components/Editor/VariableDropdown.js.map +1 -1
- package/lib/components/Editor/types.d.ts +12 -0
- package/lib/components/Excel/Data.d.ts +8 -0
- package/lib/components/Excel/Data.js +48 -6
- package/lib/components/Excel/Data.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +28 -14
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js +8 -2
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +44 -20
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.d.ts +0 -3
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js +4 -8
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js +45 -2
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.js +5 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +11 -10
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.d.ts +0 -3
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js +5 -9
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +160 -189
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js +9 -13
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +17 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js +21 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/index.js +1 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/index.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +400 -54
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +3 -5
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.d.ts +10 -18
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js +157 -64
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js.map +1 -1
- package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js +26 -25
- package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js.map +1 -1
- package/lib/components/Excel/Types.d.ts +2 -0
- package/lib/components/Excel/dataConversion.js +17 -4
- package/lib/components/Excel/dataConversion.js.map +1 -1
- package/lib/components/Icon/Icon.js +14 -1
- package/lib/components/Icon/Icon.js.map +1 -1
- package/lib/components/Icon/iconList.js +18 -6
- package/lib/components/Icon/iconList.js.map +1 -1
- package/lib/components/Input/Input.js +3 -2
- package/lib/components/Input/Input.js.map +1 -1
- package/lib/components/Input/types.d.ts +1 -0
- package/lib/components/MachineInputField/MachineInputField.js +2 -2
- package/lib/components/MachineInputField/MachineInputField.js.map +1 -1
- package/lib/components/NLPInput/NlpInput.js +1 -1
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js +1 -1
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
- package/lib/components/PrePostTable/PrePostTable.js +2 -0
- package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
- package/lib/components/Prompt/Prompt.js +17 -2
- package/lib/components/Prompt/Prompt.js.map +1 -1
- package/lib/components/Prompt/types.d.ts +4 -0
- package/lib/components/Select/Select.js +3 -1
- package/lib/components/Select/Select.js.map +1 -1
- package/lib/components/Select/components/Dropdown.js +2 -1
- package/lib/components/Select/components/Dropdown.js.map +1 -1
- package/lib/components/Select/types.d.ts +3 -2
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +14 -9
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +4 -4
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js +92 -69
- package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/StepInnerTable.d.ts +1 -1
- package/lib/components/StepsLandingTable/Components/StepInnerTable.js +189 -15
- package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +20 -4
- package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/Types.d.ts +6 -0
- package/lib/components/StepsLandingTable/StepLandingTable.js +12 -5
- package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
- package/lib/components/StepsLandingTable/types.d.ts +3 -0
- package/lib/components/Table/Table.js +184 -42
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/TableTreeFn/TableTreeFn.js +30 -0
- package/lib/components/TableTreeFn/TableTreeFn.js.map +1 -1
- package/lib/components/TableWithAccordion/TableWithAccordion.js +4 -3
- package/lib/components/TableWithAccordion/TableWithAccordion.js.map +1 -1
- package/lib/components/Toggle/Toggle.js +6 -2
- package/lib/components/Toggle/Toggle.js.map +1 -1
- package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js +7 -5
- package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js.map +1 -1
- package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js +1 -1
- package/lib/hooks/useFileDropzone.js +45 -17
- package/lib/hooks/useFileDropzone.js.map +1 -1
- package/lib/index.cjs +2737 -651
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +52 -4
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js +106 -0
- package/lib/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js.map +1 -0
- package/lib/node_modules/js-beautify/js/src/css/index.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/beautifier.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/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/useDeviceType/useDeviceType.d.ts +6 -0
- package/lib/utils/useDeviceType/useDeviceType.js +27 -0
- package/lib/utils/useDeviceType/useDeviceType.js.map +1 -0
- package/package.json +2 -1
|
@@ -16,7 +16,7 @@ const useFileDropzone = options => {
|
|
|
16
16
|
validateMIMEType = false,
|
|
17
17
|
selectedFile,
|
|
18
18
|
setSelectedFile,
|
|
19
|
-
handleReplaceFile
|
|
19
|
+
handleReplaceFile = () => {}
|
|
20
20
|
} = options;
|
|
21
21
|
const file = !selectedFile ? [] : [selectedFile];
|
|
22
22
|
const [files, setFiles] = useState({
|
|
@@ -52,7 +52,7 @@ const useFileDropzone = options => {
|
|
|
52
52
|
code: 'file-invalid-type'
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
const fileExists = files.accepted.some(existingFile => existingFile.name === file.name && getExtensionWithPeriod(existingFile) === getExtensionWithPeriod(file));
|
|
55
|
+
const fileExists = files.accepted.some(existingFile => existingFile.name === file.name && getExtensionWithPeriod(existingFile) === getExtensionWithPeriod(file) && existingFile?.lastModified === file?.lastModified);
|
|
56
56
|
if (fileExists) {
|
|
57
57
|
errors.push({
|
|
58
58
|
message: fileExistMessage ? fileExistMessage : 'File already exists.',
|
|
@@ -62,26 +62,54 @@ const useFileDropzone = options => {
|
|
|
62
62
|
return errors;
|
|
63
63
|
}, [accept, maxSize, files, maxSizeErrorMessage, invalidFileMessage, fileExistMessage, validateMIMEType]);
|
|
64
64
|
const replaceFile = useCallback((fileToReplace, newFile) => {
|
|
65
|
-
if (
|
|
66
|
-
handleReplaceFile && handleReplaceFile(newFile);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
if (handleReplaceFile) handleReplaceFile();
|
|
65
|
+
if (handleReplaceFile) handleReplaceFile(newFile);
|
|
70
66
|
const errors = validateFile(newFile);
|
|
71
67
|
const isValid = checkEmpty(errors);
|
|
72
68
|
setFiles(prevFiles => {
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
const fileNameMatch = file => file.name === fileToReplace.name && file.lastModified === fileToReplace.lastModified;
|
|
70
|
+
// === Handle Accepted Files ===
|
|
71
|
+
const hasSameNameInAccepted = prevFiles.accepted.some(fileNameMatch);
|
|
72
|
+
let updatedAccepted;
|
|
73
|
+
if (isValid) {
|
|
74
|
+
if (hasSameNameInAccepted) {
|
|
75
|
+
// Replace file with same name
|
|
76
|
+
updatedAccepted = prevFiles.accepted.map(file => file.name === fileToReplace.name ? newFile : file);
|
|
77
|
+
} else {
|
|
78
|
+
// Remove old file (by name) and add new one
|
|
79
|
+
updatedAccepted = [...prevFiles.accepted.filter(file => file.name !== fileToReplace.name), newFile];
|
|
80
|
+
}
|
|
81
|
+
} else {
|
|
82
|
+
// Keep accepted unchanged if invalid
|
|
83
|
+
updatedAccepted = prevFiles.accepted;
|
|
84
|
+
}
|
|
85
|
+
// === Handle Rejected Files ===
|
|
86
|
+
const hasSameNameInRejected = prevFiles.rejected.some(rejection => rejection.file.name === fileToReplace.name);
|
|
87
|
+
let updatedRejected;
|
|
88
|
+
if (!isValid) {
|
|
89
|
+
if (hasSameNameInRejected) {
|
|
90
|
+
// Replace the rejected file with same name
|
|
91
|
+
updatedRejected = prevFiles.rejected.map(rejection => rejection.file.name === fileToReplace.name ? {
|
|
92
|
+
file: newFile,
|
|
93
|
+
errors
|
|
94
|
+
} : rejection);
|
|
95
|
+
} else {
|
|
96
|
+
// Remove the old one (by name) and add new rejected
|
|
97
|
+
updatedRejected = [...prevFiles.rejected.filter(rejection => rejection.file.name !== fileToReplace.name), {
|
|
98
|
+
file: newFile,
|
|
99
|
+
errors
|
|
100
|
+
}];
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
// Clean up the rejected list if file is now valid
|
|
104
|
+
updatedRejected = prevFiles.rejected.filter(rejection => rejection.file.name !== fileToReplace.name || rejection.file.size !== fileToReplace.size || rejection.file.lastModified !== fileToReplace.lastModified);
|
|
105
|
+
}
|
|
106
|
+
// Update selectedFile if valid
|
|
76
107
|
if (isValid && setSelectedFile) {
|
|
77
|
-
setSelectedFile(
|
|
108
|
+
setSelectedFile(updatedAccepted);
|
|
78
109
|
}
|
|
79
110
|
return {
|
|
80
|
-
accepted:
|
|
81
|
-
rejected:
|
|
82
|
-
file: newFile,
|
|
83
|
-
errors
|
|
84
|
-
}]
|
|
111
|
+
accepted: updatedAccepted,
|
|
112
|
+
rejected: updatedRejected
|
|
85
113
|
};
|
|
86
114
|
});
|
|
87
115
|
}, [validateFile, setSelectedFile]);
|
|
@@ -135,7 +163,7 @@ const useFileDropzone = options => {
|
|
|
135
163
|
}
|
|
136
164
|
}
|
|
137
165
|
setFiles(prevFiles => ({
|
|
138
|
-
accepted: [...prevFiles.accepted, ...accepted.filter(newFile => !prevFiles.accepted.some(file => file.name === newFile.name && getExtensionWithPeriod(file) === getExtensionWithPeriod(newFile)))],
|
|
166
|
+
accepted: [...prevFiles.accepted, ...accepted.filter(newFile => !prevFiles.accepted.some(file => file.name === newFile.name && getExtensionWithPeriod(file) === getExtensionWithPeriod(newFile) && file.lastModified === newFile.lastModified))],
|
|
139
167
|
rejected: [...prevFiles.rejected, ...rejected.filter(newFile => !prevFiles.rejected.some(file => file.file.name === newFile.file.name && getExtensionWithPeriod(file.file) === getExtensionWithPeriod(newFile.file)))]
|
|
140
168
|
}));
|
|
141
169
|
if ('dataTransfer' in event) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFileDropzone.js","sources":["../../src/hooks/useFileDropzone.tsx"],"sourcesContent":[null],"names":["useFileDropzone","options","accept","multiple","maxSize","maxFiles","onMaxFilesError","onDrop","maxSizeErrorMessage","invalidFileMessage","fileExistMessage","validateMIMEType","selectedFile","setSelectedFile","handleReplaceFile","file","files","setFiles","useState","accepted","rejected","isDragActive","setIsDragActive","validateFileMIMEType","extensionWithPeriod","includes","type","specialTypes","validateFile","useCallback","errors","size","push","message","code","getExtensionWithPeriod","toLowerCase","fileExists","some","existingFile","name","replaceFile","fileToReplace","newFile","isValid","checkEmpty","prevFiles","updatedAccepted","filter","
|
|
1
|
+
{"version":3,"file":"useFileDropzone.js","sources":["../../src/hooks/useFileDropzone.tsx"],"sourcesContent":[null],"names":["useFileDropzone","options","accept","multiple","maxSize","maxFiles","onMaxFilesError","onDrop","maxSizeErrorMessage","invalidFileMessage","fileExistMessage","validateMIMEType","selectedFile","setSelectedFile","handleReplaceFile","file","files","setFiles","useState","accepted","rejected","isDragActive","setIsDragActive","validateFileMIMEType","extensionWithPeriod","includes","type","specialTypes","validateFile","useCallback","errors","size","push","message","code","getExtensionWithPeriod","toLowerCase","fileExists","some","existingFile","name","lastModified","replaceFile","fileToReplace","newFile","isValid","checkEmpty","prevFiles","fileNameMatch","hasSameNameInAccepted","updatedAccepted","map","filter","hasSameNameInRejected","rejection","updatedRejected","handleReplaceClick","input","document","createElement","join","onchange","event","target","click","removeFile","fileToRemove","handleRemoveClick","handleDrop","preventDefault","stopPropagation","droppedFiles","dataTransfer","droppedOrSelectedFiles","Array","from","length","clearData","value","handleDragOver","handleDragLeave","getRootProps","onDragOver","onDragLeave","getInputProps","onChange","acceptedFiles","rejectedFiles"],"mappings":";;;;AAWMA,MAAAA,eAAe,GAAIC,OAAwB,IAAmB;EAClE,MAAM;IACJC,MAAM;IACNC,QAAQ;IACRC,OAAO;IACPC,QAAQ;IACRC,eAAe;IACfC,MAAM;IACNC,mBAAmB;IACnBC,kBAAkB;IAClBC,gBAAgB;AAChBC,IAAAA,gBAAgB,GAAG,KAAK;IACxBC,YAAY;IACZC,eAAe;IACfC,iBAAiB,GAAGA,MAAO;AAC5B,GAAA,GAAGb,OAAO;EAEX,MAAMc,IAAI,GAAG,CAACH,YAAY,GAAG,EAAE,GAAG,CAACA,YAAoB,CAAC;AACxD,EAAA,MAAM,CAACI,KAAK,EAAEC,QAAQ,CAAC,GAAGC,QAAQ,CAAY;AAC5CC,IAAAA,QAAQ,EAAEJ,IAAI;AACdK,IAAAA,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