@ikas/loyalty-widget-renderer 1.0.0-alpha.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_virtual/index.js +1 -1
- package/build/_virtual/index2.js +1 -0
- package/build/_virtual/react-is.production.js +1 -0
- package/build/_virtual/react-is.production.min.js +1 -0
- package/build/assets/badgeLevel1.d.ts +2 -2
- package/build/assets/badgeLevel2.d.ts +2 -2
- package/build/assets/badgeLevel3.d.ts +2 -2
- package/build/assets/badgeLevel4.d.ts +2 -2
- package/build/assets/icons/check-circle-fill.d.ts +2 -2
- package/build/assets/icons/check.d.ts +2 -2
- package/build/assets/icons/chevron-left.d.ts +2 -2
- package/build/assets/icons/x-close.d.ts +2 -2
- package/build/assets/index.d.ts +27 -27
- package/build/assets/widget-icons/illustraions/approvedChatIllustration.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/bankCoin.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/bigSaleMedal.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/bubbleChatIllustration.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/giftIllustration.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/medal.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/shippingBox.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/shoppingCartIllustration.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/tshirtIllustration.d.ts +2 -2
- package/build/assets/widget-icons/illustraions/usersIllustration.d.ts +2 -2
- package/build/assets/widget-icons/normal/bubbleChatDone.d.ts +2 -2
- package/build/assets/widget-icons/normal/commentAdd01.d.ts +2 -2
- package/build/assets/widget-icons/normal/couponPercent.d.ts +2 -2
- package/build/assets/widget-icons/normal/discountTag02.d.ts +2 -2
- package/build/assets/widget-icons/normal/gift.d.ts +2 -2
- package/build/assets/widget-icons/normal/moneyAdd01.d.ts +2 -2
- package/build/assets/widget-icons/normal/packageDelivered.d.ts +2 -2
- package/build/assets/widget-icons/normal/saveMoneyDollar.d.ts +2 -2
- package/build/assets/widget-icons/normal/shoppingBasketAdd02.d.ts +2 -2
- package/build/assets/widget-icons/normal/userAdd01.d.ts +2 -2
- package/build/ext/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js +1 -0
- package/build/ext/@emotion/memoize/dist/memoize.browser.esm.js +1 -0
- package/build/ext/@emotion/stylis/dist/stylis.browser.esm.js +1 -0
- package/build/ext/@emotion/unitless/dist/unitless.browser.esm.js +1 -0
- package/build/ext/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -0
- package/build/ext/hoist-non-react-statics/ext/react-is/cjs/react-is.development.js +9 -0
- package/build/ext/hoist-non-react-statics/ext/react-is/cjs/react-is.production.min.js +9 -0
- package/build/ext/hoist-non-react-statics/ext/react-is/index.js +1 -0
- package/build/ext/i18next/dist/esm/i18next.js +1 -1
- package/build/ext/react-i18next/dist/es/defaults.js +1 -1
- package/build/ext/react-i18next/dist/es/i18nInstance.js +1 -1
- package/build/ext/react-i18next/dist/es/useTranslation.js +1 -1
- package/build/ext/react-i18next/dist/es/utils.js +1 -1
- package/build/ext/react-is/cjs/react-is.development.js +10 -0
- package/build/ext/react-is/cjs/react-is.production.js +10 -0
- package/build/ext/react-is/index.js +1 -0
- package/build/ext/styled-components/dist/styled-components.browser.esm.js +1 -0
- package/build/index.d.ts +12 -11
- package/build/models/base.d.ts +4 -4
- package/build/models/button/index.d.ts +7 -7
- package/build/models/category/index.d.ts +5 -5
- package/build/models/image/index.d.ts +12 -12
- package/build/models/index.d.ts +28 -28
- package/build/models/loyalty-customer-info/index.d.ts +28 -28
- package/build/models/loyalty-program-earning-method/index.d.ts +51 -51
- package/build/models/loyalty-program-point-history/index.d.ts +17 -17
- package/build/models/loyalty-program-spending-method/index.d.ts +38 -38
- package/build/models/loyalty-widget/header/header-background/index.d.ts +9 -9
- package/build/models/loyalty-widget/header/index.d.ts +8 -8
- package/build/models/loyalty-widget/header-background/index.d.ts +9 -9
- package/build/models/loyalty-widget/index.d.ts +12 -12
- package/build/models/loyalty-widget/settings/index.d.ts +10 -10
- package/build/models/loyalty-widget/types/index.d.ts +29 -29
- package/build/models/types/index.d.ts +145 -145
- package/build/renderer/components/button/index.d.ts +15 -15
- package/build/renderer/components/button/style.d.ts +15 -15
- package/build/renderer/components/button/style.js +1 -1
- package/build/renderer/components/index.d.ts +5 -3
- package/build/renderer/components/loyalty-method-card/index.d.ts +23 -23
- package/build/renderer/components/loyalty-method-card/style.d.ts +22 -22
- package/build/renderer/components/loyalty-method-card/style.js +1 -1
- package/build/renderer/components/section-title/index.d.ts +8 -8
- package/build/renderer/components/section-title/style.d.ts +1 -1
- package/build/renderer/components/section-title/style.js +1 -1
- package/build/renderer/components/style/typography.d.ts +11 -11
- package/build/renderer/components/style/typography.js +1 -1
- package/build/renderer/index.d.ts +5 -7
- package/build/renderer/index.js +1 -1
- package/build/renderer/screens/credit-earning-methods-screen/index.d.ts +9 -9
- package/build/renderer/screens/credit-earning-methods-screen/index.js +1 -1
- package/build/renderer/screens/credit-earning-methods-screen/style.d.ts +5 -5
- package/build/renderer/screens/credit-earning-methods-screen/style.js +1 -1
- package/build/renderer/screens/credit-history-screen/index.d.ts +9 -9
- package/build/renderer/screens/credit-history-screen/index.js +1 -1
- package/build/renderer/screens/credit-history-screen/style.d.ts +17 -17
- package/build/renderer/screens/credit-history-screen/style.js +1 -1
- package/build/renderer/screens/credit-spending-methods-screen/index.d.ts +9 -9
- package/build/renderer/screens/credit-spending-methods-screen/index.js +1 -1
- package/build/renderer/screens/credit-spending-methods-screen/style.d.ts +8 -8
- package/build/renderer/screens/credit-spending-methods-screen/style.js +1 -1
- package/build/renderer/screens/loyalty-level-screen/index.d.ts +9 -9
- package/build/renderer/screens/loyalty-level-screen/index.js +1 -1
- package/build/renderer/screens/loyalty-level-screen/style.d.ts +32 -32
- package/build/renderer/screens/loyalty-level-screen/style.js +1 -1
- package/build/renderer/screens/main-screen/earning-methods-section/index.d.ts +14 -14
- package/build/renderer/screens/main-screen/earning-methods-section/index.js +1 -1
- package/build/renderer/screens/main-screen/header/auth-user-section/index.d.ts +7 -7
- package/build/renderer/screens/main-screen/header/auth-user-section/index.js +1 -1
- package/build/renderer/screens/main-screen/header/auth-user-section/style.d.ts +7 -7
- package/build/renderer/screens/main-screen/header/auth-user-section/style.js +1 -1
- package/build/renderer/screens/main-screen/header/index.d.ts +10 -10
- package/build/renderer/screens/main-screen/header/logo-section/index.d.ts +7 -7
- package/build/renderer/screens/main-screen/header/logo-section/style.d.ts +2 -2
- package/build/renderer/screens/main-screen/header/logo-section/style.js +1 -1
- package/build/renderer/screens/main-screen/header/style.d.ts +12 -12
- package/build/renderer/screens/main-screen/header/style.js +1 -1
- package/build/renderer/screens/main-screen/header/title-section/index.d.ts +7 -7
- package/build/renderer/screens/main-screen/header/title-section/index.js +1 -1
- package/build/renderer/screens/main-screen/header/title-section/style.d.ts +7 -7
- package/build/renderer/screens/main-screen/header/title-section/style.js +1 -1
- package/build/renderer/screens/main-screen/header/user-logged-section/index.d.ts +7 -7
- package/build/renderer/screens/main-screen/header/user-logged-section/index.js +1 -1
- package/build/renderer/screens/main-screen/header/user-logged-section/style.d.ts +18 -18
- package/build/renderer/screens/main-screen/header/user-logged-section/style.js +1 -1
- package/build/renderer/screens/main-screen/index.d.ts +9 -9
- package/build/renderer/screens/main-screen/index.js +1 -1
- package/build/renderer/screens/main-screen/program-info-section/index.d.ts +8 -8
- package/build/renderer/screens/main-screen/program-info-section/index.js +1 -1
- package/build/renderer/screens/main-screen/program-info-section/style.d.ts +8 -8
- package/build/renderer/screens/main-screen/program-info-section/style.js +1 -1
- package/build/renderer/screens/main-screen/spending-methods-section/dynamic-slider.d.ts +9 -9
- package/build/renderer/screens/main-screen/spending-methods-section/dynamic-slider.js +1 -1
- package/build/renderer/screens/main-screen/spending-methods-section/index.d.ts +13 -13
- package/build/renderer/screens/main-screen/spending-methods-section/index.js +1 -1
- package/build/renderer/screens/main-screen/style.d.ts +5 -5
- package/build/renderer/screens/main-screen/style.js +1 -1
- package/build/renderer/style.d.ts +6 -6
- package/build/renderer/style.js +1 -1
- package/build/renderer/utils/i18n.d.ts +2 -2
- package/build/renderer/utils/i18n.js +1 -1
- package/build/renderer/utils/loyalty-details.d.ts +12 -12
- package/build/renderer/utils/translations.d.ts +5 -5
- package/build/utils.d.ts +10 -10
- package/build/utils.js +1 -1
- package/package.json +13 -15
- package/build/ext/react-i18next/dist/es/I18nextProvider.js +0 -1
- package/build/ext/react-i18next/dist/es/IcuTransUtils/htmlEntityDecoder.js +0 -1
- package/build/ext/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -10
- package/build/ext/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -10
- package/build/ext/use-sync-external-store/shim/index.js +0 -1
- /package/build/_virtual/{use-sync-external-store-shim.development.js → react-is.development.js} +0 -0
- /package/build/_virtual/{use-sync-external-store-shim.production.js → react-is.development2.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{unescape as e}from"./unescape.js";let
|
|
1
|
+
import{unescape as e}from"./unescape.js";let n={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e};function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n={...n,...e}}function s(){return n}export{s as getDefaults,t as setDefaults};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let
|
|
1
|
+
let n;function t(t){n=t}function e(){return n}export{e as getI18n,t as setI18n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useContext as
|
|
1
|
+
import{useContext as t,useState as e,useRef as n,useEffect as r}from"react";import{I18nContext as o,ReportNamespaces as s}from"./context.js";import{warnOnce as i,hasLoadedNamespace as a,loadLanguages as c,loadNamespaces as u}from"./utils.js";import{getI18n as l}from"./i18nInstance.js";import{getDefaults as p}from"./defaults.js";function f(f){let d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:m}=d,{i18n:g,defaultNS:y}=t(o)||{},h=m||g||l();if(h&&!h.reportNamespaces&&(h.reportNamespaces=new s),!h){i("You will need to pass in an i18next instance by using initReactI18next");const t=(t,e)=>"string"==typeof e?e:e&&"object"==typeof e&&"string"==typeof e.defaultValue?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,e=[t,{},!1];return e.t=t,e.i18n={},e.ready=!1,e}h.options.react&&void 0!==h.options.react.wait&&i("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const N={...p(),...h.options.react,...d},{useSuspense:w,keyPrefix:b}=N;let j=f||y||h.options&&h.options.defaultNS;j="string"==typeof j?[j]:j||["translation"],h.reportNamespaces.addUsedNamespaces&&h.reportNamespaces.addUsedNamespaces(j);const x=(h.isInitialized||h.initializedStoreOnce)&&j.every(t=>a(t,h,N));function I(){return h.getFixedT(d.lng||null,"fallback"===N.nsMode?j:j[0],b)}const[S,v]=e(I);let k=j.join();d.lng&&(k=`${d.lng}${k}`);const z=((t,e)=>{const o=n();return r(()=>{o.current=e?o.current:t},[t,e]),o.current})(k),A=n(!0);r(()=>{const{bindI18n:t,bindI18nStore:e}=N;function n(){A.current&&v(I)}return A.current=!0,x||w||(d.lng?c(h,d.lng,j,()=>{A.current&&v(I)}):u(h,j,()=>{A.current&&v(I)})),x&&z&&z!==k&&A.current&&v(I),t&&h&&h.on(t,n),e&&h&&h.store.on(e,n),()=>{A.current=!1,t&&h&&t.split(" ").forEach(t=>h.off(t,n)),e&&h&&e.split(" ").forEach(t=>h.store.off(t,n))}},[h,k]);const E=n(!0);r(()=>{A.current&&!E.current&&v(I),E.current=!1},[h,b]);const P=[S,h,x];if(P.t=S,P.i18n=h,P.ready=x,x)return P;if(!x&&!w)return P;throw new Promise(t=>{d.lng?c(h,d.lng,j,()=>t()):u(h,j,()=>t())})}export{f as useTranslation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function n(){if(console&&console.warn){for(var n=arguments.length,e=new Array(n),a=0;a<n;a++)e[a]=arguments[a];"string"==typeof e[0]&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const e={};function a(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];"string"==typeof o[0]&&e[o[0]]||("string"==typeof o[0]&&(e[o[0]]=new Date),n(...o))}const o=(n,e)=>()=>{if(n.isInitialized)e();else{const a=()=>{setTimeout(()=>{n.off("initialized",a)},0),e()};n.on("initialized",a)}};function i(n,e,a){n.loadNamespaces(e,o(n,a))}function t(n,e,a,i){"string"==typeof a&&(a=[a]),a.forEach(e=>{n.options.ns.indexOf(e)<0&&n.options.ns.push(e)}),n.loadLanguages(e,o(n,i))}function s(n,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e.languages||!e.languages.length)return a("i18n.languages were undefined or empty",e.languages),!0;return void 0!==e.options.ignoreJSONStructure?e.hasLoadedNamespace(n,{lng:o.lng,precheck:(e,a)=>{if(o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!a(e.isLanguageChangingTo,n))return!1}}):function(n,e){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=e.languages[0],i=!!e.options&&e.options.fallbackLng,t=e.languages[e.languages.length-1];if("cimode"===o.toLowerCase())return!0;const s=(n,a)=>{const o=e.services.backendConnector.state[`${n}|${a}`];return-1===o||2===o};return!(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!s(e.isLanguageChangingTo,n)||!e.hasResourceBundle(o,n)&&e.services.backendConnector.backend&&(!e.options.resources||e.options.partialBundledLanguages)&&(!s(o,n)||i&&!s(t,n)))}(n,e,o)}export{s as hasLoadedNamespace,t as loadLanguages,i as loadNamespaces,n as warn,a as warnOnce};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{__exports as e}from"../../../_virtual/react-is.development.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-is.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var t;function r(){return t||(t=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case n:case s:case c:case a:case l:case p:return e;default:switch(e=e&&e.$$typeof){case i:case u:case m:case y:case f:return e;default:return t}}case o:return t}}}var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),i=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");e.ContextConsumer=f,e.ContextProvider=i,e.Element=r,e.ForwardRef=u,e.Fragment=n,e.Lazy=m,e.Memo=y,e.Portal=o,e.Profiler=s,e.StrictMode=c,e.Suspense=a,e.SuspenseList=l,e.isContextConsumer=function(e){return t(e)===f},e.isContextProvider=function(e){return t(e)===i},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},e.isForwardRef=function(e){return t(e)===u},e.isFragment=function(e){return t(e)===n},e.isLazy=function(e){return t(e)===m},e.isMemo=function(e){return t(e)===y},e.isPortal=function(e){return t(e)===o},e.isProfiler=function(e){return t(e)===s},e.isStrictMode=function(e){return t(e)===c},e.isSuspense=function(e){return t(e)===a},e.isSuspenseList=function(e){return t(e)===l},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===s||e===c||e===a||e===l||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===i||e.$$typeof===f||e.$$typeof===u||e.$$typeof===S||void 0!==e.getModuleId)},e.typeOf=t}()),e}export{r as __require};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{__exports as e}from"../../../_virtual/react-is.production.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-is.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var t;function r(){if(t)return e;t=1;var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function $(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case n:case i:case f:case a:case l:case p:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case y:case c:return e;default:return t}}case o:return t}}}return e.ContextConsumer=c,e.ContextProvider=s,e.Element=r,e.ForwardRef=u,e.Fragment=n,e.Lazy=m,e.Memo=y,e.Portal=o,e.Profiler=i,e.StrictMode=f,e.Suspense=a,e.SuspenseList=l,e.isContextConsumer=function(e){return $(e)===c},e.isContextProvider=function(e){return $(e)===s},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},e.isForwardRef=function(e){return $(e)===u},e.isFragment=function(e){return $(e)===n},e.isLazy=function(e){return $(e)===m},e.isMemo=function(e){return $(e)===y},e.isPortal=function(e){return $(e)===o},e.isProfiler=function(e){return $(e)===i},e.isStrictMode=function(e){return $(e)===f},e.isSuspense=function(e){return $(e)===a},e.isSuspenseList=function(e){return $(e)===l},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===f||e===a||e===l||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===u||e.$$typeof===S||void 0!==e.getModuleId)},e.typeOf=$,e}export{r as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r}from"../../_virtual/index.js";import{__require as e}from"./cjs/react-is.production.js";import{__require as o}from"./cjs/react-is.development.js";var s;s=r,"production"===process.env.NODE_ENV?s.exports=e():s.exports=o();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../react-is/index.js";import e,{useRef as t,useDebugValue as n,useContext as r,createElement as o}from"react";import s from"../../@emotion/stylis/dist/stylis.browser.esm.js";import i from"../../@emotion/unitless/dist/unitless.browser.esm.js";import a from"../../@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js";import c from"../../hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";import{r as u}from"../../../_virtual/index.js";function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var d=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},p=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!u.exports.typeOf(e)},h=Object.freeze([]),f=Object.freeze({});function m(e){return"function"==typeof e}function y(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function v(e){return e&&"string"==typeof e.styledComponentId}var g="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",w="undefined"!=typeof window&&"HTMLElement"in window,S=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),b="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function E(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach(function(t){e=e.replace(/%[a-z]/,t)}),e}function _(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(E.apply(void 0,[b[e]].concat(n)).trim())}var N=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&_(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),A=new Map,C=new Map,I=1,P=function(e){if(A.has(e))return A.get(e);for(;C.has(I);)I++;var t=I++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&_(16,""+t),A.set(e,t),C.set(t,e),t},R=function(e){return C.get(e)},j=function(e,t){t>=I&&(I=t+1),A.set(e,t),C.set(t,e)},D="style["+g+'][data-styled-version="5.3.3"]',O=new RegExp("^"+g+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),T=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},x=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(O);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(j(u,c),T(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(i)}}},k=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(g))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(g,"active"),r.setAttribute("data-styled-version","5.3.3");var i="undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},V=function(){function e(e){var t=this.element=k(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}_(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),z=function(){function e(e){var t=this.element=k(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),B=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),F=w,L={isServer:!w,useCSSOMInjection:!S},M=function(){function e(e,t,n){void 0===e&&(e=f),void 0===t&&(t={}),this.options=l({},L,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&w&&F&&(F=!1,function(e){for(var t=document.querySelectorAll(D),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(g)&&(x(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(l({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new B(o):r?new V(o):new z(o),new N(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=R(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=g+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach(function(e){e.length>0&&(u+=e+",")}),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),G=/(a)(d)/gi,Y=function(e){return String.fromCharCode(e+(e>25?39:97))};function q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Y(t%52)+n;return(Y(t%52)+n).replace(G,"$1-$2")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},H=function(e){return $(5381,e)};var U=H("5.3.3"),W=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(m(n)&&!v(n))return!1}return!0}(e),this.componentId=t,this.baseHash=$(U,t),this.baseStyle=n,M.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var s=ce(this.rules,e,t,n).join(""),i=q($(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,u=$(this.baseHash,n.hash),l="",d=0;d<c;d++){var p=this.rules[d];if("string"==typeof p)l+=p,"production"!==process.env.NODE_ENV&&(u=$(u,p+d));else if(p){var h=ce(p,e,t,n),f=Array.isArray(h)?h.join(""):h;u=$(u,f+d),l+=f}}if(l){var m=q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y)}o.push(m)}}return o.join(" ")},e}(),Z=/^\s*\/\/.*$/gm,J=[":","[",".","#"];var X=e.createContext();X.Consumer;var K=e.createContext(),Q=(K.Consumer,new M),ee=function(e){var t,n,r,o,i=void 0===e?f:e,a=i.options,c=void 0===a?f:a,u=i.plugins,l=void 0===u?h:u,d=new s(c),p=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}(function(e){p.push(e)}),y=function(e,r,s){return 0===r&&-1!==J.indexOf(s[n.length])||s.match(o)?e:"."+t};function v(e,s,i,a){void 0===a&&(a="&");var c=e.replace(Z,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),d(i||!s?"":s,u)}return d.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,y))},m,function(e){if(-2===e){var t=p;return p=[],t}}])),v.hash=l.length?l.reduce(function(e,t){return t.name||_(15),$(e,t.name)},5381).toString():"",v}();var te=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ee);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return _(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ee),this.name+e.hash},e}(),ne=/([A-Z])/,re=/([A-Z])/g,oe=/^ms-/,se=function(e){return"-"+e.toLowerCase()};function ie(e){return ne.test(e)?e.replace(re,se).replace(oe,"-ms-"):e}var ae=function(e){return null==e||!1===e||""===e};function ce(e,t,n,r){if(Array.isArray(e)){for(var o,s=[],a=0,c=e.length;a<c;a+=1)""!==(o=ce(e[a],t,n,r))&&(Array.isArray(o)?s.push.apply(s,o):s.push(o));return s}if(ae(e))return"";if(v(e))return"."+e.styledComponentId;if(m(e)){if("function"!=typeof(d=e)||d.prototype&&d.prototype.isReactComponent||!t)return e;var l=e(t);return"production"!==process.env.NODE_ENV&&u.exports.isElement(l)&&console.warn(y(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),ce(l,t,n,r)}var d;return e instanceof te?n?(e.inject(n,r),e.getName(r)):e:p(e)?function e(t,n){var r,o,s=[];for(var a in t)t.hasOwnProperty(a)&&!ae(t[a])&&(Array.isArray(t[a])&&t[a].isCss||m(t[a])?s.push(ie(a)+":",t[a],";"):p(t[a])?s.push.apply(s,e(t[a],a)):s.push(ie(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in i?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var ue=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function le(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m(e)||p(e)?ue(ce(d(h,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ue(ce(d(e,n)))}var de=/invalid hook call/i,pe=new Set,he=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,fe=/(^-|-$)/g;function me(e){return e.replace(he,"-").replace(fe,"")}var ye=function(e){return q(H(e)>>>0)};function ve(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var ge=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},we=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Se(e,t,n){var r=e[n];ge(t)&&ge(r)?be(r,t):e[n]=t}function be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ge(i))for(var a in i)we(a)&&Se(e,i[a],a)}return e}var Ee=e.createContext();Ee.Consumer;var _e={};function Ne(s,i,u){var d=v(s),p=!ve(s),g=i.attrs,w=void 0===g?h:g,S=i.componentId,b=void 0===S?function(e,t){var n="string"!=typeof e?"sc":me(e);_e[n]=(_e[n]||0)+1;var r=n+"-"+ye("5.3.3"+n+_e[n]);return t?t+"-"+r:r}(i.displayName,i.parentComponentId):S,E=i.displayName,_=void 0===E?function(e){return ve(e)?"styled."+e:"Styled("+y(e)+")"}(s):E,N=i.displayName&&i.componentId?me(i.displayName)+"-"+i.componentId:i.componentId||b,A=d&&s.attrs?Array.prototype.concat(s.attrs,w).filter(Boolean):w,C=i.shouldForwardProp;d&&s.shouldForwardProp&&(C=i.shouldForwardProp?function(e,t,n){return s.shouldForwardProp(e,t,n)&&i.shouldForwardProp(e,t,n)}:s.shouldForwardProp);var I,P=new W(u,N,d?s.componentStyle:void 0),R=P.isStatic&&0===w.length,j=function(e,t){return function(e,t,s,i){var c=e.attrs,u=e.componentStyle,d=e.defaultProps,p=e.foldedComponentIds,h=e.shouldForwardProp,y=e.styledComponentId,v=e.target;"production"!==process.env.NODE_ENV&&n(y);var g=function(e,t,n){void 0===e&&(e=f);var r=l({},t,{theme:e}),o={};return n.forEach(function(e){var t,n,s,i=e;for(t in m(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t]}),[r,o]}(function(e,t,n){return void 0===n&&(n=f),e.theme!==n.theme&&e.theme||t||n.theme}(t,r(Ee),d)||f,t,c),w=g[0],S=g[1],b=function(e,t,o,s){var i=r(X)||Q,a=r(K)||ee,c=t?e.generateAndInjectStyles(f,i,a):e.generateAndInjectStyles(o,i,a);return"production"!==process.env.NODE_ENV&&n(c),"production"!==process.env.NODE_ENV&&!t&&s&&s(c),c}(u,i,w,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),E=s,_=S.$as||t.$as||S.as||t.as||v,N=ve(_),A=S!==t?l({},t,{},S):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(h?h(I,a,_):!N||a(I))&&(C[I]=A[I]));return t.style&&S.style!==t.style&&(C.style=l({},t.style,{},S.style)),C.className=Array.prototype.concat(p,y,b!==y?b:null,t.className,S.className).filter(Boolean).join(" "),C.ref=E,o(_,C)}(I,e,t,R)};return j.displayName=_,(I=e.forwardRef(j)).attrs=A,I.componentStyle=P,I.displayName=_,I.shouldForwardProp=C,I.foldedComponentIds=d?Array.prototype.concat(s.foldedComponentIds,s.styledComponentId):h,I.styledComponentId=N,I.target=d?s.target:s,I.withComponent=function(e){var t=i.componentId,n=function(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(i,["componentId"]),r=t&&t+"-"+(ve(e)?e:me(y(e)));return Ne(e,l({},n,{attrs:A,componentId:r}),u)},Object.defineProperty(I,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=d?be({},s.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(function(e,n){if("production"!==process.env.NODE_ENV){var r="The component "+e+(n?' with the id of "'+n+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=console.error;try{var s=!0;console.error=function(e){if(de.test(e))s=!1,pe.delete(r);else{for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];o.apply(void 0,[e].concat(n))}},t(),s&&!pe.has(r)&&(console.warn(r),pe.add(r))}catch(e){de.test(e.message)&&pe.delete(r)}finally{console.error=o}}}(_,N),I.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+s+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(_,N)),I.toString=function(){return"."+I.styledComponentId},p&&c(I,s,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),I}var Ae=function(e){return function e(t,n,r){if(void 0===r&&(r=f),!u.exports.isValidElementType(n))return _(1,String(n));var o=function(){return t(n,r,le.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,l({},r,{},o))},o.attrs=function(o){return e(t,n,l({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Ne,e)};function Ce(e){"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=le.apply(void 0,[e].concat(n)).join(""),s=ye(o);return new te(s,o)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Ae[e]=Ae(e)}),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);export{X as StyleSheetContext,Ee as ThemeContext,le as css,Ae as default,v as isStyledComponent,Ce as keyframes};
|
package/build/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export * from "./models/loyalty-widget";
|
|
2
|
-
export * from "./models/loyalty-widget/types";
|
|
3
|
-
export * from "./models/loyalty-widget/header";
|
|
4
|
-
export * from "./models/loyalty-widget/header/header-background";
|
|
5
|
-
export * from "./models/image";
|
|
6
|
-
export * from "./models/button";
|
|
7
|
-
export * from "./models/loyalty-widget/settings";
|
|
8
|
-
export * from "./models";
|
|
9
|
-
export * from "./models
|
|
10
|
-
export * from "./
|
|
11
|
-
export
|
|
1
|
+
export * from "./models/loyalty-widget";
|
|
2
|
+
export * from "./models/loyalty-widget/types";
|
|
3
|
+
export * from "./models/loyalty-widget/header";
|
|
4
|
+
export * from "./models/loyalty-widget/header/header-background";
|
|
5
|
+
export * from "./models/image";
|
|
6
|
+
export * from "./models/button";
|
|
7
|
+
export * from "./models/loyalty-widget/settings";
|
|
8
|
+
export * from "./models";
|
|
9
|
+
export * from "./models";
|
|
10
|
+
export * from "./models/types";
|
|
11
|
+
export * from "./assets";
|
|
12
|
+
export { default as LoyaltyWidgetRenderer } from "./renderer";
|
package/build/models/base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class BaseModel {
|
|
2
|
-
id: string;
|
|
3
|
-
constructor(data?: Partial<BaseModel>);
|
|
4
|
-
}
|
|
1
|
+
export declare class BaseModel {
|
|
2
|
+
id: string;
|
|
3
|
+
constructor(data?: Partial<BaseModel>);
|
|
4
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare class LoyaltyWidgetButton {
|
|
2
|
-
buttonRadius: number;
|
|
3
|
-
bgColor: string | null;
|
|
4
|
-
textColor: string | null;
|
|
5
|
-
borderColor: string | null;
|
|
6
|
-
constructor(data?: Partial<LoyaltyWidgetButton>);
|
|
7
|
-
}
|
|
1
|
+
export declare class LoyaltyWidgetButton {
|
|
2
|
+
buttonRadius: number;
|
|
3
|
+
bgColor: string | null;
|
|
4
|
+
textColor: string | null;
|
|
5
|
+
borderColor: string | null;
|
|
6
|
+
constructor(data?: Partial<LoyaltyWidgetButton>);
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class Category {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
constructor(data?: Partial<Category>);
|
|
5
|
-
}
|
|
1
|
+
export declare class Category {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
constructor(data?: Partial<Category>);
|
|
5
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BaseModel } from "models/base";
|
|
2
|
-
import { ImageTypeEnum } from "models/loyalty-widget/types";
|
|
3
|
-
export declare const IMAGE_SIZE = 1080;
|
|
4
|
-
export declare class LoyaltyWidgetImage extends BaseModel {
|
|
5
|
-
link: string | null;
|
|
6
|
-
cdnURL: string | null;
|
|
7
|
-
merchantId: string | null;
|
|
8
|
-
imageId: string | null;
|
|
9
|
-
type: ImageTypeEnum;
|
|
10
|
-
constructor(data: Partial<LoyaltyWidgetImage>);
|
|
11
|
-
get src(): string | undefined;
|
|
12
|
-
}
|
|
1
|
+
import { BaseModel } from "models/base";
|
|
2
|
+
import { ImageTypeEnum } from "models/loyalty-widget/types";
|
|
3
|
+
export declare const IMAGE_SIZE = 1080;
|
|
4
|
+
export declare class LoyaltyWidgetImage extends BaseModel {
|
|
5
|
+
link: string | null;
|
|
6
|
+
cdnURL: string | null;
|
|
7
|
+
merchantId: string | null;
|
|
8
|
+
imageId: string | null;
|
|
9
|
+
type: ImageTypeEnum;
|
|
10
|
+
constructor(data: Partial<LoyaltyWidgetImage>);
|
|
11
|
+
get src(): string | undefined;
|
|
12
|
+
}
|
package/build/models/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { LoyaltyWidget } from "./loyalty-widget";
|
|
2
|
-
import { LoyaltyWidgetCallbacks, LoyaltyWidgetScreenTypeEnum, Category, Product, Brand, Tag, LoyaltyProgramTier } from "./types";
|
|
3
|
-
import { LoyaltyProgramSpendingMethod } from "./loyalty-program-spending-method";
|
|
4
|
-
import { LoyaltyProgramEarningMethod } from "./loyalty-program-earning-method";
|
|
5
|
-
import { LoyaltyCustomerInfo } from "./loyalty-customer-info";
|
|
6
|
-
import { LoyaltyProgramPointHistory } from "./loyalty-program-point-history";
|
|
7
|
-
export declare class LoyaltyWidgetViewModel {
|
|
8
|
-
selectedScreen: LoyaltyWidgetScreenTypeEnum;
|
|
9
|
-
isLoading: boolean;
|
|
10
|
-
loyaltyWidget: LoyaltyWidget;
|
|
11
|
-
cartId?: string | null;
|
|
12
|
-
cdnURL: string;
|
|
13
|
-
merchantId: string;
|
|
14
|
-
storeUrl: string;
|
|
15
|
-
currency: string;
|
|
16
|
-
locale: string;
|
|
17
|
-
user: LoyaltyCustomerInfo | null;
|
|
18
|
-
categories: Category[] | null;
|
|
19
|
-
products: Product[];
|
|
20
|
-
brands: Brand[];
|
|
21
|
-
tags: Tag[];
|
|
22
|
-
earningMethods: LoyaltyProgramEarningMethod[];
|
|
23
|
-
spendingMethods: LoyaltyProgramSpendingMethod[];
|
|
24
|
-
tiers: LoyaltyProgramTier[];
|
|
25
|
-
pointHistory: LoyaltyProgramPointHistory[];
|
|
26
|
-
callbacks?: LoyaltyWidgetCallbacks;
|
|
27
|
-
constructor(data: Partial<LoyaltyWidgetViewModel> | undefined, cdnURL: string, merchantId: string, currency: string, locale: string, callbacks?: LoyaltyWidgetCallbacks);
|
|
28
|
-
}
|
|
1
|
+
import { LoyaltyWidget } from "./loyalty-widget";
|
|
2
|
+
import { LoyaltyWidgetCallbacks, LoyaltyWidgetScreenTypeEnum, Category, Product, Brand, Tag, LoyaltyProgramTier } from "./types";
|
|
3
|
+
import { LoyaltyProgramSpendingMethod } from "./loyalty-program-spending-method";
|
|
4
|
+
import { LoyaltyProgramEarningMethod } from "./loyalty-program-earning-method";
|
|
5
|
+
import { LoyaltyCustomerInfo } from "./loyalty-customer-info";
|
|
6
|
+
import { LoyaltyProgramPointHistory } from "./loyalty-program-point-history";
|
|
7
|
+
export declare class LoyaltyWidgetViewModel {
|
|
8
|
+
selectedScreen: LoyaltyWidgetScreenTypeEnum;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
loyaltyWidget: LoyaltyWidget;
|
|
11
|
+
cartId?: string | null;
|
|
12
|
+
cdnURL: string;
|
|
13
|
+
merchantId: string;
|
|
14
|
+
storeUrl: string;
|
|
15
|
+
currency: string;
|
|
16
|
+
locale: string;
|
|
17
|
+
user: LoyaltyCustomerInfo | null;
|
|
18
|
+
categories: Category[] | null;
|
|
19
|
+
products: Product[];
|
|
20
|
+
brands: Brand[];
|
|
21
|
+
tags: Tag[];
|
|
22
|
+
earningMethods: LoyaltyProgramEarningMethod[];
|
|
23
|
+
spendingMethods: LoyaltyProgramSpendingMethod[];
|
|
24
|
+
tiers: LoyaltyProgramTier[];
|
|
25
|
+
pointHistory: LoyaltyProgramPointHistory[];
|
|
26
|
+
callbacks?: LoyaltyWidgetCallbacks;
|
|
27
|
+
constructor(data: Partial<LoyaltyWidgetViewModel> | undefined, cdnURL: string, merchantId: string, currency: string, locale: string, callbacks?: LoyaltyWidgetCallbacks);
|
|
28
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { LoyaltyProgramPeriod } from "../types";
|
|
2
|
-
export declare class LoyaltyProgramTierTranslation {
|
|
3
|
-
locale: string;
|
|
4
|
-
name: string;
|
|
5
|
-
constructor(data?: Partial<LoyaltyProgramTierTranslation>);
|
|
6
|
-
}
|
|
7
|
-
export declare class LoyaltyProgramTier {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
pointsRequired: number;
|
|
11
|
-
tierPointMultiplier: number;
|
|
12
|
-
loyaltyProgramId: string;
|
|
13
|
-
customerSegmentId: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
deleted: boolean;
|
|
17
|
-
isActive: boolean;
|
|
18
|
-
period: LoyaltyProgramPeriod | null;
|
|
19
|
-
translations: LoyaltyProgramTierTranslation[];
|
|
20
|
-
constructor(data?: Partial<LoyaltyProgramTier>);
|
|
21
|
-
}
|
|
22
|
-
export declare class LoyaltyCustomerInfo {
|
|
23
|
-
customerTierId: LoyaltyProgramTier | null;
|
|
24
|
-
loyaltyProgramCustomerId: string;
|
|
25
|
-
loyaltyProgramId: string;
|
|
26
|
-
totalPoint: number;
|
|
27
|
-
constructor(data?: Partial<LoyaltyCustomerInfo>);
|
|
28
|
-
}
|
|
1
|
+
import { LoyaltyProgramPeriod } from "../types";
|
|
2
|
+
export declare class LoyaltyProgramTierTranslation {
|
|
3
|
+
locale: string;
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data?: Partial<LoyaltyProgramTierTranslation>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyProgramTier {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
pointsRequired: number;
|
|
11
|
+
tierPointMultiplier: number;
|
|
12
|
+
loyaltyProgramId: string;
|
|
13
|
+
customerSegmentId: string;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
deleted: boolean;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
period: LoyaltyProgramPeriod | null;
|
|
19
|
+
translations: LoyaltyProgramTierTranslation[];
|
|
20
|
+
constructor(data?: Partial<LoyaltyProgramTier>);
|
|
21
|
+
}
|
|
22
|
+
export declare class LoyaltyCustomerInfo {
|
|
23
|
+
customerTierId: LoyaltyProgramTier | null;
|
|
24
|
+
loyaltyProgramCustomerId: string;
|
|
25
|
+
loyaltyProgramId: string;
|
|
26
|
+
totalPoint: number;
|
|
27
|
+
constructor(data?: Partial<LoyaltyCustomerInfo>);
|
|
28
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { EarningMethodTypeEnum, LoyaltyProgramPointEarningTypeEnum, LoyaltyProgramPeriod, LoyaltyProgramFilterTypeEnum } from "../types";
|
|
2
|
-
export declare class LoyaltyProgramPointLimit {
|
|
3
|
-
maxPointLimit: number;
|
|
4
|
-
minPointLimit: number;
|
|
5
|
-
constructor(data?: Partial<LoyaltyProgramPointLimit>);
|
|
6
|
-
}
|
|
7
|
-
export declare class LoyaltyProgramFilter {
|
|
8
|
-
type: LoyaltyProgramFilterTypeEnum;
|
|
9
|
-
idList: string[];
|
|
10
|
-
constructor(data?: Partial<LoyaltyProgramFilter>);
|
|
11
|
-
}
|
|
12
|
-
export declare class LoyaltyProgramEarningMethodOrderSettings {
|
|
13
|
-
maxOrderAmount: number;
|
|
14
|
-
minOrderAmount: number;
|
|
15
|
-
productFilters: LoyaltyProgramFilter[];
|
|
16
|
-
constructor(data?: Partial<LoyaltyProgramEarningMethodOrderSettings>);
|
|
17
|
-
}
|
|
18
|
-
export declare class LoyaltyProgramEarningMethodProductSettings {
|
|
19
|
-
maxProductQuantity: number;
|
|
20
|
-
minProductQuantity: number;
|
|
21
|
-
productFilters: LoyaltyProgramFilter[];
|
|
22
|
-
constructor(data?: Partial<LoyaltyProgramEarningMethodProductSettings>);
|
|
23
|
-
}
|
|
24
|
-
export declare class LoyaltyProgramMethodTranslation {
|
|
25
|
-
description: string;
|
|
26
|
-
locale: string;
|
|
27
|
-
constructor(data?: Partial<LoyaltyProgramMethodTranslation>);
|
|
28
|
-
}
|
|
29
|
-
export declare class LoyaltyProgramEarningMethod {
|
|
30
|
-
amountPerPointsEarned: number;
|
|
31
|
-
createdAt: string;
|
|
32
|
-
deleted: boolean;
|
|
33
|
-
description: string;
|
|
34
|
-
earnedPointLimit: LoyaltyProgramPointLimit | null;
|
|
35
|
-
id: string;
|
|
36
|
-
isActive: boolean;
|
|
37
|
-
lastValidityDate: string;
|
|
38
|
-
loyaltyProgramId: string;
|
|
39
|
-
methodType: EarningMethodTypeEnum;
|
|
40
|
-
orderSettings: LoyaltyProgramEarningMethodOrderSettings | null;
|
|
41
|
-
pointEarningType: LoyaltyProgramPointEarningTypeEnum;
|
|
42
|
-
pointsEarned: number;
|
|
43
|
-
productSettings: LoyaltyProgramEarningMethodProductSettings | null;
|
|
44
|
-
quantityPerPointsEarned: number;
|
|
45
|
-
segmentId: string;
|
|
46
|
-
tierIds: string[];
|
|
47
|
-
translations: LoyaltyProgramMethodTranslation[];
|
|
48
|
-
updatedAt: string;
|
|
49
|
-
validityPeriod: LoyaltyProgramPeriod | null;
|
|
50
|
-
constructor(data?: Partial<LoyaltyProgramEarningMethod>);
|
|
51
|
-
}
|
|
1
|
+
import { EarningMethodTypeEnum, LoyaltyProgramPointEarningTypeEnum, LoyaltyProgramPeriod, LoyaltyProgramFilterTypeEnum } from "../types";
|
|
2
|
+
export declare class LoyaltyProgramPointLimit {
|
|
3
|
+
maxPointLimit: number;
|
|
4
|
+
minPointLimit: number;
|
|
5
|
+
constructor(data?: Partial<LoyaltyProgramPointLimit>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyProgramFilter {
|
|
8
|
+
type: LoyaltyProgramFilterTypeEnum;
|
|
9
|
+
idList: string[];
|
|
10
|
+
constructor(data?: Partial<LoyaltyProgramFilter>);
|
|
11
|
+
}
|
|
12
|
+
export declare class LoyaltyProgramEarningMethodOrderSettings {
|
|
13
|
+
maxOrderAmount: number;
|
|
14
|
+
minOrderAmount: number;
|
|
15
|
+
productFilters: LoyaltyProgramFilter[];
|
|
16
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethodOrderSettings>);
|
|
17
|
+
}
|
|
18
|
+
export declare class LoyaltyProgramEarningMethodProductSettings {
|
|
19
|
+
maxProductQuantity: number;
|
|
20
|
+
minProductQuantity: number;
|
|
21
|
+
productFilters: LoyaltyProgramFilter[];
|
|
22
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethodProductSettings>);
|
|
23
|
+
}
|
|
24
|
+
export declare class LoyaltyProgramMethodTranslation {
|
|
25
|
+
description: string;
|
|
26
|
+
locale: string;
|
|
27
|
+
constructor(data?: Partial<LoyaltyProgramMethodTranslation>);
|
|
28
|
+
}
|
|
29
|
+
export declare class LoyaltyProgramEarningMethod {
|
|
30
|
+
amountPerPointsEarned: number;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
deleted: boolean;
|
|
33
|
+
description: string;
|
|
34
|
+
earnedPointLimit: LoyaltyProgramPointLimit | null;
|
|
35
|
+
id: string;
|
|
36
|
+
isActive: boolean;
|
|
37
|
+
lastValidityDate: string;
|
|
38
|
+
loyaltyProgramId: string;
|
|
39
|
+
methodType: EarningMethodTypeEnum;
|
|
40
|
+
orderSettings: LoyaltyProgramEarningMethodOrderSettings | null;
|
|
41
|
+
pointEarningType: LoyaltyProgramPointEarningTypeEnum;
|
|
42
|
+
pointsEarned: number;
|
|
43
|
+
productSettings: LoyaltyProgramEarningMethodProductSettings | null;
|
|
44
|
+
quantityPerPointsEarned: number;
|
|
45
|
+
segmentId: string;
|
|
46
|
+
tierIds: string[];
|
|
47
|
+
translations: LoyaltyProgramMethodTranslation[];
|
|
48
|
+
updatedAt: string;
|
|
49
|
+
validityPeriod: LoyaltyProgramPeriod | null;
|
|
50
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethod>);
|
|
51
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { LoyaltyProgramPointHistoryTypeEnum } from "../types";
|
|
2
|
-
export declare class LoyaltyProgramPointHistory {
|
|
3
|
-
amount: number;
|
|
4
|
-
createdAt: string;
|
|
5
|
-
customerId: string;
|
|
6
|
-
deleted: boolean;
|
|
7
|
-
expireDate: string | null;
|
|
8
|
-
id: string;
|
|
9
|
-
loyaltyProgramCustomerId: string;
|
|
10
|
-
loyaltyProgramEarningMethodId: string | null;
|
|
11
|
-
loyaltyProgramId: string;
|
|
12
|
-
loyaltyProgramSpendingMethodId: string | null;
|
|
13
|
-
orderId: string | null;
|
|
14
|
-
type: LoyaltyProgramPointHistoryTypeEnum;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
constructor(data?: Partial<LoyaltyProgramPointHistory>);
|
|
17
|
-
}
|
|
1
|
+
import { LoyaltyProgramPointHistoryTypeEnum } from "../types";
|
|
2
|
+
export declare class LoyaltyProgramPointHistory {
|
|
3
|
+
amount: number;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
customerId: string;
|
|
6
|
+
deleted: boolean;
|
|
7
|
+
expireDate: string | null;
|
|
8
|
+
id: string;
|
|
9
|
+
loyaltyProgramCustomerId: string;
|
|
10
|
+
loyaltyProgramEarningMethodId: string | null;
|
|
11
|
+
loyaltyProgramId: string;
|
|
12
|
+
loyaltyProgramSpendingMethodId: string | null;
|
|
13
|
+
orderId: string | null;
|
|
14
|
+
type: LoyaltyProgramPointHistoryTypeEnum;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
constructor(data?: Partial<LoyaltyProgramPointHistory>);
|
|
17
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { LoyaltyProgramMethodSpendingTypeEnum, LoyaltyProgramFilterTypeEnum } from "../types";
|
|
2
|
-
export declare class LoyaltyProgramPointLimit {
|
|
3
|
-
maxPointLimit: number | null;
|
|
4
|
-
minPointLimit: number | null;
|
|
5
|
-
constructor(data?: Partial<LoyaltyProgramPointLimit>);
|
|
6
|
-
}
|
|
7
|
-
export declare class LoyaltyProgramFilter {
|
|
8
|
-
idList: string[];
|
|
9
|
-
type: LoyaltyProgramFilterTypeEnum;
|
|
10
|
-
constructor(data?: Partial<LoyaltyProgramFilter>);
|
|
11
|
-
}
|
|
12
|
-
export declare class LoyaltyProgramDiscountSettings {
|
|
13
|
-
discountAmount: number | null;
|
|
14
|
-
freeProductId: string | null;
|
|
15
|
-
point: number;
|
|
16
|
-
constructor(data?: Partial<LoyaltyProgramDiscountSettings>);
|
|
17
|
-
}
|
|
18
|
-
export declare class LoyaltyProgramMethodTranslation {
|
|
19
|
-
description: string | null;
|
|
20
|
-
locale: string | null;
|
|
21
|
-
constructor(data?: Partial<LoyaltyProgramMethodTranslation>);
|
|
22
|
-
}
|
|
23
|
-
export declare class LoyaltyProgramSpendingMethod {
|
|
24
|
-
createdAt: string;
|
|
25
|
-
deleted: boolean;
|
|
26
|
-
description: string | null;
|
|
27
|
-
discountSettings: LoyaltyProgramDiscountSettings | null;
|
|
28
|
-
id: string;
|
|
29
|
-
isActive: boolean;
|
|
30
|
-
isDynamic: boolean;
|
|
31
|
-
loyaltyProgramId: string;
|
|
32
|
-
pointUsageLimit: LoyaltyProgramPointLimit | null;
|
|
33
|
-
productFilters: LoyaltyProgramFilter[];
|
|
34
|
-
translations: LoyaltyProgramMethodTranslation[];
|
|
35
|
-
type: LoyaltyProgramMethodSpendingTypeEnum;
|
|
36
|
-
updatedAt: string;
|
|
37
|
-
constructor(data?: Partial<LoyaltyProgramSpendingMethod>);
|
|
38
|
-
}
|
|
1
|
+
import { LoyaltyProgramMethodSpendingTypeEnum, LoyaltyProgramFilterTypeEnum } from "../types";
|
|
2
|
+
export declare class LoyaltyProgramPointLimit {
|
|
3
|
+
maxPointLimit: number | null;
|
|
4
|
+
minPointLimit: number | null;
|
|
5
|
+
constructor(data?: Partial<LoyaltyProgramPointLimit>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyProgramFilter {
|
|
8
|
+
idList: string[];
|
|
9
|
+
type: LoyaltyProgramFilterTypeEnum;
|
|
10
|
+
constructor(data?: Partial<LoyaltyProgramFilter>);
|
|
11
|
+
}
|
|
12
|
+
export declare class LoyaltyProgramDiscountSettings {
|
|
13
|
+
discountAmount: number | null;
|
|
14
|
+
freeProductId: string | null;
|
|
15
|
+
point: number;
|
|
16
|
+
constructor(data?: Partial<LoyaltyProgramDiscountSettings>);
|
|
17
|
+
}
|
|
18
|
+
export declare class LoyaltyProgramMethodTranslation {
|
|
19
|
+
description: string | null;
|
|
20
|
+
locale: string | null;
|
|
21
|
+
constructor(data?: Partial<LoyaltyProgramMethodTranslation>);
|
|
22
|
+
}
|
|
23
|
+
export declare class LoyaltyProgramSpendingMethod {
|
|
24
|
+
createdAt: string;
|
|
25
|
+
deleted: boolean;
|
|
26
|
+
description: string | null;
|
|
27
|
+
discountSettings: LoyaltyProgramDiscountSettings | null;
|
|
28
|
+
id: string;
|
|
29
|
+
isActive: boolean;
|
|
30
|
+
isDynamic: boolean;
|
|
31
|
+
loyaltyProgramId: string;
|
|
32
|
+
pointUsageLimit: LoyaltyProgramPointLimit | null;
|
|
33
|
+
productFilters: LoyaltyProgramFilter[];
|
|
34
|
+
translations: LoyaltyProgramMethodTranslation[];
|
|
35
|
+
type: LoyaltyProgramMethodSpendingTypeEnum;
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
constructor(data?: Partial<LoyaltyProgramSpendingMethod>);
|
|
38
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseModel } from "models/base";
|
|
2
|
-
import { LoyaltyWidgetImage } from "models/image";
|
|
3
|
-
import { HeaderBackgroundTypeEnum } from "../../types";
|
|
4
|
-
export declare class LoyaltyWidgetHeaderBackground extends BaseModel {
|
|
5
|
-
bgColor: string | null;
|
|
6
|
-
image: LoyaltyWidgetImage | null;
|
|
7
|
-
type: HeaderBackgroundTypeEnum;
|
|
8
|
-
constructor(data: Partial<LoyaltyWidgetHeaderBackground>);
|
|
9
|
-
}
|
|
1
|
+
import { BaseModel } from "models/base";
|
|
2
|
+
import { LoyaltyWidgetImage } from "models/image";
|
|
3
|
+
import { HeaderBackgroundTypeEnum } from "../../types";
|
|
4
|
+
export declare class LoyaltyWidgetHeaderBackground extends BaseModel {
|
|
5
|
+
bgColor: string | null;
|
|
6
|
+
image: LoyaltyWidgetImage | null;
|
|
7
|
+
type: HeaderBackgroundTypeEnum;
|
|
8
|
+
constructor(data: Partial<LoyaltyWidgetHeaderBackground>);
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LoyaltyWidgetImage } from "models/image";
|
|
2
|
-
import { LoyaltyWidgetHeaderBackground } from "./header-background";
|
|
3
|
-
export declare class LoyaltyWidgetHeader {
|
|
4
|
-
logo: LoyaltyWidgetImage;
|
|
5
|
-
background: LoyaltyWidgetHeaderBackground;
|
|
6
|
-
textColor: string | null;
|
|
7
|
-
constructor(data?: Partial<LoyaltyWidgetHeader>);
|
|
8
|
-
}
|
|
1
|
+
import { LoyaltyWidgetImage } from "models/image";
|
|
2
|
+
import { LoyaltyWidgetHeaderBackground } from "./header-background";
|
|
3
|
+
export declare class LoyaltyWidgetHeader {
|
|
4
|
+
logo: LoyaltyWidgetImage;
|
|
5
|
+
background: LoyaltyWidgetHeaderBackground;
|
|
6
|
+
textColor: string | null;
|
|
7
|
+
constructor(data?: Partial<LoyaltyWidgetHeader>);
|
|
8
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseModel } from "models/base";
|
|
2
|
-
import { LoyaltyWidgetImage } from "models/image";
|
|
3
|
-
import { HeaderBackgroundTypeEnum } from "../types";
|
|
4
|
-
export declare class LoyaltyWidgetHeaderBackground extends BaseModel {
|
|
5
|
-
bgColor: string | null;
|
|
6
|
-
image: LoyaltyWidgetImage | null;
|
|
7
|
-
type: HeaderBackgroundTypeEnum;
|
|
8
|
-
constructor(data: Partial<LoyaltyWidgetHeaderBackground>);
|
|
9
|
-
}
|
|
1
|
+
import { BaseModel } from "models/base";
|
|
2
|
+
import { LoyaltyWidgetImage } from "models/image";
|
|
3
|
+
import { HeaderBackgroundTypeEnum } from "../types";
|
|
4
|
+
export declare class LoyaltyWidgetHeaderBackground extends BaseModel {
|
|
5
|
+
bgColor: string | null;
|
|
6
|
+
image: LoyaltyWidgetImage | null;
|
|
7
|
+
type: HeaderBackgroundTypeEnum;
|
|
8
|
+
constructor(data: Partial<LoyaltyWidgetHeaderBackground>);
|
|
9
|
+
}
|