@saasquatch/mint-components 2.1.8-22 → 2.1.8-24
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/{ShadowViewAddon-643b83e2.js → ShadowViewAddon-1ed8faf9.js} +12 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +4 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +590 -1146
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +37 -7
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +24 -7
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
- package/dist/esm/{ShadowViewAddon-fcb6446a.js → ShadowViewAddon-395ab799.js} +12 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_45.entry.js +4 -4
- package/dist/esm/sqm-stencilbook.entry.js +2773 -3329
- package/dist/esm-es5/{ShadowViewAddon-fcb6446a.js → ShadowViewAddon-395ab799.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.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-3692c0da.system.entry.js → p-2b108f39.system.entry.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-8d7548fb.system.entry.js → p-8e5a6491.system.entry.js} +1 -1
- package/dist/mint-components/{p-04502b80.entry.js → p-ba640335.entry.js} +2 -2
- package/dist/mint-components/{p-0eeb5438.js → p-cd79864c.js} +6 -6
- package/dist/mint-components/{p-5284bb02.system.js → p-d7adb7f3.system.js} +1 -1
- package/dist/mint-components/{p-31757712.entry.js → p-e6cf9daa.entry.js} +2 -2
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -1
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -1
- package/dist/types/components.d.ts +18 -234
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-share-link.cjs.entry.js +0 -271
- package/dist/cjs/useShareLink-1282123e.js +0 -422
- package/dist/cjs/useShareLink-3c22b1b9.js +0 -448
- package/dist/cjs/useShareLink-54e24928.js +0 -448
- package/dist/cjs/useShareLink-b664fbc7.js +0 -450
- package/dist/cjs/useShareLink-bf04b25c.js +0 -450
- package/dist/cjs/useShareLink-e8e2ae6d.js +0 -448
- package/dist/esm/sqm-share-link.entry.js +0 -267
- package/dist/esm/useShareLink-023284f3.js +0 -445
- package/dist/esm/useShareLink-436e9cad.js +0 -445
- package/dist/esm/useShareLink-4ba01373.js +0 -447
- package/dist/esm/useShareLink-79056582.js +0 -445
- package/dist/esm/useShareLink-a3329e33.js +0 -419
- package/dist/esm/useShareLink-bc20ec4c.js +0 -447
- package/dist/esm-es5/sqm-share-link.entry.js +0 -1
- package/dist/esm-es5/useShareLink-023284f3.js +0 -1
- package/dist/esm-es5/useShareLink-436e9cad.js +0 -1
- package/dist/esm-es5/useShareLink-4ba01373.js +0 -1
- package/dist/esm-es5/useShareLink-79056582.js +0 -1
- package/dist/esm-es5/useShareLink-a3329e33.js +0 -1
- package/dist/esm-es5/useShareLink-bc20ec4c.js +0 -1
- package/dist/mint-components/sqm-share-link.entry.js +0 -267
- package/dist/mint-components/sqm-share-link.system.entry.js +0 -1
- package/dist/mint-components/sqm-stencilbook.entry.js +0 -22106
- package/dist/mint-components/sqm-stencilbook.system.entry.js +0 -1
- package/dist/mint-components/useShareLink-023284f3.js +0 -445
- package/dist/mint-components/useShareLink-1d7c9fd8.system.js +0 -1
- package/dist/mint-components/useShareLink-211e061c.system.js +0 -1
- package/dist/mint-components/useShareLink-2de7ffce.system.js +0 -1
- package/dist/mint-components/useShareLink-436e9cad.js +0 -445
- package/dist/mint-components/useShareLink-454939f5.system.js +0 -1
- package/dist/mint-components/useShareLink-4ba01373.js +0 -447
- package/dist/mint-components/useShareLink-79056582.js +0 -445
- package/dist/mint-components/useShareLink-a3329e33.js +0 -419
- package/dist/mint-components/useShareLink-bc20ec4c.js +0 -447
- package/dist/mint-components/useShareLink-c05fe151.system.js +0 -1
- package/dist/mint-components/useShareLink-cb5abd96.system.js +0 -1
|
@@ -2,78 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
require('./global-
|
|
7
|
-
const domContextHooks_module = require('./dom-context-hooks.module-
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
11
|
-
const JSS = require('./JSS-
|
|
12
|
-
require('./
|
|
13
|
-
|
|
14
|
-
require('./
|
|
15
|
-
require('./
|
|
5
|
+
const index = require('./index-8277cbb3.js');
|
|
6
|
+
require('./global-0f8b1267.js');
|
|
7
|
+
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
8
|
+
const index_module = require('./index.module-42d413d9.js');
|
|
9
|
+
require('./cjs-1066ec21.js');
|
|
10
|
+
require('./utils-6847bc06.js');
|
|
11
|
+
const JSS = require('./JSS-8503a151.js');
|
|
12
|
+
require('./useReferralCodes-89c2b972.js');
|
|
13
|
+
require('./mixins-4761d472.js');
|
|
14
|
+
const copyTextView = require('./copy-text-view-bb2c0ea7.js');
|
|
15
|
+
require('./sqm-text-span-view-f274fdf2.js');
|
|
16
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-90cd89e3.js');
|
|
17
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-020f661c.js');
|
|
18
|
+
const GenericTableView = require('./GenericTableView-be5648e4.js');
|
|
19
|
+
require('./useChildElements-89bc50a9.js');
|
|
20
|
+
const luxon = require('./luxon-c1ad356a.js');
|
|
21
|
+
const sqmCloseButtonView = require('./sqm-close-button-view-e9f2a454.js');
|
|
22
|
+
require('./index-8c6255f5.js');
|
|
16
23
|
require('./imageUrl-a7880cab.js');
|
|
17
|
-
require('./
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
require('./
|
|
25
|
-
require('./
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
require('./
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
require('./
|
|
33
|
-
const
|
|
34
|
-
require('./useReferralCodes-4304f68f.js');
|
|
35
|
-
const sqmBigStatView = require('./sqm-big-stat-view-b695364f.js');
|
|
36
|
-
const useShareButton = require('./useShareButton-51b74885.js');
|
|
37
|
-
const copyTextView = require('./copy-text-view-fd17b89a.js');
|
|
38
|
-
const sqmPortalSectionView = require('./sqm-portal-section-view-f9b0ae2c.js');
|
|
39
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-39599a6d.js');
|
|
40
|
-
const sqmStatContainerView = require('./sqm-stat-container-view-731eadab.js');
|
|
41
|
-
const sqmPortalChangePasswordView = require('./sqm-portal-change-password-view-aa777a10.js');
|
|
42
|
-
const sqmPortalFooterView = require('./sqm-portal-footer-view-9d4a593d.js');
|
|
43
|
-
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-a08708f4.js');
|
|
44
|
-
require('./useChildElements-708e8262.js');
|
|
45
|
-
const useDemoBigStat = require('./useDemoBigStat-4fb173ba.js');
|
|
46
|
-
const sqmCardFeedView = require('./sqm-card-feed-view-46b4a93a.js');
|
|
47
|
-
const luxon = require('./luxon-99375875.js');
|
|
48
|
-
const sqmTaskCardView = require('./sqm-task-card-view-34f94a28.js');
|
|
49
|
-
const sqmPortalRegisterView = require('./sqm-portal-register-view-c04ac7eb.js');
|
|
50
|
-
const sqmCheckboxFieldView = require('./sqm-checkbox-field-view-09bcdb50.js');
|
|
51
|
-
const sqmCouponCodeView = require('./sqm-coupon-code-view-7a7ca5bb.js');
|
|
52
|
-
const sqmDropdownFieldView = require('./sqm-dropdown-field-view-e8493bb3.js');
|
|
53
|
-
const sqmEditProfileView = require('./sqm-edit-profile-view-2eb33fff.js');
|
|
54
|
-
const ShadowViewAddon = require('./ShadowViewAddon-bb6d86c8.js');
|
|
55
|
-
const sqmHeroView = require('./sqm-hero-view-b48fa1bd.js');
|
|
56
|
-
const sqmInputFieldView = require('./sqm-input-field-view-2268467f.js');
|
|
57
|
-
const GenericTableView = require('./GenericTableView-6ca805d1.js');
|
|
58
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-31892cf3.js');
|
|
59
|
-
const sqmNameFieldsView = require('./sqm-name-fields-view-98361d92.js');
|
|
60
|
-
const sqmPortalChangeMarketingView = require('./sqm-portal-change-marketing-view-8961e575.js');
|
|
61
|
-
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-3ff8e40d.js');
|
|
62
|
-
const sqmPortalFrameView = require('./sqm-portal-frame-view-d07af74c.js');
|
|
63
|
-
const sqmPortalLoginView = require('./sqm-portal-login-view-f5ac5571.js');
|
|
64
|
-
const sqmReferralIframeView = require('./sqm-referral-iframe-view-ad358e47.js');
|
|
65
|
-
const RewardExchangeListData = require('./RewardExchangeListData-7d1aff90.js');
|
|
66
|
-
const useShareLink = require('./useShareLink-1282123e.js');
|
|
67
|
-
const LoadingView = require('./LoadingView-a567e2eb.js');
|
|
68
|
-
const subregions = require('./subregions-d43680d2.js');
|
|
69
|
-
const utils = require('./utils-a63cf4f4.js');
|
|
70
|
-
require('./countries-473a6e62.js');
|
|
71
|
-
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-d8458b7b.js');
|
|
72
|
-
const sqmLeadFormView = require('./sqm-lead-form-view-21432255.js');
|
|
73
|
-
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-2569b521.js');
|
|
74
|
-
const sqmLeadDropdownFieldView = require('./sqm-lead-dropdown-field-view-07e55fbc.js');
|
|
75
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-68d199ec.js');
|
|
76
|
-
const Themes = require('./Themes-77883dd2.js');
|
|
24
|
+
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
25
|
+
const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-d90f8941.js');
|
|
26
|
+
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-67fd7934.js');
|
|
27
|
+
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-f330d641.js');
|
|
28
|
+
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-6616e3e0.js');
|
|
29
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-20693e59.js');
|
|
30
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-2b4b92da.js');
|
|
31
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-bfdbb98d.js');
|
|
32
|
+
require('./utilities-096934ea.js');
|
|
33
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-6b1acd90.js');
|
|
34
|
+
require('./ErrorView-ee7b0f36.js');
|
|
35
|
+
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-1ed8faf9.js');
|
|
37
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
|
|
38
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-93e996d6.js');
|
|
39
|
+
const data = require('./data-e83f8a41.js');
|
|
40
|
+
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-818d9e9a.js');
|
|
77
41
|
|
|
78
42
|
/**
|
|
79
43
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -727,7 +691,7 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
727
691
|
_this.tags.push(tag);
|
|
728
692
|
};
|
|
729
693
|
|
|
730
|
-
this.isSpeedy = options.speedy === undefined ? "
|
|
694
|
+
this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy;
|
|
731
695
|
this.tags = [];
|
|
732
696
|
this.ctr = 0;
|
|
733
697
|
this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
|
|
@@ -754,18 +718,6 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
754
718
|
|
|
755
719
|
var tag = this.tags[this.tags.length - 1];
|
|
756
720
|
|
|
757
|
-
if ("development" !== 'production') {
|
|
758
|
-
var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
|
|
759
|
-
|
|
760
|
-
if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
|
|
761
|
-
// this would only cause problem in speedy mode
|
|
762
|
-
// but we don't want enabling speedy to affect the observable behavior
|
|
763
|
-
// so we report this error at all times
|
|
764
|
-
console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
|
|
765
|
-
}
|
|
766
|
-
this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
721
|
if (this.isSpeedy) {
|
|
770
722
|
var sheet = sheetForTag(tag);
|
|
771
723
|
|
|
@@ -774,9 +726,6 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
774
726
|
// the big drawback is that the css won't be editable in devtools
|
|
775
727
|
sheet.insertRule(rule, sheet.cssRules.length);
|
|
776
728
|
} catch (e) {
|
|
777
|
-
if ("development" !== 'production' && !/:(-moz-placeholder|-ms-input-placeholder|-moz-read-write|-moz-read-only){/.test(rule)) {
|
|
778
|
-
console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
|
|
779
|
-
}
|
|
780
729
|
}
|
|
781
730
|
} else {
|
|
782
731
|
tag.appendChild(document.createTextNode(rule));
|
|
@@ -792,31 +741,12 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
792
741
|
});
|
|
793
742
|
this.tags = [];
|
|
794
743
|
this.ctr = 0;
|
|
795
|
-
|
|
796
|
-
if ("development" !== 'production') {
|
|
797
|
-
this._alreadyInsertedOrderInsensitiveRule = false;
|
|
798
|
-
}
|
|
799
744
|
};
|
|
800
745
|
|
|
801
746
|
return StyleSheet;
|
|
802
747
|
}();
|
|
803
748
|
|
|
804
|
-
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var
|
|
805
|
-
|
|
806
|
-
var weakMemoize = function weakMemoize(func) {
|
|
807
|
-
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
808
|
-
var cache = new WeakMap();
|
|
809
|
-
return function (arg) {
|
|
810
|
-
if (cache.has(arg)) {
|
|
811
|
-
// $FlowFixMe
|
|
812
|
-
return cache.get(arg);
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
var ret = func(arg);
|
|
816
|
-
cache.set(arg, ret);
|
|
817
|
-
return ret;
|
|
818
|
-
};
|
|
819
|
-
};
|
|
749
|
+
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x(e,r){return (e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join("")}var q=1;var B=1;var D=0;var E=0;var F=0;var G="";function H(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:""}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E>0?z(G,--E):0;if(B--,F===10)B=1,q--;return F}function L(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function N(){return z(G,E)}function P(){return E}function Q(e,r){return C(G,e,r)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return q=B=1,D=A(G=e),E=0,[]}function U(e){return G="",e}function V(e){return g(Q(E-1,_(e===91?e+2:e===40?e+1:e)))}function X(e){while(F=N())if(F<33)L();else break;return R(e)>2||R(F)>3?"":" "}function Z(e,r){while(--r&&L())if(F<48||F>102||F>57&&F<65||F>70&&F<97)break;return Q(e,P()+(r<6&&N()==32&&L()==32))}function _(e){while(L())switch(F){case e:return E;case 34:case 39:return _(e===34||e===39?e:F);case 40:if(e===41)_(e);break;case 92:L();break}return E}function ee(e,r){while(L())if(e+F===47+10)break;else if(e+F===42+42&&N()===47)break;return "/*"+Q(r,E-1)+"*"+d(e===47?e:L())}function re(e){while(!R(N()))L();return Q(e,E)}function ae(e){return U(ce("",null,null,null,[""],e=T(e),0,[0],e))}function ce(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var m="";var g=n;var x=t;var j=c;var z=m;while(w)switch(p=k,k=L()){case 34:case 39:case 91:case 40:z+=V(k);break;case 9:case 10:case 13:case 32:z+=X(p);break;case 92:z+=Z(P()-1,7);continue;case 47:switch(N()){case 42:case 47:O(te(ee(L(),P()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=A(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&A(z)-l)O(h>32?se(z+";",c,a,l-1):se(y(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:O(j=ne(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)ce(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:ce(e,j,j,c&&O(ne(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:ce(z,j,j,j,[""],x,l,u,x);}}f=o=h=0,b=$=1,m=z="",l=s;break;case 58:l=1+A(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&K()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(N()===45)z+=V(L());v=N(),o=A(m=z+=re(P())),k++;break;case 45:if(p===45&&A(z)==2)b=0;}}return t}function ne(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,m=C(e,v+1,v=k(w=u[b])),x=e;d<p;++d)if(x=g(w>0?h[d]+" "+m:y(m,/&\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function te(e,r,a){return H(e,r,a,c,d(J()),C(e,2,-2),0)}function se(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function ue(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+y(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+y(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+y(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+y(c,"shrink","negative")+c;case 5292:return a+c+e+y(c,"basis","preferred-size")+c;case 6060:return a+"box-"+y(c,"-grow","")+a+c+e+y(c,"grow","positive")+c;case 4554:return a+y(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return y(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return y(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~j(c,"stretch")?ue(y(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,"!important")&&10))){case 107:return y(c,":",":"+a)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function ie(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function fe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case n:e.value=e.props.join(",");}return A(a=ie(e.children,s))?e.return=e.value+"{"+a+"}":""}function oe(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function le(e){return function(r){if(!r.root)if(r=r.return)e(r);}}function ve(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=ue(c.value,c.length);break;case p:return ie([I(y(c.value,"@","@"+a),c,"")],i);case n:if(c.length)return S(c.props,(function(n){switch(x(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([I(y(n,/:(read-\w+)/,":"+r+"$1"),c,"")],i);case"::placeholder":return ie([I(y(n,/:(plac\w+)/,":"+a+"input-$1"),c,""),I(y(n,/:(plac\w+)/,":"+r+"$1"),c,""),I(y(n,/:(plac\w+)/,e+"input-$1"),c,"")],i)}return ""}))}}
|
|
820
750
|
|
|
821
751
|
function memoize(fn) {
|
|
822
752
|
var cache = Object.create(null);
|
|
@@ -826,10 +756,6 @@ function memoize(fn) {
|
|
|
826
756
|
};
|
|
827
757
|
}
|
|
828
758
|
|
|
829
|
-
var last = function last(arr) {
|
|
830
|
-
return arr.length ? arr[arr.length - 1] : null;
|
|
831
|
-
};
|
|
832
|
-
|
|
833
759
|
var toRules = function toRules(parsed, points) {
|
|
834
760
|
// pretend we've started with a comma
|
|
835
761
|
var index = -1;
|
|
@@ -931,79 +857,12 @@ var removeLabel = function removeLabel(element) {
|
|
|
931
857
|
}
|
|
932
858
|
}
|
|
933
859
|
};
|
|
934
|
-
var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
|
|
935
|
-
|
|
936
|
-
var isIgnoringComment = function isIgnoringComment(element) {
|
|
937
|
-
return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
|
|
938
|
-
};
|
|
939
|
-
|
|
940
|
-
var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
|
|
941
|
-
return function (element, index, children) {
|
|
942
|
-
if (element.type !== 'rule') return;
|
|
943
|
-
var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
944
|
-
|
|
945
|
-
if (unsafePseudoClasses && cache.compat !== true) {
|
|
946
|
-
var prevElement = index > 0 ? children[index - 1] : null;
|
|
947
|
-
|
|
948
|
-
if (prevElement && isIgnoringComment(last(prevElement.children))) {
|
|
949
|
-
return;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
unsafePseudoClasses.forEach(function (unsafePseudoClass) {
|
|
953
|
-
console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
|
|
954
|
-
});
|
|
955
|
-
}
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
|
|
959
|
-
var isImportRule = function isImportRule(element) {
|
|
960
|
-
return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
|
|
961
|
-
};
|
|
962
|
-
|
|
963
|
-
var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
|
|
964
|
-
for (var i = index - 1; i >= 0; i--) {
|
|
965
|
-
if (!isImportRule(children[i])) {
|
|
966
|
-
return true;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
return false;
|
|
971
|
-
}; // use this to remove incorrect elements from further processing
|
|
972
|
-
// so they don't get handed to the `sheet` (or anything else)
|
|
973
|
-
// as that could potentially lead to additional logs which in turn could be overhelming to the user
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
var nullifyElement = function nullifyElement(element) {
|
|
977
|
-
element.type = '';
|
|
978
|
-
element.value = '';
|
|
979
|
-
element["return"] = '';
|
|
980
|
-
element.children = '';
|
|
981
|
-
element.props = '';
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
|
|
985
|
-
if (!isImportRule(element)) {
|
|
986
|
-
return;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
if (element.parent) {
|
|
990
|
-
console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
|
|
991
|
-
nullifyElement(element);
|
|
992
|
-
} else if (isPrependedWithRegularRules(index, children)) {
|
|
993
|
-
console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
|
|
994
|
-
nullifyElement(element);
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
860
|
|
|
998
861
|
var defaultStylisPlugins = [ve];
|
|
999
862
|
|
|
1000
863
|
var createCache = function createCache(options) {
|
|
1001
864
|
var key = options.key;
|
|
1002
865
|
|
|
1003
|
-
if ("development" !== 'production' && !key) {
|
|
1004
|
-
throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
866
|
if ( key === 'css') {
|
|
1008
867
|
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
|
|
1009
868
|
// document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
|
|
@@ -1029,13 +888,6 @@ var createCache = function createCache(options) {
|
|
|
1029
888
|
|
|
1030
889
|
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
|
|
1031
890
|
|
|
1032
|
-
if ("development" !== 'production') {
|
|
1033
|
-
// $FlowFixMe
|
|
1034
|
-
if (/[^a-z-]/.test(key)) {
|
|
1035
|
-
throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
891
|
var inserted = {}; // $FlowFixMe
|
|
1040
892
|
|
|
1041
893
|
var container;
|
|
@@ -1060,28 +912,9 @@ var createCache = function createCache(options) {
|
|
|
1060
912
|
|
|
1061
913
|
var omnipresentPlugins = [compat, removeLabel];
|
|
1062
914
|
|
|
1063
|
-
if ("development" !== 'production') {
|
|
1064
|
-
omnipresentPlugins.push(createUnsafeSelectorsAlarm({
|
|
1065
|
-
get compat() {
|
|
1066
|
-
return cache.compat;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
}), incorrectImportAlarm);
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
915
|
{
|
|
1073
916
|
var currentSheet;
|
|
1074
|
-
var finalizingPlugins = [fe,
|
|
1075
|
-
if (!element.root) {
|
|
1076
|
-
if (element["return"]) {
|
|
1077
|
-
currentSheet.insert(element["return"]);
|
|
1078
|
-
} else if (element.value && element.type !== c) {
|
|
1079
|
-
// insert empty rule in non-production environments
|
|
1080
|
-
// so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
|
|
1081
|
-
currentSheet.insert(element.value + "{}");
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
} : le(function (rule) {
|
|
917
|
+
var finalizingPlugins = [fe, le(function (rule) {
|
|
1085
918
|
currentSheet.insert(rule);
|
|
1086
919
|
})];
|
|
1087
920
|
var serializer = oe(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
@@ -1093,14 +926,6 @@ var createCache = function createCache(options) {
|
|
|
1093
926
|
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
1094
927
|
currentSheet = sheet;
|
|
1095
928
|
|
|
1096
|
-
if ("development" !== 'production' && serialized.map !== undefined) {
|
|
1097
|
-
currentSheet = {
|
|
1098
|
-
insert: function insert(rule) {
|
|
1099
|
-
sheet.insert(rule + serialized.map);
|
|
1100
|
-
}
|
|
1101
|
-
};
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
929
|
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
1105
930
|
|
|
1106
931
|
if (shouldCache) {
|
|
@@ -1230,8 +1055,6 @@ var unitlessKeys = {
|
|
|
1230
1055
|
strokeWidth: 1
|
|
1231
1056
|
};
|
|
1232
1057
|
|
|
1233
|
-
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
|
1234
|
-
var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
|
|
1235
1058
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
1236
1059
|
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
1237
1060
|
|
|
@@ -1272,43 +1095,12 @@ var processStyleValue = function processStyleValue(key, value) {
|
|
|
1272
1095
|
return value;
|
|
1273
1096
|
};
|
|
1274
1097
|
|
|
1275
|
-
if ("development" !== 'production') {
|
|
1276
|
-
var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
|
|
1277
|
-
var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
|
|
1278
|
-
var oldProcessStyleValue = processStyleValue;
|
|
1279
|
-
var msPattern = /^-ms-/;
|
|
1280
|
-
var hyphenPattern = /-(.)/g;
|
|
1281
|
-
var hyphenatedCache = {};
|
|
1282
|
-
|
|
1283
|
-
processStyleValue = function processStyleValue(key, value) {
|
|
1284
|
-
if (key === 'content') {
|
|
1285
|
-
if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
|
|
1286
|
-
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
var processed = oldProcessStyleValue(key, value);
|
|
1291
|
-
|
|
1292
|
-
if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
|
|
1293
|
-
hyphenatedCache[key] = true;
|
|
1294
|
-
console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
|
|
1295
|
-
return _char.toUpperCase();
|
|
1296
|
-
}) + "?");
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
return processed;
|
|
1300
|
-
};
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
1098
|
function handleInterpolation(mergedProps, registered, interpolation) {
|
|
1304
1099
|
if (interpolation == null) {
|
|
1305
1100
|
return '';
|
|
1306
1101
|
}
|
|
1307
1102
|
|
|
1308
1103
|
if (interpolation.__emotion_styles !== undefined) {
|
|
1309
|
-
if ("development" !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
|
|
1310
|
-
throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
|
|
1311
|
-
}
|
|
1312
1104
|
|
|
1313
1105
|
return interpolation;
|
|
1314
1106
|
}
|
|
@@ -1348,10 +1140,6 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1348
1140
|
|
|
1349
1141
|
var styles = interpolation.styles + ";";
|
|
1350
1142
|
|
|
1351
|
-
if ("development" !== 'production' && interpolation.map !== undefined) {
|
|
1352
|
-
styles += interpolation.map;
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
1143
|
return styles;
|
|
1356
1144
|
}
|
|
1357
1145
|
|
|
@@ -1365,28 +1153,10 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1365
1153
|
var result = interpolation(mergedProps);
|
|
1366
1154
|
cursor = previousCursor;
|
|
1367
1155
|
return handleInterpolation(mergedProps, registered, result);
|
|
1368
|
-
} else if ("development" !== 'production') {
|
|
1369
|
-
console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
|
|
1370
1156
|
}
|
|
1371
1157
|
|
|
1372
1158
|
break;
|
|
1373
1159
|
}
|
|
1374
|
-
|
|
1375
|
-
case 'string':
|
|
1376
|
-
if ("development" !== 'production') {
|
|
1377
|
-
var matched = [];
|
|
1378
|
-
var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
|
|
1379
|
-
var fakeVarName = "animation" + matched.length;
|
|
1380
|
-
matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
|
|
1381
|
-
return "${" + fakeVarName + "}";
|
|
1382
|
-
});
|
|
1383
|
-
|
|
1384
|
-
if (matched.length) {
|
|
1385
|
-
console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
break;
|
|
1390
1160
|
} // finalize string values (regular strings and functions interpolated into css calls)
|
|
1391
1161
|
|
|
1392
1162
|
|
|
@@ -1416,7 +1186,7 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1416
1186
|
string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
|
|
1417
1187
|
}
|
|
1418
1188
|
} else {
|
|
1419
|
-
if (_key === 'NO_COMPONENT_SELECTOR' && "
|
|
1189
|
+
if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {
|
|
1420
1190
|
throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
|
|
1421
1191
|
}
|
|
1422
1192
|
|
|
@@ -1439,9 +1209,6 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1439
1209
|
|
|
1440
1210
|
default:
|
|
1441
1211
|
{
|
|
1442
|
-
if ("development" !== 'production' && _key === 'undefined') {
|
|
1443
|
-
console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
|
|
1444
|
-
}
|
|
1445
1212
|
|
|
1446
1213
|
string += _key + "{" + interpolated + "}";
|
|
1447
1214
|
}
|
|
@@ -1455,11 +1222,6 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1455
1222
|
}
|
|
1456
1223
|
|
|
1457
1224
|
var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
|
|
1458
|
-
var sourceMapPattern;
|
|
1459
|
-
|
|
1460
|
-
if ("development" !== 'production') {
|
|
1461
|
-
sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
|
|
1462
|
-
} // this is the cursor for keyframes
|
|
1463
1225
|
// keyframes are stored on the SerializedStyles object as a linked list
|
|
1464
1226
|
|
|
1465
1227
|
|
|
@@ -1478,9 +1240,6 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
1478
1240
|
stringMode = false;
|
|
1479
1241
|
styles += handleInterpolation(mergedProps, registered, strings);
|
|
1480
1242
|
} else {
|
|
1481
|
-
if ("development" !== 'production' && strings[0] === undefined) {
|
|
1482
|
-
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
1483
|
-
}
|
|
1484
1243
|
|
|
1485
1244
|
styles += strings[0];
|
|
1486
1245
|
} // we start at 1 since we've already handled the first arg
|
|
@@ -1490,23 +1249,11 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
1490
1249
|
styles += handleInterpolation(mergedProps, registered, args[i]);
|
|
1491
1250
|
|
|
1492
1251
|
if (stringMode) {
|
|
1493
|
-
if ("development" !== 'production' && strings[i] === undefined) {
|
|
1494
|
-
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
1495
|
-
}
|
|
1496
1252
|
|
|
1497
1253
|
styles += strings[i];
|
|
1498
1254
|
}
|
|
1499
1255
|
}
|
|
1500
1256
|
|
|
1501
|
-
var sourceMap;
|
|
1502
|
-
|
|
1503
|
-
if ("development" !== 'production') {
|
|
1504
|
-
styles = styles.replace(sourceMapPattern, function (match) {
|
|
1505
|
-
sourceMap = match;
|
|
1506
|
-
return '';
|
|
1507
|
-
});
|
|
1508
|
-
} // using a global regex with .exec is stateful so lastIndex has to be reset each time
|
|
1509
|
-
|
|
1510
1257
|
|
|
1511
1258
|
labelPattern.lastIndex = 0;
|
|
1512
1259
|
var identifierName = '';
|
|
@@ -1519,19 +1266,6 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
1519
1266
|
|
|
1520
1267
|
var name = murmur2(styles) + identifierName;
|
|
1521
1268
|
|
|
1522
|
-
if ("development" !== 'production') {
|
|
1523
|
-
// $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
|
|
1524
|
-
return {
|
|
1525
|
-
name: name,
|
|
1526
|
-
styles: styles,
|
|
1527
|
-
map: sourceMap,
|
|
1528
|
-
next: cursor,
|
|
1529
|
-
toString: function toString() {
|
|
1530
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1531
|
-
}
|
|
1532
|
-
};
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
1269
|
return {
|
|
1536
1270
|
name: name,
|
|
1537
1271
|
styles: styles,
|
|
@@ -1599,9 +1333,6 @@ var createEmotion = function createEmotion(options) {
|
|
|
1599
1333
|
var cache = createCache(options); // $FlowFixMe
|
|
1600
1334
|
|
|
1601
1335
|
cache.sheet.speedy = function (value) {
|
|
1602
|
-
if ("development" !== 'production' && this.ctr !== 0) {
|
|
1603
|
-
throw new Error('speedy must be changed before any rules are inserted');
|
|
1604
|
-
}
|
|
1605
1336
|
|
|
1606
1337
|
this.isSpeedy = value;
|
|
1607
1338
|
};
|
|
@@ -1720,18 +1451,9 @@ var classnames = function classnames(args) {
|
|
|
1720
1451
|
var _createEmotion = createEmotion({
|
|
1721
1452
|
key: 'css'
|
|
1722
1453
|
}),
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
merge$1 = _createEmotion.merge,
|
|
1727
|
-
getRegisteredStyles$1 = _createEmotion.getRegisteredStyles,
|
|
1728
|
-
injectGlobal = _createEmotion.injectGlobal,
|
|
1729
|
-
keyframes = _createEmotion.keyframes,
|
|
1730
|
-
css = _createEmotion.css,
|
|
1731
|
-
sheet = _createEmotion.sheet,
|
|
1732
|
-
cache = _createEmotion.cache;
|
|
1733
|
-
|
|
1734
|
-
function i$1(){return (i$1=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function a$1(n,t){return t||(t=n.slice(0)),n.raw=t,n}var l$1,s$1,u$1,c$1=css(l$1||(l$1=a$1(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function d$1(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i$1({},n,((o={})[e]=[].concat(n[e]||[],[{story:i$1({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function p$1(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f$1(n,t){var o,r;if(n){var e=decodeURIComponent(n).split("-"),i=e[1],a=e[2],l=null==t||null==(o=t[e[0]])?void 0:o.find(function(n){return n.story.title===i}),s=null==l||null==(r=l.subs)?void 0:r[a],u={key:n,story:s,parent:null==l?void 0:l.story,label:null==s?void 0:s.name};return u.key&&u.story&&u.parent&&u.label?u:void 0}}function y$1(l,y){var m=y.h,g=void 0===m?index.h:m,b=y.title,x=void 0===b?"Stencilbook":b,h=y.homepage,v=void 0===h?g("h3",null,"Select a story!"):h,w=y.addons,k=void 0===w?[]:w,S=domContextHooks_module.useMemo(function(){return l.map(p$1).reduce(d$1,{_:[]})},l),C=decodeURIComponent(window.location.hash).replace("#",""),z=domContextHooks_module.useState(f$1(C,S)),O=z[0],j=z[1],I=null==O?void 0:O.key,R=domContextHooks_module.useState(!0),U=R[0],_=R[1],B=domContextHooks_module.useState(!1),L=B[0],T=B[1],q=function(){return g("div",{class:"dynamic-display-wrapper"},g("button",{class:L?"active":"",onClick:function(){return T(function(n){return !n})}},"Toggle Dark Background"),g("button",{class:U?"active":"",onClick:function(){return _(function(n){return !n})}},"Toggle Sidebar"))},A=css(s$1||(s$1=a$1(["\n max-width: ",";\n margin-left: ",";\n "])),"1124px",U?"250px":"0px"),D=css(u$1||(u$1=a$1(["\n display: none;\n "])));document.body.style.backgroundColor=L?"#232323":"#fafafa";var N=function(n){var t=n.selected,o=k.reduce(function(n,o){return function(){return g(o,{story:i$1({},t)},g(n,null))}},null==t?void 0:t.story);return g(o,null)},P=function(){return g("div",{class:"story-book-outer-div"},g("div",{class:"story-div "+(U?"":D)},g("div",{class:"header",onClick:function(){j(void 0);}},g("h2",null,x)),g("ul",{class:"parentStoryList"},Object.keys(S).sort().map(function(n){return g("div",{class:"group-wrapper"},"_"!==n&&g("h4",{class:"group-header"},n),S[n].map(function(t){return g("li",{class:"parentStory"},g("details",{style:{marginBottom:"10px"}},g("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"-"+t.story.title+"-"+o,i=t.subs[o].storyName||lodash_startcase(o);return g("div",{class:"subStory "+(I===e?"selected":"")},g("a",{onClick:function(){return function(n){window.location.hash=encodeURIComponent(n),j(f$1(n,S));}(e)}},i))})))}))}))),g(q,null),g("div",{class:"component "+A},!I&&v,I&&g("div",null,g("h3",null,O.label),g(N,{selected:O}))))};return {class:c$1,children:g(P,null),View:P,selected:O}}
|
|
1454
|
+
css = _createEmotion.css;
|
|
1455
|
+
|
|
1456
|
+
function i$1(){return (i$1=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function a$1(n,t){return t||(t=n.slice(0)),n.raw=t,n}var l,s,u,c$1=css(l||(l=a$1(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function d$1(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i$1({},n,((o={})[e]=[].concat(n[e]||[],[{story:i$1({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function p$1(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f(n,t){var o,r;if(n){var e=decodeURIComponent(n).split("-"),i=e[1],a=e[2],l=null==t||null==(o=t[e[0]])?void 0:o.find(function(n){return n.story.title===i}),s=null==l||null==(r=l.subs)?void 0:r[a],u={key:n,story:s,parent:null==l?void 0:l.story,label:null==s?void 0:s.name};return u.key&&u.story&&u.parent&&u.label?u:void 0}}function y$1(l,y){var m=y.h,g=void 0===m?index.h:m,b=y.title,x=void 0===b?"Stencilbook":b,h=y.homepage,v=void 0===h?g("h3",null,"Select a story!"):h,w=y.addons,k=void 0===w?[]:w,S=domContextHooks_module.useMemo(function(){return l.map(p$1).reduce(d$1,{_:[]})},l),C=decodeURIComponent(window.location.hash).replace("#",""),z=domContextHooks_module.useState(f(C,S)),O=z[0],j=z[1],I=null==O?void 0:O.key,R=domContextHooks_module.useState(!0),U=R[0],_=R[1],B=domContextHooks_module.useState(!1),L=B[0],T=B[1],q=function(){return g("div",{class:"dynamic-display-wrapper"},g("button",{class:L?"active":"",onClick:function(){return T(function(n){return !n})}},"Toggle Dark Background"),g("button",{class:U?"active":"",onClick:function(){return _(function(n){return !n})}},"Toggle Sidebar"))},A=css(s||(s=a$1(["\n max-width: ",";\n margin-left: ",";\n "])),"1124px",U?"250px":"0px"),D=css(u||(u=a$1(["\n display: none;\n "])));document.body.style.backgroundColor=L?"#232323":"#fafafa";var N=function(n){var t=n.selected,o=k.reduce(function(n,o){return function(){return g(o,{story:i$1({},t)},g(n,null))}},null==t?void 0:t.story);return g(o,null)},P=function(){return g("div",{class:"story-book-outer-div"},g("div",{class:"story-div "+(U?"":D)},g("div",{class:"header",onClick:function(){j(void 0);}},g("h2",null,x)),g("ul",{class:"parentStoryList"},Object.keys(S).sort().map(function(n){return g("div",{class:"group-wrapper"},"_"!==n&&g("h4",{class:"group-header"},n),S[n].map(function(t){return g("li",{class:"parentStory"},g("details",{style:{marginBottom:"10px"}},g("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"-"+t.story.title+"-"+o,i=t.subs[o].storyName||lodash_startcase(o);return g("div",{class:"subStory "+(I===e?"selected":"")},g("a",{onClick:function(){return function(n){window.location.hash=encodeURIComponent(n),j(f(n,S));}(e)}},i))})))}))}))),g(q,null),g("div",{class:"component "+A},!I&&v,I&&g("div",null,g("h3",null,O.label),g(N,{selected:O}))))};return {class:c$1,children:g(P,null),View:P,selected:O}}
|
|
1735
1457
|
|
|
1736
1458
|
const NewPortal_stories = {
|
|
1737
1459
|
title: "New Portal",
|
|
@@ -1742,8 +1464,8 @@ const style = {
|
|
|
1742
1464
|
"text-decoration": "underline",
|
|
1743
1465
|
},
|
|
1744
1466
|
};
|
|
1745
|
-
const sheet
|
|
1746
|
-
const styleString = sheet
|
|
1467
|
+
const sheet = JSS.createStyleSheet(style);
|
|
1468
|
+
const styleString = sheet.toString();
|
|
1747
1469
|
const item1Props = {
|
|
1748
1470
|
states: {
|
|
1749
1471
|
active: false,
|
|
@@ -1828,7 +1550,7 @@ const Dashboard = () => {
|
|
|
1828
1550
|
index.h(Sidebar, null),
|
|
1829
1551
|
index.h("sqm-divided-layout", { direction: "column" },
|
|
1830
1552
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1831
|
-
index.h(
|
|
1553
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1832
1554
|
labelMargin: "xx-small",
|
|
1833
1555
|
padding: "none",
|
|
1834
1556
|
label: (index.h("sqm-text", null,
|
|
@@ -1836,13 +1558,13 @@ const Dashboard = () => {
|
|
|
1836
1558
|
content: (index.h("sqm-text", null,
|
|
1837
1559
|
index.h("h1", null, "John Smith"))),
|
|
1838
1560
|
})),
|
|
1839
|
-
index.h(
|
|
1840
|
-
index.h(
|
|
1841
|
-
index.h(
|
|
1842
|
-
index.h(
|
|
1843
|
-
index.h(
|
|
1561
|
+
index.h(ShadowViewAddon.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1562
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "2,345", value: 234500, loading: false }), "Clicks"),
|
|
1563
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "58", value: 58, loading: false }), "Referrals"),
|
|
1564
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "$10,540", value: 1054000, loading: false }), "Earned"),
|
|
1565
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "$2,305", value: 230500, loading: false }), "Awaiting Payout"))),
|
|
1844
1566
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1845
|
-
index.h(
|
|
1567
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1846
1568
|
labelMargin: "x-large",
|
|
1847
1569
|
padding: "none",
|
|
1848
1570
|
label: (index.h("sqm-text", null,
|
|
@@ -1850,21 +1572,21 @@ const Dashboard = () => {
|
|
|
1850
1572
|
content: (index.h("sqm-text", null,
|
|
1851
1573
|
index.h("p", null, "Get rewarded for referring potential customers to MyCompany. Earn commission for each successful lead you send our way"))),
|
|
1852
1574
|
})),
|
|
1853
|
-
index.h(
|
|
1575
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1854
1576
|
labelMargin: "small",
|
|
1855
1577
|
padding: "none",
|
|
1856
1578
|
label: (index.h("sqm-text", null,
|
|
1857
1579
|
index.h("h3", null, "Share your referral link"))),
|
|
1858
1580
|
content: index.h(copyTextView.CopyTextView, Object.assign({}, sharelinkProps)),
|
|
1859
1581
|
})),
|
|
1860
|
-
index.h(
|
|
1582
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1861
1583
|
labelMargin: "small",
|
|
1862
1584
|
padding: "none",
|
|
1863
1585
|
label: (index.h("sqm-text", null,
|
|
1864
1586
|
index.h("h3", null, "Share your referral code"))),
|
|
1865
1587
|
content: index.h(copyTextView.CopyTextView, Object.assign({}, sharecodeProps)),
|
|
1866
1588
|
})),
|
|
1867
|
-
index.h(
|
|
1589
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1868
1590
|
labelMargin: "small",
|
|
1869
1591
|
padding: "none",
|
|
1870
1592
|
label: (index.h("sqm-text", null,
|
|
@@ -1875,9 +1597,9 @@ const Dashboard = () => {
|
|
|
1875
1597
|
gap: "xxx-large",
|
|
1876
1598
|
minWidth: "150px",
|
|
1877
1599
|
}),
|
|
1878
|
-
index.h(
|
|
1879
|
-
index.h(
|
|
1880
|
-
index.h(
|
|
1600
|
+
index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, twitterButtonProps), "Post about us on X"),
|
|
1601
|
+
index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, facebookButtonProps), "Share on Facebook"),
|
|
1602
|
+
index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, linkedinButtonProps), "Post on Linkedin"))),
|
|
1881
1603
|
}))))));
|
|
1882
1604
|
};
|
|
1883
1605
|
const EditProfile = () => {
|
|
@@ -1921,7 +1643,7 @@ const EditProfile = () => {
|
|
|
1921
1643
|
onChange: (e) => console.log(e),
|
|
1922
1644
|
},
|
|
1923
1645
|
})),
|
|
1924
|
-
index.h(
|
|
1646
|
+
index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, {
|
|
1925
1647
|
states: {
|
|
1926
1648
|
open: true,
|
|
1927
1649
|
error: "",
|
|
@@ -1950,7 +1672,7 @@ const Commissions = () => {
|
|
|
1950
1672
|
index.h(Sidebar, null),
|
|
1951
1673
|
index.h("sqm-divided-layout", { direction: "column" },
|
|
1952
1674
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1953
|
-
index.h(
|
|
1675
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1954
1676
|
labelMargin: "xx-small",
|
|
1955
1677
|
padding: "none",
|
|
1956
1678
|
label: (index.h("sqm-text", null,
|
|
@@ -1959,15 +1681,15 @@ const Commissions = () => {
|
|
|
1959
1681
|
index.h("p", null,
|
|
1960
1682
|
"for the",
|
|
1961
1683
|
" ",
|
|
1962
|
-
index.h("span", { class: sheet
|
|
1684
|
+
index.h("span", { class: sheet.classes.HeaderSubtitleBold }, "Partner Program #1"),
|
|
1963
1685
|
" ",
|
|
1964
1686
|
"program"))),
|
|
1965
1687
|
})),
|
|
1966
|
-
index.h(
|
|
1967
|
-
index.h(
|
|
1968
|
-
index.h(
|
|
1969
|
-
index.h(
|
|
1970
|
-
index.h(
|
|
1688
|
+
index.h(ShadowViewAddon.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1689
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "$ 1,000", value: 100000, loading: false }), "Total Earned"),
|
|
1690
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "$ 800", value: 80000, loading: false }), "Available"),
|
|
1691
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "$ 180", value: 18000, loading: false }), "Pending"),
|
|
1692
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "$ 20", value: 2000, loading: false }), "Redeemed"))))));
|
|
1971
1693
|
};
|
|
1972
1694
|
const Activity = () => {
|
|
1973
1695
|
return (index.h("sqm-divided-layout", { direction: "row" },
|
|
@@ -1975,7 +1697,7 @@ const Activity = () => {
|
|
|
1975
1697
|
index.h(Sidebar, null),
|
|
1976
1698
|
index.h("sqm-divided-layout", { direction: "column" },
|
|
1977
1699
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1978
|
-
index.h(
|
|
1700
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1979
1701
|
labelMargin: "xx-small",
|
|
1980
1702
|
padding: "none",
|
|
1981
1703
|
label: (index.h("sqm-text", null,
|
|
@@ -1984,30 +1706,30 @@ const Activity = () => {
|
|
|
1984
1706
|
index.h("p", null,
|
|
1985
1707
|
"for the",
|
|
1986
1708
|
" ",
|
|
1987
|
-
index.h("span", { class: sheet
|
|
1709
|
+
index.h("span", { class: sheet.classes.HeaderSubtitleBold }, "Partner Program #1"),
|
|
1988
1710
|
" ",
|
|
1989
1711
|
"program"))),
|
|
1990
1712
|
})),
|
|
1991
|
-
index.h(
|
|
1713
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1992
1714
|
labelMargin: "x-large",
|
|
1993
1715
|
padding: "none",
|
|
1994
1716
|
label: (index.h("sqm-text", null,
|
|
1995
1717
|
index.h("h3", null, "Referral Activity"))),
|
|
1996
|
-
content: (index.h(
|
|
1997
|
-
index.h(
|
|
1998
|
-
index.h(
|
|
1999
|
-
index.h(
|
|
2000
|
-
index.h(
|
|
1718
|
+
content: (index.h(ShadowViewAddon.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1719
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "1,000", value: 100000, loading: false }), "Total Referrals"),
|
|
1720
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "800", value: 800, loading: false }), "Converted"),
|
|
1721
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "180", value: 180, loading: false }), "Pending"),
|
|
1722
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "20", value: 20, loading: false }), "Disqualified"))),
|
|
2001
1723
|
}))),
|
|
2002
|
-
index.h(
|
|
1724
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
2003
1725
|
labelMargin: "x-large",
|
|
2004
1726
|
padding: "xxx-large",
|
|
2005
1727
|
label: (index.h("sqm-text", null,
|
|
2006
1728
|
index.h("h3", null, "Traffic Generated"))),
|
|
2007
|
-
content: (index.h(
|
|
2008
|
-
index.h(
|
|
2009
|
-
index.h(
|
|
2010
|
-
index.h(
|
|
1729
|
+
content: (index.h(ShadowViewAddon.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1730
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "1,000", value: 1000, loading: false }), "Clicks"),
|
|
1731
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "800", value: 800, loading: false }), "From share link"),
|
|
1732
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, { statvalue: "180", value: 180, loading: false }), "From share mediums"))),
|
|
2011
1733
|
})))));
|
|
2012
1734
|
};
|
|
2013
1735
|
|
|
@@ -2122,11 +1844,8 @@ var marked = domContextHooks_module.createCommonjsModule(function (module, expor
|
|
|
2122
1844
|
*/
|
|
2123
1845
|
|
|
2124
1846
|
(function (global, factory) {
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.marked = factory());
|
|
2128
|
-
}(domContextHooks_module.commonjsGlobal, (function () { 'use strict';
|
|
2129
|
-
|
|
1847
|
+
module.exports = factory() ;
|
|
1848
|
+
}(domContextHooks_module.commonjsGlobal, (function () {
|
|
2130
1849
|
function _defineProperties(target, props) {
|
|
2131
1850
|
for (var i = 0; i < props.length; i++) {
|
|
2132
1851
|
var descriptor = props[i];
|
|
@@ -5208,13 +4927,13 @@ const PoweredByImg_stories = {
|
|
|
5208
4927
|
title: "Powered By",
|
|
5209
4928
|
};
|
|
5210
4929
|
const Default = () => {
|
|
5211
|
-
return index.h(
|
|
4930
|
+
return index.h(ShadowViewAddon.PoweredByImg, null);
|
|
5212
4931
|
};
|
|
5213
4932
|
const CustomColor = () => {
|
|
5214
|
-
return index.h(
|
|
4933
|
+
return index.h(ShadowViewAddon.PoweredByImg, { color: "salmon" });
|
|
5215
4934
|
};
|
|
5216
4935
|
const CustomWidthAndHeight = () => {
|
|
5217
|
-
return index.h(
|
|
4936
|
+
return index.h(ShadowViewAddon.PoweredByImg, { width: 300, height: 50 });
|
|
5218
4937
|
};
|
|
5219
4938
|
|
|
5220
4939
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
@@ -5348,10 +5067,10 @@ const errorProps = {
|
|
|
5348
5067
|
},
|
|
5349
5068
|
};
|
|
5350
5069
|
const Default$1 = () => {
|
|
5351
|
-
return index.h(
|
|
5070
|
+
return index.h(ShadowViewAddon.BaseRegistrationFormView, Object.assign({}, defaultProps));
|
|
5352
5071
|
};
|
|
5353
5072
|
const EmailError = () => {
|
|
5354
|
-
return index.h(
|
|
5073
|
+
return index.h(ShadowViewAddon.BaseRegistrationFormView, Object.assign({}, errorProps));
|
|
5355
5074
|
};
|
|
5356
5075
|
|
|
5357
5076
|
const BaseRegistrationForm = /*#__PURE__*/Object.freeze({
|
|
@@ -5371,7 +5090,7 @@ const BigStat_stories = {
|
|
|
5371
5090
|
};
|
|
5372
5091
|
const Default$2 = () => {
|
|
5373
5092
|
const props = { value: 990000, statvalue: "9.900,00", loading: false };
|
|
5374
|
-
return index.h(
|
|
5093
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5375
5094
|
};
|
|
5376
5095
|
const LeftAlign = () => {
|
|
5377
5096
|
const props = {
|
|
@@ -5380,7 +5099,7 @@ const LeftAlign = () => {
|
|
|
5380
5099
|
alignment: "left",
|
|
5381
5100
|
loading: false,
|
|
5382
5101
|
};
|
|
5383
|
-
return index.h(
|
|
5102
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5384
5103
|
};
|
|
5385
5104
|
const RightAlign = () => {
|
|
5386
5105
|
const props = {
|
|
@@ -5389,7 +5108,7 @@ const RightAlign = () => {
|
|
|
5389
5108
|
alignment: "right",
|
|
5390
5109
|
loading: false,
|
|
5391
5110
|
};
|
|
5392
|
-
return index.h(
|
|
5111
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5393
5112
|
};
|
|
5394
5113
|
const FlexReverse = () => {
|
|
5395
5114
|
const props = {
|
|
@@ -5398,7 +5117,7 @@ const FlexReverse = () => {
|
|
|
5398
5117
|
flexReverse: true,
|
|
5399
5118
|
loading: false,
|
|
5400
5119
|
};
|
|
5401
|
-
return index.h(
|
|
5120
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5402
5121
|
};
|
|
5403
5122
|
const FlexReverseRight = () => {
|
|
5404
5123
|
const props = {
|
|
@@ -5408,7 +5127,7 @@ const FlexReverseRight = () => {
|
|
|
5408
5127
|
alignment: "right",
|
|
5409
5128
|
loading: false,
|
|
5410
5129
|
};
|
|
5411
|
-
return index.h(
|
|
5130
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5412
5131
|
};
|
|
5413
5132
|
const FlexReverseLeft = () => {
|
|
5414
5133
|
const props = {
|
|
@@ -5418,7 +5137,7 @@ const FlexReverseLeft = () => {
|
|
|
5418
5137
|
alignment: "left",
|
|
5419
5138
|
loading: false,
|
|
5420
5139
|
};
|
|
5421
|
-
return index.h(
|
|
5140
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5422
5141
|
};
|
|
5423
5142
|
const NoStatValue = () => {
|
|
5424
5143
|
const props = {
|
|
@@ -5426,7 +5145,7 @@ const NoStatValue = () => {
|
|
|
5426
5145
|
statvalue: "...",
|
|
5427
5146
|
loading: false,
|
|
5428
5147
|
};
|
|
5429
|
-
return index.h(
|
|
5148
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5430
5149
|
};
|
|
5431
5150
|
const InvalidStatValue = () => {
|
|
5432
5151
|
const props = {
|
|
@@ -5434,7 +5153,7 @@ const InvalidStatValue = () => {
|
|
|
5434
5153
|
statvalue: "!!!",
|
|
5435
5154
|
loading: false,
|
|
5436
5155
|
};
|
|
5437
|
-
return index.h(
|
|
5156
|
+
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
5438
5157
|
};
|
|
5439
5158
|
const CustomStyles = () => {
|
|
5440
5159
|
return (index.h("sqm-big-stat", { "stat-font-weight": "500", "stat-text-color": "#1ed760", "stat-font-size": "45", "description-text-color": "#121212", "description-font-size": "18", alignment: "center", "stat-type": "/integrationRewardsCountFiltered/AVAILABLE/global", "flex-reverse": true },
|
|
@@ -5517,7 +5236,7 @@ const View = (statType, format, label) => {
|
|
|
5517
5236
|
};
|
|
5518
5237
|
const DemoView = () => {
|
|
5519
5238
|
const [type, setType] = domContextHooks_module.useState("/someRandomThing/with/someArguments/1234");
|
|
5520
|
-
const { props, label } =
|
|
5239
|
+
const { props, label } = ShadowViewAddon.useDemoBigStat({
|
|
5521
5240
|
statType: type,
|
|
5522
5241
|
render: () => { },
|
|
5523
5242
|
disconnectedCallback: () => { },
|
|
@@ -5530,7 +5249,7 @@ const DemoView = () => {
|
|
|
5530
5249
|
index.h("input", { style: { width: "300px" }, type: "text", value: type, onInput: (e) => setType(e.target.value) })),
|
|
5531
5250
|
index.h("hr", null),
|
|
5532
5251
|
index.h("div", null,
|
|
5533
|
-
index.h(
|
|
5252
|
+
index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), label))));
|
|
5534
5253
|
};
|
|
5535
5254
|
const Demo = createHookStory(DemoView);
|
|
5536
5255
|
const ReferralsCount = createHookStory(() => View("/referralsCount", "/(referralsCount)/:status?"));
|
|
@@ -5863,92 +5582,92 @@ const manyActions = {
|
|
|
5863
5582
|
states: { progress: 100, loading: false, loadingEvent: false },
|
|
5864
5583
|
};
|
|
5865
5584
|
const TaskCardGrid = () => {
|
|
5866
|
-
return (index.h(
|
|
5867
|
-
index.h(
|
|
5585
|
+
return (index.h(ShadowViewAddon.CardFeedView, { width: 347, gap: 24 },
|
|
5586
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)),
|
|
5868
5587
|
index.h("div", null,
|
|
5869
|
-
index.h(
|
|
5588
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5870
5589
|
index.h("div", null,
|
|
5871
5590
|
index.h("div", null,
|
|
5872
|
-
index.h(
|
|
5873
|
-
index.h(
|
|
5874
|
-
index.h(
|
|
5591
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5592
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5593
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5875
5594
|
index.h("div", null,
|
|
5876
|
-
index.h(
|
|
5595
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5877
5596
|
index.h("div", null,
|
|
5878
5597
|
index.h("div", null,
|
|
5879
|
-
index.h(
|
|
5880
|
-
index.h(
|
|
5598
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5599
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions))));
|
|
5881
5600
|
};
|
|
5882
5601
|
const TaskCardGridHighGap = () => {
|
|
5883
|
-
return (index.h(
|
|
5884
|
-
index.h(
|
|
5602
|
+
return (index.h(ShadowViewAddon.CardFeedView, { width: 400, gap: 150 },
|
|
5603
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)),
|
|
5885
5604
|
index.h("div", null,
|
|
5886
|
-
index.h(
|
|
5605
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5887
5606
|
index.h("div", null,
|
|
5888
5607
|
index.h("div", null,
|
|
5889
|
-
index.h(
|
|
5890
|
-
index.h(
|
|
5891
|
-
index.h(
|
|
5608
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5609
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5610
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5892
5611
|
index.h("div", null,
|
|
5893
|
-
index.h(
|
|
5612
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5894
5613
|
index.h("div", null,
|
|
5895
5614
|
index.h("div", null,
|
|
5896
|
-
index.h(
|
|
5897
|
-
index.h(
|
|
5615
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5616
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions))));
|
|
5898
5617
|
};
|
|
5899
5618
|
const TaskCardGridLowGap = () => {
|
|
5900
|
-
return (index.h(
|
|
5901
|
-
index.h(
|
|
5619
|
+
return (index.h(ShadowViewAddon.CardFeedView, { width: 400, gap: 12 },
|
|
5620
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)),
|
|
5902
5621
|
index.h("div", null,
|
|
5903
|
-
index.h(
|
|
5622
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5904
5623
|
index.h("div", null,
|
|
5905
5624
|
index.h("div", null,
|
|
5906
|
-
index.h(
|
|
5907
|
-
index.h(
|
|
5908
|
-
index.h(
|
|
5625
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5626
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5627
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5909
5628
|
index.h("div", null,
|
|
5910
|
-
index.h(
|
|
5629
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5911
5630
|
index.h("div", null,
|
|
5912
5631
|
index.h("div", null,
|
|
5913
|
-
index.h(
|
|
5914
|
-
index.h(
|
|
5632
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5633
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions))));
|
|
5915
5634
|
};
|
|
5916
5635
|
const TaskCardGridHighWidth = () => {
|
|
5917
|
-
return (index.h(
|
|
5918
|
-
index.h(
|
|
5636
|
+
return (index.h(ShadowViewAddon.CardFeedView, { width: 1000, gap: 24 },
|
|
5637
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)),
|
|
5919
5638
|
index.h("div", null,
|
|
5920
|
-
index.h(
|
|
5639
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5921
5640
|
index.h("div", null,
|
|
5922
5641
|
index.h("div", null,
|
|
5923
|
-
index.h(
|
|
5924
|
-
index.h(
|
|
5925
|
-
index.h(
|
|
5642
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5643
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5644
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5926
5645
|
index.h("div", null,
|
|
5927
|
-
index.h(
|
|
5646
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5928
5647
|
index.h("div", null,
|
|
5929
5648
|
index.h("div", null,
|
|
5930
|
-
index.h(
|
|
5931
|
-
index.h(
|
|
5649
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5650
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions))));
|
|
5932
5651
|
};
|
|
5933
5652
|
const TaskCardGridLowWidth = () => {
|
|
5934
|
-
return (index.h(
|
|
5935
|
-
index.h(
|
|
5653
|
+
return (index.h(ShadowViewAddon.CardFeedView, { width: 250, gap: 24 },
|
|
5654
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)),
|
|
5936
5655
|
index.h("div", null,
|
|
5937
|
-
index.h(
|
|
5656
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5938
5657
|
index.h("div", null,
|
|
5939
5658
|
index.h("div", null,
|
|
5940
|
-
index.h(
|
|
5941
|
-
index.h(
|
|
5942
|
-
index.h(
|
|
5659
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5660
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5661
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions)),
|
|
5943
5662
|
index.h("div", null,
|
|
5944
|
-
index.h(
|
|
5663
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions))),
|
|
5945
5664
|
index.h("div", null,
|
|
5946
5665
|
index.h("div", null,
|
|
5947
|
-
index.h(
|
|
5948
|
-
index.h(
|
|
5666
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction)))),
|
|
5667
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions))));
|
|
5949
5668
|
};
|
|
5950
5669
|
const CardFeedGeneric = () => {
|
|
5951
|
-
return (index.h(
|
|
5670
|
+
return (index.h(ShadowViewAddon.CardFeedView, { width: 300, gap: 24 },
|
|
5952
5671
|
index.h("div", { style: {
|
|
5953
5672
|
padding: "100px",
|
|
5954
5673
|
border: "1px dashed black",
|
|
@@ -6055,16 +5774,16 @@ const defaultRegisterProps = {
|
|
|
6055
5774
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
6056
5775
|
},
|
|
6057
5776
|
};
|
|
6058
|
-
const Default$3 = createHookStory(() => (index.h(
|
|
6059
|
-
const DefaultChecked = createHookStory(() => (index.h(
|
|
5777
|
+
const Default$3 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$1))));
|
|
5778
|
+
const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$1, { states: {
|
|
6060
5779
|
...defaultProps$1.states,
|
|
6061
5780
|
checked: true,
|
|
6062
5781
|
} }))));
|
|
6063
|
-
const CustomLabel = createHookStory(() => (index.h(
|
|
5782
|
+
const CustomLabel = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$1, { content: {
|
|
6064
5783
|
...defaultProps$1.content,
|
|
6065
5784
|
checkboxLabel: "I Agree",
|
|
6066
5785
|
} }))));
|
|
6067
|
-
const Error$1 = createHookStory(() => (index.h(
|
|
5786
|
+
const Error$1 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$1, { states: {
|
|
6068
5787
|
...defaultProps$1.states,
|
|
6069
5788
|
registrationFormState: {
|
|
6070
5789
|
validationErrors: {
|
|
@@ -6072,7 +5791,7 @@ const Error$1 = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFiel
|
|
|
6072
5791
|
},
|
|
6073
5792
|
},
|
|
6074
5793
|
} }))));
|
|
6075
|
-
const CustomError = createHookStory(() => (index.h(
|
|
5794
|
+
const CustomError = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$1, { states: {
|
|
6076
5795
|
...defaultProps$1.states,
|
|
6077
5796
|
registrationFormState: {
|
|
6078
5797
|
validationErrors: {
|
|
@@ -6083,14 +5802,14 @@ const CustomError = createHookStory(() => (index.h(sqmCheckboxFieldView.Checkbox
|
|
|
6083
5802
|
...defaultProps$1.content,
|
|
6084
5803
|
errorMessage: "This checkbox must be checked to continue",
|
|
6085
5804
|
} }))));
|
|
6086
|
-
const TermsAndConditions = createHookStory(() => (index.h(
|
|
5805
|
+
const TermsAndConditions = createHookStory(() => (index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
6087
5806
|
//@ts-ignore
|
|
6088
5807
|
content: {
|
|
6089
5808
|
...defaultRegisterProps.content,
|
|
6090
5809
|
terms: (index.h("p", null,
|
|
6091
5810
|
index.h("sqm-checkbox-field", null))),
|
|
6092
5811
|
} }))));
|
|
6093
|
-
const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(
|
|
5812
|
+
const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
6094
5813
|
//@ts-ignore
|
|
6095
5814
|
content: {
|
|
6096
5815
|
...defaultRegisterProps.content,
|
|
@@ -6100,7 +5819,7 @@ const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(sqmPortalRe
|
|
|
6100
5819
|
index.h("a", { href: "https://example.com", target: "_blank" }, "Terms and Conditions"),
|
|
6101
5820
|
index.h("sqm-checkbox-field", { "checkbox-label": "I agree" }))),
|
|
6102
5821
|
} }))));
|
|
6103
|
-
const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(
|
|
5822
|
+
const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
6104
5823
|
//@ts-ignore
|
|
6105
5824
|
content: {
|
|
6106
5825
|
...defaultRegisterProps.content,
|
|
@@ -6277,31 +5996,31 @@ const CopyButtonBelowCustomLabel = () => {
|
|
|
6277
5996
|
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$3, { buttonStyle: "button-below", "copy-button-label": "test long custom label" })));
|
|
6278
5997
|
};
|
|
6279
5998
|
const Loading = () => {
|
|
6280
|
-
return index.h(
|
|
5999
|
+
return index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { loading: true }));
|
|
6281
6000
|
};
|
|
6282
6001
|
const CopyButtonLoading = () => {
|
|
6283
|
-
return (index.h(
|
|
6002
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { buttonStyle: "button-outside", loading: true })));
|
|
6284
6003
|
};
|
|
6285
6004
|
const CopyButtonBelowLoading = () => {
|
|
6286
|
-
return (index.h(
|
|
6005
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { buttonStyle: "button-below", loading: true })));
|
|
6287
6006
|
};
|
|
6288
6007
|
const ErrorGeneric = () => {
|
|
6289
|
-
return (index.h(
|
|
6008
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue." })));
|
|
6290
6009
|
};
|
|
6291
6010
|
const ErrorPending = () => {
|
|
6292
|
-
return (index.h(
|
|
6011
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "info", error: true, errorText: "Your code will be available on April 24, 2023. Mark your calendar and come back then to redeem your reward!" })));
|
|
6293
6012
|
};
|
|
6294
6013
|
const ErrorFullfillment = () => {
|
|
6295
|
-
return (index.h(
|
|
6014
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue." })));
|
|
6296
6015
|
};
|
|
6297
6016
|
const ErrorCancelled = () => {
|
|
6298
|
-
return (index.h(
|
|
6017
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "This code has been cancelled. Please reach out to the Support team for help resolving this issue." })));
|
|
6299
6018
|
};
|
|
6300
6019
|
const ErrorExpired = () => {
|
|
6301
|
-
return (index.h(
|
|
6020
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "Looks like this code has expired. Please reach out to the Support team for help resolving this issue." })));
|
|
6302
6021
|
};
|
|
6303
6022
|
const ErrorRedeemed = () => {
|
|
6304
|
-
return (index.h(
|
|
6023
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "success", error: true, errorText: "Looks like you\u2019ve already redeemed this code." })));
|
|
6305
6024
|
};
|
|
6306
6025
|
|
|
6307
6026
|
const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -6360,7 +6079,7 @@ const Row = () => {
|
|
|
6360
6079
|
return (index.h("sqm-divided-layout", { direction: "row" },
|
|
6361
6080
|
index.h(Sidebar$1, null),
|
|
6362
6081
|
index.h("div", { style: { padding: "48px" } },
|
|
6363
|
-
index.h(
|
|
6082
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
6364
6083
|
labelMargin: "xx-small",
|
|
6365
6084
|
padding: "none",
|
|
6366
6085
|
label: (index.h("sqm-text", null,
|
|
@@ -6373,7 +6092,7 @@ const Column = () => {
|
|
|
6373
6092
|
return (index.h("sqm-divided-layout", { direction: "column" },
|
|
6374
6093
|
index.h(Sidebar$1, null),
|
|
6375
6094
|
index.h("div", { style: { padding: "48px" } },
|
|
6376
|
-
index.h(
|
|
6095
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
6377
6096
|
labelMargin: "xx-small",
|
|
6378
6097
|
padding: "none",
|
|
6379
6098
|
label: (index.h("sqm-text", null,
|
|
@@ -6386,7 +6105,7 @@ const ColumnCustomDivider = () => {
|
|
|
6386
6105
|
return (index.h("sqm-divided-layout", { direction: "column", dividerStyle: "1px solid red" },
|
|
6387
6106
|
index.h(Sidebar$1, null),
|
|
6388
6107
|
index.h("div", { style: { padding: "48px" } },
|
|
6389
|
-
index.h(
|
|
6108
|
+
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
6390
6109
|
labelMargin: "xx-small",
|
|
6391
6110
|
padding: "none",
|
|
6392
6111
|
label: (index.h("sqm-text", null,
|
|
@@ -6422,12 +6141,12 @@ const defaultProps$4 = {
|
|
|
6422
6141
|
],
|
|
6423
6142
|
},
|
|
6424
6143
|
};
|
|
6425
|
-
const Default$5 = createHookStory(() => (index.h(
|
|
6426
|
-
const CustomLabel$1 = createHookStory(() => (index.h(
|
|
6144
|
+
const Default$5 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$4))));
|
|
6145
|
+
const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$4, { content: {
|
|
6427
6146
|
...defaultProps$4.content,
|
|
6428
6147
|
dropdownLabel: "Pick your favorite",
|
|
6429
6148
|
} }))));
|
|
6430
|
-
const Error$2 = createHookStory(() => (index.h(
|
|
6149
|
+
const Error$2 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$4, { states: {
|
|
6431
6150
|
...defaultProps$4.states,
|
|
6432
6151
|
registrationFormState: {
|
|
6433
6152
|
validationErrors: {
|
|
@@ -6435,7 +6154,7 @@ const Error$2 = createHookStory(() => (index.h(sqmDropdownFieldView.DropdownFiel
|
|
|
6435
6154
|
},
|
|
6436
6155
|
},
|
|
6437
6156
|
} }))));
|
|
6438
|
-
const CustomError$1 = createHookStory(() => (index.h(
|
|
6157
|
+
const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$4, { content: {
|
|
6439
6158
|
...defaultProps$4.content,
|
|
6440
6159
|
errorMessage: "An option must be selected to continue",
|
|
6441
6160
|
}, states: {
|
|
@@ -6562,14 +6281,14 @@ const defaultProps$5 = {
|
|
|
6562
6281
|
};
|
|
6563
6282
|
const EditProfileFormDisabled = () => {
|
|
6564
6283
|
const props = defaultProps$5;
|
|
6565
|
-
return index.h(
|
|
6284
|
+
return index.h(ShadowViewAddon.EditProfileView, Object.assign({}, props));
|
|
6566
6285
|
};
|
|
6567
6286
|
const EditProfileFormEnabled = () => {
|
|
6568
6287
|
const props = {
|
|
6569
6288
|
...defaultProps$5,
|
|
6570
6289
|
states: { ...defaultProps$5.states, showEdit: true },
|
|
6571
6290
|
};
|
|
6572
|
-
return index.h(
|
|
6291
|
+
return index.h(ShadowViewAddon.EditProfileView, Object.assign({}, props));
|
|
6573
6292
|
};
|
|
6574
6293
|
const FullStackFrameWithMenu = () => {
|
|
6575
6294
|
return (index.h("sqm-edit-profile", { editprofileheader: "Edit Profile", editprofiletext: "Update your profile.", firstnametext: "Bill", lastnametext: "Bob", canceltext: "Cancel", updatetext: "Update", currentregiontext: "Current Region", showregion: true }));
|
|
@@ -6848,7 +6567,7 @@ const LoginOneColumn = () => {
|
|
|
6848
6567
|
},
|
|
6849
6568
|
};
|
|
6850
6569
|
return (index.h("div", { style: { height: "800px" } },
|
|
6851
|
-
index.h(
|
|
6570
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6852
6571
|
};
|
|
6853
6572
|
const LoginOneColumnWithMinHeight = () => {
|
|
6854
6573
|
return (index.h("sqm-hero", { background: "https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png", columns: 1, "padding-size": "medium", "wrap-direction": "wrap", "secondary-background": "#FFFFFF" },
|
|
@@ -6868,7 +6587,7 @@ const LoginOneColumnWithColor = () => {
|
|
|
6868
6587
|
},
|
|
6869
6588
|
};
|
|
6870
6589
|
return (index.h("div", { style: { height: "800px" } },
|
|
6871
|
-
index.h(
|
|
6590
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6872
6591
|
};
|
|
6873
6592
|
const LoginOneColumnWithImage = () => {
|
|
6874
6593
|
const props = {
|
|
@@ -6882,7 +6601,7 @@ const LoginOneColumnWithImage = () => {
|
|
|
6882
6601
|
content: { primaryColumn: index.h("sqm-portal-login", null) },
|
|
6883
6602
|
};
|
|
6884
6603
|
return (index.h("div", { style: { height: "800px" } },
|
|
6885
|
-
index.h(
|
|
6604
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6886
6605
|
};
|
|
6887
6606
|
const TwoColumnLoginLargePadding = () => {
|
|
6888
6607
|
const props = {
|
|
@@ -6902,7 +6621,7 @@ const TwoColumnLoginLargePadding = () => {
|
|
|
6902
6621
|
},
|
|
6903
6622
|
};
|
|
6904
6623
|
return (index.h("div", { style: { height: "800px" } },
|
|
6905
|
-
index.h(
|
|
6624
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6906
6625
|
};
|
|
6907
6626
|
const TwoColumnLoginMediumPadding = () => {
|
|
6908
6627
|
const props = {
|
|
@@ -6922,7 +6641,7 @@ const TwoColumnLoginMediumPadding = () => {
|
|
|
6922
6641
|
},
|
|
6923
6642
|
};
|
|
6924
6643
|
return (index.h("div", { style: { height: "800px" } },
|
|
6925
|
-
index.h(
|
|
6644
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6926
6645
|
};
|
|
6927
6646
|
const TwoColumnLoginSmallPadding = () => {
|
|
6928
6647
|
const props = {
|
|
@@ -6942,7 +6661,7 @@ const TwoColumnLoginSmallPadding = () => {
|
|
|
6942
6661
|
},
|
|
6943
6662
|
};
|
|
6944
6663
|
return (index.h("div", { style: { height: "800px" } },
|
|
6945
|
-
index.h(
|
|
6664
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6946
6665
|
};
|
|
6947
6666
|
const TwoColumnLoginNoPadding = () => {
|
|
6948
6667
|
const props = {
|
|
@@ -6962,7 +6681,7 @@ const TwoColumnLoginNoPadding = () => {
|
|
|
6962
6681
|
},
|
|
6963
6682
|
};
|
|
6964
6683
|
return (index.h("div", { style: { height: "800px" } },
|
|
6965
|
-
index.h(
|
|
6684
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6966
6685
|
};
|
|
6967
6686
|
const TwoColumnLoginReverseWrap = () => {
|
|
6968
6687
|
const props = {
|
|
@@ -6982,7 +6701,7 @@ const TwoColumnLoginReverseWrap = () => {
|
|
|
6982
6701
|
},
|
|
6983
6702
|
};
|
|
6984
6703
|
return (index.h("div", { style: { height: "800px" } },
|
|
6985
|
-
index.h(
|
|
6704
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
6986
6705
|
};
|
|
6987
6706
|
const TwoColumnLoginWithImgElement = () => {
|
|
6988
6707
|
const props = {
|
|
@@ -7002,7 +6721,7 @@ const TwoColumnLoginWithImgElement = () => {
|
|
|
7002
6721
|
},
|
|
7003
6722
|
};
|
|
7004
6723
|
return (index.h("div", { style: { height: "800px" } },
|
|
7005
|
-
index.h(
|
|
6724
|
+
index.h(ShadowViewAddon.HeroView, Object.assign({}, props))));
|
|
7006
6725
|
};
|
|
7007
6726
|
const MinHeight = () => {
|
|
7008
6727
|
const props = {
|
|
@@ -7019,7 +6738,7 @@ const MinHeight = () => {
|
|
|
7019
6738
|
index.h("sqm-portal-login", null))),
|
|
7020
6739
|
},
|
|
7021
6740
|
};
|
|
7022
|
-
return index.h(
|
|
6741
|
+
return index.h(ShadowViewAddon.HeroView, Object.assign({}, props));
|
|
7023
6742
|
};
|
|
7024
6743
|
const InstantAccessLoggedOutView = () => {
|
|
7025
6744
|
return (index.h("sqm-hero", { background: "https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png", columns: 2, "padding-size": "medium", "wrap-direction": "wrap", "secondary-background": "var(--sqm-portal-background)", "column-to-hide-in-mobile": "primary" },
|
|
@@ -7133,9 +6852,9 @@ const defaultRegisterProps$1 = {
|
|
|
7133
6852
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
7134
6853
|
},
|
|
7135
6854
|
};
|
|
7136
|
-
const Default$6 = () => index.h(
|
|
7137
|
-
const CustomLabel$2 = () => (index.h(
|
|
7138
|
-
const Error$3 = () => (index.h(
|
|
6855
|
+
const Default$6 = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6));
|
|
6856
|
+
const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6, { content: { ...defaultProps$6.content, fieldLabel: "My Label" } })));
|
|
6857
|
+
const Error$3 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6, { states: {
|
|
7139
6858
|
...defaultProps$6.states,
|
|
7140
6859
|
registrationFormState: {
|
|
7141
6860
|
validationErrors: {
|
|
@@ -7143,7 +6862,7 @@ const Error$3 = () => (index.h(sqmInputFieldView.InputFieldView, Object.assign({
|
|
|
7143
6862
|
},
|
|
7144
6863
|
},
|
|
7145
6864
|
} })));
|
|
7146
|
-
const CustomError$2 = () => (index.h(
|
|
6865
|
+
const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
7147
6866
|
...defaultProps$6.content,
|
|
7148
6867
|
errorMessage: "A value must be entered to continue",
|
|
7149
6868
|
}, states: {
|
|
@@ -7155,26 +6874,26 @@ const CustomError$2 = () => (index.h(sqmInputFieldView.InputFieldView, Object.as
|
|
|
7155
6874
|
},
|
|
7156
6875
|
} })));
|
|
7157
6876
|
const DateType = () => {
|
|
7158
|
-
return (index.h(
|
|
6877
|
+
return (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
7159
6878
|
...defaultProps$6.content,
|
|
7160
6879
|
fieldLabel: "Date",
|
|
7161
6880
|
fieldType: "date",
|
|
7162
6881
|
} })));
|
|
7163
6882
|
};
|
|
7164
6883
|
const TelType = () => {
|
|
7165
|
-
return (index.h(
|
|
6884
|
+
return (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
7166
6885
|
...defaultProps$6.content,
|
|
7167
6886
|
fieldLabel: "Phone Number",
|
|
7168
6887
|
fieldType: "tel",
|
|
7169
6888
|
} })));
|
|
7170
6889
|
};
|
|
7171
|
-
const RegistrationField = () => (index.h(
|
|
6890
|
+
const RegistrationField = () => (index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
7172
6891
|
...defaultRegisterProps$1.content,
|
|
7173
|
-
formData: index.h(
|
|
6892
|
+
formData: index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6)),
|
|
7174
6893
|
} })));
|
|
7175
|
-
const RegistrationFieldCustomLabel = () => (index.h(
|
|
6894
|
+
const RegistrationFieldCustomLabel = () => (index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
7176
6895
|
...defaultRegisterProps$1.content,
|
|
7177
|
-
formData: (index.h(
|
|
6896
|
+
formData: (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
7178
6897
|
...defaultProps$6.content,
|
|
7179
6898
|
fieldLabel: "Data",
|
|
7180
6899
|
} }))),
|
|
@@ -7398,7 +7117,7 @@ const simpleInvoiceTableProps = {
|
|
|
7398
7117
|
},
|
|
7399
7118
|
};
|
|
7400
7119
|
const SimpleInvoiceTable = () => {
|
|
7401
|
-
return (index.h(
|
|
7120
|
+
return (index.h(sqmUserInfoFormView.InvoiceTableView, { header: "Invoices", description: "Invoice table description" },
|
|
7402
7121
|
index.h(GenericTableView.GenericTableView, Object.assign({}, simpleInvoiceTableProps))));
|
|
7403
7122
|
};
|
|
7404
7123
|
const EmptyTable = () => {
|
|
@@ -7498,12 +7217,6 @@ function setupGraphQL$5() {
|
|
|
7498
7217
|
const InvoiceTable$1 = createHookStory(() => {
|
|
7499
7218
|
setupGraphQL$5();
|
|
7500
7219
|
index_module.setProgramId("22999");
|
|
7501
|
-
const props = {
|
|
7502
|
-
listType: "",
|
|
7503
|
-
render: () => { },
|
|
7504
|
-
disconnectedCallback: () => { },
|
|
7505
|
-
ignored: true,
|
|
7506
|
-
};
|
|
7507
7220
|
return (index.h("sqm-invoice-table", null,
|
|
7508
7221
|
index.h("sqm-invoice-table-download-column", null),
|
|
7509
7222
|
index.h("sqm-invoice-table-date-column", { "column-title": "Date" }),
|
|
@@ -7728,7 +7441,6 @@ const defaultStyles$1 = {
|
|
|
7728
7441
|
rankSuffix: "{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}",
|
|
7729
7442
|
};
|
|
7730
7443
|
const link = index.h("a", null, "Support");
|
|
7731
|
-
const tag = "Contact" + link + "about upgrading your plan";
|
|
7732
7444
|
const defaultElements$1 = {
|
|
7733
7445
|
empty: (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png", "empty-state-header": "View your rank in the leaderboard", "empty-state-text": "Be the first to refer a friend and reach the top of the leaderboard" })),
|
|
7734
7446
|
};
|
|
@@ -8569,10 +8281,10 @@ const errorProps$1 = {
|
|
|
8569
8281
|
},
|
|
8570
8282
|
};
|
|
8571
8283
|
const NameFields = () => {
|
|
8572
|
-
return index.h(
|
|
8284
|
+
return index.h(ShadowViewAddon.NameFieldsView, Object.assign({}, props));
|
|
8573
8285
|
};
|
|
8574
8286
|
const NameFieldsWithErrors = () => {
|
|
8575
|
-
return index.h(
|
|
8287
|
+
return index.h(ShadowViewAddon.NameFieldsView, Object.assign({}, errorProps$1));
|
|
8576
8288
|
};
|
|
8577
8289
|
|
|
8578
8290
|
const NameFields$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -8623,20 +8335,6 @@ const NavigationSidebar_stories = {
|
|
|
8623
8335
|
title: "Components/Navigation Sidebar",
|
|
8624
8336
|
};
|
|
8625
8337
|
const DefaultNavigationSidebar = () => {
|
|
8626
|
-
const barProps = {
|
|
8627
|
-
data: {
|
|
8628
|
-
programs: [
|
|
8629
|
-
{
|
|
8630
|
-
key: "program1",
|
|
8631
|
-
label: "My Referral Program",
|
|
8632
|
-
},
|
|
8633
|
-
{
|
|
8634
|
-
key: "program2",
|
|
8635
|
-
label: "My Rewards Program",
|
|
8636
|
-
},
|
|
8637
|
-
],
|
|
8638
|
-
},
|
|
8639
|
-
};
|
|
8640
8338
|
const item1Props = {
|
|
8641
8339
|
states: {
|
|
8642
8340
|
active: false,
|
|
@@ -8671,11 +8369,6 @@ const NavigationSidebar = /*#__PURE__*/Object.freeze({
|
|
|
8671
8369
|
const Pagination_stories = {
|
|
8672
8370
|
title: "Components/Link Button",
|
|
8673
8371
|
};
|
|
8674
|
-
const defaultProps$9 = {
|
|
8675
|
-
link: "https://example.com",
|
|
8676
|
-
openInNewTab: false,
|
|
8677
|
-
buttonText: "Button Text",
|
|
8678
|
-
};
|
|
8679
8372
|
const Default$a = () => {
|
|
8680
8373
|
return index.h("sqm-pagination", null);
|
|
8681
8374
|
};
|
|
@@ -8743,17 +8436,17 @@ const PasswordField = /*#__PURE__*/Object.freeze({
|
|
|
8743
8436
|
const PayoutButtonScroll_stories = {
|
|
8744
8437
|
title: "Components/Payout Scroll Button",
|
|
8745
8438
|
};
|
|
8746
|
-
const defaultProps$
|
|
8439
|
+
const defaultProps$9 = {
|
|
8747
8440
|
payoutSettingsComplete: true,
|
|
8748
8441
|
};
|
|
8749
|
-
const CompletedTaxForm = () => (index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$
|
|
8442
|
+
const CompletedTaxForm = () => (index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$9, payoutSettingsComplete: true } } }));
|
|
8750
8443
|
const CompletedTaxFormWithStatsContainer = () => (index.h("sqm-portal-container", { display: "flex", maxWidth: "100%", minWidth: "100%", "justify-content": "space-between", flexWrap: "nowrap" },
|
|
8751
8444
|
index.h("sqm-portal-container", { display: "flex", "max-width": "fit-content" },
|
|
8752
8445
|
index.h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/referralsCount" },
|
|
8753
8446
|
index.h("p", null, "Referrals")),
|
|
8754
8447
|
index.h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/payoutBalance" },
|
|
8755
8448
|
index.h("p", null, "Cash Balance"))),
|
|
8756
|
-
index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$
|
|
8449
|
+
index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$9, payoutSettingsComplete: true } } })));
|
|
8757
8450
|
|
|
8758
8451
|
const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
8759
8452
|
__proto__: null,
|
|
@@ -8765,7 +8458,7 @@ const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
|
8765
8458
|
const ChangeMarketing_stories = {
|
|
8766
8459
|
title: "Components/Change Marketing Emails Status",
|
|
8767
8460
|
};
|
|
8768
|
-
const defaultProps$
|
|
8461
|
+
const defaultProps$a = {
|
|
8769
8462
|
states: {
|
|
8770
8463
|
success: false,
|
|
8771
8464
|
loading: false,
|
|
@@ -8796,21 +8489,21 @@ const Default$b = () => {
|
|
|
8796
8489
|
return index.h("sqm-portal-change-marketing", null);
|
|
8797
8490
|
};
|
|
8798
8491
|
const Loading$3 = () => {
|
|
8799
|
-
return (index.h(
|
|
8492
|
+
return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$a, { states: { ...defaultProps$a.states, loading: true } })));
|
|
8800
8493
|
};
|
|
8801
8494
|
const Error$4 = () => {
|
|
8802
|
-
return (index.h(
|
|
8803
|
-
...defaultProps$
|
|
8495
|
+
return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$a, { states: {
|
|
8496
|
+
...defaultProps$a.states,
|
|
8804
8497
|
formState: {
|
|
8805
|
-
...defaultProps$
|
|
8498
|
+
...defaultProps$a.states.formState,
|
|
8806
8499
|
errors: { error: true },
|
|
8807
8500
|
error: "An error string",
|
|
8808
8501
|
},
|
|
8809
8502
|
} })));
|
|
8810
8503
|
};
|
|
8811
8504
|
const Success = () => {
|
|
8812
|
-
return (index.h(
|
|
8813
|
-
...defaultProps$
|
|
8505
|
+
return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$a, { states: {
|
|
8506
|
+
...defaultProps$a.states,
|
|
8814
8507
|
success: true,
|
|
8815
8508
|
} })));
|
|
8816
8509
|
};
|
|
@@ -8832,7 +8525,7 @@ const ChangePassword_stories = {
|
|
|
8832
8525
|
scenario: scenario$g,
|
|
8833
8526
|
},
|
|
8834
8527
|
};
|
|
8835
|
-
const defaultProps$
|
|
8528
|
+
const defaultProps$b = {
|
|
8836
8529
|
states: {
|
|
8837
8530
|
open: false,
|
|
8838
8531
|
loading: false,
|
|
@@ -8964,12 +8657,12 @@ const successProps = {
|
|
|
8964
8657
|
submit: (e) => console.log("Submit", e),
|
|
8965
8658
|
},
|
|
8966
8659
|
};
|
|
8967
|
-
const Default$c = () => index.h(
|
|
8968
|
-
const Open = () => index.h(
|
|
8969
|
-
const Error$5 = () => index.h(
|
|
8970
|
-
const PaswordError = () => (index.h(
|
|
8971
|
-
const Loading$4 = () => index.h(
|
|
8972
|
-
const Success$1 = () => index.h(
|
|
8660
|
+
const Default$c = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$b));
|
|
8661
|
+
const Open = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, openProps));
|
|
8662
|
+
const Error$5 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, errorProps$2));
|
|
8663
|
+
const PaswordError = () => (index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
|
|
8664
|
+
const Loading$4 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, loadingProps));
|
|
8665
|
+
const Success$1 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, successProps));
|
|
8973
8666
|
|
|
8974
8667
|
const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
8975
8668
|
__proto__: null,
|
|
@@ -9175,7 +8868,7 @@ const defaultStates = {
|
|
|
9175
8868
|
loadingVerification: false,
|
|
9176
8869
|
countdown: 10,
|
|
9177
8870
|
};
|
|
9178
|
-
const defaultProps$
|
|
8871
|
+
const defaultProps$c = {
|
|
9179
8872
|
states: defaultStates,
|
|
9180
8873
|
callbacks: defaultCallbacks,
|
|
9181
8874
|
content: defaultContent,
|
|
@@ -9213,7 +8906,7 @@ const loadingVerificationProps = {
|
|
|
9213
8906
|
callbacks: defaultCallbacks,
|
|
9214
8907
|
content: defaultContent,
|
|
9215
8908
|
};
|
|
9216
|
-
const Default$d = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$
|
|
8909
|
+
const Default$d = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$c));
|
|
9217
8910
|
const EmailVerificationWithError = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, errorProps$3)));
|
|
9218
8911
|
const EmailVerificationLoading = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingProps$1)));
|
|
9219
8912
|
const EmailVerificationCheckingVerification = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
|
|
@@ -9237,7 +8930,7 @@ const PortalFooter_stories = {
|
|
|
9237
8930
|
scenario: scenario$j,
|
|
9238
8931
|
},
|
|
9239
8932
|
};
|
|
9240
|
-
const defaultProps$
|
|
8933
|
+
const defaultProps$d = {
|
|
9241
8934
|
supportEmail: "support@example.com",
|
|
9242
8935
|
supportText: "For program support, contact {email}",
|
|
9243
8936
|
hidePoweredBy: false,
|
|
@@ -9247,12 +8940,12 @@ const defaultProps$e = {
|
|
|
9247
8940
|
paddingBottom: "large",
|
|
9248
8941
|
paddingLeft: "large",
|
|
9249
8942
|
};
|
|
9250
|
-
const DefaultFooter = () => index.h(
|
|
9251
|
-
const FooterWithTerms = () => (index.h(
|
|
9252
|
-
const FooterWithFAQ = () => (index.h(
|
|
9253
|
-
const FooterWithTermsAndFAQ = () => (index.h(
|
|
9254
|
-
const FooterNoPoweredBy = () => (index.h(
|
|
9255
|
-
const FooterNoSupportText = () => (index.h(
|
|
8943
|
+
const DefaultFooter = () => index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$d));
|
|
8944
|
+
const FooterWithTerms = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$d, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
|
|
8945
|
+
const FooterWithFAQ = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$d, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
8946
|
+
const FooterWithTermsAndFAQ = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$d, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
8947
|
+
const FooterNoPoweredBy = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$d, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
8948
|
+
const FooterNoSupportText = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$d, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hideSupportText: true })));
|
|
9256
8949
|
|
|
9257
8950
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
9258
8951
|
__proto__: null,
|
|
@@ -9273,7 +8966,7 @@ const PortalForgotPassword_stories = {
|
|
|
9273
8966
|
scenario: scenario$k,
|
|
9274
8967
|
},
|
|
9275
8968
|
};
|
|
9276
|
-
const defaultProps$
|
|
8969
|
+
const defaultProps$e = {
|
|
9277
8970
|
states: {
|
|
9278
8971
|
error: "",
|
|
9279
8972
|
loading: false,
|
|
@@ -9334,11 +9027,11 @@ const successProps$2 = {
|
|
|
9334
9027
|
successAlertText: "An email has been sent with instructions to reset your password.",
|
|
9335
9028
|
},
|
|
9336
9029
|
};
|
|
9337
|
-
const Default$e = () => index.h(
|
|
9030
|
+
const Default$e = () => index.h(sqmPortalVerifyEmailView.PortalForgotPasswordView, Object.assign({}, defaultProps$e));
|
|
9338
9031
|
const DemoDataTest = () => (index.h("sqm-portal-forgot-password", null));
|
|
9339
|
-
const ForgotPasswordWithError = () => (index.h(
|
|
9340
|
-
const ForgotPasswordLoading = () => (index.h(
|
|
9341
|
-
const ForgotPasswordSuccess = () => (index.h(
|
|
9032
|
+
const ForgotPasswordWithError = () => (index.h(sqmPortalVerifyEmailView.PortalForgotPasswordView, Object.assign({}, errorProps$4)));
|
|
9033
|
+
const ForgotPasswordLoading = () => (index.h(sqmPortalVerifyEmailView.PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
|
|
9034
|
+
const ForgotPasswordSuccess = () => (index.h(sqmPortalVerifyEmailView.PortalForgotPasswordView, Object.assign({}, successProps$2)));
|
|
9342
9035
|
|
|
9343
9036
|
const PortalForgotPassword = /*#__PURE__*/Object.freeze({
|
|
9344
9037
|
__proto__: null,
|
|
@@ -9383,7 +9076,7 @@ function setupLoggedOut() {
|
|
|
9383
9076
|
const PortalFrame_stories = {
|
|
9384
9077
|
title: "Components/Microsite Frame",
|
|
9385
9078
|
};
|
|
9386
|
-
const defaultProps$
|
|
9079
|
+
const defaultProps$f = {
|
|
9387
9080
|
data: {
|
|
9388
9081
|
footer: index.h("span", null, "example@example.com"),
|
|
9389
9082
|
header: (index.h("div", { slot: "header", style: { display: "flex", flexDirection: "column" } },
|
|
@@ -9400,9 +9093,9 @@ const defaultProps$g = {
|
|
|
9400
9093
|
};
|
|
9401
9094
|
const FrameWithMenu = () => {
|
|
9402
9095
|
const props = {
|
|
9403
|
-
...defaultProps$
|
|
9096
|
+
...defaultProps$f,
|
|
9404
9097
|
};
|
|
9405
|
-
return (index.h(
|
|
9098
|
+
return (index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props),
|
|
9406
9099
|
index.h("sqm-navigation-menu", { "menu-label": "Menu" },
|
|
9407
9100
|
index.h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/widget" }, "Dashboard"),
|
|
9408
9101
|
index.h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/editProfile" }, "Edit Profile"),
|
|
@@ -9411,9 +9104,9 @@ const FrameWithMenu = () => {
|
|
|
9411
9104
|
};
|
|
9412
9105
|
const FrameWithoutMenu = () => {
|
|
9413
9106
|
const props = {
|
|
9414
|
-
...defaultProps$
|
|
9107
|
+
...defaultProps$f,
|
|
9415
9108
|
};
|
|
9416
|
-
return index.h(
|
|
9109
|
+
return index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props));
|
|
9417
9110
|
};
|
|
9418
9111
|
const FullStackFrame = () => {
|
|
9419
9112
|
var _a;
|
|
@@ -9478,7 +9171,7 @@ const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
|
9478
9171
|
const PortalGoogleRegistrationForm_stories = {
|
|
9479
9172
|
title: "Components/Microsite Google Register",
|
|
9480
9173
|
};
|
|
9481
|
-
const defaultProps$
|
|
9174
|
+
const defaultProps$g = {
|
|
9482
9175
|
states: {
|
|
9483
9176
|
error: "",
|
|
9484
9177
|
loading: false,
|
|
@@ -9504,7 +9197,7 @@ const defaultProps$h = {
|
|
|
9504
9197
|
passwordField: null,
|
|
9505
9198
|
formData: (index.h("div", null,
|
|
9506
9199
|
" ",
|
|
9507
|
-
index.h(
|
|
9200
|
+
index.h(ShadowViewAddon.NameFieldsView, { states: {
|
|
9508
9201
|
optional: false,
|
|
9509
9202
|
registrationFormState: {
|
|
9510
9203
|
validationErrors: undefined,
|
|
@@ -9524,7 +9217,7 @@ const defaultProps$h = {
|
|
|
9524
9217
|
},
|
|
9525
9218
|
};
|
|
9526
9219
|
const errorProps$5 = {
|
|
9527
|
-
...defaultProps$
|
|
9220
|
+
...defaultProps$g,
|
|
9528
9221
|
states: {
|
|
9529
9222
|
error: "Something went wrong. Please try again.",
|
|
9530
9223
|
loading: false,
|
|
@@ -9540,7 +9233,7 @@ const errorProps$5 = {
|
|
|
9540
9233
|
},
|
|
9541
9234
|
};
|
|
9542
9235
|
const loadingProps$3 = {
|
|
9543
|
-
...defaultProps$
|
|
9236
|
+
...defaultProps$g,
|
|
9544
9237
|
states: {
|
|
9545
9238
|
error: "",
|
|
9546
9239
|
loading: true,
|
|
@@ -9558,8 +9251,8 @@ const loadingProps$3 = {
|
|
|
9558
9251
|
const Default$f = () => (index.h("sqm-portal-google-registration-form", null));
|
|
9559
9252
|
const RegisterWithError = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, errorProps$5)));
|
|
9560
9253
|
const RegisterLoading = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, loadingProps$3)));
|
|
9561
|
-
const TermsAndConditions$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
9562
|
-
...defaultProps$
|
|
9254
|
+
const TermsAndConditions$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$g, { content: {
|
|
9255
|
+
...defaultProps$g.content,
|
|
9563
9256
|
terms: (index.h("p", null,
|
|
9564
9257
|
"By signing up you agree to the",
|
|
9565
9258
|
" ",
|
|
@@ -9623,7 +9316,7 @@ const PortalGoogleLoginFormStories = /*#__PURE__*/Object.freeze({
|
|
|
9623
9316
|
const PortalLogin_stories = {
|
|
9624
9317
|
title: "Components/Microsite Login",
|
|
9625
9318
|
};
|
|
9626
|
-
const defaultProps$
|
|
9319
|
+
const defaultProps$h = {
|
|
9627
9320
|
states: {
|
|
9628
9321
|
error: "",
|
|
9629
9322
|
loading: false,
|
|
@@ -9669,7 +9362,7 @@ const loadingProps$4 = {
|
|
|
9669
9362
|
},
|
|
9670
9363
|
};
|
|
9671
9364
|
const googleProps = {
|
|
9672
|
-
...defaultProps$
|
|
9365
|
+
...defaultProps$h,
|
|
9673
9366
|
content: {
|
|
9674
9367
|
secondaryButton: (index.h("span", null,
|
|
9675
9368
|
"Don't have an account?",
|
|
@@ -9678,8 +9371,8 @@ const googleProps = {
|
|
|
9678
9371
|
googleButton: index.h("sl-button", null, "Sign in with Google"),
|
|
9679
9372
|
},
|
|
9680
9373
|
};
|
|
9681
|
-
const Default$h = () => (index.h("sqm-portal-login", { demoData: { ...defaultProps$
|
|
9682
|
-
const Text = () => index.h(
|
|
9374
|
+
const Default$h = () => (index.h("sqm-portal-login", { demoData: { ...defaultProps$h } }));
|
|
9375
|
+
const Text = () => index.h(sqmPortalVerifyEmailView.PortalLoginView, Object.assign({}, defaultProps$h));
|
|
9683
9376
|
const IsGoogle = () => (index.h("sqm-portal-login", { demoData: { ...googleProps } }));
|
|
9684
9377
|
const LoginWithError = () => (index.h("sqm-portal-login", { demoData: { ...errorProps$6 } }));
|
|
9685
9378
|
const LoginLoading = () => (index.h("sqm-portal-login", { demoData: { ...loadingProps$4 } }));
|
|
@@ -9697,7 +9390,7 @@ const PortalLogin = /*#__PURE__*/Object.freeze({
|
|
|
9697
9390
|
const PortalProfile_stories = {
|
|
9698
9391
|
title: "Components/Microsite Profile",
|
|
9699
9392
|
};
|
|
9700
|
-
const defaultProps$
|
|
9393
|
+
const defaultProps$i = {
|
|
9701
9394
|
states: {
|
|
9702
9395
|
success: false,
|
|
9703
9396
|
loading: false,
|
|
@@ -9913,7 +9606,7 @@ const successProps$3 = {
|
|
|
9913
9606
|
onChange: (e) => console.log(e),
|
|
9914
9607
|
},
|
|
9915
9608
|
};
|
|
9916
|
-
const Default$i = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$
|
|
9609
|
+
const Default$i = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$i));
|
|
9917
9610
|
const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
|
|
9918
9611
|
const Loading$6 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$5));
|
|
9919
9612
|
const Disabled = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
|
|
@@ -9934,7 +9627,7 @@ const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
|
9934
9627
|
const PortalRegister_stories = {
|
|
9935
9628
|
title: "Components/Microsite Register",
|
|
9936
9629
|
};
|
|
9937
|
-
const defaultProps$
|
|
9630
|
+
const defaultProps$j = {
|
|
9938
9631
|
states: {
|
|
9939
9632
|
registrationFormState: {},
|
|
9940
9633
|
error: "",
|
|
@@ -10029,9 +9722,9 @@ const slottedProps = {
|
|
|
10029
9722
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
10030
9723
|
},
|
|
10031
9724
|
};
|
|
10032
|
-
const Default$j = () => index.h(
|
|
10033
|
-
const RegisterWithError$1 = () => index.h(
|
|
10034
|
-
const RegisterLoading$1 = () => index.h(
|
|
9725
|
+
const Default$j = () => index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultProps$j));
|
|
9726
|
+
const RegisterWithError$1 = () => index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, errorProps$8));
|
|
9727
|
+
const RegisterLoading$1 = () => index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, loadingProps$6));
|
|
10035
9728
|
const FieldsHidden = () => {
|
|
10036
9729
|
return (index.h("sqm-portal-register", { demoData: {
|
|
10037
9730
|
states: {
|
|
@@ -10044,9 +9737,9 @@ const FieldsHidden = () => {
|
|
|
10044
9737
|
},
|
|
10045
9738
|
} }));
|
|
10046
9739
|
};
|
|
10047
|
-
const SlottedInputs = () => index.h(
|
|
10048
|
-
const TermsAndConditions$3 = () => (index.h(
|
|
10049
|
-
...defaultProps$
|
|
9740
|
+
const SlottedInputs = () => index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, slottedProps));
|
|
9741
|
+
const TermsAndConditions$3 = () => (index.h(sqmPortalVerifyEmailView.PortalRegisterView, Object.assign({}, defaultProps$j, { content: {
|
|
9742
|
+
...defaultProps$j.content,
|
|
10050
9743
|
terms: (index.h("p", null,
|
|
10051
9744
|
"By signing up you agree to the",
|
|
10052
9745
|
" ",
|
|
@@ -10068,7 +9761,7 @@ const PortalRegistrationForm_stories = {
|
|
|
10068
9761
|
title: "Components/Microsite Portal Register",
|
|
10069
9762
|
};
|
|
10070
9763
|
// TODO: Figure out if we can delete this component and it's stories since we have a duplicate
|
|
10071
|
-
const defaultProps$
|
|
9764
|
+
const defaultProps$k = {
|
|
10072
9765
|
states: {
|
|
10073
9766
|
error: "",
|
|
10074
9767
|
loading: false,
|
|
@@ -10145,7 +9838,7 @@ const slottedProps$1 = {
|
|
|
10145
9838
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
10146
9839
|
},
|
|
10147
9840
|
};
|
|
10148
|
-
const Default$k = () => index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
9841
|
+
const Default$k = () => index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$k));
|
|
10149
9842
|
const RegisterWithError$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, errorProps$9)));
|
|
10150
9843
|
const RegisterLoading$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, loadingProps$7)));
|
|
10151
9844
|
const FieldsHidden$1 = () => {
|
|
@@ -10161,12 +9854,12 @@ const FieldsHidden$1 = () => {
|
|
|
10161
9854
|
} }));
|
|
10162
9855
|
};
|
|
10163
9856
|
const SlottedInputs$1 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, slottedProps$1)));
|
|
10164
|
-
const RegisterWithMarketingEmailsCheckbox = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
10165
|
-
...defaultProps$
|
|
9857
|
+
const RegisterWithMarketingEmailsCheckbox = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$k, { content: {
|
|
9858
|
+
...defaultProps$k.content,
|
|
10166
9859
|
emailOptIn: (index.h("sqm-checkbox-field", { checkboxLabel: "I would like to receive marketing and promotional emails for this referral program" })),
|
|
10167
9860
|
} })));
|
|
10168
|
-
const TermsAndConditions$4 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
10169
|
-
...defaultProps$
|
|
9861
|
+
const TermsAndConditions$4 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$k, { content: {
|
|
9862
|
+
...defaultProps$k.content,
|
|
10170
9863
|
terms: (index.h("p", null,
|
|
10171
9864
|
"By signing up you agree to the",
|
|
10172
9865
|
" ",
|
|
@@ -10193,7 +9886,7 @@ const PortalResetPassword_stories = {
|
|
|
10193
9886
|
scenario: scenario$l,
|
|
10194
9887
|
},
|
|
10195
9888
|
};
|
|
10196
|
-
const defaultProps$
|
|
9889
|
+
const defaultProps$l = {
|
|
10197
9890
|
states: {
|
|
10198
9891
|
error: "",
|
|
10199
9892
|
loading: false,
|
|
@@ -10331,7 +10024,7 @@ const validatingCodeProps = {
|
|
|
10331
10024
|
failed: () => console.log("failed"),
|
|
10332
10025
|
},
|
|
10333
10026
|
};
|
|
10334
|
-
const Default$l = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$
|
|
10027
|
+
const Default$l = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$l));
|
|
10335
10028
|
const DefaultWithoutConfirmField = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
|
|
10336
10029
|
const ResetPasswordWithError = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, errorProps$a)));
|
|
10337
10030
|
const ResetPasswordLoading = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, loadingProps$8)));
|
|
@@ -10533,7 +10226,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10533
10226
|
const QRCode_stories = {
|
|
10534
10227
|
title: "Components/QR Code",
|
|
10535
10228
|
};
|
|
10536
|
-
const defaultProps$
|
|
10229
|
+
const defaultProps$m = {
|
|
10537
10230
|
hideTitle: false,
|
|
10538
10231
|
loading: false,
|
|
10539
10232
|
alignment: "center",
|
|
@@ -10552,28 +10245,28 @@ const defaultProps$n = {
|
|
|
10552
10245
|
errorDescriptionText: "Please refresh this page and try again",
|
|
10553
10246
|
};
|
|
10554
10247
|
const Default$m = () => {
|
|
10555
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10248
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m));
|
|
10556
10249
|
};
|
|
10557
10250
|
const HideTitle = () => {
|
|
10558
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10251
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { hideTitle: true }));
|
|
10559
10252
|
};
|
|
10560
10253
|
const LeftAlign$1 = () => {
|
|
10561
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10254
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { alignment: "left" }));
|
|
10562
10255
|
};
|
|
10563
10256
|
const CenterAlign = () => {
|
|
10564
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10257
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { alignment: "center" }));
|
|
10565
10258
|
};
|
|
10566
10259
|
const RightAlign$1 = () => {
|
|
10567
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10260
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { alignment: "right" }));
|
|
10568
10261
|
};
|
|
10569
10262
|
const Loading$7 = () => {
|
|
10570
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10263
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { loading: true }));
|
|
10571
10264
|
};
|
|
10572
10265
|
const Error$7 = () => {
|
|
10573
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10266
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { error: true }));
|
|
10574
10267
|
};
|
|
10575
10268
|
const DownloadError = () => {
|
|
10576
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10269
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { error: true }));
|
|
10577
10270
|
};
|
|
10578
10271
|
|
|
10579
10272
|
const QRCode = /*#__PURE__*/Object.freeze({
|
|
@@ -10608,8 +10301,8 @@ const style$1 = {
|
|
|
10608
10301
|
gap: "var(--sl-spacing-small)",
|
|
10609
10302
|
},
|
|
10610
10303
|
};
|
|
10611
|
-
const sheet$
|
|
10612
|
-
const styleString$1 = sheet$
|
|
10304
|
+
const sheet$1 = JSS.createStyleSheet(style$1);
|
|
10305
|
+
const styleString$1 = sheet$1.toString();
|
|
10613
10306
|
const vanillaStyle = `
|
|
10614
10307
|
:host{
|
|
10615
10308
|
display: block;
|
|
@@ -10640,14 +10333,14 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
10640
10333
|
const border = selected
|
|
10641
10334
|
? "var(--sqm-border-thickness) solid var(--sqm-primary-color)"
|
|
10642
10335
|
: "var(--sqm-border-thickness) solid var(--sqm-border-color)";
|
|
10643
|
-
return (index.h("div", { part: "sqm-base", class: sheet$
|
|
10336
|
+
return (index.h("div", { part: "sqm-base", class: sheet$1.classes.Container, style: {
|
|
10644
10337
|
border,
|
|
10645
10338
|
} },
|
|
10646
10339
|
index.h("style", { type: "text/css" },
|
|
10647
10340
|
styleString$1,
|
|
10648
10341
|
vanillaStyle),
|
|
10649
10342
|
index.h("sl-checkbox", { checked: selected }),
|
|
10650
|
-
index.h("div", { part: "sqm-title-container", class: sheet$
|
|
10343
|
+
index.h("div", { part: "sqm-title-container", class: sheet$1.classes.TitleContainer },
|
|
10651
10344
|
index.h("sl-icon", { name: icon }),
|
|
10652
10345
|
index.h("p", null, title)),
|
|
10653
10346
|
index.h("p", null, description)));
|
|
@@ -10656,17 +10349,17 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
10656
10349
|
const RadioCard_stories = {
|
|
10657
10350
|
title: "Components/Radio Card",
|
|
10658
10351
|
};
|
|
10659
|
-
const defaultProps$
|
|
10352
|
+
const defaultProps$n = {
|
|
10660
10353
|
selected: false,
|
|
10661
10354
|
title: "Card Title",
|
|
10662
10355
|
description: "Description text goes here",
|
|
10663
10356
|
icon: "apple",
|
|
10664
10357
|
};
|
|
10665
10358
|
const DefaultView = () => {
|
|
10666
|
-
return index.h(RadioCardView, Object.assign({}, defaultProps$
|
|
10359
|
+
return index.h(RadioCardView, Object.assign({}, defaultProps$n));
|
|
10667
10360
|
};
|
|
10668
10361
|
const Selected = () => {
|
|
10669
|
-
return index.h(RadioCardView, Object.assign({}, defaultProps$
|
|
10362
|
+
return index.h(RadioCardView, Object.assign({}, defaultProps$n, { selected: true }));
|
|
10670
10363
|
};
|
|
10671
10364
|
|
|
10672
10365
|
const RadioCard = /*#__PURE__*/Object.freeze({
|
|
@@ -11016,7 +10709,7 @@ const props$1 = {
|
|
|
11016
10709
|
};
|
|
11017
10710
|
const ReferralIframe = () => {
|
|
11018
10711
|
return (index.h("div", { style: { width: "1000px", height: "1000px" } },
|
|
11019
|
-
index.h(
|
|
10712
|
+
index.h(ShadowViewAddon.ReferralIframeView, Object.assign({}, props$1))));
|
|
11020
10713
|
};
|
|
11021
10714
|
const ReferralIframeError = () => {
|
|
11022
10715
|
return (index.h("div", { style: { width: "1000px", height: "1000px" } },
|
|
@@ -12167,14 +11860,14 @@ const defaultTaxDocument = {
|
|
|
12167
11860
|
type: "W9",
|
|
12168
11861
|
dateCreated: luxon.luxon.DateTime.now().toMillis() - 1000000,
|
|
12169
11862
|
};
|
|
12170
|
-
const defaultProps$
|
|
11863
|
+
const defaultProps$o = {
|
|
12171
11864
|
statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Payment Processing} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",
|
|
12172
11865
|
statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PROCESSING {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }",
|
|
12173
11866
|
rewardReceivedText: "Reward received on",
|
|
12174
11867
|
hideDetails: false,
|
|
12175
11868
|
};
|
|
12176
11869
|
const CashReward = () => {
|
|
12177
|
-
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [{ ...cashReward }], taxConnection: taxConnection }, defaultProps$
|
|
11870
|
+
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [{ ...cashReward }], taxConnection: taxConnection }, defaultProps$o)));
|
|
12178
11871
|
};
|
|
12179
11872
|
const PayoutApproved = () => {
|
|
12180
11873
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12186,7 +11879,7 @@ const PayoutApproved = () => {
|
|
|
12186
11879
|
dateScheduled: Date.now() - 600000000,
|
|
12187
11880
|
},
|
|
12188
11881
|
},
|
|
12189
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
11882
|
+
], taxConnection: taxConnection }, defaultProps$o)));
|
|
12190
11883
|
};
|
|
12191
11884
|
const PayoutProcessing = () => {
|
|
12192
11885
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12198,7 +11891,7 @@ const PayoutProcessing = () => {
|
|
|
12198
11891
|
dateScheduled: getDays$1(),
|
|
12199
11892
|
},
|
|
12200
11893
|
},
|
|
12201
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
11894
|
+
], taxConnection: taxConnection }, defaultProps$o)));
|
|
12202
11895
|
};
|
|
12203
11896
|
const PayoutFailed$1 = () => {
|
|
12204
11897
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12210,7 +11903,7 @@ const PayoutFailed$1 = () => {
|
|
|
12210
11903
|
dateScheduled: Date.now() - 100000,
|
|
12211
11904
|
},
|
|
12212
11905
|
},
|
|
12213
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
11906
|
+
], taxConnection: taxConnection }, defaultProps$o)));
|
|
12214
11907
|
};
|
|
12215
11908
|
const PayoutCancelled$1 = () => {
|
|
12216
11909
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12222,7 +11915,7 @@ const PayoutCancelled$1 = () => {
|
|
|
12222
11915
|
dateScheduled: Date.now() - 100000,
|
|
12223
11916
|
},
|
|
12224
11917
|
},
|
|
12225
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
11918
|
+
], taxConnection: taxConnection }, defaultProps$o)));
|
|
12226
11919
|
};
|
|
12227
11920
|
const PendingTaxReview$1 = () => {
|
|
12228
11921
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12240,7 +11933,7 @@ const PendingTaxReview$1 = () => {
|
|
|
12240
11933
|
status: "NOT_VERIFIED",
|
|
12241
11934
|
},
|
|
12242
11935
|
},
|
|
12243
|
-
} }, defaultProps$
|
|
11936
|
+
} }, defaultProps$o)));
|
|
12244
11937
|
};
|
|
12245
11938
|
const PendingNewTaxForm$1 = () => {
|
|
12246
11939
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12258,7 +11951,7 @@ const PendingNewTaxForm$1 = () => {
|
|
|
12258
11951
|
status: "INACTIVE",
|
|
12259
11952
|
},
|
|
12260
11953
|
},
|
|
12261
|
-
} }, defaultProps$
|
|
11954
|
+
} }, defaultProps$o)));
|
|
12262
11955
|
};
|
|
12263
11956
|
const PendingTaxSubmission$1 = () => {
|
|
12264
11957
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12273,7 +11966,7 @@ const PendingTaxSubmission$1 = () => {
|
|
|
12273
11966
|
...taxConnection.publisher,
|
|
12274
11967
|
currentTaxDocument: null,
|
|
12275
11968
|
},
|
|
12276
|
-
} }, defaultProps$
|
|
11969
|
+
} }, defaultProps$o)));
|
|
12277
11970
|
};
|
|
12278
11971
|
const PendingPartnerCreation$1 = () => {
|
|
12279
11972
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12285,7 +11978,7 @@ const PendingPartnerCreation$1 = () => {
|
|
|
12285
11978
|
], taxConnection: {
|
|
12286
11979
|
...taxConnection,
|
|
12287
11980
|
connected: false,
|
|
12288
|
-
} }, defaultProps$
|
|
11981
|
+
} }, defaultProps$o)));
|
|
12289
11982
|
};
|
|
12290
11983
|
const PendingW9 = () => {
|
|
12291
11984
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -12297,7 +11990,7 @@ const PendingW9 = () => {
|
|
|
12297
11990
|
], taxConnection: {
|
|
12298
11991
|
...taxConnection,
|
|
12299
11992
|
taxHandlingEnabled: false,
|
|
12300
|
-
} }, defaultProps$
|
|
11993
|
+
} }, defaultProps$o)));
|
|
12301
11994
|
};
|
|
12302
11995
|
|
|
12303
11996
|
const TaxAndCashReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
@@ -12463,12 +12156,6 @@ function setupGraphQLKlip({ token, id }) {
|
|
|
12463
12156
|
const ReferralTable$1 = createHookStory(() => {
|
|
12464
12157
|
setupGraphQL$8();
|
|
12465
12158
|
index_module.setProgramId("sam-partner-test-2");
|
|
12466
|
-
const props = {
|
|
12467
|
-
listType: "",
|
|
12468
|
-
render: () => { },
|
|
12469
|
-
disconnectedCallback: () => { },
|
|
12470
|
-
ignored: true,
|
|
12471
|
-
};
|
|
12472
12159
|
return (index.h("sqm-referral-table", null,
|
|
12473
12160
|
index.h("sqm-referral-table-user-column", null),
|
|
12474
12161
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -12476,14 +12163,6 @@ const ReferralTable$1 = createHookStory(() => {
|
|
|
12476
12163
|
index.h("sqm-referral-table-rewards-column", null)));
|
|
12477
12164
|
});
|
|
12478
12165
|
const ReferralTableDemoHook = createHookStory(() => {
|
|
12479
|
-
// setupGraphQL();
|
|
12480
|
-
// setProgramId("sam-partner-test-2");
|
|
12481
|
-
const props = {
|
|
12482
|
-
listType: "",
|
|
12483
|
-
render: () => { },
|
|
12484
|
-
disconnectedCallback: () => { },
|
|
12485
|
-
ignored: true,
|
|
12486
|
-
};
|
|
12487
12166
|
return (index.h("sqm-referral-table", null,
|
|
12488
12167
|
index.h("sqm-referral-table-user-column", null),
|
|
12489
12168
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -12491,14 +12170,6 @@ const ReferralTableDemoHook = createHookStory(() => {
|
|
|
12491
12170
|
index.h("sqm-referral-table-rewards-column", null)));
|
|
12492
12171
|
});
|
|
12493
12172
|
const ReferralTableDemoHookShowReferrer = createHookStory(() => {
|
|
12494
|
-
// setupGraphQL();
|
|
12495
|
-
// setProgramId("sam-partner-test-2");
|
|
12496
|
-
const props = {
|
|
12497
|
-
listType: "",
|
|
12498
|
-
render: () => { },
|
|
12499
|
-
disconnectedCallback: () => { },
|
|
12500
|
-
ignored: true,
|
|
12501
|
-
};
|
|
12502
12173
|
return (index.h("sqm-referral-table", { "show-referrer": "true" },
|
|
12503
12174
|
index.h("sqm-referral-table-user-column", null),
|
|
12504
12175
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -12511,12 +12182,6 @@ const ReferralTableEn = createHookStory(() => {
|
|
|
12511
12182
|
id: "samenglish",
|
|
12512
12183
|
});
|
|
12513
12184
|
index_module.setProgramId("klip-referral-program");
|
|
12514
|
-
const props = {
|
|
12515
|
-
listType: "",
|
|
12516
|
-
render: () => { },
|
|
12517
|
-
disconnectedCallback: () => { },
|
|
12518
|
-
ignored: true,
|
|
12519
|
-
};
|
|
12520
12185
|
return (index.h("sqm-referral-table", { "per-page": "4" },
|
|
12521
12186
|
index.h("sqm-referral-table-user-column", { "column-title": "User" }),
|
|
12522
12187
|
index.h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
|
|
@@ -12529,12 +12194,6 @@ const ReferralTableTr = createHookStory(() => {
|
|
|
12529
12194
|
id: "samturkey",
|
|
12530
12195
|
});
|
|
12531
12196
|
index_module.setProgramId("klip-referral-program");
|
|
12532
|
-
const props = {
|
|
12533
|
-
listType: "",
|
|
12534
|
-
render: () => { },
|
|
12535
|
-
disconnectedCallback: () => { },
|
|
12536
|
-
ignored: true,
|
|
12537
|
-
};
|
|
12538
12197
|
return (index.h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
|
|
12539
12198
|
index.h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
|
|
12540
12199
|
index.h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
|
|
@@ -12547,12 +12206,6 @@ const ReferralTableFr = createHookStory(() => {
|
|
|
12547
12206
|
id: "samfrench",
|
|
12548
12207
|
});
|
|
12549
12208
|
index_module.setProgramId("klip-referral-program");
|
|
12550
|
-
const props = {
|
|
12551
|
-
listType: "",
|
|
12552
|
-
render: () => { },
|
|
12553
|
-
disconnectedCallback: () => { },
|
|
12554
|
-
ignored: true,
|
|
12555
|
-
};
|
|
12556
12209
|
return (index.h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
|
|
12557
12210
|
index.h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
|
|
12558
12211
|
index.h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
|
|
@@ -12580,26 +12233,26 @@ const RewardExchangeList_stories = {
|
|
|
12580
12233
|
},
|
|
12581
12234
|
};
|
|
12582
12235
|
const StoryBase = (props) => {
|
|
12583
|
-
return index.h(
|
|
12584
|
-
};
|
|
12585
|
-
const ChooseReward = () => StoryBase(
|
|
12586
|
-
const CustomErrorMessage = () => StoryBase(
|
|
12587
|
-
const LongTextRewardExhange = () => StoryBase(
|
|
12588
|
-
const ChooseRewardSelected = () => StoryBase(
|
|
12589
|
-
const ChooseAmount = () => StoryBase(
|
|
12590
|
-
const ChooseAmountNoDescription = () => StoryBase(
|
|
12591
|
-
const ChooseAmountVariableAndStepped = () => StoryBase(
|
|
12592
|
-
const ChooseAmountVariableAndSteppedNoDescription = () => StoryBase(
|
|
12593
|
-
const chooseAmountVariableAndSteppedDisabled = () => StoryBase(
|
|
12594
|
-
const chooseAmountVariableAndSteppedUnavailable = () => StoryBase(
|
|
12595
|
-
const Confirm = () => StoryBase(
|
|
12596
|
-
const ConfirmVariableAndStepped = () => StoryBase(
|
|
12597
|
-
const RedemptionError = () => StoryBase(
|
|
12598
|
-
const QueryError = () => StoryBase(
|
|
12599
|
-
const SuccessPromo = () => StoryBase(
|
|
12600
|
-
const SuccessVariableAndStepped = () => StoryBase(
|
|
12601
|
-
const Loading$9 = () => StoryBase(
|
|
12602
|
-
const Empty$3 = () => StoryBase(
|
|
12236
|
+
return index.h(ShadowViewAddon.RewardExchangeView, Object.assign({}, props));
|
|
12237
|
+
};
|
|
12238
|
+
const ChooseReward = () => StoryBase(ShadowViewAddon.rewardExchange);
|
|
12239
|
+
const CustomErrorMessage = () => StoryBase(ShadowViewAddon.rewardExchangeCustomErrorMsg);
|
|
12240
|
+
const LongTextRewardExhange = () => StoryBase(ShadowViewAddon.rewardExchangeLongText);
|
|
12241
|
+
const ChooseRewardSelected = () => StoryBase(ShadowViewAddon.rewardExchangeSelected);
|
|
12242
|
+
const ChooseAmount = () => StoryBase(ShadowViewAddon.chooseAmountFixed);
|
|
12243
|
+
const ChooseAmountNoDescription = () => StoryBase(ShadowViewAddon.chooseAmountFixedNoDescription);
|
|
12244
|
+
const ChooseAmountVariableAndStepped = () => StoryBase(ShadowViewAddon.chooseAmountVariable);
|
|
12245
|
+
const ChooseAmountVariableAndSteppedNoDescription = () => StoryBase(ShadowViewAddon.chooseAmountVariableNoDescription);
|
|
12246
|
+
const chooseAmountVariableAndSteppedDisabled = () => StoryBase(ShadowViewAddon.chooseAmountVariableDisabled);
|
|
12247
|
+
const chooseAmountVariableAndSteppedUnavailable = () => StoryBase(ShadowViewAddon.chooseAmountVariableUnavailable);
|
|
12248
|
+
const Confirm = () => StoryBase(ShadowViewAddon.confirmFixed);
|
|
12249
|
+
const ConfirmVariableAndStepped = () => StoryBase(ShadowViewAddon.confirmVariable);
|
|
12250
|
+
const RedemptionError = () => StoryBase(ShadowViewAddon.redemptionError);
|
|
12251
|
+
const QueryError = () => StoryBase(ShadowViewAddon.queryError);
|
|
12252
|
+
const SuccessPromo = () => StoryBase(ShadowViewAddon.success);
|
|
12253
|
+
const SuccessVariableAndStepped = () => StoryBase(ShadowViewAddon.successVariable);
|
|
12254
|
+
const Loading$9 = () => StoryBase(ShadowViewAddon.loading);
|
|
12255
|
+
const Empty$3 = () => StoryBase(ShadowViewAddon.empty);
|
|
12603
12256
|
|
|
12604
12257
|
const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
12605
12258
|
__proto__: null,
|
|
@@ -12705,12 +12358,6 @@ const DefaultView$1 = (props) => {
|
|
|
12705
12358
|
};
|
|
12706
12359
|
const RewardList = createHookStory(() => {
|
|
12707
12360
|
setupGraphQL$9();
|
|
12708
|
-
const props = {
|
|
12709
|
-
listType: "",
|
|
12710
|
-
render: () => { },
|
|
12711
|
-
disconnectedCallback: () => { },
|
|
12712
|
-
ignored: true,
|
|
12713
|
-
};
|
|
12714
12361
|
return (index.h("sqm-reward-exchange-list", { "list-type": "something" }));
|
|
12715
12362
|
});
|
|
12716
12363
|
const FixedGlobalReward = createHookStory(() => {
|
|
@@ -12820,112 +12467,6 @@ const rewardsData$1 = {
|
|
|
12820
12467
|
},
|
|
12821
12468
|
partnerFundsTransfer: null,
|
|
12822
12469
|
};
|
|
12823
|
-
const cashReward$1 = {
|
|
12824
|
-
id: "68c34fd98a6cb4f5f8394084",
|
|
12825
|
-
type: "CREDIT",
|
|
12826
|
-
value: 59900,
|
|
12827
|
-
prettyValue: "$599.00",
|
|
12828
|
-
availableValue: 0,
|
|
12829
|
-
prettyAvailableValue: "$0.00",
|
|
12830
|
-
prettyAssignedCredit: "$599.00",
|
|
12831
|
-
prettyRedeemedCredit: "$599.00",
|
|
12832
|
-
prettyValueNumber: "599",
|
|
12833
|
-
prettyAvailableNumber: "0",
|
|
12834
|
-
prettyRedeemedNumber: "599",
|
|
12835
|
-
unit: "CASH/USD",
|
|
12836
|
-
baseUnit: "CASH",
|
|
12837
|
-
rewardUnit: {
|
|
12838
|
-
key: "CASH/USD",
|
|
12839
|
-
name: "Cash",
|
|
12840
|
-
},
|
|
12841
|
-
name: null,
|
|
12842
|
-
dateCreated: 1757630425085,
|
|
12843
|
-
dateScheduledFor: 1757631025115,
|
|
12844
|
-
dateGiven: 1757630737115,
|
|
12845
|
-
dateExpires: null,
|
|
12846
|
-
dateCancelled: null,
|
|
12847
|
-
dateRedeemed: 1757630737115,
|
|
12848
|
-
dateModified: 1757630737115,
|
|
12849
|
-
rewardSource: "MANUAL",
|
|
12850
|
-
fuelTankCode: null,
|
|
12851
|
-
fuelTankType: null,
|
|
12852
|
-
fuelTankSyncSetting: null,
|
|
12853
|
-
currency: "USD",
|
|
12854
|
-
meta: null,
|
|
12855
|
-
programId: "40444",
|
|
12856
|
-
programRewardKey: null,
|
|
12857
|
-
globalRewardKey: "cash",
|
|
12858
|
-
program: {
|
|
12859
|
-
id: "40444",
|
|
12860
|
-
name: "Make Money Program",
|
|
12861
|
-
template: {
|
|
12862
|
-
id: "2qdmAx1fi31deo3P9O36sQ",
|
|
12863
|
-
name: "Referral Program With Objectives",
|
|
12864
|
-
},
|
|
12865
|
-
},
|
|
12866
|
-
partnerFundsTransfer: {
|
|
12867
|
-
id: "693503",
|
|
12868
|
-
status: "TRANSFERRED",
|
|
12869
|
-
dateScheduled: 1768583958000,
|
|
12870
|
-
dateTransferred: 1768583958000,
|
|
12871
|
-
dateCreated: 1767979159000,
|
|
12872
|
-
},
|
|
12873
|
-
user: {
|
|
12874
|
-
id: "8da2c67e05e3e56de7ea638c2705017945211621c80e1cd4b4aac0e423d1cdb2",
|
|
12875
|
-
accountId: "8da2c67e05e3e56de7ea638c2705017945211621c80e1cd4b4aac0e423d1cdb2",
|
|
12876
|
-
firstName: "Billy",
|
|
12877
|
-
lastName: "Jean",
|
|
12878
|
-
email: "billy.jean@impact.com",
|
|
12879
|
-
impactConnection: {
|
|
12880
|
-
connected: true,
|
|
12881
|
-
taxHandlingEnabled: true,
|
|
12882
|
-
publisher: null,
|
|
12883
|
-
},
|
|
12884
|
-
},
|
|
12885
|
-
referral: null,
|
|
12886
|
-
description: null,
|
|
12887
|
-
statuses: ["REDEEMED"],
|
|
12888
|
-
// rewardRedemptionTransactions: {
|
|
12889
|
-
// data: [
|
|
12890
|
-
// {
|
|
12891
|
-
// exchangedRewards: {
|
|
12892
|
-
// data: [],
|
|
12893
|
-
// },
|
|
12894
|
-
// redeemedRewards: {
|
|
12895
|
-
// data: [
|
|
12896
|
-
// {
|
|
12897
|
-
// prettyValue: "$599.00",
|
|
12898
|
-
// },
|
|
12899
|
-
// ],
|
|
12900
|
-
// },
|
|
12901
|
-
// creditRedeemed: 59900,
|
|
12902
|
-
// prettyRedeemedCredit: "$599.00",
|
|
12903
|
-
// dateRedeemed: 1757630737115,
|
|
12904
|
-
// },
|
|
12905
|
-
// ],
|
|
12906
|
-
// },
|
|
12907
|
-
rewardRedemptionTransactions: {
|
|
12908
|
-
data: null,
|
|
12909
|
-
},
|
|
12910
|
-
exchangedRewardRedemptionTransaction: null,
|
|
12911
|
-
pendingReasons: [],
|
|
12912
|
-
};
|
|
12913
|
-
const taxConnection$1 = {
|
|
12914
|
-
connected: true,
|
|
12915
|
-
taxHandlingEnabled: true,
|
|
12916
|
-
publisher: {
|
|
12917
|
-
requiredTaxDocumentType: "W8BEN",
|
|
12918
|
-
currentTaxDocument: {
|
|
12919
|
-
status: "NOT_VERIFIED",
|
|
12920
|
-
type: "W8BEN",
|
|
12921
|
-
dateCreated: 321321487,
|
|
12922
|
-
},
|
|
12923
|
-
withdrawalSettings: {
|
|
12924
|
-
paymentMethod: "BANK_TRANSFER",
|
|
12925
|
-
},
|
|
12926
|
-
payoutsAccount: null,
|
|
12927
|
-
},
|
|
12928
|
-
};
|
|
12929
12470
|
const RewardsCellCreditSingle = () => {
|
|
12930
12471
|
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...singleRedeemed } }));
|
|
12931
12472
|
};
|
|
@@ -13094,7 +12635,7 @@ const SourceCellDeletedUser = () => {
|
|
|
13094
12635
|
const SourceCellDeletedReferral = () => {
|
|
13095
12636
|
return (index.h("sqm-rewards-table-source-cell", {
|
|
13096
12637
|
//@ts-ignore
|
|
13097
|
-
reward: { ...rewardsData$1, ...deletedReferral(
|
|
12638
|
+
reward: { ...rewardsData$1, ...deletedReferral() }, referralText: "Referral to", deletedReferralText: "Deleted Referral" }));
|
|
13098
12639
|
};
|
|
13099
12640
|
const StatusCellAvailable = () => {
|
|
13100
12641
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Available", reward: rewardsData$1 }));
|
|
@@ -13412,7 +12953,7 @@ const RewardsTable$1 = /*#__PURE__*/Object.freeze({
|
|
|
13412
12953
|
const TaxAndCashRewardsTableCell_stories = {
|
|
13413
12954
|
title: "Components/Tax And Cash Rewards Table Cell",
|
|
13414
12955
|
};
|
|
13415
|
-
const cashReward$
|
|
12956
|
+
const cashReward$1 = {
|
|
13416
12957
|
id: "68c34fd98a6cb4f5f8394084",
|
|
13417
12958
|
type: "CREDIT",
|
|
13418
12959
|
value: 59900,
|
|
@@ -13480,16 +13021,6 @@ const cashReward$2 = {
|
|
|
13480
13021
|
const pending$1 = {
|
|
13481
13022
|
statuses: ["PENDING"],
|
|
13482
13023
|
};
|
|
13483
|
-
const payoutSent = {
|
|
13484
|
-
statuses: ["PAYOUT_APPROVED"],
|
|
13485
|
-
};
|
|
13486
|
-
const payoutFailed = {
|
|
13487
|
-
statuses: ["PAYOUT_FAILED"],
|
|
13488
|
-
};
|
|
13489
|
-
const payoutCancelled = {
|
|
13490
|
-
statuses: ["PAYOUT_CANCELLED"],
|
|
13491
|
-
dateCancelled: 1355612521321,
|
|
13492
|
-
};
|
|
13493
13024
|
const processingPFT = {
|
|
13494
13025
|
partnerFundsTransfer: {
|
|
13495
13026
|
id: "123",
|
|
@@ -13499,7 +13030,7 @@ const processingPFT = {
|
|
|
13499
13030
|
dateTransferred: null,
|
|
13500
13031
|
},
|
|
13501
13032
|
};
|
|
13502
|
-
const taxConnection$
|
|
13033
|
+
const taxConnection$1 = {
|
|
13503
13034
|
connected: true,
|
|
13504
13035
|
taxHandlingEnabled: true,
|
|
13505
13036
|
publisher: {
|
|
@@ -13516,23 +13047,23 @@ const taxConnection$2 = {
|
|
|
13516
13047
|
},
|
|
13517
13048
|
};
|
|
13518
13049
|
const CashReward$1 = () => {
|
|
13519
|
-
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...cashReward$
|
|
13050
|
+
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...cashReward$1 }, availableText: "{availableAmount} remaining" }));
|
|
13520
13051
|
};
|
|
13521
13052
|
const StatusCellPendingTaxReview = () => {
|
|
13522
|
-
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$
|
|
13523
|
-
...taxConnection$
|
|
13053
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$1, ...pending$1, pendingReasons: ["US_TAX"] }, taxConnection: {
|
|
13054
|
+
...taxConnection$1,
|
|
13524
13055
|
publisher: {
|
|
13525
13056
|
requiredTaxDocumentType: "W8BEN",
|
|
13526
13057
|
currentTaxDocument: {
|
|
13527
13058
|
status: "",
|
|
13528
13059
|
},
|
|
13529
|
-
...taxConnection$
|
|
13060
|
+
...taxConnection$1.publisher,
|
|
13530
13061
|
},
|
|
13531
13062
|
} }));
|
|
13532
13063
|
};
|
|
13533
13064
|
const StatusCellPendingNewTaxForm = () => {
|
|
13534
13065
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: {
|
|
13535
|
-
...cashReward$
|
|
13066
|
+
...cashReward$1,
|
|
13536
13067
|
statuses: ["PENDING"],
|
|
13537
13068
|
pendingReasons: ["US_TAX"],
|
|
13538
13069
|
}, taxConnection: {
|
|
@@ -13553,10 +13084,10 @@ const StatusCellPendingNewTaxForm = () => {
|
|
|
13553
13084
|
} }));
|
|
13554
13085
|
};
|
|
13555
13086
|
const StatusCellPendingTaxSubmission = () => {
|
|
13556
|
-
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$
|
|
13557
|
-
...taxConnection$
|
|
13087
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$1, ...pending$1, pendingReasons: ["US_TAX"] }, taxConnection: {
|
|
13088
|
+
...taxConnection$1,
|
|
13558
13089
|
publisher: {
|
|
13559
|
-
...taxConnection$
|
|
13090
|
+
...taxConnection$1.publisher,
|
|
13560
13091
|
requiredTaxDocumentType: "W8BEN",
|
|
13561
13092
|
currentTaxDocument: null,
|
|
13562
13093
|
},
|
|
@@ -13564,27 +13095,27 @@ const StatusCellPendingTaxSubmission = () => {
|
|
|
13564
13095
|
};
|
|
13565
13096
|
const StatusCellPendingPartnerCreation = () => {
|
|
13566
13097
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: {
|
|
13567
|
-
...cashReward$
|
|
13098
|
+
...cashReward$1,
|
|
13568
13099
|
...pending$1,
|
|
13569
13100
|
pendingReasons: ["US_TAX"],
|
|
13570
13101
|
}, taxConnection: {
|
|
13571
|
-
...taxConnection$
|
|
13102
|
+
...taxConnection$1,
|
|
13572
13103
|
connected: false,
|
|
13573
13104
|
} }));
|
|
13574
13105
|
};
|
|
13575
13106
|
const StatusCellPendingW9 = () => {
|
|
13576
13107
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: {
|
|
13577
|
-
...cashReward$
|
|
13108
|
+
...cashReward$1,
|
|
13578
13109
|
...pending$1,
|
|
13579
13110
|
pendingReasons: ["US_TAX"],
|
|
13580
13111
|
}, taxConnection: {
|
|
13581
|
-
...taxConnection$
|
|
13112
|
+
...taxConnection$1,
|
|
13582
13113
|
taxHandlingEnabled: false,
|
|
13583
13114
|
} }));
|
|
13584
13115
|
};
|
|
13585
13116
|
const StatusCellPayoutSent = () => {
|
|
13586
13117
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Sent", reward: {
|
|
13587
|
-
...cashReward$
|
|
13118
|
+
...cashReward$1,
|
|
13588
13119
|
partnerFundsTransfer: {
|
|
13589
13120
|
id: "transfer-123",
|
|
13590
13121
|
status: "TRANSFERRED",
|
|
@@ -13592,11 +13123,11 @@ const StatusCellPayoutSent = () => {
|
|
|
13592
13123
|
dateTransferred: 1640995200000,
|
|
13593
13124
|
dateCreated: 1640995200000,
|
|
13594
13125
|
},
|
|
13595
|
-
}, taxConnection: taxConnection$
|
|
13126
|
+
}, taxConnection: taxConnection$1 }));
|
|
13596
13127
|
};
|
|
13597
13128
|
const StatusCellPayoutFailed = () => {
|
|
13598
13129
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: {
|
|
13599
|
-
...cashReward$
|
|
13130
|
+
...cashReward$1,
|
|
13600
13131
|
partnerFundsTransfer: {
|
|
13601
13132
|
id: "transfer-failed",
|
|
13602
13133
|
status: "OVERDUE",
|
|
@@ -13607,11 +13138,11 @@ const StatusCellPayoutFailed = () => {
|
|
|
13607
13138
|
} }));
|
|
13608
13139
|
};
|
|
13609
13140
|
const StatusCellPayoutProcessing = () => {
|
|
13610
|
-
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payment Processing", reward: { ...cashReward$
|
|
13141
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payment Processing", reward: { ...cashReward$1, ...processingPFT } }));
|
|
13611
13142
|
};
|
|
13612
13143
|
const StatusCellPayoutCancelled = () => {
|
|
13613
13144
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: {
|
|
13614
|
-
...cashReward$
|
|
13145
|
+
...cashReward$1,
|
|
13615
13146
|
partnerFundsTransfer: {
|
|
13616
13147
|
id: "transfer-reversed",
|
|
13617
13148
|
status: "REVERSED",
|
|
@@ -13799,14 +13330,6 @@ function setupGraphQLKlip$1({ token, id }) {
|
|
|
13799
13330
|
return { id, accountId };
|
|
13800
13331
|
}
|
|
13801
13332
|
const RewardTableDemoHook = createHookStory(() => {
|
|
13802
|
-
// setupGraphQL();
|
|
13803
|
-
// setProgramId("sam-partner-test-2");
|
|
13804
|
-
const props = {
|
|
13805
|
-
listType: "",
|
|
13806
|
-
render: () => { },
|
|
13807
|
-
disconnectedCallback: () => { },
|
|
13808
|
-
ignored: true,
|
|
13809
|
-
};
|
|
13810
13333
|
return (index.h("sqm-rewards-table", { "per-page": "4" },
|
|
13811
13334
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13812
13335
|
index.h("sqm-rewards-table-source-column", null),
|
|
@@ -13816,12 +13339,6 @@ const RewardTableDemoHook = createHookStory(() => {
|
|
|
13816
13339
|
const RewardsTableWithProgram = createHookStory(() => {
|
|
13817
13340
|
setupGraphQL$a();
|
|
13818
13341
|
index_module.setProgramId("sam-partner-test-2");
|
|
13819
|
-
const props = {
|
|
13820
|
-
listType: "",
|
|
13821
|
-
render: () => { },
|
|
13822
|
-
disconnectedCallback: () => { },
|
|
13823
|
-
ignored: true,
|
|
13824
|
-
};
|
|
13825
13342
|
return (index.h("sqm-rewards-table", null,
|
|
13826
13343
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13827
13344
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -13831,12 +13348,6 @@ const RewardsTableWithProgram = createHookStory(() => {
|
|
|
13831
13348
|
const RewardsTableNoProgram = createHookStory(() => {
|
|
13832
13349
|
setupGraphQL$a();
|
|
13833
13350
|
index_module.setProgramId(undefined);
|
|
13834
|
-
const props = {
|
|
13835
|
-
listType: "",
|
|
13836
|
-
render: () => { },
|
|
13837
|
-
disconnectedCallback: () => { },
|
|
13838
|
-
ignored: true,
|
|
13839
|
-
};
|
|
13840
13351
|
return (index.h("sqm-rewards-table", null,
|
|
13841
13352
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13842
13353
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -13849,12 +13360,6 @@ const RewardsTableEn = createHookStory(() => {
|
|
|
13849
13360
|
id: "samenglish",
|
|
13850
13361
|
});
|
|
13851
13362
|
index_module.setProgramId(undefined);
|
|
13852
|
-
const props = {
|
|
13853
|
-
listType: "",
|
|
13854
|
-
render: () => { },
|
|
13855
|
-
disconnectedCallback: () => { },
|
|
13856
|
-
ignored: true,
|
|
13857
|
-
};
|
|
13858
13363
|
return (index.h("sqm-rewards-table", { "per-page": "4" },
|
|
13859
13364
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13860
13365
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -13867,12 +13372,6 @@ const RewardsTableTr = createHookStory(() => {
|
|
|
13867
13372
|
id: "samturkey",
|
|
13868
13373
|
});
|
|
13869
13374
|
index_module.setProgramId(undefined);
|
|
13870
|
-
const props = {
|
|
13871
|
-
listType: "",
|
|
13872
|
-
render: () => { },
|
|
13873
|
-
disconnectedCallback: () => { },
|
|
13874
|
-
ignored: true,
|
|
13875
|
-
};
|
|
13876
13375
|
return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
|
|
13877
13376
|
index.h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
|
|
13878
13377
|
index.h("sqm-rewards-table-source-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131", "reward-exchange-text": "\u00D6d\u00FClleri Kulann\u0131n", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Y\u00F6nlendiren} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}" }),
|
|
@@ -13885,12 +13384,6 @@ const RewardsTableFr = createHookStory(() => {
|
|
|
13885
13384
|
id: "samfrench",
|
|
13886
13385
|
});
|
|
13887
13386
|
index_module.setProgramId(undefined);
|
|
13888
|
-
const props = {
|
|
13889
|
-
listType: "",
|
|
13890
|
-
render: () => { },
|
|
13891
|
-
disconnectedCallback: () => { },
|
|
13892
|
-
ignored: true,
|
|
13893
|
-
};
|
|
13894
13387
|
return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
|
|
13895
13388
|
index.h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
|
|
13896
13389
|
index.h("sqm-rewards-table-source-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9", "reward-exchange-text": "\u00C9change de R\u00E9compenses", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {R\u00E9f\u00E9rence \u00E0} REFERRED {R\u00E9f\u00E9renc\u00E9 par} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}" }),
|
|
@@ -14238,37 +13731,37 @@ const WithIconPrefix = () => {
|
|
|
14238
13731
|
medium: "whatsapp",
|
|
14239
13732
|
iconslot: "prefix",
|
|
14240
13733
|
};
|
|
14241
|
-
return index.h(
|
|
13734
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14242
13735
|
};
|
|
14243
13736
|
const WithIconSuffix = () => {
|
|
14244
13737
|
const props = { medium: "whatsapp", iconslot: "suffix" };
|
|
14245
|
-
return index.h(
|
|
13738
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14246
13739
|
};
|
|
14247
13740
|
const WithIconOverride = () => {
|
|
14248
13741
|
const props = {
|
|
14249
13742
|
medium: "facebook",
|
|
14250
13743
|
icon: "person-badge",
|
|
14251
13744
|
};
|
|
14252
|
-
return index.h(
|
|
13745
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14253
13746
|
};
|
|
14254
13747
|
const TextStyle = () => {
|
|
14255
13748
|
const props = {
|
|
14256
13749
|
medium: "facebook",
|
|
14257
13750
|
type: "text",
|
|
14258
13751
|
};
|
|
14259
|
-
return index.h(
|
|
13752
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14260
13753
|
};
|
|
14261
13754
|
const WithoutIcon = () => {
|
|
14262
13755
|
const props = { medium: "facebook", hideicon: true };
|
|
14263
|
-
return index.h(
|
|
13756
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14264
13757
|
};
|
|
14265
13758
|
const WithoutText = () => {
|
|
14266
13759
|
const props = { medium: "facebook", hidetext: true };
|
|
14267
|
-
return index.h(
|
|
13760
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14268
13761
|
};
|
|
14269
13762
|
const TextStyleWithoutIcon = () => {
|
|
14270
13763
|
const props = { medium: "facebook", type: "text", hideicon: true };
|
|
14271
|
-
return index.h(
|
|
13764
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Share");
|
|
14272
13765
|
};
|
|
14273
13766
|
const WithCustomColorsAndBranding = () => {
|
|
14274
13767
|
const props = {
|
|
@@ -14280,7 +13773,7 @@ const WithCustomColorsAndBranding = () => {
|
|
|
14280
13773
|
border: "2px solid yellow",
|
|
14281
13774
|
borderradius: 30,
|
|
14282
13775
|
};
|
|
14283
|
-
return index.h(
|
|
13776
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Facebook");
|
|
14284
13777
|
};
|
|
14285
13778
|
const WithCustomBorderRadius = () => {
|
|
14286
13779
|
const props = {
|
|
@@ -14289,7 +13782,7 @@ const WithCustomBorderRadius = () => {
|
|
|
14289
13782
|
borderradius: 8,
|
|
14290
13783
|
iconslot: "prefix",
|
|
14291
13784
|
};
|
|
14292
|
-
return index.h(
|
|
13785
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Facebook");
|
|
14293
13786
|
};
|
|
14294
13787
|
const LinkLocationTest = () => {
|
|
14295
13788
|
const props = {
|
|
@@ -14298,7 +13791,7 @@ const LinkLocationTest = () => {
|
|
|
14298
13791
|
onClick: undefined,
|
|
14299
13792
|
messageLink: "https://www.example.com",
|
|
14300
13793
|
};
|
|
14301
|
-
return index.h(
|
|
13794
|
+
return index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), "Click me");
|
|
14302
13795
|
};
|
|
14303
13796
|
const FullStackIcon = () => {
|
|
14304
13797
|
return (index.h("div", null,
|
|
@@ -14387,11 +13880,11 @@ const BareBonesView = createHookStory(() => {
|
|
|
14387
13880
|
setupGraphQL$b();
|
|
14388
13881
|
const programId = "sam-partner-test-2";
|
|
14389
13882
|
const res = [
|
|
14390
|
-
|
|
14391
|
-
|
|
14392
|
-
|
|
14393
|
-
|
|
14394
|
-
|
|
13883
|
+
ShadowViewAddon.useShareButton({ programId, medium: "facebook" }),
|
|
13884
|
+
ShadowViewAddon.useShareButton({ programId, medium: "twitter" }),
|
|
13885
|
+
ShadowViewAddon.useShareButton({ programId, medium: "email" }),
|
|
13886
|
+
ShadowViewAddon.useShareButton({ programId, medium: "direct" }),
|
|
13887
|
+
ShadowViewAddon.useShareButton({ programId, medium: "sms" }),
|
|
14395
13888
|
];
|
|
14396
13889
|
return (index.h("div", null, res.map((r) => (index.h("div", null,
|
|
14397
13890
|
index.h("button", { onClick: r.onClick },
|
|
@@ -14585,7 +14078,7 @@ const defaultCustomizeProps = {
|
|
|
14585
14078
|
open: false,
|
|
14586
14079
|
tooltiptext: "Copied!",
|
|
14587
14080
|
},
|
|
14588
|
-
|
|
14081
|
+
allowCustomization: true,
|
|
14589
14082
|
customizeLinkLabel: "Customize Link",
|
|
14590
14083
|
saveLabelText: "Save",
|
|
14591
14084
|
cancelLabelText: "Cancel",
|
|
@@ -14612,10 +14105,10 @@ const defaultCustomizeProps = {
|
|
|
14612
14105
|
onCancel: noopFn,
|
|
14613
14106
|
};
|
|
14614
14107
|
const CustomizeUrlDefault = () => {
|
|
14615
|
-
return index.h(
|
|
14108
|
+
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, defaultCustomizeProps));
|
|
14616
14109
|
};
|
|
14617
14110
|
const CustomizeUrlEditing = () => {
|
|
14618
|
-
return (index.h(
|
|
14111
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14619
14112
|
...defaultCustomizeProps,
|
|
14620
14113
|
isEditing: true,
|
|
14621
14114
|
editValue: "nvoiwb18",
|
|
@@ -14623,7 +14116,7 @@ const CustomizeUrlEditing = () => {
|
|
|
14623
14116
|
})));
|
|
14624
14117
|
};
|
|
14625
14118
|
const CustomizeUrlCustomized = () => {
|
|
14626
|
-
return (index.h(
|
|
14119
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14627
14120
|
...defaultCustomizeProps,
|
|
14628
14121
|
copyTextViewProps: {
|
|
14629
14122
|
...defaultCustomizeProps.copyTextViewProps,
|
|
@@ -14632,7 +14125,7 @@ const CustomizeUrlCustomized = () => {
|
|
|
14632
14125
|
})));
|
|
14633
14126
|
};
|
|
14634
14127
|
const CustomizeUrlLimitReached = () => {
|
|
14635
|
-
return (index.h(
|
|
14128
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14636
14129
|
...defaultCustomizeProps,
|
|
14637
14130
|
copyTextViewProps: {
|
|
14638
14131
|
...defaultCustomizeProps.copyTextViewProps,
|
|
@@ -14643,13 +14136,13 @@ const CustomizeUrlLimitReached = () => {
|
|
|
14643
14136
|
})));
|
|
14644
14137
|
};
|
|
14645
14138
|
const CustomizeUrlDisabled = () => {
|
|
14646
|
-
return (index.h(
|
|
14139
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14647
14140
|
...defaultCustomizeProps,
|
|
14648
14141
|
customizeDisabled: true,
|
|
14649
14142
|
})));
|
|
14650
14143
|
};
|
|
14651
14144
|
const CustomizeUrlValidationError = () => {
|
|
14652
|
-
return (index.h(
|
|
14145
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14653
14146
|
...defaultCustomizeProps,
|
|
14654
14147
|
isEditing: true,
|
|
14655
14148
|
editValue: "nvoiwb18",
|
|
@@ -14662,7 +14155,7 @@ const CustomizeUrlValidationError = () => {
|
|
|
14662
14155
|
})));
|
|
14663
14156
|
};
|
|
14664
14157
|
const CustomizeUrlInvalidCharacters = () => {
|
|
14665
|
-
return (index.h(
|
|
14158
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14666
14159
|
...defaultCustomizeProps,
|
|
14667
14160
|
isEditing: true,
|
|
14668
14161
|
editValue: "nvoiwb18",
|
|
@@ -14675,7 +14168,7 @@ const CustomizeUrlInvalidCharacters = () => {
|
|
|
14675
14168
|
})));
|
|
14676
14169
|
};
|
|
14677
14170
|
const CustomizeUrlProfanity = () => {
|
|
14678
|
-
return (index.h(
|
|
14171
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14679
14172
|
...defaultCustomizeProps,
|
|
14680
14173
|
isEditing: true,
|
|
14681
14174
|
editValue: "nvoiwb18",
|
|
@@ -14688,7 +14181,7 @@ const CustomizeUrlProfanity = () => {
|
|
|
14688
14181
|
})));
|
|
14689
14182
|
};
|
|
14690
14183
|
const CustomizeUrlSaving = () => {
|
|
14691
|
-
return (index.h(
|
|
14184
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
|
|
14692
14185
|
...defaultCustomizeProps,
|
|
14693
14186
|
isEditing: true,
|
|
14694
14187
|
editValue: "bobtesterson",
|
|
@@ -14748,7 +14241,7 @@ function setupGraphQL$c() {
|
|
|
14748
14241
|
}
|
|
14749
14242
|
const BareBonesView$1 = createHookStory(() => {
|
|
14750
14243
|
setupGraphQL$c();
|
|
14751
|
-
const res =
|
|
14244
|
+
const res = ShadowViewAddon.useShareLink({
|
|
14752
14245
|
programId: "klip-referral-program",
|
|
14753
14246
|
tooltiplifespan: 0,
|
|
14754
14247
|
tooltiptext: "",
|
|
@@ -14760,7 +14253,7 @@ const BareBonesView$1 = createHookStory(() => {
|
|
|
14760
14253
|
});
|
|
14761
14254
|
const RegularView$2 = createHookStory(() => {
|
|
14762
14255
|
setupGraphQL$c();
|
|
14763
|
-
return (index.h(
|
|
14256
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
14764
14257
|
programId: "klip-referral-program",
|
|
14765
14258
|
tooltiptext: "Copied to clipboard",
|
|
14766
14259
|
tooltiplifespan: 1000,
|
|
@@ -14768,7 +14261,7 @@ const RegularView$2 = createHookStory(() => {
|
|
|
14768
14261
|
});
|
|
14769
14262
|
const FastTooltip = createHookStory(() => {
|
|
14770
14263
|
setupGraphQL$c();
|
|
14771
|
-
return (index.h(
|
|
14264
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
14772
14265
|
programId: "klip-referral-program",
|
|
14773
14266
|
tooltiptext: "Copied to clipboard",
|
|
14774
14267
|
tooltiplifespan: 500,
|
|
@@ -14776,11 +14269,11 @@ const FastTooltip = createHookStory(() => {
|
|
|
14776
14269
|
});
|
|
14777
14270
|
const CustomizeUrlEnabled = createHookStory(() => {
|
|
14778
14271
|
setupGraphQL$c();
|
|
14779
|
-
return (index.h(
|
|
14272
|
+
return (index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
14780
14273
|
programId: "klip-referral-program",
|
|
14781
14274
|
tooltiptext: "Copied to clipboard",
|
|
14782
14275
|
tooltiplifespan: 1000,
|
|
14783
|
-
|
|
14276
|
+
allowCustomization: true,
|
|
14784
14277
|
}))));
|
|
14785
14278
|
});
|
|
14786
14279
|
|
|
@@ -15376,31 +14869,6 @@ const scenarioTaskCard = "@author:derek\n@owner:kutay\nFeature: Task Card\n\n\t@
|
|
|
15376
14869
|
|
|
15377
14870
|
const scenarioProgressBar = "@author:kutay\n@owner:kutay\nFeature: The progress bar can be shown as a continuous line with progress and end goal. \n\n\t@motivating\n\t@ui\n\tScenario Outline: The progress bar displays a continuous bar with the goal represented by a present\n\t\tGiven a Task Card component\n\t\tAnd the users progress is <progress>\n\t\tAnd the task goal is \"500\"\n\t\tAnd the task is not repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> shows <progress> with <unit> on the right\n\t\tAnd the circle on the progress bar is brand colour\n\t\tAnd the line behind the circle is brand colour\n\t\tAnd the line infront of the circle is grey\n\t\tAnd the gift icon has <color>\n\t\tAnd the gift icon shows \"500\" with <unit> below\n\t\tExamples:\n\t\t\t| progress | progressBar | unit | color |\n\t\t\t| 0 | ●――――――――――――――――――🎁 | $ | no |\n\t\t\t| 100 | ―――●―――――――――――――――🎁 | $ | no |\n\t\t\t| 500 | ―――――――――――――――――――🎁 | $ | yes |\n\t\t\t| 650 | ―――――――――――――――――――🎁 | $ | yes |\n\t\t\t| 1200 | ―――――――――――――――――――🎁 | $ | yes |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The progress bar can be displayed with steps instead of a continuous line\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is \"5\"\n\t\tAnd steps are enabled\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> has incrementing steps up to \"5\" in increments of 1\n\t\tAnd the steps behind the users progress are brand colour\n\t\tAnd the steps infront of the users progress are grey\n\t\tAnd the gift icon has <color>\n\t\tAnd the gift icon shows \"5\" below\n\t\tExamples:\n\t\t\t| progress | progressBar | color |\n\t\t\t| 0 | ―――○―――○―――○―――○―――🎁 | no |\n\t\t\t| 1 | ―――●―――○―――○―――○―――🎁 | no |\n\t\t\t| 5 | ―――●―――●―――●―――●―――🎁 | yes |\n\t\t\t| 7 | ―――●―――●―――●―――●―――🎁 | yes |\n\t\t\t| 12 | ―――●―――●―――●―――●―――🎁 | yes |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The continuous progress bar will continue to progress for repeatable rewards\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is \"500\"\n\t\tAnd it is repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> shows <progress> with <unit> to the right\n\t\tAnd the first <icon1> is <color1> with <text1> displayed below\n\t\tAnd the second <icon2> is <color2> with <text2> displayed below\n\t\tAnd the third <icon3> is <color3> with <text3> displayed below\n\t\tAnd the circle on the progress bar is brand colour\n\t\tAnd the line behind the circle is brand colour\n\t\tAnd the line infront of the circle is grey\n\t\tExamples:\n\t\t\t| progress | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\n\t\t\t| 250 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\n\t\t\t| 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\n\t\t\t| 750 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\n\t\t\t| 1000 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\n\t\t\t| 1250 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The stepped progress bar will continue to progress for repeatable rewards\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is \"5\"\n\t\tAnd steps are enabled\n\t\tAnd it is repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> has incrementing steps up to \"5\" in increments of 1\n\t\tAnd the first <icon1> is <color1>\n\t\tAnd the second <icon2> is <color2>\n\t\tAnd the third <icon3> is <color3>\n\t\tAnd the steps behind the users progress are brand colour\n\t\tAnd the steps infront of the users progress are grey\n\t\tExamples:\n\t\t\t| progress | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\n\t\t\t| 0 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\n\t\t\t| 1 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\n\t\t\t| 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\n\t\t\t| 7 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\n\t\t\t| 12 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |";
|
|
15378
14871
|
|
|
15379
|
-
const ResizerStylesheet = `
|
|
15380
|
-
|
|
15381
|
-
:root{
|
|
15382
|
-
--checker-color-1: #ffffff00;
|
|
15383
|
-
--checker-color-2: #ffffff00;
|
|
15384
|
-
--checker-size: 7px;
|
|
15385
|
-
--checker-gradient: linear-gradient(45deg, var(--checker-color-1) 25%, transparent 25%, transparent 75%, var(--checker-color-1) 75%);
|
|
15386
|
-
}
|
|
15387
|
-
.resizer{
|
|
15388
|
-
resize: horizontal;
|
|
15389
|
-
border: 2px dashed gray;
|
|
15390
|
-
margin: -2px;
|
|
15391
|
-
padding: 12px;
|
|
15392
|
-
height: fit-content;
|
|
15393
|
-
overflow: hidden;
|
|
15394
|
-
width: 100%;
|
|
15395
|
-
}
|
|
15396
|
-
|
|
15397
|
-
.resizer{
|
|
15398
|
-
background-color: var(--checker-color-2);
|
|
15399
|
-
background-image: var(--checker-gradient), var(--checker-gradient);
|
|
15400
|
-
background-position: 0 0, var(--checker-size) var(--checker-size);
|
|
15401
|
-
background-size: calc(var(--checker-size) * 2) calc(var(--checker-size) * 2);
|
|
15402
|
-
}
|
|
15403
|
-
`;
|
|
15404
14872
|
const Resizer = (_, children) => (index.h("div", { class: "resizer" }, children));
|
|
15405
14873
|
|
|
15406
14874
|
const scenario$D = scenarioTaskCard + scenarioProgressBar;
|
|
@@ -15519,116 +14987,116 @@ const TaskCard = () => {
|
|
|
15519
14987
|
return (index.h("div", { style: storyFrame },
|
|
15520
14988
|
index.h(Resizer, null,
|
|
15521
14989
|
index.h("h4", null, "Not Repeatable"),
|
|
15522
|
-
index.h(
|
|
14990
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, description: "" }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
15523
14991
|
index.h("h5", null),
|
|
15524
|
-
index.h(
|
|
14992
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, description: "" }, states: { ...coupleActions$1.states, progress: 0 } })),
|
|
15525
14993
|
index.h("h5", null),
|
|
15526
|
-
index.h(
|
|
14994
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, description: "" }, states: { ...manyActions$1.states, progress: 230 } }))),
|
|
15527
14995
|
index.h(Resizer, null,
|
|
15528
14996
|
index.h("h4", null, "Repeatable"),
|
|
15529
|
-
index.h(
|
|
14997
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true }, states: { ...oneAction$1.states, progress: 2 } })),
|
|
15530
14998
|
index.h("h5", null),
|
|
15531
|
-
index.h(
|
|
14999
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 7 } })),
|
|
15532
15000
|
index.h("h5", null),
|
|
15533
|
-
index.h(
|
|
15001
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 650 } }))),
|
|
15534
15002
|
index.h(Resizer, null,
|
|
15535
15003
|
index.h("h4", null, "Complete"),
|
|
15536
|
-
index.h(
|
|
15004
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 } })),
|
|
15537
15005
|
index.h("h5", null),
|
|
15538
|
-
index.h(
|
|
15006
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15539
15007
|
index.h("h5", null),
|
|
15540
|
-
index.h(
|
|
15008
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 } }))),
|
|
15541
15009
|
index.h(Resizer, null,
|
|
15542
15010
|
index.h("h4", null, "Unavailable"),
|
|
15543
|
-
index.h(
|
|
15011
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 } }, expireRepeat)),
|
|
15544
15012
|
index.h("h5", null),
|
|
15545
|
-
index.h(
|
|
15013
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 3 } }, expireRepeat)),
|
|
15546
15014
|
index.h("h5", null),
|
|
15547
|
-
index.h(
|
|
15015
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 250 } }, expireRepeat)))));
|
|
15548
15016
|
};
|
|
15549
15017
|
const TaskCardNotRepeatable = () => {
|
|
15550
15018
|
return (index.h("div", { style: storyFrame },
|
|
15551
15019
|
index.h("div", { style: resizable },
|
|
15552
15020
|
index.h("h4", null, "One Action"),
|
|
15553
|
-
index.h(
|
|
15021
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 } })),
|
|
15554
15022
|
index.h("h5", null),
|
|
15555
|
-
index.h(
|
|
15023
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 } })),
|
|
15556
15024
|
index.h("h5", null)),
|
|
15557
15025
|
index.h("div", { style: resizable },
|
|
15558
15026
|
index.h("h4", null, "A Couple Actions"),
|
|
15559
|
-
index.h(
|
|
15027
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 } })),
|
|
15560
15028
|
index.h("h5", null),
|
|
15561
|
-
index.h(
|
|
15029
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15562
15030
|
index.h("h5", null)),
|
|
15563
15031
|
index.h("div", { style: resizable },
|
|
15564
15032
|
index.h("h4", null, "Many Actions"),
|
|
15565
|
-
index.h(
|
|
15033
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 230 } })),
|
|
15566
15034
|
index.h("h5", null),
|
|
15567
|
-
index.h(
|
|
15035
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 } })),
|
|
15568
15036
|
index.h("h5", null))));
|
|
15569
15037
|
};
|
|
15570
15038
|
const TaskCardRepeatable = () => {
|
|
15571
15039
|
return (index.h("div", { style: storyFrame },
|
|
15572
15040
|
index.h("div", { style: resizable },
|
|
15573
15041
|
index.h("h4", null, "One Action"),
|
|
15574
|
-
index.h(
|
|
15042
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
15575
15043
|
index.h("h5", null),
|
|
15576
|
-
index.h(
|
|
15044
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
15577
15045
|
index.h("h5", null)),
|
|
15578
15046
|
index.h("div", { style: resizable },
|
|
15579
15047
|
index.h("h4", null, "A Couple Actions"),
|
|
15580
|
-
index.h(
|
|
15048
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 0 } })),
|
|
15581
15049
|
index.h("h5", null),
|
|
15582
|
-
index.h(
|
|
15050
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15583
15051
|
index.h("h5", null),
|
|
15584
|
-
index.h(
|
|
15052
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 7 } })),
|
|
15585
15053
|
index.h("h5", null),
|
|
15586
|
-
index.h(
|
|
15054
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 10 } })),
|
|
15587
15055
|
index.h("h5", null)),
|
|
15588
15056
|
index.h("div", { style: resizable },
|
|
15589
15057
|
index.h("h4", null, "Many Actions"),
|
|
15590
|
-
index.h(
|
|
15058
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 0 } })),
|
|
15591
15059
|
index.h("h5", null),
|
|
15592
|
-
index.h(
|
|
15060
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 500 } })),
|
|
15593
15061
|
index.h("h5", null),
|
|
15594
|
-
index.h(
|
|
15062
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 650 } })),
|
|
15595
15063
|
index.h("h5", null),
|
|
15596
|
-
index.h(
|
|
15064
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 1000 } })),
|
|
15597
15065
|
index.h("h5", null))));
|
|
15598
15066
|
};
|
|
15599
15067
|
const TaskCardRepeatableFinite = () => {
|
|
15600
15068
|
return (index.h("div", { style: storyFrame },
|
|
15601
15069
|
index.h("div", { style: resizable },
|
|
15602
15070
|
index.h("h4", null, "One Action"),
|
|
15603
|
-
index.h(
|
|
15071
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, finite: 2 }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
15604
15072
|
index.h("h5", null),
|
|
15605
|
-
index.h(
|
|
15073
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, finite: 2 }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
15606
15074
|
index.h("h5", null),
|
|
15607
|
-
index.h(
|
|
15075
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, finite: 2 }, states: { ...oneAction$1.states, progress: 2 } })),
|
|
15608
15076
|
index.h("h5", null)),
|
|
15609
15077
|
index.h("div", { style: resizable },
|
|
15610
15078
|
index.h("h4", null, "A Couple Actions"),
|
|
15611
|
-
index.h(
|
|
15079
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 2 } })),
|
|
15612
15080
|
index.h("h5", null),
|
|
15613
|
-
index.h(
|
|
15081
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15614
15082
|
index.h("h5", null),
|
|
15615
|
-
index.h(
|
|
15083
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 10 } })),
|
|
15616
15084
|
index.h("h5", null),
|
|
15617
|
-
index.h(
|
|
15085
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 3 }, states: { ...coupleActions$1.states, progress: 12 } })),
|
|
15618
15086
|
index.h("h5", null),
|
|
15619
|
-
index.h(
|
|
15087
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 3 }, states: { ...coupleActions$1.states, progress: 15 } })),
|
|
15620
15088
|
index.h("h5", null)),
|
|
15621
15089
|
index.h("div", { style: resizable },
|
|
15622
15090
|
index.h("h4", null, "Many Actions"),
|
|
15623
|
-
index.h(
|
|
15091
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 2 }, states: { ...manyActions$1.states, progress: 200 } })),
|
|
15624
15092
|
index.h("h5", null),
|
|
15625
|
-
index.h(
|
|
15093
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 500 } })),
|
|
15626
15094
|
index.h("h5", null),
|
|
15627
|
-
index.h(
|
|
15095
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 2 }, states: { ...manyActions$1.states, progress: 1000 } })),
|
|
15628
15096
|
index.h("h5", null),
|
|
15629
|
-
index.h(
|
|
15097
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 1200 } })),
|
|
15630
15098
|
index.h("h5", null),
|
|
15631
|
-
index.h(
|
|
15099
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 1500 } })),
|
|
15632
15100
|
index.h("h5", null))));
|
|
15633
15101
|
};
|
|
15634
15102
|
const TaskCardEndDate = () => {
|
|
@@ -15641,27 +15109,27 @@ const TaskCardEndDate = () => {
|
|
|
15641
15109
|
return (index.h("div", { style: storyFrame },
|
|
15642
15110
|
index.h("div", { style: resizable },
|
|
15643
15111
|
index.h("h4", null, "One Action"),
|
|
15644
|
-
index.h(
|
|
15112
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, ...expire } })),
|
|
15645
15113
|
index.h("h5", null),
|
|
15646
|
-
index.h(
|
|
15114
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15647
15115
|
index.h("h5", null),
|
|
15648
|
-
index.h(
|
|
15116
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, ...expireRepeat }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
15649
15117
|
index.h("h5", null)),
|
|
15650
15118
|
index.h("div", { style: resizable },
|
|
15651
15119
|
index.h("h4", null, "A Couple Actions"),
|
|
15652
|
-
index.h(
|
|
15120
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...coupleActions$1.content, ...expire } })),
|
|
15653
15121
|
index.h("h5", null),
|
|
15654
|
-
index.h(
|
|
15122
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15655
15123
|
index.h("h5", null),
|
|
15656
|
-
index.h(
|
|
15124
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...coupleActions$1.content, ...expireRepeat }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15657
15125
|
index.h("h5", null)),
|
|
15658
15126
|
index.h("div", { style: resizable },
|
|
15659
15127
|
index.h("h4", null, "Many Actions"),
|
|
15660
|
-
index.h(
|
|
15128
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...manyActions$1.content, ...expire } })),
|
|
15661
15129
|
index.h("h5", null),
|
|
15662
|
-
index.h(
|
|
15130
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15663
15131
|
index.h("h5", null),
|
|
15664
|
-
index.h(
|
|
15132
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...manyActions$1.content, ...expireRepeat }, states: { ...manyActions$1.states, progress: 1000 } })),
|
|
15665
15133
|
index.h("h5", null))));
|
|
15666
15134
|
};
|
|
15667
15135
|
const TaskCardLoading = () => {
|
|
@@ -15671,26 +15139,26 @@ const TaskCardLoading = () => {
|
|
|
15671
15139
|
return (index.h("div", { style: storyFrame },
|
|
15672
15140
|
index.h("div", { style: resizable },
|
|
15673
15141
|
index.h("h4", null, "One Action"),
|
|
15674
|
-
index.h(
|
|
15142
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, loading)),
|
|
15675
15143
|
" ",
|
|
15676
15144
|
index.h("h5", null),
|
|
15677
|
-
index.h(
|
|
15145
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, loading)),
|
|
15678
15146
|
" ",
|
|
15679
15147
|
index.h("h5", null)),
|
|
15680
15148
|
index.h("div", { style: resizable },
|
|
15681
15149
|
index.h("h4", null, "A Couple Actions"),
|
|
15682
|
-
index.h(
|
|
15150
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, loading)),
|
|
15683
15151
|
" ",
|
|
15684
15152
|
index.h("h5", null),
|
|
15685
|
-
index.h(
|
|
15153
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, loading)),
|
|
15686
15154
|
" ",
|
|
15687
15155
|
index.h("h5", null)),
|
|
15688
15156
|
index.h("div", { style: resizable },
|
|
15689
15157
|
index.h("h4", null, "Many Actions"),
|
|
15690
|
-
index.h(
|
|
15158
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, loading)),
|
|
15691
15159
|
" ",
|
|
15692
15160
|
index.h("h5", null),
|
|
15693
|
-
index.h(
|
|
15161
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, loading)),
|
|
15694
15162
|
" ",
|
|
15695
15163
|
index.h("h5", null))));
|
|
15696
15164
|
};
|
|
@@ -15704,33 +15172,33 @@ const TaskCardNotStarted = () => {
|
|
|
15704
15172
|
return (index.h("div", { style: storyFrame },
|
|
15705
15173
|
index.h("div", { style: resizable },
|
|
15706
15174
|
index.h("h4", null, "One Action"),
|
|
15707
|
-
index.h(
|
|
15175
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15708
15176
|
index.h("h5", null),
|
|
15709
|
-
index.h(
|
|
15177
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15710
15178
|
index.h("h5", null),
|
|
15711
|
-
index.h(
|
|
15179
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15712
15180
|
index.h("h5", null),
|
|
15713
|
-
index.h(
|
|
15181
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15714
15182
|
index.h("h5", null)),
|
|
15715
15183
|
index.h("div", { style: resizable },
|
|
15716
15184
|
index.h("h4", null, "A Couple Actions"),
|
|
15717
|
-
index.h(
|
|
15185
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15718
15186
|
index.h("h5", null),
|
|
15719
|
-
index.h(
|
|
15187
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15720
15188
|
index.h("h5", null),
|
|
15721
|
-
index.h(
|
|
15189
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15722
15190
|
index.h("h5", null),
|
|
15723
|
-
index.h(
|
|
15191
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15724
15192
|
index.h("h5", null)),
|
|
15725
15193
|
index.h("div", { style: resizable },
|
|
15726
15194
|
index.h("h4", null, "Many Actions"),
|
|
15727
|
-
index.h(
|
|
15195
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15728
15196
|
index.h("h5", null),
|
|
15729
|
-
index.h(
|
|
15197
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15730
15198
|
index.h("h5", null),
|
|
15731
|
-
index.h(
|
|
15199
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15732
15200
|
index.h("h5", null),
|
|
15733
|
-
index.h(
|
|
15201
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15734
15202
|
index.h("h5", null))));
|
|
15735
15203
|
};
|
|
15736
15204
|
const TaskCardEnded = () => {
|
|
@@ -15743,33 +15211,33 @@ const TaskCardEnded = () => {
|
|
|
15743
15211
|
return (index.h("div", { style: storyFrame },
|
|
15744
15212
|
index.h("div", { style: resizable },
|
|
15745
15213
|
index.h("h4", null, "One Action"),
|
|
15746
|
-
index.h(
|
|
15214
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15747
15215
|
index.h("h5", null),
|
|
15748
|
-
index.h(
|
|
15216
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15749
15217
|
index.h("h5", null),
|
|
15750
|
-
index.h(
|
|
15218
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15751
15219
|
index.h("h5", null),
|
|
15752
|
-
index.h(
|
|
15220
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15753
15221
|
index.h("h5", null)),
|
|
15754
15222
|
index.h("div", { style: resizable },
|
|
15755
15223
|
index.h("h4", null, "A Couple Actions"),
|
|
15756
|
-
index.h(
|
|
15224
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15757
15225
|
index.h("h5", null),
|
|
15758
|
-
index.h(
|
|
15226
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15759
15227
|
index.h("h5", null),
|
|
15760
|
-
index.h(
|
|
15228
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15761
15229
|
index.h("h5", null),
|
|
15762
|
-
index.h(
|
|
15230
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15763
15231
|
index.h("h5", null)),
|
|
15764
15232
|
index.h("div", { style: resizable },
|
|
15765
15233
|
index.h("h4", null, "Many Actions"),
|
|
15766
|
-
index.h(
|
|
15234
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15767
15235
|
index.h("h5", null),
|
|
15768
|
-
index.h(
|
|
15236
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15769
15237
|
index.h("h5", null),
|
|
15770
|
-
index.h(
|
|
15238
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15771
15239
|
index.h("h5", null),
|
|
15772
|
-
index.h(
|
|
15240
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15773
15241
|
index.h("h5", null))));
|
|
15774
15242
|
};
|
|
15775
15243
|
const TaskCardButtonHidden = () => {
|
|
@@ -15780,48 +15248,48 @@ const TaskCardButtonHidden = () => {
|
|
|
15780
15248
|
return (index.h("div", { style: storyFrame },
|
|
15781
15249
|
index.h(Resizer, null,
|
|
15782
15250
|
index.h("h4", null, "Not Repeatable"),
|
|
15783
|
-
index.h(
|
|
15251
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, description: "", hideButton: true }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
15784
15252
|
index.h("h5", null),
|
|
15785
|
-
index.h(
|
|
15253
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: {
|
|
15786
15254
|
...coupleActions$1.content,
|
|
15787
15255
|
description: "",
|
|
15788
15256
|
hideButton: true,
|
|
15789
15257
|
}, states: { ...coupleActions$1.states, progress: 0 } })),
|
|
15790
15258
|
index.h("h5", null),
|
|
15791
|
-
index.h(
|
|
15259
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: {
|
|
15792
15260
|
...manyActions$1.content,
|
|
15793
15261
|
description: "",
|
|
15794
15262
|
hideButton: true,
|
|
15795
15263
|
}, states: { ...manyActions$1.states, progress: 230 } }))),
|
|
15796
15264
|
index.h(Resizer, null,
|
|
15797
15265
|
index.h("h4", null, "Repeatable"),
|
|
15798
|
-
index.h(
|
|
15266
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, hideButton: true }, states: { ...oneAction$1.states, progress: 2 } })),
|
|
15799
15267
|
index.h("h5", null),
|
|
15800
|
-
index.h(
|
|
15268
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: {
|
|
15801
15269
|
...coupleActions$1.content,
|
|
15802
15270
|
repeatable: true,
|
|
15803
15271
|
hideButton: true,
|
|
15804
15272
|
}, states: { ...coupleActions$1.states, progress: 7 } })),
|
|
15805
15273
|
index.h("h5", null),
|
|
15806
|
-
index.h(
|
|
15274
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: {
|
|
15807
15275
|
...manyActions$1.content,
|
|
15808
15276
|
repeatable: true,
|
|
15809
15277
|
hideButton: true,
|
|
15810
15278
|
}, states: { ...manyActions$1.states, progress: 650 } }))),
|
|
15811
15279
|
index.h(Resizer, null,
|
|
15812
15280
|
index.h("h4", null, "Complete"),
|
|
15813
|
-
index.h(
|
|
15281
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, hideButton: true }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
15814
15282
|
index.h("h5", null),
|
|
15815
|
-
index.h(
|
|
15283
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, hideButton: true }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15816
15284
|
index.h("h5", null),
|
|
15817
|
-
index.h(
|
|
15285
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, hideButton: true }, states: { ...manyActions$1.states, progress: 500 } }))),
|
|
15818
15286
|
index.h(Resizer, null,
|
|
15819
15287
|
index.h("h4", null, "Unavailable"),
|
|
15820
|
-
index.h(
|
|
15288
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, hideButton: true }, states: { ...oneAction$1.states, progress: 0 } }, expireRepeat)),
|
|
15821
15289
|
index.h("h5", null),
|
|
15822
|
-
index.h(
|
|
15290
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, hideButton: true }, states: { ...coupleActions$1.states, progress: 3 } }, expireRepeat)),
|
|
15823
15291
|
index.h("h5", null),
|
|
15824
|
-
index.h(
|
|
15292
|
+
index.h(ShadowViewAddon.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, hideButton: true }, states: { ...manyActions$1.states, progress: 250 } }, expireRepeat)))));
|
|
15825
15293
|
};
|
|
15826
15294
|
const ProgressBar = () => {
|
|
15827
15295
|
const props = {
|
|
@@ -15830,7 +15298,7 @@ const ProgressBar = () => {
|
|
|
15830
15298
|
progressBarUnit: "$",
|
|
15831
15299
|
};
|
|
15832
15300
|
return (index.h("div", null,
|
|
15833
|
-
index.h(MatrixStory, { matrix: { progress: [0, 100, 500, 650, 1200] }, props: props, Component:
|
|
15301
|
+
index.h(MatrixStory, { matrix: { progress: [0, 100, 500, 650, 1200] }, props: props, Component: ShadowViewAddon.ProgressBarView })));
|
|
15834
15302
|
};
|
|
15835
15303
|
const ProgressBarSteps = () => {
|
|
15836
15304
|
const props = {
|
|
@@ -15839,7 +15307,7 @@ const ProgressBarSteps = () => {
|
|
|
15839
15307
|
goal: 5,
|
|
15840
15308
|
};
|
|
15841
15309
|
return (index.h("div", null,
|
|
15842
|
-
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component:
|
|
15310
|
+
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component: ShadowViewAddon.ProgressBarView })));
|
|
15843
15311
|
};
|
|
15844
15312
|
const ProgressBarRepeatable = () => {
|
|
15845
15313
|
const props = {
|
|
@@ -15849,7 +15317,7 @@ const ProgressBarRepeatable = () => {
|
|
|
15849
15317
|
repeatable: true,
|
|
15850
15318
|
};
|
|
15851
15319
|
return (index.h("div", null,
|
|
15852
|
-
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component:
|
|
15320
|
+
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component: ShadowViewAddon.ProgressBarView })));
|
|
15853
15321
|
};
|
|
15854
15322
|
const ProgressBarStepsRepeatable = () => {
|
|
15855
15323
|
const props = {
|
|
@@ -15859,7 +15327,7 @@ const ProgressBarStepsRepeatable = () => {
|
|
|
15859
15327
|
repeatable: true,
|
|
15860
15328
|
};
|
|
15861
15329
|
return (index.h("div", null,
|
|
15862
|
-
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component:
|
|
15330
|
+
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component: ShadowViewAddon.ProgressBarView })));
|
|
15863
15331
|
};
|
|
15864
15332
|
const ProgressBarFinite = () => {
|
|
15865
15333
|
const props = {
|
|
@@ -15870,7 +15338,7 @@ const ProgressBarFinite = () => {
|
|
|
15870
15338
|
finite: 2,
|
|
15871
15339
|
};
|
|
15872
15340
|
return (index.h("div", null,
|
|
15873
|
-
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component:
|
|
15341
|
+
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component: ShadowViewAddon.ProgressBarView })));
|
|
15874
15342
|
};
|
|
15875
15343
|
const ProgressBarStepsFinite = () => {
|
|
15876
15344
|
const props = {
|
|
@@ -15881,7 +15349,7 @@ const ProgressBarStepsFinite = () => {
|
|
|
15881
15349
|
finite: 2,
|
|
15882
15350
|
};
|
|
15883
15351
|
return (index.h("div", null,
|
|
15884
|
-
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 10, 12] }, props: props, Component:
|
|
15352
|
+
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 10, 12] }, props: props, Component: ShadowViewAddon.ProgressBarView })));
|
|
15885
15353
|
};
|
|
15886
15354
|
|
|
15887
15355
|
const TaskCard$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -15933,22 +15401,10 @@ function setupGraphQL$d() {
|
|
|
15933
15401
|
}
|
|
15934
15402
|
const TaskCard$2 = createHookStory(() => {
|
|
15935
15403
|
setupGraphQL$d();
|
|
15936
|
-
const props = {
|
|
15937
|
-
listType: "",
|
|
15938
|
-
render: () => { },
|
|
15939
|
-
disconnectedCallback: () => { },
|
|
15940
|
-
ignored: true,
|
|
15941
|
-
};
|
|
15942
15404
|
return (index.h("sqm-task-card", { "card-title": "Comment on 5 articles", "button-text": "Start reading", goal: 5, steps: true, "show-progress-bar": true, "event-key": "testEvent", "open-new-tab": true }));
|
|
15943
15405
|
});
|
|
15944
15406
|
const TaskCardFeed = createHookStory(() => {
|
|
15945
15407
|
setupGraphQL$d();
|
|
15946
|
-
const props = {
|
|
15947
|
-
listType: "",
|
|
15948
|
-
render: () => { },
|
|
15949
|
-
disconnectedCallback: () => { },
|
|
15950
|
-
ignored: true,
|
|
15951
|
-
};
|
|
15952
15408
|
return (index.h("sqm-card-feed", null,
|
|
15953
15409
|
index.h("sqm-task-card", { "reward-amount": "75", "card-title": "Refer a Friend", description: "Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.", "button-text": "Start referring", "button-link": "https://klip-staging.vercel.app/app/klip-rewards", goal: 1, repeatable: true, "completed-text": "", demoData: "", "ended-message": "", "event-key": "", "expiry-message": "", "progress-bar-unit": "", "reward-duration": "2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z", "reward-unit": "", "starts-on-message": "", "stat-type": "", "display-duration": "2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z" }),
|
|
15954
15410
|
index.h("sqb-program-section", { "program-id": "klip-loyalty" },
|
|
@@ -15978,13 +15434,13 @@ const UseTaskCard = /*#__PURE__*/Object.freeze({
|
|
|
15978
15434
|
const ProgressBar_stories = {
|
|
15979
15435
|
title: "Components/Progress Bar",
|
|
15980
15436
|
};
|
|
15981
|
-
const defaultProps$
|
|
15437
|
+
const defaultProps$p = {
|
|
15982
15438
|
progress: 2,
|
|
15983
15439
|
goal: 4,
|
|
15984
15440
|
steps: true,
|
|
15985
15441
|
};
|
|
15986
15442
|
const TaxAndPayoutsProgressBar = () => {
|
|
15987
|
-
return index.h(
|
|
15443
|
+
return index.h(ShadowViewAddon.ProgressBar, Object.assign({}, defaultProps$p, { stageCount: 4, currentStage: 2 }));
|
|
15988
15444
|
};
|
|
15989
15445
|
|
|
15990
15446
|
const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -16360,35 +15816,35 @@ const UserName = /*#__PURE__*/Object.freeze({
|
|
|
16360
15816
|
const WidgetCodeVerification_stories = {
|
|
16361
15817
|
title: "Components/Widget Code Verification",
|
|
16362
15818
|
};
|
|
16363
|
-
const defaultProps$
|
|
15819
|
+
const defaultProps$q = {
|
|
16364
15820
|
initialiseLoading: false,
|
|
16365
15821
|
email: "testemail@example.com",
|
|
16366
15822
|
loading: false,
|
|
16367
15823
|
verifyFailed: false,
|
|
16368
15824
|
emailResent: false,
|
|
16369
15825
|
};
|
|
16370
|
-
const Default$o = () => (index.h("sqm-code-verification", { demoData: { states: defaultProps$
|
|
15826
|
+
const Default$o = () => (index.h("sqm-code-verification", { demoData: { states: defaultProps$q } }));
|
|
16371
15827
|
const InitialLoading = () => (index.h("sqm-code-verification", { demoData: {
|
|
16372
15828
|
states: {
|
|
16373
|
-
...defaultProps$
|
|
15829
|
+
...defaultProps$q,
|
|
16374
15830
|
initialiseLoading: true,
|
|
16375
15831
|
},
|
|
16376
15832
|
} }));
|
|
16377
15833
|
const Loading$a = () => (index.h("sqm-code-verification", { demoData: {
|
|
16378
15834
|
states: {
|
|
16379
|
-
...defaultProps$
|
|
15835
|
+
...defaultProps$q,
|
|
16380
15836
|
loading: true,
|
|
16381
15837
|
},
|
|
16382
15838
|
} }));
|
|
16383
15839
|
const CodeResent = () => (index.h("sqm-code-verification", { demoData: {
|
|
16384
15840
|
states: {
|
|
16385
|
-
...defaultProps$
|
|
15841
|
+
...defaultProps$q,
|
|
16386
15842
|
emailResent: true,
|
|
16387
15843
|
},
|
|
16388
15844
|
} }));
|
|
16389
15845
|
const VerificationFailed = () => (index.h("sqm-code-verification", { demoData: {
|
|
16390
15846
|
states: {
|
|
16391
|
-
...defaultProps$
|
|
15847
|
+
...defaultProps$q,
|
|
16392
15848
|
verifyFailed: true,
|
|
16393
15849
|
},
|
|
16394
15850
|
} }));
|
|
@@ -16406,7 +15862,7 @@ const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
|
|
|
16406
15862
|
const WidgetEmailVerification_stories = {
|
|
16407
15863
|
title: "Components/Widget Email Verification",
|
|
16408
15864
|
};
|
|
16409
|
-
const defaultProps$
|
|
15865
|
+
const defaultProps$r = {
|
|
16410
15866
|
email: "",
|
|
16411
15867
|
error: false,
|
|
16412
15868
|
loading: false,
|
|
@@ -16421,19 +15877,19 @@ const EmailIsPrefilled = () => (index.h("div", null,
|
|
|
16421
15877
|
index.h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
|
|
16422
15878
|
index.h("sqm-email-verification", { demoData: {
|
|
16423
15879
|
states: {
|
|
16424
|
-
...defaultProps$
|
|
15880
|
+
...defaultProps$r,
|
|
16425
15881
|
email: "test@example.com",
|
|
16426
15882
|
},
|
|
16427
15883
|
} })));
|
|
16428
15884
|
const Loading$b = () => (index.h("sqm-email-verification", { demoData: {
|
|
16429
15885
|
states: {
|
|
16430
|
-
...defaultProps$
|
|
15886
|
+
...defaultProps$r,
|
|
16431
15887
|
initialLoading: true,
|
|
16432
15888
|
},
|
|
16433
15889
|
} }));
|
|
16434
15890
|
const SaveLoading = () => (index.h("sqm-email-verification", { demoData: {
|
|
16435
15891
|
states: {
|
|
16436
|
-
...defaultProps$
|
|
15892
|
+
...defaultProps$r,
|
|
16437
15893
|
loading: true,
|
|
16438
15894
|
},
|
|
16439
15895
|
} }));
|
|
@@ -16444,19 +15900,19 @@ const WithHeader$1 = () => (index.h("div", null,
|
|
|
16444
15900
|
index.h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
|
|
16445
15901
|
index.h("sqm-email-verification", { demoData: {
|
|
16446
15902
|
states: {
|
|
16447
|
-
...defaultProps$
|
|
15903
|
+
...defaultProps$r,
|
|
16448
15904
|
email: "test@example.com",
|
|
16449
15905
|
},
|
|
16450
15906
|
} })));
|
|
16451
15907
|
const InvalidEmail = () => (index.h("sqm-email-verification", { demoData: {
|
|
16452
15908
|
states: {
|
|
16453
|
-
...defaultProps$
|
|
15909
|
+
...defaultProps$r,
|
|
16454
15910
|
error: true,
|
|
16455
15911
|
},
|
|
16456
15912
|
} }));
|
|
16457
15913
|
const SendCodeError = () => (index.h("sqm-email-verification", { demoData: {
|
|
16458
15914
|
states: {
|
|
16459
|
-
...defaultProps$
|
|
15915
|
+
...defaultProps$r,
|
|
16460
15916
|
sendCodeError: true,
|
|
16461
15917
|
},
|
|
16462
15918
|
} }));
|
|
@@ -17013,7 +16469,7 @@ const stepTwoProps = {
|
|
|
17013
16469
|
setCountrySearch: (c) => console.log(c),
|
|
17014
16470
|
},
|
|
17015
16471
|
data: {
|
|
17016
|
-
esRegions:
|
|
16472
|
+
esRegions: sqmUserInfoFormView.INDIRECT_TAX_SPAIN_REGIONS,
|
|
17017
16473
|
countries: [
|
|
17018
16474
|
{
|
|
17019
16475
|
countryCode: "CA",
|
|
@@ -17050,7 +16506,7 @@ const stepTwoProps = {
|
|
|
17050
16506
|
displayName: "United States",
|
|
17051
16507
|
},
|
|
17052
16508
|
],
|
|
17053
|
-
provinces:
|
|
16509
|
+
provinces: sqmUserInfoFormView.INDIRECT_TAX_PROVINCES,
|
|
17054
16510
|
},
|
|
17055
16511
|
slotProps: {
|
|
17056
16512
|
formState: {
|
|
@@ -17128,7 +16584,7 @@ const dashboardProps = {
|
|
|
17128
16584
|
disabled: false,
|
|
17129
16585
|
status: "ACTIVE",
|
|
17130
16586
|
documentType: "W9",
|
|
17131
|
-
documentTypeString:
|
|
16587
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
17132
16588
|
dateSubmitted: "Jan 18th, 2025",
|
|
17133
16589
|
noFormNeeded: false,
|
|
17134
16590
|
country: "United Kingdom",
|
|
@@ -17146,7 +16602,7 @@ const dashboardProps = {
|
|
|
17146
16602
|
},
|
|
17147
16603
|
};
|
|
17148
16604
|
const GeneralLoadingView = () => {
|
|
17149
|
-
return index.h(
|
|
16605
|
+
return index.h(data.LoadingView, null);
|
|
17150
16606
|
};
|
|
17151
16607
|
const GeneralErrorView = () => {
|
|
17152
16608
|
return (index.h("sqm-form-message", { type: "error" },
|
|
@@ -17485,7 +16941,7 @@ const StepThreeWithDocusign = () => {
|
|
|
17485
16941
|
return (index.h("sqm-docusign-form", { demoData: {
|
|
17486
16942
|
states: {
|
|
17487
16943
|
documentType: "W9",
|
|
17488
|
-
documentTypeString:
|
|
16944
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
17489
16945
|
...docusignFormProps.states,
|
|
17490
16946
|
},
|
|
17491
16947
|
} }));
|
|
@@ -17495,7 +16951,7 @@ const StepThreeWithDocusignW8BEN = () => {
|
|
|
17495
16951
|
states: {
|
|
17496
16952
|
...docusignFormProps.states,
|
|
17497
16953
|
documentType: "W8BEN",
|
|
17498
|
-
documentTypeString:
|
|
16954
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17499
16955
|
},
|
|
17500
16956
|
} }));
|
|
17501
16957
|
};
|
|
@@ -17504,7 +16960,7 @@ const StepThreeWithDocusignW8BENE = () => {
|
|
|
17504
16960
|
states: {
|
|
17505
16961
|
...docusignFormProps.states,
|
|
17506
16962
|
documentType: "W8BENE",
|
|
17507
|
-
documentTypeString:
|
|
16963
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17508
16964
|
formState: {
|
|
17509
16965
|
taxFormExpired: false,
|
|
17510
16966
|
participantType: "businessEntity",
|
|
@@ -17600,7 +17056,7 @@ const StepThreeWithDocusignModalOpen = () => {
|
|
|
17600
17056
|
return (index.h("sqm-docusign-form", { demoData: {
|
|
17601
17057
|
states: {
|
|
17602
17058
|
documentType: "W9",
|
|
17603
|
-
documentTypeString:
|
|
17059
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
17604
17060
|
...docusignFormProps.states,
|
|
17605
17061
|
showModal: true,
|
|
17606
17062
|
},
|
|
@@ -17673,7 +17129,7 @@ const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
17673
17129
|
noFormNeeded: false,
|
|
17674
17130
|
canEditPayoutInfo: true,
|
|
17675
17131
|
documentType: "W8BEN",
|
|
17676
|
-
documentTypeString:
|
|
17132
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17677
17133
|
country: "United Kingdom",
|
|
17678
17134
|
indirectTaxType: "VAT",
|
|
17679
17135
|
indirectTaxNumber: "123456",
|
|
@@ -17691,7 +17147,7 @@ const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
17691
17147
|
noFormNeeded: false,
|
|
17692
17148
|
canEditPayoutInfo: true,
|
|
17693
17149
|
documentType: "W8BENE",
|
|
17694
|
-
documentTypeString:
|
|
17150
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17695
17151
|
country: "United Kingdom",
|
|
17696
17152
|
indirectTaxType: "VAT",
|
|
17697
17153
|
indirectTaxNumber: "123456",
|
|
@@ -17709,7 +17165,7 @@ const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
17709
17165
|
canEditPayoutInfo: true,
|
|
17710
17166
|
status: "INACTIVE",
|
|
17711
17167
|
documentType: "W9",
|
|
17712
|
-
documentTypeString:
|
|
17168
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
17713
17169
|
country: "United Kingdom",
|
|
17714
17170
|
indirectTaxType: "VAT",
|
|
17715
17171
|
indirectTaxNumber: "123456",
|
|
@@ -17729,7 +17185,7 @@ const TaxAndCashDashboardNotActiveW8Form = () => {
|
|
|
17729
17185
|
canEditPayoutInfo: true,
|
|
17730
17186
|
status: "INACTIVE",
|
|
17731
17187
|
documentType: "W8BEN",
|
|
17732
|
-
documentTypeString:
|
|
17188
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17733
17189
|
country: "United Kingdom",
|
|
17734
17190
|
indirectTaxType: "VAT",
|
|
17735
17191
|
indirectTaxNumber: "123456",
|
|
@@ -17766,7 +17222,7 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
17766
17222
|
disabled: false,
|
|
17767
17223
|
status: "NOT_VERIFIED",
|
|
17768
17224
|
documentType: "W9",
|
|
17769
|
-
documentTypeString:
|
|
17225
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
17770
17226
|
noFormNeeded: false,
|
|
17771
17227
|
country: "United States",
|
|
17772
17228
|
indirectTaxType: "VAT",
|
|
@@ -17787,7 +17243,7 @@ const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
17787
17243
|
disabled: false,
|
|
17788
17244
|
status: "NOT_VERIFIED",
|
|
17789
17245
|
documentType: "W8BEN",
|
|
17790
|
-
documentTypeString:
|
|
17246
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17791
17247
|
dateSubmitted: "Jan 18th, 2025",
|
|
17792
17248
|
noFormNeeded: false,
|
|
17793
17249
|
country: "United Kingdom",
|
|
@@ -17808,7 +17264,7 @@ const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
17808
17264
|
disabled: false,
|
|
17809
17265
|
status: "NOT_VERIFIED",
|
|
17810
17266
|
documentType: "W8BENE",
|
|
17811
|
-
documentTypeString:
|
|
17267
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17812
17268
|
dateSubmitted: "Jan 18th, 2025",
|
|
17813
17269
|
noFormNeeded: false,
|
|
17814
17270
|
country: "United Kingdom",
|
|
@@ -17829,7 +17285,7 @@ const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
17829
17285
|
disabled: false,
|
|
17830
17286
|
status: "NOT_ACTIVE",
|
|
17831
17287
|
documentType: "W8BENE",
|
|
17832
|
-
documentTypeString:
|
|
17288
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17833
17289
|
dateSubmitted: "Jan 18th, 2025",
|
|
17834
17290
|
noFormNeeded: false,
|
|
17835
17291
|
indirectTaxNumber: "123456",
|
|
@@ -17849,7 +17305,7 @@ const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
17849
17305
|
canEditPayoutInfo: true,
|
|
17850
17306
|
disabled: false,
|
|
17851
17307
|
documentType: "W9",
|
|
17852
|
-
documentTypeString:
|
|
17308
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
17853
17309
|
dateSubmitted: "Jan 18th, 2025",
|
|
17854
17310
|
noFormNeeded: true,
|
|
17855
17311
|
province: "Ontario",
|
|
@@ -17871,7 +17327,7 @@ const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
17871
17327
|
status: "ACTIVE",
|
|
17872
17328
|
disabled: false,
|
|
17873
17329
|
documentType: "W8BENE",
|
|
17874
|
-
documentTypeString:
|
|
17330
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17875
17331
|
dateSubmitted: "Jan 18th, 2025",
|
|
17876
17332
|
noFormNeeded: false,
|
|
17877
17333
|
province: "Ontario",
|
|
@@ -17893,7 +17349,7 @@ const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
17893
17349
|
status: "ACTIVE",
|
|
17894
17350
|
disabled: false,
|
|
17895
17351
|
documentType: "W8BENE",
|
|
17896
|
-
documentTypeString:
|
|
17352
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17897
17353
|
dateSubmitted: "Jan 18th, 2025",
|
|
17898
17354
|
noFormNeeded: false,
|
|
17899
17355
|
province: "Quebec",
|
|
@@ -17916,7 +17372,7 @@ const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
17916
17372
|
status: "ACTIVE",
|
|
17917
17373
|
disabled: false,
|
|
17918
17374
|
documentType: "W8BENE",
|
|
17919
|
-
documentTypeString:
|
|
17375
|
+
documentTypeString: data.taxTypeToName("W8BENE"),
|
|
17920
17376
|
dateSubmitted: "Jan 18th, 2025",
|
|
17921
17377
|
noFormNeeded: false,
|
|
17922
17378
|
country: "Spain",
|
|
@@ -17938,7 +17394,7 @@ const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
17938
17394
|
canEditPayoutInfo: true,
|
|
17939
17395
|
status: "ACTIVE",
|
|
17940
17396
|
documentType: "W8BEN",
|
|
17941
|
-
documentTypeString:
|
|
17397
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17942
17398
|
dateSubmitted: "Jan 18th, 2025",
|
|
17943
17399
|
noFormNeeded: false,
|
|
17944
17400
|
notRegistered: true,
|
|
@@ -17956,7 +17412,7 @@ const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
|
17956
17412
|
canEditPayoutInfo: true,
|
|
17957
17413
|
status: "ACTIVE",
|
|
17958
17414
|
documentType: "W8BEN",
|
|
17959
|
-
documentTypeString:
|
|
17415
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17960
17416
|
dateSubmitted: "Jan 18th, 2025",
|
|
17961
17417
|
noFormNeeded: false,
|
|
17962
17418
|
notRegistered: true,
|
|
@@ -17974,7 +17430,7 @@ const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
|
|
|
17974
17430
|
canEditPayoutInfo: true,
|
|
17975
17431
|
status: "ACTIVE",
|
|
17976
17432
|
documentType: "W8BEN",
|
|
17977
|
-
documentTypeString:
|
|
17433
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17978
17434
|
dateSubmitted: "Jan 18th, 2025",
|
|
17979
17435
|
noFormNeeded: false,
|
|
17980
17436
|
notRegistered: true,
|
|
@@ -17992,7 +17448,7 @@ const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
|
|
|
17992
17448
|
canEditPayoutInfo: true,
|
|
17993
17449
|
status: "ACTIVE",
|
|
17994
17450
|
documentType: "W8BEN",
|
|
17995
|
-
documentTypeString:
|
|
17451
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
17996
17452
|
dateSubmitted: "Jan 18th, 2025",
|
|
17997
17453
|
noFormNeeded: false,
|
|
17998
17454
|
notRegistered: true,
|
|
@@ -18010,7 +17466,7 @@ const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
|
|
|
18010
17466
|
canEditPayoutInfo: true,
|
|
18011
17467
|
status: "ACTIVE",
|
|
18012
17468
|
documentType: "W8BEN",
|
|
18013
|
-
documentTypeString:
|
|
17469
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
18014
17470
|
dateSubmitted: "Jan 18th, 2025",
|
|
18015
17471
|
noFormNeeded: false,
|
|
18016
17472
|
notRegistered: true,
|
|
@@ -18028,7 +17484,7 @@ const TaxAndCashDashboardW9ThresholdReached = () => {
|
|
|
18028
17484
|
canEditPayoutInfo: true,
|
|
18029
17485
|
status: null,
|
|
18030
17486
|
documentType: "W9",
|
|
18031
|
-
documentTypeString:
|
|
17487
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18032
17488
|
dateSubmitted: "Jan 18th, 2025",
|
|
18033
17489
|
noFormNeeded: false,
|
|
18034
17490
|
notRegistered: false,
|
|
@@ -18047,7 +17503,7 @@ const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
18047
17503
|
canEditPayoutInfo: true,
|
|
18048
17504
|
status: "ACTIVE",
|
|
18049
17505
|
documentType: "W8BEN",
|
|
18050
|
-
documentTypeString:
|
|
17506
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
18051
17507
|
dateSubmitted: "Jan 18th, 2025",
|
|
18052
17508
|
noFormNeeded: false,
|
|
18053
17509
|
notRegistered: true,
|
|
@@ -18066,7 +17522,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
18066
17522
|
disabled: true,
|
|
18067
17523
|
status: "ACTIVE",
|
|
18068
17524
|
documentType: "W8BEN",
|
|
18069
|
-
documentTypeString:
|
|
17525
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
18070
17526
|
dateSubmitted: "Jan 18th, 2025",
|
|
18071
17527
|
noFormNeeded: false,
|
|
18072
17528
|
indirectTaxNumber: "123456",
|
|
@@ -18086,7 +17542,7 @@ const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid = () => {
|
|
|
18086
17542
|
disabled: true,
|
|
18087
17543
|
status: "ACTIVE",
|
|
18088
17544
|
documentType: undefined,
|
|
18089
|
-
documentTypeString:
|
|
17545
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18090
17546
|
dateSubmitted: "Jan 18th, 2025",
|
|
18091
17547
|
noFormNeeded: true,
|
|
18092
17548
|
indirectTaxNumber: "123456",
|
|
@@ -18106,7 +17562,7 @@ const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalidUS = () => {
|
|
|
18106
17562
|
disabled: true,
|
|
18107
17563
|
status: "ACTIVE",
|
|
18108
17564
|
documentType: undefined,
|
|
18109
|
-
documentTypeString:
|
|
17565
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18110
17566
|
dateSubmitted: "Jan 18th, 2025",
|
|
18111
17567
|
noFormNeeded: true,
|
|
18112
17568
|
indirectTaxNumber: "123456",
|
|
@@ -18167,7 +17623,7 @@ const TaxAndCashDashboardFallbackDocumentTypeW9 = () => {
|
|
|
18167
17623
|
disabled: false,
|
|
18168
17624
|
status: "ACTIVE",
|
|
18169
17625
|
documentType: "W9",
|
|
18170
|
-
documentTypeString:
|
|
17626
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18171
17627
|
dateSubmitted: "Mar 15, 2025",
|
|
18172
17628
|
noFormNeeded: false,
|
|
18173
17629
|
indirectTaxNumber: "123456",
|
|
@@ -18188,7 +17644,7 @@ const TaxAndCashDashboardFallbackDocumentTypeW8BEN = () => {
|
|
|
18188
17644
|
disabled: false,
|
|
18189
17645
|
status: "ACTIVE",
|
|
18190
17646
|
documentType: "W8BEN",
|
|
18191
|
-
documentTypeString:
|
|
17647
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
18192
17648
|
dateSubmitted: "Feb 20, 2025",
|
|
18193
17649
|
noFormNeeded: false,
|
|
18194
17650
|
indirectTaxNumber: "654321",
|
|
@@ -18230,7 +17686,7 @@ const TaxAndCashDashboardLoading = () => {
|
|
|
18230
17686
|
disabled: false,
|
|
18231
17687
|
status: "ACTIVE",
|
|
18232
17688
|
documentType: "W9",
|
|
18233
|
-
documentTypeString:
|
|
17689
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18234
17690
|
dateSubmitted: "Jan 18th, 2025",
|
|
18235
17691
|
noFormNeeded: false,
|
|
18236
17692
|
loading: true,
|
|
@@ -18249,7 +17705,7 @@ const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
18249
17705
|
canEditPayoutInfo: true,
|
|
18250
17706
|
status: "ACTIVE",
|
|
18251
17707
|
documentType: "W9",
|
|
18252
|
-
documentTypeString:
|
|
17708
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18253
17709
|
dateSubmitted: "Jan 18th, 2025",
|
|
18254
17710
|
noFormNeeded: false,
|
|
18255
17711
|
loading: true,
|
|
@@ -18269,7 +17725,7 @@ const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
18269
17725
|
disabled: false,
|
|
18270
17726
|
status: "ACTIVE",
|
|
18271
17727
|
documentType: "W9",
|
|
18272
|
-
documentTypeString:
|
|
17728
|
+
documentTypeString: data.taxTypeToName("W9"),
|
|
18273
17729
|
dateSubmitted: "Jan 18th, 2025",
|
|
18274
17730
|
noFormNeeded: false,
|
|
18275
17731
|
indirectTaxNumber: "123456",
|
|
@@ -18293,7 +17749,7 @@ const TaxAndCashDashboardDisabled = () => {
|
|
|
18293
17749
|
disabled: true,
|
|
18294
17750
|
status: "ACTIVE",
|
|
18295
17751
|
documentType: "W8BEN",
|
|
18296
|
-
documentTypeString:
|
|
17752
|
+
documentTypeString: data.taxTypeToName("W8BEN"),
|
|
18297
17753
|
dateSubmitted: "Jan 18th, 2025",
|
|
18298
17754
|
noFormNeeded: false,
|
|
18299
17755
|
indirectTaxNumber: "123456",
|
|
@@ -18444,45 +17900,45 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
18444
17900
|
const PayoutStatusAlert_stories = {
|
|
18445
17901
|
title: "Components/Payout Status Alert",
|
|
18446
17902
|
};
|
|
18447
|
-
const defaultProps$
|
|
17903
|
+
const defaultProps$s = {
|
|
18448
17904
|
error: false,
|
|
18449
17905
|
status: "INFORMATION_REQUIRED",
|
|
18450
17906
|
loading: false,
|
|
18451
17907
|
veriffLoading: false,
|
|
18452
17908
|
};
|
|
18453
|
-
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$
|
|
18454
|
-
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18455
|
-
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17909
|
+
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$s } }));
|
|
17910
|
+
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:REQUIRED" } } }));
|
|
17911
|
+
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:INTERNAL" } } }));
|
|
18456
17912
|
const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18457
17913
|
states: {
|
|
18458
|
-
...defaultProps$
|
|
17914
|
+
...defaultProps$s,
|
|
18459
17915
|
status: "VERIFICATION:REVIEW",
|
|
18460
17916
|
},
|
|
18461
17917
|
} }));
|
|
18462
|
-
const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17918
|
+
const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:FAILED" } } }));
|
|
18463
17919
|
const W9ThresholdReached = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18464
17920
|
states: {
|
|
18465
|
-
...defaultProps$
|
|
17921
|
+
...defaultProps$s,
|
|
18466
17922
|
enforceUsTaxComplianceOption: "CASH_ONLY_DEFER_W9",
|
|
18467
17923
|
status: "OVER_W9_THRESHOLD",
|
|
18468
17924
|
},
|
|
18469
17925
|
} }));
|
|
18470
|
-
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18471
|
-
const Loading$d = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18472
|
-
const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18473
|
-
const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18474
|
-
const PaymentHoldOnChange = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17926
|
+
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "HOLD" } } }));
|
|
17927
|
+
const Loading$d = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, loading: true } } }));
|
|
17928
|
+
const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, error: true } } }));
|
|
17929
|
+
const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "NEW_PAYEE_REVIEW" } } }));
|
|
17930
|
+
const PaymentHoldOnChange = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
|
|
18475
17931
|
const BeneficiaryNameInvalid = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18476
|
-
states: { ...defaultProps$
|
|
17932
|
+
states: { ...defaultProps$s, status: "BENEFICIARY_NAME_INVALID" },
|
|
18477
17933
|
} }));
|
|
18478
17934
|
const BeneficiaryNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18479
|
-
states: { ...defaultProps$
|
|
17935
|
+
states: { ...defaultProps$s, status: "BENEFICIARY_NAME_MISMATCH" },
|
|
18480
17936
|
} }));
|
|
18481
|
-
const BankTaxNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17937
|
+
const BankTaxNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "BANK_TAX_NAME_MISMATCH" } } }));
|
|
18482
17938
|
const WithdrawalSettingsInvalid = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18483
|
-
states: { ...defaultProps$
|
|
17939
|
+
states: { ...defaultProps$s, status: "WITHDRAWAL_SETTINGS_INVALID" },
|
|
18484
17940
|
} }));
|
|
18485
|
-
const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17941
|
+
const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_RETURNED" } } }));
|
|
18486
17942
|
|
|
18487
17943
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
18488
17944
|
__proto__: null,
|
|
@@ -18537,10 +17993,10 @@ const style$2 = {
|
|
|
18537
17993
|
border: "var(--sqm-border-thickness) solid var(--sqm-border-color)",
|
|
18538
17994
|
},
|
|
18539
17995
|
};
|
|
18540
|
-
const sheet$
|
|
18541
|
-
const styleString$2 = sheet$
|
|
17996
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
17997
|
+
const styleString$2 = sheet$2.toString();
|
|
18542
17998
|
const DocusignExpiredView = (props) => {
|
|
18543
|
-
const { classes } = sheet$
|
|
17999
|
+
const { classes } = sheet$2;
|
|
18544
18000
|
const { text } = props;
|
|
18545
18001
|
return (index.h("div", null,
|
|
18546
18002
|
index.h("style", { type: "text/css" }, styleString$2),
|
|
@@ -18587,13 +18043,13 @@ const registeredInCanada = {
|
|
|
18587
18043
|
text: indirectDetailsSlotText,
|
|
18588
18044
|
};
|
|
18589
18045
|
const RegisteredInOtherRegion = () => {
|
|
18590
|
-
return index.h(
|
|
18046
|
+
return index.h(sqmUserInfoFormView.OtherRegionSlotView, Object.assign({}, registeredInOtherRegion));
|
|
18591
18047
|
};
|
|
18592
18048
|
const RegisteredInCanada = () => {
|
|
18593
18049
|
return index.h(IndirectDetailsSlotView, Object.assign({}, registeredInCanada));
|
|
18594
18050
|
};
|
|
18595
18051
|
const RegisteredInOtherRegionWithErrors = () => {
|
|
18596
|
-
return (index.h(
|
|
18052
|
+
return (index.h(sqmUserInfoFormView.OtherRegionSlotView, Object.assign({}, registeredInOtherRegion, { states: {
|
|
18597
18053
|
...registeredInOtherRegion.states,
|
|
18598
18054
|
formState: {
|
|
18599
18055
|
...registeredInOtherRegion.states.formState,
|
|
@@ -18637,7 +18093,7 @@ const EmailRegistration_stories = {
|
|
|
18637
18093
|
// scenario,
|
|
18638
18094
|
},
|
|
18639
18095
|
};
|
|
18640
|
-
const defaultProps$
|
|
18096
|
+
const defaultProps$t = {
|
|
18641
18097
|
states: {
|
|
18642
18098
|
error: "",
|
|
18643
18099
|
loading: false,
|
|
@@ -18656,59 +18112,59 @@ const defaultProps$u = {
|
|
|
18656
18112
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
18657
18113
|
},
|
|
18658
18114
|
};
|
|
18659
|
-
const Default$q = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$
|
|
18115
|
+
const Default$q = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$t));
|
|
18660
18116
|
const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18661
|
-
...defaultProps$
|
|
18117
|
+
...defaultProps$t,
|
|
18662
18118
|
content: {
|
|
18663
|
-
...defaultProps$
|
|
18119
|
+
...defaultProps$t.content,
|
|
18664
18120
|
includeName: true,
|
|
18665
18121
|
},
|
|
18666
18122
|
})));
|
|
18667
18123
|
const WithSlots = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18668
|
-
...defaultProps$
|
|
18124
|
+
...defaultProps$t,
|
|
18669
18125
|
content: {
|
|
18670
|
-
...defaultProps$
|
|
18126
|
+
...defaultProps$t.content,
|
|
18671
18127
|
topSlot: index.h("div", null, "Hello this is the top slot"),
|
|
18672
18128
|
bottomSlot: index.h("div", null, "Hello this is the bottom slot"),
|
|
18673
18129
|
},
|
|
18674
18130
|
})));
|
|
18675
18131
|
const NoBorder$1 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18676
|
-
...defaultProps$
|
|
18132
|
+
...defaultProps$t,
|
|
18677
18133
|
content: {
|
|
18678
|
-
...defaultProps$
|
|
18134
|
+
...defaultProps$t.content,
|
|
18679
18135
|
hideBorder: true,
|
|
18680
18136
|
},
|
|
18681
18137
|
})));
|
|
18682
18138
|
const BackgroundColor$2 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18683
|
-
...defaultProps$
|
|
18139
|
+
...defaultProps$t,
|
|
18684
18140
|
content: {
|
|
18685
|
-
...defaultProps$
|
|
18141
|
+
...defaultProps$t.content,
|
|
18686
18142
|
backgroundColor: "aquamarine",
|
|
18687
18143
|
},
|
|
18688
18144
|
})));
|
|
18689
18145
|
const Loading$e = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18690
|
-
...defaultProps$
|
|
18146
|
+
...defaultProps$t,
|
|
18691
18147
|
states: {
|
|
18692
18148
|
error: "",
|
|
18693
18149
|
loading: true,
|
|
18694
18150
|
},
|
|
18695
18151
|
})));
|
|
18696
18152
|
const Error$c = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18697
|
-
...defaultProps$
|
|
18153
|
+
...defaultProps$t,
|
|
18698
18154
|
states: {
|
|
18699
18155
|
error: "Something went wrong. Please try again.",
|
|
18700
18156
|
loading: false,
|
|
18701
18157
|
},
|
|
18702
18158
|
})));
|
|
18703
18159
|
const FraudError = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18704
|
-
...defaultProps$
|
|
18160
|
+
...defaultProps$t,
|
|
18705
18161
|
states: {
|
|
18706
18162
|
error: "FRAUD",
|
|
18707
18163
|
loading: false,
|
|
18708
18164
|
},
|
|
18709
18165
|
})));
|
|
18710
18166
|
const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18711
|
-
...defaultProps$
|
|
18167
|
+
...defaultProps$t,
|
|
18712
18168
|
states: {
|
|
18713
18169
|
error: "Something went wrong. Please try again.",
|
|
18714
18170
|
loading: false,
|
|
@@ -18735,7 +18191,7 @@ const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
|
18735
18191
|
const LeadForm_stories = {
|
|
18736
18192
|
title: "Components/Lead Form",
|
|
18737
18193
|
};
|
|
18738
|
-
const defaultProps$
|
|
18194
|
+
const defaultProps$u = {
|
|
18739
18195
|
states: {
|
|
18740
18196
|
success: false,
|
|
18741
18197
|
leadFormState: {},
|
|
@@ -18764,21 +18220,21 @@ const defaultProps$v = {
|
|
|
18764
18220
|
},
|
|
18765
18221
|
};
|
|
18766
18222
|
const successProps$5 = {
|
|
18767
|
-
...defaultProps$
|
|
18223
|
+
...defaultProps$u,
|
|
18768
18224
|
states: {
|
|
18769
|
-
...defaultProps$
|
|
18225
|
+
...defaultProps$u.states,
|
|
18770
18226
|
success: true,
|
|
18771
18227
|
error: null,
|
|
18772
18228
|
},
|
|
18773
18229
|
content: {
|
|
18774
|
-
...defaultProps$
|
|
18230
|
+
...defaultProps$u.content,
|
|
18775
18231
|
pageLabel: "Refer your friend",
|
|
18776
18232
|
},
|
|
18777
18233
|
};
|
|
18778
18234
|
const errorProps$c = {
|
|
18779
|
-
...defaultProps$
|
|
18235
|
+
...defaultProps$u,
|
|
18780
18236
|
states: {
|
|
18781
|
-
...defaultProps$
|
|
18237
|
+
...defaultProps$u.states,
|
|
18782
18238
|
error: "Something went wrong. Please try again.",
|
|
18783
18239
|
leadFormState: {
|
|
18784
18240
|
validationErrors: {
|
|
@@ -18790,16 +18246,16 @@ const errorProps$c = {
|
|
|
18790
18246
|
},
|
|
18791
18247
|
};
|
|
18792
18248
|
const loadingProps$9 = {
|
|
18793
|
-
...defaultProps$
|
|
18249
|
+
...defaultProps$u,
|
|
18794
18250
|
states: {
|
|
18795
|
-
...defaultProps$
|
|
18251
|
+
...defaultProps$u.states,
|
|
18796
18252
|
loading: true,
|
|
18797
18253
|
},
|
|
18798
18254
|
};
|
|
18799
18255
|
const slottedProps$2 = {
|
|
18800
|
-
...defaultProps$
|
|
18256
|
+
...defaultProps$u,
|
|
18801
18257
|
content: {
|
|
18802
|
-
...defaultProps$
|
|
18258
|
+
...defaultProps$u.content,
|
|
18803
18259
|
formData: (index.h("div", null,
|
|
18804
18260
|
index.h("sqm-lead-input-field", { "field-name": "firstName", "field-label": "First Name", "field-type": "text", "required-field-error-message": "Please enter a first name" }),
|
|
18805
18261
|
index.h("sqm-lead-input-field", { "field-name": "lastName", "field-label": "Last Name", "field-type": "text", "required-field-error-message": "Please enter a last name" }),
|
|
@@ -18807,10 +18263,10 @@ const slottedProps$2 = {
|
|
|
18807
18263
|
index.h("sqm-lead-dropdown-field", null))),
|
|
18808
18264
|
},
|
|
18809
18265
|
};
|
|
18810
|
-
const Default$r = () => index.h(
|
|
18811
|
-
const LeadSubmitSuccess = () => index.h(
|
|
18812
|
-
const LeadSubmitWithErrors = () => index.h(
|
|
18813
|
-
const LeadSubmitLoading = () => index.h(
|
|
18266
|
+
const Default$r = () => index.h(ShadowViewAddon.LeadFormView, Object.assign({}, defaultProps$u));
|
|
18267
|
+
const LeadSubmitSuccess = () => index.h(ShadowViewAddon.LeadFormView, Object.assign({}, successProps$5));
|
|
18268
|
+
const LeadSubmitWithErrors = () => index.h(ShadowViewAddon.LeadFormView, Object.assign({}, errorProps$c));
|
|
18269
|
+
const LeadSubmitLoading = () => index.h(ShadowViewAddon.LeadFormView, Object.assign({}, loadingProps$9));
|
|
18814
18270
|
const FieldsHidden$2 = () => {
|
|
18815
18271
|
return (index.h("sqm-lead-form", { demoData: {
|
|
18816
18272
|
states: {
|
|
@@ -18822,7 +18278,7 @@ const FieldsHidden$2 = () => {
|
|
|
18822
18278
|
},
|
|
18823
18279
|
} }));
|
|
18824
18280
|
};
|
|
18825
|
-
const SlottedInputs$2 = () => index.h(
|
|
18281
|
+
const SlottedInputs$2 = () => index.h(ShadowViewAddon.LeadFormView, Object.assign({}, slottedProps$2));
|
|
18826
18282
|
|
|
18827
18283
|
const LeadForm = /*#__PURE__*/Object.freeze({
|
|
18828
18284
|
__proto__: null,
|
|
@@ -18838,7 +18294,7 @@ const LeadForm = /*#__PURE__*/Object.freeze({
|
|
|
18838
18294
|
const LeadInputField_stories = {
|
|
18839
18295
|
title: "Components/Lead Form Input Field",
|
|
18840
18296
|
};
|
|
18841
|
-
const defaultProps$
|
|
18297
|
+
const defaultProps$v = {
|
|
18842
18298
|
states: {
|
|
18843
18299
|
leadFormState: {
|
|
18844
18300
|
validationErrors: {},
|
|
@@ -18856,27 +18312,27 @@ const defaultProps$w = {
|
|
|
18856
18312
|
fieldOptional: false,
|
|
18857
18313
|
},
|
|
18858
18314
|
};
|
|
18859
|
-
const Default$s = () => index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18860
|
-
const WithError$1 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18861
|
-
...defaultProps$
|
|
18315
|
+
const Default$s = () => index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$v));
|
|
18316
|
+
const WithError$1 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$v, { states: {
|
|
18317
|
+
...defaultProps$v.states,
|
|
18862
18318
|
leadFormState: {
|
|
18863
|
-
...defaultProps$
|
|
18319
|
+
...defaultProps$v.states.leadFormState,
|
|
18864
18320
|
validationErrors: {
|
|
18865
18321
|
firstName: "Please enter a first name",
|
|
18866
18322
|
},
|
|
18867
18323
|
},
|
|
18868
18324
|
} })));
|
|
18869
|
-
const Disabled$2 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18870
|
-
...defaultProps$
|
|
18325
|
+
const Disabled$2 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$v, { states: {
|
|
18326
|
+
...defaultProps$v.states,
|
|
18871
18327
|
leadFormState: {
|
|
18872
|
-
...defaultProps$
|
|
18328
|
+
...defaultProps$v.states.leadFormState,
|
|
18873
18329
|
disabled: true,
|
|
18874
18330
|
},
|
|
18875
18331
|
} })));
|
|
18876
|
-
const WithInitialValue = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18877
|
-
...defaultProps$
|
|
18332
|
+
const WithInitialValue = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$v, { states: {
|
|
18333
|
+
...defaultProps$v.states,
|
|
18878
18334
|
leadFormState: {
|
|
18879
|
-
...defaultProps$
|
|
18335
|
+
...defaultProps$v.states.leadFormState,
|
|
18880
18336
|
initialData: {
|
|
18881
18337
|
firstName: "Jane",
|
|
18882
18338
|
},
|
|
@@ -18895,7 +18351,7 @@ const LeadInputField = /*#__PURE__*/Object.freeze({
|
|
|
18895
18351
|
const LeadFormDropdownField_stories = {
|
|
18896
18352
|
title: "Components/Lead Form Dropdown Field",
|
|
18897
18353
|
};
|
|
18898
|
-
const defaultProps$
|
|
18354
|
+
const defaultProps$w = {
|
|
18899
18355
|
states: {
|
|
18900
18356
|
leadFormState: {
|
|
18901
18357
|
validationErrors: {},
|
|
@@ -18918,35 +18374,35 @@ const defaultProps$x = {
|
|
|
18918
18374
|
],
|
|
18919
18375
|
},
|
|
18920
18376
|
};
|
|
18921
|
-
const Default$t = () => index.h(
|
|
18922
|
-
const Multiple = () => (index.h(
|
|
18923
|
-
const WithError$2 = () => (index.h(
|
|
18924
|
-
...defaultProps$
|
|
18377
|
+
const Default$t = () => index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w));
|
|
18378
|
+
const Multiple = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { content: { ...defaultProps$w.content, multiple: true } })));
|
|
18379
|
+
const WithError$2 = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18380
|
+
...defaultProps$w.states,
|
|
18925
18381
|
leadFormState: {
|
|
18926
|
-
...defaultProps$
|
|
18382
|
+
...defaultProps$w.states.leadFormState,
|
|
18927
18383
|
validationErrors: {
|
|
18928
18384
|
country: "Please select a country",
|
|
18929
18385
|
},
|
|
18930
18386
|
},
|
|
18931
18387
|
} })));
|
|
18932
|
-
const Disabled$3 = () => (index.h(
|
|
18933
|
-
...defaultProps$
|
|
18388
|
+
const Disabled$3 = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18389
|
+
...defaultProps$w.states,
|
|
18934
18390
|
leadFormState: {
|
|
18935
|
-
...defaultProps$
|
|
18391
|
+
...defaultProps$w.states.leadFormState,
|
|
18936
18392
|
disabled: true,
|
|
18937
18393
|
},
|
|
18938
18394
|
} })));
|
|
18939
|
-
const Loading$f = () => (index.h(
|
|
18940
|
-
...defaultProps$
|
|
18395
|
+
const Loading$f = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18396
|
+
...defaultProps$w.states,
|
|
18941
18397
|
leadFormState: {
|
|
18942
|
-
...defaultProps$
|
|
18398
|
+
...defaultProps$w.states.leadFormState,
|
|
18943
18399
|
loading: true,
|
|
18944
18400
|
},
|
|
18945
18401
|
} })));
|
|
18946
|
-
const WithInitialValue$1 = () => (index.h(
|
|
18947
|
-
...defaultProps$
|
|
18402
|
+
const WithInitialValue$1 = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18403
|
+
...defaultProps$w.states,
|
|
18948
18404
|
leadFormState: {
|
|
18949
|
-
...defaultProps$
|
|
18405
|
+
...defaultProps$w.states.leadFormState,
|
|
18950
18406
|
initialData: {
|
|
18951
18407
|
country: "Canada",
|
|
18952
18408
|
},
|
|
@@ -18967,7 +18423,7 @@ const LeadFormDropdownField = /*#__PURE__*/Object.freeze({
|
|
|
18967
18423
|
const LeadCheckboxField_stories = {
|
|
18968
18424
|
title: "Components/Lead Checkbox Field",
|
|
18969
18425
|
};
|
|
18970
|
-
const defaultProps$
|
|
18426
|
+
const defaultProps$x = {
|
|
18971
18427
|
states: {
|
|
18972
18428
|
leadFormState: {
|
|
18973
18429
|
validationErrors: {},
|
|
@@ -18981,28 +18437,28 @@ const defaultProps$y = {
|
|
|
18981
18437
|
errorMessage: "{checkboxLabel} Must be checked",
|
|
18982
18438
|
},
|
|
18983
18439
|
};
|
|
18984
|
-
const Default$u = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18985
|
-
const CustomLabel$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18986
|
-
...defaultProps$
|
|
18440
|
+
const Default$u = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$x))));
|
|
18441
|
+
const CustomLabel$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$x, { content: {
|
|
18442
|
+
...defaultProps$x.content,
|
|
18987
18443
|
checkboxLabel: "I Agree",
|
|
18988
18444
|
} }))));
|
|
18989
|
-
const Error$d = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18990
|
-
...defaultProps$
|
|
18445
|
+
const Error$d = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$x, { states: {
|
|
18446
|
+
...defaultProps$x.states,
|
|
18991
18447
|
leadFormState: {
|
|
18992
18448
|
validationErrors: {
|
|
18993
18449
|
terms: "{checkboxLabel} Must be checked",
|
|
18994
18450
|
},
|
|
18995
18451
|
},
|
|
18996
18452
|
} }))));
|
|
18997
|
-
const CustomError$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18998
|
-
...defaultProps$
|
|
18453
|
+
const CustomError$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$x, { states: {
|
|
18454
|
+
...defaultProps$x.states,
|
|
18999
18455
|
leadFormState: {
|
|
19000
18456
|
validationErrors: {
|
|
19001
18457
|
terms: "{checkboxLabel} Must be checked",
|
|
19002
18458
|
},
|
|
19003
18459
|
},
|
|
19004
18460
|
}, content: {
|
|
19005
|
-
...defaultProps$
|
|
18461
|
+
...defaultProps$x.content,
|
|
19006
18462
|
errorMessage: "This checkbox must be checked to continue",
|
|
19007
18463
|
} }))));
|
|
19008
18464
|
|
|
@@ -20708,7 +20164,7 @@ const mergeHTMLPlugin = {
|
|
|
20708
20164
|
/**
|
|
20709
20165
|
* @param {Node} node
|
|
20710
20166
|
*/
|
|
20711
|
-
function tag
|
|
20167
|
+
function tag(node) {
|
|
20712
20168
|
return node.nodeName.toLowerCase();
|
|
20713
20169
|
}
|
|
20714
20170
|
|
|
@@ -20732,7 +20188,7 @@ function nodeStream(node) {
|
|
|
20732
20188
|
// Prevent void elements from having an end tag that would actually
|
|
20733
20189
|
// double them in the output. There are more void elements in HTML
|
|
20734
20190
|
// but we list only those realistically expected in code display.
|
|
20735
|
-
if (!tag
|
|
20191
|
+
if (!tag(child).match(/br|hr|img|input/)) {
|
|
20736
20192
|
result.push({
|
|
20737
20193
|
event: 'stop',
|
|
20738
20194
|
offset: offset,
|
|
@@ -20791,14 +20247,14 @@ function mergeStreams(original, highlighted, value) {
|
|
|
20791
20247
|
return ' ' + attr.nodeName + '="' + escapeHTML(attr.value) + '"';
|
|
20792
20248
|
}
|
|
20793
20249
|
// @ts-ignore
|
|
20794
|
-
result += '<' + tag
|
|
20250
|
+
result += '<' + tag(node) + [].map.call(node.attributes, attributeString).join('') + '>';
|
|
20795
20251
|
}
|
|
20796
20252
|
|
|
20797
20253
|
/**
|
|
20798
20254
|
* @param {Node} node
|
|
20799
20255
|
*/
|
|
20800
20256
|
function close(node) {
|
|
20801
|
-
result += '</' + tag
|
|
20257
|
+
result += '</' + tag(node) + '>';
|
|
20802
20258
|
}
|
|
20803
20259
|
|
|
20804
20260
|
/**
|
|
@@ -22091,20 +21547,8 @@ const StencilStorybook = class {
|
|
|
22091
21547
|
});
|
|
22092
21548
|
const [selectedTheme, setSelected] = domContextHooks_module.useState("Default");
|
|
22093
21549
|
const [checkerboard, setCheckerboard] = domContextHooks_module.useState(true);
|
|
22094
|
-
const themes = Object.keys(Themes.Themes);
|
|
22095
|
-
const theme = Themes.Themes[selectedTheme];
|
|
22096
21550
|
return (index.h(index.Host, { class: Style, onClick: {} }, index.h("sqm-brand-selector", null), children));
|
|
22097
21551
|
}
|
|
22098
21552
|
};
|
|
22099
|
-
function ColorScale() {
|
|
22100
|
-
return (index.h("span", null, index.h(ColorToken, null), index.h(ColorToken, { type: "success" }), index.h(ColorToken, { type: "warning" }), index.h(ColorToken, { type: "danger" }), index.h(ColorToken, { type: "neutral" })));
|
|
22101
|
-
}
|
|
22102
|
-
function ColorToken({ type = "primary" }) {
|
|
22103
|
-
return (index.h("span", { style: {
|
|
22104
|
-
width: "1em",
|
|
22105
|
-
marginRight: "2px",
|
|
22106
|
-
padding: "0 4px",
|
|
22107
|
-
}, title: type }, type.charAt(0)));
|
|
22108
|
-
}
|
|
22109
21553
|
|
|
22110
21554
|
exports.sqm_stencilbook = StencilStorybook;
|