@saasquatch/mint-components 2.0.0-14 → 2.0.0-15

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.
@@ -3190,7 +3190,6 @@ const PayoutStatusAlert = class {
3190
3190
  * @componentState { "title": "Verification Required", "props": { "demoData": { "states": { "status": "VERIFICATION:REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3191
3191
  * @componentState { "title": "Identity Verification", "props": { "demoData": { "states": { "status": "VERIFICATION:REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
3192
3192
  * @componentState { "title": "Account Hold", "props": { "demoData": { "states": { "status": "HOLD" } } }, "dependencies": ["sqm-payout-status-alert"] }
3193
-
3194
3193
  */
3195
3194
  this.stateController = "{}";
3196
3195
  domContextHooks_module.h$1(this);
@@ -3211,10 +3210,10 @@ function useDemoPayoutStatusAlert(props) {
3211
3210
  const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
3212
3211
  ? { ...prev, ...states[key] }
3213
3212
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
3214
- const base = {
3213
+ return cjs.cjs({
3215
3214
  states: {
3216
3215
  error: false,
3217
- status: states.status || "INFORMATION_REQUIRED",
3216
+ status: "VERIFICATION:REQUIRED",
3218
3217
  loading: false,
3219
3218
  veriffLoading: false,
3220
3219
  },
@@ -3224,12 +3223,7 @@ function useDemoPayoutStatusAlert(props) {
3224
3223
  onTermsClick: () => { },
3225
3224
  onClick: () => console.log("show"),
3226
3225
  },
3227
- };
3228
- return cjs.cjs.all([
3229
- base,
3230
- props.demoData || {},
3231
- formatted,
3232
- ], { arrayMerge: (_, a) => a });
3226
+ }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
3233
3227
  }
3234
3228
 
3235
3229
  const GET_USER$1 = index_module.dist.gql `
@@ -116,7 +116,6 @@ export class PayoutStatusAlert {
116
116
  * @componentState { "title": "Verification Required", "props": { "demoData": { "states": { "status": "VERIFICATION:REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
117
117
  * @componentState { "title": "Identity Verification", "props": { "demoData": { "states": { "status": "VERIFICATION:REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
118
118
  * @componentState { "title": "Account Hold", "props": { "demoData": { "states": { "status": "HOLD" } } }, "dependencies": ["sqm-payout-status-alert"] }
119
-
120
119
  */
121
120
  this.stateController = "{}";
122
121
  withHooks(this);
@@ -708,10 +707,10 @@ function useDemoPayoutStatusAlert(props) {
708
707
  const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
709
708
  ? { ...prev, ...states[key] }
710
709
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
711
- const base = {
710
+ return deepmerge({
712
711
  states: {
713
712
  error: false,
714
- status: states.status || "INFORMATION_REQUIRED",
713
+ status: "VERIFICATION:REQUIRED",
715
714
  loading: false,
716
715
  veriffLoading: false,
717
716
  },
@@ -721,10 +720,5 @@ function useDemoPayoutStatusAlert(props) {
721
720
  onTermsClick: () => { },
722
721
  onClick: () => console.log("show"),
723
722
  },
724
- };
725
- return deepmerge.all([
726
- base,
727
- props.demoData || {},
728
- formatted,
729
- ], { arrayMerge: (_, a) => a });
723
+ }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
730
724
  }
@@ -3186,7 +3186,6 @@ const PayoutStatusAlert = class {
3186
3186
  * @componentState { "title": "Verification Required", "props": { "demoData": { "states": { "status": "VERIFICATION:REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3187
3187
  * @componentState { "title": "Identity Verification", "props": { "demoData": { "states": { "status": "VERIFICATION:REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
3188
3188
  * @componentState { "title": "Account Hold", "props": { "demoData": { "states": { "status": "HOLD" } } }, "dependencies": ["sqm-payout-status-alert"] }
3189
-
3190
3189
  */
3191
3190
  this.stateController = "{}";
3192
3191
  h(this);
@@ -3207,10 +3206,10 @@ function useDemoPayoutStatusAlert(props) {
3207
3206
  const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
3208
3207
  ? { ...prev, ...states[key] }
3209
3208
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
3210
- const base = {
3209
+ return cjs({
3211
3210
  states: {
3212
3211
  error: false,
3213
- status: states.status || "INFORMATION_REQUIRED",
3212
+ status: "VERIFICATION:REQUIRED",
3214
3213
  loading: false,
3215
3214
  veriffLoading: false,
3216
3215
  },
@@ -3220,12 +3219,7 @@ function useDemoPayoutStatusAlert(props) {
3220
3219
  onTermsClick: () => { },
3221
3220
  onClick: () => console.log("show"),
3222
3221
  },
3223
- };
3224
- return cjs.all([
3225
- base,
3226
- props.demoData || {},
3227
- formatted,
3228
- ], { arrayMerge: (_, a) => a });
3222
+ }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
3229
3223
  }
3230
3224
 
3231
3225
  const GET_USER$1 = dist.gql `