@salesforce/ui-bundle-template-feature-cms-toolkit 11.59.1
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.
- package/LICENSE.txt +82 -0
- package/README.md +88 -0
- package/dist/.forceignore +15 -0
- package/dist/.husky/pre-commit +4 -0
- package/dist/.prettierignore +11 -0
- package/dist/.prettierrc +17 -0
- package/dist/CHANGELOG.md +4705 -0
- package/dist/README.md +77 -0
- package/dist/config/project-scratch-def.json +13 -0
- package/dist/eslint.config.js +7 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/.forceignore +15 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/.graphqlrc.yml +2 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/.prettierignore +9 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/.prettierrc +11 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/CHANGELOG.md +10 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/README.md +75 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/codegen.yml +95 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/components.json +18 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/e2e/app.spec.ts +17 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/eslint.config.js +169 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/feature-cms-toolkit.uibundle-meta.xml +7 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/index.html +12 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/package.json +76 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/playwright.config.ts +24 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/scripts/get-graphql-schema.mjs +71 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/scripts/rewrite-e2e-assets.mjs +23 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/api/graphqlClient.ts +44 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/app.tsx +17 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/appLayout.tsx +83 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/icons/book.svg +3 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/icons/copy.svg +4 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/icons/rocket.svg +3 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/icons/star.svg +3 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/images/codey-1.png +0 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/images/codey-2.png +0 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/images/codey-3.png +0 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/assets/images/vibe-codey.svg +194 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/alerts/status-alert.tsx +52 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/layouts/card-layout.tsx +29 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/alert.tsx +76 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/avatar.tsx +109 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/badge.tsx +48 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/breadcrumb.tsx +109 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/button.tsx +67 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/calendar.tsx +232 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/card.tsx +103 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/checkbox.tsx +32 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/collapsible.tsx +33 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/datePicker.tsx +127 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/dialog.tsx +162 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/dropdown-menu.tsx +257 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/field.tsx +237 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/index.ts +109 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/input.tsx +19 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/label.tsx +22 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/pagination.tsx +132 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/popover.tsx +89 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/select.tsx +193 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/separator.tsx +26 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/skeleton.tsx +14 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/sonner.tsx +20 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/spinner.tsx +16 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/table.tsx +121 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/components/ui/tabs.tsx +88 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/catalog.ts +140 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/cmsContent.ts +127 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/cmsPaths.ts +37 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/envelope.ts +30 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/errors.ts +54 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/httpClient.ts +102 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/config/env.ts +46 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/index.ts +46 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/types/cms.ts +96 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/utils/htmlEntities.ts +58 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/utils/imageUrl.ts +88 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/hooks/useAsyncData.ts +67 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/index.ts +10 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/lib/utils.ts +6 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/navigationMenu.tsx +80 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/pages/Home.tsx +12 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/pages/NotFound.tsx +18 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/router-utils.tsx +35 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/routes.tsx +22 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/src/styles/global.css +135 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/tsconfig.json +45 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/tsconfig.node.json +13 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/tsconfig.tsbuildinfo +1 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/ui-bundle.json +7 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/vite-env.d.ts +4 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/vite.config.ts +26 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/vitest-env.d.ts +2 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/vitest.config.ts +11 -0
- package/dist/force-app/main/default/uiBundles/feature-cms-toolkit/vitest.setup.ts +1 -0
- package/dist/jest.config.js +6 -0
- package/dist/package-lock.json +10066 -0
- package/dist/package.json +46 -0
- package/dist/scripts/apex/hello.apex +10 -0
- package/dist/scripts/gitignore-templates.json +4 -0
- package/dist/scripts/graphql-search.sh +191 -0
- package/dist/scripts/org-setup-config-schema.mjs +120 -0
- package/dist/scripts/org-setup-dev.mjs +87 -0
- package/dist/scripts/org-setup-utils.mjs +569 -0
- package/dist/scripts/org-setup-xml.mjs +182 -0
- package/dist/scripts/org-setup.config.json +5 -0
- package/dist/scripts/org-setup.mjs +2345 -0
- package/dist/scripts/sf-project-setup.mjs +103 -0
- package/dist/scripts/soql/account.soql +6 -0
- package/dist/scripts/validate-org-setup-config.mjs +38 -0
- package/dist/sfdx-project.json +12 -0
- package/package.json +50 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/catalog.ts +140 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/cmsContent.ts +127 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/cmsPaths.ts +37 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/envelope.ts +30 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/errors.ts +54 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/api/httpClient.ts +102 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/config/env.ts +46 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/index.ts +46 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/types/cms.ts +96 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/utils/htmlEntities.ts +58 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/features/cmsToolkit/utils/imageUrl.ts +88 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/src/index.ts +10 -0
- package/src/force-app/main/default/uiBundles/feature-cms-toolkit/vite.config.ts +26 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"composite": true,
|
|
4
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
5
|
+
"skipLibCheck": true,
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"moduleResolution": "bundler",
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"outDir": "./build"
|
|
11
|
+
},
|
|
12
|
+
"include": ["vite.config.ts"]
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./src/app.tsx","./src/appLayout.tsx","./src/index.ts","./src/navigationMenu.tsx","./src/router-utils.tsx","./src/routes.tsx","./src/api/graphqlClient.ts","./src/components/alerts/status-alert.tsx","./src/components/layouts/card-layout.tsx","./src/components/ui/alert.tsx","./src/components/ui/avatar.tsx","./src/components/ui/badge.tsx","./src/components/ui/breadcrumb.tsx","./src/components/ui/button.tsx","./src/components/ui/calendar.tsx","./src/components/ui/card.tsx","./src/components/ui/checkbox.tsx","./src/components/ui/collapsible.tsx","./src/components/ui/datePicker.tsx","./src/components/ui/dialog.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/field.tsx","./src/components/ui/index.ts","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/pagination.tsx","./src/components/ui/popover.tsx","./src/components/ui/select.tsx","./src/components/ui/separator.tsx","./src/components/ui/skeleton.tsx","./src/components/ui/sonner.tsx","./src/components/ui/spinner.tsx","./src/components/ui/table.tsx","./src/components/ui/tabs.tsx","./src/features/cmsToolkit/index.ts","./src/features/cmsToolkit/api/catalog.ts","./src/features/cmsToolkit/api/cmsContent.ts","./src/features/cmsToolkit/api/cmsPaths.ts","./src/features/cmsToolkit/api/envelope.ts","./src/features/cmsToolkit/api/errors.ts","./src/features/cmsToolkit/api/httpClient.ts","./src/features/cmsToolkit/config/env.ts","./src/features/cmsToolkit/types/cms.ts","./src/features/cmsToolkit/utils/htmlEntities.ts","./src/features/cmsToolkit/utils/imageUrl.ts","./src/hooks/useAsyncData.ts","./src/lib/utils.ts","./src/pages/Home.tsx","./src/pages/NotFound.tsx","./e2e/app.spec.ts","./vite-env.d.ts","./vitest-env.d.ts","./vitest.setup.ts","../../../../../../../../../sdk/platform-sdk/types/env.d.ts"],"version":"5.9.3"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineConfig } from "vite";
|
|
2
|
+
import path from "path";
|
|
3
|
+
import { resolve } from "path";
|
|
4
|
+
import salesforce from "@salesforce/vite-plugin-ui-bundle";
|
|
5
|
+
|
|
6
|
+
export default defineConfig(() => {
|
|
7
|
+
return {
|
|
8
|
+
plugins: [salesforce({ debug: true })] as import("vite").PluginOption[],
|
|
9
|
+
|
|
10
|
+
build: {
|
|
11
|
+
outDir: resolve(__dirname, "dist"),
|
|
12
|
+
assetsDir: "assets",
|
|
13
|
+
sourcemap: false,
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
resolve: {
|
|
17
|
+
alias: {
|
|
18
|
+
"@": path.resolve(__dirname, "./src"),
|
|
19
|
+
"@api": path.resolve(__dirname, "./src/features/cmsToolkit/api"),
|
|
20
|
+
"@config": path.resolve(__dirname, "./src/features/cmsToolkit/config"),
|
|
21
|
+
"@types": path.resolve(__dirname, "./src/features/cmsToolkit/types"),
|
|
22
|
+
"@utils": path.resolve(__dirname, "./src/features/cmsToolkit/utils"),
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|