@salesforce/ui-bundle-template-app-react-template-b2e 11.71.3 → 11.71.5
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/dist/CHANGELOG.md +16 -0
- package/dist/force-app/main/default/uiBundles/reactinternalapp/package.json +4 -4
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/utils/filterUtils.ts +7 -2
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/pages/AccountObjectDetailPage.tsx +0 -16
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [11.71.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.71.4...v11.71.5) (2026-08-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [11.71.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.71.3...v11.71.4) (2026-08-28)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [11.71.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.71.2...v11.71.3) (2026-08-27)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@salesforce/platform-sdk": "^11.71.
|
|
22
|
-
"@salesforce/ui-bundle": "^11.71.
|
|
21
|
+
"@salesforce/platform-sdk": "^11.71.5",
|
|
22
|
+
"@salesforce/ui-bundle": "^11.71.5",
|
|
23
23
|
"@tailwindcss/vite": "^4.1.17",
|
|
24
24
|
"class-variance-authority": "^0.7.1",
|
|
25
25
|
"clsx": "^2.1.1",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
46
46
|
"@graphql-tools/utils": "^11.0.0",
|
|
47
47
|
"@playwright/test": "^1.49.0",
|
|
48
|
-
"@salesforce/graphiti": "^11.71.
|
|
49
|
-
"@salesforce/vite-plugin-ui-bundle": "^11.71.
|
|
48
|
+
"@salesforce/graphiti": "^11.71.5",
|
|
49
|
+
"@salesforce/vite-plugin-ui-bundle": "^11.71.5",
|
|
50
50
|
"@testing-library/jest-dom": "^6.6.3",
|
|
51
51
|
"@testing-library/react": "^16.1.0",
|
|
52
52
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -208,12 +208,17 @@ function toEndOfDay(d: string) {
|
|
|
208
208
|
return `${d}T23:59:59.999Z`;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
+
/** Escapes LIKE metacharacters (`\`, `%`, `_`) so user input is matched literally. */
|
|
212
|
+
function escapeLikePattern(value: string): string {
|
|
213
|
+
return value.replace(/[\\%_]/g, "\\$&");
|
|
214
|
+
}
|
|
215
|
+
|
|
211
216
|
function buildSingleFilter(filter: ActiveFilterValue, config?: FilterFieldConfig): unknown {
|
|
212
217
|
const { field, type, value, min, max } = filter;
|
|
213
218
|
switch (type) {
|
|
214
219
|
case "text": {
|
|
215
220
|
if (!value) return null;
|
|
216
|
-
return { [field]: { like: `%${value}%` } };
|
|
221
|
+
return { [field]: { like: `%${escapeLikePattern(value)}%` } };
|
|
217
222
|
}
|
|
218
223
|
case "picklist": {
|
|
219
224
|
if (!value) return null;
|
|
@@ -284,7 +289,7 @@ export function buildGlobalQueryClause(q: string, searchableFields: string[]): u
|
|
|
284
289
|
if (!trimmed || searchableFields.length === 0) return undefined;
|
|
285
290
|
const clauses = searchableFields.map((path) => {
|
|
286
291
|
const parts = path.split(".");
|
|
287
|
-
let clause: Record<string, unknown> = { like: `%${trimmed}%` };
|
|
292
|
+
let clause: Record<string, unknown> = { like: `%${escapeLikePattern(trimmed)}%` };
|
|
288
293
|
for (let i = parts.length - 1; i >= 0; i--) {
|
|
289
294
|
clause = { [parts[i]]: clause };
|
|
290
295
|
}
|
package/dist/force-app/main/default/uiBundles/reactinternalapp/src/pages/AccountObjectDetailPage.tsx
CHANGED
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
import { Separator } from "../components/ui/separator";
|
|
16
16
|
import { Skeleton } from "../components/ui/skeleton";
|
|
17
17
|
import { useAsyncData } from "../hooks/useAsyncData";
|
|
18
|
-
import { ObjectBreadcrumb } from "../components/ObjectBreadcrumb";
|
|
19
18
|
|
|
20
19
|
/** A uiapi scalar field as returned with `@optional { value displayValue }`. Typed locally to avoid a generated-types dependency. */
|
|
21
20
|
type FieldValue = { value?: unknown; displayValue?: string | null } | null;
|
|
@@ -86,21 +85,6 @@ export default function AccountObjectDetail() {
|
|
|
86
85
|
|
|
87
86
|
return (
|
|
88
87
|
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
|
|
89
|
-
<ObjectBreadcrumb
|
|
90
|
-
listPath="/accounts"
|
|
91
|
-
listLabel="Accounts"
|
|
92
|
-
loading={loading}
|
|
93
|
-
recordName={
|
|
94
|
-
account
|
|
95
|
-
? (fieldValue(account.Name) ?? "")
|
|
96
|
-
: error
|
|
97
|
-
? "Error"
|
|
98
|
-
: loading
|
|
99
|
-
? undefined
|
|
100
|
-
: "Not Found"
|
|
101
|
-
}
|
|
102
|
-
/>
|
|
103
|
-
|
|
104
88
|
{/* Loading state */}
|
|
105
89
|
{loading && <AccountDetailSkeleton />}
|
|
106
90
|
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
3
|
-
"version": "11.71.
|
|
3
|
+
"version": "11.71.5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
9
|
-
"version": "11.71.
|
|
9
|
+
"version": "11.71.5",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fast-xml-parser": "^5.9.3",
|
package/dist/package.json
CHANGED