@axelor/aos-mobile-ui 8.3.7 → 8.4.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.
Files changed (57) hide show
  1. package/README.md +2 -199
  2. package/lib/components/atoms/BootstrapIcon/BootstrapIcon.js +2 -2
  3. package/lib/components/atoms/BootstrapIcon/BootstrapIcon.js.map +1 -1
  4. package/lib/components/atoms/Icon/Icon.d.ts +1 -9
  5. package/lib/components/atoms/Icon/Icon.js +6 -25
  6. package/lib/components/atoms/Icon/Icon.js.map +1 -1
  7. package/lib/components/atoms/ProgressCircle/ProgressCircle.d.ts +12 -0
  8. package/lib/components/atoms/ProgressCircle/ProgressCircle.js +54 -0
  9. package/lib/components/atoms/ProgressCircle/ProgressCircle.js.map +1 -0
  10. package/lib/components/atoms/index.d.ts +2 -1
  11. package/lib/components/atoms/index.js +2 -1
  12. package/lib/components/atoms/index.js.map +1 -1
  13. package/lib/components/molecules/Button/Button.js +1 -1
  14. package/lib/components/molecules/Button/Button.js.map +1 -1
  15. package/lib/components/molecules/DropdownMenu/DropdownMenu.d.ts +3 -1
  16. package/lib/components/molecules/DropdownMenu/DropdownMenu.js +4 -7
  17. package/lib/components/molecules/DropdownMenu/DropdownMenu.js.map +1 -1
  18. package/lib/components/molecules/RightIconButton/RightIconButton.js +1 -1
  19. package/lib/components/molecules/Stepper/StepList.d.ts +8 -0
  20. package/lib/components/molecules/Stepper/StepList.js +80 -0
  21. package/lib/components/molecules/Stepper/StepList.js.map +1 -0
  22. package/lib/components/molecules/Stepper/Stepper.d.ts +11 -0
  23. package/lib/components/molecules/Stepper/Stepper.js +87 -0
  24. package/lib/components/molecules/Stepper/Stepper.js.map +1 -0
  25. package/lib/components/molecules/Stepper/index.d.ts +2 -0
  26. package/lib/components/molecules/Stepper/index.js +20 -0
  27. package/lib/components/molecules/Stepper/index.js.map +1 -0
  28. package/lib/components/molecules/Stepper/types.d.ts +10 -0
  29. package/lib/components/molecules/Stepper/types.js +25 -0
  30. package/lib/components/molecules/Stepper/types.js.map +1 -0
  31. package/lib/components/molecules/index.d.ts +1 -2
  32. package/lib/components/molecules/index.js +1 -2
  33. package/lib/components/molecules/index.js.map +1 -1
  34. package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.d.ts +4 -1
  35. package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js +8 -12
  36. package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js.map +1 -1
  37. package/lib/components/organisms/Picker/Picker.js +0 -2
  38. package/lib/components/organisms/Picker/Picker.js.map +1 -1
  39. package/lib/hooks/use-click-outside.d.ts +23 -6
  40. package/lib/hooks/use-click-outside.js +42 -45
  41. package/lib/hooks/use-click-outside.js.map +1 -1
  42. package/lib/index.d.ts +1 -1
  43. package/lib/index.js +1 -1
  44. package/lib/index.js.map +1 -1
  45. package/lib/types/index.d.ts +0 -1
  46. package/lib/types/index.js +0 -1
  47. package/lib/types/index.js.map +1 -1
  48. package/package.json +15 -17
  49. package/lib/components/molecules/AttachmentCard/AttachmentCard.d.ts +0 -9
  50. package/lib/components/molecules/AttachmentCard/AttachmentCard.js +0 -61
  51. package/lib/components/molecules/AttachmentCard/AttachmentCard.js.map +0 -1
  52. package/lib/components/molecules/MessageBox/MessageBox.d.ts +0 -10
  53. package/lib/components/molecules/MessageBox/MessageBox.js +0 -69
  54. package/lib/components/molecules/MessageBox/MessageBox.js.map +0 -1
  55. package/lib/types/file.d.ts +0 -5
  56. package/lib/types/file.js +0 -62
  57. package/lib/types/file.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axelor/aos-mobile-ui",
3
- "version": "8.3.7",
3
+ "version": "8.4.0",
4
4
  "author": "Axelor",
5
5
  "license": "AGPL-3.0-only",
6
6
  "publishConfig": {
@@ -25,43 +25,41 @@
25
25
  "icons:build": "npm run icons:clean && node scripts/icons-build.js"
26
26
  },
27
27
  "peerDependencies": {
28
- "@react-native-community/slider": "^4.5.4",
29
- "bootstrap-icons": "^1.10.3",
28
+ "@react-native-community/slider": "^4.5.6",
29
+ "bootstrap-icons": "^1.11.3",
30
30
  "react": "*",
31
31
  "react-native": "*",
32
- "react-native-gifted-charts": "1.4.29",
32
+ "react-native-gifted-charts": "1.4.59",
33
33
  "react-native-linear-gradient": "2.8.3",
34
34
  "react-native-pell-rich-editor": "1.9.0",
35
- "react-native-svg": "14.0.0",
35
+ "react-native-svg": "15.11.2",
36
36
  "react-native-system-navigation-bar": "2.2.0",
37
- "react-native-vector-icons": "10.0.3",
38
37
  "react-native-webview": "11.26.1"
39
38
  },
40
39
  "devDependencies": {
41
40
  "@babel/runtime": "^7.20.0",
42
- "@react-native-community/slider": "^4.5.4",
43
- "@react-native/babel-preset": "0.73.21",
44
- "@react-native/eslint-config": "0.73.2",
41
+ "@react-native-community/slider": "^4.5.6",
42
+ "@react-native/babel-preset": "0.75.5",
43
+ "@react-native/eslint-config": "0.75.5",
45
44
  "@svgr/core": "^6.5.1",
46
45
  "@svgr/plugin-jsx": "^6.5.1",
47
46
  "@svgr/plugin-prettier": "^6.5.1",
48
47
  "@svgr/plugin-svgo": "^6.5.1",
49
- "@types/react": "^18.2.6",
50
- "bootstrap-icons": "^1.10.3",
48
+ "@types/react": "^18.3.20",
49
+ "bootstrap-icons": "^1.11.3",
51
50
  "eslint": "8.57.0",
52
51
  "glob": "^8.1.0",
53
52
  "prettier": "^3.3.3",
54
- "react": "18.2.0",
55
- "react-native": "0.73.9",
56
- "react-native-gifted-charts": "1.4.29",
53
+ "react": "18.3.1",
54
+ "react-native": "0.75.5",
55
+ "react-native-gifted-charts": "1.4.59",
57
56
  "react-native-linear-gradient": "2.8.3",
58
57
  "react-native-pell-rich-editor": "1.9.0",
59
- "react-native-svg": "14.0.0",
58
+ "react-native-svg": "15.11.2",
60
59
  "react-native-system-navigation-bar": "2.2.0",
61
- "react-native-vector-icons": "10.0.3",
62
60
  "react-native-webview": "11.26.1"
63
61
  },
64
62
  "resolutions": {
65
- "@types/react": "^18.2.6"
63
+ "@types/react": "^18.3.20"
66
64
  }
67
65
  }
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface AttachmentCardProps {
3
- fileName: string;
4
- creationDate: string;
5
- onPress: () => void;
6
- translator: (translationKey: string) => string;
7
- }
8
- declare const AttachmentCard: ({ fileName, creationDate, onPress, translator, }: AttachmentCardProps) => React.JSX.Element;
9
- export default AttachmentCard;
@@ -1,61 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React from 'react';
19
- import { StyleSheet, TouchableOpacity, View } from 'react-native';
20
- import File from '../../../types/file';
21
- import { formatDate } from '../../../utils/formatters';
22
- import { HorizontalRule, Icon, Text } from '../../atoms';
23
- const AttachmentCard = ({ fileName, creationDate, onPress, translator, }) => {
24
- return (<TouchableOpacity onPress={onPress} activeOpacity={0.8}>
25
- <View style={styles.container}>
26
- <Icon name={File.getFileIcon(fileName)} size={35}/>
27
- <View style={styles.textContainer}>
28
- <Text style={styles.text}>{fileName}</Text>
29
- {creationDate && (<Text style={styles.text}>
30
- {`${translator != null ? translator('Base_AddedOn') : 'Added on'} : ${formatDate(creationDate, translator != null
31
- ? translator('Base_DateFormat')
32
- : 'MM/DD/YYYY')}`}
33
- </Text>)}
34
- </View>
35
- </View>
36
- <HorizontalRule style={styles.bottomLine}/>
37
- </TouchableOpacity>);
38
- };
39
- const styles = StyleSheet.create({
40
- container: {
41
- flexDirection: 'row',
42
- alignItems: 'center',
43
- marginHorizontal: 16,
44
- marginTop: 15,
45
- marginBottom: 5,
46
- },
47
- textContainer: {
48
- flexDirection: 'column',
49
- marginLeft: '5%',
50
- },
51
- text: {
52
- fontSize: 18,
53
- },
54
- bottomLine: {
55
- marginTop: 10,
56
- width: '45%',
57
- alignSelf: 'center',
58
- },
59
- });
60
- export default AttachmentCard;
61
- //# sourceMappingURL=AttachmentCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AttachmentCard.js","sourceRoot":"","sources":["../../../../src/components/molecules/AttachmentCard/AttachmentCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAC,cAAc,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AASvD,MAAM,cAAc,GAAG,CAAC,EACtB,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,UAAU,GACU,EAAE,EAAE;IACxB,OAAO,CACL,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CACrD;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAC5B;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EACjD;QAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAChC;UAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,CAC1C;UAAA,CAAC,YAAY,IAAI,CACf,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CACvB;cAAA,CAAC,GACC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,UACpD,MAAM,UAAU,CACd,YAAY,EACZ,UAAU,IAAI,IAAI;gBAChB,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;gBAC/B,CAAC,CAAC,YAAY,CACjB,EAAE,CACL;YAAA,EAAE,IAAI,CAAC,CACR,CACH;QAAA,EAAE,IAAI,CACR;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAC3C;IAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,gBAAgB,EAAE,EAAE;QACpB,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,CAAC;KAChB;IACD,aAAa,EAAE;QACb,aAAa,EAAE,QAAQ;QACvB,UAAU,EAAE,IAAI;KACjB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,EAAE;KACb;IACD,UAAU,EAAE;QACV,SAAS,EAAE,EAAE;QACb,KAAK,EAAE,KAAK;QACZ,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- interface MessageBoxProps {
3
- placeholder: string;
4
- disabled?: boolean;
5
- value?: string;
6
- onChange?: (any: any) => void;
7
- onSend?: (any: any) => void;
8
- }
9
- declare const MessageBox: ({ placeholder, disabled, value, onChange, onSend, }: MessageBoxProps) => React.JSX.Element;
10
- export default MessageBox;
@@ -1,69 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- import React, { useMemo } from 'react';
19
- import { StyleSheet, TouchableOpacity, View } from 'react-native';
20
- import { HtmlInput, Icon } from '../../atoms';
21
- import { getCommonStyles } from '../../../utils/commons-styles';
22
- import { useThemeColor } from '../../../theme';
23
- const BOX_HEIGHT = 90;
24
- const MessageBox = ({ placeholder, disabled, value, onChange, onSend, }) => {
25
- const Colors = useThemeColor();
26
- const commonStyles = useMemo(() => getCommonStyles(Colors), [Colors]);
27
- return (<View style={styles.container}>
28
- <HtmlInput defaultInput={value} onChange={onChange} placeholder={placeholder} containerStyle={[commonStyles.filter, styles.htlmInput]} style={styles.input} styleToolbar={styles.htmlToolBar}/>
29
- <TouchableOpacity style={[commonStyles.filter, styles.action]} disabled={disabled} onPress={onSend} activeOpacity={0.9}>
30
- <Icon name="send-fill" size={24}/>
31
- </TouchableOpacity>
32
- </View>);
33
- };
34
- const styles = StyleSheet.create({
35
- container: {
36
- width: '100%',
37
- flexDirection: 'row',
38
- justifyContent: 'center',
39
- alignItems: 'center',
40
- overflow: 'hidden',
41
- },
42
- input: {
43
- width: '100%',
44
- fontSize: 16,
45
- marginRight: 5,
46
- borderRadius: 7,
47
- },
48
- htlmInput: {
49
- borderRadius: 7,
50
- paddingHorizontal: 0,
51
- marginHorizontal: 5,
52
- marginVertical: 5,
53
- paddingTop: 10,
54
- },
55
- htmlToolBar: {
56
- backgroundColor: null,
57
- marginLeft: -5,
58
- },
59
- action: {
60
- width: '10%',
61
- height: BOX_HEIGHT,
62
- justifyContent: 'center',
63
- alignItems: 'center',
64
- marginRight: 5,
65
- paddingHorizontal: 0,
66
- },
67
- });
68
- export default MessageBox;
69
- //# sourceMappingURL=MessageBox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageBox.js","sourceRoot":"","sources":["../../../../src/components/molecules/MessageBox/MessageBox.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,SAAS,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAU7C,MAAM,UAAU,GAAG,EAAE,CAAC;AAEtB,MAAM,UAAU,GAAG,CAAC,EAClB,WAAW,EACX,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,MAAM,GACU,EAAE,EAAE;IACpB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEtE,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAC5B;MAAA,CAAC,SAAS,CACR,YAAY,CAAC,CAAC,KAAK,CAAC,CACpB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CACxD,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACpB,YAAY,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,EAEnC;MAAA,CAAC,gBAAgB,CACf,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAC5C,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,OAAO,CAAC,CAAC,MAAM,CAAC,CAChB,aAAa,CAAC,CAAC,GAAG,CAAC,CACnB;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAClC;MAAA,EAAE,gBAAgB,CACpB;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,KAAK,EAAE,MAAM;QACb,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,EAAE;QACZ,WAAW,EAAE,CAAC;QACd,YAAY,EAAE,CAAC;KAChB;IACD,SAAS,EAAE;QACT,YAAY,EAAE,CAAC;QACf,iBAAiB,EAAE,CAAC;QACpB,gBAAgB,EAAE,CAAC;QACnB,cAAc,EAAE,CAAC;QACjB,UAAU,EAAE,EAAE;KACf;IACD,WAAW,EAAE;QACX,eAAe,EAAE,IAAI;QACrB,UAAU,EAAE,CAAC,CAAC;KACf;IACD,MAAM,EAAE;QACN,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,UAAU;QAClB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,CAAC;QACd,iBAAiB,EAAE,CAAC;KACrB;CACF,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1,5 +0,0 @@
1
- export default File;
2
- declare class File {
3
- static getFileExtension: (filename: any) => any;
4
- static getFileIcon: (filename: any) => "file-earmark-pdf-fill" | "file-earmark-image-fill" | "filetype-csv" | "file-earmark-zip-fill" | "file-earmark-word-fill" | "file-earmark-ppt-fill" | "file-earmark-spreadsheet-fill" | "file-earmark-music-fill" | "file-earmark-fill";
5
- }
package/lib/types/file.js DELETED
@@ -1,62 +0,0 @@
1
- /*
2
- * Axelor Business Solutions
3
- *
4
- * Copyright (C) 2025 Axelor (<http://axelor.com>).
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License, version 3,
8
- * as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
- */
18
- class File {
19
- static getFileExtension = filename => {
20
- if (filename == null) {
21
- return filename;
22
- }
23
- return filename.split('.').pop();
24
- };
25
- static getFileIcon = filename => {
26
- switch (this.getFileExtension(filename)) {
27
- case 'pdf':
28
- return 'file-earmark-pdf-fill';
29
- case 'jpeg':
30
- case 'jpg':
31
- case 'svg':
32
- case 'png':
33
- return 'file-earmark-image-fill';
34
- case 'csv':
35
- return 'filetype-csv';
36
- case 'zip':
37
- return 'file-earmark-zip-fill';
38
- case 'docx':
39
- case 'doc':
40
- case 'odt':
41
- case 'txt':
42
- return 'file-earmark-word-fill';
43
- case 'potx':
44
- case 'pptx':
45
- case 'ppt':
46
- case 'odp':
47
- return 'file-earmark-ppt-fill';
48
- case 'ods':
49
- case 'xls':
50
- case 'xlsx':
51
- case 'xltm':
52
- return 'file-earmark-spreadsheet-fill';
53
- case 'mp4':
54
- case 'mp3':
55
- return 'file-earmark-music-fill';
56
- default:
57
- return 'file-earmark-fill';
58
- }
59
- };
60
- }
61
- export default File;
62
- //# sourceMappingURL=file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/types/file.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,IAAI;IACR,MAAM,CAAC,gBAAgB,GAAG,QAAQ,CAAC,EAAE;QACnC,IAAI,QAAQ,IAAI,IAAI,EAAE;YACpB,OAAO,QAAQ,CAAC;SACjB;QACD,OAAO,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACnC,CAAC,CAAC;IAEF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC,EAAE;QAC9B,QAAQ,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE;YACvC,KAAK,KAAK;gBACR,OAAO,uBAAuB,CAAC;YACjC,KAAK,MAAM,CAAC;YACZ,KAAK,KAAK,CAAC;YACX,KAAK,KAAK,CAAC;YACX,KAAK,KAAK;gBACR,OAAO,yBAAyB,CAAC;YACnC,KAAK,KAAK;gBACR,OAAO,cAAc,CAAC;YACxB,KAAK,KAAK;gBACR,OAAO,uBAAuB,CAAC;YACjC,KAAK,MAAM,CAAC;YACZ,KAAK,KAAK,CAAC;YACX,KAAK,KAAK,CAAC;YACX,KAAK,KAAK;gBACR,OAAO,wBAAwB,CAAC;YAClC,KAAK,MAAM,CAAC;YACZ,KAAK,MAAM,CAAC;YACZ,KAAK,KAAK,CAAC;YACX,KAAK,KAAK;gBACR,OAAO,uBAAuB,CAAC;YACjC,KAAK,KAAK,CAAC;YACX,KAAK,KAAK,CAAC;YACX,KAAK,MAAM,CAAC;YACZ,KAAK,MAAM;gBACT,OAAO,+BAA+B,CAAC;YACzC,KAAK,KAAK,CAAC;YACX,KAAK,KAAK;gBACR,OAAO,yBAAyB,CAAC;YACnC;gBACE,OAAO,mBAAmB,CAAC;SAC9B;IACH,CAAC,CAAC;;AAGJ,eAAe,IAAI,CAAC"}