@salesforce/templates 66.6.2 → 66.7.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 (205) hide show
  1. package/lib/generators/projectGenerator.js +4 -4
  2. package/lib/generators/projectGenerator.js.map +1 -1
  3. package/lib/generators/{webApplicationGenerator.d.ts → uiBundleGenerator.d.ts} +2 -2
  4. package/lib/generators/{webApplicationGenerator.js → uiBundleGenerator.js} +23 -22
  5. package/lib/generators/uiBundleGenerator.js.map +1 -0
  6. package/lib/i18n/i18n.d.ts +1 -1
  7. package/lib/i18n/i18n.js +1 -1
  8. package/lib/i18n/i18n.js.map +1 -1
  9. package/lib/templates/project/reactexternalapp/AGENT.md +152 -46
  10. package/lib/templates/project/reactexternalapp/CHANGELOG.md +366 -208
  11. package/lib/templates/project/reactexternalapp/README.md +16 -16
  12. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/CHANGELOG.md +1 -1
  13. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/README.md +1 -1
  14. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/eslint.config.js +13 -2
  15. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/package.json +3 -3
  16. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/reactexternalapp.uibundle-meta.xml +8 -0
  17. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/scripts/get-graphql-schema.mjs +1 -1
  18. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_/pages/AccountSearch.tsx +15 -6
  19. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/FilterContext.tsx +13 -3
  20. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/BooleanFilter.tsx +9 -5
  21. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateFilter.tsx +15 -8
  22. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateRangeFilter.tsx +8 -7
  23. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/FilterFieldWrapper.tsx +33 -0
  24. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/MultiSelectFilter.tsx +4 -5
  25. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/NumericRangeFilter.tsx +118 -40
  26. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SearchFilter.tsx +24 -11
  27. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SelectFilter.tsx +9 -5
  28. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/TextFilter.tsx +29 -12
  29. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useDebouncedCallback.ts +34 -0
  30. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useObjectSearchParams.ts +10 -5
  31. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/debounce.ts +4 -1
  32. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/filterUtils.ts +24 -1
  33. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/authentication/context/AuthContext.tsx +2 -2
  34. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/authentication/hooks/useCountdownTimer.ts +1 -1
  35. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/Profile.tsx +3 -3
  36. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/Register.tsx +1 -1
  37. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/authentication/sessionTimeout/SessionTimeoutValidator.tsx +12 -18
  38. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/api/account/accountSearchService.ts +46 -0
  39. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/api/account/query/distinctAccountIndustries.graphql +19 -0
  40. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/api/account/query/distinctAccountTypes.graphql +19 -0
  41. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/api/account/query/getAccountDetail.graphql +121 -0
  42. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/api/account/query/searchAccounts.graphql +51 -0
  43. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/pages/AccountObjectDetailPage.tsx +361 -0
  44. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/pages/AccountSearch.tsx +305 -0
  45. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/pages/Home.tsx +33 -11
  46. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/routes.tsx +3 -3
  47. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/vite.config.ts +1 -1
  48. package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppAuthUtils.cls → UIBundleAuthUtils.cls} +1 -1
  49. package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppChangePassword.cls → UIBundleChangePassword.cls} +2 -2
  50. package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppForgotPassword.cls → UIBundleForgotPassword.cls} +2 -2
  51. package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppLogin.cls → UIBundleLogin.cls} +6 -6
  52. package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppRegistration.cls → UIBundleRegistration.cls} +10 -10
  53. package/lib/templates/project/reactexternalapp/_p_/_m_/networks/{reactexternalapp.network → reactexternalapp.network-meta.xml} +2 -2
  54. package/lib/templates/project/reactexternalapp/package.json +2 -2
  55. package/lib/templates/project/reactexternalapp/scripts/graphql-search.sh +4 -4
  56. package/lib/templates/project/reactexternalapp/scripts/setup-cli.mjs +51 -51
  57. package/lib/templates/project/reactexternalapp/scripts/sf-project-setup.mjs +16 -16
  58. package/lib/templates/project/reactinternalapp/AGENT.md +152 -46
  59. package/lib/templates/project/reactinternalapp/CHANGELOG.md +366 -208
  60. package/lib/templates/project/reactinternalapp/README.md +12 -12
  61. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/CHANGELOG.md +1 -1
  62. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/README.md +1 -1
  63. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/eslint.config.js +13 -2
  64. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/package.json +4 -4
  65. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/reactinternalapp.uibundle-meta.xml +7 -0
  66. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/scripts/get-graphql-schema.mjs +1 -1
  67. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_/pages/AccountSearch.tsx +15 -6
  68. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/FilterContext.tsx +13 -3
  69. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/BooleanFilter.tsx +9 -5
  70. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateFilter.tsx +15 -8
  71. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateRangeFilter.tsx +8 -7
  72. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/FilterFieldWrapper.tsx +33 -0
  73. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/MultiSelectFilter.tsx +4 -5
  74. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/NumericRangeFilter.tsx +118 -40
  75. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SearchFilter.tsx +24 -11
  76. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SelectFilter.tsx +9 -5
  77. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/TextFilter.tsx +29 -12
  78. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useDebouncedCallback.ts +34 -0
  79. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useObjectSearchParams.ts +10 -5
  80. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/debounce.ts +4 -1
  81. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/filterUtils.ts +24 -1
  82. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/api/account/accountSearchService.ts +46 -0
  83. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/api/account/query/distinctAccountIndustries.graphql +19 -0
  84. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/api/account/query/distinctAccountTypes.graphql +19 -0
  85. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/api/account/query/getAccountDetail.graphql +121 -0
  86. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/api/account/query/searchAccounts.graphql +51 -0
  87. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/components/AgentforceConversationClient.tsx +5 -2
  88. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/pages/AccountObjectDetailPage.tsx +361 -0
  89. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/pages/AccountSearch.tsx +305 -0
  90. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/pages/Home.tsx +33 -11
  91. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/routes.tsx +12 -1
  92. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/types/conversation.ts +2 -0
  93. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/vite.config.ts +1 -1
  94. package/lib/templates/project/reactinternalapp/package.json +2 -2
  95. package/lib/templates/project/reactinternalapp/scripts/graphql-search.sh +4 -4
  96. package/lib/templates/project/reactinternalapp/scripts/setup-cli.mjs +51 -51
  97. package/lib/templates/project/reactinternalapp/scripts/sf-project-setup.mjs +16 -16
  98. package/lib/templates/{webapplication → uiBundles}/reactbasic/CHANGELOG.md +1 -1
  99. package/lib/templates/{webapplication → uiBundles}/reactbasic/README.md +10 -10
  100. package/lib/templates/{webapplication/reactbasic/_webapplication.webapplication-meta.xml → uiBundles/reactbasic/_uibundle.uibundle-meta.xml} +3 -3
  101. package/lib/templates/{webapplication → uiBundles}/reactbasic/eslint.config.js +13 -2
  102. package/lib/templates/{webapplication → uiBundles}/reactbasic/package.json +3 -3
  103. package/lib/templates/{webapplication → uiBundles}/reactbasic/scripts/get-graphql-schema.mjs +1 -1
  104. package/lib/templates/{webapplication → uiBundles}/reactbasic/vite.config.ts +1 -1
  105. package/lib/templates/uiBundles/webappbasic/README.md +15 -0
  106. package/lib/templates/{webapplication/webappbasic/_webapplication.webapplication-meta.xml → uiBundles/webappbasic/_uibundle.uibundle-meta.xml} +3 -3
  107. package/lib/tsconfig.tsbuildinfo +1 -1
  108. package/lib/utils/constants.d.ts +1 -0
  109. package/lib/utils/constants.js +2 -1
  110. package/lib/utils/constants.js.map +1 -1
  111. package/lib/utils/template-placeholders.d.ts +1 -1
  112. package/lib/utils/template-placeholders.js +11 -4
  113. package/lib/utils/template-placeholders.js.map +1 -1
  114. package/lib/utils/types.d.ts +5 -5
  115. package/lib/utils/types.js +3 -3
  116. package/lib/utils/types.js.map +1 -1
  117. package/lib/utils/{webappTemplateUtils.d.ts → uiBundleTemplateUtils.d.ts} +7 -5
  118. package/lib/utils/{webappTemplateUtils.js → uiBundleTemplateUtils.js} +15 -12
  119. package/lib/utils/uiBundleTemplateUtils.js.map +1 -0
  120. package/package.json +5 -5
  121. package/lib/generators/webApplicationGenerator.js.map +0 -1
  122. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/reactexternalapp.webapplication-meta.xml +0 -7
  123. package/lib/templates/project/reactexternalapp/_r_/webapp-data.md +0 -353
  124. package/lib/templates/project/reactexternalapp/_r_/webapp-ui.md +0 -16
  125. package/lib/templates/project/reactexternalapp/package-lock.json +0 -9995
  126. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/reactinternalapp.webapplication-meta.xml +0 -7
  127. package/lib/templates/project/reactinternalapp/_r_/webapp-data.md +0 -353
  128. package/lib/templates/project/reactinternalapp/_r_/webapp-ui.md +0 -16
  129. package/lib/templates/project/reactinternalapp/package-lock.json +0 -9995
  130. package/lib/templates/webapplication/reactbasic/e2e/app.spec.ts +0 -17
  131. package/lib/templates/webapplication/webappbasic/README.md +0 -15
  132. package/lib/utils/webappTemplateUtils.js.map +0 -1
  133. /package/lib/templates/project/reactexternalapp/_p_/_m_/_d_/_s_/{_a1_ → reactexternalapp1}/reactexternalapp1.digitalExperience-meta.xml +0 -0
  134. /package/lib/templates/project/reactexternalapp/_p_/_m_/_d_/_s_/{_a1_ → reactexternalapp1}/sfdc_cms__site/reactexternalapp1/_meta.json +0 -0
  135. /package/lib/templates/project/reactexternalapp/_p_/_m_/_d_/_s_/{_a1_ → reactexternalapp1}/sfdc_cms__site/reactexternalapp1/content.json +0 -0
  136. /package/lib/templates/project/reactexternalapp/_p_/_m_/{digitalExperienceConfigs/reactexternalapp1.digitalExperienceConfig → _dc_/reactexternalapp1.digitalExperienceConfig-meta.xml} +0 -0
  137. /package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/{webapplication.json → ui-bundle.json} +0 -0
  138. /package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppAuthUtils.cls-meta.xml → UIBundleAuthUtils.cls-meta.xml} +0 -0
  139. /package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppChangePassword.cls-meta.xml → UIBundleChangePassword.cls-meta.xml} +0 -0
  140. /package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppForgotPassword.cls-meta.xml → UIBundleForgotPassword.cls-meta.xml} +0 -0
  141. /package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppLogin.cls-meta.xml → UIBundleLogin.cls-meta.xml} +0 -0
  142. /package/lib/templates/project/reactexternalapp/_p_/_m_/classes/{WebAppRegistration.cls-meta.xml → UIBundleRegistration.cls-meta.xml} +0 -0
  143. /package/lib/templates/project/reactexternalapp/_p_/_m_/sites/{reactexternalapp.site → reactexternalapp.site-meta.xml} +0 -0
  144. /package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/{webapplication.json → ui-bundle.json} +0 -0
  145. /package/lib/templates/{webapplication → uiBundles}/reactbasic/.forceignore +0 -0
  146. /package/lib/templates/{webapplication → uiBundles}/reactbasic/.graphqlrc.yml +0 -0
  147. /package/lib/templates/{webapplication → uiBundles}/reactbasic/.prettierignore +0 -0
  148. /package/lib/templates/{webapplication → uiBundles}/reactbasic/.prettierrc +0 -0
  149. /package/lib/templates/{webapplication → uiBundles}/reactbasic/codegen.yml +0 -0
  150. /package/lib/templates/{webapplication → uiBundles}/reactbasic/components.json +0 -0
  151. /package/lib/templates/{webapplication → uiBundles}/reactbasic/index.html +0 -0
  152. /package/lib/templates/{webapplication → uiBundles}/reactbasic/playwright.config.ts +0 -0
  153. /package/lib/templates/{webapplication → uiBundles}/reactbasic/scripts/rewrite-e2e-assets.mjs +0 -0
  154. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/api/graphqlClient.ts +0 -0
  155. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/app.tsx +0 -0
  156. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/appLayout.tsx +0 -0
  157. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/icons/book.svg +0 -0
  158. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/icons/copy.svg +0 -0
  159. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/icons/rocket.svg +0 -0
  160. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/icons/star.svg +0 -0
  161. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/images/codey-1.png +0 -0
  162. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/images/codey-2.png +0 -0
  163. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/images/codey-3.png +0 -0
  164. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/assets/images/vibe-codey.svg +0 -0
  165. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/alerts/status-alert.tsx +0 -0
  166. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/layouts/card-layout.tsx +0 -0
  167. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/alert.tsx +0 -0
  168. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/badge.tsx +0 -0
  169. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/breadcrumb.tsx +0 -0
  170. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/button.tsx +0 -0
  171. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/calendar.tsx +0 -0
  172. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/card.tsx +0 -0
  173. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/checkbox.tsx +0 -0
  174. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/collapsible.tsx +0 -0
  175. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/datePicker.tsx +0 -0
  176. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/dialog.tsx +0 -0
  177. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/field.tsx +0 -0
  178. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/index.ts +0 -0
  179. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/input.tsx +0 -0
  180. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/label.tsx +0 -0
  181. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/pagination.tsx +0 -0
  182. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/popover.tsx +0 -0
  183. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/select.tsx +0 -0
  184. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/separator.tsx +0 -0
  185. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/skeleton.tsx +0 -0
  186. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/sonner.tsx +0 -0
  187. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/spinner.tsx +0 -0
  188. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/table.tsx +0 -0
  189. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/components/ui/tabs.tsx +0 -0
  190. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/lib/utils.ts +0 -0
  191. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/navigationMenu.tsx +0 -0
  192. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/pages/Home.tsx +0 -0
  193. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/pages/NotFound.tsx +0 -0
  194. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/router-utils.tsx +0 -0
  195. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/routes.tsx +0 -0
  196. /package/lib/templates/{webapplication → uiBundles}/reactbasic/src/styles/global.css +0 -0
  197. /package/lib/templates/{webapplication → uiBundles}/reactbasic/tsconfig.json +0 -0
  198. /package/lib/templates/{webapplication → uiBundles}/reactbasic/tsconfig.node.json +0 -0
  199. /package/lib/templates/{webapplication/reactbasic/webapplication.json → uiBundles/reactbasic/ui-bundle.json} +0 -0
  200. /package/lib/templates/{webapplication → uiBundles}/reactbasic/vite-env.d.ts +0 -0
  201. /package/lib/templates/{webapplication → uiBundles}/reactbasic/vitest-env.d.ts +0 -0
  202. /package/lib/templates/{webapplication → uiBundles}/reactbasic/vitest.config.ts +0 -0
  203. /package/lib/templates/{webapplication → uiBundles}/reactbasic/vitest.setup.ts +0 -0
  204. /package/lib/templates/{webapplication → uiBundles}/webappbasic/src/index.html +0 -0
  205. /package/lib/templates/{webapplication/webappbasic/webapplication.json → uiBundles/webappbasic/ui-bundle.json} +0 -0
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/generators/analyticsTemplateGenerator.ts","../src/generators/apexClassGenerator.ts","../src/generators/apexTriggerGenerator.ts","../src/generators/baseGenerator.ts","../src/generators/digitalExperienceSiteGenerator.ts","../src/generators/flexipageGenerator.ts","../src/generators/lightningAppGenerator.ts","../src/generators/lightningComponentGenerator.ts","../src/generators/lightningEventGenerator.ts","../src/generators/lightningInterfaceGenerator.ts","../src/generators/lightningTestGenerator.ts","../src/generators/projectGenerator.ts","../src/generators/staticResourceGenerator.ts","../src/generators/visualforceComponentGenerator.ts","../src/generators/visualforcePageGenerator.ts","../src/generators/webApplicationGenerator.ts","../src/i18n/i18n.ts","../src/i18n/index.ts","../src/i18n/localization.ts","../src/service/gitRepoUtils.ts","../src/service/templateService.ts","../src/utils/constants.ts","../src/utils/createUtil.ts","../src/utils/index.ts","../src/utils/template-placeholders.ts","../src/utils/types.ts","../src/utils/webappTemplateUtils.ts"],"version":"5.9.3"}
1
+ {"root":["../src/index.ts","../src/generators/analyticsTemplateGenerator.ts","../src/generators/apexClassGenerator.ts","../src/generators/apexTriggerGenerator.ts","../src/generators/baseGenerator.ts","../src/generators/digitalExperienceSiteGenerator.ts","../src/generators/flexipageGenerator.ts","../src/generators/lightningAppGenerator.ts","../src/generators/lightningComponentGenerator.ts","../src/generators/lightningEventGenerator.ts","../src/generators/lightningInterfaceGenerator.ts","../src/generators/lightningTestGenerator.ts","../src/generators/projectGenerator.ts","../src/generators/staticResourceGenerator.ts","../src/generators/uiBundleGenerator.ts","../src/generators/visualforceComponentGenerator.ts","../src/generators/visualforcePageGenerator.ts","../src/i18n/i18n.ts","../src/i18n/index.ts","../src/i18n/localization.ts","../src/service/gitRepoUtils.ts","../src/service/templateService.ts","../src/utils/constants.ts","../src/utils/createUtil.ts","../src/utils/index.ts","../src/utils/template-placeholders.ts","../src/utils/types.ts","../src/utils/uiBundleTemplateUtils.ts"],"version":"5.9.3"}
@@ -1,2 +1,3 @@
1
1
  export declare const DEFAULT_API_VERSION = "66.0";
2
+ export declare const UI_BUNDLES_DIR = "uiBundles";
2
3
  export declare const dirnameTemplatesDefault: string | undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dirnameTemplatesDefault = exports.DEFAULT_API_VERSION = void 0;
3
+ exports.dirnameTemplatesDefault = exports.UI_BUNDLES_DIR = exports.DEFAULT_API_VERSION = void 0;
4
4
  /*
5
5
  * Copyright (c) 2024, salesforce.com, inc.
6
6
  * All rights reserved.
@@ -9,6 +9,7 @@ exports.dirnameTemplatesDefault = exports.DEFAULT_API_VERSION = void 0;
9
9
  */
10
10
  const path = require("path");
11
11
  exports.DEFAULT_API_VERSION = '66.0';
12
+ exports.UI_BUNDLES_DIR = 'uiBundles';
12
13
  exports.dirnameTemplatesDefault = process.env.ESBUILD_PLATFORM !== 'web'
13
14
  ? path.join(__dirname, '..', 'templates')
14
15
  : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6BAA6B;AAEhB,QAAA,mBAAmB,GAAG,MAAM,CAAC;AAE7B,QAAA,uBAAuB,GAClC,OAAO,CAAC,GAAG,CAAC,gBAAgB,KAAK,KAAK;IACpC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,WAAW,CAAC;IACzC,CAAC,CAAC,SAAS,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6BAA6B;AAEhB,QAAA,mBAAmB,GAAG,MAAM,CAAC;AAE7B,QAAA,cAAc,GAAG,WAAW,CAAC;AAE7B,QAAA,uBAAuB,GAClC,OAAO,CAAC,GAAG,CAAC,gBAAgB,KAAK,KAAK;IACpC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,WAAW,CAAC;IACzC,CAAC,CAAC,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Single source for placeholder rename (copy-templates) and replacement (webappTemplateUtils).
2
+ * Single source for placeholder rename (copy-templates) and replacement (uiBundleTemplateUtils).
3
3
  * Do not add .json - this .ts is compiled to lib/ so no copy step is needed.
4
4
  */
5
5
  declare const _default: ({
@@ -7,7 +7,7 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  /**
10
- * Single source for placeholder rename (copy-templates) and replacement (webappTemplateUtils).
10
+ * Single source for placeholder rename (copy-templates) and replacement (uiBundleTemplateUtils).
11
11
  * Do not add .json - this .ts is compiled to lib/ so no copy step is needed.
12
12
  */
13
13
  exports.default = [
@@ -27,11 +27,18 @@ exports.default = [
27
27
  replacement: 'main/default',
28
28
  },
29
29
  {
30
- key: 'WEBAPPLICATIONS_PLACEHOLDER',
30
+ key: 'UI_BUNDLES_PLACEHOLDER',
31
31
  placeholder: '_w_',
32
- dirInNpm: 'webapplications',
32
+ dirInNpm: 'uiBundles',
33
33
  parent: '_m_',
34
- replacement: 'webapplications',
34
+ replacement: 'uiBundles',
35
+ },
36
+ {
37
+ key: 'DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER',
38
+ placeholder: '_dc_',
39
+ dirInNpm: 'digitalExperienceConfigs',
40
+ parent: '_m_',
41
+ replacement: 'digitalExperienceConfigs',
35
42
  },
36
43
  {
37
44
  key: 'DIGITAL_EXPERIENCES_PLACEHOLDER',
@@ -1 +1 @@
1
- {"version":3,"file":"template-placeholders.js","sourceRoot":"","sources":["../../src/utils/template-placeholders.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH;;;GAGG;AACH,kBAAe;IACb;QACE,GAAG,EAAE,yBAAyB;QAC9B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,mBAAmB;KACjC;IACD;QACE,GAAG,EAAE,0BAA0B;QAC/B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,cAAc;QACxB,MAAM,EAAE,KAAK;QACb,kBAAkB,EAAE,MAAM;QAC1B,WAAW,EAAE,cAAc;KAC5B;IACD;QACE,GAAG,EAAE,6BAA6B;QAClC,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,iBAAiB;QAC3B,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,iBAAiB;KAC/B;IACD;QACE,GAAG,EAAE,iCAAiC;QACtC,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,oBAAoB;QAC9B,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,oBAAoB;KAClC;IACD;QACE,GAAG,EAAE,kBAAkB;QACvB,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,MAAM;KACpB;IACD;QACE,GAAG,EAAE,sBAAsB;QAC3B,WAAW,EAAE,KAAK;QACl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version":3,"file":"template-placeholders.js","sourceRoot":"","sources":["../../src/utils/template-placeholders.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH;;;GAGG;AACH,kBAAe;IACb;QACE,GAAG,EAAE,yBAAyB;QAC9B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,mBAAmB;KACjC;IACD;QACE,GAAG,EAAE,0BAA0B;QAC/B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,cAAc;QACxB,MAAM,EAAE,KAAK;QACb,kBAAkB,EAAE,MAAM;QAC1B,WAAW,EAAE,cAAc;KAC5B;IACD;QACE,GAAG,EAAE,wBAAwB;QAC7B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,WAAW;KACzB;IACD;QACE,GAAG,EAAE,wCAAwC;QAC7C,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,0BAA0B;QACpC,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,0BAA0B;KACxC;IACD;QACE,GAAG,EAAE,iCAAiC;QACtC,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,oBAAoB;QAC9B,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,oBAAoB;KAClC;IACD;QACE,GAAG,EAAE,kBAAkB;QACvB,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,MAAM;KACpB;IACD;QACE,GAAG,EAAE,sBAAsB;QAC3B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,WAAW;KACzB;IACD;QACE,GAAG,EAAE,kCAAkC;QACvC,WAAW,EAAE,KAAK;QAClB,QAAQ,EACN,oEAAoE;QACtE,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,YAAY;QACpB,WAAW,EAAE,6DAA6D;KAC3E;IACD,gGAAgG;IAChG;QACE,GAAG,EAAE,sBAAsB;QAC3B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,UAAU;KACxB;IACD;QACE,GAAG,EAAE,2BAA2B;QAChC,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,eAAe;KAC7B;IACD;QACE,GAAG,EAAE,sBAAsB;QAC3B,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,cAAc;QACxB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,cAAc;KAC5B;IACD;QACE,GAAG,EAAE,2BAA2B;QAChC,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,eAAe;KAC7B;IACD;QACE,GAAG,EAAE,wBAAwB;QAC7B,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,YAAY;KAC1B;IACD;QACE,GAAG,EAAE,oBAAoB;QACzB,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,QAAQ;QAClB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,QAAQ;KACtB;IACD;QACE,GAAG,EAAE,uBAAuB;QAC5B,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,WAAW;KACzB;CACF,CAAC"}
@@ -12,7 +12,7 @@ import ProjectGenerator from '../generators/projectGenerator';
12
12
  import StaticResourceGenerator from '../generators/staticResourceGenerator';
13
13
  import VisualforceComponentGenerator from '../generators/visualforceComponentGenerator';
14
14
  import VisualforcePageGenerator from '../generators/visualforcePageGenerator';
15
- import WebApplicationGenerator from '../generators/webApplicationGenerator';
15
+ import UIBundleGenerator from '../generators/uiBundleGenerator';
16
16
  import { BaseGenerator } from '../generators/baseGenerator';
17
17
  export type GeneratorClass<TOptions extends TemplateOptions> = new (options: TOptions, context?: GeneratorContext, cwd?: string) => BaseGenerator<TOptions>;
18
18
  /**
@@ -26,7 +26,7 @@ export type GeneratorContext = {
26
26
  /** Absolute path to built-in templates root. Overrides __dirname-based resolution. */
27
27
  readonly templatesRootPath?: string;
28
28
  };
29
- export type Generators = typeof AnalyticsTemplateGenerator | typeof ApexClassGenerator | typeof ApexTriggerGenerator | typeof FlexipageGenerator | typeof LightningAppGenerator | typeof LightningComponentGenerator | typeof LightningEventGenerator | typeof LightningTestGenerator | typeof LightningInterfaceGenerator | typeof DigitalExperienceSiteGenerator | typeof ProjectGenerator | typeof StaticResourceGenerator | typeof VisualforceComponentGenerator | typeof VisualforcePageGenerator | typeof WebApplicationGenerator;
29
+ export type Generators = typeof AnalyticsTemplateGenerator | typeof ApexClassGenerator | typeof ApexTriggerGenerator | typeof FlexipageGenerator | typeof LightningAppGenerator | typeof LightningComponentGenerator | typeof LightningEventGenerator | typeof LightningTestGenerator | typeof LightningInterfaceGenerator | typeof DigitalExperienceSiteGenerator | typeof ProjectGenerator | typeof StaticResourceGenerator | typeof VisualforceComponentGenerator | typeof VisualforcePageGenerator | typeof UIBundleGenerator;
30
30
  /**
31
31
  * Available Template types
32
32
  * Each template type must have a corresponding generator class:
@@ -49,7 +49,7 @@ export declare enum TemplateType {
49
49
  VisualforceComponent = 11,
50
50
  VisualforcePage = 12,
51
51
  StaticResource = 13,
52
- WebApplication = 14
52
+ UIBundle = 14
53
53
  }
54
54
  export declare const generators: Map<TemplateType, GeneratorClass<any>>;
55
55
  export type CreateOutput = {
@@ -133,8 +133,8 @@ export interface StaticResourceOptions extends TemplateOptions {
133
133
  contenttype: string;
134
134
  template: 'empty';
135
135
  }
136
- export interface WebApplicationOptions extends TemplateOptions {
137
- webappname: string;
136
+ export interface UIBundleOptions extends TemplateOptions {
137
+ bundlename: string;
138
138
  template: string;
139
139
  masterlabel?: string;
140
140
  internal?: boolean;
@@ -21,7 +21,7 @@ const projectGenerator_1 = require("../generators/projectGenerator");
21
21
  const staticResourceGenerator_1 = require("../generators/staticResourceGenerator");
22
22
  const visualforceComponentGenerator_1 = require("../generators/visualforceComponentGenerator");
23
23
  const visualforcePageGenerator_1 = require("../generators/visualforcePageGenerator");
24
- const webApplicationGenerator_1 = require("../generators/webApplicationGenerator");
24
+ const uiBundleGenerator_1 = require("../generators/uiBundleGenerator");
25
25
  /**
26
26
  * Available Template types
27
27
  * Each template type must have a corresponding generator class:
@@ -45,7 +45,7 @@ var TemplateType;
45
45
  TemplateType[TemplateType["VisualforceComponent"] = 11] = "VisualforceComponent";
46
46
  TemplateType[TemplateType["VisualforcePage"] = 12] = "VisualforcePage";
47
47
  TemplateType[TemplateType["StaticResource"] = 13] = "StaticResource";
48
- TemplateType[TemplateType["WebApplication"] = 14] = "WebApplication";
48
+ TemplateType[TemplateType["UIBundle"] = 14] = "UIBundle";
49
49
  })(TemplateType || (exports.TemplateType = TemplateType = {}));
50
50
  exports.generators = new Map([
51
51
  [TemplateType.AnalyticsTemplate, analyticsTemplateGenerator_1.default],
@@ -62,6 +62,6 @@ exports.generators = new Map([
62
62
  [TemplateType.StaticResource, staticResourceGenerator_1.default],
63
63
  [TemplateType.VisualforceComponent, visualforceComponentGenerator_1.default],
64
64
  [TemplateType.VisualforcePage, visualforcePageGenerator_1.default],
65
- [TemplateType.WebApplication, webApplicationGenerator_1.default],
65
+ [TemplateType.UIBundle, uiBundleGenerator_1.default],
66
66
  ]);
67
67
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yFAAkF;AAClF,yEAAkE;AAClE,6EAAsE;AACtE,yEAAkE;AAClE,+EAAwE;AACxE,2FAAoF;AACpF,mFAA4E;AAC5E,2FAAoF;AACpF,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AAkB,EAAE,qCAA2B,CAAC;IAC9D,CAAC,YAAY,CAAC,aAAa,EAAE,gCAAsB,CAAC;IACpD,CAAC,YAAY,CAAC,qBAAqB,EAAE,wCAA8B,CAAC;IACpE,CAAC,YAAY,CAAC,OAAO,EAAE,0BAAgB,CAAC;IACxC,CAAC,YAAY,CAAC,cAAc,EAAE,iCAAuB,CAAC;IACtD,CAAC,YAAY,CAAC,oBAAoB,EAAE,uCAA6B,CAAC;IAClE,CAAC,YAAY,CAAC,eAAe,EAAE,kCAAwB,CAAC;IACxD,CAAC,YAAY,CAAC,QAAQ,EAAE,2BAAiB,CAAC;CAC3C,CAAC,CAAC"}
@@ -38,10 +38,12 @@ export declare const PACKAGE_DIR_PLACEHOLDER = "_p_";
38
38
  /** Replaced with defaultpackagedir (e.g. force-app). */
39
39
  export declare const MAIN_DEFAULT_PLACEHOLDER = "_m_";
40
40
  /** Replaced with literal "main/default". */
41
- export declare const WEBAPPLICATIONS_PLACEHOLDER = "_w_";
42
- /** Replaced with literal "webapplications". */
41
+ export declare const UI_BUNDLES_PLACEHOLDER = "_w_";
42
+ /** Replaced with the app folder name. */
43
43
  export declare const APP_PLACEHOLDER = "_a_";
44
- /** Replaced with project name (alphanumeric) for the web app folder. */
44
+ /** Replaced with project name (alphanumeric) for the UI bundle folder. */
45
+ export declare const DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER = "_dc_";
46
+ /** Replaced with literal "digitalExperienceConfigs". */
45
47
  export declare const DIGITAL_EXPERIENCES_PLACEHOLDER = "_d_";
46
48
  /** Replaced with literal "digitalExperiences". */
47
49
  export declare const SITE_PLACEHOLDER = "_s_";
@@ -67,10 +69,10 @@ export declare const DETAIL_PLACEHOLDER = "_det_";
67
69
  /** Replaced with literal "formatted". */
68
70
  export declare const FORMATTED_PLACEHOLDER = "_fmt_";
69
71
  /** All placeholder keys; used by tests to assert sync with copy-templates.js */
70
- export declare const PLACEHOLDER_KEYS: readonly ["PACKAGE_DIR_PLACEHOLDER", "MAIN_DEFAULT_PLACEHOLDER", "WEBAPPLICATIONS_PLACEHOLDER", "APP_PLACEHOLDER", "DIGITAL_EXPERIENCES_PLACEHOLDER", "SITE_PLACEHOLDER", "APP_SUFFIX_PLACEHOLDER", "A4DRULES_PLACEHOLDER", "A4D_SKILL_AGENTFORCE_PLACEHOLDER", "FEATURES_PLACEHOLDER", "OBJECT_SEARCH_PLACEHOLDER", "EXAMPLES_PLACEHOLDER", "GLOBAL_SEARCH_PLACEHOLDER", "COMPONENTS_PLACEHOLDER", "DETAIL_PLACEHOLDER", "FORMATTED_PLACEHOLDER"];
72
+ export declare const PLACEHOLDER_KEYS: readonly ["PACKAGE_DIR_PLACEHOLDER", "MAIN_DEFAULT_PLACEHOLDER", "UI_BUNDLES_PLACEHOLDER", "APP_PLACEHOLDER", "DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER", "DIGITAL_EXPERIENCES_PLACEHOLDER", "SITE_PLACEHOLDER", "APP_SUFFIX_PLACEHOLDER", "A4DRULES_PLACEHOLDER", "A4D_SKILL_AGENTFORCE_PLACEHOLDER", "FEATURES_PLACEHOLDER", "OBJECT_SEARCH_PLACEHOLDER", "EXAMPLES_PLACEHOLDER", "GLOBAL_SEARCH_PLACEHOLDER", "COMPONENTS_PLACEHOLDER", "DETAIL_PLACEHOLDER", "FORMATTED_PLACEHOLDER"];
71
73
  /**
72
74
  * Returns a string containing only alphanumeric characters [A-Za-z0-9].
73
- * Used for folder and file names under webapplications, which must be alphanumeric.
75
+ * Used for folder and file names under uiBundles, which must be alphanumeric.
74
76
  */
75
77
  export declare function toAlphanumericForPath(name: string): string;
76
78
  /**
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PLACEHOLDER_KEYS = exports.FORMATTED_PLACEHOLDER = exports.DETAIL_PLACEHOLDER = exports.COMPONENTS_PLACEHOLDER = exports.GLOBAL_SEARCH_PLACEHOLDER = exports.EXAMPLES_PLACEHOLDER = exports.OBJECT_SEARCH_PLACEHOLDER = exports.FEATURES_PLACEHOLDER = exports.A4D_SKILL_AGENTFORCE_PLACEHOLDER = exports.A4DRULES_PLACEHOLDER = exports.APP_SUFFIX_PLACEHOLDER = exports.SITE_PLACEHOLDER = exports.DIGITAL_EXPERIENCES_PLACEHOLDER = exports.APP_PLACEHOLDER = exports.WEBAPPLICATIONS_PLACEHOLDER = exports.MAIN_DEFAULT_PLACEHOLDER = exports.PACKAGE_DIR_PLACEHOLDER = exports.WINDOWS_MAX_ALLOWABLE_PATH_LENGTH = exports.FULL_TEMPLATE_SKIP_DIRS = exports.FULL_TEMPLATE_DEFAULT_NAMES = exports.BUILT_IN_FULL_TEMPLATES = exports.EJS_EXTENSIONS = void 0;
3
+ exports.PLACEHOLDER_KEYS = exports.FORMATTED_PLACEHOLDER = exports.DETAIL_PLACEHOLDER = exports.COMPONENTS_PLACEHOLDER = exports.GLOBAL_SEARCH_PLACEHOLDER = exports.EXAMPLES_PLACEHOLDER = exports.OBJECT_SEARCH_PLACEHOLDER = exports.FEATURES_PLACEHOLDER = exports.A4D_SKILL_AGENTFORCE_PLACEHOLDER = exports.A4DRULES_PLACEHOLDER = exports.APP_SUFFIX_PLACEHOLDER = exports.SITE_PLACEHOLDER = exports.DIGITAL_EXPERIENCES_PLACEHOLDER = exports.DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER = exports.APP_PLACEHOLDER = exports.UI_BUNDLES_PLACEHOLDER = exports.MAIN_DEFAULT_PLACEHOLDER = exports.PACKAGE_DIR_PLACEHOLDER = exports.WINDOWS_MAX_ALLOWABLE_PATH_LENGTH = exports.FULL_TEMPLATE_SKIP_DIRS = exports.FULL_TEMPLATE_DEFAULT_NAMES = exports.BUILT_IN_FULL_TEMPLATES = exports.EJS_EXTENSIONS = void 0;
4
4
  exports.copyTreeSanitized = copyTreeSanitized;
5
5
  exports.toAlphanumericForPath = toAlphanumericForPath;
6
6
  exports.ensureLowercaseUrlName = ensureLowercaseUrlName;
@@ -28,7 +28,7 @@ const template_placeholders_1 = require("./template-placeholders");
28
28
  function sanitizeSegment(name) {
29
29
  const trimmed = name.trimEnd();
30
30
  if (trimmed !== name) {
31
- console.warn(`[webappTemplateUtils] Sanitised filename: "${name}" → "${trimmed}"`);
31
+ console.warn(`[uiBundleTemplateUtils] Sanitised filename: "${name}" → "${trimmed}"`);
32
32
  }
33
33
  return trimmed;
34
34
  }
@@ -93,12 +93,12 @@ exports.BUILT_IN_FULL_TEMPLATES = new Set([
93
93
  */
94
94
  exports.FULL_TEMPLATE_DEFAULT_NAMES = {
95
95
  reactinternalapp: {
96
- base: 'reactinternalapp',
97
- withSuffix: 'reactinternalapp1',
96
+ base: 'appreacttemplateb2e',
97
+ withSuffix: 'appreacttemplateb2e1',
98
98
  },
99
99
  reactexternalapp: {
100
- base: 'reactexternalapp',
101
- withSuffix: 'reactexternalapp1',
100
+ base: 'appreacttemplateb2x',
101
+ withSuffix: 'appreacttemplateb2x1',
102
102
  },
103
103
  };
104
104
  /** Directories to skip when walking a full template dir (e.g. node_modules) */
@@ -119,10 +119,12 @@ exports.PACKAGE_DIR_PLACEHOLDER = '_p_';
119
119
  /** Replaced with defaultpackagedir (e.g. force-app). */
120
120
  exports.MAIN_DEFAULT_PLACEHOLDER = '_m_';
121
121
  /** Replaced with literal "main/default". */
122
- exports.WEBAPPLICATIONS_PLACEHOLDER = '_w_';
123
- /** Replaced with literal "webapplications". */
122
+ exports.UI_BUNDLES_PLACEHOLDER = '_w_';
123
+ /** Replaced with the app folder name. */
124
124
  exports.APP_PLACEHOLDER = '_a_';
125
- /** Replaced with project name (alphanumeric) for the web app folder. */
125
+ /** Replaced with project name (alphanumeric) for the UI bundle folder. */
126
+ exports.DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER = '_dc_';
127
+ /** Replaced with literal "digitalExperienceConfigs". */
126
128
  exports.DIGITAL_EXPERIENCES_PLACEHOLDER = '_d_';
127
129
  /** Replaced with literal "digitalExperiences". */
128
130
  exports.SITE_PLACEHOLDER = '_s_';
@@ -151,8 +153,9 @@ exports.FORMATTED_PLACEHOLDER = '_fmt_';
151
153
  exports.PLACEHOLDER_KEYS = [
152
154
  'PACKAGE_DIR_PLACEHOLDER',
153
155
  'MAIN_DEFAULT_PLACEHOLDER',
154
- 'WEBAPPLICATIONS_PLACEHOLDER',
156
+ 'UI_BUNDLES_PLACEHOLDER',
155
157
  'APP_PLACEHOLDER',
158
+ 'DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER',
156
159
  'DIGITAL_EXPERIENCES_PLACEHOLDER',
157
160
  'SITE_PLACEHOLDER',
158
161
  'APP_SUFFIX_PLACEHOLDER',
@@ -181,7 +184,7 @@ function resolveReplacement(replacement, ctx) {
181
184
  }
182
185
  /**
183
186
  * Returns a string containing only alphanumeric characters [A-Za-z0-9].
184
- * Used for folder and file names under webapplications, which must be alphanumeric.
187
+ * Used for folder and file names under uiBundles, which must be alphanumeric.
185
188
  */
186
189
  function toAlphanumericForPath(name) {
187
190
  return name.replace(/[^A-Za-z0-9]/g, '');
@@ -376,4 +379,4 @@ function generateFromProjectTemplateDir(sourceDir, destDir, templateVars, option
376
379
  }
377
380
  });
378
381
  }
379
- //# sourceMappingURL=webappTemplateUtils.js.map
382
+ //# sourceMappingURL=uiBundleTemplateUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiBundleTemplateUtils.js","sourceRoot":"","sources":["../../src/utils/uiBundleTemplateUtils.ts"],"names":[],"mappings":";;;AAqCA,8CAqBC;AA4JD,sDAEC;AAOD,wDAuBC;AAGD,oCA6BC;AAGD,sCAcC;AAsBD,kEAuDC;AAmBD,wEAgGC;;AAveD;;;;;GAKG;AACH,yBAAyB;AACzB,+CAAuE;AACvE,6BAA6B;AAE7B,mEAA+D;AAE/D;;;;;GAKG;AACH,SAAS,eAAe,CAAC,IAAY;IACnC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAC/B,IAAI,OAAO,K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AC,CAAC;gBAC1B,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAA,gBAAK,EAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;gBACzD,MAAM,OAAO,GAAG,MAAM,IAAA,mBAAQ,EAAC,UAAU,CAAC,CAAC;gBAC3C,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBACjD,IAAI,MAAM,KAAI,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,MAAM,CAAA,EAAE,CAAC;oBACvC,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;oBACrC,MAAM,QAAQ,GAAG,sBAAsB,CACrC,iBAAiB,CAAC,GAAG,CAAC,EACtB,QAAQ,CACT,CAAC;oBACF,MAAM,IAAA,oBAAS,EAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;gBAC9C,CAAC;qBAAM,CAAC;oBACN,MAAM,IAAA,oBAAS,EAAC,QAAQ,EAAE,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;gBACrD,CAAC;gBACD,aAAa,CAAC,QAAQ,CAAC,CAAC;YAC1B,CAAC;QACH,CAAC;IACH,CAAC;CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/templates",
3
- "version": "66.6.2",
3
+ "version": "66.7.0",
4
4
  "description": "Salesforce JS library for templates",
5
5
  "bugs": "https://github.com/forcedotcom/salesforcedx-templates/issues",
6
6
  "main": "lib/index.js",
@@ -24,11 +24,11 @@
24
24
  "devDependencies": {
25
25
  "@salesforce/dev-config": "^4.3.2",
26
26
  "@salesforce/dev-scripts": "^11.0.2",
27
- "@salesforce/webapp-template-app-react-template-b2e-experimental": "^1.114.0",
28
- "@salesforce/webapp-template-app-react-template-b2x-experimental": "^1.114.0",
29
- "@salesforce/webapp-template-base-react-app-experimental": "^1.114.0",
30
- "@salesforce/webapp-template-base-web-app-experimental": "^1.114.0",
31
27
  "@salesforce/prettier-config": "^0.0.4",
28
+ "@salesforce/ui-bundle-template-app-react-template-b2e": "^1.117.3",
29
+ "@salesforce/ui-bundle-template-app-react-template-b2x": "^1.117.3",
30
+ "@salesforce/ui-bundle-template-base-react-app": "^1.117.3",
31
+ "@salesforce/ui-bundle-template-base-web-app": "^1.117.3",
32
32
  "@types/chai-as-promised": "^7.1.8",
33
33
  "@types/ejs": "^3.1.5",
34
34
  "@types/mime-types": "^3.0.1",
@@ -1 +0,0 @@
1
- {"version":3,"file":"webApplicationGenerator.js","sourceRoot":"","sources":["../../src/generators/webApplicationGenerator.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yCAAuD;AACvD,6BAA6B;AAC7B,oCAAsC;AAEtC,mDAAgD;AAEhD,MAAqB,uBAAwB,SAAQ,6BAAoC;IAChF,eAAe;QACpB,kBAAU,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAChD,kBAAU,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE9C,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;YAC3B,MAAM,SAAS,GAAG,IAAI;iBACnB,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;iBACvB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;iBACf,MAAM,CAAC,OAAO,CAAC,CAAC;YACnB,MAAM,uBAAuB,GAC3B,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,iBAAiB,CAAC;YACxD,IAAI,CAAC,uBAAuB,EAAE,CAAC;gBAC7B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,iBAAiB,CAAC,CA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/2006/04/metadata">
3
- <masterLabel>reactexternalapp</masterLabel>
4
- <description>A Salesforce web application.</description>
5
- <isActive>true</isActive>
6
- <version>1</version>
7
- </WebApplication>