@spiffcommerce/core 33.11.0-beta.b75cd38f-7b1c-5f82-a706-3244434a4988 → 33.12.0-beta.22b3f894-b8b2-544e-9e3a-fbfc0a46726b

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/CHANGELOG.md CHANGED
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ ## [33.12.0] - 10-11-2025
18
+
19
+ ### Changed
20
+
21
+ - Further improved performance of loading large Bundles and creating/loading large amounts of Transactions.
22
+
17
23
  ## [33.11.0] - 07-11-2025
18
24
 
19
25
  ### Added
package/dist/index.d.ts CHANGED
@@ -3434,6 +3434,7 @@ interface IllustrationColorObject {
3434
3434
  pmsValue?: string;
3435
3435
  }
3436
3436
  interface FrameOffsets {
3437
+ regionIndex?: string;
3437
3438
  y: number;
3438
3439
  x: number;
3439
3440
  zoom: number;
@@ -3469,6 +3470,10 @@ interface LayoutElement extends Layerable {
3469
3470
  * If the element was made from a workflow step, this is its region.
3470
3471
  */
3471
3472
  stepRegion?: Region;
3473
+ /**
3474
+ * If the element was made from a workflow step, this the index of the region.
3475
+ */
3476
+ stepRegionIndex?: number;
3472
3477
  /**
3473
3478
  * The type of this element
3474
3479
  */
@@ -4193,6 +4198,7 @@ interface ColorOption {
4193
4198
  interface RegionElement {
4194
4199
  id: string;
4195
4200
  region?: Region;
4201
+ regionIndex: number;
4196
4202
  }
4197
4203
  interface FrameMetadata {
4198
4204
  image: string;
@@ -5069,7 +5075,7 @@ interface SVGCreateOpts {
5069
5075
  }
5070
5076
  declare class IllustrationStepService implements StepService<IllustrationStepData> {
5071
5077
  getIllustrationBody(src: string): Promise<string>;
5072
- getCreateElementCommand(id: string, region: Region, layout: ILayout, options: SVGCreateOpts): CreateElementCommand<IllustrationElement>;
5078
+ getCreateElementCommand(id: string, region: Region, regionIndex: number, layout: ILayout, options: SVGCreateOpts): CreateElementCommand<IllustrationElement>;
5073
5079
  getColors(stepData: Step<IllustrationStepData>, workflowManager: WorkflowManager): never[] | {
5074
5080
  [key: string]: ColorDefinition;
5075
5081
  };
@@ -5767,11 +5773,17 @@ declare class LayoutElementFactory {
5767
5773
  designInputStep?: any;
5768
5774
  }): Promise<TextboxElement>;
5769
5775
  static getShape(layout: LayoutData, opts: {
5770
- region?: Region;
5776
+ region?: {
5777
+ item: Region;
5778
+ index: number;
5779
+ };
5771
5780
  color: string;
5772
5781
  }): Promise<IllustrationElement>;
5773
5782
  static getIllustration(layout: LayoutData, opts: {
5774
- region?: Region;
5783
+ region?: {
5784
+ item: Region;
5785
+ index: number;
5786
+ };
5775
5787
  src: string;
5776
5788
  }): Promise<IllustrationElement>;
5777
5789
  }