@saasquatch/mint-components 2.0.0-14 → 2.0.0-16
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/cjs/sqm-big-stat_46.cjs.entry.js +7 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +11 -17
- package/dist/esm/sqm-big-stat_46.entry.js +7 -13
- package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-e167e9fe.entry.js → p-38263521.entry.js} +1 -1
- package/dist/mint-components/{p-fefce687.system.entry.js → p-69d8b4f2.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -5
- package/dist/types/components.d.ts +8 -8
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -3186,11 +3186,10 @@ const PayoutStatusAlert = class {
|
|
|
3186
3186
|
this.errorDescription = "There was an error with determining your payout status.";
|
|
3187
3187
|
/**
|
|
3188
3188
|
* @undocumented
|
|
3189
|
-
* @componentState { "title": "Payout Info Required", "props": { "
|
|
3190
|
-
* @componentState { "title": "Verification Required", "props": { "
|
|
3191
|
-
* @componentState { "title": "Identity Verification", "props": { "
|
|
3192
|
-
* @componentState { "title": "Account Hold", "props": { "
|
|
3193
|
-
|
|
3189
|
+
* @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
3190
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
3191
|
+
* @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
3192
|
+
* @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
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
|
-
|
|
3213
|
+
return cjs.cjs({
|
|
3215
3214
|
states: {
|
|
3216
3215
|
error: false,
|
|
3217
|
-
status:
|
|
3216
|
+
status: "INFORMATION_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 `
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -112,11 +112,10 @@ export class PayoutStatusAlert {
|
|
|
112
112
|
this.errorDescription = "There was an error with determining your payout status.";
|
|
113
113
|
/**
|
|
114
114
|
* @undocumented
|
|
115
|
-
* @componentState { "title": "Payout Info Required", "props": { "
|
|
116
|
-
* @componentState { "title": "Verification Required", "props": { "
|
|
117
|
-
* @componentState { "title": "Identity Verification", "props": { "
|
|
118
|
-
* @componentState { "title": "Account Hold", "props": { "
|
|
119
|
-
|
|
115
|
+
* @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
116
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
117
|
+
* @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
118
|
+
* @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
120
119
|
*/
|
|
121
120
|
this.stateController = "{}";
|
|
122
121
|
withHooks(this);
|
|
@@ -653,16 +652,16 @@ export class PayoutStatusAlert {
|
|
|
653
652
|
"text": undefined,
|
|
654
653
|
"name": "undocumented"
|
|
655
654
|
}, {
|
|
656
|
-
"text": "{ \"title\": \"Payout Info Required\", \"props\": { \"
|
|
655
|
+
"text": "{ \"title\": \"Payout Info Required\", \"props\": { \"states\": { \"status\": \"INFORMATION_REQUIRED\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
657
656
|
"name": "componentState"
|
|
658
657
|
}, {
|
|
659
|
-
"text": "{ \"title\": \"Verification Required\", \"props\": { \"
|
|
658
|
+
"text": "{ \"title\": \"Verification Required\", \"props\": { \"states\": { \"status\": \"VERIFICATION:REQUIRED\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
660
659
|
"name": "componentState"
|
|
661
660
|
}, {
|
|
662
|
-
"text": "{ \"title\": \"Identity Verification\", \"props\": { \"
|
|
661
|
+
"text": "{ \"title\": \"Identity Verification\", \"props\": { \"states\": { \"status\": \"VERIFICATION:REVIEW\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
663
662
|
"name": "componentState"
|
|
664
663
|
}, {
|
|
665
|
-
"text": "{ \"title\": \"Account Hold\", \"props\": { \"
|
|
664
|
+
"text": "{ \"title\": \"Account Hold\", \"props\": { \"states\": { \"status\": \"HOLD\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
666
665
|
"name": "componentState"
|
|
667
666
|
}],
|
|
668
667
|
"text": ""
|
|
@@ -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
|
-
|
|
710
|
+
return deepmerge({
|
|
712
711
|
states: {
|
|
713
712
|
error: false,
|
|
714
|
-
status:
|
|
713
|
+
status: "INFORMATION_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
|
}
|
|
@@ -3182,11 +3182,10 @@ const PayoutStatusAlert = class {
|
|
|
3182
3182
|
this.errorDescription = "There was an error with determining your payout status.";
|
|
3183
3183
|
/**
|
|
3184
3184
|
* @undocumented
|
|
3185
|
-
* @componentState { "title": "Payout Info Required", "props": { "
|
|
3186
|
-
* @componentState { "title": "Verification Required", "props": { "
|
|
3187
|
-
* @componentState { "title": "Identity Verification", "props": { "
|
|
3188
|
-
* @componentState { "title": "Account Hold", "props": { "
|
|
3189
|
-
|
|
3185
|
+
* @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
3186
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
3187
|
+
* @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
3188
|
+
* @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
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
|
-
|
|
3209
|
+
return cjs({
|
|
3211
3210
|
states: {
|
|
3212
3211
|
error: false,
|
|
3213
|
-
status:
|
|
3212
|
+
status: "INFORMATION_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 `
|