@spiffcommerce/core 33.11.0 → 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 +6 -0
- package/dist/index.d.ts +20 -3
- package/dist/index.js +226 -285
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2968 -2964
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
*/
|
|
@@ -3808,6 +3813,10 @@ interface Transaction {
|
|
|
3808
3813
|
* The integration product related to this lineitem.
|
|
3809
3814
|
*/
|
|
3810
3815
|
integrationProduct?: IntegrationProductResource;
|
|
3816
|
+
/**
|
|
3817
|
+
* The ID of the integration product that this transaction belongs to.
|
|
3818
|
+
*/
|
|
3819
|
+
integrationProductId?: string;
|
|
3811
3820
|
/**
|
|
3812
3821
|
* Whether this transaction has previously been ordered.
|
|
3813
3822
|
*/
|
|
@@ -4189,6 +4198,7 @@ interface ColorOption {
|
|
|
4189
4198
|
interface RegionElement {
|
|
4190
4199
|
id: string;
|
|
4191
4200
|
region?: Region;
|
|
4201
|
+
regionIndex: number;
|
|
4192
4202
|
}
|
|
4193
4203
|
interface FrameMetadata {
|
|
4194
4204
|
image: string;
|
|
@@ -4314,6 +4324,7 @@ interface Bundle {
|
|
|
4314
4324
|
partner?: Partner;
|
|
4315
4325
|
productCollection?: ProductCollectionResource;
|
|
4316
4326
|
transactions?: Transaction[];
|
|
4327
|
+
transactionIds?: string[];
|
|
4317
4328
|
template?: boolean;
|
|
4318
4329
|
templateStatus?: BundleTemplateStatus;
|
|
4319
4330
|
bundleShareActions?: ShareAction[];
|
|
@@ -5064,7 +5075,7 @@ interface SVGCreateOpts {
|
|
|
5064
5075
|
}
|
|
5065
5076
|
declare class IllustrationStepService implements StepService<IllustrationStepData> {
|
|
5066
5077
|
getIllustrationBody(src: string): Promise<string>;
|
|
5067
|
-
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>;
|
|
5068
5079
|
getColors(stepData: Step<IllustrationStepData>, workflowManager: WorkflowManager): never[] | {
|
|
5069
5080
|
[key: string]: ColorDefinition;
|
|
5070
5081
|
};
|
|
@@ -5762,11 +5773,17 @@ declare class LayoutElementFactory {
|
|
|
5762
5773
|
designInputStep?: any;
|
|
5763
5774
|
}): Promise<TextboxElement>;
|
|
5764
5775
|
static getShape(layout: LayoutData, opts: {
|
|
5765
|
-
region?:
|
|
5776
|
+
region?: {
|
|
5777
|
+
item: Region;
|
|
5778
|
+
index: number;
|
|
5779
|
+
};
|
|
5766
5780
|
color: string;
|
|
5767
5781
|
}): Promise<IllustrationElement>;
|
|
5768
5782
|
static getIllustration(layout: LayoutData, opts: {
|
|
5769
|
-
region?:
|
|
5783
|
+
region?: {
|
|
5784
|
+
item: Region;
|
|
5785
|
+
index: number;
|
|
5786
|
+
};
|
|
5770
5787
|
src: string;
|
|
5771
5788
|
}): Promise<IllustrationElement>;
|
|
5772
5789
|
}
|