@microsoft/teamsfx-core 2.0.1-alpha.cb1f62669.0 → 2.0.1-alpha.d4f96cccc.0

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 (719) hide show
  1. package/build/common/deps-checker/checkerFactory.d.ts.map +1 -1
  2. package/build/common/deps-checker/checkerFactory.js +0 -7
  3. package/build/common/deps-checker/checkerFactory.js.map +1 -1
  4. package/build/common/deps-checker/constant/helpLink.d.ts +0 -4
  5. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
  6. package/build/common/deps-checker/constant/helpLink.js +1 -9
  7. package/build/common/deps-checker/constant/helpLink.js.map +1 -1
  8. package/build/common/deps-checker/constant/message.d.ts +0 -5
  9. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  10. package/build/common/deps-checker/constant/message.js +0 -6
  11. package/build/common/deps-checker/constant/message.js.map +1 -1
  12. package/build/common/deps-checker/constant/telemetry.d.ts +2 -33
  13. package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
  14. package/build/common/deps-checker/constant/telemetry.js +0 -31
  15. package/build/common/deps-checker/constant/telemetry.js.map +1 -1
  16. package/build/common/deps-checker/depsChecker.d.ts +0 -3
  17. package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
  18. package/build/common/deps-checker/depsChecker.js +0 -3
  19. package/build/common/deps-checker/depsChecker.js.map +1 -1
  20. package/build/common/deps-checker/depsError.d.ts +0 -9
  21. package/build/common/deps-checker/depsError.d.ts.map +1 -1
  22. package/build/common/deps-checker/depsError.js +1 -22
  23. package/build/common/deps-checker/depsError.js.map +1 -1
  24. package/build/common/deps-checker/depsManager.d.ts.map +1 -1
  25. package/build/common/deps-checker/depsManager.js +0 -3
  26. package/build/common/deps-checker/depsManager.js.map +1 -1
  27. package/build/common/deps-checker/internal/funcToolChecker.d.ts +2 -2
  28. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  29. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  30. package/build/common/deps-checker/internal/nodeChecker.d.ts +0 -20
  31. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
  32. package/build/common/deps-checker/internal/nodeChecker.js +1 -51
  33. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  34. package/build/common/local/localEnvManager.d.ts +0 -9
  35. package/build/common/local/localEnvManager.d.ts.map +1 -1
  36. package/build/common/local/localEnvManager.js +0 -59
  37. package/build/common/local/localEnvManager.js.map +1 -1
  38. package/build/common/local/localStateHelper.d.ts.map +1 -1
  39. package/build/common/local/localStateHelper.js.map +1 -1
  40. package/build/common/projectSettingsHelper.d.ts +1 -7
  41. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  42. package/build/common/projectSettingsHelper.js +5 -81
  43. package/build/common/projectSettingsHelper.js.map +1 -1
  44. package/build/common/projectSettingsHelperV3.d.ts +0 -1
  45. package/build/common/projectSettingsHelperV3.d.ts.map +1 -1
  46. package/build/common/projectSettingsHelperV3.js +1 -10
  47. package/build/common/projectSettingsHelperV3.js.map +1 -1
  48. package/build/common/samples.d.ts.map +1 -1
  49. package/build/common/samples.js +20 -42
  50. package/build/common/samples.js.map +1 -1
  51. package/build/common/telemetry.d.ts +0 -13
  52. package/build/common/telemetry.d.ts.map +1 -1
  53. package/build/common/telemetry.js +0 -13
  54. package/build/common/telemetry.js.map +1 -1
  55. package/build/common/templates-config.json +2 -1
  56. package/build/common/tools.d.ts +1 -16
  57. package/build/common/tools.d.ts.map +1 -1
  58. package/build/common/tools.js +54 -204
  59. package/build/common/tools.js.map +1 -1
  60. package/build/component/code/appSettingUtils.d.ts +1 -2
  61. package/build/component/code/appSettingUtils.d.ts.map +1 -1
  62. package/build/component/code/appSettingUtils.js +1 -46
  63. package/build/component/code/appSettingUtils.js.map +1 -1
  64. package/build/component/code/utils.d.ts +1 -8
  65. package/build/component/code/utils.d.ts.map +1 -1
  66. package/build/component/code/utils.js +5 -144
  67. package/build/component/code/utils.js.map +1 -1
  68. package/build/component/constant/deployConstant.d.ts.map +1 -1
  69. package/build/component/constant/deployConstant.js.map +1 -1
  70. package/build/component/constants.d.ts +3 -210
  71. package/build/component/constants.d.ts.map +1 -1
  72. package/build/component/constants.js +7 -404
  73. package/build/component/constants.js.map +1 -1
  74. package/build/component/coordinator/index.d.ts +8 -7
  75. package/build/component/coordinator/index.d.ts.map +1 -1
  76. package/build/component/coordinator/index.js +35 -188
  77. package/build/component/coordinator/index.js.map +1 -1
  78. package/build/component/debug/error.d.ts +0 -1
  79. package/build/component/debug/error.d.ts.map +1 -1
  80. package/build/component/debug/error.js +1 -11
  81. package/build/component/debug/error.js.map +1 -1
  82. package/build/component/debug/index.d.ts.map +1 -1
  83. package/build/component/debug/index.js +1 -25
  84. package/build/component/debug/index.js.map +1 -1
  85. package/build/component/deployUtils.d.ts +1 -8
  86. package/build/component/deployUtils.d.ts.map +1 -1
  87. package/build/component/deployUtils.js +2 -98
  88. package/build/component/deployUtils.js.map +1 -1
  89. package/build/component/driver/aad/create.d.ts.map +1 -1
  90. package/build/component/driver/aad/create.js +2 -2
  91. package/build/component/driver/aad/create.js.map +1 -1
  92. package/build/component/driver/aad/update.d.ts.map +1 -1
  93. package/build/component/driver/aad/update.js +2 -2
  94. package/build/component/driver/aad/update.js.map +1 -1
  95. package/build/component/driver/add/addWebPart.js +3 -3
  96. package/build/component/driver/add/addWebPart.js.map +1 -1
  97. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  98. package/build/component/driver/botAadApp/create.js +2 -2
  99. package/build/component/driver/botAadApp/create.js.map +1 -1
  100. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +9 -9
  101. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  102. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  103. package/build/component/driver/devTool/installDriver.js +3 -2
  104. package/build/component/driver/devTool/installDriver.js.map +1 -1
  105. package/build/component/driver/interface/buildAndDeployArgs.d.ts +11 -11
  106. package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
  107. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
  108. package/build/component/driver/script/baseBuildDriver.js +2 -2
  109. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  110. package/build/component/driver/script/scriptDriver.d.ts +11 -1
  111. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  112. package/build/component/driver/script/scriptDriver.js +121 -4
  113. package/build/component/driver/script/scriptDriver.js.map +1 -1
  114. package/build/component/error.d.ts +0 -3
  115. package/build/component/error.d.ts.map +1 -1
  116. package/build/component/error.js +1 -11
  117. package/build/component/error.js.map +1 -1
  118. package/build/component/feature/bot/question.d.ts.map +1 -1
  119. package/build/component/feature/bot/question.js +7 -16
  120. package/build/component/feature/bot/question.js.map +1 -1
  121. package/build/component/feature/cicd/cicd.d.ts +1 -2
  122. package/build/component/feature/cicd/cicd.d.ts.map +1 -1
  123. package/build/component/feature/cicd/cicd.js +2 -87
  124. package/build/component/feature/cicd/cicd.js.map +1 -1
  125. package/build/component/feature/sso.d.ts +0 -4
  126. package/build/component/feature/sso.d.ts.map +1 -1
  127. package/build/component/feature/sso.js +10 -144
  128. package/build/component/feature/sso.js.map +1 -1
  129. package/build/component/generator/generatorAction.d.ts.map +1 -1
  130. package/build/component/generator/generatorAction.js +1 -1
  131. package/build/component/generator/generatorAction.js.map +1 -1
  132. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +8 -0
  133. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
  134. package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +1 -0
  135. package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.d.ts +1 -4
  136. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
  137. package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.js +0 -39
  138. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -0
  139. package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.d.ts +1 -4
  140. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -0
  141. package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.js +0 -33
  142. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -0
  143. package/build/component/generator/spfx/error.d.ts +8 -0
  144. package/build/component/generator/spfx/error.d.ts.map +1 -0
  145. package/build/component/generator/spfx/error.js +55 -0
  146. package/build/component/generator/spfx/error.js.map +1 -0
  147. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -0
  148. package/build/component/generator/{spfxGenerator.js → spfx/spfxGenerator.js} +16 -16
  149. package/build/component/generator/spfx/spfxGenerator.js.map +1 -0
  150. package/build/component/{resource → generator}/spfx/utils/constants.d.ts +0 -33
  151. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -0
  152. package/build/component/{resource → generator}/spfx/utils/constants.js +1 -39
  153. package/build/component/generator/spfx/utils/constants.js.map +1 -0
  154. package/build/component/{resource → generator}/spfx/utils/progress-helper.d.ts +0 -5
  155. package/build/component/generator/spfx/utils/progress-helper.d.ts.map +1 -0
  156. package/build/component/generator/spfx/utils/progress-helper.js +21 -0
  157. package/build/component/generator/spfx/utils/progress-helper.js.map +1 -0
  158. package/build/component/generator/spfx/utils/question-helper.d.ts.map +1 -0
  159. package/build/component/generator/spfx/utils/question-helper.js.map +1 -0
  160. package/build/component/{resource → generator}/spfx/utils/questions.d.ts +0 -1
  161. package/build/component/generator/spfx/utils/questions.d.ts.map +1 -0
  162. package/build/component/{resource → generator}/spfx/utils/questions.js +2 -27
  163. package/build/component/generator/spfx/utils/questions.js.map +1 -0
  164. package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -0
  165. package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -0
  166. package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -0
  167. package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -0
  168. package/build/component/generator/spfx/utils/utils.d.ts.map +1 -0
  169. package/build/component/generator/spfx/utils/utils.js.map +1 -0
  170. package/build/component/generator/utils.js +2 -2
  171. package/build/component/generator/utils.js.map +1 -1
  172. package/build/component/middleware/envMW.js.map +1 -1
  173. package/build/component/provisionUtils.d.ts +2 -23
  174. package/build/component/provisionUtils.d.ts.map +1 -1
  175. package/build/component/provisionUtils.js +5 -523
  176. package/build/component/provisionUtils.js.map +1 -1
  177. package/build/component/question.d.ts +2 -64
  178. package/build/component/question.d.ts.map +1 -1
  179. package/build/component/question.js +50 -665
  180. package/build/component/question.js.map +1 -1
  181. package/build/component/registerService.d.ts +0 -16
  182. package/build/component/registerService.d.ts.map +1 -1
  183. package/build/component/registerService.js +0 -16
  184. package/build/component/registerService.js.map +1 -1
  185. package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
  186. package/build/component/resource/aadApp/aadApp.js +6 -24
  187. package/build/component/resource/aadApp/aadApp.js.map +1 -1
  188. package/build/component/resource/aadApp/utils/aadManifestHelper.js +2 -1
  189. package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -1
  190. package/build/component/resource/appManifest/appManifest.d.ts +0 -6
  191. package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
  192. package/build/component/resource/appManifest/appManifest.js +24 -247
  193. package/build/component/resource/appManifest/appManifest.js.map +1 -1
  194. package/build/component/resource/appManifest/appStudio.d.ts +1 -21
  195. package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
  196. package/build/component/resource/appManifest/appStudio.js +15 -257
  197. package/build/component/resource/appManifest/appStudio.js.map +1 -1
  198. package/build/component/resource/botService/errors.d.ts +0 -2
  199. package/build/component/resource/botService/errors.d.ts.map +1 -1
  200. package/build/component/resource/botService/errors.js +1 -43
  201. package/build/component/resource/botService/errors.js.map +1 -1
  202. package/build/component/utils/ResourceGroupHelper.d.ts +1 -5
  203. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  204. package/build/component/utils/ResourceGroupHelper.js +0 -6
  205. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  206. package/build/component/utils/charsetUtils.d.ts +3 -0
  207. package/build/component/utils/charsetUtils.d.ts.map +1 -0
  208. package/build/component/utils/charsetUtils.js +241 -0
  209. package/build/component/utils/charsetUtils.js.map +1 -0
  210. package/build/component/utils/metadataUtil.d.ts.map +1 -1
  211. package/build/component/utils/metadataUtil.js +9 -7
  212. package/build/component/utils/metadataUtil.js.map +1 -1
  213. package/build/component/utils/pathUtils.d.ts.map +1 -1
  214. package/build/component/utils/pathUtils.js +2 -2
  215. package/build/component/utils/pathUtils.js.map +1 -1
  216. package/build/component/utils.d.ts +1 -29
  217. package/build/component/utils.d.ts.map +1 -1
  218. package/build/component/utils.js +24 -501
  219. package/build/component/utils.js.map +1 -1
  220. package/build/component/workflow.d.ts +0 -2
  221. package/build/component/workflow.d.ts.map +1 -1
  222. package/build/component/workflow.js +1 -692
  223. package/build/component/workflow.js.map +1 -1
  224. package/build/core/FxCore.d.ts +0 -13
  225. package/build/core/FxCore.d.ts.map +1 -1
  226. package/build/core/FxCore.js +1 -55
  227. package/build/core/FxCore.js.map +1 -1
  228. package/build/core/FxCoreImplementV3.d.ts +2 -4
  229. package/build/core/FxCoreImplementV3.d.ts.map +1 -1
  230. package/build/core/FxCoreImplementV3.js +58 -102
  231. package/build/core/FxCoreImplementV3.js.map +1 -1
  232. package/build/core/collaborator.d.ts +2 -0
  233. package/build/core/collaborator.d.ts.map +1 -1
  234. package/build/core/collaborator.js +2 -0
  235. package/build/core/collaborator.js.map +1 -1
  236. package/build/core/environment.d.ts +2 -4
  237. package/build/core/environment.d.ts.map +1 -1
  238. package/build/core/environment.js +44 -108
  239. package/build/core/environment.js.map +1 -1
  240. package/build/core/error.d.ts +1 -34
  241. package/build/core/error.d.ts.map +1 -1
  242. package/build/core/error.js +1 -112
  243. package/build/core/error.js.map +1 -1
  244. package/build/core/globalVars.d.ts +0 -1
  245. package/build/core/globalVars.d.ts.map +1 -1
  246. package/build/core/globalVars.js +1 -15
  247. package/build/core/globalVars.js.map +1 -1
  248. package/build/core/middleware/projectMigratorV3.d.ts +3 -1
  249. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  250. package/build/core/middleware/projectMigratorV3.js +43 -49
  251. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  252. package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
  253. package/build/core/middleware/projectSettingsLoader.js +9 -20
  254. package/build/core/middleware/projectSettingsLoader.js.map +1 -1
  255. package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
  256. package/build/core/middleware/projectVersionChecker.js +10 -23
  257. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  258. package/build/core/middleware/questionModel.d.ts +0 -1
  259. package/build/core/middleware/questionModel.d.ts.map +1 -1
  260. package/build/core/middleware/questionModel.js +8 -54
  261. package/build/core/middleware/questionModel.js.map +1 -1
  262. package/build/core/middleware/utils/MigrationUtils.d.ts +0 -5
  263. package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
  264. package/build/core/middleware/utils/MigrationUtils.js +1 -77
  265. package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
  266. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  267. package/build/core/middleware/utils/migrationContext.js +0 -4
  268. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  269. package/build/core/question.d.ts +1 -12
  270. package/build/core/question.d.ts.map +1 -1
  271. package/build/core/question.js +17 -240
  272. package/build/core/question.js.map +1 -1
  273. package/build/core/types.d.ts +0 -10
  274. package/build/core/types.d.ts.map +1 -1
  275. package/build/error/common.d.ts +6 -0
  276. package/build/error/common.d.ts.map +1 -1
  277. package/build/error/common.js +26 -1
  278. package/build/error/common.js.map +1 -1
  279. package/build/error/script.d.ts +1 -1
  280. package/build/error/script.d.ts.map +1 -1
  281. package/build/error/script.js +3 -3
  282. package/build/error/script.js.map +1 -1
  283. package/build/index.d.ts +0 -2
  284. package/build/index.d.ts.map +1 -1
  285. package/build/index.js +1 -4
  286. package/build/index.js.map +1 -1
  287. package/package.json +14 -34
  288. package/resource/package.nls.json +6 -241
  289. package/templates/fallback/common.zip +0 -0
  290. package/templates/fallback/csharp.zip +0 -0
  291. package/templates/fallback/js.zip +0 -0
  292. package/templates/fallback/ts.zip +0 -0
  293. package/build/common/azure-hosting/azureAppServiceHosting.d.ts +0 -16
  294. package/build/common/azure-hosting/azureAppServiceHosting.d.ts.map +0 -1
  295. package/build/common/azure-hosting/azureAppServiceHosting.js +0 -33
  296. package/build/common/azure-hosting/azureAppServiceHosting.js.map +0 -1
  297. package/build/common/azure-hosting/azureFunctionHosting.d.ts +0 -14
  298. package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +0 -1
  299. package/build/common/azure-hosting/azureFunctionHosting.js +0 -34
  300. package/build/common/azure-hosting/azureFunctionHosting.js.map +0 -1
  301. package/build/common/azure-hosting/azureHosting.d.ts +0 -23
  302. package/build/common/azure-hosting/azureHosting.d.ts.map +0 -1
  303. package/build/common/azure-hosting/azureHosting.js +0 -95
  304. package/build/common/azure-hosting/azureHosting.js.map +0 -1
  305. package/build/common/azure-hosting/azureOps.d.ts +0 -17
  306. package/build/common/azure-hosting/azureOps.d.ts.map +0 -1
  307. package/build/common/azure-hosting/azureOps.js +0 -94
  308. package/build/common/azure-hosting/azureOps.js.map +0 -1
  309. package/build/common/azure-hosting/hostingConstant.d.ts +0 -46
  310. package/build/common/azure-hosting/hostingConstant.d.ts.map +0 -1
  311. package/build/common/azure-hosting/hostingConstant.js +0 -86
  312. package/build/common/azure-hosting/hostingConstant.js.map +0 -1
  313. package/build/common/azure-hosting/hostingError.d.ts +0 -47
  314. package/build/common/azure-hosting/hostingError.d.ts.map +0 -1
  315. package/build/common/azure-hosting/hostingError.js +0 -83
  316. package/build/common/azure-hosting/hostingError.js.map +0 -1
  317. package/build/common/azure-hosting/hostingFactory.d.ts +0 -6
  318. package/build/common/azure-hosting/hostingFactory.d.ts.map +0 -1
  319. package/build/common/azure-hosting/hostingFactory.js +0 -22
  320. package/build/common/azure-hosting/hostingFactory.js.map +0 -1
  321. package/build/common/azure-hosting/interfaces.d.ts +0 -58
  322. package/build/common/azure-hosting/interfaces.d.ts.map +0 -1
  323. package/build/common/azure-hosting/interfaces.js +0 -12
  324. package/build/common/azure-hosting/interfaces.js.map +0 -1
  325. package/build/common/azure-hosting/messages.d.ts +0 -10
  326. package/build/common/azure-hosting/messages.d.ts.map +0 -1
  327. package/build/common/azure-hosting/messages.js +0 -16
  328. package/build/common/azure-hosting/messages.js.map +0 -1
  329. package/build/common/azure-hosting/utils.d.ts +0 -10
  330. package/build/common/azure-hosting/utils.d.ts.map +0 -1
  331. package/build/common/azure-hosting/utils.js +0 -107
  332. package/build/common/azure-hosting/utils.js.map +0 -1
  333. package/build/common/deps-checker/internal/ngrokChecker.d.ts +0 -27
  334. package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +0 -1
  335. package/build/common/deps-checker/internal/ngrokChecker.js +0 -222
  336. package/build/common/deps-checker/internal/ngrokChecker.js.map +0 -1
  337. package/build/common/samples-config.json +0 -201
  338. package/build/component/code/spfxTabCode.d.ts +0 -11
  339. package/build/component/code/spfxTabCode.d.ts.map +0 -1
  340. package/build/component/code/spfxTabCode.js +0 -237
  341. package/build/component/code/spfxTabCode.js.map +0 -1
  342. package/build/component/connection/apimConfig.d.ts +0 -11
  343. package/build/component/connection/apimConfig.d.ts.map +0 -1
  344. package/build/component/connection/apimConfig.js +0 -44
  345. package/build/component/connection/apimConfig.js.map +0 -1
  346. package/build/component/connection/azureFunctionConfig.d.ts +0 -9
  347. package/build/component/connection/azureFunctionConfig.d.ts.map +0 -1
  348. package/build/component/connection/azureFunctionConfig.js +0 -25
  349. package/build/component/connection/azureFunctionConfig.js.map +0 -1
  350. package/build/component/connection/azureResourceConfig.d.ts +0 -11
  351. package/build/component/connection/azureResourceConfig.d.ts.map +0 -1
  352. package/build/component/connection/azureResourceConfig.js +0 -72
  353. package/build/component/connection/azureResourceConfig.js.map +0 -1
  354. package/build/component/connection/azureWebAppConfig.d.ts +0 -9
  355. package/build/component/connection/azureWebAppConfig.d.ts.map +0 -1
  356. package/build/component/connection/azureWebAppConfig.js +0 -25
  357. package/build/component/connection/azureWebAppConfig.js.map +0 -1
  358. package/build/component/coordinator/lifecycleStage.d.ts +0 -2
  359. package/build/component/coordinator/lifecycleStage.d.ts.map +0 -1
  360. package/build/component/coordinator/lifecycleStage.js +0 -23
  361. package/build/component/coordinator/lifecycleStage.js.map +0 -1
  362. package/build/component/core.d.ts +0 -65
  363. package/build/component/core.d.ts.map +0 -1
  364. package/build/component/core.js +0 -653
  365. package/build/component/core.js.map +0 -1
  366. package/build/component/debug/util/ngrok.d.ts +0 -6
  367. package/build/component/debug/util/ngrok.d.ts.map +0 -1
  368. package/build/component/debug/util/ngrok.js +0 -65
  369. package/build/component/debug/util/ngrok.js.map +0 -1
  370. package/build/component/envManager.d.ts +0 -4
  371. package/build/component/envManager.d.ts.map +0 -1
  372. package/build/component/envManager.js +0 -25
  373. package/build/component/envManager.js.map +0 -1
  374. package/build/component/feature/api/api.d.ts +0 -8
  375. package/build/component/feature/api/api.d.ts.map +0 -1
  376. package/build/component/feature/api/api.js +0 -188
  377. package/build/component/feature/api/api.js.map +0 -1
  378. package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts +0 -23
  379. package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts.map +0 -1
  380. package/build/component/feature/apiconnector/ApiConnectorImpl.js +0 -288
  381. package/build/component/feature/apiconnector/ApiConnectorImpl.js.map +0 -1
  382. package/build/component/feature/apiconnector/apiConnector.d.ts +0 -11
  383. package/build/component/feature/apiconnector/apiConnector.d.ts.map +0 -1
  384. package/build/component/feature/apiconnector/apiConnector.js +0 -43
  385. package/build/component/feature/apiconnector/apiConnector.js.map +0 -1
  386. package/build/component/feature/apiconnector/checker.d.ts +0 -7
  387. package/build/component/feature/apiconnector/checker.d.ts.map +0 -1
  388. package/build/component/feature/apiconnector/checker.js +0 -74
  389. package/build/component/feature/apiconnector/checker.js.map +0 -1
  390. package/build/component/feature/apiconnector/config.d.ts +0 -23
  391. package/build/component/feature/apiconnector/config.d.ts.map +0 -1
  392. package/build/component/feature/apiconnector/config.js +0 -5
  393. package/build/component/feature/apiconnector/config.js.map +0 -1
  394. package/build/component/feature/apiconnector/constants.d.ts +0 -50
  395. package/build/component/feature/apiconnector/constants.d.ts.map +0 -1
  396. package/build/component/feature/apiconnector/constants.js +0 -61
  397. package/build/component/feature/apiconnector/constants.js.map +0 -1
  398. package/build/component/feature/apiconnector/depsHandler.d.ts +0 -14
  399. package/build/component/feature/apiconnector/depsHandler.d.ts.map +0 -1
  400. package/build/component/feature/apiconnector/depsHandler.js +0 -109
  401. package/build/component/feature/apiconnector/depsHandler.js.map +0 -1
  402. package/build/component/feature/apiconnector/envHandler.d.ts +0 -21
  403. package/build/component/feature/apiconnector/envHandler.d.ts.map +0 -1
  404. package/build/component/feature/apiconnector/envHandler.js +0 -128
  405. package/build/component/feature/apiconnector/envHandler.js.map +0 -1
  406. package/build/component/feature/apiconnector/errors.d.ts +0 -53
  407. package/build/component/feature/apiconnector/errors.d.ts.map +0 -1
  408. package/build/component/feature/apiconnector/errors.js +0 -64
  409. package/build/component/feature/apiconnector/errors.js.map +0 -1
  410. package/build/component/feature/apiconnector/questions.d.ts +0 -41
  411. package/build/component/feature/apiconnector/questions.d.ts.map +0 -1
  412. package/build/component/feature/apiconnector/questions.js +0 -262
  413. package/build/component/feature/apiconnector/questions.js.map +0 -1
  414. package/build/component/feature/apiconnector/result.d.ts +0 -23
  415. package/build/component/feature/apiconnector/result.d.ts.map +0 -1
  416. package/build/component/feature/apiconnector/result.js +0 -40
  417. package/build/component/feature/apiconnector/result.js.map +0 -1
  418. package/build/component/feature/apiconnector/sampleHandler.d.ts +0 -10
  419. package/build/component/feature/apiconnector/sampleHandler.d.ts.map +0 -1
  420. package/build/component/feature/apiconnector/sampleHandler.js +0 -62
  421. package/build/component/feature/apiconnector/sampleHandler.js.map +0 -1
  422. package/build/component/feature/apiconnector/telemetry.d.ts +0 -42
  423. package/build/component/feature/apiconnector/telemetry.d.ts.map +0 -1
  424. package/build/component/feature/apiconnector/telemetry.js +0 -70
  425. package/build/component/feature/apiconnector/telemetry.js.map +0 -1
  426. package/build/component/feature/apiconnector/utils.d.ts +0 -18
  427. package/build/component/feature/apiconnector/utils.d.ts.map +0 -1
  428. package/build/component/feature/apiconnector/utils.js +0 -90
  429. package/build/component/feature/apiconnector/utils.js.map +0 -1
  430. package/build/component/feature/apim.d.ts +0 -8
  431. package/build/component/feature/apim.d.ts.map +0 -1
  432. package/build/component/feature/apim.js +0 -123
  433. package/build/component/feature/apim.js.map +0 -1
  434. package/build/component/feature/bot/bot.d.ts +0 -12
  435. package/build/component/feature/bot/bot.d.ts.map +0 -1
  436. package/build/component/feature/bot/bot.js +0 -309
  437. package/build/component/feature/bot/bot.js.map +0 -1
  438. package/build/component/feature/keyVault.d.ts +0 -16
  439. package/build/component/feature/keyVault.d.ts.map +0 -1
  440. package/build/component/feature/keyVault.js +0 -90
  441. package/build/component/feature/keyVault.js.map +0 -1
  442. package/build/component/feature/spfx.d.ts +0 -9
  443. package/build/component/feature/spfx.d.ts.map +0 -1
  444. package/build/component/feature/spfx.js +0 -121
  445. package/build/component/feature/spfx.js.map +0 -1
  446. package/build/component/feature/sql.d.ts +0 -10
  447. package/build/component/feature/sql.d.ts.map +0 -1
  448. package/build/component/feature/sql.js +0 -80
  449. package/build/component/feature/sql.js.map +0 -1
  450. package/build/component/feature/tab.d.ts +0 -10
  451. package/build/component/feature/tab.d.ts.map +0 -1
  452. package/build/component/feature/tab.js +0 -238
  453. package/build/component/feature/tab.js.map +0 -1
  454. package/build/component/generator/spfxGenerator.d.ts.map +0 -1
  455. package/build/component/generator/spfxGenerator.js.map +0 -1
  456. package/build/component/resource/azureAppService/azureAppService.d.ts +0 -12
  457. package/build/component/resource/azureAppService/azureAppService.d.ts.map +0 -1
  458. package/build/component/resource/azureAppService/azureAppService.js +0 -48
  459. package/build/component/resource/azureAppService/azureAppService.js.map +0 -1
  460. package/build/component/resource/azureAppService/azureFunction.d.ts +0 -36
  461. package/build/component/resource/azureAppService/azureFunction.d.ts.map +0 -1
  462. package/build/component/resource/azureAppService/azureFunction.js +0 -155
  463. package/build/component/resource/azureAppService/azureFunction.js.map +0 -1
  464. package/build/component/resource/azureAppService/azureLibs.d.ts +0 -6
  465. package/build/component/resource/azureAppService/azureLibs.d.ts.map +0 -1
  466. package/build/component/resource/azureAppService/azureLibs.js +0 -13
  467. package/build/component/resource/azureAppService/azureLibs.js.map +0 -1
  468. package/build/component/resource/azureAppService/azureWebApp.d.ts +0 -30
  469. package/build/component/resource/azureAppService/azureWebApp.d.ts.map +0 -1
  470. package/build/component/resource/azureAppService/azureWebApp.js +0 -43
  471. package/build/component/resource/azureAppService/azureWebApp.js.map +0 -1
  472. package/build/component/resource/azureAppService/common.d.ts +0 -10
  473. package/build/component/resource/azureAppService/common.d.ts.map +0 -1
  474. package/build/component/resource/azureAppService/common.js +0 -80
  475. package/build/component/resource/azureAppService/common.js.map +0 -1
  476. package/build/component/resource/azureAppService/dir-walk.d.ts +0 -4
  477. package/build/component/resource/azureAppService/dir-walk.d.ts.map +0 -1
  478. package/build/component/resource/azureAppService/dir-walk.js +0 -21
  479. package/build/component/resource/azureAppService/dir-walk.js.map +0 -1
  480. package/build/component/resource/azureSql/actions/configure.d.ts +0 -15
  481. package/build/component/resource/azureSql/actions/configure.d.ts.map +0 -1
  482. package/build/component/resource/azureSql/actions/configure.js +0 -92
  483. package/build/component/resource/azureSql/actions/configure.js.map +0 -1
  484. package/build/component/resource/azureSql/actions/provision.d.ts +0 -10
  485. package/build/component/resource/azureSql/actions/provision.d.ts.map +0 -1
  486. package/build/component/resource/azureSql/actions/provision.js +0 -63
  487. package/build/component/resource/azureSql/actions/provision.js.map +0 -1
  488. package/build/component/resource/azureSql/actions/utils.d.ts +0 -12
  489. package/build/component/resource/azureSql/actions/utils.d.ts.map +0 -1
  490. package/build/component/resource/azureSql/actions/utils.js +0 -82
  491. package/build/component/resource/azureSql/actions/utils.js.map +0 -1
  492. package/build/component/resource/azureSql/azureSql.d.ts +0 -24
  493. package/build/component/resource/azureSql/azureSql.d.ts.map +0 -1
  494. package/build/component/resource/azureSql/azureSql.js +0 -75
  495. package/build/component/resource/azureSql/azureSql.js.map +0 -1
  496. package/build/component/resource/azureSql/clients/management.d.ts +0 -18
  497. package/build/component/resource/azureSql/clients/management.d.ts.map +0 -1
  498. package/build/component/resource/azureSql/clients/management.js +0 -124
  499. package/build/component/resource/azureSql/clients/management.js.map +0 -1
  500. package/build/component/resource/azureSql/clients/sql.d.ts +0 -13
  501. package/build/component/resource/azureSql/clients/sql.d.ts.map +0 -1
  502. package/build/component/resource/azureSql/clients/sql.js +0 -153
  503. package/build/component/resource/azureSql/clients/sql.js.map +0 -1
  504. package/build/component/resource/azureSql/config.d.ts +0 -7
  505. package/build/component/resource/azureSql/config.d.ts.map +0 -1
  506. package/build/component/resource/azureSql/config.js +0 -77
  507. package/build/component/resource/azureSql/config.js.map +0 -1
  508. package/build/component/resource/azureSql/constants.d.ts +0 -85
  509. package/build/component/resource/azureSql/constants.d.ts.map +0 -1
  510. package/build/component/resource/azureSql/constants.js +0 -95
  511. package/build/component/resource/azureSql/constants.js.map +0 -1
  512. package/build/component/resource/azureSql/errors.d.ts +0 -63
  513. package/build/component/resource/azureSql/errors.d.ts.map +0 -1
  514. package/build/component/resource/azureSql/errors.js +0 -107
  515. package/build/component/resource/azureSql/errors.js.map +0 -1
  516. package/build/component/resource/azureSql/index.d.ts +0 -2
  517. package/build/component/resource/azureSql/index.d.ts.map +0 -1
  518. package/build/component/resource/azureSql/index.js +0 -7
  519. package/build/component/resource/azureSql/index.js.map +0 -1
  520. package/build/component/resource/azureSql/questions.d.ts +0 -6
  521. package/build/component/resource/azureSql/questions.d.ts.map +0 -1
  522. package/build/component/resource/azureSql/questions.js +0 -59
  523. package/build/component/resource/azureSql/questions.js.map +0 -1
  524. package/build/component/resource/azureSql/results.d.ts +0 -10
  525. package/build/component/resource/azureSql/results.d.ts.map +0 -1
  526. package/build/component/resource/azureSql/results.js +0 -34
  527. package/build/component/resource/azureSql/results.js.map +0 -1
  528. package/build/component/resource/azureSql/types.d.ts +0 -12
  529. package/build/component/resource/azureSql/types.d.ts.map +0 -1
  530. package/build/component/resource/azureSql/types.js +0 -5
  531. package/build/component/resource/azureSql/types.js.map +0 -1
  532. package/build/component/resource/azureSql/utils/checkInput.d.ts +0 -10
  533. package/build/component/resource/azureSql/utils/checkInput.d.ts.map +0 -1
  534. package/build/component/resource/azureSql/utils/checkInput.js +0 -89
  535. package/build/component/resource/azureSql/utils/checkInput.js.map +0 -1
  536. package/build/component/resource/azureSql/utils/common.d.ts +0 -12
  537. package/build/component/resource/azureSql/utils/common.d.ts.map +0 -1
  538. package/build/component/resource/azureSql/utils/common.js +0 -51
  539. package/build/component/resource/azureSql/utils/common.js.map +0 -1
  540. package/build/component/resource/azureStorage/azureStorage.d.ts +0 -31
  541. package/build/component/resource/azureStorage/azureStorage.d.ts.map +0 -1
  542. package/build/component/resource/azureStorage/azureStorage.js +0 -111
  543. package/build/component/resource/azureStorage/azureStorage.js.map +0 -1
  544. package/build/component/resource/azureStorage/clients.d.ts +0 -23
  545. package/build/component/resource/azureStorage/clients.d.ts.map +0 -1
  546. package/build/component/resource/azureStorage/clients.js +0 -133
  547. package/build/component/resource/azureStorage/clients.js.map +0 -1
  548. package/build/component/resource/azureStorage/configs.d.ts +0 -12
  549. package/build/component/resource/azureStorage/configs.d.ts.map +0 -1
  550. package/build/component/resource/azureStorage/configs.js +0 -30
  551. package/build/component/resource/azureStorage/configs.js.map +0 -1
  552. package/build/component/resource/azureStorage/constants.d.ts +0 -11
  553. package/build/component/resource/azureStorage/constants.d.ts.map +0 -1
  554. package/build/component/resource/azureStorage/constants.js +0 -17
  555. package/build/component/resource/azureStorage/constants.js.map +0 -1
  556. package/build/component/resource/azureStorage/messages.d.ts +0 -14
  557. package/build/component/resource/azureStorage/messages.d.ts.map +0 -1
  558. package/build/component/resource/azureStorage/messages.js +0 -28
  559. package/build/component/resource/azureStorage/messages.js.map +0 -1
  560. package/build/component/resource/botService/botService.d.ts +0 -24
  561. package/build/component/resource/botService/botService.d.ts.map +0 -1
  562. package/build/component/resource/botService/botService.js +0 -146
  563. package/build/component/resource/botService/botService.js.map +0 -1
  564. package/build/component/resource/identity.d.ts +0 -28
  565. package/build/component/resource/identity.d.ts.map +0 -1
  566. package/build/component/resource/identity.js +0 -42
  567. package/build/component/resource/identity.js.map +0 -1
  568. package/build/component/resource/keyVault.d.ts +0 -29
  569. package/build/component/resource/keyVault.d.ts.map +0 -1
  570. package/build/component/resource/keyVault.js +0 -47
  571. package/build/component/resource/keyVault.js.map +0 -1
  572. package/build/component/resource/simpleAuth/constants.d.ts +0 -122
  573. package/build/component/resource/simpleAuth/constants.d.ts.map +0 -1
  574. package/build/component/resource/simpleAuth/constants.js +0 -163
  575. package/build/component/resource/simpleAuth/constants.js.map +0 -1
  576. package/build/component/resource/simpleAuth/errors.d.ts +0 -17
  577. package/build/component/resource/simpleAuth/errors.d.ts.map +0 -1
  578. package/build/component/resource/simpleAuth/errors.js +0 -91
  579. package/build/component/resource/simpleAuth/errors.js.map +0 -1
  580. package/build/component/resource/simpleAuth/index.d.ts +0 -12
  581. package/build/component/resource/simpleAuth/index.d.ts.map +0 -1
  582. package/build/component/resource/simpleAuth/index.js +0 -115
  583. package/build/component/resource/simpleAuth/index.js.map +0 -1
  584. package/build/component/resource/simpleAuth/result.d.ts +0 -9
  585. package/build/component/resource/simpleAuth/result.d.ts.map +0 -1
  586. package/build/component/resource/simpleAuth/result.js +0 -35
  587. package/build/component/resource/simpleAuth/result.js.map +0 -1
  588. package/build/component/resource/simpleAuth/utils/common.d.ts +0 -23
  589. package/build/component/resource/simpleAuth/utils/common.d.ts.map +0 -1
  590. package/build/component/resource/simpleAuth/utils/common.js +0 -150
  591. package/build/component/resource/simpleAuth/utils/common.js.map +0 -1
  592. package/build/component/resource/simpleAuth/utils/dialog.d.ts +0 -5
  593. package/build/component/resource/simpleAuth/utils/dialog.d.ts.map +0 -1
  594. package/build/component/resource/simpleAuth/utils/dialog.js +0 -7
  595. package/build/component/resource/simpleAuth/utils/dialog.js.map +0 -1
  596. package/build/component/resource/simpleAuth/utils/telemetry.d.ts +0 -17
  597. package/build/component/resource/simpleAuth/utils/telemetry.d.ts.map +0 -1
  598. package/build/component/resource/simpleAuth/utils/telemetry.js +0 -45
  599. package/build/component/resource/simpleAuth/utils/telemetry.js.map +0 -1
  600. package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -11
  601. package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
  602. package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
  603. package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
  604. package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
  605. package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
  606. package/build/component/resource/spfx/depsChecker/yoChecker.js.map +0 -1
  607. package/build/component/resource/spfx/error.d.ts +0 -21
  608. package/build/component/resource/spfx/error.d.ts.map +0 -1
  609. package/build/component/resource/spfx/error.js +0 -138
  610. package/build/component/resource/spfx/error.js.map +0 -1
  611. package/build/component/resource/spfx/index.d.ts +0 -15
  612. package/build/component/resource/spfx/index.d.ts.map +0 -1
  613. package/build/component/resource/spfx/index.js +0 -248
  614. package/build/component/resource/spfx/index.js.map +0 -1
  615. package/build/component/resource/spfx/spoClient.d.ts +0 -25
  616. package/build/component/resource/spfx/spoClient.d.ts.map +0 -1
  617. package/build/component/resource/spfx/spoClient.js +0 -79
  618. package/build/component/resource/spfx/spoClient.js.map +0 -1
  619. package/build/component/resource/spfx/utils/constants.d.ts.map +0 -1
  620. package/build/component/resource/spfx/utils/constants.js.map +0 -1
  621. package/build/component/resource/spfx/utils/progress-helper.d.ts.map +0 -1
  622. package/build/component/resource/spfx/utils/progress-helper.js +0 -46
  623. package/build/component/resource/spfx/utils/progress-helper.js.map +0 -1
  624. package/build/component/resource/spfx/utils/question-helper.d.ts.map +0 -1
  625. package/build/component/resource/spfx/utils/question-helper.js.map +0 -1
  626. package/build/component/resource/spfx/utils/questions.d.ts.map +0 -1
  627. package/build/component/resource/spfx/utils/questions.js.map +0 -1
  628. package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
  629. package/build/component/resource/spfx/utils/telemetry-helper.js.map +0 -1
  630. package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
  631. package/build/component/resource/spfx/utils/telemetryEvents.js.map +0 -1
  632. package/build/component/resource/spfx/utils/utils.d.ts.map +0 -1
  633. package/build/component/resource/spfx/utils/utils.js.map +0 -1
  634. package/build/component/utils/backupFiles.d.ts +0 -3
  635. package/build/component/utils/backupFiles.d.ts.map +0 -1
  636. package/build/component/utils/backupFiles.js +0 -142
  637. package/build/component/utils/backupFiles.js.map +0 -1
  638. package/build/component/utils/executor.d.ts +0 -12
  639. package/build/component/utils/executor.d.ts.map +0 -1
  640. package/build/component/utils/executor.js +0 -87
  641. package/build/component/utils/executor.js.map +0 -1
  642. package/build/core/dependencyChecker.d.ts +0 -1
  643. package/build/core/dependencyChecker.d.ts.map +0 -1
  644. package/build/core/dependencyChecker.js +0 -2
  645. package/build/core/dependencyChecker.js.map +0 -1
  646. package/build/core/downloadSample.d.ts +0 -9
  647. package/build/core/downloadSample.d.ts.map +0 -1
  648. package/build/core/downloadSample.js +0 -161
  649. package/build/core/downloadSample.js.map +0 -1
  650. package/build/core/middleware/CommonErrorHandlerMW.d.ts +0 -14
  651. package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +0 -1
  652. package/build/core/middleware/CommonErrorHandlerMW.js +0 -63
  653. package/build/core/middleware/CommonErrorHandlerMW.js.map +0 -1
  654. package/build/core/middleware/aadManifestMigration.d.ts +0 -3
  655. package/build/core/middleware/aadManifestMigration.d.ts.map +0 -1
  656. package/build/core/middleware/aadManifestMigration.js +0 -119
  657. package/build/core/middleware/aadManifestMigration.js.map +0 -1
  658. package/build/core/middleware/consolidateLocalRemote.d.ts +0 -5
  659. package/build/core/middleware/consolidateLocalRemote.d.ts.map +0 -1
  660. package/build/core/middleware/consolidateLocalRemote.js +0 -378
  661. package/build/core/middleware/consolidateLocalRemote.js.map +0 -1
  662. package/build/core/middleware/projectMigrator.d.ts +0 -40
  663. package/build/core/middleware/projectMigrator.d.ts.map +0 -1
  664. package/build/core/middleware/projectMigrator.js +0 -1014
  665. package/build/core/middleware/projectMigrator.js.map +0 -1
  666. package/resource/backup-config-change-logs.md +0 -24
  667. package/templates/bicep/azureSql.parameters.json +0 -4
  668. package/templates/bicep/azureSql.provisionDatabase.module.bicep +0 -15
  669. package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +0 -5
  670. package/templates/bicep/azureSql.provisionServer.module.bicep +0 -44
  671. package/templates/bicep/azureSql.provisionServer.orchestration.bicep +0 -14
  672. package/templates/bicep/identity.provision.module.bicep +0 -15
  673. package/templates/bicep/identity.provision.orchestration.bicep +0 -14
  674. package/templates/bicep/keyVault.provision.module.bicep +0 -57
  675. package/templates/bicep/keyVault.provision.orchestration.bicep +0 -15
  676. package/templates/plugins/resource/apiconnector/package.json +0 -5
  677. package/templates/plugins/resource/apiconnector/sample/footerComment.template +0 -20
  678. package/templates/plugins/resource/apiconnector/sample/headerComment.template +0 -52
  679. package/templates/plugins/resource/apiconnector/sample/js/aad.template +0 -31
  680. package/templates/plugins/resource/apiconnector/sample/js/apikey.template +0 -19
  681. package/templates/plugins/resource/apiconnector/sample/js/basic.template +0 -14
  682. package/templates/plugins/resource/apiconnector/sample/js/cert.template +0 -17
  683. package/templates/plugins/resource/apiconnector/sample/js/custom.template +0 -39
  684. package/templates/plugins/resource/apiconnector/sample/ts/aad.template +0 -36
  685. package/templates/plugins/resource/apiconnector/sample/ts/apikey.template +0 -16
  686. package/templates/plugins/resource/apiconnector/sample/ts/basic.template +0 -14
  687. package/templates/plugins/resource/apiconnector/sample/ts/cert.template +0 -19
  688. package/templates/plugins/resource/apiconnector/sample/ts/custom.template +0 -42
  689. package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +0 -15
  690. package/templates/plugins/resource/identity/bicep/provision.template.bicep +0 -14
  691. package/templates/plugins/resource/identity/parameters.json +0 -12
  692. package/templates/plugins/resource/identity/template.json +0 -28
  693. package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +0 -57
  694. package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +0 -15
  695. package/templates/plugins/resource/simpleauth/SimpleAuth.zip +0 -0
  696. package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +0 -12
  697. package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +0 -14
  698. package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +0 -62
  699. package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +0 -51
  700. package/templates/plugins/resource/simpleauth/version.txt +0 -2
  701. package/templates/plugins/resource/spfx/solution/README.md +0 -82
  702. package/templates/plugins/resource/spfx/solution/manifest.local.template.json +0 -62
  703. package/templates/plugins/resource/spfx/solution/manifest_multi_env.json +0 -63
  704. package/templates/plugins/resource/spfx/solution/rootREADME.md +0 -13
  705. package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +0 -5
  706. package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +0 -15
  707. package/templates/plugins/resource/sql/bicep/parameters.json +0 -4
  708. package/templates/plugins/resource/sql/bicep/provision.template.bicep +0 -14
  709. package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +0 -44
  710. /package/build/component/{resource → generator}/spfx/depsChecker/dependencyChecker.js +0 -0
  711. /package/build/component/generator/{spfxGenerator.d.ts → spfx/spfxGenerator.d.ts} +0 -0
  712. /package/build/component/{resource → generator}/spfx/utils/question-helper.d.ts +0 -0
  713. /package/build/component/{resource → generator}/spfx/utils/question-helper.js +0 -0
  714. /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.d.ts +0 -0
  715. /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.js +0 -0
  716. /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.d.ts +0 -0
  717. /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.js +0 -0
  718. /package/build/component/{resource → generator}/spfx/utils/utils.d.ts +0 -0
  719. /package/build/component/{resource → generator}/spfx/utils/utils.js +0 -0
@@ -1,90 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.KeyVaultFeature = void 0;
6
- const tslib_1 = require("tslib");
7
- const lib_1 = require("@feathersjs/hooks/lib");
8
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
9
- require("reflect-metadata");
10
- const typedi_1 = require("typedi");
11
- const utils_1 = require("../../common/utils");
12
- const constants_1 = require("../constants");
13
- require("../connection/azureWebAppConfig");
14
- const constants_2 = require("../constants");
15
- const messages_1 = require("../messages");
16
- const actionExecutionMW_1 = require("../middleware/actionExecutionMW");
17
- require("../resource/azureSql");
18
- require("../resource/identity");
19
- const utils_2 = require("../utils");
20
- const workflow_1 = require("../workflow");
21
- let KeyVaultFeature = class KeyVaultFeature {
22
- constructor() {
23
- this.name = "key-vault-feature";
24
- }
25
- /**
26
- * 1. config keyVault
27
- * 2. add keyVault provision bicep
28
- * 3. re-generate resources that connect to key-vault
29
- * 4. persist bicep
30
- */
31
- async add(context, inputs) {
32
- const projectSettings = context.projectSetting;
33
- const keyVaultComponent = workflow_1.getComponent(projectSettings, constants_2.ComponentNames.KeyVault);
34
- if (keyVaultComponent)
35
- return teamsfx_api_1.ok(undefined);
36
- const effects = [];
37
- // config
38
- projectSettings.components.push({
39
- name: constants_2.ComponentNames.KeyVault,
40
- connections: [constants_2.ComponentNames.Identity],
41
- provision: true,
42
- });
43
- effects.push(messages_1.Plans.addFeature("key-vault"));
44
- // bicep.init
45
- {
46
- const bicepComponent = typedi_1.Container.get("bicep");
47
- const res = await bicepComponent.init(inputs.projectPath);
48
- if (res.isErr())
49
- return teamsfx_api_1.err(res.error);
50
- }
51
- // key-vault provision bicep
52
- {
53
- const keyVaultComponent = typedi_1.Container.get(constants_2.ComponentNames.KeyVault);
54
- const res = await keyVaultComponent.generateBicep(context, inputs);
55
- if (res.isErr())
56
- return teamsfx_api_1.err(res.error);
57
- effects.push("generate key-vault provision bicep");
58
- const persistRes = await utils_2.bicepUtils.persistBiceps(inputs.projectPath, utils_1.convertToAlphanumericOnly(context.projectSetting.appName), res.value);
59
- if (persistRes.isErr())
60
- return persistRes;
61
- }
62
- // generate config bicep
63
- {
64
- const res = await utils_2.generateConfigBiceps(context, inputs);
65
- if (res.isErr())
66
- return teamsfx_api_1.err(res.error);
67
- effects.push("update config biceps");
68
- }
69
- utils_2.addFeatureNotify(inputs, context.userInteraction, "Resource", [constants_1.AzureResourceKeyVault.id]);
70
- return teamsfx_api_1.ok(undefined);
71
- }
72
- };
73
- tslib_1.__decorate([
74
- lib_1.hooks([
75
- actionExecutionMW_1.ActionExecutionMW({
76
- errorSource: "kv",
77
- enableTelemetry: true,
78
- telemetryComponentName: "fx-resource-key-vault",
79
- telemetryEventName: "generate-arm-templates",
80
- }),
81
- ]),
82
- tslib_1.__metadata("design:type", Function),
83
- tslib_1.__metadata("design:paramtypes", [Object, Object]),
84
- tslib_1.__metadata("design:returntype", Promise)
85
- ], KeyVaultFeature.prototype, "add", null);
86
- KeyVaultFeature = tslib_1.__decorate([
87
- typedi_1.Service("key-vault-feature")
88
- ], KeyVaultFeature);
89
- exports.KeyVaultFeature = KeyVaultFeature;
90
- //# sourceMappingURL=keyVault.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keyVault.js","sourceRoot":"","sources":["../../../src/component/feature/keyVault.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,+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} from "@microsoft/teamsfx-api";
2
- import "reflect-metadata";
3
- export declare class SPFxTab {
4
- name: string;
5
- add(context: ContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
6
- }
7
- export declare function getSPFxScaffoldQuestion(platform: Platform): QTreeNode;
8
- export declare function getAddSPFxQuestionNode(projectPath: string | undefined): Promise<Result<QTreeNode | undefined, FxError>>;
9
- //# sourceMappingURL=spfx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spfx.d.ts","sourceRoot":"","sources":["../../../src/component/feature/spfx.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,SAAS,EAET,OAAO,EACP,qBAAqB,EAErB,QAAQ,EAER,SAAS,EACT,MAAM,EACP,MAAM,wBAAwB,CAAC;AAChC,OAAO,kBAAkB,CAAC;AAmB1B,qBACa,OAAO;IAClB,IAAI,SAA0B;IACxB,GAAG,CACP,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;CAwCvC;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAuBrE;AAED,wBAAsB,sBAAsB,CAC1C,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,CA2BjD"}
@@ -1,121 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getAddSPFxQuestionNode = exports.getSPFxScaffoldQuestion = exports.SPFxTab = void 0;
6
- const tslib_1 = require("tslib");
7
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
8
- const path = tslib_1.__importStar(require("path"));
9
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
10
- require("reflect-metadata");
11
- const typedi_1 = require("typedi");
12
- const globalVars_1 = require("../../core/globalVars");
13
- const question_1 = require("../../core/question");
14
- const questions_1 = require("../../component/resource/spfx/utils/questions");
15
- const constants_1 = require("../constants");
16
- const debug_1 = require("../debug");
17
- const utils_1 = require("../utils");
18
- const featureFlags_1 = require("../../common/featureFlags");
19
- const constants_2 = require("../constants");
20
- const workflow_1 = require("../workflow");
21
- let SPFxTab = class SPFxTab {
22
- constructor() {
23
- this.name = constants_1.ComponentNames.SPFxTab;
24
- }
25
- async add(context, inputs) {
26
- const projectSettings = context.projectSetting;
27
- const spfxTabConfig = workflow_1.getComponent(projectSettings, constants_1.ComponentNames.SPFx);
28
- if (!spfxTabConfig) {
29
- // add teams-tab
30
- projectSettings.components.push({
31
- name: "teams-tab",
32
- hosting: constants_1.ComponentNames.SPFx,
33
- deploy: true,
34
- folder: inputs.folder || "SPFx",
35
- build: true,
36
- });
37
- // add hosting component
38
- projectSettings.components.push({
39
- name: constants_1.ComponentNames.SPFx,
40
- provision: true,
41
- });
42
- }
43
- projectSettings.programmingLanguage =
44
- projectSettings.programmingLanguage || inputs[question_1.CoreQuestionNames.ProgrammingLanguage];
45
- globalVars_1.globalVars.isVS = inputs[question_1.CoreQuestionNames.ProgrammingLanguage] === "csharp";
46
- const effects = ["config 'teams-tab' in projectSettings"];
47
- {
48
- const spfxCode = typedi_1.Container.get(constants_1.ComponentNames.SPFxTabCode);
49
- const res = await spfxCode.generate(context, inputs);
50
- if (res.isErr())
51
- return teamsfx_api_1.err(res.error);
52
- effects.push("scaffold spfx code");
53
- }
54
- {
55
- const res = await debug_1.generateLocalDebugSettings(context, inputs);
56
- if (res.isErr())
57
- return teamsfx_api_1.err(res.error);
58
- effects.push("generate debug settings");
59
- }
60
- if (featureFlags_1.isSPFxMultiTabEnabled()) {
61
- await utils_1.scaffoldRootReadme(context.projectSetting, inputs.projectPath);
62
- }
63
- utils_1.addFeatureNotify(inputs, context.userInteraction, "Capability", [inputs.features]);
64
- return teamsfx_api_1.ok(undefined);
65
- }
66
- };
67
- SPFxTab = tslib_1.__decorate([
68
- typedi_1.Service(constants_1.ComponentNames.SPFxTab)
69
- ], SPFxTab);
70
- exports.SPFxTab = SPFxTab;
71
- function getSPFxScaffoldQuestion(platform) {
72
- const spfx_frontend_host = new teamsfx_api_1.QTreeNode({
73
- type: "group",
74
- });
75
- const spfx_select_package_question = new teamsfx_api_1.QTreeNode(questions_1.spfxPackageSelectQuestion);
76
- const spfx_framework_type = new teamsfx_api_1.QTreeNode(questions_1.frameworkQuestion);
77
- const spfx_webpart_name = new teamsfx_api_1.QTreeNode(questions_1.webpartNameQuestion);
78
- if (platform !== teamsfx_api_1.Platform.CLI_HELP) {
79
- const spfx_load_package_versions = new teamsfx_api_1.QTreeNode(questions_1.loadPackageVersions);
80
- spfx_load_package_versions.addChild(spfx_select_package_question);
81
- spfx_select_package_question.addChild(spfx_framework_type);
82
- spfx_select_package_question.addChild(spfx_webpart_name);
83
- spfx_frontend_host.addChild(spfx_load_package_versions);
84
- }
85
- else {
86
- spfx_frontend_host.addChild(spfx_select_package_question);
87
- spfx_frontend_host.addChild(spfx_framework_type);
88
- spfx_frontend_host.addChild(spfx_webpart_name);
89
- }
90
- return spfx_frontend_host;
91
- }
92
- exports.getSPFxScaffoldQuestion = getSPFxScaffoldQuestion;
93
- async function getAddSPFxQuestionNode(projectPath) {
94
- var _a;
95
- const spfx_add_feature = new teamsfx_api_1.QTreeNode({
96
- type: "group",
97
- });
98
- spfx_add_feature.condition = { equals: constants_2.TabSPFxNewUIItem().id };
99
- const spfx_version_check = new teamsfx_api_1.QTreeNode(questions_1.versionCheckQuestion);
100
- spfx_add_feature.addChild(spfx_version_check);
101
- if (projectPath) {
102
- const yorcPath = path.join(projectPath, "SPFx", ".yo-rc.json");
103
- if (await fs_extra_1.default.pathExists(yorcPath)) {
104
- const yorc = await fs_extra_1.default.readJson(yorcPath);
105
- const template = (_a = yorc["@microsoft/generator-sharepoint"]) === null || _a === void 0 ? void 0 : _a.template;
106
- if (template === undefined || template === "") {
107
- const spfx_framework_type = new teamsfx_api_1.QTreeNode(questions_1.frameworkQuestion);
108
- spfx_version_check.addChild(spfx_framework_type);
109
- }
110
- }
111
- else {
112
- const spfx_framework_type = new teamsfx_api_1.QTreeNode(questions_1.frameworkQuestion);
113
- spfx_version_check.addChild(spfx_framework_type);
114
- }
115
- }
116
- const spfx_webpart_name = new teamsfx_api_1.QTreeNode(questions_1.webpartNameQuestion);
117
- spfx_version_check.addChild(spfx_webpart_name);
118
- return teamsfx_api_1.ok(spfx_add_feature);
119
- }
120
- exports.getAddSPFxQuestionNode = getAddSPFxQuestionNode;
121
- //# sourceMappingURL=spfx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spfx.js","sourceRoot":"","sources":["../../../src/component/feature/spfx.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAGlC,gEAA0B;AAC1B,mDAA6B;AAC7B,wDAUgC;AAChC,4BAA0B;AAC1B,mCAA4C;AAC5C,sDAAmD;AACnD,kDAAwD;AACxD,6EAMuD;AAEvD,4CAA8C;AAC9C,oCAAsD;AACtD,oCAAgE;AAChE,4DAAkE;AAClE,4CAAgD;AAChD,0CAA2C;AAG3C,IAAa,OAAO,GAApB,MAAa,OAAO;IAApB;QACE,SAAI,GAAG,0BAAc,CAAC,OAAO,CAAC;IA4ChC,CAAC;IA3CC,KAAK,CAAC,GAAG,CACP,OAAkB,EAClB,MAA6B;QAE7B,MAAM,eAAe,GAAG,OAAO,CAAC,cAAmC,CAAC;QACpE,MAAM,aAAa,GAAG,uBAAY,CAAC,eAAe,EAAE,0BAAc,CAAC,IAAI,CAAC,CAAC;QACzE,IAAI,CAAC,aAAa,EAAE;YAClB,gBAAgB;YAChB,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC;gBAC9B,IAAI,EAAE,WAAW;gBACjB,OAAO,EAAE,0BAAc,CAAC,IAAI;gBAC5B,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,M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AAgB,EAAE,CAAC,EAAE,EAAE,CAAC;IAE/D,MAAM,kBAAkB,GAAG,IAAI,uBAAS,CAAC,gCAAoB,CAAC,CAAC;IAC/D,gBAAgB,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAE9C,IAAI,WAAW,EAAE;QACf,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAC/D,IAAI,MAAM,kBAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;YACjC,MAAM,IAAI,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YACzC,MAAM,QAAQ,GAAG,MAAA,IAAI,CAAC,iCAAiC,CAAC,0CAAE,QAAQ,CAAC;YACnE,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,EAAE,EAAE;gBAC7C,MAAM,mBAAmB,GAAG,IAAI,uBAAS,CAAC,6BAAiB,CAAC,CAAC;gBAC7D,kBAAkB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;aAClD;SACF;aAAM;YACL,MAAM,mBAAmB,GAAG,IAAI,uBAAS,CAAC,6BAAiB,CAAC,CAAC;YAC7D,kBAAkB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;SAClD;KACF;IAED,MAAM,iBAAiB,GAAG,IAAI,uBAAS,CAAC,+BAAmB,CAAC,CAAC;IAC7D,kBAAkB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAC/C,OAAO,gBAAE,CAAC,gBAAgB,CAAC,CAAC;AAC9B,CAAC;AA7BD,wDA6BC"}
@@ -1,10 +0,0 @@
1
- import { ContextV3, FxError, InputsWithProjectPath, Result } from "@microsoft/teamsfx-api";
2
- import "reflect-metadata";
3
- import "../connection/azureWebAppConfig";
4
- import "../resource/azureSql";
5
- import "../resource/identity";
6
- export declare class Sql {
7
- name: string;
8
- add(context: ContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
9
- }
10
- //# sourceMappingURL=sql.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../../src/component/feature/sql.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAO,OAAO,EAAE,qBAAqB,EAAM,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,kBAAkB,CAAC;AAG1B,OAAO,iCAAiC,CAAC;AACzC,OAAO,sBAAsB,CAAC;AAC9B,OAAO,sBAAsB,CAAC;AAU9B,qBACa,GAAG;IACd,IAAI,SAAS;IAEP,GAAG,CACP,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;CAqDvC"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Sql = void 0;
6
- const tslib_1 = require("tslib");
7
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
8
- require("reflect-metadata");
9
- const typedi_1 = require("typedi");
10
- const workflow_1 = require("../workflow");
11
- require("../connection/azureWebAppConfig");
12
- require("../resource/azureSql");
13
- require("../resource/identity");
14
- const constants_1 = require("../constants");
15
- const projectSettingsHelperV3_1 = require("../../common/projectSettingsHelperV3");
16
- const utils_1 = require("../../common/utils");
17
- const utils_2 = require("../utils");
18
- const lodash_1 = require("lodash");
19
- const constants_2 = require("../constants");
20
- let Sql = class Sql {
21
- constructor() {
22
- this.name = "sql";
23
- }
24
- async add(context, inputs) {
25
- const addedResources = [];
26
- const sqlComponent = workflow_1.getComponent(context.projectSetting, constants_1.ComponentNames.AzureSQL);
27
- if (projectSettingsHelperV3_1.hasTab(context.projectSetting) && !projectSettingsHelperV3_1.hasApi(context.projectSetting)) {
28
- const teamsApi = typedi_1.Container.get(constants_1.ComponentNames.TeamsApi);
29
- const res = await teamsApi.add(context, inputs);
30
- if (res.isErr())
31
- return teamsfx_api_1.err(res.error);
32
- }
33
- const projectSettings = context.projectSetting;
34
- const remarks = [];
35
- if (!sqlComponent) {
36
- remarks.push("config 'azure-sql' in projectSettings");
37
- projectSettings.components.push({
38
- name: "azure-sql",
39
- provision: true,
40
- });
41
- }
42
- // generate bicep
43
- // bicep.init
44
- {
45
- const bicepComponent = typedi_1.Container.get("bicep");
46
- const res = await bicepComponent.init(inputs.projectPath);
47
- if (res.isErr())
48
- return teamsfx_api_1.err(res.error);
49
- }
50
- // sql bicep
51
- {
52
- const provisionType = sqlComponent ? "database" : "server";
53
- const clonedInputs = lodash_1.cloneDeep(inputs);
54
- clonedInputs.provisionType = provisionType;
55
- const sqlResource = typedi_1.Container.get(constants_1.ComponentNames.AzureSQL);
56
- const res = await sqlResource.generateBicep(context, clonedInputs);
57
- if (res.isErr())
58
- return teamsfx_api_1.err(res.error);
59
- const bicepRes = await utils_2.bicepUtils.persistBiceps(inputs.projectPath, utils_1.convertToAlphanumericOnly(context.projectSetting.appName), res.value);
60
- if (bicepRes.isErr())
61
- return bicepRes;
62
- remarks.push("generate sql bicep");
63
- }
64
- // generate config bicep
65
- {
66
- const res = await utils_2.generateConfigBiceps(context, inputs);
67
- if (res.isErr())
68
- return teamsfx_api_1.err(res.error);
69
- remarks.push("generate config biceps");
70
- }
71
- addedResources.push(constants_2.AzureResourceSQL.id);
72
- utils_2.addFeatureNotify(inputs, context.userInteraction, "Resource", addedResources);
73
- return teamsfx_api_1.ok(undefined);
74
- }
75
- };
76
- Sql = tslib_1.__decorate([
77
- typedi_1.Service("sql")
78
- ], Sql);
79
- exports.Sql = Sql;
80
- //# sourceMappingURL=sql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sql.js","sourceRoot":"","sources":["../../../src/component/feature/sql.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAoG;AACpG,4BAA0B;AAC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AO,CAAC,eAAe,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,OAAO,gBAAE,CAAC,SAAS,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AA3DY,GAAG;IADf,gBAAO,CAAC,KAAK,CAAC;GACF,GAAG,CA2Df;AA3DY,kBAAG"}
@@ -1,10 +0,0 @@
1
- import { ActionContext, ContextV3, FxError, InputsWithProjectPath, ResourceContextV3, Result } from "@microsoft/teamsfx-api";
2
- import "reflect-metadata";
3
- export declare class TeamsTab {
4
- name: string;
5
- add(context: ContextV3, inputs: InputsWithProjectPath, actionContext?: ActionContext): Promise<Result<undefined, FxError>>;
6
- provision(context: ResourceContextV3): Promise<Result<undefined, FxError>>;
7
- configure(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
8
- build(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
9
- }
10
- //# sourceMappingURL=tab.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../src/component/feature/tab.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EAGb,SAAS,EAET,OAAO,EACP,qBAAqB,EAErB,iBAAiB,EACjB,MAAM,EAEP,MAAM,wBAAwB,CAAC;AAChC,OAAO,kBAAkB,CAAC;AA4B1B,qBACa,QAAQ;IACnB,IAAI,SAAe;IAeb,GAAG,CACP,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,EAC7B,aAAa,CAAC,EAAE,aAAa,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAgKhC,SAAS,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAY1E,SAAS,CACb,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAMhC,KAAK,CACT,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;CAMvC"}
@@ -1,238 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.TeamsTab = void 0;
6
- const tslib_1 = require("tslib");
7
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
8
- require("reflect-metadata");
9
- const typedi_1 = require("typedi");
10
- const globalVars_1 = require("../../core/globalVars");
11
- const question_1 = require("../../core/question");
12
- const constants_1 = require("../constants");
13
- const constants_2 = require("../constants");
14
- const messages_1 = require("../messages");
15
- const workflow_1 = require("../workflow");
16
- const lodash_1 = require("lodash");
17
- const utils_1 = require("../utils");
18
- const tabCode_1 = require("../code/tab/tabCode");
19
- const utils_2 = require("../../common/utils");
20
- const debug_1 = require("../debug");
21
- const actionExecutionMW_1 = require("../middleware/actionExecutionMW");
22
- const lib_1 = require("@feathersjs/hooks/lib");
23
- const telemetry_1 = require("../../common/telemetry");
24
- const projectSettingsHelper_1 = require("../../common/projectSettingsHelper");
25
- const constants_3 = require("../code/tab/constants");
26
- let TeamsTab = class TeamsTab {
27
- constructor() {
28
- this.name = "teams-tab";
29
- }
30
- async add(context, inputs, actionContext) {
31
- const projectSettings = context.projectSetting;
32
- const effects = [];
33
- inputs[question_1.CoreQuestionNames.ProgrammingLanguage] =
34
- context.projectSetting.programmingLanguage ||
35
- inputs[question_1.CoreQuestionNames.ProgrammingLanguage] ||
36
- "javascript";
37
- inputs.hosting || (inputs.hosting = inputs[question_1.CoreQuestionNames.ProgrammingLanguage] === "csharp"
38
- ? constants_2.ComponentNames.AzureWebApp
39
- : constants_2.ComponentNames.AzureStorage);
40
- globalVars_1.globalVars.isVS = inputs[question_1.CoreQuestionNames.ProgrammingLanguage] === "csharp";
41
- projectSettings.programmingLanguage || (projectSettings.programmingLanguage = inputs[question_1.CoreQuestionNames.ProgrammingLanguage]);
42
- const addedComponents = [];
43
- // Add static tab to app-manifest if teams-tab already exists
44
- let tabConfig = workflow_1.getComponent(projectSettings, constants_2.ComponentNames.TeamsTab);
45
- if (tabConfig) {
46
- // app-manifest.addCapability
47
- {
48
- const capabilities = [{ name: "staticTab" }];
49
- const clonedInputs = lodash_1.cloneDeep(inputs);
50
- const manifestComponent = typedi_1.Container.get(constants_2.ComponentNames.AppManifest);
51
- const res = await manifestComponent.addCapability(clonedInputs, capabilities);
52
- if (res.isErr())
53
- return teamsfx_api_1.err(res.error);
54
- effects.push("add tab capability in app manifest");
55
- utils_1.addFeatureNotify(inputs, context.userInteraction, "Capability", [inputs.features]);
56
- return teamsfx_api_1.ok(undefined);
57
- }
58
- }
59
- // 1. scaffold and config tab
60
- const clonedInputs = lodash_1.cloneDeep(inputs);
61
- clonedInputs.folder || (clonedInputs.folder = inputs[question_1.CoreQuestionNames.ProgrammingLanguage] === constants_2.ProgrammingLanguage.CSharp
62
- ? constants_2.PathConstants.dotnetWorkingDir
63
- : constants_2.PathConstants.tabWorkingDir);
64
- clonedInputs.language = inputs[question_1.CoreQuestionNames.ProgrammingLanguage];
65
- const tabCode = typedi_1.Container.get(constants_2.ComponentNames.TabCode);
66
- const res = await tabCode.generate(context, clonedInputs);
67
- if (res.isErr())
68
- return teamsfx_api_1.err(res.error);
69
- effects.push("generate tab code");
70
- tabConfig = {
71
- name: constants_2.ComponentNames.TeamsTab,
72
- hosting: inputs.hosting,
73
- deploy: true,
74
- provision: true,
75
- build: true,
76
- folder: clonedInputs.folder,
77
- };
78
- projectSettings.components.push(tabConfig);
79
- addedComponents.push(tabConfig.name);
80
- effects.push(messages_1.Plans.generateSourceCodeAndConfig(constants_2.ComponentNames.TeamsTab));
81
- // 2. generate provision bicep
82
- // 2.0 bicep.init
83
- {
84
- const bicepComponent = typedi_1.Container.get("bicep");
85
- const res = await bicepComponent.init(inputs.projectPath);
86
- if (res.isErr())
87
- return teamsfx_api_1.err(res.error);
88
- }
89
- const biceps = [];
90
- // 2.1 hosting bicep
91
- const hostingConfig = workflow_1.getComponentByScenario(projectSettings, inputs.hosting, constants_2.Scenarios.Tab);
92
- if (!hostingConfig) {
93
- const clonedInputs = lodash_1.cloneDeep(inputs);
94
- lodash_1.assign(clonedInputs, {
95
- componentId: constants_2.ComponentNames.TeamsTab,
96
- scenario: constants_2.Scenarios.Tab,
97
- });
98
- const hostingComponent = typedi_1.Container.get(inputs.hosting);
99
- const res = await hostingComponent.generateBicep(context, clonedInputs);
100
- if (res.isErr())
101
- return teamsfx_api_1.err(res.error);
102
- res.value.forEach((b) => biceps.push(b));
103
- projectSettings.components.push({
104
- name: inputs.hosting,
105
- scenario: constants_2.Scenarios.Tab,
106
- provision: true,
107
- });
108
- addedComponents.push(inputs.hosting);
109
- effects.push(messages_1.Plans.generateBicepAndConfig(inputs.hosting));
110
- }
111
- // 2.2 identity bicep
112
- if (!workflow_1.getComponent(projectSettings, constants_2.ComponentNames.Identity)) {
113
- const clonedInputs = lodash_1.cloneDeep(inputs);
114
- lodash_1.assign(clonedInputs, {
115
- componentId: "",
116
- scenario: "",
117
- });
118
- const identityComponent = typedi_1.Container.get(constants_2.ComponentNames.Identity);
119
- const res = await identityComponent.generateBicep(context, clonedInputs);
120
- if (res.isErr())
121
- return teamsfx_api_1.err(res.error);
122
- res.value.forEach((b) => biceps.push(b));
123
- projectSettings.components.push({
124
- name: constants_2.ComponentNames.Identity,
125
- provision: true,
126
- });
127
- addedComponents.push(constants_2.ComponentNames.Identity);
128
- effects.push(messages_1.Plans.generateBicepAndConfig(constants_2.ComponentNames.Identity));
129
- }
130
- //persist bicep
131
- const bicepRes = await utils_1.bicepUtils.persistBiceps(inputs.projectPath, utils_2.convertToAlphanumericOnly(context.projectSetting.appName), biceps);
132
- if (bicepRes.isErr())
133
- return bicepRes;
134
- // 2.3 add sso
135
- const nonSsoIds = [constants_1.TabNonSsoItem().id, constants_1.DashboardOptionItem().id];
136
- if (!nonSsoIds.includes(inputs[constants_1.AzureSolutionQuestionNames.Features])) {
137
- const ssoComponent = typedi_1.Container.get("sso");
138
- const res = await ssoComponent.add(context, inputs);
139
- if (res.isErr())
140
- return teamsfx_api_1.err(res.error);
141
- }
142
- // 3. generate config bicep
143
- {
144
- const res = await utils_1.generateConfigBiceps(context, inputs);
145
- if (res.isErr())
146
- return teamsfx_api_1.err(res.error);
147
- effects.push("generate config biceps");
148
- }
149
- // 4. local debug settings
150
- {
151
- const res = await debug_1.generateLocalDebugSettings(context, inputs);
152
- if (res.isErr())
153
- return teamsfx_api_1.err(res.error);
154
- effects.push("generate debug configs");
155
- }
156
- // 5. app-manifest.addCapability
157
- {
158
- const capabilities = [{ name: "staticTab" }];
159
- // M365 app does not support configurationTab
160
- if (!context.projectSetting.isM365) {
161
- capabilities.push({ name: "configurableTab" });
162
- }
163
- const clonedInputs = Object.assign(Object.assign({}, lodash_1.cloneDeep(inputs)), { validDomain: `{{state.${constants_2.ComponentNames.TeamsTab}.domain}}` });
164
- const manifestComponent = typedi_1.Container.get(constants_2.ComponentNames.AppManifest);
165
- const res = await manifestComponent.addCapability(clonedInputs, capabilities);
166
- if (res.isErr())
167
- return teamsfx_api_1.err(res.error);
168
- effects.push("add tab capability in app manifest");
169
- }
170
- lodash_1.merge(actionContext === null || actionContext === void 0 ? void 0 : actionContext.telemetryProps, {
171
- [telemetry_1.TelemetryProperty.Components]: JSON.stringify(addedComponents),
172
- });
173
- await utils_1.scaffoldRootReadme(context.projectSetting, inputs.projectPath);
174
- utils_1.addFeatureNotify(inputs, context.userInteraction, "Capability", [inputs.features]);
175
- return teamsfx_api_1.ok(undefined);
176
- }
177
- async provision(context) {
178
- context.envInfo.state[constants_2.ComponentNames.TeamsTab] =
179
- context.envInfo.state[constants_2.ComponentNames.TeamsTab] || {};
180
- if (projectSettingsHelper_1.isVSProject(context.projectSetting)) {
181
- context.envInfo.state[constants_2.ComponentNames.TeamsTab][constants_2.StorageOutputs.indexPath.key] =
182
- constants_2.PathConstants.blazorTabIndexPath;
183
- }
184
- else {
185
- context.envInfo.state[constants_2.ComponentNames.TeamsTab][constants_2.StorageOutputs.indexPath.key] =
186
- constants_2.PathConstants.reactTabIndexPath;
187
- }
188
- return teamsfx_api_1.ok(undefined);
189
- }
190
- async configure(context, inputs) {
191
- const tabCode = new tabCode_1.TabCodeProvider();
192
- const res = await tabCode.configure(context, inputs);
193
- if (res.isErr())
194
- return teamsfx_api_1.err(res.error);
195
- return teamsfx_api_1.ok(undefined);
196
- }
197
- async build(context, inputs) {
198
- const tabCode = new tabCode_1.TabCodeProvider();
199
- const res = await tabCode.build(context, inputs);
200
- if (res.isErr())
201
- return teamsfx_api_1.err(res.error);
202
- return teamsfx_api_1.ok(undefined);
203
- }
204
- };
205
- tslib_1.__decorate([
206
- lib_1.hooks([
207
- actionExecutionMW_1.ActionExecutionMW({
208
- enableTelemetry: true,
209
- telemetryEventName: telemetry_1.TelemetryEvent.AddFeature,
210
- telemetryComponentName: constants_2.ComponentNames.TeamsTab,
211
- errorSource: constants_3.errorSource,
212
- errorHandler: (error) => {
213
- if (error && !(error === null || error === void 0 ? void 0 : error.name)) {
214
- error.name = "addTabError";
215
- }
216
- return error;
217
- },
218
- }),
219
- ]),
220
- tslib_1.__metadata("design:type", Function),
221
- tslib_1.__metadata("design:paramtypes", [Object, Object, Object]),
222
- tslib_1.__metadata("design:returntype", Promise)
223
- ], TeamsTab.prototype, "add", null);
224
- tslib_1.__decorate([
225
- lib_1.hooks([
226
- actionExecutionMW_1.ActionExecutionMW({
227
- errorSource: constants_3.errorSource,
228
- }),
229
- ]),
230
- tslib_1.__metadata("design:type", Function),
231
- tslib_1.__metadata("design:paramtypes", [Object]),
232
- tslib_1.__metadata("design:returntype", Promise)
233
- ], TeamsTab.prototype, "provision", null);
234
- TeamsTab = tslib_1.__decorate([
235
- typedi_1.Service("teams-tab")
236
- ], TeamsTab);
237
- exports.TeamsTab = TeamsTab;
238
- //# sourceMappingURL=tab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab.js","sourceRoot":"","sources":["../../../src/component/feature/tab.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAYgC;AAChC,4BAA0B;AAC1B,mCAA4C;AAC5C,sDAAmD;AACnD,kDAAwD;AACxD,4CAA8F;AAC9F,4CAMsB;AACtB,0CAAoC;AACpC,0CAAmE;AACnE,mCAAkD;AAClD,oCAAkG;AAClG,iDAAsD;AAEtD,8CAA+D;AAE/D,oCAAsD;AAEtD,uEAAoE;AACpE,+CAA8C;AAC9C,sDAA2E;AAC3E,8EAAiE;AACjE,qDAAoD;AAGpD,IAAa,QAAQ,GAArB,MAAa,QAAQ;IAArB;QACE,SAAI,GAAG,WAAW,CAAC;IAiNrB,CAAC;IAlMC,KAAK,CAAC,GAAG,CACP,OAAkB,EAClB,MAA6B,EAC7B,aAA6B;QAE7B,MAAM,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;QAC/C,MAAM,OAAO,GAAG,EAAE,CAAC;QACnB,MAAM,CAAC,4BAAiB,CAAC,mBAAmB,CAAC;YAC3C,OAAO,CAAC,cAAc,CAAC,mBAAmB;gBAC1C,MAAM,CAAC,4BAAiB,CAAC,mBAAmB,CAAC;gBAC7C,YAAY,CAAC;QACf,MAAM,CAAC,OAAO,KAAd,MAAM,CAAC,OAAO,GACZ,MAAM,CAAC,4BAAiB,CAAC,mBAAmB,CAAC,KAAK,QAAQ;YACxD,CAAC,CAAC,0BAAc,CAAC,WAAW;YAC5B,CAAC,CAAC,0BAAc,CAAC,YAAY,EAAC;QAClC,uBAAU,CAAC,IAAI,GAAG,MAAM,CAAC,4BAAiB,CAAC,mBAAmB,CAAC,KAAK,QAAQ,CAAC;QAC7E,eAAe,CAAC,mBAAmB,KAAnC,eAAe,CAAC,mBAAmB,GAAK,MAAM,CAAC,4BAAiB,CAAC,mBAAmB,CAAC,EAA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Ae,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;WAelB,gBAAgB,CAClC,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CA8KpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"spfxGenerator.js","sourceRoot":"","sources":["../../../src/component/generator/spfxGenerator.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,+CAA8C;AAC9C,wDASgC;AAChC,mDAA6B;AAC7B,gEAA0B;AAC1B,uEAAoE;AACpE,4EAAwE;AACxE,gEAAqE;AACrE,kDAIgC;AAChC,wDAAqD;AACrD,mCAAmC;AACnC,gEAAsF;AACtF,sEAAmE;AACnE,oFAAiF;AACjF,4DAAoD;AACpD,4EAAyE;AACzE,2CAAwC;AACxC,kDAAwD;AACxD,8DAAgE;AAChE,4EAGgD;AAChD,4CAAiD;AAEjD,MAAa,aAAa;IASjB,MAAM,CAAC,KAAK,CAAC,QAAQ,CAC1B,OAAkB,EAClB,MAAc,EACd,eAAuB;QAEvB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC;QAChF,IAAI,SAAS,CAAC,KAAK,EAAE;YAAE,OAAO,iBAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAEnD,MAAM,WAAW,GAAG,MAAM,qBAAS,CAAC,gBAAgB,CAClD,OAAO,EACP,eAAe,EACf,qBAAS,CAAC,aAAa,EACvB,IAAI,CACL,CAAC;QACF,IAAI,WAAW,CAAC,KAAK,EAAE;YAAE,OAAO,iBAAG,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAEvD,OAAO,gBAAE,CAAC,SAAS,CAAC,CAAC;IACvB,CAAC;IAEM,MAAM,CAAC,KA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