@pagopa/io-app-design-system 1.17.2 → 1.19.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/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
- package/lib/commonjs/components/Advice/__test__/advice.test.js +9 -0
- package/lib/commonjs/components/Advice/__test__/advice.test.js.map +1 -1
- package/lib/commonjs/components/accordion/AccordionItem.js +25 -9
- package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
- package/lib/commonjs/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
- package/lib/commonjs/components/avatar/__test__/avatar.test.js +13 -0
- package/lib/commonjs/components/avatar/__test__/avatar.test.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
- package/lib/commonjs/components/badge/__test__/badge.test.js +10 -0
- package/lib/commonjs/components/badge/__test__/badge.test.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
- package/lib/commonjs/components/banner/__test__/banner.test.js +15 -0
- package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
- package/lib/commonjs/components/buttons/__test__/button.test.js +57 -0
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +6 -29
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/codeInput/CodeInput.js +10 -25
- package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
- package/lib/commonjs/components/endOfPage/EndOfPage.js +36 -0
- package/lib/commonjs/components/endOfPage/EndOfPage.js.map +1 -0
- package/lib/commonjs/components/endOfPage/index.js +17 -0
- package/lib/commonjs/components/endOfPage/index.js.map +1 -0
- package/lib/commonjs/components/icons/Icon.js +64 -48
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconSystemLocationiOS.js +34 -0
- package/lib/commonjs/components/icons/svg/IconSystemLocationiOS.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemNotificationsInstructions.js +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemNotificationsInstructions.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconSystemPermissionsAndroid.js +34 -0
- package/lib/commonjs/components/icons/svg/IconSystemPermissionsAndroid.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemPhotosiOS.js +105 -0
- package/lib/commonjs/components/icons/svg/IconSystemPhotosiOS.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemPrivacyiOS.js +34 -0
- package/lib/commonjs/components/icons/svg/IconSystemPrivacyiOS.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
- package/lib/commonjs/components/image/Image.js +47 -0
- package/lib/commonjs/components/image/Image.js.map +1 -0
- package/lib/commonjs/components/image/index.js +17 -0
- package/lib/commonjs/components/image/index.js.map +1 -0
- package/lib/commonjs/components/index.js +33 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +9 -3
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +4 -3
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +4 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +6 -3
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
- package/lib/commonjs/components/listitems/__test__/listitem.test.js +83 -3
- package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/commonjs/components/otpInput/BoxedInput.js +72 -0
- package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -0
- package/lib/commonjs/components/otpInput/OTPInput.js +131 -0
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -0
- package/lib/commonjs/components/otpInput/index.js +17 -0
- package/lib/commonjs/components/otpInput/index.js.map +1 -0
- package/lib/commonjs/components/pictograms/Pictogram.js +74 -68
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramComunicationProblem.js +85 -0
- package/lib/commonjs/components/pictograms/svg/PictogramComunicationProblem.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramEventClose.js +40 -0
- package/lib/commonjs/components/pictograms/svg/PictogramEventClose.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramHello.js +61 -0
- package/lib/commonjs/components/pictograms/svg/PictogramHello.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramHello.svg +46 -0
- package/lib/commonjs/components/radio/RadioButtonLabel.js +70 -0
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -0
- package/lib/commonjs/components/radio/RadioGroup.js +25 -21
- package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
- package/lib/commonjs/components/radio/index.js +11 -0
- package/lib/commonjs/components/radio/index.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +13 -6
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/typography/LabelHeader.js +6 -4
- package/lib/commonjs/components/typography/LabelHeader.js.map +1 -1
- package/lib/commonjs/core/IODSExperimentalContextProvider.js +9 -9
- package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +1 -1
- package/lib/commonjs/utils/hooks/useErrorShakeAnimation.js +44 -0
- package/lib/commonjs/utils/hooks/useErrorShakeAnimation.js.map +1 -0
- package/lib/commonjs/utils/testing.js +15 -0
- package/lib/commonjs/utils/testing.js.map +1 -0
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
- package/lib/module/components/Advice/__test__/advice.test.js +9 -0
- package/lib/module/components/Advice/__test__/advice.test.js.map +1 -1
- package/lib/module/components/accordion/AccordionItem.js +27 -11
- package/lib/module/components/accordion/AccordionItem.js.map +1 -1
- package/lib/module/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
- package/lib/module/components/avatar/__test__/avatar.test.js +13 -0
- package/lib/module/components/avatar/__test__/avatar.test.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
- package/lib/module/components/badge/__test__/badge.test.js +10 -0
- package/lib/module/components/badge/__test__/badge.test.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
- package/lib/module/components/banner/__test__/banner.test.js +15 -0
- package/lib/module/components/banner/__test__/banner.test.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
- package/lib/module/components/buttons/__test__/button.test.js +57 -0
- package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +7 -30
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/codeInput/CodeInput.js +9 -25
- package/lib/module/components/codeInput/CodeInput.js.map +1 -1
- package/lib/module/components/endOfPage/EndOfPage.js +28 -0
- package/lib/module/components/endOfPage/EndOfPage.js.map +1 -0
- package/lib/module/components/endOfPage/index.js +2 -0
- package/lib/module/components/endOfPage/index.js.map +1 -0
- package/lib/module/components/icons/Icon.js +64 -48
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/svg/IconSystemLocationiOS.js +26 -0
- package/lib/module/components/icons/svg/IconSystemLocationiOS.js.map +1 -0
- package/lib/module/components/icons/svg/IconSystemNotificationsInstructions.js +2 -1
- package/lib/module/components/icons/svg/IconSystemNotificationsInstructions.js.map +1 -1
- package/lib/module/components/icons/svg/IconSystemPermissionsAndroid.js +26 -0
- package/lib/module/components/icons/svg/IconSystemPermissionsAndroid.js.map +1 -0
- package/lib/module/components/icons/svg/IconSystemPhotosiOS.js +97 -0
- package/lib/module/components/icons/svg/IconSystemPhotosiOS.js.map +1 -0
- package/lib/module/components/icons/svg/IconSystemPrivacyiOS.js +26 -0
- package/lib/module/components/icons/svg/IconSystemPrivacyiOS.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
- package/lib/module/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
- package/lib/module/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
- package/lib/module/components/image/Image.js +39 -0
- package/lib/module/components/image/Image.js.map +1 -0
- package/lib/module/components/image/index.js +2 -0
- package/lib/module/components/image/index.js.map +1 -0
- package/lib/module/components/index.js +3 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/HeaderSecondLevel.js +9 -3
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +4 -3
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +4 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +6 -3
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
- package/lib/module/components/listitems/__test__/listitem.test.js +83 -3
- package/lib/module/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/module/components/otpInput/BoxedInput.js +64 -0
- package/lib/module/components/otpInput/BoxedInput.js.map +1 -0
- package/lib/module/components/otpInput/OTPInput.js +121 -0
- package/lib/module/components/otpInput/OTPInput.js.map +1 -0
- package/lib/module/components/otpInput/index.js +2 -0
- package/lib/module/components/otpInput/index.js.map +1 -0
- package/lib/module/components/pictograms/Pictogram.js +74 -68
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/pictograms/svg/PictogramComunicationProblem.js +77 -0
- package/lib/module/components/pictograms/svg/PictogramComunicationProblem.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramEventClose.js +32 -0
- package/lib/module/components/pictograms/svg/PictogramEventClose.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramHello.js +53 -0
- package/lib/module/components/pictograms/svg/PictogramHello.js.map +1 -0
- package/lib/module/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
- package/lib/module/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
- package/lib/module/components/pictograms/svg/originals/PictogramHello.svg +46 -0
- package/lib/module/components/radio/RadioButtonLabel.js +62 -0
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -0
- package/lib/module/components/radio/RadioGroup.js +25 -21
- package/lib/module/components/radio/RadioGroup.js.map +1 -1
- package/lib/module/components/radio/index.js +1 -0
- package/lib/module/components/radio/index.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +13 -6
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/typography/LabelHeader.js +6 -4
- package/lib/module/components/typography/LabelHeader.js.map +1 -1
- package/lib/module/core/IODSExperimentalContextProvider.js +3 -3
- package/lib/module/core/IODSExperimentalContextProvider.js.map +1 -1
- package/lib/module/utils/hooks/useErrorShakeAnimation.js +37 -0
- package/lib/module/utils/hooks/useErrorShakeAnimation.js.map +1 -0
- package/lib/module/utils/testing.js +7 -0
- package/lib/module/utils/testing.js.map +1 -0
- package/lib/typescript/components/accordion/AccordionItem.d.ts +3 -1
- package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
- package/lib/typescript/components/codeInput/CodeInput.d.ts.map +1 -1
- package/lib/typescript/components/endOfPage/EndOfPage.d.ts +23 -0
- package/lib/typescript/components/endOfPage/EndOfPage.d.ts.map +1 -0
- package/lib/typescript/components/endOfPage/index.d.ts +2 -0
- package/lib/typescript/components/endOfPage/index.d.ts.map +1 -0
- package/lib/typescript/components/icons/Icon.d.ts +8 -0
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconSystemLocationiOS.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemLocationiOS.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconSystemNotificationsInstructions.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconSystemPermissionsAndroid.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemPermissionsAndroid.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconSystemPhotosiOS.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemPhotosiOS.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconSystemPrivacyiOS.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemPrivacyiOS.d.ts.map +1 -0
- package/lib/typescript/components/image/Image.d.ts +17 -0
- package/lib/typescript/components/image/Image.d.ts.map +1 -0
- package/lib/typescript/components/image/index.d.ts +2 -0
- package/lib/typescript/components/image/index.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +3 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +10 -4
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemHeader.d.ts +2 -2
- package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts +1 -0
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts +6 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/BoxedInput.d.ts +9 -0
- package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -0
- package/lib/typescript/components/otpInput/OTPInput.d.ts +26 -0
- package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -0
- package/lib/typescript/components/otpInput/index.d.ts +2 -0
- package/lib/typescript/components/otpInput/index.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/Pictogram.d.ts +3 -0
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/svg/PictogramComunicationProblem.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramComunicationProblem.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramEventClose.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramEventClose.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramHello.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramHello.d.ts.map +1 -0
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts +18 -0
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -0
- package/lib/typescript/components/radio/RadioGroup.d.ts +22 -9
- package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
- package/lib/typescript/components/radio/index.d.ts +1 -0
- package/lib/typescript/components/radio/index.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabItem.d.ts +2 -1
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelHeader.d.ts +1 -1
- package/lib/typescript/components/typography/LabelHeader.d.ts.map +1 -1
- package/lib/typescript/core/IODSExperimentalContextProvider.d.ts +5 -1
- package/lib/typescript/core/IODSExperimentalContextProvider.d.ts.map +1 -1
- package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts +11 -0
- package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts.map +1 -0
- package/lib/typescript/utils/testing.d.ts +4 -0
- package/lib/typescript/utils/testing.d.ts.map +1 -0
- package/package.json +4 -2
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
- package/src/components/Advice/__test__/advice.test.tsx +10 -0
- package/src/components/accordion/AccordionItem.tsx +33 -13
- package/src/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
- package/src/components/avatar/__test__/avatar.test.tsx +10 -0
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
- package/src/components/badge/__test__/badge.test.tsx +10 -0
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
- package/src/components/banner/__test__/banner.test.tsx +18 -0
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
- package/src/components/buttons/__test__/button.test.tsx +77 -1
- package/src/components/checkbox/CheckboxLabel.tsx +4 -31
- package/src/components/codeInput/CodeInput.tsx +5 -33
- package/src/components/endOfPage/EndOfPage.tsx +55 -0
- package/src/components/endOfPage/index.tsx +1 -0
- package/src/components/icons/Icon.tsx +64 -48
- package/src/components/icons/svg/IconSystemLocationiOS.tsx +15 -0
- package/src/components/icons/svg/IconSystemNotificationsInstructions.tsx +2 -1
- package/src/components/icons/svg/IconSystemPermissionsAndroid.tsx +19 -0
- package/src/components/icons/svg/IconSystemPhotosiOS.tsx +114 -0
- package/src/components/icons/svg/IconSystemPrivacyiOS.tsx +15 -0
- package/src/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
- package/src/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
- package/src/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
- package/src/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
- package/src/components/image/Image.tsx +49 -0
- package/src/components/image/index.tsx +1 -0
- package/src/components/index.tsx +3 -0
- package/src/components/layout/HeaderSecondLevel.tsx +28 -10
- package/src/components/listitems/ListItemHeader.tsx +6 -3
- package/src/components/listitems/ListItemRadioWithAmount.tsx +5 -1
- package/src/components/listitems/ListItemTransaction.tsx +12 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
- package/src/components/listitems/__test__/listitem.test.tsx +104 -3
- package/src/components/otpInput/BoxedInput.tsx +67 -0
- package/src/components/otpInput/OTPInput.tsx +135 -0
- package/src/components/otpInput/index.tsx +1 -0
- package/src/components/pictograms/Pictogram.tsx +74 -68
- package/src/components/pictograms/svg/PictogramComunicationProblem.tsx +94 -0
- package/src/components/pictograms/svg/PictogramEventClose.tsx +34 -0
- package/src/components/pictograms/svg/PictogramHello.tsx +54 -0
- package/src/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
- package/src/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
- package/src/components/pictograms/svg/originals/PictogramHello.svg +46 -0
- package/src/components/radio/RadioButtonLabel.tsx +73 -0
- package/src/components/radio/RadioGroup.tsx +61 -11
- package/src/components/radio/index.tsx +1 -0
- package/src/components/tabs/TabItem.tsx +22 -6
- package/src/components/typography/LabelHeader.tsx +11 -6
- package/src/core/IODSExperimentalContextProvider.tsx +3 -3
- package/src/utils/hooks/useErrorShakeAnimation.ts +43 -0
- package/src/utils/testing.tsx +14 -0
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
var _react = _interopRequireDefault(require("react"));
|
|
4
4
|
var _reactNative = require("react-native");
|
|
5
5
|
var TestRenderer = _interopRequireWildcard(require("react-test-renderer"));
|
|
6
|
+
var _testing = require("../../../utils/testing");
|
|
7
|
+
var _ModuleIDP = _interopRequireDefault(require("../../modules/ModuleIDP"));
|
|
8
|
+
var _ListItemAction = _interopRequireDefault(require("../ListItemAction"));
|
|
6
9
|
var _ListItemInfo = _interopRequireDefault(require("../ListItemInfo"));
|
|
7
10
|
var _ListItemInfoCopy = _interopRequireDefault(require("../ListItemInfoCopy"));
|
|
8
11
|
var _ListItemNav = _interopRequireDefault(require("../ListItemNav"));
|
|
9
12
|
var _ListItemNavAlert = _interopRequireDefault(require("../ListItemNavAlert"));
|
|
10
|
-
var
|
|
11
|
-
var _ModuleIDP = _interopRequireDefault(require("../../modules/ModuleIDP"));
|
|
13
|
+
var _ListItemRadioWithAmount = require("../ListItemRadioWithAmount");
|
|
12
14
|
var _ListItemTransaction = require("../ListItemTransaction");
|
|
13
15
|
var _PressableListItemsBase = require("../PressableListItemsBase");
|
|
14
|
-
var _ListItemRadioWithAmount = require("../ListItemRadioWithAmount");
|
|
15
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -97,4 +98,83 @@ describe("Test List Item Components", () => {
|
|
|
97
98
|
expect(notSuggested).toMatchSnapshot();
|
|
98
99
|
});
|
|
99
100
|
});
|
|
101
|
+
describe("Test List Item Components - Experimental Enabled ", () => {
|
|
102
|
+
it("ListItemInfo Snapshot", () => {
|
|
103
|
+
const listItemInfo = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemInfo.default, {
|
|
104
|
+
label: "label",
|
|
105
|
+
value: "testValue",
|
|
106
|
+
accessibilityLabel: "accessibilityLabel"
|
|
107
|
+
})).toJSON();
|
|
108
|
+
expect(listItemInfo).toMatchSnapshot();
|
|
109
|
+
});
|
|
110
|
+
it("ListItemInfoCopy Snapshot", () => {
|
|
111
|
+
const listItemInfoCopy = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemInfoCopy.default, {
|
|
112
|
+
label: "label",
|
|
113
|
+
value: "testValue",
|
|
114
|
+
onPress: onButtonPress,
|
|
115
|
+
accessibilityLabel: "accessibilityLabel"
|
|
116
|
+
})).toJSON();
|
|
117
|
+
expect(listItemInfoCopy).toMatchSnapshot();
|
|
118
|
+
});
|
|
119
|
+
it("ListItemNav Snapshot", () => {
|
|
120
|
+
const listItemNav = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemNav.default, {
|
|
121
|
+
value: "testValue",
|
|
122
|
+
onPress: onButtonPress,
|
|
123
|
+
accessibilityLabel: "accessibilityLabel"
|
|
124
|
+
})).toJSON();
|
|
125
|
+
expect(listItemNav).toMatchSnapshot();
|
|
126
|
+
});
|
|
127
|
+
it("ListItemNavAlert Snapshot", () => {
|
|
128
|
+
const listItemNavAlert = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemNavAlert.default, {
|
|
129
|
+
value: "testValue",
|
|
130
|
+
onPress: onButtonPress,
|
|
131
|
+
accessibilityLabel: "accessibilityLabel"
|
|
132
|
+
})).toJSON();
|
|
133
|
+
expect(listItemNavAlert).toMatchSnapshot();
|
|
134
|
+
});
|
|
135
|
+
it("ListItemAction Snapshot", () => {
|
|
136
|
+
const listItemAction = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemAction.default, {
|
|
137
|
+
label: "label",
|
|
138
|
+
variant: "primary",
|
|
139
|
+
onPress: onButtonPress,
|
|
140
|
+
accessibilityLabel: "accessibilityLabel"
|
|
141
|
+
})).toJSON();
|
|
142
|
+
expect(listItemAction).toMatchSnapshot();
|
|
143
|
+
});
|
|
144
|
+
it("ListItemIDP Snapshot", () => {
|
|
145
|
+
const listItemIDP = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ModuleIDP.default, null)).toJSON();
|
|
146
|
+
expect(listItemIDP).toMatchSnapshot();
|
|
147
|
+
});
|
|
148
|
+
it("ListItemTransaction Snapshot", () => {
|
|
149
|
+
const listItemIDP = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemTransaction.ListItemTransaction, {
|
|
150
|
+
title: "TITLE",
|
|
151
|
+
subtitle: "subtitle",
|
|
152
|
+
transactionStatus: "success",
|
|
153
|
+
transactionAmount: "\u20AC 1.000,00",
|
|
154
|
+
isLoading: true,
|
|
155
|
+
onPress: onButtonPress
|
|
156
|
+
})).toJSON();
|
|
157
|
+
expect(listItemIDP).toMatchSnapshot();
|
|
158
|
+
});
|
|
159
|
+
it("PressableListItemsBase Snapshot", () => {
|
|
160
|
+
const listItemIDP = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_PressableListItemsBase.PressableListItemBase, null)).toJSON();
|
|
161
|
+
expect(listItemIDP).toMatchSnapshot();
|
|
162
|
+
});
|
|
163
|
+
it("ListItemRadioWithAmount Snapshot", () => {
|
|
164
|
+
const suggested = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemRadioWithAmount.ListItemRadioWithAmount, {
|
|
165
|
+
formattedAmountString: "\u20AC 1.000,00",
|
|
166
|
+
label: "label",
|
|
167
|
+
suggestReason: "suggestReason",
|
|
168
|
+
isSuggested: true,
|
|
169
|
+
selected: true
|
|
170
|
+
})).toJSON();
|
|
171
|
+
const notSuggested = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ListItemRadioWithAmount.ListItemRadioWithAmount, {
|
|
172
|
+
formattedAmountString: "\u20AC 1.000,00",
|
|
173
|
+
label: "label",
|
|
174
|
+
isSuggested: false
|
|
175
|
+
})).toJSON();
|
|
176
|
+
expect(suggested).toMatchSnapshot();
|
|
177
|
+
expect(notSuggested).toMatchSnapshot();
|
|
178
|
+
});
|
|
179
|
+
});
|
|
100
180
|
//# sourceMappingURL=listitem.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_ListItemInfo","_ListItemInfoCopy","_ListItemNav","_ListItemNavAlert","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_testing","_ModuleIDP","_ListItemAction","_ListItemInfo","_ListItemInfoCopy","_ListItemNav","_ListItemNavAlert","_ListItemRadioWithAmount","_ListItemTransaction","_PressableListItemsBase","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","onButtonPress","Alert","alert","describe","it","listItemInfo","create","createElement","label","value","accessibilityLabel","toJSON","expect","toMatchSnapshot","listItemInfoCopy","onPress","listItemNav","listItemNavAlert","listItemAction","variant","listItemIDP","ListItemTransaction","title","subtitle","transactionStatus","transactionAmount","isLoading","PressableListItemBase","suggested","ListItemRadioWithAmount","formattedAmountString","suggestReason","isSuggested","selected","notSuggested","TestRendererWithExperimentalEnabled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AAQ,EAAE;IAAK,CAChB,CACH,CAAC,CAACtB,MAAM,CAAC,CAAC;IACV,MAAMuB,YAAY,GAAG,IAAAC,2DAAkD,gBACrEzE,MAAA,CAAAuB,OAAA,CAAAsB,aAAA,CAAChC,wBAAA,CAAAsD,uBAAuB;MACtBC,qBAAqB,EAAC,iBAAY;MAClCtB,KAAK,EAAC,OAAO;MACbwB,WAAW,EAAE;IAAM,CACpB,CACH,CAAC,CAACrB,MAAM,CAAC,CAAC;IACVC,MAAM,CAACgB,SAAS,CAAC,CAACf,eAAe,CAAC,CAAC;IACnCD,MAAM,CAACsB,YAAY,CAAC,CAACrB,eAAe,CAAC,CAAC;EACxC,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BoxedInput = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _core = require("../../core");
|
|
10
|
+
var _typography = require("../typography");
|
|
11
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
+
const styles = _reactNative.StyleSheet.create({
|
|
14
|
+
baseBox: {
|
|
15
|
+
alignItems: "center",
|
|
16
|
+
justifyContent: "center",
|
|
17
|
+
width: 35,
|
|
18
|
+
height: 60,
|
|
19
|
+
borderRadius: 8
|
|
20
|
+
},
|
|
21
|
+
defaultBox: {
|
|
22
|
+
borderWidth: 1,
|
|
23
|
+
borderColor: _core.IOColors["grey-200"]
|
|
24
|
+
},
|
|
25
|
+
focusedBox: {
|
|
26
|
+
borderWidth: 2,
|
|
27
|
+
borderColor: _core.IOColors["blueIO-500"]
|
|
28
|
+
},
|
|
29
|
+
errorBox: {
|
|
30
|
+
borderWidth: 1,
|
|
31
|
+
borderColor: _core.IOColors["error-850"],
|
|
32
|
+
backgroundColor: _core.IOColors["error-100"]
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
// FIXME Replace this component with H3 once the legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
37
|
+
const SecretValue = () => /*#__PURE__*/React.createElement(_typography.BaseTypography, {
|
|
38
|
+
font: "DMMono",
|
|
39
|
+
weight: "SemiBold",
|
|
40
|
+
color: "bluegreyDark",
|
|
41
|
+
fontStyle: {
|
|
42
|
+
fontSize: 22,
|
|
43
|
+
lineHeight: 33
|
|
44
|
+
},
|
|
45
|
+
accessible: false
|
|
46
|
+
}, "•");
|
|
47
|
+
const BoxedInput = _ref => {
|
|
48
|
+
let {
|
|
49
|
+
status,
|
|
50
|
+
value,
|
|
51
|
+
secret
|
|
52
|
+
} = _ref;
|
|
53
|
+
const derivedStyle = (0, React.useMemo)(() => {
|
|
54
|
+
switch (status) {
|
|
55
|
+
case "error":
|
|
56
|
+
return styles.errorBox;
|
|
57
|
+
case "focus":
|
|
58
|
+
return styles.focusedBox;
|
|
59
|
+
case "default":
|
|
60
|
+
default:
|
|
61
|
+
return styles.defaultBox;
|
|
62
|
+
}
|
|
63
|
+
}, [status]);
|
|
64
|
+
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
65
|
+
style: [styles.baseBox, derivedStyle],
|
|
66
|
+
accessible: false
|
|
67
|
+
}, value && (secret ? /*#__PURE__*/React.createElement(SecretValue, null) : /*#__PURE__*/React.createElement(_typography.H6, {
|
|
68
|
+
accessible: false
|
|
69
|
+
}, value)));
|
|
70
|
+
};
|
|
71
|
+
exports.BoxedInput = BoxedInput;
|
|
72
|
+
//# sourceMappingURL=BoxedInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_core","_typography","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","styles","StyleSheet","create","baseBox","alignItems","justifyContent","width","height","borderRadius","defaultBox","borderWidth","borderColor","IOColors","focusedBox","errorBox","backgroundColor","SecretValue","createElement","BaseTypography","font","weight","color","fontStyle","fontSize","lineHeight","accessible","BoxedInput","_ref","status","value","secret","derivedStyle","useMemo","View","style","H6","exports"],"sourceRoot":"../../../../src","sources":["components/otpInput/BoxedInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAAmD,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAN,wB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AACO,OAAA,CAAAV,UAAA,GAAAA,UAAA"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.OTPInput = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated"));
|
|
10
|
+
var _IOStyles = require("../../core/IOStyles");
|
|
11
|
+
var _typography = require("../typography");
|
|
12
|
+
var _functions = require("../../functions");
|
|
13
|
+
var _spacer = require("../spacer");
|
|
14
|
+
var _useErrorShakeAnimation = require("../../utils/hooks/useErrorShakeAnimation");
|
|
15
|
+
var _BoxedInput = require("./BoxedInput");
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
/**
|
|
20
|
+
* `OTPInput` is a component that allows the user to enter a one-time password.
|
|
21
|
+
* It has an hidden `TextInput` that is used to handle the keyboard and the focus.
|
|
22
|
+
* The input handles the autocompletion of the OTP code.
|
|
23
|
+
* @param value - The value of the OTP code
|
|
24
|
+
* @param onValueChange - The function to call when the value changes
|
|
25
|
+
* @param length - The length of the OTP code
|
|
26
|
+
* @param secret - If the OTP code should be hidden
|
|
27
|
+
* @param autocomplete - If the OTP code should be autocompleted
|
|
28
|
+
* @param onValidate - The function to call when the OTP code is validated
|
|
29
|
+
* @param errorMessage - The error message to display
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
const OTPInput = _ref => {
|
|
33
|
+
let {
|
|
34
|
+
value,
|
|
35
|
+
onValueChange,
|
|
36
|
+
length,
|
|
37
|
+
onValidate,
|
|
38
|
+
errorMessage = "",
|
|
39
|
+
secret = false,
|
|
40
|
+
autocomplete = false
|
|
41
|
+
} = _ref;
|
|
42
|
+
const [hasFocus, setHasFocus] = React.useState(false);
|
|
43
|
+
const [hasError, setHasError] = React.useState(false);
|
|
44
|
+
const [inputValue, setInputValue] = React.useState(value);
|
|
45
|
+
const {
|
|
46
|
+
translate,
|
|
47
|
+
animatedStyle,
|
|
48
|
+
shakeAnimation
|
|
49
|
+
} = (0, _useErrorShakeAnimation.useErrorShakeAnimation)();
|
|
50
|
+
const inputRef = /*#__PURE__*/React.createRef();
|
|
51
|
+
const timerRef = React.useRef();
|
|
52
|
+
const handleValidate = val => {
|
|
53
|
+
if (!onValidate || val.length < length) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const isValid = onValidate(val);
|
|
57
|
+
if (!isValid) {
|
|
58
|
+
setHasError(true);
|
|
59
|
+
(0, _functions.triggerHaptic)("notificationError");
|
|
60
|
+
// eslint-disable-next-line functional/immutable-data
|
|
61
|
+
translate.value = shakeAnimation();
|
|
62
|
+
if (timerRef.current) {
|
|
63
|
+
clearTimeout(timerRef.current);
|
|
64
|
+
}
|
|
65
|
+
// eslint-disable-next-line functional/immutable-data
|
|
66
|
+
timerRef.current = setTimeout(() => {
|
|
67
|
+
setHasError(false);
|
|
68
|
+
setInputValue("");
|
|
69
|
+
onValueChange("");
|
|
70
|
+
}, 500);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
React.useEffect(() => () => clearTimeout(timerRef.current), []);
|
|
74
|
+
const handleChange = value => {
|
|
75
|
+
if (value.length > length) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
setInputValue(value);
|
|
79
|
+
onValueChange(value);
|
|
80
|
+
handleValidate(value);
|
|
81
|
+
};
|
|
82
|
+
return /*#__PURE__*/React.createElement(_reactNativeReanimated.default.View, {
|
|
83
|
+
style: [{
|
|
84
|
+
flexGrow: 1
|
|
85
|
+
}, animatedStyle]
|
|
86
|
+
}, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
87
|
+
onPress: () => {
|
|
88
|
+
var _inputRef$current;
|
|
89
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
90
|
+
setHasFocus(true);
|
|
91
|
+
},
|
|
92
|
+
style: [_IOStyles.IOStyles.row, {
|
|
93
|
+
justifyContent: "space-around"
|
|
94
|
+
}],
|
|
95
|
+
accessible: true,
|
|
96
|
+
accessibilityLabel: "OTP Input",
|
|
97
|
+
accessibilityValue: {
|
|
98
|
+
text: inputValue
|
|
99
|
+
}
|
|
100
|
+
}, /*#__PURE__*/React.createElement(_reactNative.TextInput, {
|
|
101
|
+
value: inputValue,
|
|
102
|
+
onChangeText: handleChange,
|
|
103
|
+
style: {
|
|
104
|
+
position: "absolute",
|
|
105
|
+
opacity: 0
|
|
106
|
+
},
|
|
107
|
+
maxLength: length,
|
|
108
|
+
ref: inputRef,
|
|
109
|
+
onBlur: () => setHasFocus(false),
|
|
110
|
+
keyboardType: "numeric",
|
|
111
|
+
inputMode: "numeric",
|
|
112
|
+
returnKeyType: "done",
|
|
113
|
+
textContentType: "oneTimeCode",
|
|
114
|
+
autoComplete: autocomplete ? "sms-otp" : undefined,
|
|
115
|
+
accessible: true
|
|
116
|
+
}), [...Array(length)].map((_, i) => /*#__PURE__*/React.createElement(_BoxedInput.BoxedInput, {
|
|
117
|
+
key: i,
|
|
118
|
+
status: hasError ? "error" : hasFocus && inputValue.length === i ? "focus" : "default",
|
|
119
|
+
secret: secret,
|
|
120
|
+
value: inputValue[i]
|
|
121
|
+
}))), /*#__PURE__*/React.createElement(_spacer.VSpacer, {
|
|
122
|
+
size: 4
|
|
123
|
+
}), hasError && errorMessage && /*#__PURE__*/React.createElement(_typography.LabelSmall, {
|
|
124
|
+
color: "error-850",
|
|
125
|
+
style: {
|
|
126
|
+
textAlign: "center"
|
|
127
|
+
}
|
|
128
|
+
}, errorMessage));
|
|
129
|
+
};
|
|
130
|
+
exports.OTPInput = OTPInput;
|
|
131
|
+
//# sourceMappingURL=OTPInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_interopRequireDefault","_IOStyles","_typography","_functions","_spacer","_useErrorShakeAnimation","_BoxedInput","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","OTPInput","_ref","value","onValueChange","length","onValidate","errorMessage","secret","autocomplete","hasFocus","setHasFocus","useState","hasError","setHasError","inputValue","setInputValue","translate","animatedStyle","shakeAnimation","useErrorShakeAnimation","inputRef","createRef","timerRef","useRef","handleValidate","val","isValid","triggerHaptic","current","clearTimeout","setTimeout","useEffect","handleChange","createElement","View","style","flexGrow","Pressable","onPress","_inputRef$current","focus","IOStyles","row","justifyContent","accessible","accessibilityLabel","accessibilityValue","text","TextInput","onChangeText","position","opacity","maxLength","ref","onBlur","keyboardType","inputMode","returnKeyType","textContentType","autoComplete","undefined","Array","map","_","i","BoxedInput","status","VSpacer","size","LabelSmall","color","textAlign","exports"],"sourceRoot":"../../../../src","sources":["components/otpInput/OTPInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,uBAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAT,OAAA;AAA0C,SAAAG,uBAAAO,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAf,wBAAAW,GAAA,EAAAI,WAAA,SAAAA,WAAA,IAAAJ,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAQ,KAAA,GAAAL,wBAAA,CAAAC,WAAA,OAAAI,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAnB,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xD,QAAQ,IAAIN,YAAY,iBACvBxC,KAAA,CAAAmE,aAAA,CAAC5D,WAAA,CAAAgG,UAAU;IAACC,KAAK,EAAC,WAAW;IAACnC,KAAK,EAAE;MAAEoC,SAAS,EAAE;IAAS;EAAE,GAC1DjE,YACS,CAED,CAAC;AAEpB,CAAC;AAACkE,OAAA,CAAAxE,QAAA,GAAAA,QAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _OTPInput = require("./OTPInput");
|
|
7
|
+
Object.keys(_OTPInput).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _OTPInput[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _OTPInput[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_OTPInput","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/otpInput/index.tsx"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -6,27 +6,50 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.PictogramBleed = exports.Pictogram = exports.IOPictogramsObject = exports.IOPictogramsLegacy = exports.IOPictogramsBleed = exports.IOPictograms = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _IOColors = require("../../core/IOColors");
|
|
9
|
-
var _PictogramMessages = _interopRequireDefault(require("./svg/PictogramMessages"));
|
|
10
9
|
var _PictogramAbacus = _interopRequireDefault(require("./svg/PictogramAbacus"));
|
|
10
|
+
var _PictogramAccessDenied = _interopRequireDefault(require("./svg/PictogramAccessDenied"));
|
|
11
11
|
var _PictogramAirBaloon = _interopRequireDefault(require("./svg/PictogramAirBaloon"));
|
|
12
12
|
var _PictogramAirship = _interopRequireDefault(require("./svg/PictogramAirship"));
|
|
13
13
|
var _PictogramAttention = _interopRequireDefault(require("./svg/PictogramAttention"));
|
|
14
14
|
var _PictogramBaloons = _interopRequireDefault(require("./svg/PictogramBaloons"));
|
|
15
15
|
var _PictogramBeerMug = _interopRequireDefault(require("./svg/PictogramBeerMug"));
|
|
16
|
-
var _PictogramCameraRequest = _interopRequireDefault(require("./svg/PictogramCameraRequest"));
|
|
17
16
|
var _PictogramCameraDenied = _interopRequireDefault(require("./svg/PictogramCameraDenied"));
|
|
17
|
+
var _PictogramCameraRequest = _interopRequireDefault(require("./svg/PictogramCameraRequest"));
|
|
18
|
+
var _PictogramCharity = _interopRequireDefault(require("./svg/PictogramCharity"));
|
|
19
|
+
var _PictogramCie = _interopRequireDefault(require("./svg/PictogramCie"));
|
|
18
20
|
var _PictogramCompleted = _interopRequireDefault(require("./svg/PictogramCompleted"));
|
|
21
|
+
var _PictogramComunicationProblem = _interopRequireDefault(require("./svg/PictogramComunicationProblem"));
|
|
19
22
|
var _PictogramEmailToValidate = _interopRequireDefault(require("./svg/PictogramEmailToValidate"));
|
|
20
23
|
var _PictogramEmailValidation = _interopRequireDefault(require("./svg/PictogramEmailValidation"));
|
|
24
|
+
var _PictogramEmpty = _interopRequireDefault(require("./svg/PictogramEmpty"));
|
|
21
25
|
var _PictogramEmptyArchive = _interopRequireDefault(require("./svg/PictogramEmptyArchive"));
|
|
22
26
|
var _PictogramError = _interopRequireDefault(require("./svg/PictogramError"));
|
|
27
|
+
var _PictogramFatalError = _interopRequireDefault(require("./svg/PictogramFatalError"));
|
|
28
|
+
var _PictogramFeature = _interopRequireDefault(require("./svg/PictogramFeature"));
|
|
23
29
|
var _PictogramFeedback = _interopRequireDefault(require("./svg/PictogramFeedback"));
|
|
24
30
|
var _PictogramFireworks = _interopRequireDefault(require("./svg/PictogramFireworks"));
|
|
25
31
|
var _PictogramHeart = _interopRequireDefault(require("./svg/PictogramHeart"));
|
|
32
|
+
var _PictogramHello = _interopRequireDefault(require("./svg/PictogramHello"));
|
|
33
|
+
var _PictogramHelp = _interopRequireDefault(require("./svg/PictogramHelp"));
|
|
26
34
|
var _PictogramHourglass = _interopRequireDefault(require("./svg/PictogramHourglass"));
|
|
35
|
+
var _PictogramITWallet = _interopRequireDefault(require("./svg/PictogramITWallet"));
|
|
36
|
+
var _PictogramIdentity = _interopRequireDefault(require("./svg/PictogramIdentity"));
|
|
37
|
+
var _PictogramIdentityAdd = _interopRequireDefault(require("./svg/PictogramIdentityAdd"));
|
|
38
|
+
var _PictogramIdentityCheck = _interopRequireDefault(require("./svg/PictogramIdentityCheck"));
|
|
39
|
+
var _PictogramIdentityRefresh = _interopRequireDefault(require("./svg/PictogramIdentityRefresh"));
|
|
27
40
|
var _PictogramInProgress = _interopRequireDefault(require("./svg/PictogramInProgress"));
|
|
28
41
|
var _PictogramInbox = _interopRequireDefault(require("./svg/PictogramInbox"));
|
|
42
|
+
var _PictogramMessages = _interopRequireDefault(require("./svg/PictogramMessages"));
|
|
29
43
|
var _PictogramNotAvailable = _interopRequireDefault(require("./svg/PictogramNotAvailable"));
|
|
44
|
+
var _PictogramNotification = _interopRequireDefault(require("./svg/PictogramNotification"));
|
|
45
|
+
var _PictogramObjClock = _interopRequireDefault(require("./svg/PictogramObjClock"));
|
|
46
|
+
var _PictogramObjFlyingMessage = _interopRequireDefault(require("./svg/PictogramObjFlyingMessage"));
|
|
47
|
+
var _PictogramObjFollowMessage = _interopRequireDefault(require("./svg/PictogramObjFollowMessage"));
|
|
48
|
+
var _PictogramObjIbanCard = _interopRequireDefault(require("./svg/PictogramObjIbanCard"));
|
|
49
|
+
var _PictogramObjKey = _interopRequireDefault(require("./svg/PictogramObjKey"));
|
|
50
|
+
var _PictogramObjManual = _interopRequireDefault(require("./svg/PictogramObjManual"));
|
|
51
|
+
var _PictogramObjTrash = _interopRequireDefault(require("./svg/PictogramObjTrash"));
|
|
52
|
+
var _PictogramPasscode = _interopRequireDefault(require("./svg/PictogramPasscode"));
|
|
30
53
|
var _PictogramPiggyBank = _interopRequireDefault(require("./svg/PictogramPiggyBank"));
|
|
31
54
|
var _PictogramPin = _interopRequireDefault(require("./svg/PictogramPin"));
|
|
32
55
|
var _PictogramPlaces = _interopRequireDefault(require("./svg/PictogramPlaces"));
|
|
@@ -34,98 +57,78 @@ var _PictogramProcessing = _interopRequireDefault(require("./svg/PictogramProces
|
|
|
34
57
|
var _PictogramPuzzle = _interopRequireDefault(require("./svg/PictogramPuzzle"));
|
|
35
58
|
var _PictogramQuestion = _interopRequireDefault(require("./svg/PictogramQuestion"));
|
|
36
59
|
var _PictogramSearch = _interopRequireDefault(require("./svg/PictogramSearch"));
|
|
60
|
+
var _PictogramSecurity = _interopRequireDefault(require("./svg/PictogramSecurity"));
|
|
37
61
|
var _PictogramSms = _interopRequireDefault(require("./svg/PictogramSms"));
|
|
62
|
+
var _PictogramStopSecurity = _interopRequireDefault(require("./svg/PictogramStopSecurity"));
|
|
63
|
+
var _PictogramSuccess = _interopRequireDefault(require("./svg/PictogramSuccess"));
|
|
38
64
|
var _PictogramTeaBreak = _interopRequireDefault(require("./svg/PictogramTeaBreak"));
|
|
65
|
+
var _PictogramTime = _interopRequireDefault(require("./svg/PictogramTime"));
|
|
39
66
|
var _PictogramTimeout = _interopRequireDefault(require("./svg/PictogramTimeout"));
|
|
40
67
|
var _PictogramUmbrella = _interopRequireDefault(require("./svg/PictogramUmbrella"));
|
|
41
68
|
var _PictogramUmbrellaNew = _interopRequireDefault(require("./svg/PictogramUmbrellaNew"));
|
|
42
69
|
var _PictogramUnrecognized = _interopRequireDefault(require("./svg/PictogramUnrecognized"));
|
|
43
|
-
var _PictogramUploadFile = _interopRequireDefault(require("./svg/PictogramUploadFile"));
|
|
44
|
-
var _PictogramSuccess = _interopRequireDefault(require("./svg/PictogramSuccess"));
|
|
45
|
-
var _PictogramHelp = _interopRequireDefault(require("./svg/PictogramHelp"));
|
|
46
|
-
var _PictogramITWallet = _interopRequireDefault(require("./svg/PictogramITWallet"));
|
|
47
|
-
var _PictogramFatalError = _interopRequireDefault(require("./svg/PictogramFatalError"));
|
|
48
70
|
var _PictogramUpdateOS = _interopRequireDefault(require("./svg/PictogramUpdateOS"));
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var _PictogramFeature = _interopRequireDefault(require("./svg/PictogramFeature"));
|
|
62
|
-
var _PictogramNotification = _interopRequireDefault(require("./svg/PictogramNotification"));
|
|
63
|
-
var _PictogramObjClock = _interopRequireDefault(require("./svg/PictogramObjClock"));
|
|
64
|
-
var _PictogramObjIbanCard = _interopRequireDefault(require("./svg/PictogramObjIbanCard"));
|
|
65
|
-
var _PictogramObjManual = _interopRequireDefault(require("./svg/PictogramObjManual"));
|
|
66
|
-
var _PictogramObjTrash = _interopRequireDefault(require("./svg/PictogramObjTrash"));
|
|
67
|
-
var _PictogramObjKey = _interopRequireDefault(require("./svg/PictogramObjKey"));
|
|
68
|
-
var _PictogramObjFlyingMessage = _interopRequireDefault(require("./svg/PictogramObjFlyingMessage"));
|
|
69
|
-
var _PictogramObjFollowMessage = _interopRequireDefault(require("./svg/PictogramObjFollowMessage"));
|
|
71
|
+
var _PictogramUploadFile = _interopRequireDefault(require("./svg/PictogramUploadFile"));
|
|
72
|
+
var _PictogramActivate = _interopRequireDefault(require("./svg/PictogramActivate"));
|
|
73
|
+
var _PictogramAttachment = _interopRequireDefault(require("./svg/PictogramAttachment"));
|
|
74
|
+
var _PictogramBiometric = _interopRequireDefault(require("./svg/PictogramBiometric"));
|
|
75
|
+
var _PictogramBleedAccessDenied = _interopRequireDefault(require("./svg/PictogramBleedAccessDenied"));
|
|
76
|
+
var _PictogramBleedAttention = _interopRequireDefault(require("./svg/PictogramBleedAttention"));
|
|
77
|
+
var _PictogramBleedCameraDenied = _interopRequireDefault(require("./svg/PictogramBleedCameraDenied"));
|
|
78
|
+
var _PictogramBleedCameraRequest = _interopRequireDefault(require("./svg/PictogramBleedCameraRequest"));
|
|
79
|
+
var _PictogramBleedCardAdd = _interopRequireDefault(require("./svg/PictogramBleedCardAdd"));
|
|
80
|
+
var _PictogramBleedCardFavourite = _interopRequireDefault(require("./svg/PictogramBleedCardFavourite"));
|
|
81
|
+
var _PictogramBleedCardIssue = _interopRequireDefault(require("./svg/PictogramBleedCardIssue"));
|
|
82
|
+
var _PictogramBleedCardQuestion = _interopRequireDefault(require("./svg/PictogramBleedCardQuestion"));
|
|
70
83
|
var _PictogramBleedCharity = _interopRequireDefault(require("./svg/PictogramBleedCharity"));
|
|
71
|
-
var _PictogramBleedHelp = _interopRequireDefault(require("./svg/PictogramBleedHelp"));
|
|
72
|
-
var _PictogramBleedITWallet = _interopRequireDefault(require("./svg/PictogramBleedITWallet"));
|
|
73
|
-
var _PictogramBleedFeedback = _interopRequireDefault(require("./svg/PictogramBleedFeedback"));
|
|
74
|
-
var _PictogramBleedSecurity = _interopRequireDefault(require("./svg/PictogramBleedSecurity"));
|
|
75
|
-
var _PictogramBleedFeature = _interopRequireDefault(require("./svg/PictogramBleedFeature"));
|
|
76
84
|
var _PictogramBleedCie = _interopRequireDefault(require("./svg/PictogramBleedCie"));
|
|
77
|
-
var
|
|
78
|
-
var _PictogramBleedCameraDenied = _interopRequireDefault(require("./svg/PictogramBleedCameraDenied"));
|
|
79
|
-
var _PictogramBleedNotification = _interopRequireDefault(require("./svg/PictogramBleedNotification"));
|
|
80
|
-
var _PictogramStar = _interopRequireDefault(require("./svg/PictogramStar"));
|
|
81
|
-
var _PictogramBleedStar = _interopRequireDefault(require("./svg/PictogramBleedStar"));
|
|
85
|
+
var _PictogramBleedDoc = _interopRequireDefault(require("./svg/PictogramBleedDoc"));
|
|
82
86
|
var _PictogramBleedEmpty = _interopRequireDefault(require("./svg/PictogramBleedEmpty"));
|
|
83
|
-
var
|
|
84
|
-
var _PictogramBleedSuccess = _interopRequireDefault(require("./svg/PictogramBleedSuccess"));
|
|
87
|
+
var _PictogramBleedEnded = _interopRequireDefault(require("./svg/PictogramBleedEnded"));
|
|
85
88
|
var _PictogramBleedFatalError = _interopRequireDefault(require("./svg/PictogramBleedFatalError"));
|
|
89
|
+
var _PictogramBleedFeature = _interopRequireDefault(require("./svg/PictogramBleedFeature"));
|
|
90
|
+
var _PictogramBleedFeedback = _interopRequireDefault(require("./svg/PictogramBleedFeedback"));
|
|
91
|
+
var _PictogramBleedHelp = _interopRequireDefault(require("./svg/PictogramBleedHelp"));
|
|
92
|
+
var _PictogramBleedITWallet = _interopRequireDefault(require("./svg/PictogramBleedITWallet"));
|
|
93
|
+
var _PictogramBleedIdea = _interopRequireDefault(require("./svg/PictogramBleedIdea"));
|
|
86
94
|
var _PictogramBleedIdentity = _interopRequireDefault(require("./svg/PictogramBleedIdentity"));
|
|
87
95
|
var _PictogramBleedIdentityAdd = _interopRequireDefault(require("./svg/PictogramBleedIdentityAdd"));
|
|
88
96
|
var _PictogramBleedIdentityCheck = _interopRequireDefault(require("./svg/PictogramBleedIdentityCheck"));
|
|
89
97
|
var _PictogramBleedIdentityRefresh = _interopRequireDefault(require("./svg/PictogramBleedIdentityRefresh"));
|
|
90
|
-
var
|
|
98
|
+
var _PictogramBleedLostConnection = _interopRequireDefault(require("./svg/PictogramBleedLostConnection"));
|
|
99
|
+
var _PictogramBleedMessage = _interopRequireDefault(require("./svg/PictogramBleedMessage"));
|
|
100
|
+
var _PictogramBleedNotification = _interopRequireDefault(require("./svg/PictogramBleedNotification"));
|
|
101
|
+
var _PictogramBleedPasscode = _interopRequireDefault(require("./svg/PictogramBleedPasscode"));
|
|
102
|
+
var _PictogramBleedPending = _interopRequireDefault(require("./svg/PictogramBleedPending"));
|
|
103
|
+
var _PictogramBleedQrCode = _interopRequireDefault(require("./svg/PictogramBleedQrCode"));
|
|
104
|
+
var _PictogramBleedSearch = _interopRequireDefault(require("./svg/PictogramBleedSearch"));
|
|
105
|
+
var _PictogramBleedSecurity = _interopRequireDefault(require("./svg/PictogramBleedSecurity"));
|
|
106
|
+
var _PictogramBleedStar = _interopRequireDefault(require("./svg/PictogramBleedStar"));
|
|
91
107
|
var _PictogramBleedStopSecurity = _interopRequireDefault(require("./svg/PictogramBleedStopSecurity"));
|
|
108
|
+
var _PictogramBleedSuccess = _interopRequireDefault(require("./svg/PictogramBleedSuccess"));
|
|
92
109
|
var _PictogramBleedTime = _interopRequireDefault(require("./svg/PictogramBleedTime"));
|
|
93
|
-
var _PictogramBleedPasscode = _interopRequireDefault(require("./svg/PictogramBleedPasscode"));
|
|
94
|
-
var _PictogramTiming = _interopRequireDefault(require("./svg/PictogramTiming"));
|
|
95
110
|
var _PictogramBleedTiming = _interopRequireDefault(require("./svg/PictogramBleedTiming"));
|
|
111
|
+
var _PictogramCardAdd = _interopRequireDefault(require("./svg/PictogramCardAdd"));
|
|
112
|
+
var _PictogramCardFavourite = _interopRequireDefault(require("./svg/PictogramCardFavourite"));
|
|
96
113
|
var _PictogramCardIssue = _interopRequireDefault(require("./svg/PictogramCardIssue"));
|
|
97
114
|
var _PictogramCardQuestion = _interopRequireDefault(require("./svg/PictogramCardQuestion"));
|
|
98
|
-
var _PictogramCardFavourite = _interopRequireDefault(require("./svg/PictogramCardFavourite"));
|
|
99
|
-
var _PictogramCardAdd = _interopRequireDefault(require("./svg/PictogramCardAdd"));
|
|
100
|
-
var _PictogramBleedCardAdd = _interopRequireDefault(require("./svg/PictogramBleedCardAdd"));
|
|
101
|
-
var _PictogramBleedCardFavourite = _interopRequireDefault(require("./svg/PictogramBleedCardFavourite"));
|
|
102
|
-
var _PictogramBleedCardQuestion = _interopRequireDefault(require("./svg/PictogramBleedCardQuestion"));
|
|
103
|
-
var _PictogramBleedCardIssue = _interopRequireDefault(require("./svg/PictogramBleedCardIssue"));
|
|
104
|
-
var _PictogramSearchLens = _interopRequireDefault(require("./svg/PictogramSearchLens"));
|
|
105
|
-
var _PictogramBleedSearch = _interopRequireDefault(require("./svg/PictogramBleedSearch"));
|
|
106
|
-
var _PictogramBleedDoc = _interopRequireDefault(require("./svg/PictogramBleedDoc"));
|
|
107
115
|
var _PictogramDoc = _interopRequireDefault(require("./svg/PictogramDoc"));
|
|
108
|
-
var
|
|
109
|
-
var
|
|
110
|
-
var
|
|
111
|
-
var
|
|
116
|
+
var _PictogramEmailDotCheck = _interopRequireDefault(require("./svg/PictogramEmailDotCheck"));
|
|
117
|
+
var _PictogramEmailDotNotif = _interopRequireDefault(require("./svg/PictogramEmailDotNotif"));
|
|
118
|
+
var _PictogramEnded = _interopRequireDefault(require("./svg/PictogramEnded"));
|
|
119
|
+
var _PictogramEventClose = _interopRequireDefault(require("./svg/PictogramEventClose"));
|
|
112
120
|
var _PictogramIdea = _interopRequireDefault(require("./svg/PictogramIdea"));
|
|
113
|
-
var
|
|
121
|
+
var _PictogramLostConnection = _interopRequireDefault(require("./svg/PictogramLostConnection"));
|
|
122
|
+
var _PictogramMessage = _interopRequireDefault(require("./svg/PictogramMessage"));
|
|
114
123
|
var _PictogramMoneyCheck = _interopRequireDefault(require("./svg/PictogramMoneyCheck"));
|
|
115
|
-
var _PictogramReactivate = _interopRequireDefault(require("./svg/PictogramReactivate"));
|
|
116
|
-
var _PictogramActivate = _interopRequireDefault(require("./svg/PictogramActivate"));
|
|
117
124
|
var _PictogramNFCScanAndroid = _interopRequireDefault(require("./svg/PictogramNFCScanAndroid"));
|
|
118
125
|
var _PictogramNFCScaniOS = _interopRequireDefault(require("./svg/PictogramNFCScaniOS"));
|
|
119
|
-
var
|
|
120
|
-
var _PictogramLostConnection = _interopRequireDefault(require("./svg/PictogramLostConnection"));
|
|
126
|
+
var _PictogramPending = _interopRequireDefault(require("./svg/PictogramPending"));
|
|
121
127
|
var _PictogramQrCode = _interopRequireDefault(require("./svg/PictogramQrCode"));
|
|
122
|
-
var
|
|
123
|
-
var
|
|
124
|
-
var
|
|
125
|
-
var
|
|
126
|
-
var _PictogramBleedLostConnection = _interopRequireDefault(require("./svg/PictogramBleedLostConnection"));
|
|
127
|
-
var _PictogramEnded = _interopRequireDefault(require("./svg/PictogramEnded"));
|
|
128
|
-
var _PictogramBleedEnded = _interopRequireDefault(require("./svg/PictogramBleedEnded"));
|
|
128
|
+
var _PictogramReactivate = _interopRequireDefault(require("./svg/PictogramReactivate"));
|
|
129
|
+
var _PictogramSearchLens = _interopRequireDefault(require("./svg/PictogramSearchLens"));
|
|
130
|
+
var _PictogramStar = _interopRequireDefault(require("./svg/PictogramStar"));
|
|
131
|
+
var _PictogramTiming = _interopRequireDefault(require("./svg/PictogramTiming"));
|
|
129
132
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
130
133
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
131
134
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -210,6 +213,9 @@ const IOPictograms = {
|
|
|
210
213
|
emailDotNotif: _PictogramEmailDotNotif.default,
|
|
211
214
|
emailDotCheck: _PictogramEmailDotCheck.default,
|
|
212
215
|
biometric: _PictogramBiometric.default,
|
|
216
|
+
eventClose: _PictogramEventClose.default,
|
|
217
|
+
hello: _PictogramHello.default,
|
|
218
|
+
comunicationProblem: _PictogramComunicationProblem.default,
|
|
213
219
|
// Start Objects Pictogram
|
|
214
220
|
ibanCard: _PictogramObjIbanCard.default,
|
|
215
221
|
followMessage: _PictogramObjFollowMessage.default,
|