create-yoya-ui 0.2.2 → 0.2.3

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 (843) hide show
  1. package/package.json +1 -1
  2. package/templates/admin/dist/assets/index-C9C1xRte.js +0 -35
  3. package/templates/admin/dist/assets/index-Dh32qJDx.css +0 -1
  4. package/templates/admin/dist/index.html +0 -13
  5. package/templates/admin/node_modules/.bin/nanoid +0 -16
  6. package/templates/admin/node_modules/.bin/nanoid.cmd +0 -17
  7. package/templates/admin/node_modules/.bin/nanoid.ps1 +0 -28
  8. package/templates/admin/node_modules/.bin/rolldown +0 -16
  9. package/templates/admin/node_modules/.bin/rolldown.cmd +0 -17
  10. package/templates/admin/node_modules/.bin/rolldown.ps1 +0 -28
  11. package/templates/admin/node_modules/.bin/tsc +0 -16
  12. package/templates/admin/node_modules/.bin/tsc.cmd +0 -17
  13. package/templates/admin/node_modules/.bin/tsc.ps1 +0 -28
  14. package/templates/admin/node_modules/.bin/vite +0 -16
  15. package/templates/admin/node_modules/.bin/vite.cmd +0 -17
  16. package/templates/admin/node_modules/.bin/vite.ps1 +0 -28
  17. package/templates/admin/node_modules/.package-lock.json +0 -389
  18. package/templates/admin/node_modules/.vite/deps/@yoyaflow_yoya-ui.js +0 -13116
  19. package/templates/admin/node_modules/.vite/deps/@yoyaflow_yoya-ui.js.map +0 -1
  20. package/templates/admin/node_modules/.vite/deps/_metadata.json +0 -15
  21. package/templates/admin/node_modules/.vite/deps/package.json +0 -3
  22. package/templates/admin/node_modules/@oxc-project/types/LICENSE +0 -22
  23. package/templates/admin/node_modules/@oxc-project/types/README.md +0 -3
  24. package/templates/admin/node_modules/@oxc-project/types/package.json +0 -26
  25. package/templates/admin/node_modules/@oxc-project/types/types.d.ts +0 -1912
  26. package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/README.md +0 -3
  27. package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/package.json +0 -37
  28. package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/rolldown-binding.win32-x64-msvc.node +0 -0
  29. package/templates/admin/node_modules/@rolldown/pluginutils/LICENSE +0 -21
  30. package/templates/admin/node_modules/@rolldown/pluginutils/README.md +0 -145
  31. package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts +0 -194
  32. package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter/index.mjs +0 -2
  33. package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs +0 -323
  34. package/templates/admin/node_modules/@rolldown/pluginutils/dist/index.d.mts +0 -2
  35. package/templates/admin/node_modules/@rolldown/pluginutils/dist/index.mjs +0 -2
  36. package/templates/admin/node_modules/@rolldown/pluginutils/package.json +0 -40
  37. package/templates/admin/node_modules/@typescript/typescript-win32-x64/LICENSE +0 -55
  38. package/templates/admin/node_modules/@typescript/typescript-win32-x64/NOTICE.txt +0 -436
  39. package/templates/admin/node_modules/@typescript/typescript-win32-x64/README.md +0 -3
  40. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.d.ts +0 -20
  41. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.decorators.d.ts +0 -382
  42. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.decorators.legacy.d.ts +0 -20
  43. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.asynciterable.d.ts +0 -18
  44. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.d.ts +0 -45125
  45. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.iterable.d.ts +0 -18
  46. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.collection.d.ts +0 -159
  47. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.core.d.ts +0 -595
  48. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.d.ts +0 -26
  49. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.generator.d.ts +0 -75
  50. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.iterable.d.ts +0 -603
  51. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.promise.d.ts +0 -79
  52. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.proxy.d.ts +0 -126
  53. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.reflect.d.ts +0 -142
  54. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.symbol.d.ts +0 -44
  55. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  56. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.array.include.d.ts +0 -114
  57. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.d.ts +0 -19
  58. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.full.d.ts +0 -21
  59. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.intl.d.ts +0 -29
  60. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.arraybuffer.d.ts +0 -19
  61. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.d.ts +0 -24
  62. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.date.d.ts +0 -29
  63. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.full.d.ts +0 -21
  64. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.intl.d.ts +0 -42
  65. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.object.d.ts +0 -47
  66. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.sharedmemory.d.ts +0 -133
  67. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.string.d.ts +0 -47
  68. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.typedarrays.d.ts +0 -51
  69. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  70. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.asynciterable.d.ts +0 -51
  71. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.d.ts +0 -22
  72. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.full.d.ts +0 -22
  73. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.intl.d.ts +0 -81
  74. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.promise.d.ts +0 -28
  75. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.regexp.d.ts +0 -35
  76. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.array.d.ts +0 -77
  77. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.d.ts +0 -22
  78. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.full.d.ts +0 -22
  79. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.intl.d.ts +0 -21
  80. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.object.d.ts +0 -31
  81. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.string.d.ts +0 -35
  82. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.symbol.d.ts +0 -22
  83. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.bigint.d.ts +0 -763
  84. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.d.ts +0 -25
  85. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.date.d.ts +0 -40
  86. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.full.d.ts +0 -22
  87. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.intl.d.ts +0 -472
  88. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.number.d.ts +0 -26
  89. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.promise.d.ts +0 -45
  90. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.sharedmemory.d.ts +0 -97
  91. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.string.d.ts +0 -42
  92. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  93. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.d.ts +0 -21
  94. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.full.d.ts +0 -22
  95. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.intl.d.ts +0 -164
  96. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.promise.d.ts +0 -46
  97. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.string.d.ts +0 -31
  98. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.weakref.d.ts +0 -76
  99. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.array.d.ts +0 -119
  100. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.d.ts +0 -23
  101. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.error.d.ts +0 -73
  102. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.full.d.ts +0 -22
  103. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.intl.d.ts +0 -143
  104. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.object.d.ts +0 -24
  105. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.regexp.d.ts +0 -37
  106. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.string.d.ts +0 -23
  107. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.array.d.ts +0 -922
  108. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.collection.d.ts +0 -19
  109. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.d.ts +0 -20
  110. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.full.d.ts +0 -22
  111. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.intl.d.ts +0 -62
  112. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.arraybuffer.d.ts +0 -63
  113. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.collection.d.ts +0 -27
  114. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.d.ts +0 -24
  115. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.full.d.ts +0 -22
  116. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.object.d.ts +0 -27
  117. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.promise.d.ts +0 -33
  118. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.regexp.d.ts +0 -23
  119. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.sharedmemory.d.ts +0 -66
  120. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.string.d.ts +0 -27
  121. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.collection.d.ts +0 -94
  122. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.d.ts +0 -23
  123. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.float16.d.ts +0 -443
  124. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.full.d.ts +0 -22
  125. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.intl.d.ts +0 -200
  126. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.iterator.d.ts +0 -146
  127. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.promise.d.ts +0 -32
  128. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.regexp.d.ts +0 -30
  129. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es5.d.ts +0 -4599
  130. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es6.d.ts +0 -21
  131. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.array.d.ts +0 -33
  132. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.collection.d.ts +0 -47
  133. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.d.ts +0 -27
  134. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.date.d.ts +0 -21
  135. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.decorators.d.ts +0 -26
  136. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.disposable.d.ts +0 -191
  137. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.error.d.ts +0 -22
  138. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.full.d.ts +0 -22
  139. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.intl.d.ts +0 -107
  140. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.sharedmemory.d.ts +0 -23
  141. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.temporal.d.ts +0 -485
  142. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.typedarrays.d.ts +0 -90
  143. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.scripthost.d.ts +0 -320
  144. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.asynciterable.d.ts +0 -18
  145. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.d.ts +0 -15606
  146. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.importscripts.d.ts +0 -21
  147. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.iterable.d.ts +0 -18
  148. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/tsc.exe +0 -0
  149. package/templates/admin/node_modules/@typescript/typescript-win32-x64/package.json +0 -45
  150. package/templates/admin/node_modules/@yoyaflow/yoya-ui/LICENSE +0 -21
  151. package/templates/admin/node_modules/@yoyaflow/yoya-ui/README.md +0 -271
  152. package/templates/admin/node_modules/@yoyaflow/yoya-ui/README.zh-CN.md +0 -272
  153. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/echarts.min.js +0 -45
  154. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya-ui.umd.js +0 -35
  155. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.core.js +0 -1779
  156. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.echart.js +0 -643
  157. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ssr.js +0 -2856
  158. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ui.css +0 -2289
  159. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ui.js +0 -13174
  160. package/templates/admin/node_modules/@yoyaflow/yoya-ui/package.json +0 -94
  161. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/actions.d.ts +0 -166
  162. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/async.d.ts +0 -108
  163. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/chart.d.ts +0 -40
  164. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/core.d.ts +0 -582
  165. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/css.d.ts +0 -5
  166. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/data-display.d.ts +0 -620
  167. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/effects.d.ts +0 -64
  168. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/feedback.d.ts +0 -119
  169. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/form.d.ts +0 -507
  170. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/html.d.ts +0 -288
  171. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/i18n.d.ts +0 -56
  172. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/index.d.ts +0 -4
  173. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/layout.d.ts +0 -444
  174. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/navigation.d.ts +0 -275
  175. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/router.d.ts +0 -123
  176. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/ssr.d.ts +0 -124
  177. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/svg.d.ts +0 -159
  178. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/theme.d.ts +0 -40
  179. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.core.d.ts +0 -7
  180. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.echart.d.ts +0 -4
  181. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.ssr.d.ts +0 -9
  182. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.ui.d.ts +0 -19
  183. package/templates/admin/node_modules/detect-libc/LICENSE +0 -201
  184. package/templates/admin/node_modules/detect-libc/README.md +0 -163
  185. package/templates/admin/node_modules/detect-libc/index.d.ts +0 -14
  186. package/templates/admin/node_modules/detect-libc/lib/detect-libc.js +0 -313
  187. package/templates/admin/node_modules/detect-libc/lib/elf.js +0 -39
  188. package/templates/admin/node_modules/detect-libc/lib/filesystem.js +0 -51
  189. package/templates/admin/node_modules/detect-libc/lib/process.js +0 -24
  190. package/templates/admin/node_modules/detect-libc/package.json +0 -44
  191. package/templates/admin/node_modules/fdir/LICENSE +0 -7
  192. package/templates/admin/node_modules/fdir/README.md +0 -91
  193. package/templates/admin/node_modules/fdir/dist/index.cjs +0 -588
  194. package/templates/admin/node_modules/fdir/dist/index.d.cts +0 -155
  195. package/templates/admin/node_modules/fdir/dist/index.d.mts +0 -155
  196. package/templates/admin/node_modules/fdir/dist/index.mjs +0 -570
  197. package/templates/admin/node_modules/fdir/package.json +0 -103
  198. package/templates/admin/node_modules/lightningcss/LICENSE +0 -373
  199. package/templates/admin/node_modules/lightningcss/README.md +0 -105
  200. package/templates/admin/node_modules/lightningcss/node/ast.d.ts +0 -9965
  201. package/templates/admin/node_modules/lightningcss/node/ast.js.flow +0 -10615
  202. package/templates/admin/node_modules/lightningcss/node/browserslistToTargets.js +0 -48
  203. package/templates/admin/node_modules/lightningcss/node/composeVisitors.js +0 -450
  204. package/templates/admin/node_modules/lightningcss/node/flags.js +0 -28
  205. package/templates/admin/node_modules/lightningcss/node/index.d.ts +0 -501
  206. package/templates/admin/node_modules/lightningcss/node/index.js +0 -59
  207. package/templates/admin/node_modules/lightningcss/node/index.js.flow +0 -854
  208. package/templates/admin/node_modules/lightningcss/node/index.mjs +0 -4
  209. package/templates/admin/node_modules/lightningcss/node/targets.d.ts +0 -40
  210. package/templates/admin/node_modules/lightningcss/node/targets.js.flow +0 -39
  211. package/templates/admin/node_modules/lightningcss/package.json +0 -110
  212. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/LICENSE +0 -373
  213. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/README.md +0 -1
  214. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node +0 -0
  215. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/package.json +0 -34
  216. package/templates/admin/node_modules/nanoid/LICENSE +0 -20
  217. package/templates/admin/node_modules/nanoid/README.md +0 -39
  218. package/templates/admin/node_modules/nanoid/async/index.browser.cjs +0 -43
  219. package/templates/admin/node_modules/nanoid/async/index.browser.js +0 -43
  220. package/templates/admin/node_modules/nanoid/async/index.cjs +0 -47
  221. package/templates/admin/node_modules/nanoid/async/index.d.ts +0 -56
  222. package/templates/admin/node_modules/nanoid/async/index.js +0 -47
  223. package/templates/admin/node_modules/nanoid/async/index.native.js +0 -38
  224. package/templates/admin/node_modules/nanoid/async/package.json +0 -12
  225. package/templates/admin/node_modules/nanoid/bin/nanoid.cjs +0 -55
  226. package/templates/admin/node_modules/nanoid/index.browser.cjs +0 -45
  227. package/templates/admin/node_modules/nanoid/index.browser.js +0 -45
  228. package/templates/admin/node_modules/nanoid/index.cjs +0 -58
  229. package/templates/admin/node_modules/nanoid/index.d.cts +0 -91
  230. package/templates/admin/node_modules/nanoid/index.d.ts +0 -91
  231. package/templates/admin/node_modules/nanoid/index.js +0 -63
  232. package/templates/admin/node_modules/nanoid/nanoid.js +0 -1
  233. package/templates/admin/node_modules/nanoid/non-secure/index.cjs +0 -24
  234. package/templates/admin/node_modules/nanoid/non-secure/index.d.ts +0 -33
  235. package/templates/admin/node_modules/nanoid/non-secure/index.js +0 -24
  236. package/templates/admin/node_modules/nanoid/non-secure/package.json +0 -6
  237. package/templates/admin/node_modules/nanoid/package.json +0 -89
  238. package/templates/admin/node_modules/nanoid/url-alphabet/index.cjs +0 -4
  239. package/templates/admin/node_modules/nanoid/url-alphabet/index.js +0 -4
  240. package/templates/admin/node_modules/nanoid/url-alphabet/package.json +0 -6
  241. package/templates/admin/node_modules/picocolors/LICENSE +0 -15
  242. package/templates/admin/node_modules/picocolors/README.md +0 -21
  243. package/templates/admin/node_modules/picocolors/package.json +0 -25
  244. package/templates/admin/node_modules/picocolors/picocolors.browser.js +0 -4
  245. package/templates/admin/node_modules/picocolors/picocolors.d.ts +0 -5
  246. package/templates/admin/node_modules/picocolors/picocolors.js +0 -75
  247. package/templates/admin/node_modules/picocolors/types.d.ts +0 -51
  248. package/templates/admin/node_modules/picomatch/LICENSE +0 -21
  249. package/templates/admin/node_modules/picomatch/README.md +0 -743
  250. package/templates/admin/node_modules/picomatch/index.js +0 -17
  251. package/templates/admin/node_modules/picomatch/lib/constants.js +0 -184
  252. package/templates/admin/node_modules/picomatch/lib/parse.js +0 -1425
  253. package/templates/admin/node_modules/picomatch/lib/picomatch.js +0 -361
  254. package/templates/admin/node_modules/picomatch/lib/scan.js +0 -403
  255. package/templates/admin/node_modules/picomatch/lib/utils.js +0 -72
  256. package/templates/admin/node_modules/picomatch/package.json +0 -83
  257. package/templates/admin/node_modules/picomatch/posix.js +0 -3
  258. package/templates/admin/node_modules/postcss/LICENSE +0 -20
  259. package/templates/admin/node_modules/postcss/README.md +0 -27
  260. package/templates/admin/node_modules/postcss/lib/at-rule.d.ts +0 -139
  261. package/templates/admin/node_modules/postcss/lib/at-rule.js +0 -25
  262. package/templates/admin/node_modules/postcss/lib/comment.d.ts +0 -67
  263. package/templates/admin/node_modules/postcss/lib/comment.js +0 -13
  264. package/templates/admin/node_modules/postcss/lib/container.d.ts +0 -478
  265. package/templates/admin/node_modules/postcss/lib/container.js +0 -494
  266. package/templates/admin/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
  267. package/templates/admin/node_modules/postcss/lib/css-syntax-error.js +0 -133
  268. package/templates/admin/node_modules/postcss/lib/declaration.d.ts +0 -150
  269. package/templates/admin/node_modules/postcss/lib/declaration.js +0 -24
  270. package/templates/admin/node_modules/postcss/lib/document.d.ts +0 -68
  271. package/templates/admin/node_modules/postcss/lib/document.js +0 -33
  272. package/templates/admin/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  273. package/templates/admin/node_modules/postcss/lib/fromJSON.js +0 -107
  274. package/templates/admin/node_modules/postcss/lib/input.d.ts +0 -226
  275. package/templates/admin/node_modules/postcss/lib/input.js +0 -282
  276. package/templates/admin/node_modules/postcss/lib/lazy-result.d.ts +0 -189
  277. package/templates/admin/node_modules/postcss/lib/lazy-result.js +0 -626
  278. package/templates/admin/node_modules/postcss/lib/list.d.ts +0 -60
  279. package/templates/admin/node_modules/postcss/lib/list.js +0 -59
  280. package/templates/admin/node_modules/postcss/lib/map-generator.js +0 -376
  281. package/templates/admin/node_modules/postcss/lib/no-work-result.d.ts +0 -45
  282. package/templates/admin/node_modules/postcss/lib/no-work-result.js +0 -137
  283. package/templates/admin/node_modules/postcss/lib/node.d.ts +0 -555
  284. package/templates/admin/node_modules/postcss/lib/node.js +0 -494
  285. package/templates/admin/node_modules/postcss/lib/parse.d.ts +0 -9
  286. package/templates/admin/node_modules/postcss/lib/parse.js +0 -42
  287. package/templates/admin/node_modules/postcss/lib/parser.js +0 -618
  288. package/templates/admin/node_modules/postcss/lib/postcss.d.mts +0 -66
  289. package/templates/admin/node_modules/postcss/lib/postcss.d.ts +0 -464
  290. package/templates/admin/node_modules/postcss/lib/postcss.js +0 -101
  291. package/templates/admin/node_modules/postcss/lib/postcss.mjs +0 -30
  292. package/templates/admin/node_modules/postcss/lib/previous-map.d.ts +0 -80
  293. package/templates/admin/node_modules/postcss/lib/previous-map.js +0 -176
  294. package/templates/admin/node_modules/postcss/lib/processor.d.ts +0 -114
  295. package/templates/admin/node_modules/postcss/lib/processor.js +0 -67
  296. package/templates/admin/node_modules/postcss/lib/result.d.ts +0 -204
  297. package/templates/admin/node_modules/postcss/lib/result.js +0 -42
  298. package/templates/admin/node_modules/postcss/lib/root.d.ts +0 -86
  299. package/templates/admin/node_modules/postcss/lib/root.js +0 -76
  300. package/templates/admin/node_modules/postcss/lib/rule.d.ts +0 -126
  301. package/templates/admin/node_modules/postcss/lib/rule.js +0 -27
  302. package/templates/admin/node_modules/postcss/lib/stringifier.d.ts +0 -45
  303. package/templates/admin/node_modules/postcss/lib/stringifier.js +0 -461
  304. package/templates/admin/node_modules/postcss/lib/stringify.d.ts +0 -9
  305. package/templates/admin/node_modules/postcss/lib/stringify.js +0 -11
  306. package/templates/admin/node_modules/postcss/lib/symbols.js +0 -5
  307. package/templates/admin/node_modules/postcss/lib/terminal-highlight.js +0 -70
  308. package/templates/admin/node_modules/postcss/lib/tokenize.js +0 -270
  309. package/templates/admin/node_modules/postcss/lib/warn-once.js +0 -13
  310. package/templates/admin/node_modules/postcss/lib/warning.d.ts +0 -146
  311. package/templates/admin/node_modules/postcss/lib/warning.js +0 -47
  312. package/templates/admin/node_modules/postcss/package.json +0 -88
  313. package/templates/admin/node_modules/rolldown/LICENSE +0 -25
  314. package/templates/admin/node_modules/rolldown/README.md +0 -11
  315. package/templates/admin/node_modules/rolldown/THIRD-PARTY-LICENSE +0 -33
  316. package/templates/admin/node_modules/rolldown/bin/cli.mjs +0 -11
  317. package/templates/admin/node_modules/rolldown/dist/cli.d.mts +0 -1
  318. package/templates/admin/node_modules/rolldown/dist/cli.mjs +0 -1208
  319. package/templates/admin/node_modules/rolldown/dist/config.d.mts +0 -26
  320. package/templates/admin/node_modules/rolldown/dist/config.mjs +0 -4
  321. package/templates/admin/node_modules/rolldown/dist/experimental-default-runtime.mjs +0 -116
  322. package/templates/admin/node_modules/rolldown/dist/experimental-index.d.mts +0 -324
  323. package/templates/admin/node_modules/rolldown/dist/experimental-index.mjs +0 -383
  324. package/templates/admin/node_modules/rolldown/dist/experimental-runtime-base.mjs +0 -95
  325. package/templates/admin/node_modules/rolldown/dist/experimental-runtime-types.d.ts +0 -177
  326. package/templates/admin/node_modules/rolldown/dist/experimental-runtime.d.ts +0 -177
  327. package/templates/admin/node_modules/rolldown/dist/experimental-runtime.mjs +0 -257
  328. package/templates/admin/node_modules/rolldown/dist/filter-index.d.mts +0 -196
  329. package/templates/admin/node_modules/rolldown/dist/filter-index.mjs +0 -376
  330. package/templates/admin/node_modules/rolldown/dist/get-log-filter.d.mts +0 -3
  331. package/templates/admin/node_modules/rolldown/dist/get-log-filter.mjs +0 -68
  332. package/templates/admin/node_modules/rolldown/dist/index.d.mts +0 -4
  333. package/templates/admin/node_modules/rolldown/dist/index.mjs +0 -56
  334. package/templates/admin/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +0 -1
  335. package/templates/admin/node_modules/rolldown/dist/parallel-plugin-worker.mjs +0 -29
  336. package/templates/admin/node_modules/rolldown/dist/parallel-plugin.d.mts +0 -12
  337. package/templates/admin/node_modules/rolldown/dist/parallel-plugin.mjs +0 -6
  338. package/templates/admin/node_modules/rolldown/dist/parse-ast-index.d.mts +0 -30
  339. package/templates/admin/node_modules/rolldown/dist/parse-ast-index.mjs +0 -60
  340. package/templates/admin/node_modules/rolldown/dist/plugins-index.d.mts +0 -32
  341. package/templates/admin/node_modules/rolldown/dist/plugins-index.mjs +0 -40
  342. package/templates/admin/node_modules/rolldown/dist/shared/binding-CtPG-2KR.mjs +0 -675
  343. package/templates/admin/node_modules/rolldown/dist/shared/binding-Og__jmUi.d.mts +0 -2065
  344. package/templates/admin/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs +0 -2416
  345. package/templates/admin/node_modules/rolldown/dist/shared/constructors-Qrp2Xr6w.d.mts +0 -35
  346. package/templates/admin/node_modules/rolldown/dist/shared/constructors-ltBDfHX1.mjs +0 -69
  347. package/templates/admin/node_modules/rolldown/dist/shared/create-bundler-option-DSPiA5F7.mjs +0 -3220
  348. package/templates/admin/node_modules/rolldown/dist/shared/define-config-Demdg3_4.mjs +0 -6
  349. package/templates/admin/node_modules/rolldown/dist/shared/define-config-Nbz-lniw.d.mts +0 -4101
  350. package/templates/admin/node_modules/rolldown/dist/shared/dist-DKbukT1H.mjs +0 -154
  351. package/templates/admin/node_modules/rolldown/dist/shared/error-HDibX49O.mjs +0 -85
  352. package/templates/admin/node_modules/rolldown/dist/shared/get-log-filter-AjBknEEO.d.mts +0 -34
  353. package/templates/admin/node_modules/rolldown/dist/shared/load-config-BMUrE9HH.mjs +0 -137
  354. package/templates/admin/node_modules/rolldown/dist/shared/logging-xuHO4mAy.d.mts +0 -50
  355. package/templates/admin/node_modules/rolldown/dist/shared/logs-DmYCAKcW.mjs +0 -192
  356. package/templates/admin/node_modules/rolldown/dist/shared/misc-DOSKtd97.mjs +0 -29
  357. package/templates/admin/node_modules/rolldown/dist/shared/normalize-string-or-regex-DWz4it3p.mjs +0 -68
  358. package/templates/admin/node_modules/rolldown/dist/shared/parse-D0g29RgN.mjs +0 -74
  359. package/templates/admin/node_modules/rolldown/dist/shared/prompt-CH6TK0bC.mjs +0 -885
  360. package/templates/admin/node_modules/rolldown/dist/shared/resolve-tsconfig-CLYpUIZC.mjs +0 -128
  361. package/templates/admin/node_modules/rolldown/dist/shared/rolldown-C9Hfg50O.mjs +0 -179
  362. package/templates/admin/node_modules/rolldown/dist/shared/transform-DR4CXeQm.d.mts +0 -152
  363. package/templates/admin/node_modules/rolldown/dist/shared/watch-UbzgabQn.mjs +0 -377
  364. package/templates/admin/node_modules/rolldown/dist/utils-index.d.mts +0 -375
  365. package/templates/admin/node_modules/rolldown/dist/utils-index.mjs +0 -2416
  366. package/templates/admin/node_modules/rolldown/package.json +0 -164
  367. package/templates/admin/node_modules/source-map-js/LICENSE +0 -28
  368. package/templates/admin/node_modules/source-map-js/README.md +0 -765
  369. package/templates/admin/node_modules/source-map-js/lib/array-set.js +0 -121
  370. package/templates/admin/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  371. package/templates/admin/node_modules/source-map-js/lib/base64.js +0 -67
  372. package/templates/admin/node_modules/source-map-js/lib/binary-search.js +0 -111
  373. package/templates/admin/node_modules/source-map-js/lib/mapping-list.js +0 -79
  374. package/templates/admin/node_modules/source-map-js/lib/quick-sort.js +0 -132
  375. package/templates/admin/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  376. package/templates/admin/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  377. package/templates/admin/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  378. package/templates/admin/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  379. package/templates/admin/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  380. package/templates/admin/node_modules/source-map-js/lib/source-node.js +0 -413
  381. package/templates/admin/node_modules/source-map-js/lib/util.js +0 -594
  382. package/templates/admin/node_modules/source-map-js/package.json +0 -71
  383. package/templates/admin/node_modules/source-map-js/source-map.d.ts +0 -104
  384. package/templates/admin/node_modules/source-map-js/source-map.js +0 -8
  385. package/templates/admin/node_modules/tinyglobby/LICENSE +0 -21
  386. package/templates/admin/node_modules/tinyglobby/README.md +0 -25
  387. package/templates/admin/node_modules/tinyglobby/dist/index.cjs +0 -335
  388. package/templates/admin/node_modules/tinyglobby/dist/index.d.cts +0 -148
  389. package/templates/admin/node_modules/tinyglobby/dist/index.d.mts +0 -148
  390. package/templates/admin/node_modules/tinyglobby/dist/index.mjs +0 -307
  391. package/templates/admin/node_modules/tinyglobby/package.json +0 -70
  392. package/templates/admin/node_modules/typescript/LICENSE +0 -55
  393. package/templates/admin/node_modules/typescript/NOTICE.txt +0 -436
  394. package/templates/admin/node_modules/typescript/README.md +0 -49
  395. package/templates/admin/node_modules/typescript/bin/tsc +0 -2
  396. package/templates/admin/node_modules/typescript/dist/api/async/api.d.ts +0 -529
  397. package/templates/admin/node_modules/typescript/dist/api/async/api.d.ts.map +0 -1
  398. package/templates/admin/node_modules/typescript/dist/api/async/api.js +0 -1657
  399. package/templates/admin/node_modules/typescript/dist/api/async/api.js.map +0 -1
  400. package/templates/admin/node_modules/typescript/dist/api/async/client.d.ts +0 -39
  401. package/templates/admin/node_modules/typescript/dist/api/async/client.d.ts.map +0 -1
  402. package/templates/admin/node_modules/typescript/dist/api/async/client.js +0 -211
  403. package/templates/admin/node_modules/typescript/dist/api/async/client.js.map +0 -1
  404. package/templates/admin/node_modules/typescript/dist/api/async/types.d.ts +0 -310
  405. package/templates/admin/node_modules/typescript/dist/api/async/types.d.ts.map +0 -1
  406. package/templates/admin/node_modules/typescript/dist/api/async/types.js +0 -2
  407. package/templates/admin/node_modules/typescript/dist/api/async/types.js.map +0 -1
  408. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.d.ts +0 -109
  409. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.d.ts.map +0 -1
  410. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.js +0 -2
  411. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.js.map +0 -1
  412. package/templates/admin/node_modules/typescript/dist/api/fs.d.ts +0 -23
  413. package/templates/admin/node_modules/typescript/dist/api/fs.d.ts.map +0 -1
  414. package/templates/admin/node_modules/typescript/dist/api/fs.js +0 -109
  415. package/templates/admin/node_modules/typescript/dist/api/fs.js.map +0 -1
  416. package/templates/admin/node_modules/typescript/dist/api/node/encoder.d.ts +0 -15
  417. package/templates/admin/node_modules/typescript/dist/api/node/encoder.d.ts.map +0 -1
  418. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.d.ts +0 -5
  419. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +0 -1
  420. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.js +0 -74
  421. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.js.map +0 -1
  422. package/templates/admin/node_modules/typescript/dist/api/node/encoder.js +0 -287
  423. package/templates/admin/node_modules/typescript/dist/api/node/encoder.js.map +0 -1
  424. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.d.ts +0 -32
  425. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.d.ts.map +0 -1
  426. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.js +0 -213
  427. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.js.map +0 -1
  428. package/templates/admin/node_modules/typescript/dist/api/node/node.d.ts +0 -76
  429. package/templates/admin/node_modules/typescript/dist/api/node/node.d.ts.map +0 -1
  430. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.d.ts +0 -182
  431. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.d.ts.map +0 -1
  432. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.js +0 -835
  433. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.js.map +0 -1
  434. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +0 -62
  435. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +0 -1
  436. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.js +0 -122
  437. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.js.map +0 -1
  438. package/templates/admin/node_modules/typescript/dist/api/node/node.js +0 -298
  439. package/templates/admin/node_modules/typescript/dist/api/node/node.js.map +0 -1
  440. package/templates/admin/node_modules/typescript/dist/api/node/protocol.d.ts +0 -29
  441. package/templates/admin/node_modules/typescript/dist/api/node/protocol.d.ts.map +0 -1
  442. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.d.ts +0 -4
  443. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +0 -1
  444. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.js +0 -241
  445. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.js.map +0 -1
  446. package/templates/admin/node_modules/typescript/dist/api/node/protocol.js +0 -30
  447. package/templates/admin/node_modules/typescript/dist/api/node/protocol.js.map +0 -1
  448. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.d.ts +0 -6
  449. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.d.ts.map +0 -1
  450. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.js +0 -61
  451. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.js.map +0 -1
  452. package/templates/admin/node_modules/typescript/dist/api/options.d.ts +0 -32
  453. package/templates/admin/node_modules/typescript/dist/api/options.d.ts.map +0 -1
  454. package/templates/admin/node_modules/typescript/dist/api/options.js +0 -11
  455. package/templates/admin/node_modules/typescript/dist/api/options.js.map +0 -1
  456. package/templates/admin/node_modules/typescript/dist/api/path.d.ts +0 -110
  457. package/templates/admin/node_modules/typescript/dist/api/path.d.ts.map +0 -1
  458. package/templates/admin/node_modules/typescript/dist/api/path.js +0 -508
  459. package/templates/admin/node_modules/typescript/dist/api/path.js.map +0 -1
  460. package/templates/admin/node_modules/typescript/dist/api/proto.d.ts +0 -239
  461. package/templates/admin/node_modules/typescript/dist/api/proto.d.ts.map +0 -1
  462. package/templates/admin/node_modules/typescript/dist/api/proto.js +0 -37
  463. package/templates/admin/node_modules/typescript/dist/api/proto.js.map +0 -1
  464. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.d.ts +0 -79
  465. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +0 -1
  466. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.js +0 -169
  467. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.js.map +0 -1
  468. package/templates/admin/node_modules/typescript/dist/api/sync/api.d.ts +0 -529
  469. package/templates/admin/node_modules/typescript/dist/api/sync/api.d.ts.map +0 -1
  470. package/templates/admin/node_modules/typescript/dist/api/sync/api.js +0 -1665
  471. package/templates/admin/node_modules/typescript/dist/api/sync/api.js.map +0 -1
  472. package/templates/admin/node_modules/typescript/dist/api/sync/client.d.ts +0 -30
  473. package/templates/admin/node_modules/typescript/dist/api/sync/client.d.ts.map +0 -1
  474. package/templates/admin/node_modules/typescript/dist/api/sync/client.js +0 -124
  475. package/templates/admin/node_modules/typescript/dist/api/sync/client.js.map +0 -1
  476. package/templates/admin/node_modules/typescript/dist/api/sync/types.d.ts +0 -310
  477. package/templates/admin/node_modules/typescript/dist/api/sync/types.d.ts.map +0 -1
  478. package/templates/admin/node_modules/typescript/dist/api/sync/types.js +0 -2
  479. package/templates/admin/node_modules/typescript/dist/api/sync/types.js.map +0 -1
  480. package/templates/admin/node_modules/typescript/dist/api/syncChannel.d.ts +0 -114
  481. package/templates/admin/node_modules/typescript/dist/api/syncChannel.d.ts.map +0 -1
  482. package/templates/admin/node_modules/typescript/dist/api/syncChannel.js +0 -508
  483. package/templates/admin/node_modules/typescript/dist/api/syncChannel.js.map +0 -1
  484. package/templates/admin/node_modules/typescript/dist/api/timing.d.ts +0 -175
  485. package/templates/admin/node_modules/typescript/dist/api/timing.d.ts.map +0 -1
  486. package/templates/admin/node_modules/typescript/dist/api/timing.js +0 -149
  487. package/templates/admin/node_modules/typescript/dist/api/timing.js.map +0 -1
  488. package/templates/admin/node_modules/typescript/dist/ast/ast.d.ts +0 -100
  489. package/templates/admin/node_modules/typescript/dist/ast/ast.d.ts.map +0 -1
  490. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.d.ts +0 -1161
  491. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.d.ts.map +0 -1
  492. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.js +0 -4
  493. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.js.map +0 -1
  494. package/templates/admin/node_modules/typescript/dist/ast/ast.js +0 -7
  495. package/templates/admin/node_modules/typescript/dist/ast/ast.js.map +0 -1
  496. package/templates/admin/node_modules/typescript/dist/ast/astnav.d.ts +0 -19
  497. package/templates/admin/node_modules/typescript/dist/ast/astnav.d.ts.map +0 -1
  498. package/templates/admin/node_modules/typescript/dist/ast/astnav.js +0 -596
  499. package/templates/admin/node_modules/typescript/dist/ast/astnav.js.map +0 -1
  500. package/templates/admin/node_modules/typescript/dist/ast/clone.d.ts +0 -16
  501. package/templates/admin/node_modules/typescript/dist/ast/clone.d.ts.map +0 -1
  502. package/templates/admin/node_modules/typescript/dist/ast/clone.js +0 -104
  503. package/templates/admin/node_modules/typescript/dist/ast/clone.js.map +0 -1
  504. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.d.ts +0 -520
  505. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.d.ts.map +0 -1
  506. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.js +0 -3057
  507. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.js.map +0 -1
  508. package/templates/admin/node_modules/typescript/dist/ast/index.d.ts +0 -20
  509. package/templates/admin/node_modules/typescript/dist/ast/index.d.ts.map +0 -1
  510. package/templates/admin/node_modules/typescript/dist/ast/index.js +0 -20
  511. package/templates/admin/node_modules/typescript/dist/ast/index.js.map +0 -1
  512. package/templates/admin/node_modules/typescript/dist/ast/is.d.ts +0 -35
  513. package/templates/admin/node_modules/typescript/dist/ast/is.d.ts.map +0 -1
  514. package/templates/admin/node_modules/typescript/dist/ast/is.generated.d.ts +0 -329
  515. package/templates/admin/node_modules/typescript/dist/ast/is.generated.d.ts.map +0 -1
  516. package/templates/admin/node_modules/typescript/dist/ast/is.generated.js +0 -1103
  517. package/templates/admin/node_modules/typescript/dist/ast/is.generated.js.map +0 -1
  518. package/templates/admin/node_modules/typescript/dist/ast/is.js +0 -233
  519. package/templates/admin/node_modules/typescript/dist/ast/is.js.map +0 -1
  520. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.d.ts +0 -11
  521. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.d.ts.map +0 -1
  522. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.js +0 -202
  523. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.js.map +0 -1
  524. package/templates/admin/node_modules/typescript/dist/ast/scanner.d.ts +0 -97
  525. package/templates/admin/node_modules/typescript/dist/ast/scanner.d.ts.map +0 -1
  526. package/templates/admin/node_modules/typescript/dist/ast/scanner.js +0 -2230
  527. package/templates/admin/node_modules/typescript/dist/ast/scanner.js.map +0 -1
  528. package/templates/admin/node_modules/typescript/dist/ast/utils.d.ts +0 -17
  529. package/templates/admin/node_modules/typescript/dist/ast/utils.d.ts.map +0 -1
  530. package/templates/admin/node_modules/typescript/dist/ast/utils.js +0 -67
  531. package/templates/admin/node_modules/typescript/dist/ast/utils.js.map +0 -1
  532. package/templates/admin/node_modules/typescript/dist/ast/visitor.d.ts +0 -14
  533. package/templates/admin/node_modules/typescript/dist/ast/visitor.d.ts.map +0 -1
  534. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.d.ts +0 -50
  535. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +0 -1
  536. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.js +0 -978
  537. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.js.map +0 -1
  538. package/templates/admin/node_modules/typescript/dist/ast/visitor.js +0 -47
  539. package/templates/admin/node_modules/typescript/dist/ast/visitor.js.map +0 -1
  540. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.d.ts +0 -2
  541. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.d.ts.map +0 -1
  542. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +0 -129
  543. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +0 -1
  544. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.js +0 -132
  545. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.js.map +0 -1
  546. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.js +0 -130
  547. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.js.map +0 -1
  548. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +0 -2
  549. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +0 -1
  550. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +0 -5
  551. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
  552. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +0 -6
  553. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +0 -1
  554. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.js +0 -6
  555. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.js.map +0 -1
  556. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.d.ts +0 -2
  557. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +0 -1
  558. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +0 -28
  559. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +0 -1
  560. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.js +0 -30
  561. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +0 -1
  562. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.js +0 -30
  563. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.js.map +0 -1
  564. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +0 -2
  565. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +0 -1
  566. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +0 -7
  567. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
  568. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +0 -9
  569. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +0 -1
  570. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.js +0 -9
  571. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.js.map +0 -1
  572. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.d.ts +0 -2
  573. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.d.ts.map +0 -1
  574. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +0 -12
  575. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +0 -1
  576. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.js +0 -14
  577. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.js.map +0 -1
  578. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.js +0 -14
  579. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.js.map +0 -1
  580. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.d.ts +0 -2
  581. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +0 -1
  582. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +0 -23
  583. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
  584. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.js +0 -25
  585. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +0 -1
  586. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.js +0 -25
  587. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.js.map +0 -1
  588. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.d.ts +0 -2
  589. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +0 -1
  590. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +0 -9
  591. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +0 -1
  592. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.js +0 -11
  593. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +0 -1
  594. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.js +0 -11
  595. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.js.map +0 -1
  596. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.d.ts +0 -2
  597. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.d.ts.map +0 -1
  598. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +0 -5
  599. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +0 -1
  600. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.js +0 -6
  601. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.js.map +0 -1
  602. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.js +0 -6
  603. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.js.map +0 -1
  604. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.d.ts +0 -2
  605. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +0 -1
  606. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +0 -42
  607. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +0 -1
  608. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.js +0 -44
  609. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +0 -1
  610. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.js +0 -44
  611. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.js.map +0 -1
  612. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +0 -2
  613. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +0 -1
  614. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
  615. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
  616. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +0 -9
  617. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +0 -1
  618. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.js +0 -9
  619. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +0 -1
  620. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.d.ts +0 -2
  621. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.d.ts.map +0 -1
  622. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +0 -17
  623. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +0 -1
  624. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.js +0 -19
  625. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.js.map +0 -1
  626. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.js +0 -19
  627. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.js.map +0 -1
  628. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +0 -2
  629. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +0 -1
  630. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
  631. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
  632. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +0 -11
  633. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +0 -1
  634. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.js +0 -11
  635. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +0 -1
  636. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.d.ts +0 -2
  637. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.d.ts.map +0 -1
  638. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +0 -6
  639. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +0 -1
  640. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.js +0 -8
  641. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.js.map +0 -1
  642. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.js +0 -8
  643. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.js.map +0 -1
  644. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +0 -2
  645. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
  646. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
  647. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
  648. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +0 -38
  649. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
  650. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.js +0 -38
  651. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +0 -1
  652. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.d.ts +0 -2
  653. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +0 -1
  654. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +0 -44
  655. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +0 -1
  656. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.js +0 -46
  657. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +0 -1
  658. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.js +0 -46
  659. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.js.map +0 -1
  660. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.d.ts +0 -2
  661. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.d.ts.map +0 -1
  662. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +0 -50
  663. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +0 -1
  664. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.js +0 -52
  665. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.js.map +0 -1
  666. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.js +0 -52
  667. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.js.map +0 -1
  668. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +0 -2
  669. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +0 -1
  670. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
  671. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
  672. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +0 -18
  673. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +0 -1
  674. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.js +0 -18
  675. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +0 -1
  676. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +0 -2
  677. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +0 -1
  678. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
  679. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
  680. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +0 -14
  681. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +0 -1
  682. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.js +0 -14
  683. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +0 -1
  684. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.d.ts +0 -2
  685. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.d.ts.map +0 -1
  686. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +0 -11
  687. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +0 -1
  688. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.js +0 -12
  689. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.js.map +0 -1
  690. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.js +0 -12
  691. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.js.map +0 -1
  692. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.d.ts +0 -2
  693. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +0 -1
  694. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +0 -17
  695. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +0 -1
  696. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.js +0 -18
  697. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +0 -1
  698. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.js +0 -18
  699. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.js.map +0 -1
  700. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.d.ts +0 -2
  701. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +0 -1
  702. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +0 -15
  703. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +0 -1
  704. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.js +0 -17
  705. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +0 -1
  706. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.js +0 -17
  707. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.js.map +0 -1
  708. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.d.ts +0 -2
  709. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.d.ts.map +0 -1
  710. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +0 -5
  711. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +0 -1
  712. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.js +0 -7
  713. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.js.map +0 -1
  714. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.js +0 -7
  715. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.js.map +0 -1
  716. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.d.ts +0 -2
  717. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +0 -1
  718. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +0 -71
  719. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +0 -1
  720. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.js +0 -73
  721. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +0 -1
  722. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.js +0 -73
  723. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.js.map +0 -1
  724. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.d.ts +0 -2
  725. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +0 -1
  726. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +0 -389
  727. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +0 -1
  728. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.js +0 -391
  729. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +0 -1
  730. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.js +0 -391
  731. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.js.map +0 -1
  732. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.d.ts +0 -2
  733. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +0 -1
  734. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +0 -30
  735. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +0 -1
  736. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.js +0 -32
  737. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +0 -1
  738. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.js +0 -32
  739. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.js.map +0 -1
  740. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.d.ts +0 -2
  741. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.d.ts.map +0 -1
  742. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +0 -76
  743. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +0 -1
  744. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.js +0 -78
  745. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.js.map +0 -1
  746. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.js +0 -78
  747. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.js.map +0 -1
  748. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.d.ts +0 -2
  749. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +0 -1
  750. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +0 -7
  751. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
  752. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.js +0 -9
  753. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +0 -1
  754. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.js +0 -9
  755. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.js.map +0 -1
  756. package/templates/admin/node_modules/typescript/dist/internal/utils.d.ts +0 -23
  757. package/templates/admin/node_modules/typescript/dist/internal/utils.d.ts.map +0 -1
  758. package/templates/admin/node_modules/typescript/dist/internal/utils.js +0 -25
  759. package/templates/admin/node_modules/typescript/dist/internal/utils.js.map +0 -1
  760. package/templates/admin/node_modules/typescript/lib/getExePath.d.ts +0 -2
  761. package/templates/admin/node_modules/typescript/lib/getExePath.js +0 -70
  762. package/templates/admin/node_modules/typescript/lib/tsc.js +0 -28
  763. package/templates/admin/node_modules/typescript/lib/version.cjs +0 -3
  764. package/templates/admin/node_modules/typescript/lib/version.d.cts +0 -2
  765. package/templates/admin/node_modules/typescript/package.json +0 -87
  766. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +0 -11
  767. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/README.md +0 -54
  768. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
  769. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
  770. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
  771. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
  772. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
  773. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
  774. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
  775. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
  776. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
  777. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
  778. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
  779. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
  780. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
  781. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
  782. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
  783. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
  784. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
  785. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
  786. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
  787. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
  788. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
  789. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
  790. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
  791. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
  792. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
  793. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
  794. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
  795. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
  796. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
  797. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
  798. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
  799. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
  800. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
  801. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
  802. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
  803. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
  804. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
  805. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
  806. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/package.json +0 -54
  807. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
  808. package/templates/admin/node_modules/vite/LICENSE.md +0 -2322
  809. package/templates/admin/node_modules/vite/README.md +0 -20
  810. package/templates/admin/node_modules/vite/bin/openChrome.js +0 -68
  811. package/templates/admin/node_modules/vite/bin/vite.js +0 -79
  812. package/templates/admin/node_modules/vite/client.d.ts +0 -285
  813. package/templates/admin/node_modules/vite/dist/client/bundledDevClient.mjs +0 -1829
  814. package/templates/admin/node_modules/vite/dist/client/client.mjs +0 -1244
  815. package/templates/admin/node_modules/vite/dist/client/env.mjs +0 -18
  816. package/templates/admin/node_modules/vite/dist/node/chunks/build.js +0 -5494
  817. package/templates/admin/node_modules/vite/dist/node/chunks/dist.js +0 -6732
  818. package/templates/admin/node_modules/vite/dist/node/chunks/lib.js +0 -371
  819. package/templates/admin/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +0 -95
  820. package/templates/admin/node_modules/vite/dist/node/chunks/node.js +0 -37269
  821. package/templates/admin/node_modules/vite/dist/node/chunks/postcss-import.js +0 -465
  822. package/templates/admin/node_modules/vite/dist/node/cli.js +0 -835
  823. package/templates/admin/node_modules/vite/dist/node/index.d.ts +0 -4069
  824. package/templates/admin/node_modules/vite/dist/node/index.js +0 -2
  825. package/templates/admin/node_modules/vite/dist/node/internal.d.ts +0 -2
  826. package/templates/admin/node_modules/vite/dist/node/internal.js +0 -2
  827. package/templates/admin/node_modules/vite/dist/node/module-runner.d.ts +0 -313
  828. package/templates/admin/node_modules/vite/dist/node/module-runner.js +0 -1288
  829. package/templates/admin/node_modules/vite/misc/false.js +0 -1
  830. package/templates/admin/node_modules/vite/misc/true.js +0 -1
  831. package/templates/admin/node_modules/vite/package.json +0 -194
  832. package/templates/admin/node_modules/vite/types/customEvent.d.ts +0 -81
  833. package/templates/admin/node_modules/vite/types/hmrPayload.d.ts +0 -94
  834. package/templates/admin/node_modules/vite/types/hot.d.ts +0 -39
  835. package/templates/admin/node_modules/vite/types/import-meta.d.ts +0 -5
  836. package/templates/admin/node_modules/vite/types/importGlob.d.ts +0 -131
  837. package/templates/admin/node_modules/vite/types/importMeta.d.ts +0 -30
  838. package/templates/admin/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +0 -44
  839. package/templates/admin/node_modules/vite/types/internal/esbuildOptions.d.ts +0 -28
  840. package/templates/admin/node_modules/vite/types/internal/lightningcssOptions.d.ts +0 -18
  841. package/templates/admin/node_modules/vite/types/internal/rollupTypeCompat.d.ts +0 -24
  842. package/templates/admin/node_modules/vite/types/internal/terserOptions.d.ts +0 -11
  843. package/templates/admin/node_modules/vite/types/metadata.d.ts +0 -47
@@ -1,1188 +0,0 @@
1
- /* -*- Mode: js; js-indent-level: 2; -*- */
2
- /*
3
- * Copyright 2011 Mozilla Foundation and contributors
4
- * Licensed under the New BSD license. See LICENSE or:
5
- * http://opensource.org/licenses/BSD-3-Clause
6
- */
7
-
8
- var util = require('./util');
9
- var binarySearch = require('./binary-search');
10
- var ArraySet = require('./array-set').ArraySet;
11
- var base64VLQ = require('./base64-vlq');
12
- var quickSort = require('./quick-sort').quickSort;
13
-
14
- function SourceMapConsumer(aSourceMap, aSourceMapURL) {
15
- var sourceMap = aSourceMap;
16
- if (typeof aSourceMap === 'string') {
17
- sourceMap = util.parseSourceMapInput(aSourceMap);
18
- }
19
-
20
- return sourceMap.sections != null
21
- ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)
22
- : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
23
- }
24
-
25
- SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
26
- return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
27
- }
28
-
29
- /**
30
- * The version of the source mapping spec that we are consuming.
31
- */
32
- SourceMapConsumer.prototype._version = 3;
33
-
34
- // `__generatedMappings` and `__originalMappings` are arrays that hold the
35
- // parsed mapping coordinates from the source map's "mappings" attribute. They
36
- // are lazily instantiated, accessed via the `_generatedMappings` and
37
- // `_originalMappings` getters respectively, and we only parse the mappings
38
- // and create these arrays once queried for a source location. We jump through
39
- // these hoops because there can be many thousands of mappings, and parsing
40
- // them is expensive, so we only want to do it if we must.
41
- //
42
- // Each object in the arrays is of the form:
43
- //
44
- // {
45
- // generatedLine: The line number in the generated code,
46
- // generatedColumn: The column number in the generated code,
47
- // source: The path to the original source file that generated this
48
- // chunk of code,
49
- // originalLine: The line number in the original source that
50
- // corresponds to this chunk of generated code,
51
- // originalColumn: The column number in the original source that
52
- // corresponds to this chunk of generated code,
53
- // name: The name of the original symbol which generated this chunk of
54
- // code.
55
- // }
56
- //
57
- // All properties except for `generatedLine` and `generatedColumn` can be
58
- // `null`.
59
- //
60
- // `_generatedMappings` is ordered by the generated positions.
61
- //
62
- // `_originalMappings` is ordered by the original positions.
63
-
64
- SourceMapConsumer.prototype.__generatedMappings = null;
65
- Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {
66
- configurable: true,
67
- enumerable: true,
68
- get: function () {
69
- if (!this.__generatedMappings) {
70
- this._parseMappings(this._mappings, this.sourceRoot);
71
- }
72
-
73
- return this.__generatedMappings;
74
- }
75
- });
76
-
77
- SourceMapConsumer.prototype.__originalMappings = null;
78
- Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {
79
- configurable: true,
80
- enumerable: true,
81
- get: function () {
82
- if (!this.__originalMappings) {
83
- this._parseMappings(this._mappings, this.sourceRoot);
84
- }
85
-
86
- return this.__originalMappings;
87
- }
88
- });
89
-
90
- SourceMapConsumer.prototype._charIsMappingSeparator =
91
- function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
92
- var c = aStr.charAt(index);
93
- return c === ";" || c === ",";
94
- };
95
-
96
- /**
97
- * Parse the mappings in a string in to a data structure which we can easily
98
- * query (the ordered arrays in the `this.__generatedMappings` and
99
- * `this.__originalMappings` properties).
100
- */
101
- SourceMapConsumer.prototype._parseMappings =
102
- function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
103
- throw new Error("Subclasses must implement _parseMappings");
104
- };
105
-
106
- SourceMapConsumer.GENERATED_ORDER = 1;
107
- SourceMapConsumer.ORIGINAL_ORDER = 2;
108
-
109
- SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
110
- SourceMapConsumer.LEAST_UPPER_BOUND = 2;
111
-
112
- /**
113
- * Iterate over each mapping between an original source/line/column and a
114
- * generated line/column in this source map.
115
- *
116
- * @param Function aCallback
117
- * The function that is called with each mapping.
118
- * @param Object aContext
119
- * Optional. If specified, this object will be the value of `this` every
120
- * time that `aCallback` is called.
121
- * @param aOrder
122
- * Either `SourceMapConsumer.GENERATED_ORDER` or
123
- * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
124
- * iterate over the mappings sorted by the generated file's line/column
125
- * order or the original's source/line/column order, respectively. Defaults to
126
- * `SourceMapConsumer.GENERATED_ORDER`.
127
- */
128
- SourceMapConsumer.prototype.eachMapping =
129
- function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
130
- var context = aContext || null;
131
- var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
132
-
133
- var mappings;
134
- switch (order) {
135
- case SourceMapConsumer.GENERATED_ORDER:
136
- mappings = this._generatedMappings;
137
- break;
138
- case SourceMapConsumer.ORIGINAL_ORDER:
139
- mappings = this._originalMappings;
140
- break;
141
- default:
142
- throw new Error("Unknown order of iteration.");
143
- }
144
-
145
- var sourceRoot = this.sourceRoot;
146
- var boundCallback = aCallback.bind(context);
147
- var names = this._names;
148
- var sources = this._sources;
149
- var sourceMapURL = this._sourceMapURL;
150
-
151
- for (var i = 0, n = mappings.length; i < n; i++) {
152
- var mapping = mappings[i];
153
- var source = mapping.source === null ? null : sources.at(mapping.source);
154
- if(source !== null) {
155
- source = util.computeSourceURL(sourceRoot, source, sourceMapURL);
156
- }
157
- boundCallback({
158
- source: source,
159
- generatedLine: mapping.generatedLine,
160
- generatedColumn: mapping.generatedColumn,
161
- originalLine: mapping.originalLine,
162
- originalColumn: mapping.originalColumn,
163
- name: mapping.name === null ? null : names.at(mapping.name)
164
- });
165
- }
166
- };
167
-
168
- /**
169
- * Returns all generated line and column information for the original source,
170
- * line, and column provided. If no column is provided, returns all mappings
171
- * corresponding to a either the line we are searching for or the next
172
- * closest line that has any mappings. Otherwise, returns all mappings
173
- * corresponding to the given line and either the column we are searching for
174
- * or the next closest column that has any offsets.
175
- *
176
- * The only argument is an object with the following properties:
177
- *
178
- * - source: The filename of the original source.
179
- * - line: The line number in the original source. The line number is 1-based.
180
- * - column: Optional. the column number in the original source.
181
- * The column number is 0-based.
182
- *
183
- * and an array of objects is returned, each with the following properties:
184
- *
185
- * - line: The line number in the generated source, or null. The
186
- * line number is 1-based.
187
- * - column: The column number in the generated source, or null.
188
- * The column number is 0-based.
189
- */
190
- SourceMapConsumer.prototype.allGeneratedPositionsFor =
191
- function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
192
- var line = util.getArg(aArgs, 'line');
193
-
194
- // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping
195
- // returns the index of the closest mapping less than the needle. By
196
- // setting needle.originalColumn to 0, we thus find the last mapping for
197
- // the given line, provided such a mapping exists.
198
- var needle = {
199
- source: util.getArg(aArgs, 'source'),
200
- originalLine: line,
201
- originalColumn: util.getArg(aArgs, 'column', 0)
202
- };
203
-
204
- needle.source = this._findSourceIndex(needle.source);
205
- if (needle.source < 0) {
206
- return [];
207
- }
208
-
209
- var mappings = [];
210
-
211
- var index = this._findMapping(needle,
212
- this._originalMappings,
213
- "originalLine",
214
- "originalColumn",
215
- util.compareByOriginalPositions,
216
- binarySearch.LEAST_UPPER_BOUND);
217
- if (index >= 0) {
218
- var mapping = this._originalMappings[index];
219
-
220
- if (aArgs.column === undefined) {
221
- var originalLine = mapping.originalLine;
222
-
223
- // Iterate until either we run out of mappings, or we run into
224
- // a mapping for a different line than the one we found. Since
225
- // mappings are sorted, this is guaranteed to find all mappings for
226
- // the line we found.
227
- while (mapping && mapping.originalLine === originalLine) {
228
- mappings.push({
229
- line: util.getArg(mapping, 'generatedLine', null),
230
- column: util.getArg(mapping, 'generatedColumn', null),
231
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
232
- });
233
-
234
- mapping = this._originalMappings[++index];
235
- }
236
- } else {
237
- var originalColumn = mapping.originalColumn;
238
-
239
- // Iterate until either we run out of mappings, or we run into
240
- // a mapping for a different line than the one we were searching for.
241
- // Since mappings are sorted, this is guaranteed to find all mappings for
242
- // the line we are searching for.
243
- while (mapping &&
244
- mapping.originalLine === line &&
245
- mapping.originalColumn == originalColumn) {
246
- mappings.push({
247
- line: util.getArg(mapping, 'generatedLine', null),
248
- column: util.getArg(mapping, 'generatedColumn', null),
249
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
250
- });
251
-
252
- mapping = this._originalMappings[++index];
253
- }
254
- }
255
- }
256
-
257
- return mappings;
258
- };
259
-
260
- exports.SourceMapConsumer = SourceMapConsumer;
261
-
262
- /**
263
- * A BasicSourceMapConsumer instance represents a parsed source map which we can
264
- * query for information about the original file positions by giving it a file
265
- * position in the generated source.
266
- *
267
- * The first parameter is the raw source map (either as a JSON string, or
268
- * already parsed to an object). According to the spec, source maps have the
269
- * following attributes:
270
- *
271
- * - version: Which version of the source map spec this map is following.
272
- * - sources: An array of URLs to the original source files.
273
- * - names: An array of identifiers which can be referrenced by individual mappings.
274
- * - sourceRoot: Optional. The URL root from which all sources are relative.
275
- * - sourcesContent: Optional. An array of contents of the original source files.
276
- * - mappings: A string of base64 VLQs which contain the actual mappings.
277
- * - file: Optional. The generated file this source map is associated with.
278
- *
279
- * Here is an example source map, taken from the source map spec[0]:
280
- *
281
- * {
282
- * version : 3,
283
- * file: "out.js",
284
- * sourceRoot : "",
285
- * sources: ["foo.js", "bar.js"],
286
- * names: ["src", "maps", "are", "fun"],
287
- * mappings: "AA,AB;;ABCDE;"
288
- * }
289
- *
290
- * The second parameter, if given, is a string whose value is the URL
291
- * at which the source map was found. This URL is used to compute the
292
- * sources array.
293
- *
294
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
295
- */
296
- function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
297
- var sourceMap = aSourceMap;
298
- if (typeof aSourceMap === 'string') {
299
- sourceMap = util.parseSourceMapInput(aSourceMap);
300
- }
301
-
302
- var version = util.getArg(sourceMap, 'version');
303
- var sources = util.getArg(sourceMap, 'sources');
304
- // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which
305
- // requires the array) to play nice here.
306
- var names = util.getArg(sourceMap, 'names', []);
307
- var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);
308
- var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);
309
- var mappings = util.getArg(sourceMap, 'mappings');
310
- var file = util.getArg(sourceMap, 'file', null);
311
-
312
- // Once again, Sass deviates from the spec and supplies the version as a
313
- // string rather than a number, so we use loose equality checking here.
314
- if (version != this._version) {
315
- throw new Error('Unsupported version: ' + version);
316
- }
317
-
318
- if (sourceRoot) {
319
- sourceRoot = util.normalize(sourceRoot);
320
- }
321
-
322
- sources = sources
323
- .map(String)
324
- // Some source maps produce relative source paths like "./foo.js" instead of
325
- // "foo.js". Normalize these first so that future comparisons will succeed.
326
- // See bugzil.la/1090768.
327
- .map(util.normalize)
328
- // Always ensure that absolute sources are internally stored relative to
329
- // the source root, if the source root is absolute. Not doing this would
330
- // be particularly problematic when the source root is a prefix of the
331
- // source (valid, but why??). See github issue #199 and bugzil.la/1188982.
332
- .map(function (source) {
333
- return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)
334
- ? util.relative(sourceRoot, source)
335
- : source;
336
- });
337
-
338
- // Pass `true` below to allow duplicate names and sources. While source maps
339
- // are intended to be compressed and deduplicated, the TypeScript compiler
340
- // sometimes generates source maps with duplicates in them. See Github issue
341
- // #72 and bugzil.la/889492.
342
- this._names = ArraySet.fromArray(names.map(String), true);
343
- this._sources = ArraySet.fromArray(sources, true);
344
-
345
- this._absoluteSources = this._sources.toArray().map(function (s) {
346
- return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
347
- });
348
-
349
- this.sourceRoot = sourceRoot;
350
- this.sourcesContent = sourcesContent;
351
- this._mappings = mappings;
352
- this._sourceMapURL = aSourceMapURL;
353
- this.file = file;
354
- }
355
-
356
- BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
357
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
358
-
359
- /**
360
- * Utility function to find the index of a source. Returns -1 if not
361
- * found.
362
- */
363
- BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
364
- var relativeSource = aSource;
365
- if (this.sourceRoot != null) {
366
- relativeSource = util.relative(this.sourceRoot, relativeSource);
367
- }
368
-
369
- if (this._sources.has(relativeSource)) {
370
- return this._sources.indexOf(relativeSource);
371
- }
372
-
373
- // Maybe aSource is an absolute URL as returned by |sources|. In
374
- // this case we can't simply undo the transform.
375
- var i;
376
- for (i = 0; i < this._absoluteSources.length; ++i) {
377
- if (this._absoluteSources[i] == aSource) {
378
- return i;
379
- }
380
- }
381
-
382
- return -1;
383
- };
384
-
385
- /**
386
- * Create a BasicSourceMapConsumer from a SourceMapGenerator.
387
- *
388
- * @param SourceMapGenerator aSourceMap
389
- * The source map that will be consumed.
390
- * @param String aSourceMapURL
391
- * The URL at which the source map can be found (optional)
392
- * @returns BasicSourceMapConsumer
393
- */
394
- BasicSourceMapConsumer.fromSourceMap =
395
- function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
396
- var smc = Object.create(BasicSourceMapConsumer.prototype);
397
-
398
- var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
399
- var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
400
- smc.sourceRoot = aSourceMap._sourceRoot;
401
- smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),
402
- smc.sourceRoot);
403
- smc.file = aSourceMap._file;
404
- smc._sourceMapURL = aSourceMapURL;
405
- smc._absoluteSources = smc._sources.toArray().map(function (s) {
406
- return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
407
- });
408
-
409
- // Because we are modifying the entries (by converting string sources and
410
- // names to indices into the sources and names ArraySets), we have to make
411
- // a copy of the entry or else bad things happen. Shared mutable state
412
- // strikes again! See github issue #191.
413
-
414
- var generatedMappings = aSourceMap._mappings.toArray().slice();
415
- var destGeneratedMappings = smc.__generatedMappings = [];
416
- var destOriginalMappings = smc.__originalMappings = [];
417
-
418
- for (var i = 0, length = generatedMappings.length; i < length; i++) {
419
- var srcMapping = generatedMappings[i];
420
- var destMapping = new Mapping;
421
- destMapping.generatedLine = srcMapping.generatedLine;
422
- destMapping.generatedColumn = srcMapping.generatedColumn;
423
-
424
- if (srcMapping.source) {
425
- destMapping.source = sources.indexOf(srcMapping.source);
426
- destMapping.originalLine = srcMapping.originalLine;
427
- destMapping.originalColumn = srcMapping.originalColumn;
428
-
429
- if (srcMapping.name) {
430
- destMapping.name = names.indexOf(srcMapping.name);
431
- }
432
-
433
- destOriginalMappings.push(destMapping);
434
- }
435
-
436
- destGeneratedMappings.push(destMapping);
437
- }
438
-
439
- quickSort(smc.__originalMappings, util.compareByOriginalPositions);
440
-
441
- return smc;
442
- };
443
-
444
- /**
445
- * The version of the source mapping spec that we are consuming.
446
- */
447
- BasicSourceMapConsumer.prototype._version = 3;
448
-
449
- /**
450
- * The list of original sources.
451
- */
452
- Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {
453
- get: function () {
454
- return this._absoluteSources.slice();
455
- }
456
- });
457
-
458
- /**
459
- * Provide the JIT with a nice shape / hidden class.
460
- */
461
- function Mapping() {
462
- this.generatedLine = 0;
463
- this.generatedColumn = 0;
464
- this.source = null;
465
- this.originalLine = null;
466
- this.originalColumn = null;
467
- this.name = null;
468
- }
469
-
470
- /**
471
- * Parse the mappings in a string in to a data structure which we can easily
472
- * query (the ordered arrays in the `this.__generatedMappings` and
473
- * `this.__originalMappings` properties).
474
- */
475
-
476
- const compareGenerated = util.compareByGeneratedPositionsDeflatedNoLine;
477
- function sortGenerated(array, start) {
478
- let l = array.length;
479
- let n = array.length - start;
480
- if (n <= 1) {
481
- return;
482
- } else if (n == 2) {
483
- let a = array[start];
484
- let b = array[start + 1];
485
- if (compareGenerated(a, b) > 0) {
486
- array[start] = b;
487
- array[start + 1] = a;
488
- }
489
- } else if (n < 20) {
490
- for (let i = start; i < l; i++) {
491
- for (let j = i; j > start; j--) {
492
- let a = array[j - 1];
493
- let b = array[j];
494
- if (compareGenerated(a, b) <= 0) {
495
- break;
496
- }
497
- array[j - 1] = b;
498
- array[j] = a;
499
- }
500
- }
501
- } else {
502
- quickSort(array, compareGenerated, start);
503
- }
504
- }
505
- BasicSourceMapConsumer.prototype._parseMappings =
506
- function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
507
- var generatedLine = 1;
508
- var previousGeneratedColumn = 0;
509
- var previousOriginalLine = 0;
510
- var previousOriginalColumn = 0;
511
- var previousSource = 0;
512
- var previousName = 0;
513
- var length = aStr.length;
514
- var index = 0;
515
- var cachedSegments = {};
516
- var temp = {};
517
- var originalMappings = [];
518
- var generatedMappings = [];
519
- var mapping, str, segment, end, value;
520
-
521
- let subarrayStart = 0;
522
- while (index < length) {
523
- if (aStr.charAt(index) === ';') {
524
- generatedLine++;
525
- index++;
526
- previousGeneratedColumn = 0;
527
-
528
- sortGenerated(generatedMappings, subarrayStart);
529
- subarrayStart = generatedMappings.length;
530
- }
531
- else if (aStr.charAt(index) === ',') {
532
- index++;
533
- }
534
- else {
535
- mapping = new Mapping();
536
- mapping.generatedLine = generatedLine;
537
-
538
- for (end = index; end < length; end++) {
539
- if (this._charIsMappingSeparator(aStr, end)) {
540
- break;
541
- }
542
- }
543
- str = aStr.slice(index, end);
544
-
545
- segment = [];
546
- while (index < end) {
547
- base64VLQ.decode(aStr, index, temp);
548
- value = temp.value;
549
- index = temp.rest;
550
- segment.push(value);
551
- }
552
-
553
- if (segment.length === 2) {
554
- throw new Error('Found a source, but no line and column');
555
- }
556
-
557
- if (segment.length === 3) {
558
- throw new Error('Found a source and line, but no column');
559
- }
560
-
561
- // Generated column.
562
- mapping.generatedColumn = previousGeneratedColumn + segment[0];
563
- previousGeneratedColumn = mapping.generatedColumn;
564
-
565
- if (segment.length > 1) {
566
- // Original source.
567
- mapping.source = previousSource + segment[1];
568
- previousSource += segment[1];
569
-
570
- // Original line.
571
- mapping.originalLine = previousOriginalLine + segment[2];
572
- previousOriginalLine = mapping.originalLine;
573
- // Lines are stored 0-based
574
- mapping.originalLine += 1;
575
-
576
- // Original column.
577
- mapping.originalColumn = previousOriginalColumn + segment[3];
578
- previousOriginalColumn = mapping.originalColumn;
579
-
580
- if (segment.length > 4) {
581
- // Original name.
582
- mapping.name = previousName + segment[4];
583
- previousName += segment[4];
584
- }
585
- }
586
-
587
- generatedMappings.push(mapping);
588
- if (typeof mapping.originalLine === 'number') {
589
- let currentSource = mapping.source;
590
- while (originalMappings.length <= currentSource) {
591
- originalMappings.push(null);
592
- }
593
- if (originalMappings[currentSource] === null) {
594
- originalMappings[currentSource] = [];
595
- }
596
- originalMappings[currentSource].push(mapping);
597
- }
598
- }
599
- }
600
-
601
- sortGenerated(generatedMappings, subarrayStart);
602
- this.__generatedMappings = generatedMappings;
603
-
604
- for (var i = 0; i < originalMappings.length; i++) {
605
- if (originalMappings[i] != null) {
606
- quickSort(originalMappings[i], util.compareByOriginalPositionsNoSource);
607
- }
608
- }
609
- this.__originalMappings = [].concat(...originalMappings);
610
- };
611
-
612
- /**
613
- * Find the mapping that best matches the hypothetical "needle" mapping that
614
- * we are searching for in the given "haystack" of mappings.
615
- */
616
- BasicSourceMapConsumer.prototype._findMapping =
617
- function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,
618
- aColumnName, aComparator, aBias) {
619
- // To return the position we are searching for, we must first find the
620
- // mapping for the given position and then return the opposite position it
621
- // points to. Because the mappings are sorted, we can use binary search to
622
- // find the best mapping.
623
-
624
- if (aNeedle[aLineName] <= 0) {
625
- throw new TypeError('Line must be greater than or equal to 1, got '
626
- + aNeedle[aLineName]);
627
- }
628
- if (aNeedle[aColumnName] < 0) {
629
- throw new TypeError('Column must be greater than or equal to 0, got '
630
- + aNeedle[aColumnName]);
631
- }
632
-
633
- return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
634
- };
635
-
636
- /**
637
- * Compute the last column for each generated mapping. The last column is
638
- * inclusive.
639
- */
640
- BasicSourceMapConsumer.prototype.computeColumnSpans =
641
- function SourceMapConsumer_computeColumnSpans() {
642
- for (var index = 0; index < this._generatedMappings.length; ++index) {
643
- var mapping = this._generatedMappings[index];
644
-
645
- // Mappings do not contain a field for the last generated columnt. We
646
- // can come up with an optimistic estimate, however, by assuming that
647
- // mappings are contiguous (i.e. given two consecutive mappings, the
648
- // first mapping ends where the second one starts).
649
- if (index + 1 < this._generatedMappings.length) {
650
- var nextMapping = this._generatedMappings[index + 1];
651
-
652
- if (mapping.generatedLine === nextMapping.generatedLine) {
653
- mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
654
- continue;
655
- }
656
- }
657
-
658
- // The last mapping for each line spans the entire line.
659
- mapping.lastGeneratedColumn = Infinity;
660
- }
661
- };
662
-
663
- /**
664
- * Returns the original source, line, and column information for the generated
665
- * source's line and column positions provided. The only argument is an object
666
- * with the following properties:
667
- *
668
- * - line: The line number in the generated source. The line number
669
- * is 1-based.
670
- * - column: The column number in the generated source. The column
671
- * number is 0-based.
672
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
673
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
674
- * closest element that is smaller than or greater than the one we are
675
- * searching for, respectively, if the exact element cannot be found.
676
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
677
- *
678
- * and an object is returned with the following properties:
679
- *
680
- * - source: The original source file, or null.
681
- * - line: The line number in the original source, or null. The
682
- * line number is 1-based.
683
- * - column: The column number in the original source, or null. The
684
- * column number is 0-based.
685
- * - name: The original identifier, or null.
686
- */
687
- BasicSourceMapConsumer.prototype.originalPositionFor =
688
- function SourceMapConsumer_originalPositionFor(aArgs) {
689
- var needle = {
690
- generatedLine: util.getArg(aArgs, 'line'),
691
- generatedColumn: util.getArg(aArgs, 'column')
692
- };
693
-
694
- var index = this._findMapping(
695
- needle,
696
- this._generatedMappings,
697
- "generatedLine",
698
- "generatedColumn",
699
- util.compareByGeneratedPositionsDeflated,
700
- util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
701
- );
702
-
703
- if (index >= 0) {
704
- var mapping = this._generatedMappings[index];
705
-
706
- if (mapping.generatedLine === needle.generatedLine) {
707
- var source = util.getArg(mapping, 'source', null);
708
- if (source !== null) {
709
- source = this._sources.at(source);
710
- source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
711
- }
712
- var name = util.getArg(mapping, 'name', null);
713
- if (name !== null) {
714
- name = this._names.at(name);
715
- }
716
- return {
717
- source: source,
718
- line: util.getArg(mapping, 'originalLine', null),
719
- column: util.getArg(mapping, 'originalColumn', null),
720
- name: name
721
- };
722
- }
723
- }
724
-
725
- return {
726
- source: null,
727
- line: null,
728
- column: null,
729
- name: null
730
- };
731
- };
732
-
733
- /**
734
- * Return true if we have the source content for every source in the source
735
- * map, false otherwise.
736
- */
737
- BasicSourceMapConsumer.prototype.hasContentsOfAllSources =
738
- function BasicSourceMapConsumer_hasContentsOfAllSources() {
739
- if (!this.sourcesContent) {
740
- return false;
741
- }
742
- return this.sourcesContent.length >= this._sources.size() &&
743
- !this.sourcesContent.some(function (sc) { return sc == null; });
744
- };
745
-
746
- /**
747
- * Returns the original source content. The only argument is the url of the
748
- * original source file. Returns null if no original source content is
749
- * available.
750
- */
751
- BasicSourceMapConsumer.prototype.sourceContentFor =
752
- function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
753
- if (!this.sourcesContent) {
754
- return null;
755
- }
756
-
757
- var index = this._findSourceIndex(aSource);
758
- if (index >= 0) {
759
- return this.sourcesContent[index];
760
- }
761
-
762
- var relativeSource = aSource;
763
- if (this.sourceRoot != null) {
764
- relativeSource = util.relative(this.sourceRoot, relativeSource);
765
- }
766
-
767
- var url;
768
- if (this.sourceRoot != null
769
- && (url = util.urlParse(this.sourceRoot))) {
770
- // XXX: file:// URIs and absolute paths lead to unexpected behavior for
771
- // many users. We can help them out when they expect file:// URIs to
772
- // behave like it would if they were running a local HTTP server. See
773
- // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.
774
- var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
775
- if (url.scheme == "file"
776
- && this._sources.has(fileUriAbsPath)) {
777
- return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]
778
- }
779
-
780
- if ((!url.path || url.path == "/")
781
- && this._sources.has("/" + relativeSource)) {
782
- return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
783
- }
784
- }
785
-
786
- // This function is used recursively from
787
- // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we
788
- // don't want to throw if we can't find the source - we just want to
789
- // return null, so we provide a flag to exit gracefully.
790
- if (nullOnMissing) {
791
- return null;
792
- }
793
- else {
794
- throw new Error('"' + relativeSource + '" is not in the SourceMap.');
795
- }
796
- };
797
-
798
- /**
799
- * Returns the generated line and column information for the original source,
800
- * line, and column positions provided. The only argument is an object with
801
- * the following properties:
802
- *
803
- * - source: The filename of the original source.
804
- * - line: The line number in the original source. The line number
805
- * is 1-based.
806
- * - column: The column number in the original source. The column
807
- * number is 0-based.
808
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
809
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
810
- * closest element that is smaller than or greater than the one we are
811
- * searching for, respectively, if the exact element cannot be found.
812
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
813
- *
814
- * and an object is returned with the following properties:
815
- *
816
- * - line: The line number in the generated source, or null. The
817
- * line number is 1-based.
818
- * - column: The column number in the generated source, or null.
819
- * The column number is 0-based.
820
- */
821
- BasicSourceMapConsumer.prototype.generatedPositionFor =
822
- function SourceMapConsumer_generatedPositionFor(aArgs) {
823
- var source = util.getArg(aArgs, 'source');
824
- source = this._findSourceIndex(source);
825
- if (source < 0) {
826
- return {
827
- line: null,
828
- column: null,
829
- lastColumn: null
830
- };
831
- }
832
-
833
- var needle = {
834
- source: source,
835
- originalLine: util.getArg(aArgs, 'line'),
836
- originalColumn: util.getArg(aArgs, 'column')
837
- };
838
-
839
- var index = this._findMapping(
840
- needle,
841
- this._originalMappings,
842
- "originalLine",
843
- "originalColumn",
844
- util.compareByOriginalPositions,
845
- util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
846
- );
847
-
848
- if (index >= 0) {
849
- var mapping = this._originalMappings[index];
850
-
851
- if (mapping.source === needle.source) {
852
- return {
853
- line: util.getArg(mapping, 'generatedLine', null),
854
- column: util.getArg(mapping, 'generatedColumn', null),
855
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
856
- };
857
- }
858
- }
859
-
860
- return {
861
- line: null,
862
- column: null,
863
- lastColumn: null
864
- };
865
- };
866
-
867
- exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
868
-
869
- /**
870
- * An IndexedSourceMapConsumer instance represents a parsed source map which
871
- * we can query for information. It differs from BasicSourceMapConsumer in
872
- * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
873
- * input.
874
- *
875
- * The first parameter is a raw source map (either as a JSON string, or already
876
- * parsed to an object). According to the spec for indexed source maps, they
877
- * have the following attributes:
878
- *
879
- * - version: Which version of the source map spec this map is following.
880
- * - file: Optional. The generated file this source map is associated with.
881
- * - sections: A list of section definitions.
882
- *
883
- * Each value under the "sections" field has two fields:
884
- * - offset: The offset into the original specified at which this section
885
- * begins to apply, defined as an object with a "line" and "column"
886
- * field.
887
- * - map: A source map definition. This source map could also be indexed,
888
- * but doesn't have to be.
889
- *
890
- * Instead of the "map" field, it's also possible to have a "url" field
891
- * specifying a URL to retrieve a source map from, but that's currently
892
- * unsupported.
893
- *
894
- * Here's an example source map, taken from the source map spec[0], but
895
- * modified to omit a section which uses the "url" field.
896
- *
897
- * {
898
- * version : 3,
899
- * file: "app.js",
900
- * sections: [{
901
- * offset: {line:100, column:10},
902
- * map: {
903
- * version : 3,
904
- * file: "section.js",
905
- * sources: ["foo.js", "bar.js"],
906
- * names: ["src", "maps", "are", "fun"],
907
- * mappings: "AAAA,E;;ABCDE;"
908
- * }
909
- * }],
910
- * }
911
- *
912
- * The second parameter, if given, is a string whose value is the URL
913
- * at which the source map was found. This URL is used to compute the
914
- * sources array.
915
- *
916
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
917
- */
918
- function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
919
- var sourceMap = aSourceMap;
920
- if (typeof aSourceMap === 'string') {
921
- sourceMap = util.parseSourceMapInput(aSourceMap);
922
- }
923
-
924
- var version = util.getArg(sourceMap, 'version');
925
- var sections = util.getArg(sourceMap, 'sections');
926
-
927
- if (version != this._version) {
928
- throw new Error('Unsupported version: ' + version);
929
- }
930
-
931
- this._sources = new ArraySet();
932
- this._names = new ArraySet();
933
-
934
- var lastOffset = {
935
- line: -1,
936
- column: 0
937
- };
938
- this._sections = sections.map(function (s) {
939
- if (s.url) {
940
- // The url field will require support for asynchronicity.
941
- // See https://github.com/mozilla/source-map/issues/16
942
- throw new Error('Support for url field in sections not implemented.');
943
- }
944
- var offset = util.getArg(s, 'offset');
945
- var offsetLine = util.getArg(offset, 'line');
946
- var offsetColumn = util.getArg(offset, 'column');
947
-
948
- if (offsetLine < lastOffset.line ||
949
- (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {
950
- throw new Error('Section offsets must be ordered and non-overlapping.');
951
- }
952
- lastOffset = offset;
953
-
954
- return {
955
- generatedOffset: {
956
- // The offset fields are 0-based, but we use 1-based indices when
957
- // encoding/decoding from VLQ.
958
- generatedLine: offsetLine + 1,
959
- generatedColumn: offsetColumn + 1
960
- },
961
- consumer: new SourceMapConsumer(util.getArg(s, 'map'), aSourceMapURL)
962
- }
963
- });
964
- }
965
-
966
- IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
967
- IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
968
-
969
- /**
970
- * The version of the source mapping spec that we are consuming.
971
- */
972
- IndexedSourceMapConsumer.prototype._version = 3;
973
-
974
- /**
975
- * The list of original sources.
976
- */
977
- Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {
978
- get: function () {
979
- var sources = [];
980
- for (var i = 0; i < this._sections.length; i++) {
981
- for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
982
- sources.push(this._sections[i].consumer.sources[j]);
983
- }
984
- }
985
- return sources;
986
- }
987
- });
988
-
989
- /**
990
- * Returns the original source, line, and column information for the generated
991
- * source's line and column positions provided. The only argument is an object
992
- * with the following properties:
993
- *
994
- * - line: The line number in the generated source. The line number
995
- * is 1-based.
996
- * - column: The column number in the generated source. The column
997
- * number is 0-based.
998
- *
999
- * and an object is returned with the following properties:
1000
- *
1001
- * - source: The original source file, or null.
1002
- * - line: The line number in the original source, or null. The
1003
- * line number is 1-based.
1004
- * - column: The column number in the original source, or null. The
1005
- * column number is 0-based.
1006
- * - name: The original identifier, or null.
1007
- */
1008
- IndexedSourceMapConsumer.prototype.originalPositionFor =
1009
- function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
1010
- var needle = {
1011
- generatedLine: util.getArg(aArgs, 'line'),
1012
- generatedColumn: util.getArg(aArgs, 'column')
1013
- };
1014
-
1015
- // Find the section containing the generated position we're trying to map
1016
- // to an original position.
1017
- var sectionIndex = binarySearch.search(needle, this._sections,
1018
- function(needle, section) {
1019
- var cmp = needle.generatedLine - section.generatedOffset.generatedLine;
1020
- if (cmp) {
1021
- return cmp;
1022
- }
1023
-
1024
- return (needle.generatedColumn -
1025
- section.generatedOffset.generatedColumn);
1026
- });
1027
- var section = this._sections[sectionIndex];
1028
-
1029
- if (!section) {
1030
- return {
1031
- source: null,
1032
- line: null,
1033
- column: null,
1034
- name: null
1035
- };
1036
- }
1037
-
1038
- return section.consumer.originalPositionFor({
1039
- line: needle.generatedLine -
1040
- (section.generatedOffset.generatedLine - 1),
1041
- column: needle.generatedColumn -
1042
- (section.generatedOffset.generatedLine === needle.generatedLine
1043
- ? section.generatedOffset.generatedColumn - 1
1044
- : 0),
1045
- bias: aArgs.bias
1046
- });
1047
- };
1048
-
1049
- /**
1050
- * Return true if we have the source content for every source in the source
1051
- * map, false otherwise.
1052
- */
1053
- IndexedSourceMapConsumer.prototype.hasContentsOfAllSources =
1054
- function IndexedSourceMapConsumer_hasContentsOfAllSources() {
1055
- return this._sections.every(function (s) {
1056
- return s.consumer.hasContentsOfAllSources();
1057
- });
1058
- };
1059
-
1060
- /**
1061
- * Returns the original source content. The only argument is the url of the
1062
- * original source file. Returns null if no original source content is
1063
- * available.
1064
- */
1065
- IndexedSourceMapConsumer.prototype.sourceContentFor =
1066
- function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
1067
- for (var i = 0; i < this._sections.length; i++) {
1068
- var section = this._sections[i];
1069
-
1070
- var content = section.consumer.sourceContentFor(aSource, true);
1071
- if (content || content === '') {
1072
- return content;
1073
- }
1074
- }
1075
- if (nullOnMissing) {
1076
- return null;
1077
- }
1078
- else {
1079
- throw new Error('"' + aSource + '" is not in the SourceMap.');
1080
- }
1081
- };
1082
-
1083
- /**
1084
- * Returns the generated line and column information for the original source,
1085
- * line, and column positions provided. The only argument is an object with
1086
- * the following properties:
1087
- *
1088
- * - source: The filename of the original source.
1089
- * - line: The line number in the original source. The line number
1090
- * is 1-based.
1091
- * - column: The column number in the original source. The column
1092
- * number is 0-based.
1093
- *
1094
- * and an object is returned with the following properties:
1095
- *
1096
- * - line: The line number in the generated source, or null. The
1097
- * line number is 1-based.
1098
- * - column: The column number in the generated source, or null.
1099
- * The column number is 0-based.
1100
- */
1101
- IndexedSourceMapConsumer.prototype.generatedPositionFor =
1102
- function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
1103
- for (var i = 0; i < this._sections.length; i++) {
1104
- var section = this._sections[i];
1105
-
1106
- // Only consider this section if the requested source is in the list of
1107
- // sources of the consumer.
1108
- if (section.consumer._findSourceIndex(util.getArg(aArgs, 'source')) === -1) {
1109
- continue;
1110
- }
1111
- var generatedPosition = section.consumer.generatedPositionFor(aArgs);
1112
- if (generatedPosition) {
1113
- var ret = {
1114
- line: generatedPosition.line +
1115
- (section.generatedOffset.generatedLine - 1),
1116
- column: generatedPosition.column +
1117
- (section.generatedOffset.generatedLine === generatedPosition.line
1118
- ? section.generatedOffset.generatedColumn - 1
1119
- : 0)
1120
- };
1121
- return ret;
1122
- }
1123
- }
1124
-
1125
- return {
1126
- line: null,
1127
- column: null
1128
- };
1129
- };
1130
-
1131
- /**
1132
- * Parse the mappings in a string in to a data structure which we can easily
1133
- * query (the ordered arrays in the `this.__generatedMappings` and
1134
- * `this.__originalMappings` properties).
1135
- */
1136
- IndexedSourceMapConsumer.prototype._parseMappings =
1137
- function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
1138
- this.__generatedMappings = [];
1139
- this.__originalMappings = [];
1140
- for (var i = 0; i < this._sections.length; i++) {
1141
- var section = this._sections[i];
1142
- var sectionMappings = section.consumer._generatedMappings;
1143
- for (var j = 0; j < sectionMappings.length; j++) {
1144
- var mapping = sectionMappings[j];
1145
-
1146
- var source = section.consumer._sources.at(mapping.source);
1147
- if(source !== null) {
1148
- source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
1149
- }
1150
- this._sources.add(source);
1151
- source = this._sources.indexOf(source);
1152
-
1153
- var name = null;
1154
- if (mapping.name) {
1155
- name = section.consumer._names.at(mapping.name);
1156
- this._names.add(name);
1157
- name = this._names.indexOf(name);
1158
- }
1159
-
1160
- // The mappings coming from the consumer for the section have
1161
- // generated positions relative to the start of the section, so we
1162
- // need to offset them to be relative to the start of the concatenated
1163
- // generated file.
1164
- var adjustedMapping = {
1165
- source: source,
1166
- generatedLine: mapping.generatedLine +
1167
- (section.generatedOffset.generatedLine - 1),
1168
- generatedColumn: mapping.generatedColumn +
1169
- (section.generatedOffset.generatedLine === mapping.generatedLine
1170
- ? section.generatedOffset.generatedColumn - 1
1171
- : 0),
1172
- originalLine: mapping.originalLine,
1173
- originalColumn: mapping.originalColumn,
1174
- name: name
1175
- };
1176
-
1177
- this.__generatedMappings.push(adjustedMapping);
1178
- if (typeof adjustedMapping.originalLine === 'number') {
1179
- this.__originalMappings.push(adjustedMapping);
1180
- }
1181
- }
1182
- }
1183
-
1184
- quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
1185
- quickSort(this.__originalMappings, util.compareByOriginalPositions);
1186
- };
1187
-
1188
- exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;