@daiso-tech/core 0.1.1 → 0.1.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.
Files changed (196) hide show
  1. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +3 -12
  2. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  3. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js +7 -1
  4. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +1 -1
  5. package/dist/cjs/collection/iterable-collection/iterable-collection.js +3 -12
  6. package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +1 -1
  7. package/dist/cjs/collection/list-collection/list-collection.js +3 -3
  8. package/dist/cjs/collection/list-collection/list-collection.js.map +1 -1
  9. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +3 -12
  10. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  11. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js +7 -1
  12. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +1 -1
  13. package/dist/esm/collection/iterable-collection/iterable-collection.js +3 -12
  14. package/dist/esm/collection/iterable-collection/iterable-collection.js.map +1 -1
  15. package/dist/esm/collection/list-collection/list-collection.js +3 -3
  16. package/dist/esm/collection/list-collection/list-collection.js.map +1 -1
  17. package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +3 -3
  18. package/dist/types/collection/iterable-collection/iterable-collection.d.ts +2 -2
  19. package/dist/types/collection/list-collection/list-collection.d.ts +3 -3
  20. package/dist/types/contracts/collection/async-collection.contract.d.ts +29 -4
  21. package/dist/types/contracts/collection/collection.contract.d.ts +2 -4
  22. package/package.json +4 -1
  23. package/.changeset/README.md +0 -8
  24. package/.changeset/config.json +0 -11
  25. package/.eslintignore +0 -3
  26. package/.eslintrc.json +0 -50
  27. package/.gitattributes +0 -6
  28. package/.github/workflows/main.yaml +0 -54
  29. package/.github/workflows/release.yaml +0 -31
  30. package/.prettierignore +0 -4
  31. package/.prettierrc.json +0 -4
  32. package/.vscode/settings.json +0 -46
  33. package/CHANGELOG.md +0 -13
  34. package/docs-api/.nojekyll +0 -1
  35. package/docs-api/assets/highlight.css +0 -92
  36. package/docs-api/assets/icons.js +0 -18
  37. package/docs-api/assets/icons.svg +0 -1
  38. package/docs-api/assets/main.js +0 -60
  39. package/docs-api/assets/navigation.js +0 -1
  40. package/docs-api/assets/search.js +0 -1
  41. package/docs-api/assets/style.css +0 -1448
  42. package/docs-api/classes/AsyncIterableCollection.html +0 -437
  43. package/docs-api/classes/CollectionError.html +0 -12
  44. package/docs-api/classes/IndexOverflowError.html +0 -12
  45. package/docs-api/classes/ItemNotFoundError.html +0 -12
  46. package/docs-api/classes/IterableCollection.html +0 -434
  47. package/docs-api/classes/ListCollection.html +0 -434
  48. package/docs-api/classes/MultipleItemsFoundError.html +0 -12
  49. package/docs-api/classes/UnexpectedCollectionError.html +0 -12
  50. package/docs-api/functions/isAsyncIterable.html +0 -1
  51. package/docs-api/functions/isIterable.html +0 -1
  52. package/docs-api/functions/range.html +0 -4
  53. package/docs-api/hierarchy.html +0 -1
  54. package/docs-api/index.html +0 -1
  55. package/docs-api/modules.html +0 -60
  56. package/docs-api/types/AsyncCollapse.html +0 -1
  57. package/docs-api/types/AsyncFilter.html +0 -1
  58. package/docs-api/types/AsyncFilter_.html +0 -1
  59. package/docs-api/types/AsyncFindOrSettings.html +0 -1
  60. package/docs-api/types/AsyncFindSettings.html +0 -1
  61. package/docs-api/types/AsyncForEach.html +0 -1
  62. package/docs-api/types/AsyncForEach_.html +0 -1
  63. package/docs-api/types/AsyncGroupBySettings.html +0 -1
  64. package/docs-api/types/AsyncIterableValue.html +0 -1
  65. package/docs-api/types/AsyncLazyable.html +0 -1
  66. package/docs-api/types/AsyncLazyable_.html +0 -1
  67. package/docs-api/types/AsyncMap.html +0 -1
  68. package/docs-api/types/AsyncMap_.html +0 -1
  69. package/docs-api/types/AsyncModifier.html +0 -1
  70. package/docs-api/types/AsyncModifier_.html +0 -1
  71. package/docs-api/types/AsyncReduce.html +0 -1
  72. package/docs-api/types/AsyncReduceSettings.html +0 -1
  73. package/docs-api/types/AsyncReduce_.html +0 -1
  74. package/docs-api/types/AsyncTap.html +0 -1
  75. package/docs-api/types/AsyncTap_.html +0 -1
  76. package/docs-api/types/AsyncTransform.html +0 -1
  77. package/docs-api/types/AsyncTransform_.html +0 -1
  78. package/docs-api/types/Collapse.html +0 -1
  79. package/docs-api/types/Comparator.html +0 -1
  80. package/docs-api/types/EnsureType.html +0 -1
  81. package/docs-api/types/Filter.html +0 -1
  82. package/docs-api/types/FilterGuard.html +0 -1
  83. package/docs-api/types/Filter_.html +0 -1
  84. package/docs-api/types/FindOrSettings.html +0 -1
  85. package/docs-api/types/FindSettings.html +0 -1
  86. package/docs-api/types/ForEach.html +0 -1
  87. package/docs-api/types/GroupBySettings.html +0 -1
  88. package/docs-api/types/IAsyncCollection.html +0 -357
  89. package/docs-api/types/ICollection.html +0 -357
  90. package/docs-api/types/JoinSettings.html +0 -1
  91. package/docs-api/types/Lazyable.html +0 -1
  92. package/docs-api/types/Map.html +0 -1
  93. package/docs-api/types/Modifier.html +0 -1
  94. package/docs-api/types/PageSettings.html +0 -1
  95. package/docs-api/types/RecordItem.html +0 -1
  96. package/docs-api/types/Reduce.html +0 -1
  97. package/docs-api/types/ReduceSettings.html +0 -1
  98. package/docs-api/types/ReverseSettings.html +0 -1
  99. package/docs-api/types/SliceSettings.html +0 -1
  100. package/docs-api/types/SlidingSettings.html +0 -1
  101. package/docs-api/types/Tap.html +0 -1
  102. package/docs-api/types/Transform.html +0 -1
  103. package/docs-api/types/UpdatedItem.html +0 -1
  104. package/src/_module.ts +0 -2
  105. package/src/collection/_module.ts +0 -4
  106. package/src/collection/_shared.ts +0 -45
  107. package/src/collection/async-iterable-collection/_module.ts +0 -1
  108. package/src/collection/async-iterable-collection/async-iterable-collection.test.ts +0 -3195
  109. package/src/collection/async-iterable-collection/async-iterable-collection.ts +0 -1276
  110. package/src/collection/async-iterable-collection/async-iterable-helpers/_module.ts +0 -35
  111. package/src/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.ts +0 -25
  112. package/src/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.ts +0 -57
  113. package/src/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.ts +0 -54
  114. package/src/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.ts +0 -40
  115. package/src/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.ts +0 -58
  116. package/src/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.ts +0 -69
  117. package/src/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.ts +0 -19
  118. package/src/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.ts +0 -28
  119. package/src/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.ts +0 -42
  120. package/src/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.ts +0 -44
  121. package/src/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.ts +0 -48
  122. package/src/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.ts +0 -57
  123. package/src/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.ts +0 -57
  124. package/src/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.ts +0 -40
  125. package/src/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.ts +0 -35
  126. package/src/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.ts +0 -41
  127. package/src/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.ts +0 -41
  128. package/src/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.ts +0 -63
  129. package/src/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.ts +0 -40
  130. package/src/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.ts +0 -35
  131. package/src/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.ts +0 -23
  132. package/src/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.ts +0 -41
  133. package/src/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.ts +0 -55
  134. package/src/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.ts +0 -33
  135. package/src/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.ts +0 -54
  136. package/src/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.ts +0 -18
  137. package/src/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.ts +0 -64
  138. package/src/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.ts +0 -41
  139. package/src/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.ts +0 -41
  140. package/src/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.ts +0 -34
  141. package/src/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.ts +0 -20
  142. package/src/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.ts +0 -49
  143. package/src/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.ts +0 -64
  144. package/src/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.ts +0 -43
  145. package/src/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.ts +0 -45
  146. package/src/collection/iterable-collection/_module.ts +0 -1
  147. package/src/collection/iterable-collection/iterable-collection.test.ts +0 -2379
  148. package/src/collection/iterable-collection/iterable-collection.ts +0 -1317
  149. package/src/collection/iterable-collection/iterable-helpers/_module.ts +0 -32
  150. package/src/collection/iterable-collection/iterable-helpers/chunk-iterable.ts +0 -49
  151. package/src/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.ts +0 -51
  152. package/src/collection/iterable-collection/iterable-helpers/collapse-iterable.ts +0 -35
  153. package/src/collection/iterable-collection/iterable-helpers/count-by-iterable.ts +0 -49
  154. package/src/collection/iterable-collection/iterable-helpers/cross-join-iterable.ts +0 -57
  155. package/src/collection/iterable-collection/iterable-helpers/entries-iterable.ts +0 -42
  156. package/src/collection/iterable-collection/iterable-helpers/filter-iterable.ts +0 -39
  157. package/src/collection/iterable-collection/iterable-helpers/flat-map-iterable.ts +0 -35
  158. package/src/collection/iterable-collection/iterable-helpers/group-by-iterable.ts +0 -52
  159. package/src/collection/iterable-collection/iterable-helpers/insert-after-iterable.ts +0 -43
  160. package/src/collection/iterable-collection/iterable-helpers/insert-before-iterable.ts +0 -43
  161. package/src/collection/iterable-collection/iterable-helpers/map-iterable.ts +0 -35
  162. package/src/collection/iterable-collection/iterable-helpers/merge-iterable.ts +0 -31
  163. package/src/collection/iterable-collection/iterable-helpers/pad-end-iterable.ts +0 -52
  164. package/src/collection/iterable-collection/iterable-helpers/pad-start-iterable.ts +0 -52
  165. package/src/collection/iterable-collection/iterable-helpers/partion-iterable.ts +0 -46
  166. package/src/collection/iterable-collection/iterable-helpers/repeat-iterable.ts +0 -36
  167. package/src/collection/iterable-collection/iterable-helpers/reverse-iterable.ts +0 -46
  168. package/src/collection/iterable-collection/iterable-helpers/shuffle-iterable.ts +0 -36
  169. package/src/collection/iterable-collection/iterable-helpers/skip-iterable.ts +0 -37
  170. package/src/collection/iterable-collection/iterable-helpers/skip-until-iterable.ts +0 -41
  171. package/src/collection/iterable-collection/iterable-helpers/slice-iterable.ts +0 -47
  172. package/src/collection/iterable-collection/iterable-helpers/sliding-iterable.ts +0 -49
  173. package/src/collection/iterable-collection/iterable-helpers/sort-iterable.ts +0 -29
  174. package/src/collection/iterable-collection/iterable-helpers/split-iterable.ts +0 -58
  175. package/src/collection/iterable-collection/iterable-helpers/take-iterable.ts +0 -37
  176. package/src/collection/iterable-collection/iterable-helpers/take-until-iterable.ts +0 -38
  177. package/src/collection/iterable-collection/iterable-helpers/tap-iterable.ts +0 -31
  178. package/src/collection/iterable-collection/iterable-helpers/unique-iterable.ts +0 -43
  179. package/src/collection/iterable-collection/iterable-helpers/update-iterable.ts +0 -50
  180. package/src/collection/iterable-collection/iterable-helpers/when-iterable.ts +0 -37
  181. package/src/collection/iterable-collection/iterable-helpers/zip-iterable.ts +0 -41
  182. package/src/collection/list-collection/_module.ts +0 -1
  183. package/src/collection/list-collection/list-collection.test.ts +0 -2280
  184. package/src/collection/list-collection/list-collection.ts +0 -1883
  185. package/src/contracts/_module.ts +0 -1
  186. package/src/contracts/collection/_module.ts +0 -3
  187. package/src/contracts/collection/_shared.ts +0 -346
  188. package/src/contracts/collection/async-collection.contract.ts +0 -1028
  189. package/src/contracts/collection/collection.contract.ts +0 -978
  190. package/src/types.ts +0 -2
  191. package/tsconfig.base.json +0 -31
  192. package/tsconfig.cjs.json +0 -12
  193. package/tsconfig.esm.json +0 -12
  194. package/tsconfig.json +0 -10
  195. package/tsconfig.types.json +0 -12
  196. package/vite.config.ts +0 -6
@@ -97,10 +97,9 @@ export type IAsyncCollection<TInput> = AsyncIterable<TInput> & {
97
97
  * // 6
98
98
  * @throws {CollectionError} {@link CollectionError}
99
99
  * @throws {UnexpectedCollectionError} {@link UnexpectedCollectionError}
100
- * @throws {IndexOverflowError} {@link IndexOverflowError}
101
100
  * @throws {TypeError} {@link TypeError}
102
101
  */
103
- sum(throwOnNumberLimit?: boolean): Promise<EnsureType<TInput, number>>;
102
+ sum(): Promise<EnsureType<TInput, number>>;
104
103
  /**
105
104
  * The average method returns the average of all items in the collection. If the collection contains nested arrays or objects,
106
105
  * you should pass a map function that returns a number to be used in average calculation.
@@ -111,10 +110,9 @@ export type IAsyncCollection<TInput> = AsyncIterable<TInput> & {
111
110
  * // 2
112
111
  * @throws {CollectionError} {@link CollectionError}
113
112
  * @throws {UnexpectedCollectionError} {@link UnexpectedCollectionError}
114
- * @throws {IndexOverflowError} {@link IndexOverflowError}
115
113
  * @throws {TypeError} {@link TypeError}
116
114
  */
117
- average(throwOnNumberLimit?: boolean): Promise<EnsureType<TInput, number>>;
115
+ average(): Promise<EnsureType<TInput, number>>;
118
116
  /**
119
117
  * The median method returns the median of all items in the collection. If the collection contains nested arrays or objects,
120
118
  * you should pass a map function that returns a number to be used in median calculation.
@@ -677,8 +675,35 @@ export type IAsyncCollection<TInput> = AsyncIterable<TInput> & {
677
675
  * // ["a", "e"]
678
676
  */
679
677
  nth(step: number): IAsyncCollection<TInput>;
678
+ /**
679
+ * The delay method will delay collection such that each value is returned after the specified number of seconds.
680
+ * This method is especially useful for situations where you may be interacting with external APIs that rate limit incoming requests:
681
+ * @example
682
+ * // An iterator that will fetch all users from a specific api
683
+ * class ApiIterator implements AsyncIterable<IUser> { ... }
684
+ * const apiIterator = new ApiIterator();
685
+ * const collection = new AsyncIterableCollection(apiIterator);
686
+ * await collection.delay(1000).forEach(user => console.log(user))
687
+ */
680
688
  delay(timeInMs: number): IAsyncCollection<TInput>;
681
689
  abort(signal: AbortSignal): IAsyncCollection<TInput>;
690
+ /**
691
+ * The timeout method returns a new collection that will iterate values until the specified time.
692
+ * After that time, the collection will then stop iterating:
693
+ * @example
694
+ * class AsyncInfiniteIterable implements AsyncIterable<number> {
695
+ * async *[Symbol.asyncIterator]() {
696
+ * while(true) {
697
+ * yield 1;
698
+ * }
699
+ * }
700
+ * }
701
+ * const asyncInfiniteIterable = new AsyncInfiniteIterable();
702
+ * const collection = new AsyncIterableCollection(asyncInfiniteIterable);
703
+ * collection
704
+ * .timeout(1000)
705
+ * .forEach(nbr => console.log(nbr))
706
+ */
682
707
  timeout(timeInMs: number): IAsyncCollection<TInput>;
683
708
  /**
684
709
  * The count method returns the total number of items in the collection:
@@ -93,10 +93,9 @@ export type ICollection<TInput> = Iterable<TInput> & {
93
93
  * // 6
94
94
  * @throws {CollectionError} {@link CollectionError}
95
95
  * @throws {UnexpectedCollectionError} {@link UnexpectedCollectionError}
96
- * @throws {IndexOverflowError} {@link IndexOverflowError}
97
96
  * @throws {TypeError} {@link TypeError}
98
97
  */
99
- sum(throwOnNumberLimit?: boolean): EnsureType<TInput, number>;
98
+ sum(): EnsureType<TInput, number>;
100
99
  /**
101
100
  * The average method returns the average of all items in the collection. If the collection contains nested arrays or objects,
102
101
  * you should pass a map function that returns a number to be used in average calculation.
@@ -107,10 +106,9 @@ export type ICollection<TInput> = Iterable<TInput> & {
107
106
  * // 2
108
107
  * @throws {CollectionError} {@link CollectionError}
109
108
  * @throws {UnexpectedCollectionError} {@link UnexpectedCollectionError}
110
- * @throws {IndexOverflowError} {@link IndexOverflowError}
111
109
  * @throws {TypeError} {@link TypeError}
112
110
  */
113
- average(throwOnNumberLimit?: boolean): EnsureType<TInput, number>;
111
+ average(): EnsureType<TInput, number>;
114
112
  /**
115
113
  * The median method returns the median of all items in the collection. If the collection contains nested arrays or objects,
116
114
  * you should pass a map function that returns a number to be used in median calculation.
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@daiso-tech/core",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "author": "Yousif Abdulkarim",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./dist/cjs/_module.js",
8
8
  "module": "./dist/esm/_module.js",
9
9
  "types": "./dist/types/_module.d.ts",
10
+ "files": [
11
+ "./dist"
12
+ ],
10
13
  "scripts": {
11
14
  "test": "npx vitest run",
12
15
  "test:watch": "npm run test -- watch",
@@ -1,8 +0,0 @@
1
- # Changesets
2
-
3
- Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
- with multi-package repos, or single-package repos to help you version and publish your code. You can
5
- find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
-
7
- We have a quick list of common questions to get you started engaging with this project in
8
- [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
3
- "changelog": "@changesets/cli/changelog",
4
- "commit": false,
5
- "fixed": [],
6
- "linked": [],
7
- "access": "public",
8
- "baseBranch": "main",
9
- "updateInternalDependencies": "patch",
10
- "ignore": []
11
- }
package/.eslintignore DELETED
@@ -1,3 +0,0 @@
1
- node_modules
2
- dist
3
- docs-api
package/.eslintrc.json DELETED
@@ -1,50 +0,0 @@
1
- {
2
- "root": true,
3
- "parser": "@typescript-eslint/parser",
4
- "parserOptions": {
5
- "project": "./tsconfig.json"
6
- },
7
- "overrides": [
8
- {
9
- "files": ["src/**/*.ts", "vite.config.ts"],
10
- "plugins": [
11
- "@typescript-eslint",
12
- "vitest",
13
- "typescript-enum",
14
- "no-relative-import-paths",
15
- "eslint-plugin-tsdoc",
16
- "only-error"
17
- ],
18
- "extends": [
19
- "eslint:recommended",
20
- "plugin:@typescript-eslint/strict-type-checked",
21
- "plugin:@vitest/legacy-recommended",
22
- "prettier",
23
- "plugin:prettier/recommended"
24
- ],
25
- "rules": {
26
- "@typescript-eslint/no-unnecessary-type-parameters": "off",
27
- "@typescript-eslint/no-unused-vars": [
28
- "error",
29
- {
30
- "args": "all",
31
- "argsIgnorePattern": "^_",
32
- "caughtErrors": "all",
33
- "caughtErrorsIgnorePattern": "^_",
34
- "destructuredArrayIgnorePattern": "^_",
35
- "varsIgnorePattern": "^_"
36
- }
37
- ],
38
- "typescript-enum/no-const-enum": "off",
39
- "typescript-enum/no-enum": "off",
40
- "no-relative-import-paths/no-relative-import-paths": [
41
- "error",
42
- {
43
- "rootDir": "src",
44
- "prefix": "@"
45
- }
46
- ]
47
- }
48
- }
49
- ]
50
- }
package/.gitattributes DELETED
@@ -1,6 +0,0 @@
1
- *code.editor=vim
2
- *autocrlf=false
3
- *eol=lf
4
- *text=unset
5
- *core.longpaths=true
6
- *push.autoSetupRemote=true
@@ -1,54 +0,0 @@
1
- on:
2
- pull_request
3
- jobs:
4
- lint:
5
- name: Linting
6
- runs-on: ubuntu-latest
7
- steps:
8
- - name: Checkout
9
- uses: actions/checkout@v4
10
-
11
- - name: Install Node js
12
- uses: actions/setup-node@v4
13
- with:
14
- node-version: ${{ secrets.NODE_VERSION }}
15
-
16
- - name: Install Dependencies
17
- run: npm ci
18
-
19
- - name: Linting
20
- run: npm run lint
21
- check:
22
- name: Checking
23
- runs-on: ubuntu-latest
24
- steps:
25
- - name: Checkout
26
- uses: actions/checkout@v4
27
-
28
- - name: Install Node js
29
- uses: actions/setup-node@v4
30
- with:
31
- node-version: ${{ secrets.NODE_VERSION }}
32
-
33
- - name: Install Dependencies
34
- run: npm ci
35
-
36
- - name: Checking
37
- run: npm run check
38
- test:
39
- name: Testing
40
- runs-on: ubuntu-latest
41
- steps:
42
- - name: Checkout
43
- uses: actions/checkout@v4
44
-
45
- - name: Install Node js
46
- uses: actions/setup-node@v4
47
- with:
48
- node-version: ${{ secrets.NODE_VERSION }}
49
-
50
- - name: Install Dependencies
51
- run: npm ci
52
-
53
- - name: Linting
54
- run: npm run test
@@ -1,31 +0,0 @@
1
- on:
2
- push:
3
- branches:
4
- - main
5
-
6
- concurrency: ${{ github.workflow }}-${{ github.ref }}
7
-
8
- jobs:
9
- release:
10
- name: Release
11
- runs-on: ubuntu-latest
12
- steps:
13
- - name: Checkout
14
- uses: actions/checkout@v4
15
-
16
- - name: Install Node js
17
- uses: actions/setup-node@v4
18
- with:
19
- node-version: ${{ secrets.NODE_VERSION }}
20
-
21
- - name: Install Dependencies
22
- run: npm ci
23
-
24
- - name: Create Release Pull Request or Publish to npm
25
- id: changesets
26
- uses: changesets/action@v1
27
- with:
28
- publish: npm run release
29
- env:
30
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.prettierignore DELETED
@@ -1,4 +0,0 @@
1
- node_modules
2
- dist
3
- package-lock.json
4
- docs-api
package/.prettierrc.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "tabWidth": 4,
3
- "endOfLine": "lf"
4
- }
@@ -1,46 +0,0 @@
1
- {
2
- // vscode options
3
- "editor.formatOnPaste": false,
4
- "editor.formatOnSave": false,
5
- "editor.formatOnType": false,
6
- "editor.formatOnSaveMode": "file",
7
- "files.eol": "\n",
8
- "editor.tabSize": 4,
9
- "editor.detectIndentation": false,
10
-
11
- // eslint options
12
- "eslint.enable": true,
13
- "eslint.lintTask.enable": true,
14
- "eslint.format.enable": true,
15
- "[typescript]": {
16
- "editor.formatOnSave": false,
17
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
18
- },
19
- "[typescriptreact]": {
20
- "editor.formatOnSave": false,
21
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
22
- },
23
- "[javascript]": {
24
- "editor.formatOnSave": false,
25
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
26
- },
27
- "[javascriptreact]": {
28
- "editor.formatOnSave": false,
29
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
30
- },
31
-
32
- // prettier options
33
- "prettier.enable": true,
34
- "[json]": {
35
- "editor.formatOnSave": false,
36
- "editor.defaultFormatter": "esbenp.prettier-vscode"
37
- },
38
- "[jsonc]": {
39
- "editor.formatOnSave": false,
40
- "editor.defaultFormatter": "esbenp.prettier-vscode"
41
- },
42
- "[yaml]": {
43
- "editor.formatOnSave": false,
44
- "editor.defaultFormatter": "esbenp.prettier-vscode"
45
- }
46
- }
package/CHANGELOG.md DELETED
@@ -1,13 +0,0 @@
1
- # @daiso-tech/core
2
-
3
- ## 0.1.1
4
-
5
- ### Patch Changes
6
-
7
- - 25b7503: Added npmignore
8
-
9
- ## 0.1.0
10
-
11
- ### Minor Changes
12
-
13
- - First release
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -1,92 +0,0 @@
1
- :root {
2
- --light-hl-0: #0000FF;
3
- --dark-hl-0: #569CD6;
4
- --light-hl-1: #000000;
5
- --dark-hl-1: #D4D4D4;
6
- --light-hl-2: #0070C1;
7
- --dark-hl-2: #4FC1FF;
8
- --light-hl-3: #795E26;
9
- --dark-hl-3: #DCDCAA;
10
- --light-hl-4: #098658;
11
- --dark-hl-4: #B5CEA8;
12
- --light-hl-5: #AF00DB;
13
- --dark-hl-5: #C586C0;
14
- --light-hl-6: #001080;
15
- --dark-hl-6: #9CDCFE;
16
- --light-hl-7: #008000;
17
- --dark-hl-7: #6A9955;
18
- --light-hl-8: #A31515;
19
- --dark-hl-8: #CE9178;
20
- --light-hl-9: #000000;
21
- --dark-hl-9: #C8C8C8;
22
- --light-code-background: #FFFFFF;
23
- --dark-code-background: #1E1E1E;
24
- }
25
-
26
- @media (prefers-color-scheme: light) { :root {
27
- --hl-0: var(--light-hl-0);
28
- --hl-1: var(--light-hl-1);
29
- --hl-2: var(--light-hl-2);
30
- --hl-3: var(--light-hl-3);
31
- --hl-4: var(--light-hl-4);
32
- --hl-5: var(--light-hl-5);
33
- --hl-6: var(--light-hl-6);
34
- --hl-7: var(--light-hl-7);
35
- --hl-8: var(--light-hl-8);
36
- --hl-9: var(--light-hl-9);
37
- --code-background: var(--light-code-background);
38
- } }
39
-
40
- @media (prefers-color-scheme: dark) { :root {
41
- --hl-0: var(--dark-hl-0);
42
- --hl-1: var(--dark-hl-1);
43
- --hl-2: var(--dark-hl-2);
44
- --hl-3: var(--dark-hl-3);
45
- --hl-4: var(--dark-hl-4);
46
- --hl-5: var(--dark-hl-5);
47
- --hl-6: var(--dark-hl-6);
48
- --hl-7: var(--dark-hl-7);
49
- --hl-8: var(--dark-hl-8);
50
- --hl-9: var(--dark-hl-9);
51
- --code-background: var(--dark-code-background);
52
- } }
53
-
54
- :root[data-theme='light'] {
55
- --hl-0: var(--light-hl-0);
56
- --hl-1: var(--light-hl-1);
57
- --hl-2: var(--light-hl-2);
58
- --hl-3: var(--light-hl-3);
59
- --hl-4: var(--light-hl-4);
60
- --hl-5: var(--light-hl-5);
61
- --hl-6: var(--light-hl-6);
62
- --hl-7: var(--light-hl-7);
63
- --hl-8: var(--light-hl-8);
64
- --hl-9: var(--light-hl-9);
65
- --code-background: var(--light-code-background);
66
- }
67
-
68
- :root[data-theme='dark'] {
69
- --hl-0: var(--dark-hl-0);
70
- --hl-1: var(--dark-hl-1);
71
- --hl-2: var(--dark-hl-2);
72
- --hl-3: var(--dark-hl-3);
73
- --hl-4: var(--dark-hl-4);
74
- --hl-5: var(--dark-hl-5);
75
- --hl-6: var(--dark-hl-6);
76
- --hl-7: var(--dark-hl-7);
77
- --hl-8: var(--dark-hl-8);
78
- --hl-9: var(--dark-hl-9);
79
- --code-background: var(--dark-code-background);
80
- }
81
-
82
- .hl-0 { color: var(--hl-0); }
83
- .hl-1 { color: var(--hl-1); }
84
- .hl-2 { color: var(--hl-2); }
85
- .hl-3 { color: var(--hl-3); }
86
- .hl-4 { color: var(--hl-4); }
87
- .hl-5 { color: var(--hl-5); }
88
- .hl-6 { color: var(--hl-6); }
89
- .hl-7 { color: var(--hl-7); }
90
- .hl-8 { color: var(--hl-8); }
91
- .hl-9 { color: var(--hl-9); }
92
- pre, code { background: var(--code-background); }
@@ -1,18 +0,0 @@
1
- (function() {
2
- addIcons();
3
- function addIcons() {
4
- if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons);
5
- const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg"));
6
- 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>"`;
7
- svg.style.display = "none";
8
- if (location.protocol === "file:") updateUseElements();
9
- }
10
-
11
- function updateUseElements() {
12
- document.querySelectorAll("use").forEach(el => {
13
- if (el.getAttribute("href").includes("#icon-")) {
14
- el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#"));
15
- }
16
- });
17
- }
18
- })()
@@ -1 +0,0 @@
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>