@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
package/build/utils.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { EarningMethodTypeEnum, LoyaltyProgramMethodSpendingTypeEnum } from "models/types";
|
|
3
|
-
import { WidgetIconTypeEnum } from "models/loyalty-widget/types";
|
|
4
|
-
import { LoyaltyProgramEarningMethod } from "models/loyalty-program-earning-method";
|
|
5
|
-
import { LoyaltyProgramSpendingMethod } from "models/loyalty-program-spending-method";
|
|
6
|
-
export declare const getEarningMethodIcon: (earningMethod: EarningMethodTypeEnum, widgetIconType: WidgetIconTypeEnum) => React.JSX.Element;
|
|
7
|
-
export declare const getEarningMethodTitle: (earningMethod: LoyaltyProgramEarningMethod) => string;
|
|
8
|
-
export declare const getSpendingMethodIcon: (spendingMethod: LoyaltyProgramMethodSpendingTypeEnum, widgetIconType: WidgetIconTypeEnum) => React.JSX.Element | null;
|
|
9
|
-
export declare const getSpendingMethodTitle: (method: LoyaltyProgramSpendingMethod) => string;
|
|
10
|
-
export declare const getSpendingMethodDescription: (method: LoyaltyProgramSpendingMethod, currency: string) => string | React.JSX.Element;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { EarningMethodTypeEnum, LoyaltyProgramMethodSpendingTypeEnum } from "models/types";
|
|
3
|
+
import { WidgetIconTypeEnum } from "models/loyalty-widget/types";
|
|
4
|
+
import { LoyaltyProgramEarningMethod } from "models/loyalty-program-earning-method";
|
|
5
|
+
import { LoyaltyProgramSpendingMethod } from "models/loyalty-program-spending-method";
|
|
6
|
+
export declare const getEarningMethodIcon: (earningMethod: EarningMethodTypeEnum, widgetIconType: WidgetIconTypeEnum) => React.JSX.Element;
|
|
7
|
+
export declare const getEarningMethodTitle: (earningMethod: LoyaltyProgramEarningMethod) => string;
|
|
8
|
+
export declare const getSpendingMethodIcon: (spendingMethod: LoyaltyProgramMethodSpendingTypeEnum, widgetIconType: WidgetIconTypeEnum) => React.JSX.Element | null;
|
|
9
|
+
export declare const getSpendingMethodTitle: (method: LoyaltyProgramSpendingMethod) => string;
|
|
10
|
+
export declare const getSpendingMethodDescription: (method: LoyaltyProgramSpendingMethod, currency: string) => string | React.JSX.Element;
|
package/build/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__makeTemplateObject as e}from'./ext/tslib/tslib.es6.mjs.js';import t from"react";import{EarningMethodTypeEnum as n,LoyaltyProgramPointEarningTypeEnum as s,LoyaltyProgramMethodSpendingTypeEnum as r}from"./models/types/index.js";import{BubbleChatDone as
|
|
1
|
+
import{__makeTemplateObject as e}from'./ext/tslib/tslib.es6.mjs.js';import t from"react";import{EarningMethodTypeEnum as n,LoyaltyProgramPointEarningTypeEnum as s,LoyaltyProgramMethodSpendingTypeEnum as r}from"./models/types/index.js";import{BubbleChatDone as o}from"./assets/widget-icons/normal/bubbleChatDone.js";import{CommentAdd01 as i}from"./assets/widget-icons/normal/commentAdd01.js";import{CouponPercent as l}from"./assets/widget-icons/normal/couponPercent.js";import{DiscountTag02 as a}from"./assets/widget-icons/normal/discountTag02.js";import{Gift as E}from"./assets/widget-icons/normal/gift.js";import{PackageDelivered as d}from"./assets/widget-icons/normal/packageDelivered.js";import{SaveMoneyDollar as m}from"./assets/widget-icons/normal/saveMoneyDollar.js";import{ShoppingBasketAdd02 as c}from"./assets/widget-icons/normal/shoppingBasketAdd02.js";import{UserAdd01 as u}from"./assets/widget-icons/normal/userAdd01.js";import{UsersIllustration as p}from"./assets/widget-icons/illustraions/usersIllustration.js";import{BubbleChatIllustration as R}from"./assets/widget-icons/illustraions/bubbleChatIllustration.js";import{ApprovedChatIllustration as T}from"./assets/widget-icons/illustraions/approvedChatIllustration.js";import{TshirtIllustration as g}from"./assets/widget-icons/illustraions/tshirtIllustration.js";import{GiftIllustration as f}from"./assets/widget-icons/illustraions/giftIllustration.js";import{ShippingBox as I}from"./assets/widget-icons/illustraions/shippingBox.js";import{ShoppingCartIllustration as O}from"./assets/widget-icons/illustraions/shoppingCartIllustration.js";import{WidgetIconTypeEnum as _}from"./models/loyalty-widget/types/index.js";import S from'./ext/i18next/dist/esm/i18next.js';import{BankCoin as M}from"./assets/widget-icons/illustraions/bankCoin.js";import'./ext/react-i18next/dist/es/context.js';import{useTranslation as C}from'./ext/react-i18next/dist/es/useTranslation.js';import{textSM as U}from"./renderer/components/style/typography.js";import N from'./ext/styled-components/dist/styled-components.browser.esm.js';var A,j,x,P,h,y,D=((A={})[_.ILLUSTRATION]=((j={})[n.CUSTOMER_REGISTER]=t.createElement(p,null),j[n.ENABLE_SUBSCRIPTION]=t.createElement(T,null),j[n.BUY_PRODUCT]=t.createElement(g,null),j[n.CUSTOMER_REVIEW]=t.createElement(R,null),j[n.CUSTOMER_SEGMENT]=t.createElement(l,null),j[n.ORDER_CREATE]=t.createElement(O,null),j),A[_.NORMAL]=((x={})[n.CUSTOMER_REGISTER]=t.createElement(u,null),x[n.ENABLE_SUBSCRIPTION]=t.createElement(o,null),x[n.BUY_PRODUCT]=t.createElement(m,null),x[n.CUSTOMER_REVIEW]=t.createElement(i,null),x[n.CUSTOMER_SEGMENT]=t.createElement(l,null),x[n.ORDER_CREATE]=t.createElement(c,null),x),A),w=function(e,t){return D[t][e]},b=function(e){var t=C().t;switch(e.methodType){case n.CUSTOMER_REGISTER:return t("earningMethods.CUSTOMER_REGISTER.title");case n.ENABLE_SUBSCRIPTION:return t("earningMethods.ENABLE_SUBSCRIPTION.title");case n.CUSTOMER_REVIEW:return t("earningMethods.CUSTOMER_REVIEW.title");case n.ORDER_CREATE:if(e.pointEarningType===s.DYNAMIC_ORDER_AMOUNT)return t("earningMethods.ORDER_CREATE.RECEIVE_POINTS_ON_SPEND.title");if(e.pointEarningType===s.STATIC)return t("earningMethods.ORDER_CREATE.BASE.title");case n.BUY_PRODUCT:return t("earningMethods.BUY_PRODUCT.title");case n.CUSTOMER_SEGMENT:return t("earningMethods.CUSTOMER_SEGMENT.title");default:return""}},v=function(e,n){var s,o,i;return n===_.NONE?null:((s={})[_.ILLUSTRATION]=((o={})[r.FIXED_AMOUNT]=t.createElement(M,null),o[r.RATIO]=t.createElement(M,null),o[r.FREE_PRODUCT]=t.createElement(f,null),o[r.FREE_SHIPPING]=t.createElement(I,null),o),s[_.NORMAL]=((i={})[r.FIXED_AMOUNT]=t.createElement(a,null),i[r.RATIO]=t.createElement(a,null),i[r.FREE_PRODUCT]=t.createElement(E,null),i[r.FREE_SHIPPING]=t.createElement(d,null),i),s)[n][e]},B=function(e){var t=C().t,n=S.language,s=e.translations.find(function(e){return e.locale===n});if(null==s?void 0:s.description)return s.description;if(e.description)return e.description;switch(e.type){case r.FIXED_AMOUNT:return t("spendingMethods.FIXED_AMOUNT.title");case r.RATIO:return t("spendingMethods.RATIO.title");case r.FREE_SHIPPING:return t("spendingMethods.FREE_SHIPPING.title");case r.FREE_PRODUCT:return t("spendingMethods.FREE_PRODUCT.title");default:return""}},F=N.span(P||(P=e(["\n display: flex;\n padding: 2px 8px;\n justify-content: center;\n align-items: center;\n gap: 6px;\n border-radius: 6px;\n border: 0.6px solid #cdd5df;\n opacity: 0.8;\n background: #f8fafc;\n ","\n color: #121926;\n"],["\n display: flex;\n padding: 2px 8px;\n justify-content: center;\n align-items: center;\n gap: 6px;\n border-radius: 6px;\n border: 0.6px solid #cdd5df;\n opacity: 0.8;\n background: #f8fafc;\n ","\n color: #121926;\n"])),U),G=N.span(h||(h=e(["\n ","\n color: #364152;\n"],["\n ","\n color: #364152;\n"])),U),L=N.span(y||(y=e(["\n color: #697586;\n"],["\n color: #697586;\n"]))),k=function(e,n){var s,o,i=C().t,l=(null===(s=e.discountSettings)||void 0===s?void 0:s.point)||0,a=null===(o=e.discountSettings)||void 0===o?void 0:o.discountAmount,E=function(e,s){return void 0===s&&(s=!1),t.createElement("div",{style:{display:"flex",alignItems:"center",gap:"6px"}},t.createElement(G,null,i("earningMethods.xPoints",{points:l})),t.createElement(L,null,"→"),t.createElement(F,null,e," ",s&&n))};return e.type===r.FIXED_AMOUNT&&a?E(a,!0):e.type===r.RATIO&&a?E("%".concat(a)):i("earningMethods.xPoints",{points:l})};export{w as getEarningMethodIcon,b as getEarningMethodTitle,k as getSpendingMethodDescription,v as getSpendingMethodIcon,B as getSpendingMethodTitle};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/loyalty-widget-renderer",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ucy",
|
|
6
6
|
"license": "ISC",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"assets": "./src/assets"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"prepare": "ts-patch install -s",
|
|
22
21
|
"prepack": "npm run build",
|
|
23
22
|
"pack": "npm pack",
|
|
24
23
|
"release": "npm publish",
|
|
@@ -34,7 +33,6 @@
|
|
|
34
33
|
"@types/node": "^12.0.0",
|
|
35
34
|
"@types/react": "^17 || ^18",
|
|
36
35
|
"@types/react-dom": "^17 || ^18",
|
|
37
|
-
"styled-components": "^5.3.3",
|
|
38
36
|
"@types/styled-components": "5.1.26",
|
|
39
37
|
"@types/uuid": "^9.0.0",
|
|
40
38
|
"mobx": "^6.1.3",
|
|
@@ -48,21 +46,21 @@
|
|
|
48
46
|
"rollup-plugin-postcss": "^4.0.2",
|
|
49
47
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
50
48
|
"rollup-plugin-terser": "^7.0.2",
|
|
51
|
-
"rollup-plugin-typescript2": "^0.
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"typescript
|
|
49
|
+
"rollup-plugin-typescript2": "^0.32.1",
|
|
50
|
+
"styled-components": "5.3.3",
|
|
51
|
+
"ttypescript": "^1.5.15",
|
|
52
|
+
"typescript": "~4.9.5",
|
|
53
|
+
"typescript-transform-paths": "^2.2.2"
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
|
-
"react": "^17 || ^18",
|
|
58
|
-
"react-dom": "^17 || ^18",
|
|
59
|
-
"styled-components": "^5.3.3",
|
|
60
56
|
"mobx": "^6.1.3",
|
|
61
|
-
"mobx-react": "^7.6.0"
|
|
57
|
+
"mobx-react": "^7.6.0",
|
|
58
|
+
"react": "^17 || ^18",
|
|
59
|
+
"react-dom": "^17 || ^18"
|
|
62
60
|
},
|
|
63
61
|
"dependencies": {
|
|
64
|
-
"
|
|
65
|
-
"i18next": "^
|
|
66
|
-
"
|
|
62
|
+
"i18next": "^23.12.2",
|
|
63
|
+
"react-i18next": "^13.0.0",
|
|
64
|
+
"uuidv4": "^6.2.13"
|
|
67
65
|
}
|
|
68
|
-
}
|
|
66
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useMemo as r,createElement as t}from"react";import{I18nContext as e}from"./context.js";function o({i18n:o,defaultNS:n,children:i}){const c=r(()=>({i18n:o,defaultNS:n}),[o,n]);return t(e.Provider,{value:c},i)}export{o as I18nextProvider};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
new RegExp(Object.keys({" ":" ","&":"&","<":"<",">":">",""":'"',"'":"'","©":"©","®":"®","™":"™","…":"…","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","•":"•","′":"′","″":"″","‹":"‹","›":"›","§":"§","¶":"¶","·":"·"," ":" "," ":" "," ":" ","€":"€","£":"£","¥":"¥","¢":"¢","¤":"¤","×":"×","÷":"÷","−":"−","±":"±","≠":"≠","≤":"≤","≥":"≥","≈":"≈","≡":"≡","∞":"∞","∫":"∫","∑":"∑","∏":"∏","√":"√","∂":"∂","‰":"‰","°":"°","µ":"µ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","À":"À","Á":"Á","Â":"Â","Ã":"Ã","Ä":"Ä","Å":"Å","Æ":"Æ","Ç":"Ç","È":"È","É":"É","Ê":"Ê","Ë":"Ë","Ì":"Ì","Í":"Í","Î":"Î","Ï":"Ï","Ð":"Ð","Ñ":"Ñ","Ò":"Ò","Ó":"Ó","Ô":"Ô","Õ":"Õ","Ö":"Ö","Ø":"Ø","Ù":"Ù","Ú":"Ú","Û":"Û","Ü":"Ü","Ý":"Ý","Þ":"Þ","ß":"ß","à":"à","á":"á","â":"â","ã":"ã","ä":"ä","å":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","í":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ","¡":"¡","¿":"¿","ƒ":"ƒ","ˆ":"ˆ","˜":"˜","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ª":"ª","º":"º","¯":"¯","´":"´","¸":"¸","¹":"¹","²":"²","³":"³","¼":"¼","½":"½","¾":"¾","♠":"♠","♣":"♣","♥":"♥","♦":"♦","◊":"◊","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","ℵ":"ℵ"}).map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{__exports as e}from"../../../_virtual/use-sync-external-store-shim.development.js";import t from"react";
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* use-sync-external-store-shim.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 n;function r(){return n||(n=1,"production"!==process.env.NODE_ENV&&function(){function n(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=t,o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,a=r.useEffect,i=r.useLayoutEffect,s=r.useDebugValue,_=!1,c=!1,O="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){_||void 0===r.startTransition||(_=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var O=t();if(!c){var l=t();o(O,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var f=(l=u({inst:{value:O,getSnapshot:t}}))[0].inst,d=l[1];return i(function(){f.value=O,f.getSnapshot=t,n(f)&&d({inst:f})},[e,O,t]),a(function(){return n(f)&&d({inst:f}),e(function(){n(f)&&d({inst:f})})},[e]),s(O),O};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:O,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),e}export{r as __require};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{__exports as t}from"../../../_virtual/use-sync-external-store-shim.production.js";import e from"react";
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* use-sync-external-store-shim.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 n;function r(){if(n)return t;n=1;var r=e;var u="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,i=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!u(t,n)}catch(t){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),u=r[0].inst,f=r[1];return a(function(){u.value=n,u.getSnapshot=e,c(u)&&f({inst:u})},[t,n,e]),i(function(){return c(u)&&f({inst:u}),t(function(){c(u)&&f({inst:u})})},[t]),s(n),n};return t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:f,t}export{r as __require};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r}from"../../../_virtual/index.js";import{__require as s}from"../cjs/use-sync-external-store-shim.production.js";import{__require as e}from"../cjs/use-sync-external-store-shim.development.js";var o;o=r,"production"===process.env.NODE_ENV?o.exports=s():o.exports=e();
|
/package/build/_virtual/{use-sync-external-store-shim.development.js → react-is.development.js}
RENAMED
|
File without changes
|
/package/build/_virtual/{use-sync-external-store-shim.production.js → react-is.development2.js}
RENAMED
|
File without changes
|