@n1xyz/nord-ts 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/dist/bridge/client.js +45 -6
  2. package/dist/gen/common.js +1 -1
  3. package/dist/gen/nord.d.ts +61 -29
  4. package/dist/gen/nord.js +723 -130
  5. package/dist/idl/bridge.d.ts +569 -2
  6. package/dist/idl/bridge.js +5 -927
  7. package/dist/idl/bridge.json +75 -62
  8. package/dist/idl/index.d.ts +71 -49
  9. package/dist/index.d.ts +1 -3
  10. package/dist/index.js +6 -13
  11. package/dist/nord/api/actions.d.ts +7 -2
  12. package/dist/nord/api/actions.js +7 -1
  13. package/dist/nord/api/core.d.ts +1 -1
  14. package/dist/nord/api/core.js +3 -3
  15. package/dist/nord/api/market.js +1 -3
  16. package/dist/nord/api/queries.js +2 -2
  17. package/dist/nord/client/Nord.d.ts +9 -14
  18. package/dist/nord/client/Nord.js +27 -38
  19. package/dist/nord/client/NordUser.d.ts +7 -23
  20. package/dist/nord/client/NordUser.js +79 -151
  21. package/dist/nord/utils/NordError.js +5 -2
  22. package/dist/types.d.ts +34 -50
  23. package/dist/utils.d.ts +2 -0
  24. package/dist/utils.js +14 -0
  25. package/dist/websocket/NordWebSocketClient.js +0 -2
  26. package/package.json +20 -18
  27. package/protoc-generate.sh +0 -0
  28. package/src/idl/bridge.json +75 -62
  29. package/src/index.ts +9 -12
  30. package/src/nord/api/actions.ts +14 -3
  31. package/src/nord/api/core.ts +4 -2
  32. package/src/nord/api/market.ts +1 -4
  33. package/src/nord/api/queries.ts +2 -2
  34. package/src/nord/client/Nord.ts +45 -50
  35. package/src/nord/client/NordUser.ts +107 -178
  36. package/src/nord/utils/NordError.ts +6 -2
  37. package/src/types.ts +34 -49
  38. package/src/utils.ts +18 -0
  39. package/src/websocket/NordWebSocketClient.ts +0 -2
  40. package/tsconfig.json +1 -1
  41. package/docs/.nojekyll +0 -1
  42. package/docs/assets/hierarchy.js +0 -1
  43. package/docs/assets/highlight.css +0 -92
  44. package/docs/assets/icons.js +0 -18
  45. package/docs/assets/icons.svg +0 -1
  46. package/docs/assets/main.js +0 -60
  47. package/docs/assets/navigation.js +0 -1
  48. package/docs/assets/search.js +0 -1
  49. package/docs/assets/style.css +0 -1611
  50. package/docs/classes/Nord.html +0 -189
  51. package/docs/classes/NordError.html +0 -24
  52. package/docs/classes/NordUser.html +0 -115
  53. package/docs/classes/NordWebSocketClient.html +0 -330
  54. package/docs/classes/SolanaBridgeClient.html +0 -86
  55. package/docs/classes/Subscriber.html +0 -10
  56. package/docs/enums/FillMode.html +0 -5
  57. package/docs/enums/KeyType.html +0 -4
  58. package/docs/enums/MetricPeriod.html +0 -9
  59. package/docs/enums/PdaSeedType.html +0 -9
  60. package/docs/enums/PeakTpsPeriodUnit.html +0 -15
  61. package/docs/enums/Side.html +0 -3
  62. package/docs/enums/WebSocketMessageType.html +0 -7
  63. package/docs/functions/actionQueryRollman.html +0 -6
  64. package/docs/functions/actionsQueryRollman.html +0 -6
  65. package/docs/functions/aggregateMetrics-1.html +0 -7
  66. package/docs/functions/assert.html +0 -1
  67. package/docs/functions/bigIntToProtoU128.html +0 -4
  68. package/docs/functions/bridgeToBN.html +0 -5
  69. package/docs/functions/bufferToHex.html +0 -4
  70. package/docs/functions/cancelOrder.html +0 -1
  71. package/docs/functions/checkPubKeyLength.html +0 -1
  72. package/docs/functions/checkedFetch.html +0 -6
  73. package/docs/functions/createSession.html +0 -1
  74. package/docs/functions/decodeLengthDelimited.html +0 -11
  75. package/docs/functions/encodeLengthDelimited.html +0 -6
  76. package/docs/functions/fillModeToProtoFillMode.html +0 -5
  77. package/docs/functions/findMarket.html +0 -1
  78. package/docs/functions/findPda.html +0 -6
  79. package/docs/functions/findToken.html +0 -1
  80. package/docs/functions/fromBN.html +0 -5
  81. package/docs/functions/getAccount.html +0 -6
  82. package/docs/functions/getActionNonce.html +0 -5
  83. package/docs/functions/getCurrentTps.html +0 -6
  84. package/docs/functions/getInfo.html +0 -5
  85. package/docs/functions/getLastActionId.html +0 -5
  86. package/docs/functions/getMedianLatency.html +0 -6
  87. package/docs/functions/getOrderbook.html +0 -6
  88. package/docs/functions/getPeakTps.html +0 -6
  89. package/docs/functions/getTimestamp.html +0 -5
  90. package/docs/functions/getTotalTransactions.html +0 -5
  91. package/docs/functions/getTrades.html +0 -6
  92. package/docs/functions/getUserAccountIds.html +0 -6
  93. package/docs/functions/hexToBuffer.html +0 -4
  94. package/docs/functions/initWebSocketClient.html +0 -12
  95. package/docs/functions/keypairFromPrivateKey.html +0 -4
  96. package/docs/functions/makeSigningFunction.html +0 -4
  97. package/docs/functions/makeWalletSignFn.html +0 -6
  98. package/docs/functions/marketsStats.html +0 -5
  99. package/docs/functions/optExpect.html +0 -5
  100. package/docs/functions/optMap.html +0 -5
  101. package/docs/functions/optUnwrap.html +0 -2
  102. package/docs/functions/panic.html +0 -1
  103. package/docs/functions/placeOrder.html +0 -1
  104. package/docs/functions/queryAction.html +0 -6
  105. package/docs/functions/queryPrometheus.html +0 -6
  106. package/docs/functions/queryRecentActions.html +0 -7
  107. package/docs/functions/revokeSession.html +0 -1
  108. package/docs/functions/shortenPublicKey.html +0 -5
  109. package/docs/functions/signAction.html +0 -6
  110. package/docs/functions/toBN.html +0 -5
  111. package/docs/functions/toScaledU128.html +0 -8
  112. package/docs/functions/toScaledU64.html +0 -8
  113. package/docs/functions/transfer.html +0 -1
  114. package/docs/functions/withdraw.html +0 -1
  115. package/docs/hierarchy.html +0 -1
  116. package/docs/index.html +0 -40
  117. package/docs/interfaces/Account.html +0 -8
  118. package/docs/interfaces/ActionInfo.html +0 -8
  119. package/docs/interfaces/ActionNonceResponse.html +0 -3
  120. package/docs/interfaces/ActionQuery.html +0 -4
  121. package/docs/interfaces/ActionResponse.html +0 -8
  122. package/docs/interfaces/ActionsExtendedInfo.html +0 -10
  123. package/docs/interfaces/ActionsQuery.html +0 -5
  124. package/docs/interfaces/ActionsResponse.html +0 -6
  125. package/docs/interfaces/AggregateMetrics.html +0 -12
  126. package/docs/interfaces/BlockFacts.html +0 -10
  127. package/docs/interfaces/BlockQuery.html +0 -6
  128. package/docs/interfaces/BlockResponse.html +0 -6
  129. package/docs/interfaces/BlockSummary.html +0 -8
  130. package/docs/interfaces/BlockSummaryResponse.html +0 -6
  131. package/docs/interfaces/DeltaEvent.html +0 -6
  132. package/docs/interfaces/DepositSplParams.html +0 -10
  133. package/docs/interfaces/Info.html +0 -3
  134. package/docs/interfaces/Market.html +0 -8
  135. package/docs/interfaces/MarketStats.html +0 -7
  136. package/docs/interfaces/MarketsStatsResponse.html +0 -2
  137. package/docs/interfaces/NordConfig.html +0 -24
  138. package/docs/interfaces/NordWebSocketClientEvents.html +0 -4
  139. package/docs/interfaces/NordWebSocketEvents.html +0 -8
  140. package/docs/interfaces/Order.html +0 -6
  141. package/docs/interfaces/OrderInfo.html +0 -6
  142. package/docs/interfaces/OrderbookEntry.html +0 -4
  143. package/docs/interfaces/OrderbookQuery.html +0 -6
  144. package/docs/interfaces/OrderbookResponse.html +0 -6
  145. package/docs/interfaces/OrderbookSubscription.html +0 -159
  146. package/docs/interfaces/PerpMarketStats.html +0 -5
  147. package/docs/interfaces/RollmanActionExtendedInfo.html +0 -4
  148. package/docs/interfaces/RollmanActionInfo.html +0 -4
  149. package/docs/interfaces/RollmanActionResponse.html +0 -4
  150. package/docs/interfaces/RollmanActionsResponse.html +0 -2
  151. package/docs/interfaces/RollmanBlockResponse.html +0 -3
  152. package/docs/interfaces/SPLTokenInfo.html +0 -10
  153. package/docs/interfaces/SolanaBridgeConfig.html +0 -10
  154. package/docs/interfaces/StateFacts.html +0 -10
  155. package/docs/interfaces/SubscriberConfig.html +0 -3
  156. package/docs/interfaces/TimestampResponse.html +0 -3
  157. package/docs/interfaces/Token.html +0 -5
  158. package/docs/interfaces/TokenInfo.html +0 -6
  159. package/docs/interfaces/Trade.html +0 -5
  160. package/docs/interfaces/TradeSubscription.html +0 -159
  161. package/docs/interfaces/Trades.html +0 -5
  162. package/docs/interfaces/TradesQuery.html +0 -6
  163. package/docs/interfaces/TradesResponse.html +0 -7
  164. package/docs/interfaces/TransferParams.html +0 -8
  165. package/docs/interfaces/UserAccountIdsQuery.html +0 -3
  166. package/docs/interfaces/UserAccountIdsResponse.html +0 -3
  167. package/docs/interfaces/WebSocketAccountUpdate.html +0 -6
  168. package/docs/interfaces/WebSocketDeltaUpdate.html +0 -9
  169. package/docs/interfaces/WebSocketSubscription.html +0 -4
  170. package/docs/interfaces/WebSocketTradeUpdate.html +0 -6
  171. package/docs/interfaces/WithdrawalClaim.html +0 -14
  172. package/docs/interfaces/WithdrawalParams.html +0 -8
  173. package/docs/modules.html +0 -1
  174. package/docs/types/BigIntValue.html +0 -2
  175. package/docs/types/SubscriptionPattern.html +0 -4
  176. package/docs/types/SubscriptionType.html +0 -2
  177. package/docs/types/WebSocketMessage.html +0 -1
  178. package/docs/variables/DEBUG_KEYS.html +0 -1
  179. package/docs/variables/DEFAULT_FUNDING_AMOUNTS.html +0 -1
  180. package/docs/variables/DEV_TOKEN_INFOS.html +0 -1
  181. package/docs/variables/DEV_URL.html +0 -1
  182. package/docs/variables/MAX_BUFFER_LEN.html +0 -1
  183. package/docs/variables/SESSION_TTL.html +0 -1
  184. package/docs/variables/WEBSERVER_DEV_URL.html +0 -1
  185. package/docs/variables/ZERO_DECIMAL.html +0 -1
  186. package/docs/variables/_private.html +0 -2
  187. package/idl-generate.sh +0 -4
  188. package/src/bridge/client.ts +0 -498
  189. package/src/bridge/const.ts +0 -53
  190. package/src/bridge/index.ts +0 -6
  191. package/src/bridge/types.ts +0 -129
  192. package/src/bridge/utils.ts +0 -140
  193. package/src/gen/common.ts +0 -297
  194. package/src/gen/nord.ts +0 -6723
  195. package/src/idl/index.ts +0 -2
@@ -1,1611 +0,0 @@
1
- @layer typedoc {
2
- :root {
3
- /* Light */
4
- --light-color-background: #f2f4f8;
5
- --light-color-background-secondary: #eff0f1;
6
- --light-color-warning-text: #222;
7
- --light-color-background-warning: #e6e600;
8
- --light-color-accent: #c5c7c9;
9
- --light-color-active-menu-item: var(--light-color-accent);
10
- --light-color-text: #222;
11
- --light-color-text-aside: #6e6e6e;
12
-
13
- --light-color-icon-background: var(--light-color-background);
14
- --light-color-icon-text: var(--light-color-text);
15
-
16
- --light-color-comment-tag-text: var(--light-color-text);
17
- --light-color-comment-tag: var(--light-color-background);
18
-
19
- --light-color-link: #1f70c2;
20
- --light-color-focus-outline: #3584e4;
21
-
22
- --light-color-ts-keyword: #056bd6;
23
- --light-color-ts-project: #b111c9;
24
- --light-color-ts-module: var(--light-color-ts-project);
25
- --light-color-ts-namespace: var(--light-color-ts-project);
26
- --light-color-ts-enum: #7e6f15;
27
- --light-color-ts-enum-member: var(--light-color-ts-enum);
28
- --light-color-ts-variable: #4760ec;
29
- --light-color-ts-function: #572be7;
30
- --light-color-ts-class: #1f70c2;
31
- --light-color-ts-interface: #108024;
32
- --light-color-ts-constructor: var(--light-color-ts-class);
33
- --light-color-ts-property: #9f5f30;
34
- --light-color-ts-method: #be3989;
35
- --light-color-ts-reference: #ff4d82;
36
- --light-color-ts-call-signature: var(--light-color-ts-method);
37
- --light-color-ts-index-signature: var(--light-color-ts-property);
38
- --light-color-ts-constructor-signature: var(
39
- --light-color-ts-constructor
40
- );
41
- --light-color-ts-parameter: var(--light-color-ts-variable);
42
- /* type literal not included as links will never be generated to it */
43
- --light-color-ts-type-parameter: #a55c0e;
44
- --light-color-ts-accessor: #c73c3c;
45
- --light-color-ts-get-signature: var(--light-color-ts-accessor);
46
- --light-color-ts-set-signature: var(--light-color-ts-accessor);
47
- --light-color-ts-type-alias: #d51270;
48
- /* reference not included as links will be colored with the kind that it points to */
49
- --light-color-document: #000000;
50
-
51
- --light-color-alert-note: #0969d9;
52
- --light-color-alert-tip: #1a7f37;
53
- --light-color-alert-important: #8250df;
54
- --light-color-alert-warning: #9a6700;
55
- --light-color-alert-caution: #cf222e;
56
-
57
- --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
58
- --light-color-scheme: light;
59
-
60
- /* Dark */
61
- --dark-color-background: #2b2e33;
62
- --dark-color-background-secondary: #1e2024;
63
- --dark-color-background-warning: #bebe00;
64
- --dark-color-warning-text: #222;
65
- --dark-color-accent: #9096a2;
66
- --dark-color-active-menu-item: #5d5d6a;
67
- --dark-color-text: #f5f5f5;
68
- --dark-color-text-aside: #dddddd;
69
-
70
- --dark-color-icon-background: var(--dark-color-background-secondary);
71
- --dark-color-icon-text: var(--dark-color-text);
72
-
73
- --dark-color-comment-tag-text: var(--dark-color-text);
74
- --dark-color-comment-tag: var(--dark-color-background);
75
-
76
- --dark-color-link: #00aff4;
77
- --dark-color-focus-outline: #4c97f2;
78
-
79
- --dark-color-ts-keyword: #3399ff;
80
- --dark-color-ts-project: #e358ff;
81
- --dark-color-ts-module: var(--dark-color-ts-project);
82
- --dark-color-ts-namespace: var(--dark-color-ts-project);
83
- --dark-color-ts-enum: #f4d93e;
84
- --dark-color-ts-enum-member: var(--dark-color-ts-enum);
85
- --dark-color-ts-variable: #798dff;
86
- --dark-color-ts-function: #a280ff;
87
- --dark-color-ts-class: #8ac4ff;
88
- --dark-color-ts-interface: #6cff87;
89
- --dark-color-ts-constructor: var(--dark-color-ts-class);
90
- --dark-color-ts-property: #ff984d;
91
- --dark-color-ts-method: #ff4db8;
92
- --dark-color-ts-reference: #ff4d82;
93
- --dark-color-ts-call-signature: var(--dark-color-ts-method);
94
- --dark-color-ts-index-signature: var(--dark-color-ts-property);
95
- --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
96
- --dark-color-ts-parameter: var(--dark-color-ts-variable);
97
- /* type literal not included as links will never be generated to it */
98
- --dark-color-ts-type-parameter: #e07d13;
99
- --dark-color-ts-accessor: #ff6060;
100
- --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
101
- --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
102
- --dark-color-ts-type-alias: #ff6492;
103
- /* reference not included as links will be colored with the kind that it points to */
104
- --dark-color-document: #ffffff;
105
-
106
- --dark-color-alert-note: #0969d9;
107
- --dark-color-alert-tip: #1a7f37;
108
- --dark-color-alert-important: #8250df;
109
- --dark-color-alert-warning: #9a6700;
110
- --dark-color-alert-caution: #cf222e;
111
-
112
- --dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
113
- --dark-color-scheme: dark;
114
- }
115
-
116
- @media (prefers-color-scheme: light) {
117
- :root {
118
- --color-background: var(--light-color-background);
119
- --color-background-secondary: var(
120
- --light-color-background-secondary
121
- );
122
- --color-background-warning: var(--light-color-background-warning);
123
- --color-warning-text: var(--light-color-warning-text);
124
- --color-accent: var(--light-color-accent);
125
- --color-active-menu-item: var(--light-color-active-menu-item);
126
- --color-text: var(--light-color-text);
127
- --color-text-aside: var(--light-color-text-aside);
128
-
129
- --color-icon-background: var(--light-color-icon-background);
130
- --color-icon-text: var(--light-color-icon-text);
131
-
132
- --color-comment-tag-text: var(--light-color-text);
133
- --color-comment-tag: var(--light-color-background);
134
-
135
- --color-link: var(--light-color-link);
136
- --color-focus-outline: var(--light-color-focus-outline);
137
-
138
- --color-ts-keyword: var(--light-color-ts-keyword);
139
- --color-ts-project: var(--light-color-ts-project);
140
- --color-ts-module: var(--light-color-ts-module);
141
- --color-ts-namespace: var(--light-color-ts-namespace);
142
- --color-ts-enum: var(--light-color-ts-enum);
143
- --color-ts-enum-member: var(--light-color-ts-enum-member);
144
- --color-ts-variable: var(--light-color-ts-variable);
145
- --color-ts-function: var(--light-color-ts-function);
146
- --color-ts-class: var(--light-color-ts-class);
147
- --color-ts-interface: var(--light-color-ts-interface);
148
- --color-ts-constructor: var(--light-color-ts-constructor);
149
- --color-ts-property: var(--light-color-ts-property);
150
- --color-ts-method: var(--light-color-ts-method);
151
- --color-ts-reference: var(--light-color-ts-reference);
152
- --color-ts-call-signature: var(--light-color-ts-call-signature);
153
- --color-ts-index-signature: var(--light-color-ts-index-signature);
154
- --color-ts-constructor-signature: var(
155
- --light-color-ts-constructor-signature
156
- );
157
- --color-ts-parameter: var(--light-color-ts-parameter);
158
- --color-ts-type-parameter: var(--light-color-ts-type-parameter);
159
- --color-ts-accessor: var(--light-color-ts-accessor);
160
- --color-ts-get-signature: var(--light-color-ts-get-signature);
161
- --color-ts-set-signature: var(--light-color-ts-set-signature);
162
- --color-ts-type-alias: var(--light-color-ts-type-alias);
163
- --color-document: var(--light-color-document);
164
-
165
- --color-alert-note: var(--light-color-alert-note);
166
- --color-alert-tip: var(--light-color-alert-tip);
167
- --color-alert-important: var(--light-color-alert-important);
168
- --color-alert-warning: var(--light-color-alert-warning);
169
- --color-alert-caution: var(--light-color-alert-caution);
170
-
171
- --external-icon: var(--light-external-icon);
172
- --color-scheme: var(--light-color-scheme);
173
- }
174
- }
175
-
176
- @media (prefers-color-scheme: dark) {
177
- :root {
178
- --color-background: var(--dark-color-background);
179
- --color-background-secondary: var(
180
- --dark-color-background-secondary
181
- );
182
- --color-background-warning: var(--dark-color-background-warning);
183
- --color-warning-text: var(--dark-color-warning-text);
184
- --color-accent: var(--dark-color-accent);
185
- --color-active-menu-item: var(--dark-color-active-menu-item);
186
- --color-text: var(--dark-color-text);
187
- --color-text-aside: var(--dark-color-text-aside);
188
-
189
- --color-icon-background: var(--dark-color-icon-background);
190
- --color-icon-text: var(--dark-color-icon-text);
191
-
192
- --color-comment-tag-text: var(--dark-color-text);
193
- --color-comment-tag: var(--dark-color-background);
194
-
195
- --color-link: var(--dark-color-link);
196
- --color-focus-outline: var(--dark-color-focus-outline);
197
-
198
- --color-ts-keyword: var(--dark-color-ts-keyword);
199
- --color-ts-project: var(--dark-color-ts-project);
200
- --color-ts-module: var(--dark-color-ts-module);
201
- --color-ts-namespace: var(--dark-color-ts-namespace);
202
- --color-ts-enum: var(--dark-color-ts-enum);
203
- --color-ts-enum-member: var(--dark-color-ts-enum-member);
204
- --color-ts-variable: var(--dark-color-ts-variable);
205
- --color-ts-function: var(--dark-color-ts-function);
206
- --color-ts-class: var(--dark-color-ts-class);
207
- --color-ts-interface: var(--dark-color-ts-interface);
208
- --color-ts-constructor: var(--dark-color-ts-constructor);
209
- --color-ts-property: var(--dark-color-ts-property);
210
- --color-ts-method: var(--dark-color-ts-method);
211
- --color-ts-reference: var(--dark-color-ts-reference);
212
- --color-ts-call-signature: var(--dark-color-ts-call-signature);
213
- --color-ts-index-signature: var(--dark-color-ts-index-signature);
214
- --color-ts-constructor-signature: var(
215
- --dark-color-ts-constructor-signature
216
- );
217
- --color-ts-parameter: var(--dark-color-ts-parameter);
218
- --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
219
- --color-ts-accessor: var(--dark-color-ts-accessor);
220
- --color-ts-get-signature: var(--dark-color-ts-get-signature);
221
- --color-ts-set-signature: var(--dark-color-ts-set-signature);
222
- --color-ts-type-alias: var(--dark-color-ts-type-alias);
223
- --color-document: var(--dark-color-document);
224
-
225
- --color-alert-note: var(--dark-color-alert-note);
226
- --color-alert-tip: var(--dark-color-alert-tip);
227
- --color-alert-important: var(--dark-color-alert-important);
228
- --color-alert-warning: var(--dark-color-alert-warning);
229
- --color-alert-caution: var(--dark-color-alert-caution);
230
-
231
- --external-icon: var(--dark-external-icon);
232
- --color-scheme: var(--dark-color-scheme);
233
- }
234
- }
235
-
236
- html {
237
- color-scheme: var(--color-scheme);
238
- }
239
-
240
- body {
241
- margin: 0;
242
- }
243
-
244
- :root[data-theme="light"] {
245
- --color-background: var(--light-color-background);
246
- --color-background-secondary: var(--light-color-background-secondary);
247
- --color-background-warning: var(--light-color-background-warning);
248
- --color-warning-text: var(--light-color-warning-text);
249
- --color-icon-background: var(--light-color-icon-background);
250
- --color-accent: var(--light-color-accent);
251
- --color-active-menu-item: var(--light-color-active-menu-item);
252
- --color-text: var(--light-color-text);
253
- --color-text-aside: var(--light-color-text-aside);
254
- --color-icon-text: var(--light-color-icon-text);
255
-
256
- --color-comment-tag-text: var(--light-color-text);
257
- --color-comment-tag: var(--light-color-background);
258
-
259
- --color-link: var(--light-color-link);
260
- --color-focus-outline: var(--light-color-focus-outline);
261
-
262
- --color-ts-keyword: var(--light-color-ts-keyword);
263
- --color-ts-project: var(--light-color-ts-project);
264
- --color-ts-module: var(--light-color-ts-module);
265
- --color-ts-namespace: var(--light-color-ts-namespace);
266
- --color-ts-enum: var(--light-color-ts-enum);
267
- --color-ts-enum-member: var(--light-color-ts-enum-member);
268
- --color-ts-variable: var(--light-color-ts-variable);
269
- --color-ts-function: var(--light-color-ts-function);
270
- --color-ts-class: var(--light-color-ts-class);
271
- --color-ts-interface: var(--light-color-ts-interface);
272
- --color-ts-constructor: var(--light-color-ts-constructor);
273
- --color-ts-property: var(--light-color-ts-property);
274
- --color-ts-method: var(--light-color-ts-method);
275
- --color-ts-reference: var(--light-color-ts-reference);
276
- --color-ts-call-signature: var(--light-color-ts-call-signature);
277
- --color-ts-index-signature: var(--light-color-ts-index-signature);
278
- --color-ts-constructor-signature: var(
279
- --light-color-ts-constructor-signature
280
- );
281
- --color-ts-parameter: var(--light-color-ts-parameter);
282
- --color-ts-type-parameter: var(--light-color-ts-type-parameter);
283
- --color-ts-accessor: var(--light-color-ts-accessor);
284
- --color-ts-get-signature: var(--light-color-ts-get-signature);
285
- --color-ts-set-signature: var(--light-color-ts-set-signature);
286
- --color-ts-type-alias: var(--light-color-ts-type-alias);
287
- --color-document: var(--light-color-document);
288
-
289
- --color-note: var(--light-color-note);
290
- --color-tip: var(--light-color-tip);
291
- --color-important: var(--light-color-important);
292
- --color-warning: var(--light-color-warning);
293
- --color-caution: var(--light-color-caution);
294
-
295
- --external-icon: var(--light-external-icon);
296
- --color-scheme: var(--light-color-scheme);
297
- }
298
-
299
- :root[data-theme="dark"] {
300
- --color-background: var(--dark-color-background);
301
- --color-background-secondary: var(--dark-color-background-secondary);
302
- --color-background-warning: var(--dark-color-background-warning);
303
- --color-warning-text: var(--dark-color-warning-text);
304
- --color-icon-background: var(--dark-color-icon-background);
305
- --color-accent: var(--dark-color-accent);
306
- --color-active-menu-item: var(--dark-color-active-menu-item);
307
- --color-text: var(--dark-color-text);
308
- --color-text-aside: var(--dark-color-text-aside);
309
- --color-icon-text: var(--dark-color-icon-text);
310
-
311
- --color-comment-tag-text: var(--dark-color-text);
312
- --color-comment-tag: var(--dark-color-background);
313
-
314
- --color-link: var(--dark-color-link);
315
- --color-focus-outline: var(--dark-color-focus-outline);
316
-
317
- --color-ts-keyword: var(--dark-color-ts-keyword);
318
- --color-ts-project: var(--dark-color-ts-project);
319
- --color-ts-module: var(--dark-color-ts-module);
320
- --color-ts-namespace: var(--dark-color-ts-namespace);
321
- --color-ts-enum: var(--dark-color-ts-enum);
322
- --color-ts-enum-member: var(--dark-color-ts-enum-member);
323
- --color-ts-variable: var(--dark-color-ts-variable);
324
- --color-ts-function: var(--dark-color-ts-function);
325
- --color-ts-class: var(--dark-color-ts-class);
326
- --color-ts-interface: var(--dark-color-ts-interface);
327
- --color-ts-constructor: var(--dark-color-ts-constructor);
328
- --color-ts-property: var(--dark-color-ts-property);
329
- --color-ts-method: var(--dark-color-ts-method);
330
- --color-ts-reference: var(--dark-color-ts-reference);
331
- --color-ts-call-signature: var(--dark-color-ts-call-signature);
332
- --color-ts-index-signature: var(--dark-color-ts-index-signature);
333
- --color-ts-constructor-signature: var(
334
- --dark-color-ts-constructor-signature
335
- );
336
- --color-ts-parameter: var(--dark-color-ts-parameter);
337
- --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
338
- --color-ts-accessor: var(--dark-color-ts-accessor);
339
- --color-ts-get-signature: var(--dark-color-ts-get-signature);
340
- --color-ts-set-signature: var(--dark-color-ts-set-signature);
341
- --color-ts-type-alias: var(--dark-color-ts-type-alias);
342
- --color-document: var(--dark-color-document);
343
-
344
- --color-note: var(--dark-color-note);
345
- --color-tip: var(--dark-color-tip);
346
- --color-important: var(--dark-color-important);
347
- --color-warning: var(--dark-color-warning);
348
- --color-caution: var(--dark-color-caution);
349
-
350
- --external-icon: var(--dark-external-icon);
351
- --color-scheme: var(--dark-color-scheme);
352
- }
353
-
354
- *:focus-visible,
355
- .tsd-accordion-summary:focus-visible svg {
356
- outline: 2px solid var(--color-focus-outline);
357
- }
358
-
359
- .always-visible,
360
- .always-visible .tsd-signatures {
361
- display: inherit !important;
362
- }
363
-
364
- h1,
365
- h2,
366
- h3,
367
- h4,
368
- h5,
369
- h6 {
370
- line-height: 1.2;
371
- }
372
-
373
- h1 {
374
- font-size: 1.875rem;
375
- margin: 0.67rem 0;
376
- }
377
-
378
- h2 {
379
- font-size: 1.5rem;
380
- margin: 0.83rem 0;
381
- }
382
-
383
- h3 {
384
- font-size: 1.25rem;
385
- margin: 1rem 0;
386
- }
387
-
388
- h4 {
389
- font-size: 1.05rem;
390
- margin: 1.33rem 0;
391
- }
392
-
393
- h5 {
394
- font-size: 1rem;
395
- margin: 1.5rem 0;
396
- }
397
-
398
- h6 {
399
- font-size: 0.875rem;
400
- margin: 2.33rem 0;
401
- }
402
-
403
- dl,
404
- menu,
405
- ol,
406
- ul {
407
- margin: 1em 0;
408
- }
409
-
410
- dd {
411
- margin: 0 0 0 34px;
412
- }
413
-
414
- .container {
415
- max-width: 1700px;
416
- padding: 0 2rem;
417
- }
418
-
419
- /* Footer */
420
- footer {
421
- border-top: 1px solid var(--color-accent);
422
- padding-top: 1rem;
423
- padding-bottom: 1rem;
424
- max-height: 3.5rem;
425
- }
426
- footer > p {
427
- margin: 0 1em;
428
- }
429
-
430
- .container-main {
431
- margin: 0 auto;
432
- /* toolbar, footer, margin */
433
- min-height: calc(100vh - 41px - 56px - 4rem);
434
- }
435
-
436
- @keyframes fade-in {
437
- from {
438
- opacity: 0;
439
- }
440
- to {
441
- opacity: 1;
442
- }
443
- }
444
- @keyframes fade-out {
445
- from {
446
- opacity: 1;
447
- visibility: visible;
448
- }
449
- to {
450
- opacity: 0;
451
- }
452
- }
453
- @keyframes fade-in-delayed {
454
- 0% {
455
- opacity: 0;
456
- }
457
- 33% {
458
- opacity: 0;
459
- }
460
- 100% {
461
- opacity: 1;
462
- }
463
- }
464
- @keyframes fade-out-delayed {
465
- 0% {
466
- opacity: 1;
467
- visibility: visible;
468
- }
469
- 66% {
470
- opacity: 0;
471
- }
472
- 100% {
473
- opacity: 0;
474
- }
475
- }
476
- @keyframes pop-in-from-right {
477
- from {
478
- transform: translate(100%, 0);
479
- }
480
- to {
481
- transform: translate(0, 0);
482
- }
483
- }
484
- @keyframes pop-out-to-right {
485
- from {
486
- transform: translate(0, 0);
487
- visibility: visible;
488
- }
489
- to {
490
- transform: translate(100%, 0);
491
- }
492
- }
493
- body {
494
- background: var(--color-background);
495
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
496
- Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
497
- font-size: 16px;
498
- color: var(--color-text);
499
- }
500
-
501
- a {
502
- color: var(--color-link);
503
- text-decoration: none;
504
- }
505
- a:hover {
506
- text-decoration: underline;
507
- }
508
- a.external[target="_blank"] {
509
- background-image: var(--external-icon);
510
- background-position: top 3px right;
511
- background-repeat: no-repeat;
512
- padding-right: 13px;
513
- }
514
- a.tsd-anchor-link {
515
- color: var(--color-text);
516
- }
517
-
518
- code,
519
- pre {
520
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
521
- padding: 0.2em;
522
- margin: 0;
523
- font-size: 0.875rem;
524
- border-radius: 0.8em;
525
- }
526
-
527
- pre {
528
- position: relative;
529
- white-space: pre-wrap;
530
- word-wrap: break-word;
531
- padding: 10px;
532
- border: 1px solid var(--color-accent);
533
- margin-bottom: 8px;
534
- }
535
- pre code {
536
- padding: 0;
537
- font-size: 100%;
538
- }
539
- pre > button {
540
- position: absolute;
541
- top: 10px;
542
- right: 10px;
543
- opacity: 0;
544
- transition: opacity 0.1s;
545
- box-sizing: border-box;
546
- }
547
- pre:hover > button,
548
- pre > button.visible {
549
- opacity: 1;
550
- }
551
-
552
- blockquote {
553
- margin: 1em 0;
554
- padding-left: 1em;
555
- border-left: 4px solid gray;
556
- }
557
-
558
- .tsd-typography {
559
- line-height: 1.333em;
560
- }
561
- .tsd-typography ul {
562
- list-style: square;
563
- padding: 0 0 0 20px;
564
- margin: 0;
565
- }
566
- .tsd-typography .tsd-index-panel h3,
567
- .tsd-index-panel .tsd-typography h3,
568
- .tsd-typography h4,
569
- .tsd-typography h5,
570
- .tsd-typography h6 {
571
- font-size: 1em;
572
- }
573
- .tsd-typography h5,
574
- .tsd-typography h6 {
575
- font-weight: normal;
576
- }
577
- .tsd-typography p,
578
- .tsd-typography ul,
579
- .tsd-typography ol {
580
- margin: 1em 0;
581
- }
582
- .tsd-typography table {
583
- border-collapse: collapse;
584
- border: none;
585
- }
586
- .tsd-typography td,
587
- .tsd-typography th {
588
- padding: 6px 13px;
589
- border: 1px solid var(--color-accent);
590
- }
591
- .tsd-typography thead,
592
- .tsd-typography tr:nth-child(even) {
593
- background-color: var(--color-background-secondary);
594
- }
595
-
596
- .tsd-alert {
597
- padding: 8px 16px;
598
- margin-bottom: 16px;
599
- border-left: 0.25em solid var(--alert-color);
600
- }
601
- .tsd-alert blockquote > :last-child,
602
- .tsd-alert > :last-child {
603
- margin-bottom: 0;
604
- }
605
- .tsd-alert-title {
606
- color: var(--alert-color);
607
- display: inline-flex;
608
- align-items: center;
609
- }
610
- .tsd-alert-title span {
611
- margin-left: 4px;
612
- }
613
-
614
- .tsd-alert-note {
615
- --alert-color: var(--color-alert-note);
616
- }
617
- .tsd-alert-tip {
618
- --alert-color: var(--color-alert-tip);
619
- }
620
- .tsd-alert-important {
621
- --alert-color: var(--color-alert-important);
622
- }
623
- .tsd-alert-warning {
624
- --alert-color: var(--color-alert-warning);
625
- }
626
- .tsd-alert-caution {
627
- --alert-color: var(--color-alert-caution);
628
- }
629
-
630
- .tsd-breadcrumb {
631
- margin: 0;
632
- padding: 0;
633
- color: var(--color-text-aside);
634
- }
635
- .tsd-breadcrumb a {
636
- color: var(--color-text-aside);
637
- text-decoration: none;
638
- }
639
- .tsd-breadcrumb a:hover {
640
- text-decoration: underline;
641
- }
642
- .tsd-breadcrumb li {
643
- display: inline;
644
- }
645
- .tsd-breadcrumb li:after {
646
- content: " / ";
647
- }
648
-
649
- .tsd-comment-tags {
650
- display: flex;
651
- flex-direction: column;
652
- }
653
- dl.tsd-comment-tag-group {
654
- display: flex;
655
- align-items: center;
656
- overflow: hidden;
657
- margin: 0.5em 0;
658
- }
659
- dl.tsd-comment-tag-group dt {
660
- display: flex;
661
- margin-right: 0.5em;
662
- font-size: 0.875em;
663
- font-weight: normal;
664
- }
665
- dl.tsd-comment-tag-group dd {
666
- margin: 0;
667
- }
668
- code.tsd-tag {
669
- padding: 0.25em 0.4em;
670
- border: 0.1em solid var(--color-accent);
671
- margin-right: 0.25em;
672
- font-size: 70%;
673
- }
674
- h1 code.tsd-tag:first-of-type {
675
- margin-left: 0.25em;
676
- }
677
-
678
- dl.tsd-comment-tag-group dd:before,
679
- dl.tsd-comment-tag-group dd:after {
680
- content: " ";
681
- }
682
- dl.tsd-comment-tag-group dd pre,
683
- dl.tsd-comment-tag-group dd:after {
684
- clear: both;
685
- }
686
- dl.tsd-comment-tag-group p {
687
- margin: 0;
688
- }
689
-
690
- .tsd-panel.tsd-comment .lead {
691
- font-size: 1.1em;
692
- line-height: 1.333em;
693
- margin-bottom: 2em;
694
- }
695
- .tsd-panel.tsd-comment .lead:last-child {
696
- margin-bottom: 0;
697
- }
698
-
699
- .tsd-filter-visibility h4 {
700
- font-size: 1rem;
701
- padding-top: 0.75rem;
702
- padding-bottom: 0.5rem;
703
- margin: 0;
704
- }
705
- .tsd-filter-item:not(:last-child) {
706
- margin-bottom: 0.5rem;
707
- }
708
- .tsd-filter-input {
709
- display: flex;
710
- width: -moz-fit-content;
711
- width: fit-content;
712
- align-items: center;
713
- -webkit-user-select: none;
714
- -moz-user-select: none;
715
- -ms-user-select: none;
716
- user-select: none;
717
- cursor: pointer;
718
- }
719
- .tsd-filter-input input[type="checkbox"] {
720
- cursor: pointer;
721
- position: absolute;
722
- width: 1.5em;
723
- height: 1.5em;
724
- opacity: 0;
725
- }
726
- .tsd-filter-input input[type="checkbox"]:disabled {
727
- pointer-events: none;
728
- }
729
- .tsd-filter-input svg {
730
- cursor: pointer;
731
- width: 1.5em;
732
- height: 1.5em;
733
- margin-right: 0.5em;
734
- border-radius: 0.33em;
735
- /* Leaving this at full opacity breaks event listeners on Firefox.
736
- Don't remove unless you know what you're doing. */
737
- opacity: 0.99;
738
- }
739
- .tsd-filter-input input[type="checkbox"]:focus-visible + svg {
740
- outline: 2px solid var(--color-focus-outline);
741
- }
742
- .tsd-checkbox-background {
743
- fill: var(--color-accent);
744
- }
745
- input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
746
- stroke: var(--color-text);
747
- }
748
- .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
749
- fill: var(--color-background);
750
- stroke: var(--color-accent);
751
- stroke-width: 0.25rem;
752
- }
753
- .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
754
- stroke: var(--color-accent);
755
- }
756
-
757
- .settings-label {
758
- font-weight: bold;
759
- text-transform: uppercase;
760
- display: inline-block;
761
- }
762
-
763
- .tsd-filter-visibility .settings-label {
764
- margin: 0.75rem 0 0.5rem 0;
765
- }
766
-
767
- .tsd-theme-toggle .settings-label {
768
- margin: 0.75rem 0.75rem 0 0;
769
- }
770
-
771
- .tsd-hierarchy h4 label:hover span {
772
- text-decoration: underline;
773
- }
774
-
775
- .tsd-hierarchy {
776
- list-style: square;
777
- margin: 0;
778
- }
779
- .tsd-hierarchy-target {
780
- font-weight: bold;
781
- }
782
- .tsd-hierarchy-toggle {
783
- color: var(--color-link);
784
- cursor: pointer;
785
- }
786
-
787
- .tsd-full-hierarchy:not(:last-child) {
788
- margin-bottom: 1em;
789
- padding-bottom: 1em;
790
- border-bottom: 1px solid var(--color-accent);
791
- }
792
- .tsd-full-hierarchy,
793
- .tsd-full-hierarchy ul {
794
- list-style: none;
795
- margin: 0;
796
- padding: 0;
797
- }
798
- .tsd-full-hierarchy ul {
799
- padding-left: 1.5rem;
800
- }
801
- .tsd-full-hierarchy a {
802
- padding: 0.25rem 0 !important;
803
- font-size: 1rem;
804
- display: inline-flex;
805
- align-items: center;
806
- color: var(--color-text);
807
- }
808
- .tsd-full-hierarchy svg[data-dropdown] {
809
- cursor: pointer;
810
- }
811
- .tsd-full-hierarchy svg[data-dropdown="false"] {
812
- transform: rotate(-90deg);
813
- }
814
- .tsd-full-hierarchy svg[data-dropdown="false"] ~ ul {
815
- display: none;
816
- }
817
-
818
- .tsd-panel-group.tsd-index-group {
819
- margin-bottom: 0;
820
- }
821
- .tsd-index-panel .tsd-index-list {
822
- list-style: none;
823
- line-height: 1.333em;
824
- margin: 0;
825
- padding: 0.25rem 0 0 0;
826
- overflow: hidden;
827
- display: grid;
828
- grid-template-columns: repeat(3, 1fr);
829
- column-gap: 1rem;
830
- grid-template-rows: auto;
831
- }
832
- @media (max-width: 1024px) {
833
- .tsd-index-panel .tsd-index-list {
834
- grid-template-columns: repeat(2, 1fr);
835
- }
836
- }
837
- @media (max-width: 768px) {
838
- .tsd-index-panel .tsd-index-list {
839
- grid-template-columns: repeat(1, 1fr);
840
- }
841
- }
842
- .tsd-index-panel .tsd-index-list li {
843
- -webkit-page-break-inside: avoid;
844
- -moz-page-break-inside: avoid;
845
- -ms-page-break-inside: avoid;
846
- -o-page-break-inside: avoid;
847
- page-break-inside: avoid;
848
- }
849
-
850
- .tsd-flag {
851
- display: inline-block;
852
- padding: 0.25em 0.4em;
853
- border-radius: 4px;
854
- color: var(--color-comment-tag-text);
855
- background-color: var(--color-comment-tag);
856
- text-indent: 0;
857
- font-size: 75%;
858
- line-height: 1;
859
- font-weight: normal;
860
- }
861
-
862
- .tsd-anchor {
863
- position: relative;
864
- top: -100px;
865
- }
866
-
867
- .tsd-member {
868
- position: relative;
869
- }
870
- .tsd-member .tsd-anchor + h3 {
871
- display: flex;
872
- align-items: center;
873
- margin-top: 0;
874
- margin-bottom: 0;
875
- border-bottom: none;
876
- }
877
-
878
- .tsd-navigation.settings {
879
- margin: 1rem 0;
880
- }
881
- .tsd-navigation > a,
882
- .tsd-navigation .tsd-accordion-summary {
883
- width: calc(100% - 0.25rem);
884
- display: flex;
885
- align-items: center;
886
- }
887
- .tsd-navigation a,
888
- .tsd-navigation summary > span,
889
- .tsd-page-navigation a {
890
- display: flex;
891
- width: calc(100% - 0.25rem);
892
- align-items: center;
893
- padding: 0.25rem;
894
- color: var(--color-text);
895
- text-decoration: none;
896
- box-sizing: border-box;
897
- }
898
- .tsd-navigation a.current,
899
- .tsd-page-navigation a.current {
900
- background: var(--color-active-menu-item);
901
- }
902
- .tsd-navigation a:hover,
903
- .tsd-page-navigation a:hover {
904
- text-decoration: underline;
905
- }
906
- .tsd-navigation ul,
907
- .tsd-page-navigation ul {
908
- margin-top: 0;
909
- margin-bottom: 0;
910
- padding: 0;
911
- list-style: none;
912
- }
913
- .tsd-navigation li,
914
- .tsd-page-navigation li {
915
- padding: 0;
916
- max-width: 100%;
917
- }
918
- .tsd-navigation .tsd-nav-link {
919
- display: none;
920
- }
921
- .tsd-nested-navigation {
922
- margin-left: 3rem;
923
- }
924
- .tsd-nested-navigation > li > details {
925
- margin-left: -1.5rem;
926
- }
927
- .tsd-small-nested-navigation {
928
- margin-left: 1.5rem;
929
- }
930
- .tsd-small-nested-navigation > li > details {
931
- margin-left: -1.5rem;
932
- }
933
-
934
- .tsd-page-navigation-section {
935
- margin-left: 10px;
936
- }
937
- .tsd-page-navigation-section > summary {
938
- padding: 0.25rem;
939
- }
940
- .tsd-page-navigation-section > div {
941
- margin-left: 20px;
942
- }
943
- .tsd-page-navigation ul {
944
- padding-left: 1.75rem;
945
- }
946
-
947
- #tsd-sidebar-links a {
948
- margin-top: 0;
949
- margin-bottom: 0.5rem;
950
- line-height: 1.25rem;
951
- }
952
- #tsd-sidebar-links a:last-of-type {
953
- margin-bottom: 0;
954
- }
955
-
956
- a.tsd-index-link {
957
- padding: 0.25rem 0 !important;
958
- font-size: 1rem;
959
- line-height: 1.25rem;
960
- display: inline-flex;
961
- align-items: center;
962
- color: var(--color-text);
963
- }
964
- .tsd-accordion-summary {
965
- list-style-type: none; /* hide marker on non-safari */
966
- outline: none; /* broken on safari, so just hide it */
967
- }
968
- .tsd-accordion-summary::-webkit-details-marker {
969
- display: none; /* hide marker on safari */
970
- }
971
- .tsd-accordion-summary,
972
- .tsd-accordion-summary a {
973
- -moz-user-select: none;
974
- -webkit-user-select: none;
975
- -ms-user-select: none;
976
- user-select: none;
977
-
978
- cursor: pointer;
979
- }
980
- .tsd-accordion-summary a {
981
- width: calc(100% - 1.5rem);
982
- }
983
- .tsd-accordion-summary > * {
984
- margin-top: 0;
985
- margin-bottom: 0;
986
- padding-top: 0;
987
- padding-bottom: 0;
988
- }
989
- .tsd-accordion .tsd-accordion-summary > svg {
990
- margin-left: 0.25rem;
991
- vertical-align: text-top;
992
- }
993
- /*
994
- * We need to be careful to target the arrow indicating whether the accordion
995
- * is open, but not any other SVGs included in the details element.
996
- */
997
- .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child,
998
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h1 > svg:first-child,
999
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h2 > svg:first-child,
1000
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h3 > svg:first-child,
1001
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h4 > svg:first-child,
1002
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h5 > svg:first-child {
1003
- transform: rotate(-90deg);
1004
- }
1005
- .tsd-index-content > :not(:first-child) {
1006
- margin-top: 0.75rem;
1007
- }
1008
- .tsd-index-heading {
1009
- margin-top: 1.5rem;
1010
- margin-bottom: 0.75rem;
1011
- }
1012
-
1013
- .tsd-no-select {
1014
- -webkit-user-select: none;
1015
- -moz-user-select: none;
1016
- -ms-user-select: none;
1017
- user-select: none;
1018
- }
1019
- .tsd-kind-icon {
1020
- margin-right: 0.5rem;
1021
- width: 1.25rem;
1022
- height: 1.25rem;
1023
- min-width: 1.25rem;
1024
- min-height: 1.25rem;
1025
- }
1026
- .tsd-signature > .tsd-kind-icon {
1027
- margin-right: 0.8rem;
1028
- }
1029
-
1030
- .tsd-panel {
1031
- margin-bottom: 2.5rem;
1032
- }
1033
- .tsd-panel.tsd-member {
1034
- margin-bottom: 4rem;
1035
- }
1036
- .tsd-panel:empty {
1037
- display: none;
1038
- }
1039
- .tsd-panel > h1,
1040
- .tsd-panel > h2,
1041
- .tsd-panel > h3 {
1042
- margin: 1.5rem -1.5rem 0.75rem -1.5rem;
1043
- padding: 0 1.5rem 0.75rem 1.5rem;
1044
- }
1045
- .tsd-panel > h1.tsd-before-signature,
1046
- .tsd-panel > h2.tsd-before-signature,
1047
- .tsd-panel > h3.tsd-before-signature {
1048
- margin-bottom: 0;
1049
- border-bottom: none;
1050
- }
1051
-
1052
- .tsd-panel-group {
1053
- margin: 2rem 0;
1054
- }
1055
- .tsd-panel-group.tsd-index-group {
1056
- margin: 2rem 0;
1057
- }
1058
- .tsd-panel-group.tsd-index-group details {
1059
- margin: 2rem 0;
1060
- }
1061
- .tsd-panel-group > .tsd-accordion-summary {
1062
- margin-bottom: 1rem;
1063
- }
1064
-
1065
- #tsd-search {
1066
- transition: background-color 0.2s;
1067
- }
1068
- #tsd-search .title {
1069
- position: relative;
1070
- z-index: 2;
1071
- }
1072
- #tsd-search .field {
1073
- position: absolute;
1074
- left: 0;
1075
- top: 0;
1076
- right: 2.5rem;
1077
- height: 100%;
1078
- }
1079
- #tsd-search .field input {
1080
- box-sizing: border-box;
1081
- position: relative;
1082
- top: -50px;
1083
- z-index: 1;
1084
- width: 100%;
1085
- padding: 0 10px;
1086
- opacity: 0;
1087
- outline: 0;
1088
- border: 0;
1089
- background: transparent;
1090
- color: var(--color-text);
1091
- }
1092
- #tsd-search .field label {
1093
- position: absolute;
1094
- overflow: hidden;
1095
- right: -40px;
1096
- }
1097
- #tsd-search .field input,
1098
- #tsd-search .title,
1099
- #tsd-toolbar-links a {
1100
- transition: opacity 0.2s;
1101
- }
1102
- #tsd-search .results {
1103
- position: absolute;
1104
- visibility: hidden;
1105
- top: 40px;
1106
- width: 100%;
1107
- margin: 0;
1108
- padding: 0;
1109
- list-style: none;
1110
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1111
- }
1112
- #tsd-search .results li {
1113
- background-color: var(--color-background);
1114
- line-height: initial;
1115
- padding: 4px;
1116
- }
1117
- #tsd-search .results li:nth-child(even) {
1118
- background-color: var(--color-background-secondary);
1119
- }
1120
- #tsd-search .results li.state {
1121
- display: none;
1122
- }
1123
- #tsd-search .results li.current:not(.no-results),
1124
- #tsd-search .results li:hover:not(.no-results) {
1125
- background-color: var(--color-accent);
1126
- }
1127
- #tsd-search .results a {
1128
- display: flex;
1129
- align-items: center;
1130
- padding: 0.25rem;
1131
- box-sizing: border-box;
1132
- }
1133
- #tsd-search .results a:before {
1134
- top: 10px;
1135
- }
1136
- #tsd-search .results span.parent {
1137
- color: var(--color-text-aside);
1138
- font-weight: normal;
1139
- }
1140
- #tsd-search.has-focus {
1141
- background-color: var(--color-accent);
1142
- }
1143
- #tsd-search.has-focus .field input {
1144
- top: 0;
1145
- opacity: 1;
1146
- }
1147
- #tsd-search.has-focus .title,
1148
- #tsd-search.has-focus #tsd-toolbar-links a {
1149
- z-index: 0;
1150
- opacity: 0;
1151
- }
1152
- #tsd-search.has-focus .results {
1153
- visibility: visible;
1154
- }
1155
- #tsd-search.loading .results li.state.loading {
1156
- display: block;
1157
- }
1158
- #tsd-search.failure .results li.state.failure {
1159
- display: block;
1160
- }
1161
-
1162
- #tsd-toolbar-links {
1163
- position: absolute;
1164
- top: 0;
1165
- right: 2rem;
1166
- height: 100%;
1167
- display: flex;
1168
- align-items: center;
1169
- justify-content: flex-end;
1170
- }
1171
- #tsd-toolbar-links a {
1172
- margin-left: 1.5rem;
1173
- }
1174
- #tsd-toolbar-links a:hover {
1175
- text-decoration: underline;
1176
- }
1177
-
1178
- .tsd-signature {
1179
- margin: 0 0 1rem 0;
1180
- padding: 1rem 0.5rem;
1181
- border: 1px solid var(--color-accent);
1182
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1183
- font-size: 14px;
1184
- overflow-x: auto;
1185
- }
1186
-
1187
- .tsd-signature-keyword {
1188
- color: var(--color-ts-keyword);
1189
- font-weight: normal;
1190
- }
1191
-
1192
- .tsd-signature-symbol {
1193
- color: var(--color-text-aside);
1194
- font-weight: normal;
1195
- }
1196
-
1197
- .tsd-signature-type {
1198
- font-style: italic;
1199
- font-weight: normal;
1200
- }
1201
-
1202
- .tsd-signatures {
1203
- padding: 0;
1204
- margin: 0 0 1em 0;
1205
- list-style-type: none;
1206
- }
1207
- .tsd-signatures .tsd-signature {
1208
- margin: 0;
1209
- border-color: var(--color-accent);
1210
- border-width: 1px 0;
1211
- transition: background-color 0.1s;
1212
- }
1213
- .tsd-signatures .tsd-index-signature:not(:last-child) {
1214
- margin-bottom: 1em;
1215
- }
1216
- .tsd-signatures .tsd-index-signature .tsd-signature {
1217
- border-width: 1px;
1218
- }
1219
- .tsd-description .tsd-signatures .tsd-signature {
1220
- border-width: 1px;
1221
- }
1222
-
1223
- ul.tsd-parameter-list,
1224
- ul.tsd-type-parameter-list {
1225
- list-style: square;
1226
- margin: 0;
1227
- padding-left: 20px;
1228
- }
1229
- ul.tsd-parameter-list > li.tsd-parameter-signature,
1230
- ul.tsd-type-parameter-list > li.tsd-parameter-signature {
1231
- list-style: none;
1232
- margin-left: -20px;
1233
- }
1234
- ul.tsd-parameter-list h5,
1235
- ul.tsd-type-parameter-list h5 {
1236
- font-size: 16px;
1237
- margin: 1em 0 0.5em 0;
1238
- }
1239
- .tsd-sources {
1240
- margin-top: 1rem;
1241
- font-size: 0.875em;
1242
- }
1243
- .tsd-sources a {
1244
- color: var(--color-text-aside);
1245
- text-decoration: underline;
1246
- }
1247
- .tsd-sources ul {
1248
- list-style: none;
1249
- padding: 0;
1250
- }
1251
-
1252
- .tsd-page-toolbar {
1253
- position: sticky;
1254
- z-index: 1;
1255
- top: 0;
1256
- left: 0;
1257
- width: 100%;
1258
- color: var(--color-text);
1259
- background: var(--color-background-secondary);
1260
- border-bottom: 1px var(--color-accent) solid;
1261
- transition: transform 0.3s ease-in-out;
1262
- }
1263
- .tsd-page-toolbar a {
1264
- color: var(--color-text);
1265
- text-decoration: none;
1266
- }
1267
- .tsd-page-toolbar a.title {
1268
- font-weight: bold;
1269
- }
1270
- .tsd-page-toolbar a.title:hover {
1271
- text-decoration: underline;
1272
- }
1273
- .tsd-page-toolbar .tsd-toolbar-contents {
1274
- display: flex;
1275
- justify-content: space-between;
1276
- height: 2.5rem;
1277
- margin: 0 auto;
1278
- }
1279
- .tsd-page-toolbar .table-cell {
1280
- position: relative;
1281
- white-space: nowrap;
1282
- line-height: 40px;
1283
- }
1284
- .tsd-page-toolbar .table-cell:first-child {
1285
- width: 100%;
1286
- }
1287
- .tsd-page-toolbar .tsd-toolbar-icon {
1288
- box-sizing: border-box;
1289
- line-height: 0;
1290
- padding: 12px 0;
1291
- }
1292
-
1293
- .tsd-widget {
1294
- display: inline-block;
1295
- overflow: hidden;
1296
- opacity: 0.8;
1297
- height: 40px;
1298
- transition:
1299
- opacity 0.1s,
1300
- background-color 0.2s;
1301
- vertical-align: bottom;
1302
- cursor: pointer;
1303
- }
1304
- .tsd-widget:hover {
1305
- opacity: 0.9;
1306
- }
1307
- .tsd-widget.active {
1308
- opacity: 1;
1309
- background-color: var(--color-accent);
1310
- }
1311
- .tsd-widget.no-caption {
1312
- width: 40px;
1313
- }
1314
- .tsd-widget.no-caption:before {
1315
- margin: 0;
1316
- }
1317
-
1318
- .tsd-widget.options,
1319
- .tsd-widget.menu {
1320
- display: none;
1321
- }
1322
- input[type="checkbox"] + .tsd-widget:before {
1323
- background-position: -120px 0;
1324
- }
1325
- input[type="checkbox"]:checked + .tsd-widget:before {
1326
- background-position: -160px 0;
1327
- }
1328
-
1329
- img {
1330
- max-width: 100%;
1331
- }
1332
-
1333
- .tsd-member-summary-name {
1334
- display: inline-flex;
1335
- align-items: center;
1336
- padding: 0.25rem;
1337
- text-decoration: none;
1338
- }
1339
-
1340
- .tsd-anchor-icon {
1341
- display: inline-flex;
1342
- align-items: center;
1343
- margin-left: 0.5rem;
1344
- color: var(--color-text);
1345
- }
1346
-
1347
- .tsd-anchor-icon svg {
1348
- width: 1em;
1349
- height: 1em;
1350
- visibility: hidden;
1351
- }
1352
-
1353
- .tsd-member-summary-name:hover > .tsd-anchor-icon svg,
1354
- .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1355
- visibility: visible;
1356
- }
1357
-
1358
- .deprecated {
1359
- text-decoration: line-through !important;
1360
- }
1361
-
1362
- .warning {
1363
- padding: 1rem;
1364
- color: var(--color-warning-text);
1365
- background: var(--color-background-warning);
1366
- }
1367
-
1368
- .tsd-kind-project {
1369
- color: var(--color-ts-project);
1370
- }
1371
- .tsd-kind-module {
1372
- color: var(--color-ts-module);
1373
- }
1374
- .tsd-kind-namespace {
1375
- color: var(--color-ts-namespace);
1376
- }
1377
- .tsd-kind-enum {
1378
- color: var(--color-ts-enum);
1379
- }
1380
- .tsd-kind-enum-member {
1381
- color: var(--color-ts-enum-member);
1382
- }
1383
- .tsd-kind-variable {
1384
- color: var(--color-ts-variable);
1385
- }
1386
- .tsd-kind-function {
1387
- color: var(--color-ts-function);
1388
- }
1389
- .tsd-kind-class {
1390
- color: var(--color-ts-class);
1391
- }
1392
- .tsd-kind-interface {
1393
- color: var(--color-ts-interface);
1394
- }
1395
- .tsd-kind-constructor {
1396
- color: var(--color-ts-constructor);
1397
- }
1398
- .tsd-kind-property {
1399
- color: var(--color-ts-property);
1400
- }
1401
- .tsd-kind-method {
1402
- color: var(--color-ts-method);
1403
- }
1404
- .tsd-kind-reference {
1405
- color: var(--color-ts-reference);
1406
- }
1407
- .tsd-kind-call-signature {
1408
- color: var(--color-ts-call-signature);
1409
- }
1410
- .tsd-kind-index-signature {
1411
- color: var(--color-ts-index-signature);
1412
- }
1413
- .tsd-kind-constructor-signature {
1414
- color: var(--color-ts-constructor-signature);
1415
- }
1416
- .tsd-kind-parameter {
1417
- color: var(--color-ts-parameter);
1418
- }
1419
- .tsd-kind-type-parameter {
1420
- color: var(--color-ts-type-parameter);
1421
- }
1422
- .tsd-kind-accessor {
1423
- color: var(--color-ts-accessor);
1424
- }
1425
- .tsd-kind-get-signature {
1426
- color: var(--color-ts-get-signature);
1427
- }
1428
- .tsd-kind-set-signature {
1429
- color: var(--color-ts-set-signature);
1430
- }
1431
- .tsd-kind-type-alias {
1432
- color: var(--color-ts-type-alias);
1433
- }
1434
-
1435
- /* if we have a kind icon, don't color the text by kind */
1436
- .tsd-kind-icon ~ span {
1437
- color: var(--color-text);
1438
- }
1439
-
1440
- * {
1441
- scrollbar-width: thin;
1442
- scrollbar-color: var(--color-accent) var(--color-icon-background);
1443
- }
1444
-
1445
- *::-webkit-scrollbar {
1446
- width: 0.75rem;
1447
- }
1448
-
1449
- *::-webkit-scrollbar-track {
1450
- background: var(--color-icon-background);
1451
- }
1452
-
1453
- *::-webkit-scrollbar-thumb {
1454
- background-color: var(--color-accent);
1455
- border-radius: 999rem;
1456
- border: 0.25rem solid var(--color-icon-background);
1457
- }
1458
-
1459
- /* mobile */
1460
- @media (max-width: 769px) {
1461
- .tsd-widget.options,
1462
- .tsd-widget.menu {
1463
- display: inline-block;
1464
- }
1465
-
1466
- .container-main {
1467
- display: flex;
1468
- }
1469
- html .col-content {
1470
- float: none;
1471
- max-width: 100%;
1472
- width: 100%;
1473
- }
1474
- html .col-sidebar {
1475
- position: fixed !important;
1476
- overflow-y: auto;
1477
- -webkit-overflow-scrolling: touch;
1478
- z-index: 1024;
1479
- top: 0 !important;
1480
- bottom: 0 !important;
1481
- left: auto !important;
1482
- right: 0 !important;
1483
- padding: 1.5rem 1.5rem 0 0;
1484
- width: 75vw;
1485
- visibility: hidden;
1486
- background-color: var(--color-background);
1487
- transform: translate(100%, 0);
1488
- }
1489
- html .col-sidebar > *:last-child {
1490
- padding-bottom: 20px;
1491
- }
1492
- html .overlay {
1493
- content: "";
1494
- display: block;
1495
- position: fixed;
1496
- z-index: 1023;
1497
- top: 0;
1498
- left: 0;
1499
- right: 0;
1500
- bottom: 0;
1501
- background-color: rgba(0, 0, 0, 0.75);
1502
- visibility: hidden;
1503
- }
1504
-
1505
- .to-has-menu .overlay {
1506
- animation: fade-in 0.4s;
1507
- }
1508
-
1509
- .to-has-menu .col-sidebar {
1510
- animation: pop-in-from-right 0.4s;
1511
- }
1512
-
1513
- .from-has-menu .overlay {
1514
- animation: fade-out 0.4s;
1515
- }
1516
-
1517
- .from-has-menu .col-sidebar {
1518
- animation: pop-out-to-right 0.4s;
1519
- }
1520
-
1521
- .has-menu body {
1522
- overflow: hidden;
1523
- }
1524
- .has-menu .overlay {
1525
- visibility: visible;
1526
- }
1527
- .has-menu .col-sidebar {
1528
- visibility: visible;
1529
- transform: translate(0, 0);
1530
- display: flex;
1531
- flex-direction: column;
1532
- gap: 1.5rem;
1533
- max-height: 100vh;
1534
- padding: 1rem 2rem;
1535
- }
1536
- .has-menu .tsd-navigation {
1537
- max-height: 100%;
1538
- }
1539
- #tsd-toolbar-links {
1540
- display: none;
1541
- }
1542
- .tsd-navigation .tsd-nav-link {
1543
- display: flex;
1544
- }
1545
- }
1546
-
1547
- /* one sidebar */
1548
- @media (min-width: 770px) {
1549
- .container-main {
1550
- display: grid;
1551
- grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1552
- grid-template-areas: "sidebar content";
1553
- margin: 2rem auto;
1554
- }
1555
-
1556
- .col-sidebar {
1557
- grid-area: sidebar;
1558
- }
1559
- .col-content {
1560
- grid-area: content;
1561
- padding: 0 1rem;
1562
- }
1563
- }
1564
- @media (min-width: 770px) and (max-width: 1399px) {
1565
- .col-sidebar {
1566
- max-height: calc(100vh - 2rem - 42px);
1567
- overflow: auto;
1568
- position: sticky;
1569
- top: 42px;
1570
- padding-top: 1rem;
1571
- }
1572
- .site-menu {
1573
- margin-top: 1rem;
1574
- }
1575
- }
1576
-
1577
- /* two sidebars */
1578
- @media (min-width: 1200px) {
1579
- .container-main {
1580
- grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(
1581
- 0,
1582
- 20rem
1583
- );
1584
- grid-template-areas: "sidebar content toc";
1585
- }
1586
-
1587
- .col-sidebar {
1588
- display: contents;
1589
- }
1590
-
1591
- .page-menu {
1592
- grid-area: toc;
1593
- padding-left: 1rem;
1594
- }
1595
- .site-menu {
1596
- grid-area: sidebar;
1597
- }
1598
-
1599
- .site-menu {
1600
- margin-top: 1rem;
1601
- }
1602
-
1603
- .page-menu,
1604
- .site-menu {
1605
- max-height: calc(100vh - 2rem - 42px);
1606
- overflow: auto;
1607
- position: sticky;
1608
- top: 42px;
1609
- }
1610
- }
1611
- }