@zelloptt/react-native-zello-sdk 1.0.0 → 1.0.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/android/build.gradle +1 -1
- package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModule.kt +32 -22
- package/ios/Extensions/ZelloContact+Extension.swift +2 -0
- package/ios/Extensions/ZelloIOSSdkModule+Extension.swift +8 -5
- package/ios/ZelloIOSSdkModule.swift +43 -23
- package/ios/ZelloIOSSdkModuleBridge.m +11 -11
- package/lib/commonjs/docs/assets/icons.js +1 -1
- package/lib/commonjs/docs/assets/icons.js.map +1 -1
- package/lib/commonjs/docs/assets/icons.svg +1 -1
- package/lib/commonjs/docs/assets/main.js +4 -1
- package/lib/commonjs/docs/assets/main.js.map +1 -1
- package/lib/commonjs/docs/assets/style.css +66 -21
- package/lib/commonjs/docs/classes/sdk.Zello.html +49 -49
- package/lib/commonjs/docs/classes/types.ZelloAlertMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloChannel.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloChannelUser.html +3 -3
- package/lib/commonjs/docs/classes/types.ZelloDispatchCall.html +5 -5
- package/lib/commonjs/docs/classes/types.ZelloDispatchChannel.html +10 -10
- package/lib/commonjs/docs/classes/types.ZelloGroupConversation.html +12 -12
- package/lib/commonjs/docs/classes/types.ZelloHistoryAlertMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloHistoryImageMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloHistoryLocationMessage.html +12 -12
- package/lib/commonjs/docs/classes/types.ZelloHistoryTextMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloHistoryVoiceMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloImageMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloIncomingEmergency.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloIncomingVoiceMessage.html +7 -7
- package/lib/commonjs/docs/classes/types.ZelloLocationMessage.html +11 -11
- package/lib/commonjs/docs/classes/types.ZelloOutgoingEmergency.html +6 -6
- package/lib/commonjs/docs/classes/types.ZelloOutgoingVoiceMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloRecentEntry.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloTextMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloUser.html +10 -10
- package/lib/commonjs/docs/classes/types.ZelloUserSupportedFeatures.html +4 -4
- package/lib/commonjs/docs/enums/events.ZelloEvent.html +95 -95
- package/lib/commonjs/docs/enums/types.ZelloAccountStatus.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloChannelAlertLevel.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloChannelConnectionStatus.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloConnectionError.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloConnectionState.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloContactType.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloDispatchCallStatus.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageError.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageState.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloRecentEntryType.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloUserStatus.html +7 -7
- package/lib/commonjs/docs/index.html +2 -2
- package/lib/commonjs/docs/modules/events.html +2 -2
- package/lib/commonjs/docs/modules/index.html +2 -2
- package/lib/commonjs/docs/modules/sdk.html +2 -2
- package/lib/commonjs/docs/modules/types.html +2 -2
- package/lib/commonjs/docs/modules.html +5 -0
- package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloConfig.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloContact.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloCredentials.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloMessage.html +2 -2
- package/lib/commonjs/sdk/index.js +22 -33
- package/lib/commonjs/sdk/index.js.map +1 -1
- package/lib/module/docs/assets/icons.js +1 -1
- package/lib/module/docs/assets/icons.js.map +1 -1
- package/lib/module/docs/assets/icons.svg +1 -1
- package/lib/module/docs/assets/main.js +4 -1
- package/lib/module/docs/assets/main.js.map +1 -1
- package/lib/module/docs/assets/style.css +66 -21
- package/lib/module/docs/classes/sdk.Zello.html +49 -49
- package/lib/module/docs/classes/types.ZelloAlertMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloChannel.html +9 -9
- package/lib/module/docs/classes/types.ZelloChannelUser.html +3 -3
- package/lib/module/docs/classes/types.ZelloDispatchCall.html +5 -5
- package/lib/module/docs/classes/types.ZelloDispatchChannel.html +10 -10
- package/lib/module/docs/classes/types.ZelloGroupConversation.html +12 -12
- package/lib/module/docs/classes/types.ZelloHistoryAlertMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloHistoryImageMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloHistoryLocationMessage.html +12 -12
- package/lib/module/docs/classes/types.ZelloHistoryTextMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloHistoryVoiceMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloImageMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloIncomingEmergency.html +8 -8
- package/lib/module/docs/classes/types.ZelloIncomingVoiceMessage.html +7 -7
- package/lib/module/docs/classes/types.ZelloLocationMessage.html +11 -11
- package/lib/module/docs/classes/types.ZelloOutgoingEmergency.html +6 -6
- package/lib/module/docs/classes/types.ZelloOutgoingVoiceMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloRecentEntry.html +8 -8
- package/lib/module/docs/classes/types.ZelloTextMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloUser.html +10 -10
- package/lib/module/docs/classes/types.ZelloUserSupportedFeatures.html +4 -4
- package/lib/module/docs/enums/events.ZelloEvent.html +95 -95
- package/lib/module/docs/enums/types.ZelloAccountStatus.html +5 -5
- package/lib/module/docs/enums/types.ZelloChannelAlertLevel.html +5 -5
- package/lib/module/docs/enums/types.ZelloChannelConnectionStatus.html +3 -3
- package/lib/module/docs/enums/types.ZelloConnectionError.html +3 -3
- package/lib/module/docs/enums/types.ZelloConnectionState.html +3 -3
- package/lib/module/docs/enums/types.ZelloContactType.html +3 -3
- package/lib/module/docs/enums/types.ZelloDispatchCallStatus.html +3 -3
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageError.html +3 -3
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageState.html +3 -3
- package/lib/module/docs/enums/types.ZelloRecentEntryType.html +3 -3
- package/lib/module/docs/enums/types.ZelloUserStatus.html +7 -7
- package/lib/module/docs/index.html +2 -2
- package/lib/module/docs/modules/events.html +2 -2
- package/lib/module/docs/modules/index.html +2 -2
- package/lib/module/docs/modules/sdk.html +2 -2
- package/lib/module/docs/modules/types.html +2 -2
- package/lib/module/docs/modules.html +5 -0
- package/lib/module/docs/types/types.ZelloChannelOptions.html +2 -2
- package/lib/module/docs/types/types.ZelloConfig.html +2 -2
- package/lib/module/docs/types/types.ZelloConsoleSettings.html +2 -2
- package/lib/module/docs/types/types.ZelloContact.html +2 -2
- package/lib/module/docs/types/types.ZelloCredentials.html +2 -2
- package/lib/module/docs/types/types.ZelloHistoryMessage.html +2 -2
- package/lib/module/docs/types/types.ZelloMessage.html +2 -2
- package/lib/module/sdk/index.js +22 -33
- package/lib/module/sdk/index.js.map +1 -1
- package/lib/typescript/commonjs/src/sdk/index.d.ts.map +1 -1
- package/lib/typescript/module/src/sdk/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/sdk/index.ts +22 -33
package/android/build.gradle
CHANGED
|
@@ -45,6 +45,7 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
45
45
|
|
|
46
46
|
init {
|
|
47
47
|
zello.listener = this
|
|
48
|
+
zello.framework = Zello.Framework.REACT_NATIVE
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
override fun getName() = "ZelloAndroidSdkModule"
|
|
@@ -61,8 +62,8 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
61
62
|
zello.disconnect()
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
@ReactMethod fun setSelectedContact(name: String,
|
|
65
|
-
val contact = (
|
|
65
|
+
@ReactMethod fun setSelectedContact(name: String, type: String) {
|
|
66
|
+
val contact = contactFrom(name, type) ?: return
|
|
66
67
|
zello.setSelectedContact(contact)
|
|
67
68
|
}
|
|
68
69
|
|
|
@@ -85,8 +86,8 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
85
86
|
zello.disconnectChannel(channel)
|
|
86
87
|
}
|
|
87
88
|
|
|
88
|
-
@ReactMethod fun startVoiceMessage(name: String,
|
|
89
|
-
val contact = (
|
|
89
|
+
@ReactMethod fun startVoiceMessage(name: String, type: String) {
|
|
90
|
+
val contact = contactFrom(name, type) ?: return
|
|
90
91
|
zello.startVoiceMessage(contact)
|
|
91
92
|
}
|
|
92
93
|
|
|
@@ -95,8 +96,8 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
@ReactMethod
|
|
98
|
-
fun sendImage(name: String,
|
|
99
|
-
val contact = (
|
|
99
|
+
fun sendImage(name: String, type: String, data: ReadableArray) {
|
|
100
|
+
val contact = contactFrom(name, type) ?: return
|
|
100
101
|
val byteArray = ByteArray(data.size())
|
|
101
102
|
for (i in 0 until data.size()) {
|
|
102
103
|
byteArray[i] = data.getInt(i).toByte()
|
|
@@ -105,20 +106,20 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
@ReactMethod
|
|
108
|
-
fun sendLocation(name: String,
|
|
109
|
-
val contact = (
|
|
109
|
+
fun sendLocation(name: String, type: String) {
|
|
110
|
+
val contact = contactFrom(name, type) ?: return
|
|
110
111
|
zello.sendLocation(contact)
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
@ReactMethod
|
|
114
|
-
fun sendText(name: String,
|
|
115
|
-
val contact = (
|
|
115
|
+
fun sendText(name: String, type: String, text: String) {
|
|
116
|
+
val contact = contactFrom(name, type) ?: return
|
|
116
117
|
zello.sendText(text, contact)
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
@ReactMethod
|
|
120
|
-
fun sendAlert(name: String,
|
|
121
|
-
val contact = (
|
|
121
|
+
fun sendAlert(name: String, type: String, text: String, level: String?) {
|
|
122
|
+
val contact = contactFrom(name, type) ?: return
|
|
122
123
|
val channelAlertLevel = when (level) {
|
|
123
124
|
"all" -> ZelloAlertMessage.ChannelLevel.ALL
|
|
124
125
|
"connected" -> ZelloAlertMessage.ChannelLevel.CONNECTED
|
|
@@ -133,14 +134,14 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
@ReactMethod
|
|
136
|
-
fun muteContact(name: String,
|
|
137
|
-
val contact = (
|
|
137
|
+
fun muteContact(name: String, type: String) {
|
|
138
|
+
val contact = contactFrom(name, type) ?: return
|
|
138
139
|
zello.muteContact(contact)
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
@ReactMethod
|
|
142
|
-
fun unmuteContact(name: String,
|
|
143
|
-
val contact = (
|
|
143
|
+
fun unmuteContact(name: String, type: String) {
|
|
144
|
+
val contact = contactFrom(name, type) ?: return
|
|
144
145
|
zello.unmuteContact(contact)
|
|
145
146
|
}
|
|
146
147
|
|
|
@@ -155,15 +156,15 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
@ReactMethod
|
|
158
|
-
fun getHistory(name: String,
|
|
159
|
-
val contact = (
|
|
159
|
+
fun getHistory(name: String, type: String, size: Int?, callback: Callback) {
|
|
160
|
+
val contact = contactFrom(name, type) ?: return
|
|
160
161
|
val messages = if (size != null) zello.getHistory(contact, size) else zello.getHistory(contact)
|
|
161
162
|
callback.invoke(ZelloAndroidSdkModuleHelper.historyMessagesToWritableArray(messages))
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
@ReactMethod
|
|
165
|
-
fun playHistoryMessage(historyId: String, contactName: String,
|
|
166
|
-
val contact = (
|
|
166
|
+
fun playHistoryMessage(historyId: String, contactName: String, type: String) {
|
|
167
|
+
val contact = contactFrom(name, type) ?: return
|
|
167
168
|
val message = zello.getHistoryMessage(historyId, contact) as? ZelloHistoryVoiceMessage ?: return
|
|
168
169
|
zello.playHistoryMessage(message)
|
|
169
170
|
}
|
|
@@ -174,8 +175,8 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
@ReactMethod
|
|
177
|
-
fun getImageDataForHistoryImageMessage(historyId: String, contactName: String,
|
|
178
|
-
val contact = (
|
|
178
|
+
fun getImageDataForHistoryImageMessage(historyId: String, contactName: String, type: String, callback: Callback) {
|
|
179
|
+
val contact = contactFrom(name, type) ?: return
|
|
179
180
|
val message = zello.getHistoryMessage(historyId, contact) as? ZelloHistoryImageMessage ?: return
|
|
180
181
|
zello.loadBitmapForHistoryImageMessage(message) {
|
|
181
182
|
callback.invoke(ZelloAndroidSdkModuleHelper.bitmapToBase64String(it))
|
|
@@ -539,6 +540,15 @@ class ZelloAndroidSdkModule @Inject constructor(
|
|
|
539
540
|
})
|
|
540
541
|
}
|
|
541
542
|
|
|
543
|
+
private fun contactFrom(name: String, type: String): ZelloContact? {
|
|
544
|
+
return when (type) {
|
|
545
|
+
"channel", "dispatchChannel" -> zello.getChannel(name)
|
|
546
|
+
"groupConversation" -> zello.getGroupConversation(name)
|
|
547
|
+
"user" -> zello.getUser(name)
|
|
548
|
+
else -> null
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
542
552
|
private fun sendEvent(reactContext: ReactContext, name: String, params: WritableMap?) {
|
|
543
553
|
reactContext
|
|
544
554
|
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
|
|
@@ -6,6 +6,8 @@ extension ZelloContact {
|
|
|
6
6
|
return user.jsonDictionary
|
|
7
7
|
} else if let channel = self.asZelloChannel() {
|
|
8
8
|
return channel.jsonDictionary
|
|
9
|
+
} else if let groupConversation = self.asZelloGroupConversation() {
|
|
10
|
+
return groupConversation.jsonDictionary
|
|
9
11
|
}
|
|
10
12
|
return [:]
|
|
11
13
|
}
|
|
@@ -18,11 +18,14 @@ extension ZelloIOSSdkModule: Zello.Delegate {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
func zelloDidUpdateContactList(_ zello: Zello) {
|
|
21
|
-
let users = zello.users.map {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
let
|
|
25
|
-
|
|
21
|
+
let users = zello.users.map { user in
|
|
22
|
+
user.jsonDictionary
|
|
23
|
+
}
|
|
24
|
+
let channels = zello.channels.map { channel in
|
|
25
|
+
channel.jsonDictionary
|
|
26
|
+
}
|
|
27
|
+
let groupConversations = zello.groupConversations.map { conversation in
|
|
28
|
+
conversation.jsonDictionary
|
|
26
29
|
}
|
|
27
30
|
var body: [AnyHashable: Any] = [
|
|
28
31
|
"users": users,
|
|
@@ -42,15 +42,15 @@ import ZelloSDK
|
|
|
42
42
|
zello.setAccountStatus(status: accountStatus)
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
@objc func selectContact(_ name: String,
|
|
46
|
-
guard let contact =
|
|
45
|
+
@objc func selectContact(_ name: String, contactType: String) {
|
|
46
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
47
47
|
return
|
|
48
48
|
}
|
|
49
49
|
zello.setSelectedContact(contact: contact)
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
@objc func startVoiceMessage(_ name: String,
|
|
53
|
-
guard let contact =
|
|
52
|
+
@objc func startVoiceMessage(_ name: String, contactType: String) {
|
|
53
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
54
54
|
return
|
|
55
55
|
}
|
|
56
56
|
zello.startVoiceMessage(contact: contact)
|
|
@@ -60,8 +60,8 @@ import ZelloSDK
|
|
|
60
60
|
zello.stopVoiceMessage()
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
@objc func sendImage(_ name: String,
|
|
64
|
-
guard let contact =
|
|
63
|
+
@objc func sendImage(_ name: String, contactType: String, data: [Int]) {
|
|
64
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
65
65
|
return
|
|
66
66
|
}
|
|
67
67
|
let byteArray = data.map { UInt8($0) }
|
|
@@ -72,26 +72,26 @@ import ZelloSDK
|
|
|
72
72
|
zello.send(image, to: contact)
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
@objc func sendLocation(_ name: String,
|
|
76
|
-
guard let contact =
|
|
75
|
+
@objc func sendLocation(_ name: String, contactType: String) {
|
|
76
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
77
77
|
return
|
|
78
78
|
}
|
|
79
79
|
zello.sendLocation(to: contact)
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
@objc func sendText(_ name: String,
|
|
83
|
-
guard let contact =
|
|
82
|
+
@objc func sendText(_ name: String, contactType: String, text: String) {
|
|
83
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
84
84
|
return
|
|
85
85
|
}
|
|
86
86
|
zello.send(textMessage: text, to: contact)
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
@objc func sendAlert(_ name: String,
|
|
90
|
-
guard let contact =
|
|
89
|
+
@objc func sendAlert(_ name: String, contactType: String, text: String, level: String?) {
|
|
90
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
91
91
|
return
|
|
92
92
|
}
|
|
93
93
|
var alertLevel: ZelloAlertMessage.ChannelLevel? = nil
|
|
94
|
-
if
|
|
94
|
+
if contact.isZelloChannel || contact.isZelloGroupConversation {
|
|
95
95
|
switch level {
|
|
96
96
|
case "all":
|
|
97
97
|
alertLevel = .all
|
|
@@ -136,15 +136,15 @@ import ZelloSDK
|
|
|
136
136
|
zello.submitReport()
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
@objc func muteContact(_ name: String,
|
|
140
|
-
guard let contact =
|
|
139
|
+
@objc func muteContact(_ name: String, contactType: String) {
|
|
140
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
141
141
|
return
|
|
142
142
|
}
|
|
143
143
|
zello.muteContact(contact: contact)
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
@objc func unmuteContact(_ name: String,
|
|
147
|
-
guard let contact =
|
|
146
|
+
@objc func unmuteContact(_ name: String, contactType: String) {
|
|
147
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
148
148
|
return
|
|
149
149
|
}
|
|
150
150
|
zello.unmuteContact(contact: contact)
|
|
@@ -160,8 +160,8 @@ import ZelloSDK
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
@objc func getHistory(_ name: String,
|
|
164
|
-
guard let contact =
|
|
163
|
+
@objc func getHistory(_ name: String, contactType: String, maxMessages: Int, callback: RCTResponseSenderBlock) {
|
|
164
|
+
guard let contact = contactFromType(contactType, name: name) else {
|
|
165
165
|
callback(nil)
|
|
166
166
|
return
|
|
167
167
|
}
|
|
@@ -182,9 +182,9 @@ import ZelloSDK
|
|
|
182
182
|
}])
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
@objc func playHistoryMessage(_ historyId: String, contactName: String,
|
|
185
|
+
@objc func playHistoryMessage(_ historyId: String, contactName: String, contactType: String) {
|
|
186
186
|
guard
|
|
187
|
-
let contact =
|
|
187
|
+
let contact = contactFromType(contactType, name: contactName),
|
|
188
188
|
let message = zello.getHistoryMessage(historyId, contact: contact) as? ZelloHistoryVoiceMessage
|
|
189
189
|
else {
|
|
190
190
|
return
|
|
@@ -196,9 +196,9 @@ import ZelloSDK
|
|
|
196
196
|
zello.stopHistoryMessagePlayback()
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
@objc func getHistoryImageData(_ historyId: String, contactName: String,
|
|
199
|
+
@objc func getHistoryImageData(_ historyId: String, contactName: String, contactType: String, callback: RCTResponseSenderBlock) {
|
|
200
200
|
guard
|
|
201
|
-
let contact =
|
|
201
|
+
let contact = contactFromType(contactType, name: contactName),
|
|
202
202
|
let message = zello.getHistoryMessage(historyId, contact: contact) as? ZelloHistoryImageMessage,
|
|
203
203
|
let image = zello.loadHistoryImage(for: message),
|
|
204
204
|
let base64String = image.base64String
|
|
@@ -248,6 +248,26 @@ import ZelloSDK
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
extension ZelloIOSSdkModule {
|
|
251
|
+
func contactFromType(_ type: String, name: String) -> ZelloContact? {
|
|
252
|
+
if type == "user" {
|
|
253
|
+
guard let user = zello.user(named: name) else {
|
|
254
|
+
return nil
|
|
255
|
+
}
|
|
256
|
+
return ZelloContact.user(user)
|
|
257
|
+
} else if type == "channel" || type == "dispatchChannel" {
|
|
258
|
+
guard let user = zello.channel(named: name) else {
|
|
259
|
+
return nil
|
|
260
|
+
}
|
|
261
|
+
return ZelloContact.channel(user)
|
|
262
|
+
} else if type == "groupConversation" {
|
|
263
|
+
guard let user = zello.conversation(named: name) else {
|
|
264
|
+
return nil
|
|
265
|
+
}
|
|
266
|
+
return ZelloContact.conversation(user)
|
|
267
|
+
}
|
|
268
|
+
return nil
|
|
269
|
+
}
|
|
270
|
+
|
|
251
271
|
func sendSdkEvent(withName name: String, body: [AnyHashable: Any]?) {
|
|
252
272
|
var eventBody = body ?? [:]
|
|
253
273
|
eventBody[eventName] = name
|
|
@@ -9,18 +9,18 @@ RCT_EXTERN_METHOD(disconnect)
|
|
|
9
9
|
|
|
10
10
|
RCT_EXTERN_METHOD(setAccountStatus:(NSString *)status)
|
|
11
11
|
|
|
12
|
-
RCT_EXTERN_METHOD(selectContact:(NSString *)name
|
|
12
|
+
RCT_EXTERN_METHOD(selectContact:(NSString *)name contactType:(NSString *)contactType)
|
|
13
13
|
|
|
14
|
-
RCT_EXTERN_METHOD(startVoiceMessage:(NSString *)name
|
|
14
|
+
RCT_EXTERN_METHOD(startVoiceMessage:(NSString *)name contactType:(NSString *)contactType)
|
|
15
15
|
RCT_EXTERN_METHOD(stopVoiceMessage)
|
|
16
16
|
|
|
17
|
-
RCT_EXTERN_METHOD(sendImage:(NSString *)name
|
|
17
|
+
RCT_EXTERN_METHOD(sendImage:(NSString *)name contactType:(NSString *)contactType data:(NSArray)data)
|
|
18
18
|
|
|
19
|
-
RCT_EXTERN_METHOD(sendLocation:(NSString *)name
|
|
19
|
+
RCT_EXTERN_METHOD(sendLocation:(NSString *)name contactType:(NSString *)contactType)
|
|
20
20
|
|
|
21
|
-
RCT_EXTERN_METHOD(sendText:(NSString *)name
|
|
21
|
+
RCT_EXTERN_METHOD(sendText:(NSString *)name contactType:(NSString *)contactType text:(NSString *)text)
|
|
22
22
|
|
|
23
|
-
RCT_EXTERN_METHOD(sendAlert:(NSString *)name
|
|
23
|
+
RCT_EXTERN_METHOD(sendAlert:(NSString *)name contactType:(NSString *)contactType text:(NSString *)text level:(NSString *)level)
|
|
24
24
|
|
|
25
25
|
RCT_EXTERN_METHOD(connectChannel:(NSString *)name)
|
|
26
26
|
RCT_EXTERN_METHOD(disconnectChannel:(NSString *)name)
|
|
@@ -30,19 +30,19 @@ RCT_EXTERN_METHOD(disconnectGroupConversation:(NSString *)name)
|
|
|
30
30
|
|
|
31
31
|
RCT_EXTERN_METHOD(submitProblemReport)
|
|
32
32
|
|
|
33
|
-
RCT_EXTERN_METHOD(muteContact:(NSString *)name
|
|
34
|
-
RCT_EXTERN_METHOD(unmuteContact:(NSString *)name
|
|
33
|
+
RCT_EXTERN_METHOD(muteContact:(NSString *)name contactType:(NSString *)contactType)
|
|
34
|
+
RCT_EXTERN_METHOD(unmuteContact:(NSString *)name contactType:(NSString *)contactType)
|
|
35
35
|
|
|
36
36
|
RCT_EXTERN_METHOD(startEmergency)
|
|
37
37
|
RCT_EXTERN_METHOD(stopEmergency)
|
|
38
38
|
|
|
39
|
-
RCT_EXTERN_METHOD(getHistory:(NSString *)name
|
|
39
|
+
RCT_EXTERN_METHOD(getHistory:(NSString *)name contactType:(NSString *)contactType maxMessages:(NSInteger)maxMessages callback:(RCTResponseSenderBlock)callback)
|
|
40
40
|
|
|
41
|
-
RCT_EXTERN_METHOD(playHistoryMessage:(NSString *)historyId contactName:(NSString *)contactName
|
|
41
|
+
RCT_EXTERN_METHOD(playHistoryMessage:(NSString *)historyId contactName:(NSString *)contactName contactType:(NSString *)contactType)
|
|
42
42
|
|
|
43
43
|
RCT_EXTERN_METHOD(stopHistoryMessagePlayback)
|
|
44
44
|
|
|
45
|
-
RCT_EXTERN_METHOD(getHistoryImageData:(NSString *)historyId contactName:(NSString *)contactName
|
|
45
|
+
RCT_EXTERN_METHOD(getHistoryImageData:(NSString *)historyId contactName:(NSString *)contactName contactType:(NSString *)contactType callback:(RCTResponseSenderBlock)callback)
|
|
46
46
|
|
|
47
47
|
RCT_EXTERN_METHOD(endDispatchCall:(NSString *)channelName)
|
|
48
48
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
function addIcons() {
|
|
6
6
|
if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons);
|
|
7
7
|
const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg"));
|
|
8
|
-
svg.innerHTML = `"<g id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g><g id="icon-16"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-8192"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-32768"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-524288"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-text)" fill="var(--color-icon-background)"><polygon points="6,5 6,19 18,19, 18,9 15,5"></polygon><line x1="9" y1="9" x2="14" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-chevronDown"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></g><g id="icon-chevronSmall"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></g><g id="icon-checkbox"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></g><g id="icon-search"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></g><g id="icon-anchor"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g>"`;
|
|
8
|
+
svg.innerHTML = `<g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g>`;
|
|
9
9
|
svg.style.display = "none";
|
|
10
10
|
if (location.protocol === "file:") updateUseElements();
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["addIcons","document","readyState","addEventListener","svg","body","appendChild","createElementNS","innerHTML","style","display","location","protocol","updateUseElements","querySelectorAll","forEach","el","getAttribute","includes","setAttribute","replace"],"sourceRoot":"../../../../src","sources":["docs/assets/icons.js"],"mappings":";;AAAA,CAAC,YAAW;EACRA,QAAQ,CAAC,CAAC;EACV,SAASA,QAAQA,CAAA,EAAG;IAChB,IAAIC,QAAQ,CAACC,UAAU,KAAK,SAAS,EAAE,OAAOD,QAAQ,CAACE,gBAAgB,CAAC,kBAAkB,EAAEH,QAAQ,CAAC;IACrG,MAAMI,GAAG,GAAGH,QAAQ,CAACI,IAAI,CAACC,WAAW,CAACL,QAAQ,CAACM,eAAe,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAC;IACpGH,GAAG,CAACI,SAAS,GAAG,
|
|
1
|
+
{"version":3,"names":["addIcons","document","readyState","addEventListener","svg","body","appendChild","createElementNS","innerHTML","style","display","location","protocol","updateUseElements","querySelectorAll","forEach","el","getAttribute","includes","setAttribute","replace"],"sourceRoot":"../../../../src","sources":["docs/assets/icons.js"],"mappings":";;AAAA,CAAC,YAAW;EACRA,QAAQ,CAAC,CAAC;EACV,SAASA,QAAQA,CAAA,EAAG;IAChB,IAAIC,QAAQ,CAACC,UAAU,KAAK,SAAS,EAAE,OAAOD,QAAQ,CAACE,gBAAgB,CAAC,kBAAkB,EAAEH,QAAQ,CAAC;IACrG,MAAMI,GAAG,GAAGH,QAAQ,CAACI,IAAI,CAACC,WAAW,CAACL,QAAQ,CAACM,eAAe,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAC;IACpGH,GAAG,CAACI,SAAS,GAAG,w9SAAw9S;IACx+SJ,GAAG,CAACK,KAAK,CAACC,OAAO,GAAG,MAAM;IAC1B,IAAIC,QAAQ,CAACC,QAAQ,KAAK,OAAO,EAAEC,iBAAiB,CAAC,CAAC;EAC1D;EAEA,SAASA,iBAAiBA,CAAA,EAAG;IACzBZ,QAAQ,CAACa,gBAAgB,CAAC,KAAK,CAAC,CAACC,OAAO,CAACC,EAAE,IAAI;MAC3C,IAAIA,EAAE,CAACC,YAAY,CAAC,MAAM,CAAC,CAACC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAC5CF,EAAE,CAACG,YAAY,CAAC,MAAM,EAAEH,EAAE,CAACC,YAAY,CAAC,MAAM,CAAC,CAACG,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;MACxE;IACJ,CAAC,CAAC;EACN;AACJ,CAAC,EAAE,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><g id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g><g id="icon-16"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-8192"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-32768"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-524288"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-text)" fill="var(--color-icon-background)"><polygon points="6,5 6,19 18,19, 18,9 15,5"></polygon><line x1="9" y1="9" x2="14" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-chevronDown"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></g><g id="icon-chevronSmall"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></g><g id="icon-checkbox"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></g><g id="icon-search"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></g><g id="icon-anchor"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg"><g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g></svg>
|
|
@@ -1404,7 +1404,10 @@ window.translations = {
|
|
|
1404
1404
|
if (t.path) {
|
|
1405
1405
|
let r = e.appendChild(document.createElement("a"));
|
|
1406
1406
|
r.href = K + t.path, n && (r.className = n), location.pathname === r.pathname && !r.href.includes("#") && r.classList.add("current"), t.kind && (r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon"><use href="#icon-${t.kind}"></use></svg>`), r.appendChild(document.createElement("span")).textContent = t.text;
|
|
1407
|
-
} else
|
|
1407
|
+
} else {
|
|
1408
|
+
let r = e.appendChild(document.createElement("span"));
|
|
1409
|
+
r.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon"><use href="#icon-folder"></use></svg>', r.appendChild(document.createElement("span")).textContent = t.text;
|
|
1410
|
+
}
|
|
1408
1411
|
}
|
|
1409
1412
|
G(X, "a[data-toggle]");
|
|
1410
1413
|
G(Z, ".tsd-accordion");
|