@farmzone/fz-react-ui 1.2.1 → 1.2.2
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.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28,7 +28,6 @@ import { useDaumPostcodePopup } from 'react-daum-postcode';
|
|
|
28
28
|
import { create } from 'zustand';
|
|
29
29
|
import { createJSONStorage, persist } from 'zustand/middleware';
|
|
30
30
|
import { v4 } from 'uuid';
|
|
31
|
-
import heic2any from 'heic2any';
|
|
32
31
|
import { useEditor, useEditorState, EditorContent, ReactRenderer } from '@tiptap/react';
|
|
33
32
|
import { Extension, InputRule } from '@tiptap/core';
|
|
34
33
|
import StarterKit from '@tiptap/starter-kit';
|
|
@@ -9549,6 +9548,7 @@ function revokeFile(file) {
|
|
|
9549
9548
|
}
|
|
9550
9549
|
}
|
|
9551
9550
|
var convertHeicToJpeg = async (file) => {
|
|
9551
|
+
const { default: heic2any } = await import('heic2any');
|
|
9552
9552
|
const blob = await heic2any({ blob: file, toType: "image/jpeg", quality: 0.92 });
|
|
9553
9553
|
const result = Array.isArray(blob) ? blob[0] : blob;
|
|
9554
9554
|
const baseName = file.name.replace(/\.[^.]+$/, "");
|