@saasquatch/mint-components 2.0.8-0 → 2.0.8-1
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_47.cjs.entry.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +5 -5
- package/dist/esm/sqm-big-stat_47.entry.js +5 -5
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-affc3c54.system.entry.js → p-1e7f8b73.system.entry.js} +1 -1
- package/dist/mint-components/p-947bacd1.system.js +1 -1
- package/dist/mint-components/{p-83250e7f.entry.js → p-e96a753b.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -3368,17 +3368,17 @@ const PayoutStatusAlert = class {
|
|
|
3368
3368
|
}
|
|
3369
3369
|
};
|
|
3370
3370
|
function useDemoPayoutStatusAlert(props) {
|
|
3371
|
+
var _a;
|
|
3371
3372
|
const states = extractProps.parseStates(props.stateController);
|
|
3372
3373
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3373
3374
|
? { ...prev, ...states[key] }
|
|
3374
3375
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
3375
3376
|
return cjs.cjs({
|
|
3376
3377
|
states: {
|
|
3377
|
-
error: false,
|
|
3378
|
-
status: states.status,
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
veriffLoading: false,
|
|
3378
|
+
error: props.demoData.states.error || false,
|
|
3379
|
+
status: states.status ? states.status : (_a = props.demoData.states) === null || _a === void 0 ? void 0 : _a.status,
|
|
3380
|
+
loading: props.demoData.states.loading || false,
|
|
3381
|
+
veriffLoading: props.demoData.states.veriffLoading || false,
|
|
3382
3382
|
},
|
|
3383
3383
|
data: { type: "SquatchAdmin" },
|
|
3384
3384
|
text: props.getTextProps(),
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -1054,17 +1054,17 @@ export class PayoutStatusAlert {
|
|
|
1054
1054
|
}; }
|
|
1055
1055
|
}
|
|
1056
1056
|
function useDemoPayoutStatusAlert(props) {
|
|
1057
|
+
var _a;
|
|
1057
1058
|
const states = parseStates(props.stateController);
|
|
1058
1059
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
1059
1060
|
? { ...prev, ...states[key] }
|
|
1060
1061
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1061
1062
|
return deepmerge({
|
|
1062
1063
|
states: {
|
|
1063
|
-
error: false,
|
|
1064
|
-
status: states.status,
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
veriffLoading: false,
|
|
1064
|
+
error: props.demoData.states.error || false,
|
|
1065
|
+
status: states.status ? states.status : (_a = props.demoData.states) === null || _a === void 0 ? void 0 : _a.status,
|
|
1066
|
+
loading: props.demoData.states.loading || false,
|
|
1067
|
+
veriffLoading: props.demoData.states.veriffLoading || false,
|
|
1068
1068
|
},
|
|
1069
1069
|
data: { type: "SquatchAdmin" },
|
|
1070
1070
|
text: props.getTextProps(),
|
|
@@ -3364,17 +3364,17 @@ const PayoutStatusAlert = class {
|
|
|
3364
3364
|
}
|
|
3365
3365
|
};
|
|
3366
3366
|
function useDemoPayoutStatusAlert(props) {
|
|
3367
|
+
var _a;
|
|
3367
3368
|
const states = parseStates(props.stateController);
|
|
3368
3369
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3369
3370
|
? { ...prev, ...states[key] }
|
|
3370
3371
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
3371
3372
|
return cjs({
|
|
3372
3373
|
states: {
|
|
3373
|
-
error: false,
|
|
3374
|
-
status: states.status,
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
veriffLoading: false,
|
|
3374
|
+
error: props.demoData.states.error || false,
|
|
3375
|
+
status: states.status ? states.status : (_a = props.demoData.states) === null || _a === void 0 ? void 0 : _a.status,
|
|
3376
|
+
loading: props.demoData.states.loading || false,
|
|
3377
|
+
veriffLoading: props.demoData.states.veriffLoading || false,
|
|
3378
3378
|
},
|
|
3379
3379
|
data: { type: "SquatchAdmin" },
|
|
3380
3380
|
text: props.getTextProps(),
|