@spiffcommerce/core 29.0.4-beta.edc66327-3ca2-53dd-ba6a-90bcc4e6b5f9 → 29.0.4
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.js +1 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +145 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -269,15 +269,12 @@
|
|
|
269
269
|
promptForCustomerDetails
|
|
270
270
|
conversionConfiguration {
|
|
271
271
|
id
|
|
272
|
-
partnerId
|
|
273
272
|
name
|
|
274
273
|
locations
|
|
275
274
|
requestedData
|
|
276
275
|
requestedDataItems {
|
|
277
276
|
type
|
|
278
277
|
mandatory
|
|
279
|
-
title
|
|
280
|
-
uniqueIdentifier
|
|
281
278
|
}
|
|
282
279
|
mandatory
|
|
283
280
|
}
|
|
@@ -441,15 +438,12 @@
|
|
|
441
438
|
promptForCustomerDetails
|
|
442
439
|
conversionConfiguration {
|
|
443
440
|
id
|
|
444
|
-
partnerId
|
|
445
441
|
name
|
|
446
442
|
locations
|
|
447
443
|
requestedData
|
|
448
444
|
requestedDataItems {
|
|
449
445
|
type
|
|
450
446
|
mandatory
|
|
451
|
-
title
|
|
452
|
-
uniqueIdentifier
|
|
453
447
|
}
|
|
454
448
|
mandatory
|
|
455
449
|
}
|
|
@@ -510,15 +504,12 @@
|
|
|
510
504
|
}
|
|
511
505
|
conversionConfiguration {
|
|
512
506
|
id
|
|
513
|
-
partnerId
|
|
514
507
|
name
|
|
515
508
|
locations
|
|
516
509
|
requestedData
|
|
517
510
|
requestedDataItems {
|
|
518
511
|
type
|
|
519
512
|
mandatory
|
|
520
|
-
title
|
|
521
|
-
uniqueIdentifier
|
|
522
513
|
}
|
|
523
514
|
mandatory
|
|
524
515
|
}
|
|
@@ -1271,15 +1262,12 @@
|
|
|
1271
1262
|
}
|
|
1272
1263
|
conversionConfiguration {
|
|
1273
1264
|
id
|
|
1274
|
-
partnerId
|
|
1275
1265
|
name
|
|
1276
1266
|
locations
|
|
1277
1267
|
requestedData
|
|
1278
1268
|
requestedDataItems {
|
|
1279
1269
|
type
|
|
1280
1270
|
mandatory
|
|
1281
|
-
title
|
|
1282
|
-
uniqueIdentifier
|
|
1283
1271
|
}
|
|
1284
1272
|
mandatory
|
|
1285
1273
|
}
|
|
@@ -2571,7 +2559,7 @@
|
|
|
2571
2559
|
total
|
|
2572
2560
|
}
|
|
2573
2561
|
}
|
|
2574
|
-
`,Oc=async(r,t,e)=>await B.getShadowGraphqlClient().mutate({mutation:Nc,errorPolicy:"all",variables:{id:r,name:t},context:e}),$c=async(r,t)=>await B.getShadowGraphqlClient().mutate({mutation:Fc,errorPolicy:"all",variables:{id:r,name:t}}),Uc=async(r,t)=>await B.getShadowGraphqlClient().mutate({mutation:Qc,errorPolicy:"all",variables:{id:r,template:t}}),Lc=async(r,t)=>await B.getShadowGraphqlClient().mutate({mutation:kc,errorPolicy:"all",variables:{id:r,template:t}}),Vc=async r=>(await B.getShadowGraphqlClient().query({query:xc,errorPolicy:"all",variables:{email:r}})).data.customer,zc=async(r,t,e)=>await B.getShadowGraphqlClient().query({query:Mc,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,offset:e,limit:t}}),Gc=async(r,t)=>await B.getShadowGraphqlClient().query({query:Tc,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r},context:t}),qc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:ja,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,quicksearch:"",filters:{link:"and",status:{operator:"isAnyOf",values:["Created","DesignCompleted","ExternallyOrdered"]},template:{value:"false"}},offset:e,limit:t}});return((n=a==null?void 0:a.data.customerTransactionsFeed)==null?void 0:n.items)||[]},Wc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:ja,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,quicksearch:"",filters:{link:"and",status:{operator:"equals",value:"Ordered"},template:{value:"false"}},offset:e,limit:t}});return((n=a==null?void 0:a.data.customerTransactionsFeed)==null?void 0:n.items)||[]},jc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:ja,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,quicksearch:"",filters:{link:"and",template:{value:"true"}},offset:e,limit:t}});return((n=a==null?void 0:a.data.customerTransactionsFeed)==null?void 0:n.items)||[]},Hc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:Rc,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,offset:e,limit:t}});return((n=a==null?void 0:a.data.customerBundlesFeed)==null?void 0:n.items)||[]};(function(){try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode("#spiffThemeWrapper{width:100%;height:100%}")),document.head.appendChild(r)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var Yr=(r=>(r.Manual="Manual",r.OnStart="OnStart",r.OnQuit="OnQuit",r.OnEnd="OnEnd",r))(Yr||{}),Jr=(r=>(r.Email="Email",r.FirstName="FirstName",r.LastName="LastName",r.Phone="Phone",r.Apartment="Apartment",r.City="City",r.Country="Country",r.OrganizationName="OrganizationName",r.PostCode="PostCode",r.State="State",r.StreetAddress="StreetAddress",r.
|
|
2562
|
+
`,Oc=async(r,t,e)=>await B.getShadowGraphqlClient().mutate({mutation:Nc,errorPolicy:"all",variables:{id:r,name:t},context:e}),$c=async(r,t)=>await B.getShadowGraphqlClient().mutate({mutation:Fc,errorPolicy:"all",variables:{id:r,name:t}}),Uc=async(r,t)=>await B.getShadowGraphqlClient().mutate({mutation:Qc,errorPolicy:"all",variables:{id:r,template:t}}),Lc=async(r,t)=>await B.getShadowGraphqlClient().mutate({mutation:kc,errorPolicy:"all",variables:{id:r,template:t}}),Vc=async r=>(await B.getShadowGraphqlClient().query({query:xc,errorPolicy:"all",variables:{email:r}})).data.customer,zc=async(r,t,e)=>await B.getShadowGraphqlClient().query({query:Mc,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,offset:e,limit:t}}),Gc=async(r,t)=>await B.getShadowGraphqlClient().query({query:Tc,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r},context:t}),qc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:ja,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,quicksearch:"",filters:{link:"and",status:{operator:"isAnyOf",values:["Created","DesignCompleted","ExternallyOrdered"]},template:{value:"false"}},offset:e,limit:t}});return((n=a==null?void 0:a.data.customerTransactionsFeed)==null?void 0:n.items)||[]},Wc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:ja,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,quicksearch:"",filters:{link:"and",status:{operator:"equals",value:"Ordered"},template:{value:"false"}},offset:e,limit:t}});return((n=a==null?void 0:a.data.customerTransactionsFeed)==null?void 0:n.items)||[]},jc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:ja,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,quicksearch:"",filters:{link:"and",template:{value:"true"}},offset:e,limit:t}});return((n=a==null?void 0:a.data.customerTransactionsFeed)==null?void 0:n.items)||[]},Hc=async(r,t,e)=>{var n;const a=await B.getShadowGraphqlClient().query({query:Rc,errorPolicy:"all",fetchPolicy:"no-cache",variables:{id:r,offset:e,limit:t}});return((n=a==null?void 0:a.data.customerBundlesFeed)==null?void 0:n.items)||[]};(function(){try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode("#spiffThemeWrapper{width:100%;height:100%}")),document.head.appendChild(r)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var Yr=(r=>(r.Manual="Manual",r.OnStart="OnStart",r.OnQuit="OnQuit",r.OnEnd="OnEnd",r))(Yr||{}),Jr=(r=>(r.Email="Email",r.FirstName="FirstName",r.LastName="LastName",r.Phone="Phone",r.Apartment="Apartment",r.City="City",r.Country="Country",r.OrganizationName="OrganizationName",r.PostCode="PostCode",r.State="State",r.StreetAddress="StreetAddress",r.DesignName="DesignName",r.PurchaseOrder="PurchaseOrder",r.DispatchDate="DispatchDate",r.Stakeholders="Stakeholders",r))(Jr||{}),K;K={__e:function(r,t,e,a){for(var n,i,s;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&i.getDerivedStateFromError!=null&&(n.setState(i.getDerivedStateFromError(r)),s=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(r,a||{}),s=n.__d),s)return n.__E=n}catch(o){r=o}throw r}},typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());var lt,ea,un,Kr=[],aa=[],hn=K.__b,gn=K.__r,mn=K.diffed,pn=K.__c,fn=K.unmount;function Yc(){for(var r;r=Kr.shift();)if(r.__P&&r.__H)try{r.__H.__h.forEach(be),r.__H.__h.forEach(wa),r.__H.__h=[]}catch(t){r.__H.__h=[],K.__e(t,r.__v)}}K.__b=function(r){lt=null,hn&&hn(r)},K.__r=function(r){gn&&gn(r);var t=(lt=r.__c).__H;t&&(ea===lt?(t.__h=[],lt.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=aa,e.__N=e.i=void 0})):(t.__h.forEach(be),t.__h.forEach(wa),t.__h=[])),ea=lt},K.diffed=function(r){mn&&mn(r);var t=r.__c;t&&t.__H&&(t.__H.__h.length&&(Kr.push(t)!==1&&un===K.requestAnimationFrame||((un=K.requestAnimationFrame)||Jc)(Yc)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==aa&&(e.__=e.__V),e.i=void 0,e.__V=aa})),ea=lt=null},K.__c=function(r,t){t.some(function(e){try{e.__h.forEach(be),e.__h=e.__h.filter(function(a){return!a.__||wa(a)})}catch(a){t.some(function(n){n.__h&&(n.__h=[])}),t=[],K.__e(a,e.__v)}}),pn&&pn(r,t)},K.unmount=function(r){fn&&fn(r);var t,e=r.__c;e&&e.__H&&(e.__H.__.forEach(function(a){try{be(a)}catch(n){t=n}}),e.__H=void 0,t&&K.__e(t,e.__v))};var Cn=typeof requestAnimationFrame=="function";function Jc(r){var t,e=function(){clearTimeout(a),Cn&&cancelAnimationFrame(t),setTimeout(r)},a=setTimeout(e,100);Cn&&(t=requestAnimationFrame(e))}function be(r){var t=lt,e=r.__c;typeof e=="function"&&(r.__c=void 0,e()),lt=t}function wa(r){var t=lt;r.__c=r.__(),lt=t}const _r=v.gql`
|
|
2575
2563
|
fragment AddressValidationResultFields on AddressValidationResult {
|
|
2576
2564
|
addressComplete
|
|
2577
2565
|
address {
|