@pitcher/canvas-ui 2025.12.30-233052-beta → 2025.12.31-005552-beta

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.
@@ -3,6 +3,16 @@ import { SfAccountMini, SfEvent, SfUser } from '../../types/sfdc';
3
3
  import { ComputedRef } from 'vue';
4
4
  export declare function extractFieldNamesFromCondition(condition: string): string[];
5
5
  export declare function evaluateIsExecutedCondition(condition: string | undefined, event: any): boolean;
6
+ /**
7
+ * Evaluates is_executed_condition for PascalCase event objects.
8
+ * This function handles events where field names have been converted to PascalCase
9
+ * (e.g., Status_vod__c -> StatusVodC) but the condition still uses snake_case field names.
10
+ *
11
+ * @param condition - The condition string (e.g., "Status_vod__c = 'Submitted_vod'")
12
+ * @param event - The event object with PascalCase properties (e.g., { StatusVodC: "Submitted_vod" })
13
+ * @returns true if the event is executed/submitted, false otherwise
14
+ */
15
+ export declare function evaluateIsExecutedForPascalCaseEvent(condition: string | undefined, event: any): boolean;
6
16
  export declare function getEventColor(sfEvent: SfEvent): string;
7
17
  export declare const minFutureDate: (date?: Date) => Date;
8
18
  export declare const minPastDate: (date?: Date) => Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/canvas-ui",
3
- "version": "2025.12.30-233052-beta",
3
+ "version": "2025.12.31-005552-beta",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"