@mcurros2/microm 1.1.348-0 → 1.1.349-0

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/dist/index.js CHANGED
@@ -42183,7 +42183,7 @@ const $8cba51256aebea2d$export$9e8d6341d22c7058 = {
42183
42183
  }
42184
42184
  };
42185
42185
  function $8cba51256aebea2d$export$a2bc9feb52ac7227(props) {
42186
- const { client: client, fileProcessColumn: fileProcessColumn, labels: suppliedLabels, initialImageURL: initialImageURL, parentFormAPI: parentFormAPI, fileGUIDColumn: fileGUIDColumn, maxFileSize: maxFileSize, editor: editor, imageProcessing: imageProcessing, onDeleteComplete: onDeleteComplete } = (0, $b4te3$mantinecore.useComponentDefaultProps)('AvatarUploader', $8cba51256aebea2d$export$9e8d6341d22c7058, props);
42186
+ const { client: client, fileProcessColumn: fileProcessColumn, labels: suppliedLabels, initialImageURL: initialImageURL, parentFormAPI: parentFormAPI, fileGUIDColumn: fileGUIDColumn, maxFileSize: maxFileSize, editor: editor, imageProcessing: imageProcessing, onDeleteComplete: onDeleteComplete, onUploadComplete: onUploadComplete } = (0, $b4te3$mantinecore.useComponentDefaultProps)('AvatarUploader', $8cba51256aebea2d$export$9e8d6341d22c7058, props);
42187
42187
  const labels = (0, $b4te3$react.useMemo)(()=>({
42188
42188
  ...$8cba51256aebea2d$var$AvatarUploaderDefaultLabels,
42189
42189
  ...suppliedLabels
@@ -42250,11 +42250,13 @@ function $8cba51256aebea2d$export$a2bc9feb52ac7227(props) {
42250
42250
  // EntityColumn is an intentional mutable model object shared with the parent form.
42251
42251
  // eslint-disable-next-line react-hooks/immutability
42252
42252
  fileGUIDColumn.value = report.vc_fileguid;
42253
+ await onUploadComplete?.(report.vc_fileguid);
42253
42254
  return {
42254
42255
  error: false
42255
42256
  };
42256
42257
  }, [
42257
- fileGUIDColumn
42258
+ fileGUIDColumn,
42259
+ onUploadComplete
42258
42260
  ]);
42259
42261
  const uploadAPI = (0, $4eryA.useFileUpload)({
42260
42262
  client: client,