@saasquatch/mint-components 2.0.8-7 → 2.0.8
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 +0 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +0 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +0 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -6
- package/dist/esm/sqm-big-stat_47.entry.js +0 -8
- package/dist/esm/sqm-stencilbook.entry.js +0 -2
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-afecb03d.system.entry.js → p-28e23d75.system.entry.js} +1 -1
- package/dist/mint-components/{p-d25af596.entry.js → p-6559d0b2.entry.js} +1 -1
- package/dist/mint-components/p-74a39425.system.entry.js +1 -0
- package/dist/mint-components/p-947bacd1.system.js +1 -1
- package/dist/mint-components/{p-68e1dd26.entry.js → p-e115d0a2.entry.js} +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +0 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/mint-components/p-2a315057.system.entry.js +0 -1
|
@@ -2943,7 +2943,6 @@ const sheet$2 = JSS.createStyleSheet(style$2);
|
|
|
2943
2943
|
const styleString$2 = sheet$2.toString();
|
|
2944
2944
|
function PayoutStatusAlertView(props) {
|
|
2945
2945
|
const { text, states, data, callbacks } = props;
|
|
2946
|
-
console.log("test 123456");
|
|
2947
2946
|
function getAlert(status) {
|
|
2948
2947
|
if (states.error)
|
|
2949
2948
|
return {
|
|
@@ -3177,7 +3176,6 @@ function PayoutStatusAlertView(props) {
|
|
|
3177
3176
|
return index.h("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3178
3177
|
}
|
|
3179
3178
|
const alertDetails = getAlert(states.status);
|
|
3180
|
-
console.log("status is ", states.status, alertDetails);
|
|
3181
3179
|
if (states.status === "DONE" || !alertDetails) {
|
|
3182
3180
|
return index.h("div", null);
|
|
3183
3181
|
}
|
|
@@ -3368,16 +3366,10 @@ const PayoutStatusAlert = class {
|
|
|
3368
3366
|
}
|
|
3369
3367
|
};
|
|
3370
3368
|
function useDemoPayoutStatusAlert(props) {
|
|
3371
|
-
var _a, _b;
|
|
3372
3369
|
const states = extractProps.parseStates(props.stateController);
|
|
3373
3370
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3374
3371
|
? { ...prev, ...states[key] }
|
|
3375
3372
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
3376
|
-
const status = states.status ? states.status : (_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.status;
|
|
3377
|
-
console.log("the value of the status variable is", status);
|
|
3378
|
-
console.log("the value of states.status is ", states.status);
|
|
3379
|
-
console.log("the value of states is ", states);
|
|
3380
|
-
console.log("the value of formatted states is ", formatted);
|
|
3381
3373
|
return cjs.cjs({
|
|
3382
3374
|
states: {
|
|
3383
3375
|
error: false,
|
|
@@ -17015,7 +17015,6 @@ const defaultProps$r = {
|
|
|
17015
17015
|
loading: false,
|
|
17016
17016
|
veriffLoading: false,
|
|
17017
17017
|
};
|
|
17018
|
-
const Test = () => index.h("sqm-payout-status-alert", null);
|
|
17019
17018
|
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$r } }));
|
|
17020
17019
|
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:REQUIRED" } } }));
|
|
17021
17020
|
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:INTERNAL" } } }));
|
|
@@ -17042,7 +17041,6 @@ const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
|
17042
17041
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
17043
17042
|
__proto__: null,
|
|
17044
17043
|
'default': PayoutStatusAlert_stories,
|
|
17045
|
-
Test: Test,
|
|
17046
17044
|
InformationRequired: InformationRequired,
|
|
17047
17045
|
VerifyIdentity: VerifyIdentity,
|
|
17048
17046
|
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js
CHANGED
|
@@ -8,7 +8,6 @@ const defaultProps = {
|
|
|
8
8
|
loading: false,
|
|
9
9
|
veriffLoading: false,
|
|
10
10
|
};
|
|
11
|
-
export const Test = () => h("sqm-payout-status-alert", null);
|
|
12
11
|
export const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps } }));
|
|
13
12
|
export const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:REQUIRED" } } }));
|
|
14
13
|
export const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:INTERNAL" } } }));
|
|
@@ -42,7 +42,6 @@ const sheet = createStyleSheet(style);
|
|
|
42
42
|
const styleString = sheet.toString();
|
|
43
43
|
export function PayoutStatusAlertView(props) {
|
|
44
44
|
const { text, states, data, callbacks } = props;
|
|
45
|
-
console.log("test 123456");
|
|
46
45
|
function getAlert(status) {
|
|
47
46
|
if (states.error)
|
|
48
47
|
return {
|
|
@@ -276,7 +275,6 @@ export function PayoutStatusAlertView(props) {
|
|
|
276
275
|
return h("sl-skeleton", { class: sheet.classes.SkeletonOne });
|
|
277
276
|
}
|
|
278
277
|
const alertDetails = getAlert(states.status);
|
|
279
|
-
console.log("status is ", states.status, alertDetails);
|
|
280
278
|
if (states.status === "DONE" || !alertDetails) {
|
|
281
279
|
return h("div", null);
|
|
282
280
|
}
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -1054,16 +1054,10 @@ export class PayoutStatusAlert {
|
|
|
1054
1054
|
}; }
|
|
1055
1055
|
}
|
|
1056
1056
|
function useDemoPayoutStatusAlert(props) {
|
|
1057
|
-
var _a, _b;
|
|
1058
1057
|
const states = parseStates(props.stateController);
|
|
1059
1058
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
1060
1059
|
? { ...prev, ...states[key] }
|
|
1061
1060
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1062
|
-
const status = states.status ? states.status : (_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.status;
|
|
1063
|
-
console.log("the value of the status variable is", status);
|
|
1064
|
-
console.log("the value of states.status is ", states.status);
|
|
1065
|
-
console.log("the value of states is ", states);
|
|
1066
|
-
console.log("the value of formatted states is ", formatted);
|
|
1067
1061
|
return deepmerge({
|
|
1068
1062
|
states: {
|
|
1069
1063
|
error: false,
|
|
@@ -2939,7 +2939,6 @@ const sheet$2 = createStyleSheet(style$2);
|
|
|
2939
2939
|
const styleString$2 = sheet$2.toString();
|
|
2940
2940
|
function PayoutStatusAlertView(props) {
|
|
2941
2941
|
const { text, states, data, callbacks } = props;
|
|
2942
|
-
console.log("test 123456");
|
|
2943
2942
|
function getAlert(status) {
|
|
2944
2943
|
if (states.error)
|
|
2945
2944
|
return {
|
|
@@ -3173,7 +3172,6 @@ function PayoutStatusAlertView(props) {
|
|
|
3173
3172
|
return h$1("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3174
3173
|
}
|
|
3175
3174
|
const alertDetails = getAlert(states.status);
|
|
3176
|
-
console.log("status is ", states.status, alertDetails);
|
|
3177
3175
|
if (states.status === "DONE" || !alertDetails) {
|
|
3178
3176
|
return h$1("div", null);
|
|
3179
3177
|
}
|
|
@@ -3364,16 +3362,10 @@ const PayoutStatusAlert = class {
|
|
|
3364
3362
|
}
|
|
3365
3363
|
};
|
|
3366
3364
|
function useDemoPayoutStatusAlert(props) {
|
|
3367
|
-
var _a, _b;
|
|
3368
3365
|
const states = parseStates(props.stateController);
|
|
3369
3366
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3370
3367
|
? { ...prev, ...states[key] }
|
|
3371
3368
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
3372
|
-
const status = states.status ? states.status : (_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.status;
|
|
3373
|
-
console.log("the value of the status variable is", status);
|
|
3374
|
-
console.log("the value of states.status is ", states.status);
|
|
3375
|
-
console.log("the value of states is ", states);
|
|
3376
|
-
console.log("the value of formatted states is ", formatted);
|
|
3377
3369
|
return cjs({
|
|
3378
3370
|
states: {
|
|
3379
3371
|
error: false,
|
|
@@ -17011,7 +17011,6 @@ const defaultProps$r = {
|
|
|
17011
17011
|
loading: false,
|
|
17012
17012
|
veriffLoading: false,
|
|
17013
17013
|
};
|
|
17014
|
-
const Test = () => h("sqm-payout-status-alert", null);
|
|
17015
17014
|
const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps$r } }));
|
|
17016
17015
|
const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:REQUIRED" } } }));
|
|
17017
17016
|
const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:INTERNAL" } } }));
|
|
@@ -17038,7 +17037,6 @@ const PaymentReturned = () => (h("sqm-payout-status-alert", { demoData: { states
|
|
|
17038
17037
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
17039
17038
|
__proto__: null,
|
|
17040
17039
|
'default': PayoutStatusAlert_stories,
|
|
17041
|
-
Test: Test,
|
|
17042
17040
|
InformationRequired: InformationRequired,
|
|
17043
17041
|
VerifyIdentity: VerifyIdentity,
|
|
17044
17042
|
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|