@spiffcommerce/core 22.9.2 → 22.10.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/index.d.ts +23 -7
- package/dist/index.js +743 -758
- package/dist/index.umd.cjs +27 -27
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3026,11 +3026,16 @@ interface TextFillSpotColor {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
interface TextUpdateResult {
|
|
3028
3028
|
command?: GroupCommand;
|
|
3029
|
-
|
|
3030
|
-
|
|
3029
|
+
helperData: {
|
|
3030
|
+
charactersRemaining?: number;
|
|
3031
|
+
};
|
|
3032
|
+
errorData?: TextErrorData;
|
|
3031
3033
|
}
|
|
3032
|
-
interface
|
|
3033
|
-
|
|
3034
|
+
interface TextErrorData {
|
|
3035
|
+
blockedProfanity?: boolean;
|
|
3036
|
+
doesNotFit?: boolean;
|
|
3037
|
+
hitCharacterLimit?: boolean;
|
|
3038
|
+
illegalMultipleLines?: boolean;
|
|
3034
3039
|
}
|
|
3035
3040
|
declare class TextStepService implements StepService<TextStepData> {
|
|
3036
3041
|
private cachedColors;
|
|
@@ -3252,9 +3257,20 @@ declare class IllustrationStepHandle extends StepHandle<IllustrationStepData> {
|
|
|
3252
3257
|
}
|
|
3253
3258
|
|
|
3254
3259
|
interface TextChangeResult {
|
|
3260
|
+
/**
|
|
3261
|
+
* The text of the input field.
|
|
3262
|
+
*/
|
|
3255
3263
|
input: string;
|
|
3256
|
-
|
|
3257
|
-
|
|
3264
|
+
/**
|
|
3265
|
+
* Data that can be used by the theme to decide what helper text should be.
|
|
3266
|
+
*/
|
|
3267
|
+
helperData: {
|
|
3268
|
+
charactersRemaining?: number;
|
|
3269
|
+
};
|
|
3270
|
+
/**
|
|
3271
|
+
* Data that can be used by the theme to decide what error text should be.
|
|
3272
|
+
*/
|
|
3273
|
+
errorData?: TextErrorData;
|
|
3258
3274
|
}
|
|
3259
3275
|
declare class TextStepHandle extends StepHandle<TextStepData> implements CustomColorSupport {
|
|
3260
3276
|
constructor(manager: WorkflowManager, step: Step<TextStepData>, tags: string[]);
|
|
@@ -3608,4 +3624,4 @@ declare class ModuleStepHandle extends StepHandle<ModuleStepData> {
|
|
|
3608
3624
|
setText(value: string): void;
|
|
3609
3625
|
}
|
|
3610
3626
|
|
|
3611
|
-
export { AddonHandle, ArrayInput, AssetNotFoundError, Bundle$1 as Bundle, BundleDesignCreationMessage, BundleEvent, BundleEventData, BundleEventType, CollectionProduct, ColorOption, ColorOptionGlobalPropertyHandle, ConditionalGlobalPropertiesChangedEventData, ConversionConfiguration, ConversionData, ConversionDataType, ConversionLocation, Customer, CustomerDetailsInput, DesignCreationMessage, DesignCreationProgressUpdate, DesignInputStep, DigitalContentStepHandle, EditedSteps, FileUploadGlobalPropertyHandle, FlowExecutionNodeResult, FlowExecutionResult, FlowService, FrameService, FrameStep, FrameStepHandle, FrameThresholdSettings, GetNewWorkflowOptions, GetWorkflowOptions, GlobalPropertyHandle, IllustrationStepHandle, InformationMessageType, InformationResult, InformationStepHandle, Integration, IntegrationProduct, IntegrationType, LayoutNotFoundError, MandatorySteps, MaterialStepHandle, MisconfigurationError, MockWorkflowManager, ModelStepHandle, ModuleStepHandle, NodeType, ObjectInput, ObjectInputType, OptionGlobalPropertyHandle, OptionNotFoundError, ParseError, PictureStepHandle, PmsSearchResult, Product, ProductCameraRig, ProductCollection, ProductWorkflow$1 as ProductWorkflow, promiseCache as PromiseCache, PromiseQueue, QuestionStepHandle, QueueablePromise, RegionElement, RenderableScene, ResourceNotFoundError, SavedDesign, SelectionStorage, ShapeStepHandle, SilentIllustrationStepData, SpiffCommerceClient, Stakeholder, StakeholderType, StateMutationFunc, StepElements, StepHandle, TextGlobalPropertyHandle, TextInput, TextStepHandle, TextStepStorage, ToastCallback, Transaction, TransactionShareAction, TransactionShareActionType, Transform, TransformCollection$1 as TransformCollection, UnhandledBehaviorError, Variant, Vector3, WorkflowExperience, WorkflowExperienceEventType, WorkflowExperienceHoverEventData, WorkflowExperienceImpl, WorkflowManager, WorkflowMetadata, WorkflowScene, WorkflowSelections, WorkflowStorage, assetService, browserColorToHex, createDesign, designService, digitalContentStepService, findPmsColors, frameStepService, generateCommands, generateStateFromDesignInputSteps, getBoundedOffsets, getWorkflow, getWorkflows, graphQlManager, illustrationStepService, matchHexToPms, materialStepService, modelStepService, moduleStepService, optionService, persistenceService, pictureStepService, pmsToRgb, questionStepService, rgbToPms, setBearerAuthenticationToken, shapeStepService, shortenUrl, spiffCoreConfiguration, stepAspectValuesToDesignInputSteps, textStepService, toast };
|
|
3627
|
+
export { AddonHandle, ArrayInput, AssetNotFoundError, Bundle$1 as Bundle, BundleDesignCreationMessage, BundleEvent, BundleEventData, BundleEventType, CollectionProduct, ColorOption, ColorOptionGlobalPropertyHandle, ConditionalGlobalPropertiesChangedEventData, ConversionConfiguration, ConversionData, ConversionDataType, ConversionLocation, Customer, CustomerDetailsInput, DesignCreationMessage, DesignCreationProgressUpdate, DesignInputStep, DigitalContentStepHandle, EditedSteps, FileUploadGlobalPropertyHandle, FlowExecutionNodeResult, FlowExecutionResult, FlowService, FrameService, FrameStep, FrameStepHandle, FrameThresholdSettings, GetNewWorkflowOptions, GetWorkflowOptions, GlobalPropertyHandle, IllustrationStepHandle, InformationMessageType, InformationResult, InformationStepHandle, Integration, IntegrationProduct, IntegrationType, LayoutNotFoundError, MandatorySteps, MaterialStepHandle, MisconfigurationError, MockWorkflowManager, ModelStepHandle, ModuleStepHandle, NodeType, ObjectInput, ObjectInputType, OptionGlobalPropertyHandle, OptionNotFoundError, ParseError, PictureStepHandle, PmsSearchResult, Product, ProductCameraRig, ProductCollection, ProductWorkflow$1 as ProductWorkflow, promiseCache as PromiseCache, PromiseQueue, QuestionStepHandle, QueueablePromise, RegionElement, RenderableScene, ResourceNotFoundError, SavedDesign, SelectionStorage, ShapeStepHandle, SilentIllustrationStepData, SpiffCommerceClient, Stakeholder, StakeholderType, StateMutationFunc, StepElements, StepHandle, TextChangeResult, TextGlobalPropertyHandle, TextInput, TextStepHandle, TextStepStorage, ToastCallback, Transaction, TransactionShareAction, TransactionShareActionType, Transform, TransformCollection$1 as TransformCollection, UnhandledBehaviorError, Variant, Vector3, WorkflowExperience, WorkflowExperienceEventType, WorkflowExperienceHoverEventData, WorkflowExperienceImpl, WorkflowManager, WorkflowMetadata, WorkflowScene, WorkflowSelections, WorkflowStorage, assetService, browserColorToHex, createDesign, designService, digitalContentStepService, findPmsColors, frameStepService, generateCommands, generateStateFromDesignInputSteps, getBoundedOffsets, getWorkflow, getWorkflows, graphQlManager, illustrationStepService, matchHexToPms, materialStepService, modelStepService, moduleStepService, optionService, persistenceService, pictureStepService, pmsToRgb, questionStepService, rgbToPms, setBearerAuthenticationToken, shapeStepService, shortenUrl, spiffCoreConfiguration, stepAspectValuesToDesignInputSteps, textStepService, toast };
|