@saasquatch/mint-components 2.0.7 → 2.0.8-0
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 +4 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +2 -1
- package/dist/esm/sqm-big-stat_47.entry.js +4 -1
- package/dist/esm/sqm-stencilbook.entry.js +2 -0
- 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-e115d0a2.entry.js → p-68e1dd26.entry.js} +1 -1
- package/dist/mint-components/{p-7468c79e.entry.js → p-83250e7f.entry.js} +1 -1
- package/dist/mint-components/p-947bacd1.system.js +1 -1
- package/dist/mint-components/{p-28e23d75.system.entry.js → p-afecb03d.system.entry.js} +1 -1
- package/dist/mint-components/p-affc3c54.system.entry.js +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/mint-components/p-5cb697b3.system.entry.js +0 -1
|
@@ -2943,6 +2943,7 @@ 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");
|
|
2946
2947
|
function getAlert(status) {
|
|
2947
2948
|
if (states.error)
|
|
2948
2949
|
return {
|
|
@@ -3176,6 +3177,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3176
3177
|
return index.h("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3177
3178
|
}
|
|
3178
3179
|
const alertDetails = getAlert(states.status);
|
|
3180
|
+
console.log("status is ", states.status, alertDetails);
|
|
3179
3181
|
if (states.status === "DONE" || !alertDetails) {
|
|
3180
3182
|
return index.h("div", null);
|
|
3181
3183
|
}
|
|
@@ -3373,7 +3375,8 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
3373
3375
|
return cjs.cjs({
|
|
3374
3376
|
states: {
|
|
3375
3377
|
error: false,
|
|
3376
|
-
status:
|
|
3378
|
+
status: states.status,
|
|
3379
|
+
// status: "INFORMATION_REQUIRED" as const,
|
|
3377
3380
|
loading: false,
|
|
3378
3381
|
veriffLoading: false,
|
|
3379
3382
|
},
|
|
@@ -17015,6 +17015,7 @@ const defaultProps$r = {
|
|
|
17015
17015
|
loading: false,
|
|
17016
17016
|
veriffLoading: false,
|
|
17017
17017
|
};
|
|
17018
|
+
const Test = () => index.h("sqm-payout-status-alert", null);
|
|
17018
17019
|
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$r } }));
|
|
17019
17020
|
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:REQUIRED" } } }));
|
|
17020
17021
|
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:INTERNAL" } } }));
|
|
@@ -17041,6 +17042,7 @@ const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
|
17041
17042
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
17042
17043
|
__proto__: null,
|
|
17043
17044
|
'default': PayoutStatusAlert_stories,
|
|
17045
|
+
Test: Test,
|
|
17044
17046
|
InformationRequired: InformationRequired,
|
|
17045
17047
|
VerifyIdentity: VerifyIdentity,
|
|
17046
17048
|
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js
CHANGED
|
@@ -8,6 +8,7 @@ const defaultProps = {
|
|
|
8
8
|
loading: false,
|
|
9
9
|
veriffLoading: false,
|
|
10
10
|
};
|
|
11
|
+
export const Test = () => h("sqm-payout-status-alert", null);
|
|
11
12
|
export const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps } }));
|
|
12
13
|
export const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:REQUIRED" } } }));
|
|
13
14
|
export const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:INTERNAL" } } }));
|
|
@@ -42,6 +42,7 @@ 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");
|
|
45
46
|
function getAlert(status) {
|
|
46
47
|
if (states.error)
|
|
47
48
|
return {
|
|
@@ -275,6 +276,7 @@ export function PayoutStatusAlertView(props) {
|
|
|
275
276
|
return h("sl-skeleton", { class: sheet.classes.SkeletonOne });
|
|
276
277
|
}
|
|
277
278
|
const alertDetails = getAlert(states.status);
|
|
279
|
+
console.log("status is ", states.status, alertDetails);
|
|
278
280
|
if (states.status === "DONE" || !alertDetails) {
|
|
279
281
|
return h("div", null);
|
|
280
282
|
}
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -1061,7 +1061,8 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
1061
1061
|
return deepmerge({
|
|
1062
1062
|
states: {
|
|
1063
1063
|
error: false,
|
|
1064
|
-
status:
|
|
1064
|
+
status: states.status,
|
|
1065
|
+
// status: "INFORMATION_REQUIRED" as const,
|
|
1065
1066
|
loading: false,
|
|
1066
1067
|
veriffLoading: false,
|
|
1067
1068
|
},
|
|
@@ -2939,6 +2939,7 @@ 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");
|
|
2942
2943
|
function getAlert(status) {
|
|
2943
2944
|
if (states.error)
|
|
2944
2945
|
return {
|
|
@@ -3172,6 +3173,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3172
3173
|
return h$1("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3173
3174
|
}
|
|
3174
3175
|
const alertDetails = getAlert(states.status);
|
|
3176
|
+
console.log("status is ", states.status, alertDetails);
|
|
3175
3177
|
if (states.status === "DONE" || !alertDetails) {
|
|
3176
3178
|
return h$1("div", null);
|
|
3177
3179
|
}
|
|
@@ -3369,7 +3371,8 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
3369
3371
|
return cjs({
|
|
3370
3372
|
states: {
|
|
3371
3373
|
error: false,
|
|
3372
|
-
status:
|
|
3374
|
+
status: states.status,
|
|
3375
|
+
// status: "INFORMATION_REQUIRED" as const,
|
|
3373
3376
|
loading: false,
|
|
3374
3377
|
veriffLoading: false,
|
|
3375
3378
|
},
|
|
@@ -17011,6 +17011,7 @@ const defaultProps$r = {
|
|
|
17011
17011
|
loading: false,
|
|
17012
17012
|
veriffLoading: false,
|
|
17013
17013
|
};
|
|
17014
|
+
const Test = () => h("sqm-payout-status-alert", null);
|
|
17014
17015
|
const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps$r } }));
|
|
17015
17016
|
const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:REQUIRED" } } }));
|
|
17016
17017
|
const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:INTERNAL" } } }));
|
|
@@ -17037,6 +17038,7 @@ const PaymentReturned = () => (h("sqm-payout-status-alert", { demoData: { states
|
|
|
17037
17038
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
17038
17039
|
__proto__: null,
|
|
17039
17040
|
'default': PayoutStatusAlert_stories,
|
|
17041
|
+
Test: Test,
|
|
17040
17042
|
InformationRequired: InformationRequired,
|
|
17041
17043
|
VerifyIdentity: VerifyIdentity,
|
|
17042
17044
|
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|