@spiffcommerce/core 3.0.0 → 3.1.0
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/main.js +1 -1
- package/dist/module.js +6 -6
- package/dist/types.d.ts +10 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1511,6 +1511,16 @@ export class TextStepHandle extends StepHandle<_TextStepData1> {
|
|
|
1511
1511
|
hasVaryingSelection(): boolean | undefined;
|
|
1512
1512
|
hasColorPicker(): boolean | undefined;
|
|
1513
1513
|
getRegions(): import("@spiffcommerce/papyrus").Region[];
|
|
1514
|
+
/**
|
|
1515
|
+
* Return the maximum characters allowed for
|
|
1516
|
+
* this step, or undefined if there is no limit.
|
|
1517
|
+
*/
|
|
1518
|
+
getCharacterLimit(): number | undefined;
|
|
1519
|
+
/**
|
|
1520
|
+
* Return the remaining amount of characters that
|
|
1521
|
+
* the user is allowed to add, or undefined if there is no limit.
|
|
1522
|
+
*/
|
|
1523
|
+
getCharactersRemaining(): number | undefined;
|
|
1514
1524
|
}
|
|
1515
1525
|
export const createDesign: (workflowManager: WorkflowManager, workflow: _Workflow1, layouts: _ILayout1[], getReducerState: () => _CommandState1, product: Product, transaction: Transaction, workflowSelections: WorkflowSelections, designName: string, onProgressUpdate: DesignCreationProgressUpdate, updateVariationRecords: (variationRecords: VariationRecord[]) => Promise<void>, variationRecords: VariationRecord[], createPreviewImage: (shouldRender3D?: boolean) => Promise<string>, workflowMetadata?: WorkflowMetadata) => Promise<DesignCreationMessage>;
|
|
1516
1526
|
export interface SavedDesign {
|