@spiffcommerce/core 29.1.1-beta.ff478c26-1017-5c25-ab4a-f09873b2f2ee → 29.1.2-beta.2102523f-f498-5d84-b95b-77365fe8e2f4

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
@@ -9771,6 +9771,9 @@ const re = v`
9771
9771
  pmsPickerEnabled
9772
9772
  colorOptionId
9773
9773
  }
9774
+ text {
9775
+ templatingEnabled
9776
+ }
9774
9777
  }
9775
9778
  }
9776
9779
  }
@@ -13850,6 +13853,14 @@ class dl extends Pa {
13850
13853
  constructor(t, e) {
13851
13854
  super(t, e);
13852
13855
  }
13856
+ /**
13857
+ * If this returns false, you should not display any templating tools.
13858
+ * Note: Templates will currently still be rendered, regardless of what this function returns.
13859
+ */
13860
+ isTemplatingEnabled() {
13861
+ var t, e;
13862
+ return ((e = (t = this.property.data) == null ? void 0 : t.text) == null ? void 0 : e.templatingEnabled) || !1;
13863
+ }
13853
13864
  /**
13854
13865
  * Gets the current text
13855
13866
  */
@@ -16113,7 +16124,7 @@ class gd {
16113
16124
  } catch (a) {
16114
16125
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
16115
16126
  }
16116
- }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 29.1.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16127
+ }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 29.1.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16117
16128
  }
16118
16129
  configure(t) {
16119
16130
  mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && zr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);