dmed-voice-assistant 1.0.3 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/RecognitionListItem.js +54 -0
- package/dist/components/RecordListItem.js +246 -0
- package/dist/components/StyledSelect.js +25 -0
- package/dist/components/svgs.js +343 -0
- package/dist/index.js +39 -0
- package/dist/recognition.js +743 -0
- package/dist/recorder.js +513 -0
- package/package.json +3 -4
- package/src/VoiceAssistant/components/RecognitionListItem.js +0 -53
- package/src/VoiceAssistant/components/RecordListItem.js +0 -259
- package/src/VoiceAssistant/components/StyledSelect.js +0 -16
- package/src/VoiceAssistant/components/svgs.js +0 -267
- package/src/VoiceAssistant/index.js +0 -45
- package/src/VoiceAssistant/recognition.js +0 -952
- package/src/VoiceAssistant/recorder.js +0 -575
@@ -0,0 +1,343 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.ThreeDotsIcon = exports.StopIcon = exports.StartIcon = exports.SmallStartIcon = exports.SmallPauseIcon = exports.SmallCloseIcon = exports.SettingIcon = exports.RocketIcon = exports.RedirectIcon = exports.RedStopIcon = exports.RecognitionIcon = exports.PauseIcon = exports.MicIcon = exports.LanguageIcon = exports.HistoryIcon = exports.EditIcon = exports.DeleteIcon = exports.DarkSettingIcon = exports.CommandIcon = exports.CloseIcon = exports.BoxIcon = exports.BookIcon = exports.BigStartIcon = void 0;
|
7
|
+
const MicIcon = _ref => {
|
8
|
+
let {
|
9
|
+
fill = "#EAE5DC"
|
10
|
+
} = _ref;
|
11
|
+
return /*#__PURE__*/React.createElement("svg", {
|
12
|
+
width: "21",
|
13
|
+
height: "21",
|
14
|
+
viewBox: "0 0 21 21",
|
15
|
+
fill: "none",
|
16
|
+
xmlns: "http://www.w3.org/2000/svg"
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
18
|
+
d: "M10.5 12.3667C9.80556 12.3667 9.21528 12.1236 8.72917 11.6375C8.24306 11.1514 8.00001 10.5611 8.00001 9.86667V4.86667C8.00001 4.17222 8.24306 3.58195 8.72917 3.09584C9.21528 2.60972 9.80556 2.36667 10.5 2.36667C11.1944 2.36667 11.7847 2.60972 12.2708 3.09584C12.7569 3.58195 13 4.17222 13 4.86667V9.86667C13 10.5611 12.7569 11.1514 12.2708 11.6375C11.7847 12.1236 11.1944 12.3667 10.5 12.3667ZM9.66667 18.2V15.6375C8.22223 15.4431 7.02778 14.7972 6.08334 13.7C5.13889 12.6028 4.66667 11.325 4.66667 9.86667H6.33334C6.33334 11.0194 6.73959 12.0021 7.55209 12.8146C8.36459 13.6271 9.34723 14.0333 10.5 14.0333C11.6528 14.0333 12.6354 13.6271 13.4479 12.8146C14.2604 12.0021 14.6667 11.0194 14.6667 9.86667H16.3333C16.3333 11.325 15.8611 12.6028 14.9167 13.7C13.9722 14.7972 12.7778 15.4431 11.3333 15.6375V18.2H9.66667ZM10.5 10.7C10.7361 10.7 10.934 10.6201 11.0938 10.4604C11.2535 10.3007 11.3333 10.1028 11.3333 9.86667V4.86667C11.3333 4.63056 11.2535 4.43264 11.0938 4.27292C10.934 4.1132 10.7361 4.03334 10.5 4.03334C10.2639 4.03334 10.066 4.1132 9.90626 4.27292C9.74653 4.43264 9.66667 4.63056 9.66667 4.86667V9.86667C9.66667 10.1028 9.74653 10.3007 9.90626 10.4604C10.066 10.6201 10.2639 10.7 10.5 10.7Z",
|
19
|
+
fill: fill
|
20
|
+
}));
|
21
|
+
};
|
22
|
+
exports.MicIcon = MicIcon;
|
23
|
+
const BigStartIcon = () => {
|
24
|
+
return /*#__PURE__*/React.createElement("svg", {
|
25
|
+
width: "24",
|
26
|
+
height: "24",
|
27
|
+
viewBox: "0 0 24 24",
|
28
|
+
fill: "none",
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
30
|
+
}, /*#__PURE__*/React.createElement("g", {
|
31
|
+
clipPath: "url(#clip0_46_1778)"
|
32
|
+
}, /*#__PURE__*/React.createElement("path", {
|
33
|
+
d: "M9 17.4L17.4 12L9 6.6V17.4ZM12 24C10.34 24 8.78 23.685 7.32 23.055C5.86 22.425 4.59 21.57 3.51 20.49C2.43 19.41 1.575 18.14 0.945 16.68C0.315 15.22 0 13.66 0 12C0 10.34 0.315 8.78 0.945 7.32C1.575 5.86 2.43 4.59 3.51 3.51C4.59 2.43 5.86 1.575 7.32 0.945C8.78 0.315 10.34 0 12 0C13.66 0 15.22 0.315 16.68 0.945C18.14 1.575 19.41 2.43 20.49 3.51C21.57 4.59 22.425 5.86 23.055 7.32C23.685 8.78 24 10.34 24 12C24 13.66 23.685 15.22 23.055 16.68C22.425 18.14 21.57 19.41 20.49 20.49C19.41 21.57 18.14 22.425 16.68 23.055C15.22 23.685 13.66 24 12 24ZM12 21.6C14.68 21.6 16.95 20.67 18.81 18.81C20.67 16.95 21.6 14.68 21.6 12C21.6 9.32 20.67 7.05 18.81 5.19C16.95 3.33 14.68 2.4 12 2.4C9.32 2.4 7.05 3.33 5.19 5.19C3.33 7.05 2.4 9.32 2.4 12C2.4 14.68 3.33 16.95 5.19 18.81C7.05 20.67 9.32 21.6 12 21.6Z",
|
34
|
+
fill: "#44C633"
|
35
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
36
|
+
id: "clip0_46_1778"
|
37
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
38
|
+
width: "24",
|
39
|
+
height: "24",
|
40
|
+
fill: "white"
|
41
|
+
}))));
|
42
|
+
};
|
43
|
+
exports.BigStartIcon = BigStartIcon;
|
44
|
+
const StartIcon = () => {
|
45
|
+
return /*#__PURE__*/React.createElement("svg", {
|
46
|
+
width: "20",
|
47
|
+
height: "21",
|
48
|
+
viewBox: "0 0 20 21",
|
49
|
+
fill: "none",
|
50
|
+
xmlns: "http://www.w3.org/2000/svg"
|
51
|
+
}, /*#__PURE__*/React.createElement("path", {
|
52
|
+
d: "M6.64999 14.0833L12.4833 10.3333L6.64999 6.58333V14.0833ZM8.73333 18.6667C7.58055 18.6667 6.49722 18.4479 5.48333 18.0104C4.46944 17.5729 3.58749 16.9792 2.83749 16.2292C2.08749 15.4792 1.49374 14.5972 1.05624 13.5833C0.618744 12.5694 0.399994 11.4861 0.399994 10.3333C0.399994 9.18056 0.618744 8.09722 1.05624 7.08333C1.49374 6.06945 2.08749 5.1875 2.83749 4.4375C3.58749 3.6875 4.46944 3.09375 5.48333 2.65625C6.49722 2.21875 7.58055 2 8.73333 2C9.88611 2 10.9694 2.21875 11.9833 2.65625C12.9972 3.09375 13.8792 3.6875 14.6292 4.4375C15.3792 5.1875 15.9729 6.06945 16.4104 7.08333C16.8479 8.09722 17.0667 9.18056 17.0667 10.3333C17.0667 11.4861 16.8479 12.5694 16.4104 13.5833C15.9729 14.5972 15.3792 15.4792 14.6292 16.2292C13.8792 16.9792 12.9972 17.5729 11.9833 18.0104C10.9694 18.4479 9.88611 18.6667 8.73333 18.6667ZM8.73333 17C10.5944 17 12.1708 16.3542 13.4625 15.0625C14.7542 13.7708 15.4 12.1944 15.4 10.3333C15.4 8.47222 14.7542 6.89583 13.4625 5.60417C12.1708 4.3125 10.5944 3.66667 8.73333 3.66667C6.87222 3.66667 5.29583 4.3125 4.00416 5.60417C2.71249 6.89583 2.06666 8.47222 2.06666 10.3333C2.06666 12.1944 2.71249 13.7708 4.00416 15.0625C5.29583 16.3542 6.87222 17 8.73333 17Z",
|
53
|
+
fill: "#44C633"
|
54
|
+
}));
|
55
|
+
};
|
56
|
+
exports.StartIcon = StartIcon;
|
57
|
+
const SmallStartIcon = () => {
|
58
|
+
return /*#__PURE__*/React.createElement("svg", {
|
59
|
+
width: "16",
|
60
|
+
height: "17",
|
61
|
+
viewBox: "0 0 16 17",
|
62
|
+
fill: "none",
|
63
|
+
xmlns: "http://www.w3.org/2000/svg"
|
64
|
+
}, /*#__PURE__*/React.createElement("path", {
|
65
|
+
d: "M5.31999 11.5866L9.98666 8.58665L5.31999 5.58665V11.5866ZM6.98666 15.2533C6.06444 15.2533 5.19777 15.0783 4.38666 14.7283C3.57555 14.3783 2.86999 13.9033 2.26999 13.3033C1.66999 12.7033 1.19499 11.9978 0.844992 11.1867C0.494992 10.3755 0.319992 9.50887 0.319992 8.58665C0.319992 7.66443 0.494992 6.79776 0.844992 5.98665C1.19499 5.17554 1.66999 4.46998 2.26999 3.86998C2.86999 3.26998 3.57555 2.79498 4.38666 2.44498C5.19777 2.09498 6.06444 1.91998 6.98666 1.91998C7.90888 1.91998 8.77555 2.09498 9.58666 2.44498C10.3978 2.79498 11.1033 3.26998 11.7033 3.86998C12.3033 4.46998 12.7783 5.17554 13.1283 5.98665C13.4783 6.79776 13.6533 7.66443 13.6533 8.58665C13.6533 9.50887 13.4783 10.3755 13.1283 11.1867C12.7783 11.9978 12.3033 12.7033 11.7033 13.3033C11.1033 13.9033 10.3978 14.3783 9.58666 14.7283C8.77555 15.0783 7.90888 15.2533 6.98666 15.2533ZM6.98666 13.92C8.47555 13.92 9.73666 13.4033 10.77 12.37C11.8033 11.3366 12.32 10.0755 12.32 8.58665C12.32 7.09776 11.8033 5.83665 10.77 4.80332C9.73666 3.76998 8.47555 3.25332 6.98666 3.25332C5.49777 3.25332 4.23666 3.76998 3.20333 4.80332C2.16999 5.83665 1.65333 7.09776 1.65333 8.58665C1.65333 10.0755 2.16999 11.3366 3.20333 12.37C4.23666 13.4033 5.49777 13.92 6.98666 13.92Z",
|
66
|
+
fill: "#44C633"
|
67
|
+
}));
|
68
|
+
};
|
69
|
+
exports.SmallStartIcon = SmallStartIcon;
|
70
|
+
const SettingIcon = () => {
|
71
|
+
return /*#__PURE__*/React.createElement("svg", {
|
72
|
+
width: "21",
|
73
|
+
height: "21",
|
74
|
+
viewBox: "0 0 21 21",
|
75
|
+
fill: "none",
|
76
|
+
xmlns: "http://www.w3.org/2000/svg"
|
77
|
+
}, /*#__PURE__*/React.createElement("path", {
|
78
|
+
d: "M8.20833 18.4333L7.875 15.7667C7.69444 15.6972 7.52431 15.6139 7.36458 15.5167C7.20486 15.4194 7.04861 15.3153 6.89583 15.2042L4.41667 16.2458L2.125 12.2875L4.27083 10.6625C4.25694 10.5653 4.25 10.4715 4.25 10.3812V9.81875C4.25 9.72847 4.25694 9.63472 4.27083 9.5375L2.125 7.9125L4.41667 3.95416L6.89583 4.99583C7.04861 4.88472 7.20833 4.78055 7.375 4.68333C7.54167 4.58611 7.70833 4.50277 7.875 4.43333L8.20833 1.76666H12.7917L13.125 4.43333C13.3056 4.50277 13.4757 4.58611 13.6354 4.68333C13.7951 4.78055 13.9514 4.88472 14.1042 4.99583L16.5833 3.95416L18.875 7.9125L16.7292 9.5375C16.7431 9.63472 16.75 9.72847 16.75 9.81875V10.3812C16.75 10.4715 16.7361 10.5653 16.7083 10.6625L18.8542 12.2875L16.5625 16.2458L14.1042 15.2042C13.9514 15.3153 13.7917 15.4194 13.625 15.5167C13.4583 15.6139 13.2917 15.6972 13.125 15.7667L12.7917 18.4333H8.20833ZM9.66667 16.7667H11.3125L11.6042 14.5583C12.0347 14.4472 12.434 14.284 12.8021 14.0687C13.1701 13.8535 13.5069 13.5931 13.8125 13.2875L15.875 14.1417L16.6875 12.725L14.8958 11.3708C14.9653 11.1764 15.0139 10.9715 15.0417 10.7562C15.0694 10.541 15.0833 10.3222 15.0833 10.1C15.0833 9.87777 15.0694 9.65902 15.0417 9.44375C15.0139 9.22847 14.9653 9.02361 14.8958 8.82916L16.6875 7.475L15.875 6.05833L13.8125 6.93333C13.5069 6.61388 13.1701 6.34652 12.8021 6.13125C12.434 5.91597 12.0347 5.75277 11.6042 5.64166L11.3333 3.43333H9.6875L9.39583 5.64166C8.96528 5.75277 8.56597 5.91597 8.19792 6.13125C7.82986 6.34652 7.49306 6.60694 7.1875 6.9125L5.125 6.05833L4.3125 7.475L6.10417 8.80833C6.03472 9.01666 5.98611 9.225 5.95833 9.43333C5.93056 9.64166 5.91667 9.86388 5.91667 10.1C5.91667 10.3222 5.93056 10.5375 5.95833 10.7458C5.98611 10.9542 6.03472 11.1625 6.10417 11.3708L4.3125 12.725L5.125 14.1417L7.1875 13.2667C7.49306 13.5861 7.82986 13.8535 8.19792 14.0687C8.56597 14.284 8.96528 14.4472 9.39583 14.5583L9.66667 16.7667ZM10.5417 13.0167C11.3472 13.0167 12.0347 12.7319 12.6042 12.1625C13.1736 11.5931 13.4583 10.9056 13.4583 10.1C13.4583 9.29444 13.1736 8.60694 12.6042 8.0375C12.0347 7.46805 11.3472 7.18333 10.5417 7.18333C9.72222 7.18333 9.03125 7.46805 8.46875 8.0375C7.90625 8.60694 7.625 9.29444 7.625 10.1C7.625 10.9056 7.90625 11.5931 8.46875 12.1625C9.03125 12.7319 9.72222 13.0167 10.5417 13.0167Z",
|
79
|
+
fill: "#EAE5DC"
|
80
|
+
}));
|
81
|
+
};
|
82
|
+
exports.SettingIcon = SettingIcon;
|
83
|
+
const DarkSettingIcon = _ref2 => {
|
84
|
+
let {
|
85
|
+
fill = "#494A48"
|
86
|
+
} = _ref2;
|
87
|
+
return /*#__PURE__*/React.createElement("svg", {
|
88
|
+
width: "21",
|
89
|
+
height: "21",
|
90
|
+
viewBox: "0 0 21 21",
|
91
|
+
fill: "none",
|
92
|
+
xmlns: "http://www.w3.org/2000/svg"
|
93
|
+
}, /*#__PURE__*/React.createElement("path", {
|
94
|
+
d: "M8.20833 18.4333L7.875 15.7667C7.69444 15.6972 7.52431 15.6139 7.36458 15.5167C7.20486 15.4194 7.04861 15.3153 6.89583 15.2042L4.41667 16.2458L2.125 12.2875L4.27083 10.6625C4.25694 10.5653 4.25 10.4715 4.25 10.3812V9.81875C4.25 9.72847 4.25694 9.63472 4.27083 9.5375L2.125 7.9125L4.41667 3.95416L6.89583 4.99583C7.04861 4.88472 7.20833 4.78055 7.375 4.68333C7.54167 4.58611 7.70833 4.50277 7.875 4.43333L8.20833 1.76666H12.7917L13.125 4.43333C13.3056 4.50277 13.4757 4.58611 13.6354 4.68333C13.7951 4.78055 13.9514 4.88472 14.1042 4.99583L16.5833 3.95416L18.875 7.9125L16.7292 9.5375C16.7431 9.63472 16.75 9.72847 16.75 9.81875V10.3812C16.75 10.4715 16.7361 10.5653 16.7083 10.6625L18.8542 12.2875L16.5625 16.2458L14.1042 15.2042C13.9514 15.3153 13.7917 15.4194 13.625 15.5167C13.4583 15.6139 13.2917 15.6972 13.125 15.7667L12.7917 18.4333H8.20833ZM9.66667 16.7667H11.3125L11.6042 14.5583C12.0347 14.4472 12.434 14.284 12.8021 14.0687C13.1701 13.8535 13.5069 13.5931 13.8125 13.2875L15.875 14.1417L16.6875 12.725L14.8958 11.3708C14.9653 11.1764 15.0139 10.9715 15.0417 10.7562C15.0694 10.541 15.0833 10.3222 15.0833 10.1C15.0833 9.87777 15.0694 9.65902 15.0417 9.44375C15.0139 9.22847 14.9653 9.02361 14.8958 8.82916L16.6875 7.475L15.875 6.05833L13.8125 6.93333C13.5069 6.61388 13.1701 6.34652 12.8021 6.13125C12.434 5.91597 12.0347 5.75277 11.6042 5.64166L11.3333 3.43333H9.6875L9.39583 5.64166C8.96528 5.75277 8.56597 5.91597 8.19792 6.13125C7.82986 6.34652 7.49306 6.60694 7.1875 6.9125L5.125 6.05833L4.3125 7.475L6.10417 8.80833C6.03472 9.01666 5.98611 9.225 5.95833 9.43333C5.93056 9.64166 5.91667 9.86388 5.91667 10.1C5.91667 10.3222 5.93056 10.5375 5.95833 10.7458C5.98611 10.9542 6.03472 11.1625 6.10417 11.3708L4.3125 12.725L5.125 14.1417L7.1875 13.2667C7.49306 13.5861 7.82986 13.8535 8.19792 14.0687C8.56597 14.284 8.96528 14.4472 9.39583 14.5583L9.66667 16.7667ZM10.5417 13.0167C11.3472 13.0167 12.0347 12.7319 12.6042 12.1625C13.1736 11.5931 13.4583 10.9056 13.4583 10.1C13.4583 9.29444 13.1736 8.60694 12.6042 8.0375C12.0347 7.46805 11.3472 7.18333 10.5417 7.18333C9.72222 7.18333 9.03125 7.46805 8.46875 8.0375C7.90625 8.60694 7.625 9.29444 7.625 10.1C7.625 10.9056 7.90625 11.5931 8.46875 12.1625C9.03125 12.7319 9.72222 13.0167 10.5417 13.0167Z",
|
95
|
+
fill: fill
|
96
|
+
}));
|
97
|
+
};
|
98
|
+
exports.DarkSettingIcon = DarkSettingIcon;
|
99
|
+
const StopIcon = () => {
|
100
|
+
return /*#__PURE__*/React.createElement("svg", {
|
101
|
+
width: "7",
|
102
|
+
height: "7",
|
103
|
+
viewBox: "0 0 7 7",
|
104
|
+
fill: "none",
|
105
|
+
xmlns: "http://www.w3.org/2000/svg"
|
106
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
107
|
+
cx: "3.5",
|
108
|
+
cy: "3.29999",
|
109
|
+
r: "3",
|
110
|
+
fill: "#494A48"
|
111
|
+
}));
|
112
|
+
};
|
113
|
+
exports.StopIcon = StopIcon;
|
114
|
+
const RedStopIcon = () => {
|
115
|
+
return /*#__PURE__*/React.createElement("svg", {
|
116
|
+
width: "7",
|
117
|
+
height: "7",
|
118
|
+
viewBox: "0 0 7 7",
|
119
|
+
fill: "none",
|
120
|
+
xmlns: "http://www.w3.org/2000/svg"
|
121
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
122
|
+
cx: "3.5",
|
123
|
+
cy: "3.3",
|
124
|
+
r: "3",
|
125
|
+
fill: "#F31515"
|
126
|
+
}));
|
127
|
+
};
|
128
|
+
exports.RedStopIcon = RedStopIcon;
|
129
|
+
const LanguageIcon = _ref3 => {
|
130
|
+
let {
|
131
|
+
fill = "#EAE5DC"
|
132
|
+
} = _ref3;
|
133
|
+
return /*#__PURE__*/React.createElement("svg", {
|
134
|
+
width: "20",
|
135
|
+
height: "21",
|
136
|
+
viewBox: "0 0 20 21",
|
137
|
+
fill: "none",
|
138
|
+
xmlns: "http://www.w3.org/2000/svg"
|
139
|
+
}, /*#__PURE__*/React.createElement("path", {
|
140
|
+
d: "M10 18.7333C8.86111 18.7333 7.78472 18.5146 6.77083 18.0771C5.75695 17.6396 4.87153 17.0423 4.11458 16.2854C3.35764 15.5285 2.76042 14.643 2.32292 13.6291C1.88542 12.6153 1.66667 11.5389 1.66667 10.4C1.66667 9.24721 1.88542 8.16734 2.32292 7.1604C2.76042 6.15346 3.35764 5.27151 4.11458 4.51457C4.87153 3.75762 5.75695 3.1604 6.77083 2.7229C7.78472 2.2854 8.86111 2.06665 10 2.06665C11.1528 2.06665 12.2326 2.2854 13.2396 2.7229C14.2465 3.1604 15.1285 3.75762 15.8854 4.51457C16.6424 5.27151 17.2396 6.15346 17.6771 7.1604C18.1146 8.16734 18.3333 9.24721 18.3333 10.4C18.3333 11.5389 18.1146 12.6153 17.6771 13.6291C17.2396 14.643 16.6424 15.5285 15.8854 16.2854C15.1285 17.0423 14.2465 17.6396 13.2396 18.0771C12.2326 18.5146 11.1528 18.7333 10 18.7333ZM10 17.025C10.3611 16.525 10.6736 16.0041 10.9375 15.4625C11.2014 14.9208 11.4167 14.3444 11.5833 13.7333H8.41667C8.58333 14.3444 8.79861 14.9208 9.0625 15.4625C9.32639 16.0041 9.63889 16.525 10 17.025ZM7.83333 16.6916C7.58333 16.2333 7.36458 15.7576 7.17708 15.2646C6.98958 14.7715 6.83333 14.2611 6.70833 13.7333H4.25C4.65278 14.4278 5.15625 15.0319 5.76042 15.5458C6.36458 16.0597 7.05556 16.4416 7.83333 16.6916ZM12.1667 16.6916C12.9444 16.4416 13.6354 16.0597 14.2396 15.5458C14.8438 15.0319 15.3472 14.4278 15.75 13.7333H13.2917C13.1667 14.2611 13.0104 14.7715 12.8229 15.2646C12.6354 15.7576 12.4167 16.2333 12.1667 16.6916ZM3.54167 12.0666H6.375C6.33333 11.7889 6.30208 11.5146 6.28125 11.2437C6.26042 10.9729 6.25 10.6916 6.25 10.4C6.25 10.1083 6.26042 9.82707 6.28125 9.55623C6.30208 9.2854 6.33333 9.01109 6.375 8.73332H3.54167C3.47222 9.01109 3.42014 9.2854 3.38542 9.55623C3.3507 9.82707 3.33333 10.1083 3.33333 10.4C3.33333 10.6916 3.3507 10.9729 3.38542 11.2437C3.42014 11.5146 3.47222 11.7889 3.54167 12.0666ZM8.04167 12.0666H11.9583C12 11.7889 12.0313 11.5146 12.0521 11.2437C12.0729 10.9729 12.0833 10.6916 12.0833 10.4C12.0833 10.1083 12.0729 9.82707 12.0521 9.55623C12.0313 9.2854 12 9.01109 11.9583 8.73332H8.04167C8 9.01109 7.96875 9.2854 7.94792 9.55623C7.92708 9.82707 7.91667 10.1083 7.91667 10.4C7.91667 10.6916 7.92708 10.9729 7.94792 11.2437C7.96875 11.5146 8 11.7889 8.04167 12.0666ZM13.625 12.0666H16.4583C16.5278 11.7889 16.5799 11.5146 16.6146 11.2437C16.6493 10.9729 16.6667 10.6916 16.6667 10.4C16.6667 10.1083 16.6493 9.82707 16.6146 9.55623C16.5799 9.2854 16.5278 9.01109 16.4583 8.73332H13.625C13.6667 9.01109 13.6979 9.2854 13.7188 9.55623C13.7396 9.82707 13.75 10.1083 13.75 10.4C13.75 10.6916 13.7396 10.9729 13.7188 11.2437C13.6979 11.5146 13.6667 11.7889 13.625 12.0666ZM13.2917 7.06665H15.75C15.3472 6.37221 14.8438 5.76804 14.2396 5.25415C13.6354 4.74026 12.9444 4.35832 12.1667 4.10832C12.4167 4.56665 12.6354 5.04234 12.8229 5.5354C13.0104 6.02846 13.1667 6.53887 13.2917 7.06665ZM8.41667 7.06665H11.5833C11.4167 6.45554 11.2014 5.87915 10.9375 5.33748C10.6736 4.79582 10.3611 4.27498 10 3.77498C9.63889 4.27498 9.32639 4.79582 9.0625 5.33748C8.79861 5.87915 8.58333 6.45554 8.41667 7.06665ZM4.25 7.06665H6.70833C6.83333 6.53887 6.98958 6.02846 7.17708 5.5354C7.36458 5.04234 7.58333 4.56665 7.83333 4.10832C7.05556 4.35832 6.36458 4.74026 5.76042 5.25415C5.15625 5.76804 4.65278 6.37221 4.25 7.06665Z",
|
141
|
+
fill: fill
|
142
|
+
}));
|
143
|
+
};
|
144
|
+
exports.LanguageIcon = LanguageIcon;
|
145
|
+
const BoxIcon = () => {
|
146
|
+
return /*#__PURE__*/React.createElement("svg", {
|
147
|
+
width: "64",
|
148
|
+
height: "65",
|
149
|
+
viewBox: "0 0 64 65",
|
150
|
+
fill: "none",
|
151
|
+
xmlns: "http://www.w3.org/2000/svg"
|
152
|
+
}, /*#__PURE__*/React.createElement("g", {
|
153
|
+
clipPath: "url(#clip0_37_175)"
|
154
|
+
}, /*#__PURE__*/React.createElement("path", {
|
155
|
+
d: "M63.0347 17.692L57.9787 9.29999L32 1.07599L6.01867 9.29732L1.01867 17.6013C-0.0773352 19.428 -0.280002 21.62 0.458665 23.6173C1.19733 25.6147 2.77867 27.148 4.8 27.82L5.344 28.0013L5.32267 55.8707L31.9813 64.756L58.6347 55.8707L58.656 28.0013L59.304 27.7853C61.2987 27.1187 62.8613 25.6067 63.592 23.6333C64.3227 21.66 64.12 19.4947 63.0373 17.6893L63.0347 17.692ZM52.784 10.452L32.0213 17.3827L11.2587 10.4387L32 3.87332L52.784 10.452ZM2.95733 22.6947C2.50133 21.46 2.62667 20.1027 3.30133 18.9747L7.50667 11.996L29.984 19.5133L24.7893 28.172C23.7573 29.892 21.7093 30.6493 19.808 30.0147L5.64 25.292C4.392 24.876 3.41333 23.9267 2.95733 22.692V22.6947ZM8.008 28.892L18.9653 32.5453C22.0667 33.5827 25.3973 32.3427 27.0773 29.5453L30.6613 23.5693L30.6427 61.5053L7.98667 53.9533L8.00533 28.8947L8.008 28.892ZM55.9653 53.9506L33.3093 61.5027L33.328 23.5613L36.9173 29.5453C38.2 31.6813 40.448 32.908 42.816 32.908C43.5493 32.908 44.296 32.7907 45.0267 32.5453L55.984 28.8947L55.9653 53.9533V53.9506ZM61.0853 22.7133C60.6373 23.924 59.68 24.852 58.456 25.26L44.184 30.0173C42.2853 30.652 40.2373 29.892 39.2027 28.1747L34.016 19.5293L56.5013 12.0227L60.7467 19.068C61.4107 20.1747 61.5333 21.5027 61.0853 22.7133Z",
|
156
|
+
fill: "#EAE5DC"
|
157
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
158
|
+
id: "clip0_37_175"
|
159
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
160
|
+
width: "64",
|
161
|
+
height: "64",
|
162
|
+
fill: "white",
|
163
|
+
transform: "translate(0 0.899994)"
|
164
|
+
}))));
|
165
|
+
};
|
166
|
+
exports.BoxIcon = BoxIcon;
|
167
|
+
const ThreeDotsIcon = () => {
|
168
|
+
return /*#__PURE__*/React.createElement("svg", {
|
169
|
+
width: "24",
|
170
|
+
height: "24",
|
171
|
+
viewBox: "0 0 24 24",
|
172
|
+
fill: "none",
|
173
|
+
xmlns: "http://www.w3.org/2000/svg"
|
174
|
+
}, /*#__PURE__*/React.createElement("path", {
|
175
|
+
d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
|
176
|
+
fill: "#EAE5DC"
|
177
|
+
}));
|
178
|
+
};
|
179
|
+
exports.ThreeDotsIcon = ThreeDotsIcon;
|
180
|
+
const PauseIcon = () => {
|
181
|
+
return /*#__PURE__*/React.createElement("svg", {
|
182
|
+
width: "24",
|
183
|
+
height: "24",
|
184
|
+
viewBox: "0 0 24 24",
|
185
|
+
fill: "none",
|
186
|
+
xmlns: "http://www.w3.org/2000/svg"
|
187
|
+
}, /*#__PURE__*/React.createElement("g", {
|
188
|
+
clipPath: "url(#clip0_46_1840)"
|
189
|
+
}, /*#__PURE__*/React.createElement("path", {
|
190
|
+
d: "M7.2 16.8H16.8V7.2H7.2V16.8ZM12 24C10.34 24 8.78 23.685 7.32 23.055C5.86 22.425 4.59 21.57 3.51 20.49C2.43 19.41 1.575 18.14 0.945 16.68C0.315 15.22 0 13.66 0 12C0 10.34 0.315 8.78 0.945 7.32C1.575 5.86 2.43 4.59 3.51 3.51C4.59 2.43 5.86 1.575 7.32 0.945C8.78 0.315 10.34 0 12 0C13.66 0 15.22 0.315 16.68 0.945C18.14 1.575 19.41 2.43 20.49 3.51C21.57 4.59 22.425 5.86 23.055 7.32C23.685 8.78 24 10.34 24 12C24 13.66 23.685 15.22 23.055 16.68C22.425 18.14 21.57 19.41 20.49 20.49C19.41 21.57 18.14 22.425 16.68 23.055C15.22 23.685 13.66 24 12 24ZM12 21.6C14.68 21.6 16.95 20.67 18.81 18.81C20.67 16.95 21.6 14.68 21.6 12C21.6 9.32 20.67 7.05 18.81 5.19C16.95 3.33 14.68 2.4 12 2.4C9.32 2.4 7.05 3.33 5.19 5.19C3.33 7.05 2.4 9.32 2.4 12C2.4 14.68 3.33 16.95 5.19 18.81C7.05 20.67 9.32 21.6 12 21.6Z",
|
191
|
+
fill: "#F31515"
|
192
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
193
|
+
id: "clip0_46_1840"
|
194
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
195
|
+
width: "24",
|
196
|
+
height: "24",
|
197
|
+
fill: "white"
|
198
|
+
}))));
|
199
|
+
};
|
200
|
+
exports.PauseIcon = PauseIcon;
|
201
|
+
const SmallPauseIcon = () => {
|
202
|
+
return /*#__PURE__*/React.createElement("svg", {
|
203
|
+
width: "20",
|
204
|
+
height: "21",
|
205
|
+
viewBox: "0 0 20 21",
|
206
|
+
fill: "none",
|
207
|
+
xmlns: "http://www.w3.org/2000/svg"
|
208
|
+
}, /*#__PURE__*/React.createElement("path", {
|
209
|
+
d: "M6.66663 13.4333H13.3333V6.76667H6.66663V13.4333ZM9.99996 18.4333C8.84718 18.4333 7.76385 18.2146 6.74996 17.7771C5.73607 17.3396 4.85413 16.7458 4.10413 15.9958C3.35413 15.2458 2.76038 14.3639 2.32288 13.35C1.88538 12.3361 1.66663 11.2528 1.66663 10.1C1.66663 8.94723 1.88538 7.86389 2.32288 6.85C2.76038 5.83611 3.35413 4.95417 4.10413 4.20417C4.85413 3.45417 5.73607 2.86042 6.74996 2.42292C7.76385 1.98542 8.84718 1.76667 9.99996 1.76667C11.1527 1.76667 12.2361 1.98542 13.25 2.42292C14.2638 2.86042 15.1458 3.45417 15.8958 4.20417C16.6458 4.95417 17.2395 5.83611 17.677 6.85C18.1145 7.86389 18.3333 8.94723 18.3333 10.1C18.3333 11.2528 18.1145 12.3361 17.677 13.35C17.2395 14.3639 16.6458 15.2458 15.8958 15.9958C15.1458 16.7458 14.2638 17.3396 13.25 17.7771C12.2361 18.2146 11.1527 18.4333 9.99996 18.4333ZM9.99996 16.7667C11.8611 16.7667 13.4375 16.1208 14.7291 14.8292C16.0208 13.5375 16.6666 11.9611 16.6666 10.1C16.6666 8.23889 16.0208 6.6625 14.7291 5.37084C13.4375 4.07917 11.8611 3.43334 9.99996 3.43334C8.13885 3.43334 6.56246 4.07917 5.27079 5.37084C3.97913 6.6625 3.33329 8.23889 3.33329 10.1C3.33329 11.9611 3.97913 13.5375 5.27079 14.8292C6.56246 16.1208 8.13885 16.7667 9.99996 16.7667Z",
|
210
|
+
fill: "#F31515"
|
211
|
+
}));
|
212
|
+
};
|
213
|
+
exports.SmallPauseIcon = SmallPauseIcon;
|
214
|
+
const RecognitionIcon = () => {
|
215
|
+
return /*#__PURE__*/React.createElement("svg", {
|
216
|
+
width: "18",
|
217
|
+
height: "19",
|
218
|
+
viewBox: "0 0 18 19",
|
219
|
+
fill: "none",
|
220
|
+
xmlns: "http://www.w3.org/2000/svg"
|
221
|
+
}, /*#__PURE__*/React.createElement("path", {
|
222
|
+
d: "M14.9625 12.6625L13.8 11.5C14.35 10.9875 14.7813 10.3813 15.0938 9.68125C15.4063 8.98125 15.5625 8.2375 15.5625 7.45C15.5625 6.6625 15.4063 5.925 15.0938 5.2375C14.7813 4.55 14.35 3.95 13.8 3.4375L14.9625 2.2375C15.6625 2.9 16.2188 3.68125 16.6313 4.58125C17.0438 5.48125 17.25 6.4375 17.25 7.45C17.25 8.4625 17.0438 9.41875 16.6313 10.3188C16.2188 11.2188 15.6625 12 14.9625 12.6625ZM12.5625 10.2625L11.3625 9.0625C11.5875 8.85 11.7688 8.60938 11.9062 8.34063C12.0438 8.07188 12.1125 7.775 12.1125 7.45C12.1125 7.125 12.0438 6.82813 11.9062 6.55938C11.7688 6.29063 11.5875 6.05 11.3625 5.8375L12.5625 4.6375C12.9625 5 13.275 5.42188 13.5 5.90313C13.725 6.38438 13.8375 6.9 13.8375 7.45C13.8375 8 13.725 8.51563 13.5 8.99688C13.275 9.47813 12.9625 9.9 12.5625 10.2625ZM6.75 10.45C5.925 10.45 5.21875 10.1563 4.63125 9.56875C4.04375 8.98125 3.75 8.275 3.75 7.45C3.75 6.625 4.04375 5.91875 4.63125 5.33125C5.21875 4.74375 5.925 4.45 6.75 4.45C7.575 4.45 8.28125 4.74375 8.86875 5.33125C9.45625 5.91875 9.75 6.625 9.75 7.45C9.75 8.275 9.45625 8.98125 8.86875 9.56875C8.28125 10.1563 7.575 10.45 6.75 10.45ZM0.75 16.45V14.35C0.75 13.9375 0.85625 13.55 1.06875 13.1875C1.28125 12.825 1.575 12.55 1.95 12.3625C2.5875 12.0375 3.30625 11.7625 4.10625 11.5375C4.90625 11.3125 5.7875 11.2 6.75 11.2C7.7125 11.2 8.59375 11.3125 9.39375 11.5375C10.1938 11.7625 10.9125 12.0375 11.55 12.3625C11.925 12.55 12.2188 12.825 12.4313 13.1875C12.6438 13.55 12.75 13.9375 12.75 14.35V16.45H0.75ZM2.25 14.95H11.25V14.35C11.25 14.2125 11.2156 14.0875 11.1469 13.975C11.0781 13.8625 10.9875 13.775 10.875 13.7125C10.425 13.4875 9.84688 13.2625 9.14062 13.0375C8.43438 12.8125 7.6375 12.7 6.75 12.7C5.8625 12.7 5.06563 12.8125 4.35938 13.0375C3.65313 13.2625 3.075 13.4875 2.625 13.7125C2.5125 13.775 2.42188 13.8625 2.35313 13.975C2.28438 14.0875 2.25 14.2125 2.25 14.35V14.95ZM6.75 8.95C7.1625 8.95 7.51563 8.80313 7.80938 8.50938C8.10313 8.21563 8.25 7.8625 8.25 7.45C8.25 7.0375 8.10313 6.68438 7.80938 6.39063C7.51563 6.09688 7.1625 5.95 6.75 5.95C6.3375 5.95 5.98438 6.09688 5.69063 6.39063C5.39688 6.68438 5.25 7.0375 5.25 7.45C5.25 7.8625 5.39688 8.21563 5.69063 8.50938C5.98438 8.80313 6.3375 8.95 6.75 8.95Z",
|
223
|
+
fill: "#494A48"
|
224
|
+
}));
|
225
|
+
};
|
226
|
+
exports.RecognitionIcon = RecognitionIcon;
|
227
|
+
const CloseIcon = () => {
|
228
|
+
return /*#__PURE__*/React.createElement("svg", {
|
229
|
+
width: "24",
|
230
|
+
height: "25",
|
231
|
+
viewBox: "0 0 24 25",
|
232
|
+
fill: "none",
|
233
|
+
xmlns: "http://www.w3.org/2000/svg"
|
234
|
+
}, /*#__PURE__*/React.createElement("path", {
|
235
|
+
d: "M6.4 19.7L5 18.3L10.6 12.7L5 7.1L6.4 5.7L12 11.3L17.6 5.7L19 7.1L13.4 12.7L19 18.3L17.6 19.7L12 14.1L6.4 19.7Z",
|
236
|
+
fill: "#494A48"
|
237
|
+
}));
|
238
|
+
};
|
239
|
+
exports.CloseIcon = CloseIcon;
|
240
|
+
const SmallCloseIcon = () => {
|
241
|
+
return /*#__PURE__*/React.createElement("svg", {
|
242
|
+
width: "21",
|
243
|
+
height: "20",
|
244
|
+
viewBox: "0 0 21 20",
|
245
|
+
fill: "none",
|
246
|
+
xmlns: "http://www.w3.org/2000/svg"
|
247
|
+
}, /*#__PURE__*/React.createElement("path", {
|
248
|
+
d: "M5.83329 15.8333L4.66663 14.6667L9.33329 9.99999L4.66663 5.33332L5.83329 4.16666L10.5 8.83332L15.1666 4.16666L16.3333 5.33332L11.6666 9.99999L16.3333 14.6667L15.1666 15.8333L10.5 11.1667L5.83329 15.8333Z",
|
249
|
+
fill: "#5F6368"
|
250
|
+
}));
|
251
|
+
};
|
252
|
+
exports.SmallCloseIcon = SmallCloseIcon;
|
253
|
+
const RocketIcon = () => {
|
254
|
+
return /*#__PURE__*/React.createElement("svg", {
|
255
|
+
width: "20",
|
256
|
+
height: "21",
|
257
|
+
viewBox: "0 0 20 21",
|
258
|
+
fill: "none",
|
259
|
+
xmlns: "http://www.w3.org/2000/svg"
|
260
|
+
}, /*#__PURE__*/React.createElement("path", {
|
261
|
+
d: "M4.70833 8.45415L6.33333 9.14165C6.52777 8.75276 6.72916 8.37776 6.9375 8.01665C7.14583 7.65554 7.375 7.29443 7.625 6.93332L6.45833 6.70415L4.70833 8.45415ZM7.66666 10.1833L10.0417 12.5375C10.625 12.3153 11.25 11.975 11.9167 11.5167C12.5833 11.0583 13.2083 10.5375 13.7917 9.95415C14.7639 8.98193 15.5243 7.90207 16.0729 6.71457C16.6215 5.52707 16.8611 4.43332 16.7917 3.43332C15.7917 3.36388 14.6944 3.60346 13.5 4.15207C12.3056 4.70068 11.2222 5.4611 10.25 6.43332C9.66666 7.01665 9.14583 7.64165 8.6875 8.30832C8.22916 8.97499 7.88888 9.59999 7.66666 10.1833ZM11.375 8.82915C11.0556 8.50971 10.8958 8.11735 10.8958 7.65207C10.8958 7.18679 11.0556 6.79443 11.375 6.47499C11.6944 6.15554 12.0903 5.99582 12.5625 5.99582C13.0347 5.99582 13.4306 6.15554 13.75 6.47499C14.0694 6.79443 14.2292 7.18679 14.2292 7.65207C14.2292 8.11735 14.0694 8.50971 13.75 8.82915C13.4306 9.1486 13.0347 9.30832 12.5625 9.30832C12.0903 9.30832 11.6944 9.1486 11.375 8.82915ZM11.7708 15.5167L13.5208 13.7667L13.2917 12.6C12.9306 12.85 12.5694 13.0757 12.2083 13.2771C11.8472 13.4785 11.4722 13.6764 11.0833 13.8708L11.7708 15.5167ZM18.2917 1.91249C18.5556 3.59304 18.3924 5.22846 17.8021 6.81874C17.2118 8.40901 16.1944 9.92638 14.75 11.3708L15.1667 13.4333C15.2222 13.7111 15.2083 13.9819 15.125 14.2458C15.0417 14.5097 14.9028 14.7389 14.7083 14.9333L11.2083 18.4333L9.45833 14.3292L5.89583 10.7667L1.79166 9.01665L5.27083 5.51665C5.46527 5.32221 5.69791 5.18332 5.96875 5.09999C6.23958 5.01665 6.51388 5.00276 6.79166 5.05832L8.85416 5.47499C10.2986 4.03054 11.8125 3.00971 13.3958 2.41249C14.9792 1.81527 16.6111 1.6486 18.2917 1.91249ZM3.27083 13.4125C3.75694 12.9264 4.35069 12.6798 5.05208 12.6729C5.75347 12.666 6.34722 12.9055 6.83333 13.3917C7.31944 13.8778 7.55902 14.4715 7.55208 15.1729C7.54513 15.8743 7.29861 16.468 6.8125 16.9542C6.46527 17.3014 5.88541 17.6 5.07291 17.85C4.26041 18.1 3.13888 18.3222 1.70833 18.5167C1.90277 17.0861 2.12499 15.9646 2.37499 15.1521C2.62499 14.3396 2.92361 13.7597 3.27083 13.4125ZM4.45833 14.5792C4.31944 14.718 4.18055 14.9715 4.04166 15.3396C3.90277 15.7076 3.80555 16.0792 3.74999 16.4542C4.12499 16.3986 4.49652 16.3048 4.86458 16.1729C5.23263 16.041 5.48611 15.9055 5.62499 15.7667C5.79166 15.6 5.88194 15.3986 5.89583 15.1625C5.90972 14.9264 5.83333 14.725 5.66666 14.5583C5.49999 14.3917 5.29861 14.3118 5.06249 14.3187C4.82638 14.3257 4.62499 14.4125 4.45833 14.5792Z",
|
262
|
+
fill: "#5F6368"
|
263
|
+
}));
|
264
|
+
};
|
265
|
+
exports.RocketIcon = RocketIcon;
|
266
|
+
const HistoryIcon = () => {
|
267
|
+
return /*#__PURE__*/React.createElement("svg", {
|
268
|
+
width: "20",
|
269
|
+
height: "21",
|
270
|
+
viewBox: "0 0 20 21",
|
271
|
+
fill: "none",
|
272
|
+
xmlns: "http://www.w3.org/2000/svg"
|
273
|
+
}, /*#__PURE__*/React.createElement("path", {
|
274
|
+
d: "M10 17.8C8.08333 17.8 6.41319 17.1646 4.98958 15.8938C3.56597 14.6229 2.75 13.0361 2.54167 11.1333H4.25C4.44444 12.5778 5.08681 13.7722 6.17708 14.7167C7.26736 15.6611 8.54167 16.1333 10 16.1333C11.625 16.1333 13.0035 15.5674 14.1354 14.4354C15.2674 13.3035 15.8333 11.925 15.8333 10.3C15.8333 8.67501 15.2674 7.29653 14.1354 6.16459C13.0035 5.03265 11.625 4.46667 10 4.46667C9.04167 4.46667 8.14583 4.6889 7.3125 5.13334C6.47917 5.57778 5.77778 6.1889 5.20833 6.96667H7.5V8.63334H2.5V3.63334H4.16667V5.59167C4.875 4.70278 5.73958 4.01528 6.76042 3.52917C7.78125 3.04306 8.86111 2.80001 10 2.80001C11.0417 2.80001 12.0174 2.99792 12.9271 3.39376C13.8368 3.78959 14.6285 4.32431 15.3021 4.99792C15.9757 5.67153 16.5104 6.4632 16.9062 7.37292C17.3021 8.28265 17.5 9.25834 17.5 10.3C17.5 11.3417 17.3021 12.3174 16.9062 13.2271C16.5104 14.1368 15.9757 14.9285 15.3021 15.6021C14.6285 16.2757 13.8368 16.8104 12.9271 17.2063C12.0174 17.6021 11.0417 17.8 10 17.8ZM12.3333 13.8L9.16667 10.6333V6.13334H10.8333V9.96667L13.5 12.6333L12.3333 13.8Z",
|
275
|
+
fill: "#494A48"
|
276
|
+
}));
|
277
|
+
};
|
278
|
+
exports.HistoryIcon = HistoryIcon;
|
279
|
+
const BookIcon = () => {
|
280
|
+
return /*#__PURE__*/React.createElement("svg", {
|
281
|
+
width: "20",
|
282
|
+
height: "21",
|
283
|
+
viewBox: "0 0 20 21",
|
284
|
+
fill: "none",
|
285
|
+
xmlns: "http://www.w3.org/2000/svg"
|
286
|
+
}, /*#__PURE__*/React.createElement("path", {
|
287
|
+
d: "M11.6667 9.05001V7.63335C12.125 7.4389 12.5937 7.29307 13.0729 7.19585C13.5521 7.09862 14.0556 7.05001 14.5833 7.05001C14.9444 7.05001 15.2986 7.07779 15.6458 7.13335C15.9931 7.1889 16.3333 7.25835 16.6667 7.34168V8.67501C16.3333 8.55001 15.9965 8.45626 15.6562 8.39376C15.316 8.33126 14.9583 8.30001 14.5833 8.30001C14.0556 8.30001 13.5486 8.36599 13.0625 8.49793C12.5764 8.62987 12.1111 8.8139 11.6667 9.05001ZM11.6667 13.6333V12.2167C12.125 12.0222 12.5937 11.8764 13.0729 11.7792C13.5521 11.682 14.0556 11.6333 14.5833 11.6333C14.9444 11.6333 15.2986 11.6611 15.6458 11.7167C15.9931 11.7722 16.3333 11.8417 16.6667 11.925V13.2583C16.3333 13.1333 15.9965 13.0396 15.6562 12.9771C15.316 12.9146 14.9583 12.8833 14.5833 12.8833C14.0556 12.8833 13.5486 12.9458 13.0625 13.0708C12.5764 13.1958 12.1111 13.3833 11.6667 13.6333ZM11.6667 11.3417V9.92501C12.125 9.73057 12.5937 9.58473 13.0729 9.48751C13.5521 9.39029 14.0556 9.34168 14.5833 9.34168C14.9444 9.34168 15.2986 9.36946 15.6458 9.42501C15.9931 9.48057 16.3333 9.55001 16.6667 9.63335V10.9667C16.3333 10.8417 15.9965 10.7479 15.6562 10.6854C15.316 10.6229 14.9583 10.5917 14.5833 10.5917C14.0556 10.5917 13.5486 10.6577 13.0625 10.7896C12.5764 10.9215 12.1111 11.1056 11.6667 11.3417ZM5.41666 14.1333C6.06944 14.1333 6.70486 14.2063 7.32291 14.3521C7.94097 14.4979 8.55555 14.7167 9.16666 15.0083V6.80001C8.59722 6.46668 7.99305 6.21668 7.35416 6.05001C6.71527 5.88335 6.06944 5.80001 5.41666 5.80001C4.91666 5.80001 4.42013 5.84862 3.92708 5.94585C3.43402 6.04307 2.95833 6.1889 2.49999 6.38335V14.6333C2.98611 14.4667 3.46874 14.3417 3.94791 14.2583C4.42708 14.175 4.91666 14.1333 5.41666 14.1333ZM10.8333 15.0083C11.4444 14.7167 12.059 14.4979 12.6771 14.3521C13.2951 14.2063 13.9306 14.1333 14.5833 14.1333C15.0833 14.1333 15.5729 14.175 16.0521 14.2583C16.5312 14.3417 17.0139 14.4667 17.5 14.6333V6.38335C17.0417 6.1889 16.566 6.04307 16.0729 5.94585C15.5799 5.84862 15.0833 5.80001 14.5833 5.80001C13.9306 5.80001 13.2847 5.88335 12.6458 6.05001C12.0069 6.21668 11.4028 6.46668 10.8333 6.80001V15.0083ZM10 17.4667C9.33333 16.9389 8.61111 16.5292 7.83333 16.2375C7.05555 15.9458 6.25 15.8 5.41666 15.8C4.83333 15.8 4.26041 15.8764 3.69791 16.0292C3.13541 16.182 2.59722 16.3972 2.08333 16.675C1.79166 16.8278 1.51041 16.8208 1.23958 16.6542C0.968745 16.4875 0.833328 16.2445 0.833328 15.925V5.88335C0.833328 5.73057 0.871523 5.58474 0.947912 5.44585C1.0243 5.30696 1.13888 5.20279 1.29166 5.13335C1.93055 4.80001 2.59722 4.55001 3.29166 4.38335C3.98611 4.21668 4.69444 4.13335 5.41666 4.13335C6.22222 4.13335 7.01041 4.23751 7.78125 4.44585C8.55208 4.65418 9.29166 4.96668 10 5.38335C10.7083 4.96668 11.4479 4.65418 12.2187 4.44585C12.9896 4.23751 13.7778 4.13335 14.5833 4.13335C15.3056 4.13335 16.0139 4.21668 16.7083 4.38335C17.4028 4.55001 18.0694 4.80001 18.7083 5.13335C18.8611 5.20279 18.9757 5.30696 19.0521 5.44585C19.1285 5.58474 19.1667 5.73057 19.1667 5.88335V15.925C19.1667 16.2445 19.0312 16.4875 18.7604 16.6542C18.4896 16.8208 18.2083 16.8278 17.9167 16.675C17.4028 16.3972 16.8646 16.182 16.3021 16.0292C15.7396 15.8764 15.1667 15.8 14.5833 15.8C13.75 15.8 12.9444 15.9458 12.1667 16.2375C11.3889 16.5292 10.6667 16.9389 10 17.4667Z",
|
288
|
+
fill: "#FFB900"
|
289
|
+
}));
|
290
|
+
};
|
291
|
+
exports.BookIcon = BookIcon;
|
292
|
+
const RedirectIcon = () => {
|
293
|
+
return /*#__PURE__*/React.createElement("svg", {
|
294
|
+
width: "20",
|
295
|
+
height: "21",
|
296
|
+
viewBox: "0 0 20 21",
|
297
|
+
fill: "none",
|
298
|
+
xmlns: "http://www.w3.org/2000/svg"
|
299
|
+
}, /*#__PURE__*/React.createElement("path", {
|
300
|
+
d: "M4.16667 18.3C3.70833 18.3 3.31597 18.1368 2.98958 17.8104C2.66319 17.484 2.5 17.0917 2.5 16.6334V4.96669C2.5 4.50835 2.66319 4.11599 2.98958 3.7896C3.31597 3.46321 3.70833 3.30002 4.16667 3.30002H10V4.96669H4.16667V16.6334H15.8333V10.8H17.5V16.6334C17.5 17.0917 17.3368 17.484 17.0104 17.8104C16.684 18.1368 16.2917 18.3 15.8333 18.3H4.16667ZM8.08333 13.8834L6.91667 12.7167L14.6667 4.96669H11.6667V3.30002H17.5V9.13335H15.8333V6.13335L8.08333 13.8834Z",
|
301
|
+
fill: "#5F6368"
|
302
|
+
}));
|
303
|
+
};
|
304
|
+
exports.RedirectIcon = RedirectIcon;
|
305
|
+
const CommandIcon = () => {
|
306
|
+
return /*#__PURE__*/React.createElement("svg", {
|
307
|
+
width: "16",
|
308
|
+
height: "17",
|
309
|
+
viewBox: "0 0 16 17",
|
310
|
+
fill: "none",
|
311
|
+
xmlns: "http://www.w3.org/2000/svg"
|
312
|
+
}, /*#__PURE__*/React.createElement("path", {
|
313
|
+
d: "M4.66667 15.1667C5.35556 15.1667 5.91944 14.9944 6.35833 14.65C6.79722 14.3055 7.13333 13.8 7.36667 13.1333C7.55556 12.5778 7.73611 12.1889 7.90833 11.9667C8.08056 11.7444 8.47778 11.3889 9.1 10.9C9.78889 10.3444 10.3333 9.71665 10.7333 9.01665C11.1333 8.31665 11.3333 7.47777 11.3333 6.49999C11.3333 5.17777 10.8861 4.06943 9.99167 3.17499C9.09722 2.28054 7.98889 1.83332 6.66667 1.83332C5.34444 1.83332 4.23611 2.28054 3.34167 3.17499C2.44722 4.06943 2 5.17777 2 6.49999H3.33333C3.33333 5.55554 3.65278 4.76388 4.29167 4.12499C4.93056 3.4861 5.72222 3.16665 6.66667 3.16665C7.61111 3.16665 8.40278 3.4861 9.04167 4.12499C9.68056 4.76388 10 5.55554 10 6.49999C10 7.25554 9.85 7.89999 9.55 8.43332C9.25 8.96665 8.82222 9.44443 8.26667 9.86666C7.68889 10.2889 7.23889 10.7 6.91667 11.1C6.59444 11.5 6.35556 11.9333 6.2 12.4C6.04444 12.8889 5.85833 13.25 5.64167 13.4833C5.425 13.7167 5.1 13.8333 4.66667 13.8333C4.3 13.8333 3.98611 13.7028 3.725 13.4417C3.46389 13.1805 3.33333 12.8667 3.33333 12.5H2C2 13.2333 2.26111 13.8611 2.78333 14.3833C3.30556 14.9055 3.93333 15.1667 4.66667 15.1667ZM11.8667 11.6667C12.5222 11 13.0417 10.225 13.425 9.34165C13.8083 8.45832 14 7.5111 14 6.49999C14 5.47777 13.8083 4.52221 13.425 3.63332C13.0417 2.74443 12.5222 1.96665 11.8667 1.29999L10.9 2.23332C11.4556 2.78888 11.8889 3.43054 12.2 4.15832C12.5111 4.8861 12.6667 5.66665 12.6667 6.49999C12.6667 7.32221 12.5111 8.09443 12.2 8.81665C11.8889 9.53888 11.4556 10.1778 10.9 10.7333L11.8667 11.6667ZM6.66667 8.16665C7.13333 8.16665 7.52778 8.00277 7.85 7.67499C8.17222 7.34721 8.33333 6.95554 8.33333 6.49999C8.33333 6.03332 8.17222 5.63888 7.85 5.31665C7.52778 4.99443 7.13333 4.83332 6.66667 4.83332C6.2 4.83332 5.80556 4.99443 5.48333 5.31665C5.16111 5.63888 5 6.03332 5 6.49999C5 6.95554 5.16111 7.34721 5.48333 7.67499C5.80556 8.00277 6.2 8.16665 6.66667 8.16665Z",
|
314
|
+
fill: "#494A48"
|
315
|
+
}));
|
316
|
+
};
|
317
|
+
exports.CommandIcon = CommandIcon;
|
318
|
+
const EditIcon = () => {
|
319
|
+
return /*#__PURE__*/React.createElement("svg", {
|
320
|
+
width: "20",
|
321
|
+
height: "20",
|
322
|
+
viewBox: "0 0 20 20",
|
323
|
+
fill: "none",
|
324
|
+
xmlns: "http://www.w3.org/2000/svg"
|
325
|
+
}, /*#__PURE__*/React.createElement("path", {
|
326
|
+
d: "M4.16667 15.8333H5.35417L13.5 7.6875L12.3125 6.5L4.16667 14.6458V15.8333ZM2.5 17.5V13.9583L13.5 2.97917C13.6667 2.82639 13.8507 2.70833 14.0521 2.625C14.2535 2.54167 14.4653 2.5 14.6875 2.5C14.9097 2.5 15.125 2.54167 15.3333 2.625C15.5417 2.70833 15.7222 2.83333 15.875 3L17.0208 4.16667C17.1875 4.31944 17.309 4.5 17.3854 4.70833C17.4618 4.91667 17.5 5.125 17.5 5.33333C17.5 5.55556 17.4618 5.76736 17.3854 5.96875C17.309 6.17014 17.1875 6.35417 17.0208 6.52083L6.04167 17.5H2.5ZM12.8958 7.10417L12.3125 6.5L13.5 7.6875L12.8958 7.10417Z",
|
327
|
+
fill: "#EAE5DC"
|
328
|
+
}));
|
329
|
+
};
|
330
|
+
exports.EditIcon = EditIcon;
|
331
|
+
const DeleteIcon = () => {
|
332
|
+
return /*#__PURE__*/React.createElement("svg", {
|
333
|
+
width: "20",
|
334
|
+
height: "20",
|
335
|
+
viewBox: "0 0 20 20",
|
336
|
+
fill: "none",
|
337
|
+
xmlns: "http://www.w3.org/2000/svg"
|
338
|
+
}, /*#__PURE__*/React.createElement("path", {
|
339
|
+
d: "M5.8335 17.5C5.37516 17.5 4.9828 17.3368 4.65641 17.0104C4.33002 16.684 4.16683 16.2917 4.16683 15.8333V5H3.3335V3.33333H7.50016V2.5H12.5002V3.33333H16.6668V5H15.8335V15.8333C15.8335 16.2917 15.6703 16.684 15.3439 17.0104C15.0175 17.3368 14.6252 17.5 14.1668 17.5H5.8335ZM14.1668 5H5.8335V15.8333H14.1668V5ZM7.50016 14.1667H9.16683V6.66667H7.50016V14.1667ZM10.8335 14.1667H12.5002V6.66667H10.8335V14.1667Z",
|
340
|
+
fill: "#F31515"
|
341
|
+
}));
|
342
|
+
};
|
343
|
+
exports.DeleteIcon = DeleteIcon;
|
package/dist/index.js
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
var _react = require("react");
|
8
|
+
var _recorder = _interopRequireDefault(require("./recorder"));
|
9
|
+
var _recognition = _interopRequireDefault(require("./recognition"));
|
10
|
+
var _LocalizationProvider = require("@mui/x-date-pickers/LocalizationProvider");
|
11
|
+
var _AdapterDayjs = require("@mui/x-date-pickers/AdapterDayjs");
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
13
|
+
const VoiceAssistant = _ref => {
|
14
|
+
let {
|
15
|
+
recordListValue = [],
|
16
|
+
recognitionListValue = [],
|
17
|
+
onNewRecordEvent,
|
18
|
+
onRecordDataChange,
|
19
|
+
onNewRecognitionEvent,
|
20
|
+
onRecognitionDataChange
|
21
|
+
} = _ref;
|
22
|
+
const [mode, setMode] = (0, _react.useState)("recorder");
|
23
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_LocalizationProvider.LocalizationProvider, {
|
24
|
+
dateAdapter: _AdapterDayjs.AdapterDayjs
|
25
|
+
}, mode === 'recorder' && /*#__PURE__*/React.createElement(_recorder.default, {
|
26
|
+
mode: mode,
|
27
|
+
setMode: setMode,
|
28
|
+
recordHistoryList: recordListValue,
|
29
|
+
onNewRecordEvent: onNewRecordEvent,
|
30
|
+
onRecordDataChange: onRecordDataChange
|
31
|
+
}), mode === 'recognition' && /*#__PURE__*/React.createElement(_recognition.default, {
|
32
|
+
mode: mode,
|
33
|
+
setMode: setMode,
|
34
|
+
recognitionHistoryList: recognitionListValue,
|
35
|
+
onNewRecognitionEvent: onNewRecognitionEvent,
|
36
|
+
onRecognitionDataChange: onRecognitionDataChange
|
37
|
+
})));
|
38
|
+
};
|
39
|
+
var _default = exports.default = VoiceAssistant;
|