@spiffcommerce/core 34.0.0-beta.8c15a292-be1c-5189-8ed3-cbd0b34cfa6e → 34.0.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.mjs CHANGED
@@ -12203,7 +12203,6 @@ class cl extends tt {
12203
12203
  * @param userInput Input from the user.
12204
12204
  */
12205
12205
  setText(t) {
12206
- console.log(`LOG: setting text to ${t}`);
12207
12206
  const e = {
12208
12207
  input: t,
12209
12208
  helperData: {}
@@ -12216,10 +12215,10 @@ class cl extends tt {
12216
12215
  this.step.data,
12217
12216
  c?.customiseAllText ?? !1
12218
12217
  );
12219
- if (console.log("LOG: setText 2"), s)
12218
+ if (s)
12220
12219
  o || this.manager.updateMetadata(this.step.stepName, {
12221
12220
  text: d
12222
- }), console.log("LOG: setText regionless");
12221
+ });
12223
12222
  else {
12224
12223
  const { command: A, errorData: u, helperData: h } = H.updateInputText(
12225
12224
  i,
@@ -12229,9 +12228,9 @@ class cl extends tt {
12229
12228
  );
12230
12229
  A && this.manager.getCommandDispatcher()(A), e.helperData = h, e.errorData = u, !o && !u && this.manager.updateMetadata(this.step.stepName, {
12231
12230
  text: d
12232
- }), console.log("LOG: setText 3");
12231
+ });
12233
12232
  }
12234
- return console.log("LOG: setText 4"), e;
12233
+ return e;
12235
12234
  }
12236
12235
  /**
12237
12236
  * Gets the text currently applied to the elements of this step.