@micromerce/media-fileuploader 1.0.1221 → 1.0.1223
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/cjs/index.js +104 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +104 -35
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -15869,7 +15869,7 @@ function Tree2Element(tree) {
|
|
|
15869
15869
|
});
|
|
15870
15870
|
}
|
|
15871
15871
|
|
|
15872
|
-
function GenIcon$
|
|
15872
|
+
function GenIcon$e(data) {
|
|
15873
15873
|
return function (props) {
|
|
15874
15874
|
return r$1.createElement(IconBase, __assign({
|
|
15875
15875
|
attr: __assign({}, data.attr)
|
|
@@ -15910,7 +15910,7 @@ function IconBase(props) {
|
|
|
15910
15910
|
var esm = /*#__PURE__*/Object.freeze({
|
|
15911
15911
|
__proto__: null,
|
|
15912
15912
|
DefaultContext: DefaultContext,
|
|
15913
|
-
GenIcon: GenIcon$
|
|
15913
|
+
GenIcon: GenIcon$e,
|
|
15914
15914
|
IconBase: IconBase,
|
|
15915
15915
|
IconContext: IconContext,
|
|
15916
15916
|
IconsManifest: IconsManifest
|
|
@@ -15919,15 +15919,15 @@ var esm = /*#__PURE__*/Object.freeze({
|
|
|
15919
15919
|
var require$$0 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
15920
15920
|
|
|
15921
15921
|
// THIS FILE IS AUTO GENERATED
|
|
15922
|
-
var GenIcon$
|
|
15922
|
+
var GenIcon$d = require$$0.GenIcon;
|
|
15923
15923
|
var FaExclamationCircle_1 = function FaExclamationCircle (props) {
|
|
15924
|
-
return GenIcon$
|
|
15924
|
+
return GenIcon$d({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}}]})(props);
|
|
15925
15925
|
};
|
|
15926
15926
|
|
|
15927
15927
|
// THIS FILE IS AUTO GENERATED
|
|
15928
|
-
var GenIcon$
|
|
15928
|
+
var GenIcon$c = require$$0.GenIcon;
|
|
15929
15929
|
var FaChevronDown_1 = function FaChevronDown (props) {
|
|
15930
|
-
return GenIcon$
|
|
15930
|
+
return GenIcon$c({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}}]})(props);
|
|
15931
15931
|
};
|
|
15932
15932
|
|
|
15933
15933
|
var colors = {
|
|
@@ -17741,33 +17741,45 @@ DragDrop.defaultProps = {
|
|
|
17741
17741
|
};
|
|
17742
17742
|
|
|
17743
17743
|
// THIS FILE IS AUTO GENERATED
|
|
17744
|
-
var GenIcon$
|
|
17744
|
+
var GenIcon$b = require$$0.GenIcon;
|
|
17745
17745
|
var FaFileAlt_1 = function FaFileAlt (props) {
|
|
17746
|
-
return GenIcon$
|
|
17746
|
+
return GenIcon$b({"tag":"svg","attr":{"viewBox":"0 0 384 512"},"child":[{"tag":"path","attr":{"d":"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"}}]})(props);
|
|
17747
17747
|
};
|
|
17748
17748
|
|
|
17749
17749
|
// THIS FILE IS AUTO GENERATED
|
|
17750
|
-
var GenIcon$
|
|
17750
|
+
var GenIcon$a = require$$0.GenIcon;
|
|
17751
17751
|
var FaRegTrashAlt_1 = function FaRegTrashAlt (props) {
|
|
17752
|
-
return GenIcon$
|
|
17752
|
+
return GenIcon$a({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"}}]})(props);
|
|
17753
17753
|
};
|
|
17754
17754
|
|
|
17755
17755
|
// THIS FILE IS AUTO GENERATED
|
|
17756
|
-
var GenIcon$
|
|
17756
|
+
var GenIcon$9 = require$$0.GenIcon;
|
|
17757
17757
|
var FaFileArchive_1 = function FaFileArchive (props) {
|
|
17758
|
-
return GenIcon$
|
|
17758
|
+
return GenIcon$9({"tag":"svg","attr":{"viewBox":"0 0 384 512"},"child":[{"tag":"path","attr":{"d":"M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zM128.4 336c-17.9 0-32.4 12.1-32.4 27 0 15 14.6 27 32.5 27s32.4-12.1 32.4-27-14.6-27-32.5-27zM224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6z"}}]})(props);
|
|
17759
17759
|
};
|
|
17760
17760
|
|
|
17761
17761
|
// THIS FILE IS AUTO GENERATED
|
|
17762
|
-
var GenIcon$
|
|
17762
|
+
var GenIcon$8 = require$$0.GenIcon;
|
|
17763
17763
|
var FaFileAudio_1 = function FaFileAudio (props) {
|
|
17764
|
-
return GenIcon$
|
|
17764
|
+
return GenIcon$8({"tag":"svg","attr":{"viewBox":"0 0 384 512"},"child":[{"tag":"path","attr":{"d":"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm-64 268c0 10.7-12.9 16-20.5 8.5L104 376H76c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h28l35.5-36.5c7.6-7.6 20.5-2.2 20.5 8.5v136zm33.2-47.6c9.1-9.3 9.1-24.1 0-33.4-22.1-22.8 12.2-56.2 34.4-33.5 27.2 27.9 27.2 72.4 0 100.4-21.8 22.3-56.9-10.4-34.4-33.5zm86-117.1c54.4 55.9 54.4 144.8 0 200.8-21.8 22.4-57-10.3-34.4-33.5 36.2-37.2 36.3-96.5 0-133.8-22.1-22.8 12.3-56.3 34.4-33.5zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"}}]})(props);
|
|
17765
17765
|
};
|
|
17766
17766
|
|
|
17767
17767
|
// THIS FILE IS AUTO GENERATED
|
|
17768
|
-
var GenIcon$
|
|
17768
|
+
var GenIcon$7 = require$$0.GenIcon;
|
|
17769
17769
|
var FaFileCode_1 = function FaFileCode (props) {
|
|
17770
|
-
return GenIcon$
|
|
17770
|
+
return GenIcon$7({"tag":"svg","attr":{"viewBox":"0 0 384 512"},"child":[{"tag":"path","attr":{"d":"M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zM123.206 400.505a5.4 5.4 0 0 1-7.633.246l-64.866-60.812a5.4 5.4 0 0 1 0-7.879l64.866-60.812a5.4 5.4 0 0 1 7.633.246l19.579 20.885a5.4 5.4 0 0 1-.372 7.747L101.65 336l40.763 35.874a5.4 5.4 0 0 1 .372 7.747l-19.579 20.884zm51.295 50.479l-27.453-7.97a5.402 5.402 0 0 1-3.681-6.692l61.44-211.626a5.402 5.402 0 0 1 6.692-3.681l27.452 7.97a5.4 5.4 0 0 1 3.68 6.692l-61.44 211.626a5.397 5.397 0 0 1-6.69 3.681zm160.792-111.045l-64.866 60.812a5.4 5.4 0 0 1-7.633-.246l-19.58-20.885a5.4 5.4 0 0 1 .372-7.747L284.35 336l-40.763-35.874a5.4 5.4 0 0 1-.372-7.747l19.58-20.885a5.4 5.4 0 0 1 7.633-.246l64.866 60.812a5.4 5.4 0 0 1-.001 7.879z"}}]})(props);
|
|
17771
|
+
};
|
|
17772
|
+
|
|
17773
|
+
// THIS FILE IS AUTO GENERATED
|
|
17774
|
+
var GenIcon$6 = require$$0.GenIcon;
|
|
17775
|
+
var FaFileCsv_1 = function FaFileCsv (props) {
|
|
17776
|
+
return GenIcon$6({"tag":"svg","attr":{"viewBox":"0 0 384 512"},"child":[{"tag":"path","attr":{"d":"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm-96 144c0 4.42-3.58 8-8 8h-8c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h8c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-8c-26.51 0-48-21.49-48-48v-32c0-26.51 21.49-48 48-48h8c4.42 0 8 3.58 8 8v16zm44.27 104H160c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h12.27c5.95 0 10.41-3.5 10.41-6.62 0-1.3-.75-2.66-2.12-3.84l-21.89-18.77c-8.47-7.22-13.33-17.48-13.33-28.14 0-21.3 19.02-38.62 42.41-38.62H200c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-12.27c-5.95 0-10.41 3.5-10.41 6.62 0 1.3.75 2.66 2.12 3.84l21.89 18.77c8.47 7.22 13.33 17.48 13.33 28.14.01 21.29-19 38.62-42.39 38.62zM256 264v20.8c0 20.27 5.7 40.17 16 56.88 10.3-16.7 16-36.61 16-56.88V264c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v20.8c0 35.48-12.88 68.89-36.28 94.09-3.02 3.25-7.27 5.11-11.72 5.11s-8.7-1.86-11.72-5.11c-23.4-25.2-36.28-58.61-36.28-94.09V264c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8zm121-159L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"}}]})(props);
|
|
17777
|
+
};
|
|
17778
|
+
|
|
17779
|
+
// THIS FILE IS AUTO GENERATED
|
|
17780
|
+
var GenIcon$5 = require$$0.GenIcon;
|
|
17781
|
+
var FaFileExcel_1 = function FaFileExcel (props) {
|
|
17782
|
+
return GenIcon$5({"tag":"svg","attr":{"viewBox":"0 0 384 512"},"child":[{"tag":"path","attr":{"d":"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm60.1 106.5L224 336l60.1 93.5c5.1 8-.6 18.5-10.1 18.5h-34.9c-4.4 0-8.5-2.4-10.6-6.3C208.9 405.5 192 373 192 373c-6.4 14.8-10 20-36.6 68.8-2.1 3.9-6.1 6.3-10.5 6.3H110c-9.5 0-15.2-10.5-10.1-18.5l60.3-93.5-60.3-93.5c-5.2-8 .6-18.5 10.1-18.5h34.8c4.4 0 8.5 2.4 10.6 6.3 26.1 48.8 20 33.6 36.6 68.5 0 0 6.1-11.7 36.6-68.5 2.1-3.9 6.2-6.3 10.6-6.3H274c9.5-.1 15.2 10.4 10.1 18.4zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"}}]})(props);
|
|
17771
17783
|
};
|
|
17772
17784
|
|
|
17773
17785
|
// THIS FILE IS AUTO GENERATED
|
|
@@ -17823,31 +17835,88 @@ const MEDIA_TYPE = Object.freeze({
|
|
|
17823
17835
|
},
|
|
17824
17836
|
json: {
|
|
17825
17837
|
icon: FaFileCode_1,
|
|
17826
|
-
name: ['application/json', 'application/jsonl']
|
|
17838
|
+
name: ['application/json', 'text/json', 'application/jsonl', 'application/x-ndjson', 'application/ld+json']
|
|
17839
|
+
},
|
|
17840
|
+
excel: {
|
|
17841
|
+
icon: FaFileExcel_1,
|
|
17842
|
+
name: [
|
|
17843
|
+
'application/vnd.ms-excel', // .xls
|
|
17844
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx
|
|
17845
|
+
'application/vnd.ms-excel.sheet.macroEnabled.12', // .xlsm
|
|
17846
|
+
'application/vnd.ms-excel.template.macroEnabled.12', // .xltm
|
|
17847
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.template', // .xltx
|
|
17848
|
+
'application/vnd.ms-excel.addin.macroEnabled.12', // .xlam
|
|
17849
|
+
'application/vnd.ms-excel.sheet.binary.macroEnabled.12', // .xlsb
|
|
17850
|
+
'text/csv', // .csv
|
|
17851
|
+
'application/csv', // alternative CSV MIME
|
|
17852
|
+
'text/tab-separated-values', // .tsv
|
|
17853
|
+
'application/octet-stream', // für unbekannte Excel-Dateien
|
|
17854
|
+
'application/excel',
|
|
17855
|
+
'application/x-msexcel',
|
|
17856
|
+
'application/xls'
|
|
17857
|
+
]
|
|
17858
|
+
},
|
|
17859
|
+
xlsx: {
|
|
17860
|
+
icon: FaFileExcel_1,
|
|
17861
|
+
name: ['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'] // .xlsx
|
|
17862
|
+
},
|
|
17863
|
+
xls: {
|
|
17864
|
+
icon: FaFileExcel_1,
|
|
17865
|
+
name: ['application/vnd.ms-excel'] // .xls
|
|
17866
|
+
},
|
|
17867
|
+
xlsm: {
|
|
17868
|
+
icon: FaFileExcel_1,
|
|
17869
|
+
name: ['application/vnd.ms-excel.sheet.macroEnabled.12'] // .xlsm
|
|
17870
|
+
},
|
|
17871
|
+
xltx: {
|
|
17872
|
+
icon: FaFileExcel_1,
|
|
17873
|
+
name: ['application/vnd.openxmlformats-officedocument.spreadsheetml.template'] // .xltx
|
|
17874
|
+
},
|
|
17875
|
+
xltm: {
|
|
17876
|
+
icon: FaFileExcel_1,
|
|
17877
|
+
name: ['application/vnd.ms-excel.template.macroEnabled.12'] // .xltm
|
|
17878
|
+
},
|
|
17879
|
+
xlam: {
|
|
17880
|
+
icon: FaFileExcel_1,
|
|
17881
|
+
name: ['application/vnd.ms-excel.addin.macroEnabled.12'] // .xlam
|
|
17882
|
+
},
|
|
17883
|
+
xlsb: {
|
|
17884
|
+
icon: FaFileExcel_1,
|
|
17885
|
+
name: ['application/vnd.ms-excel.sheet.binary.macroEnabled.12'] // .xlsb
|
|
17886
|
+
},
|
|
17887
|
+
csv: {
|
|
17888
|
+
icon: FaFileCsv_1,
|
|
17889
|
+
name: [
|
|
17890
|
+
'text/csv',
|
|
17891
|
+
'application/csv',
|
|
17892
|
+
'text/comma-separated-values'
|
|
17893
|
+
]
|
|
17894
|
+
},
|
|
17895
|
+
tsv: {
|
|
17896
|
+
icon: FaFileAlt_1,
|
|
17897
|
+
name: ['text/tab-separated-values'] // .tsv (Tab-getrennte Werte)
|
|
17827
17898
|
},
|
|
17828
|
-
// xml: {
|
|
17829
|
-
// icon: FaFileCode,
|
|
17830
|
-
// name: ['application/xml', 'text/xml']
|
|
17831
|
-
// },
|
|
17832
|
-
// csv: {
|
|
17833
|
-
// icon: FaFileCsv,
|
|
17834
|
-
// name: ['text/csv']
|
|
17835
|
-
// },
|
|
17836
|
-
// text: {
|
|
17837
|
-
// icon: FaFileAlt,
|
|
17838
|
-
// name: ['text/plain', 'text/markdown']
|
|
17839
|
-
// },
|
|
17840
|
-
// excel: {
|
|
17841
|
-
// icon: FaFileExcel,
|
|
17842
|
-
// name: ['application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
|
|
17843
|
-
// },
|
|
17844
17899
|
word: {
|
|
17845
17900
|
icon: FaFileWord_1,
|
|
17846
|
-
name: [
|
|
17901
|
+
name: [
|
|
17902
|
+
'application/msword', // .doc (alte Word-Versionen)
|
|
17903
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
|
|
17904
|
+
'application/vnd.ms-word.document.macroEnabled.12', // .docm
|
|
17905
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.template', // .dotx
|
|
17906
|
+
'application/vnd.ms-word.template.macroEnabled.12' // .dotm
|
|
17907
|
+
]
|
|
17847
17908
|
},
|
|
17848
17909
|
powerpoint: {
|
|
17849
17910
|
icon: FaFilePowerpoint_1,
|
|
17850
|
-
name: [
|
|
17911
|
+
name: [
|
|
17912
|
+
'application/vnd.ms-powerpoint', // .ppt (alte PowerPoint-Versionen)
|
|
17913
|
+
'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
|
|
17914
|
+
'application/vnd.ms-powerpoint.presentation.macroEnabled.12', // .pptm
|
|
17915
|
+
'application/vnd.openxmlformats-officedocument.presentationml.template', // .potx
|
|
17916
|
+
'application/vnd.ms-powerpoint.template.macroEnabled.12', // .potm
|
|
17917
|
+
'application/vnd.openxmlformats-officedocument.presentationml.slideshow', // .ppsx
|
|
17918
|
+
'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' // .ppsm
|
|
17919
|
+
]
|
|
17851
17920
|
}
|
|
17852
17921
|
});
|
|
17853
17922
|
|