jornada-ui 0.4.19 → 0.4.20
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/box/index.js +5 -5
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/button/index.js +5 -5
- package/lib/commonjs/components/button/index.js.map +1 -1
- package/lib/commonjs/components/capture-photo/index.js +1 -1
- package/lib/commonjs/components/capture-photo/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/index.js +5 -5
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-maintenance/index.js +3 -0
- package/lib/commonjs/components/card-maintenance/index.js.map +1 -1
- package/lib/commonjs/components/maintenance-description-input/index.js +5 -1
- package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
- package/lib/commonjs/components/modal-maintenance/index.js +2 -0
- package/lib/commonjs/components/modal-maintenance/index.js.map +1 -1
- package/lib/commonjs/components/modal-type-activities/index.js +10 -4
- package/lib/commonjs/components/modal-type-activities/index.js.map +1 -1
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js +2 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js.map +1 -1
- package/lib/commonjs/components/report-bobinas/index.js +12 -6
- package/lib/commonjs/components/report-bobinas/index.js.map +1 -1
- package/lib/commonjs/components/resume-raking/index.js +5 -0
- package/lib/commonjs/components/resume-raking/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +12 -4
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/toast-message/index.js +10 -6
- package/lib/commonjs/components/toast-message/index.js.map +1 -1
- package/lib/commonjs/components/toggle-fuel/index.js +1 -0
- package/lib/commonjs/components/toggle-fuel/index.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +2 -0
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/user-journey-work-card/index.js +14 -0
- package/lib/commonjs/components/user-journey-work-card/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +9 -1
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/components/weekly-hours-balance/index.js +2 -0
- package/lib/commonjs/components/weekly-hours-balance/index.js.map +1 -1
- package/lib/module/components/box/index.js +5 -5
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/button/index.js +5 -5
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/capture-photo/index.js +1 -1
- package/lib/module/components/capture-photo/index.js.map +1 -1
- package/lib/module/components/card-hours/index.js +5 -5
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-maintenance/index.js +3 -0
- package/lib/module/components/card-maintenance/index.js.map +1 -1
- package/lib/module/components/maintenance-description-input/index.js +5 -1
- package/lib/module/components/maintenance-description-input/index.js.map +1 -1
- package/lib/module/components/modal-maintenance/index.js +2 -0
- package/lib/module/components/modal-maintenance/index.js.map +1 -1
- package/lib/module/components/modal-type-activities/index.js +10 -4
- package/lib/module/components/modal-type-activities/index.js.map +1 -1
- package/lib/module/components/modals/modal-change-activitie-history/index.js +2 -0
- package/lib/module/components/modals/modal-change-activitie-history/index.js.map +1 -1
- package/lib/module/components/report-bobinas/index.js +12 -6
- package/lib/module/components/report-bobinas/index.js.map +1 -1
- package/lib/module/components/resume-raking/index.js +5 -0
- package/lib/module/components/resume-raking/index.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +12 -4
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/toast-message/index.js +10 -6
- package/lib/module/components/toast-message/index.js.map +1 -1
- package/lib/module/components/toggle-fuel/index.js +1 -0
- package/lib/module/components/toggle-fuel/index.js.map +1 -1
- package/lib/module/components/typography/index.js +2 -0
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/user-journey-work-card/index.js +14 -0
- package/lib/module/components/user-journey-work-card/index.js.map +1 -1
- package/lib/module/components/user-profile/index.js +9 -1
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/components/weekly-hours-balance/index.js +2 -0
- package/lib/module/components/weekly-hours-balance/index.js.map +1 -1
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-type-activities/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-type-activities/interface.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/modal-type-activities/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/report-bobinas/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/interface.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/resume-raking/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/interface.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/toast-message/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toggle-fuel/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/weekly-hours-balance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/box/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-type-activities/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-type-activities/interface.d.ts +2 -0
- package/lib/typescript/module/src/components/modal-type-activities/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts +4 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/report-bobinas/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/interface.d.ts +13 -0
- package/lib/typescript/module/src/components/resume-raking/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +3 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/interface.d.ts +1 -0
- package/lib/typescript/module/src/components/toast-message/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toggle-fuel/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +1 -0
- package/lib/typescript/module/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/weekly-hours-balance/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/box/index.tsx +53 -53
- package/src/components/button/index.tsx +76 -76
- package/src/components/capture-photo/index.tsx +1 -1
- package/src/components/card-hours/index.tsx +121 -121
- package/src/components/card-maintenance/index.tsx +8 -2
- package/src/components/card-maintenance/interface.d.ts +4 -0
- package/src/components/maintenance-description-input/index.tsx +11 -4
- package/src/components/modal-maintenance/index.tsx +2 -1
- package/src/components/modal-maintenance/interface.d.ts +1 -0
- package/src/components/modal-type-activities/index.tsx +23 -5
- package/src/components/modal-type-activities/interface.ts +3 -0
- package/src/components/modals/modal-change-activitie-history/index.tsx +2 -1
- package/src/components/modals/modal-change-activitie-history/interface.ts +4 -0
- package/src/components/report-bobinas/index.tsx +185 -175
- package/src/components/resume-raking/index.tsx +5 -1
- package/src/components/resume-raking/interface.ts +16 -0
- package/src/components/step-indicator/index.tsx +26 -8
- package/src/components/step-indicator/interface.d.ts +3 -0
- package/src/components/toast-message/index.tsx +77 -75
- package/src/components/toast-message/interface.ts +18 -17
- package/src/components/toggle-fuel/index.tsx +1 -0
- package/src/components/typography/index.tsx +2 -0
- package/src/components/typography/interface.d.ts +104 -102
- package/src/components/user-journey-work-card/index.tsx +23 -2
- package/src/components/user-profile/index.tsx +10 -1
- package/src/components/weekly-hours-balance/index.tsx +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","Modal","TouchableOpacity","FlatList","Box","Button","Typography","Icons","theme","activities","activitiesReserva","getIconByProperty","asBaseComponent","jsx","_jsx","jsxs","_jsxs","NUM_COLS","GUTTER","ROW_SPACE","
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Modal","TouchableOpacity","FlatList","Box","Button","Typography","Icons","theme","activities","activitiesReserva","getIconByProperty","asBaseComponent","jsx","_jsx","jsxs","_jsxs","NUM_COLS","GUTTER","ROW_SPACE","ModalTypeActivities","testID","visible","onClose","driverType","handleSelectActivity","activityType","isLoading","style","ref","animationType","transparent","onRequestClose","children","backgroundColor","flexStyle","flex","justifyContent","alignItems","height","width","colors","neutral","borderStyled","borderColor","blue","borderWidth","borderWidths","thick","borderRadius","thick_medium","paddingStyle","padding","paddings","md","position","flexDirection","text","size","fontSizes","color","fontFamily","fonts","inter_bold_700","lineHeight","xl","activeOpacity","onPress","icon","marginStyle","marginTop","margins","data","numColumns","keyExtractor","item","String","id","scrollEnabled","renderItem","index","isLastCol","marginRight","marginBottom","paddingVertical","referencia","descricao","xs","lg","inter_medium_500","fontWeight","align","numberOfLines","ellipsizeMode","title","buttonTextStyle","fontSize","thin","marginLeft","bottom","left","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/modal-type-activities/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,KAAK,EAAEC,gBAAgB,EAAEC,QAAQ,QAAQ,cAAc;;AAEhE;AACA,OAAOC,GAAG,MAAM,iBAAQ;AACxB,OAAOC,MAAM,MAAM,oBAAW;AAC9B,OAAOC,UAAU,MAAM,wBAAe;;AAEtC;AACA,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,6BAA0B;;AAEhD;;AAGA;AACA,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iBAAQ;;AAEtD;AACA,SAASC,iBAAiB,QAA2B,2CAAkC;AACvF,SAASC,eAAe,QAAQ,mCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEjE,MAAMC,QAAQ,GAAG,CAAC;AAClB,MAAMC,MAAM,GAAG,CAAC,CAAC,CAAC;AAClB,MAAMC,SAAS,GA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
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
31
31
|
export const ModalChangeActivity = ({
|
|
32
|
+
testID = "modal-change-activity",
|
|
32
33
|
visible,
|
|
33
34
|
onClose,
|
|
34
35
|
modalConfirm,
|
|
@@ -55,6 +56,7 @@ export const ModalChangeActivity = ({
|
|
|
55
56
|
if (option) setSelectedOption(option.value);
|
|
56
57
|
};
|
|
57
58
|
return /*#__PURE__*/_jsx(Modal, {
|
|
59
|
+
testID: testID,
|
|
58
60
|
animationType: "fade",
|
|
59
61
|
transparent: true,
|
|
60
62
|
visible: visible,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Modal","View","Box","Button","Typography","SelectOption","Icons","optionsActivities","theme","jsx","_jsx","jsxs","_jsxs","ModalChangeActivity","visible","onClose","modalConfirm","descricao","isLoading","useState","initial","toLowerCase","replace","selectedOption","setSelectedOption","handleConfirm","selected","find","activity","value","label","key","handleSelectDown","option","o","animationType","transparent","children","style","flex","justifyContent","alignItems","backgroundColor","width","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","margins","marginLeft","flexStyle","flexDirection","icon","color","black","background","yellow","size","fontSizes","text","fontFamily","fonts","inter_bold_700","md","neutral","padding","xs","inter_medium_500","flexWrap","maxWidth","titleLabel","sizeTitleLabel","dataOption","marginTop","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-change-activitie-history/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB;AACA,SAASC,KAAK,EAAEC,IAAI,QAAQ,cAAc;;AAE1C;AACA,OAAOC,GAAG,MAAM,oBAAW;AAC3B,OAAOC,MAAM,MAAM,uBAAc;AACjC,OAAOC,UAAU,MAAM,2BAAkB;AACzC,OAAOC,YAAY,MAAM,sCAA6B;;AAEtD;AACA,SAASC,KAAK,QAAQ,oCAA2B;;AAEjD;AACA,SAASC,iBAAiB,QAAQ,oBAAW;;AAE7C;;AAGA;AACA,SAASC,KAAK,QAAQ,gCAA6B;;AAEnD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGA,OAAO,MAAMC,mBAAwD,GAAGA,CAAC;EACvEC,OAAO;EACPC,OAAO;EACPC,YAAY;EACZC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"names":["React","Modal","View","Box","Button","Typography","SelectOption","Icons","optionsActivities","theme","jsx","_jsx","jsxs","_jsxs","ModalChangeActivity","testID","visible","onClose","modalConfirm","descricao","isLoading","useState","initial","toLowerCase","replace","selectedOption","setSelectedOption","handleConfirm","selected","find","activity","value","label","key","handleSelectDown","option","o","animationType","transparent","children","style","flex","justifyContent","alignItems","backgroundColor","width","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","margins","marginLeft","flexStyle","flexDirection","icon","color","black","background","yellow","size","fontSizes","text","fontFamily","fonts","inter_bold_700","md","neutral","padding","xs","inter_medium_500","flexWrap","maxWidth","titleLabel","sizeTitleLabel","dataOption","marginTop","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-change-activitie-history/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB;AACA,SAASC,KAAK,EAAEC,IAAI,QAAQ,cAAc;;AAE1C;AACA,OAAOC,GAAG,MAAM,oBAAW;AAC3B,OAAOC,MAAM,MAAM,uBAAc;AACjC,OAAOC,UAAU,MAAM,2BAAkB;AACzC,OAAOC,YAAY,M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C3C,YAAY,EAAExC,KAAK,CAACyC,YAAY,CAACC;cACnC;YAAE,CACH,CAAC,eACFxC,IAAA,CAACP,MAAM;cACLmF,KAAK,EAAC,WAAW;cACjBC,OAAO,EAAE7D,aAAc;cACvBkB,KAAK,EAAE,KAAM;cACb4C,MAAM,EAAE,EAAG;cACXrE,SAAS,EAAEA,SAAU;cACrBsE,QAAQ,EAAEtE,SAAU;cACpBwB,eAAe,EAAEnC,KAAK,CAACqC,MAAM,CAAC8C,IAAI,CAAC,GAAG,CAAE;cACxCD,eAAe,EAAE;gBACfzB,KAAK,EAAE,MAAM;gBACbO,UAAU,EAAE,cAAc;gBAC1BoB,QAAQ,EAAEpF,KAAK,CAAC8D,SAAS,CAACQ,EAAE;gBAC5Be,UAAU,EAAE;cACd,CAAE;cACF/B,SAAS,EAAE;gBACTC,aAAa,EAAE,KAAK;gBACpBrB,UAAU,EAAE,QAAQ;gBACpBD,cAAc,EAAE,QAAQ;gBACxBqD,SAAS,EAAE;cACb,CAAE;cACF/C,YAAY,EAAE;gBACZgD,WAAW,EAAEvF,KAAK,CAACyC,YAAY,CAAC+C,IAAI;gBACpCC,WAAW,EAAEzF,KAAK,CAACqC,MAAM,CAAC8C,IAAI,CAAC,GAAG,CAAC;gBACnC3C,YAAY,EAAExC,KAAK,CAACyC,YAAY,CAACC;cACnC;YAAE,CACH,CAAC;UAAA,CACC,CAAC;QAAA,CACH,CAAC;MAAA,CACH;IAAC,CACF;EAAC,CACF,CAAC;AAEZ,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* IMPORTS
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
5
|
*/
|
|
6
6
|
import React, { forwardRef } from "react";
|
|
7
7
|
|
|
@@ -19,12 +19,13 @@ import { asBaseComponent } from "../../@types/as-base-component.js";
|
|
|
19
19
|
// styles
|
|
20
20
|
import { theme } from "../../styles/theme/theme.js";
|
|
21
21
|
|
|
22
|
-
/**
|
|
23
|
-
* Componente ReportCoils para a interação da ui.
|
|
22
|
+
/**
|
|
23
|
+
* Componente ReportCoils para a interação da ui.
|
|
24
24
|
*/
|
|
25
25
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
26
|
const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
27
27
|
const {
|
|
28
|
+
testID = "report-coils",
|
|
28
29
|
codeDisplayed = 4567,
|
|
29
30
|
generatedDate = "15/07/2025",
|
|
30
31
|
generatedTime = "10:30",
|
|
@@ -33,6 +34,7 @@ const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
33
34
|
idWithdrawal = 1
|
|
34
35
|
} = props;
|
|
35
36
|
return /*#__PURE__*/_jsxs(Box, {
|
|
37
|
+
testID: testID,
|
|
36
38
|
ref: ref,
|
|
37
39
|
width: "100%",
|
|
38
40
|
backgroundColor: theme.colors.neutral[25],
|
|
@@ -55,6 +57,7 @@ const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
55
57
|
justifyContent: "center"
|
|
56
58
|
},
|
|
57
59
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
60
|
+
testID: `${testID}-retirada`,
|
|
58
61
|
text: `Retirada ${idWithdrawal}`,
|
|
59
62
|
color: theme.colors.neutral[25],
|
|
60
63
|
size: theme.fontSizes.sm,
|
|
@@ -83,6 +86,7 @@ const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
83
86
|
},
|
|
84
87
|
height: 45,
|
|
85
88
|
children: [/*#__PURE__*/_jsx(Icons, {
|
|
89
|
+
testID: `${testID}-icon`,
|
|
86
90
|
icon: "FILES",
|
|
87
91
|
size: 32,
|
|
88
92
|
color: theme.colors.blue[100]
|
|
@@ -92,6 +96,7 @@ const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
92
96
|
flexDirection: "row"
|
|
93
97
|
},
|
|
94
98
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
99
|
+
testID: `${testID}-efetuada`,
|
|
95
100
|
text: `Efetuada em: `,
|
|
96
101
|
size: 12,
|
|
97
102
|
color: theme.colors.gray[900],
|
|
@@ -110,6 +115,7 @@ const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
110
115
|
flexDirection: "row"
|
|
111
116
|
},
|
|
112
117
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
118
|
+
testID: `${testID}-status`,
|
|
113
119
|
text: `Status: `,
|
|
114
120
|
size: 12,
|
|
115
121
|
color: theme.colors.gray[900],
|
|
@@ -175,8 +181,8 @@ const ReportCoils = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
175
181
|
});
|
|
176
182
|
ReportCoils.displayName = "ReportCoils";
|
|
177
183
|
|
|
178
|
-
/**
|
|
179
|
-
* EXPORTS
|
|
184
|
+
/**
|
|
185
|
+
* EXPORTS
|
|
180
186
|
*/
|
|
181
187
|
export default asBaseComponent(ReportCoils);
|
|
182
188
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","Box","Typography","Icons","asBaseComponent","theme","jsx","_jsx","jsxs","_jsxs","ReportCoils","props","ref","codeDisplayed","generatedDate","generatedTime","status","backgroundColor","idWithdrawal","width","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","marginStyle","marginBottom","margins","children","height","green","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","blue","flexStyle","justifyContent","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","flexDirection","paddingStyle","padding","alignItems","icon","gray","inter_bold_700","inter_regular_400","marginTop","paddingLeft","paddings","paddingRight","borderTopWidth","borderTopColor","marginRight","inter_semi_bold_600","background","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/report-bobinas/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;;AAEzC;AACA,OAAOC,GAAG,MAAM,+BAAsB;AACtC,OAAOC,UAAU,MAAM,sCAA6B;;AAEpD;AACA,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,KAAK,QAAQ,6BAA0B;;AAEhD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGA,MAAMC,WAAW,gBAAGV,UAAU,CAAoB,CAACW,KAAK,EAAEC,GAAG,KAAyB;EACpF,MAAM;IACJC,aAAa,GAAG,IAAI;IACpBC,aAAa,GAAG,YAAY;IAC5BC,aAAa,GAAG,OAAO;IACvBC,MAAM,GAAG,IAAI;IACbC,eAAe;IACfC,YAAY,GAAG;EACjB,CAAC,
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Box","Typography","Icons","asBaseComponent","theme","jsx","_jsx","jsxs","_jsxs","ReportCoils","props","ref","testID","codeDisplayed","generatedDate","generatedTime","status","backgroundColor","idWithdrawal","width","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","marginStyle","marginBottom","margins","children","height","green","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","blue","flexStyle","justifyContent","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","flexDirection","paddingStyle","padding","alignItems","icon","gray","inter_bold_700","inter_regular_400","marginTop","paddingLeft","paddings","paddingRight","borderTopWidth","borderTopColor","marginRight","inter_semi_bold_600","background","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/report-bobinas/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;;AAEzC;AACA,OAAOC,GAAG,MAAM,+BAAsB;AACtC,OAAOC,UAAU,MAAM,sCAA6B;;AAEpD;AACA,SAASC,KAAK,QAAQ,iCAAwB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ACJ,KAAK;QAACqD,IAAI,EAAE,cAAe;QAACd,IAAI,EAAE,EAAG;QAAC0B,UAAU,EAAElD;MAAgB,CAAE,CAAC;IAAA,CACnE,CAAC;EAAA,CACH,CAAC;AAEV,CAAC,CAAC;AAEFR,WAAW,CAAC2D,WAAW,GAAG,aAAa;;AAEvC;AACA;AACA;AACA,eAAejE,eAAe,CAACM,WAAW,CAAC","ignoreList":[]}
|
|
@@ -19,11 +19,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
19
19
|
* Componente ResumeRaking para a interação da ui.
|
|
20
20
|
*/
|
|
21
21
|
const ResumeRaking = /*#__PURE__*/forwardRef(({
|
|
22
|
+
testID,
|
|
22
23
|
title,
|
|
23
24
|
value,
|
|
24
25
|
description
|
|
25
26
|
}, ref) => {
|
|
26
27
|
return /*#__PURE__*/_jsxs(Box, {
|
|
28
|
+
testID: testID,
|
|
27
29
|
ref: ref,
|
|
28
30
|
width: "100%",
|
|
29
31
|
backgroundColor: theme.colors.neutral[25],
|
|
@@ -39,6 +41,7 @@ const ResumeRaking = /*#__PURE__*/forwardRef(({
|
|
|
39
41
|
marginBottom: theme.margins.xs
|
|
40
42
|
},
|
|
41
43
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
44
|
+
testID: `${testID}-title`,
|
|
42
45
|
text: title,
|
|
43
46
|
color: theme.colors.black[100],
|
|
44
47
|
size: theme.fontSizes.sm,
|
|
@@ -46,6 +49,7 @@ const ResumeRaking = /*#__PURE__*/forwardRef(({
|
|
|
46
49
|
fontWeight: "500",
|
|
47
50
|
marginBottom: theme.margins.xs
|
|
48
51
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
52
|
+
testID: `${testID}-value`,
|
|
49
53
|
text: value,
|
|
50
54
|
color: theme.colors.black[180],
|
|
51
55
|
size: theme.fontSizes["2xl"],
|
|
@@ -59,6 +63,7 @@ const ResumeRaking = /*#__PURE__*/forwardRef(({
|
|
|
59
63
|
justifyContent: "flex-end"
|
|
60
64
|
},
|
|
61
65
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
66
|
+
testID: `${testID}-description`,
|
|
62
67
|
text: description,
|
|
63
68
|
color: theme.colors.red[500],
|
|
64
69
|
size: theme.fontSizes.sm,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","Box","Typography","theme","asBaseComponent","jsx","_jsx","jsxs","_jsxs","ResumeRaking","title","value","description","ref","width","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","borderWidth","borderColor","paddingStyle","padding","paddings","xs","marginStyle","marginBottom","margins","children","text","color","black","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","flexStyle","flexDirection","alignItems","justifyContent","red","inter_regular_400","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/resume-raking/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;;AAEzC;AACA,OAAOC,GAAG,MAAM,iBAAQ;AACxB,OAAOC,UAAU,MAAM,wBAAe;;AAEtC;AACA,SAASC,KAAK,QAAQ,6BAA0B;;AAEhD;AACA,SAASC,eAAe,QAAQ,mCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGjE;AACA;AACA;AACA,MAAMC,YAAY,gBAAGT,UAAU,CAC7B,CAAC;EAAEU,KAAK;EAAEC,KAAK;EAAEC;AAAY,CAAC,EAAEC,GAAG,KAAyB;
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Box","Typography","theme","asBaseComponent","jsx","_jsx","jsxs","_jsxs","ResumeRaking","testID","title","value","description","ref","width","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","borderWidth","borderColor","paddingStyle","padding","paddings","xs","marginStyle","marginBottom","margins","children","text","color","black","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","flexStyle","flexDirection","alignItems","justifyContent","red","inter_regular_400","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/resume-raking/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;;AAEzC;AACA,OAAOC,GAAG,MAAM,iBAAQ;AACxB,OAAOC,UAAU,MAAM,wBAAe;;AAEtC;AACA,SAASC,KAAK,QAAQ,6BAA0B;;AAEhD;AACA,SAASC,eAAe,QAAQ,mCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGjE;AACA;AACA;AACA,MAAMC,YAAY,gBAAGT,UAAU,CAC7B,CAAC;EAAEU,MAAM;EAAEC,KAAK;EAAEC,KAAK;EAAEC;AAAY,CAAC,EAAEC,GAAG,KAAyB;EAClE,oBACEN,KAAA,CAACP,GAAG;IACFS,MAAM,EAAEA,MAAO;IACfI,GAAG,EAAEA,GAAI;IACTC,KAAK,EAAE,MAAO;IACdC,eAAe,EAAEb,KAAK,CAACc,MAAM,CAACC,OAAO,CAAC,EAAE,CAAE;IAC1CC,YAAY,EAAE;MACZC,YAAY,EAAEjB,KAAK,CAACkB,YAAY,CAACC,YAAY;MAC7CC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAErB,KAAK,CAACc,MAAM,CAACC,OAAO,CAAC,GAAG;IACvC,CAAE;IACFO,YAAY,EAAE;MACZC,OAAO,EAAEvB,KAAK,CAACwB,QAAQ,CAACC;IAC1B,CAAE;IACFC,WAAW,EAAE;MACXC,YAAY,EAAE3B,KAAK,CAAC4B,OAAO,CAACH;IAC9B,CAAE;IAAAI,QAAA,gBAGF1B,IAAA,CAACJ,UAAU;MACTQ,MAAM,EAAE,GAAGA,MAAM,QAAS;MAC1BuB,IAAI,EAAEtB,KAAM;MACZuB,KAAK,EAAE/B,KAAK,CAACc,MAAM,CAACkB,KAAK,CAAC,GAAG,CAAE;MAC/BC,IAAI,EAAEjC,KAAK,CAACkC,SAAS,CAACC,EAAG;MACzB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le, useRef } from "react";
|
|
4
7
|
import { View, Text, TouchableOpacity, FlatList } from "react-native";
|
|
5
8
|
|
|
@@ -12,21 +15,23 @@ import { Icons } from "../../common/icons-svg/index.js";
|
|
|
12
15
|
// helpers
|
|
13
16
|
import { getIconKeyByValue } from "./helpers/get-icon-by-status.js";
|
|
14
17
|
|
|
15
|
-
// typings
|
|
16
|
-
|
|
17
18
|
// utils
|
|
18
19
|
import { formHoursMinute } from "../../utils/format-date/index.js";
|
|
19
20
|
|
|
21
|
+
// typings
|
|
22
|
+
|
|
23
|
+
import { asBaseComponent } from "../../@types/as-base-component.js";
|
|
24
|
+
|
|
20
25
|
// styles
|
|
21
26
|
import { styles } from "./styles.js";
|
|
22
27
|
import { theme } from "../../styles/theme/theme.js";
|
|
23
|
-
import { asBaseComponent } from "../../@types/as-base-component.js";
|
|
24
28
|
|
|
25
29
|
/**
|
|
26
30
|
* Componente StepIndicator para a interação da ui.
|
|
27
31
|
*/
|
|
28
32
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
29
33
|
const StepIndicator = /*#__PURE__*/forwardRef(({
|
|
34
|
+
testID = "step-indicator",
|
|
30
35
|
data = [],
|
|
31
36
|
type,
|
|
32
37
|
textColorDescription,
|
|
@@ -76,7 +81,7 @@ const StepIndicator = /*#__PURE__*/forwardRef(({
|
|
|
76
81
|
const isSynced = history?.sincronizado === true;
|
|
77
82
|
const canEdit = isFirst && isEditableType && isSynced;
|
|
78
83
|
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
79
|
-
testID:
|
|
84
|
+
testID: `${testID}-item-${index}`,
|
|
80
85
|
activeOpacity: 0.7,
|
|
81
86
|
style: styles({}).containerIndicator,
|
|
82
87
|
disabled: !canEdit,
|
|
@@ -107,11 +112,13 @@ const StepIndicator = /*#__PURE__*/forwardRef(({
|
|
|
107
112
|
}).title,
|
|
108
113
|
children: history?.descricao
|
|
109
114
|
}), history?.data_inicio && /*#__PURE__*/_jsx(Text, {
|
|
115
|
+
testID: `${testID}-data-${index}`,
|
|
110
116
|
style: styles({
|
|
111
117
|
textColorDescription
|
|
112
118
|
}).titleDescription,
|
|
113
119
|
children: `Inicio: ${history.data_inicio} ás ${history.data_fim}`
|
|
114
120
|
}), history.duracao_segundos && /*#__PURE__*/_jsxs(Text, {
|
|
121
|
+
testID: `${testID}-duration-${index}`,
|
|
115
122
|
style: styles({
|
|
116
123
|
textColorDescription
|
|
117
124
|
}).titleDescription,
|
|
@@ -147,6 +154,7 @@ const StepIndicator = /*#__PURE__*/forwardRef(({
|
|
|
147
154
|
keyExtractor: (item, index) => String(item?.id ?? String(index)),
|
|
148
155
|
showsVerticalScrollIndicator: false
|
|
149
156
|
}), isModalVisible && /*#__PURE__*/_jsx(ModalChangeActivity, {
|
|
157
|
+
testID: `${testID}-modal-change-activity`,
|
|
150
158
|
visible: isModalVisible,
|
|
151
159
|
modalConfirm: handleConfirmModal,
|
|
152
160
|
descricao: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","forwardRef","useImperativeHandle","useRef","View","Text","TouchableOpacity","FlatList","ModalChangeActivity","Icons","getIconKeyByValue","formHoursMinute","
|
|
1
|
+
{"version":3,"names":["React","useState","forwardRef","useImperativeHandle","useRef","View","Text","TouchableOpacity","FlatList","ModalChangeActivity","Icons","getIconKeyByValue","formHoursMinute","asBaseComponent","styles","theme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","StepIndicator","testID","data","type","textColorDescription","titleColor","titleNumberColor","onChangeActivity","ref","StepDefault","isModalVisible","setIsModalVisible","currentStepIndex","setCurrentStepIndex","stepData","setStepData","flatListRef","handleOnPressActivitie","stepItem","index","desc","descricao","toLowerCase","isDescanso","includes","replace","sincronizado","handleConfirmModal","newData","updatedStep","label","referencia","value","jr_tipo_atividade_id","key","newSteps","map","item","renderItem","history","isFirst","isEditableType","tipo","isSynced","canEdit","activeOpacity","style","containerIndicator","disabled","onPress","children","containerBall","length","width","height","marginTop","position","backgroundColor","colors","blue","orange","titleNumber","containerMain","title","data_inicio","titleDescription","data_fim","duracao_segundos","scrollToIndex","current","animated","openModalAt","resetSteps","keyExtractor","String","id","showsVerticalScrollIndicator","visible","modalConfirm","onClose","StepCustom","paddingHorizontal","display","flexDirection","step","indexCustom","borderRadius","alignItems","justifyContent","borderWidth","borderColor","icon","top","fontWeight","fontSize","lineHeight","textAlign","color","handleRenderComponent","stepType","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/step-indicator/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,UAAU,EAAEC,mBAAmB,EAAEC,MAAM,QAAQ,OAAO;AAChF,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,QAAkC,cAAc;;AAE/F;AACA,SAASC,mBAAmB,QAAQ,mDAA0C;;AAE9E;AACA,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;AACA,SAASC,iBAAiB,QAAQ,iCAA8B;;AAEhE;AACA,SAASC,eAAe,QAAQ,kCAAyB;;AAEzD;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AACjC,SAASC,KAAK,QAAQ,6BAA0B;;AAEhD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAGA,MAAMC,aAAa,gBAAGpB,UAAU,CAC9B,CACE;EACEqB,MAAM,GAAG,gBAAgB;EACzBC,IAAI,GAAG,EAAE;EACTC,IAAI;EACJC,oBAAoB;EACpBC,UAAU;EACVC,gBAAgB;EAChBC;AACF,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxB,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGhC,QAAQ,CAAC,KAAK,CAAC;IAC3D,MAAM,CAACiC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,EAAE,CAAC;cACTC,SAAS,EAAE,EAAE;cACbC,QAAQ,EAAE,UAAU;cACpBC,eAAe,EAAE;YACnB;UAAE,CACH,CACF;QAAA,GAnDkB,QAAQ4B,WAAW,EAoDxB,CAAC;MAErB,CAAC;IAAC,CACE,CAAC;EAEX,CAAC;EAED,MAAMa,qBAAqB,GAAIC,QAA8B,IAAK;IAChE,QAAQA,QAAQ;MACd,KAAK,SAAS;QACZ,oBAAOxG,IAAA,CAACc,WAAW,IAAE,CAAC;MACxB,KAAK,QAAQ;QACX,oBAAOd,IAAA,CAACqF,UAAU,IAAE,CAAC;MACvB;QACE,oBAAOrF,IAAA,CAACZ,IAAI,IAAE,CAAC;IACnB;EACF,CAAC;EAED,oBAAOY,IAAA,CAAAI,SAAA;IAAAmD,QAAA,EAAGgD,qBAAqB,CAAC/F,IAAK;EAAC,CAAG,CAAC;AAC5C,CACF,CAAC;AAEDH,aAAa,CAACoG,WAAW,GAAG,eAAe;;AAE3C;AACA;AACA;AACA,eAAe7G,eAAe,CAACS,aAAa,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* IMPORTS
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import React, { forwardRef, useMemo } from "react";
|
|
@@ -16,11 +16,12 @@ import { asBaseComponent } from "../../@types/as-base-component.js";
|
|
|
16
16
|
import { styles } from "./styles.js";
|
|
17
17
|
import { theme } from "../../styles/theme/theme.js";
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Componente ToastMessage para a exibição de mensagens de conexão.
|
|
19
|
+
/**
|
|
20
|
+
* Componente ToastMessage para a exibição de mensagens de conexão.
|
|
21
21
|
*/
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
const ToastMessage = /*#__PURE__*/forwardRef(({
|
|
24
|
+
testID,
|
|
24
25
|
text1,
|
|
25
26
|
text2,
|
|
26
27
|
options
|
|
@@ -34,6 +35,7 @@ const ToastMessage = /*#__PURE__*/forwardRef(({
|
|
|
34
35
|
return map[options];
|
|
35
36
|
}, [options, theme]);
|
|
36
37
|
return /*#__PURE__*/_jsxs(View, {
|
|
38
|
+
testID: testID,
|
|
37
39
|
ref: ref,
|
|
38
40
|
style: styles.wrapperToash,
|
|
39
41
|
children: [/*#__PURE__*/_jsx(View, {
|
|
@@ -47,6 +49,7 @@ const ToastMessage = /*#__PURE__*/forwardRef(({
|
|
|
47
49
|
}), /*#__PURE__*/_jsxs(View, {
|
|
48
50
|
style: styles.wrapperText,
|
|
49
51
|
children: [!!text1 && /*#__PURE__*/_jsx(Typography, {
|
|
52
|
+
testID: `${testID}-text1`,
|
|
50
53
|
text: String(text1),
|
|
51
54
|
fontFamily: theme.fonts.inter_medium_500,
|
|
52
55
|
color: "blue500",
|
|
@@ -54,6 +57,7 @@ const ToastMessage = /*#__PURE__*/forwardRef(({
|
|
|
54
57
|
lineHeight: theme.lineHeight["2xl"],
|
|
55
58
|
letterSpacing: "regular"
|
|
56
59
|
}), !!text2 && /*#__PURE__*/_jsx(Typography, {
|
|
60
|
+
testID: `${testID}-text2`,
|
|
57
61
|
text: String(text2),
|
|
58
62
|
fontFamily: "inter_regular_400",
|
|
59
63
|
color: "black25",
|
|
@@ -67,8 +71,8 @@ const ToastMessage = /*#__PURE__*/forwardRef(({
|
|
|
67
71
|
});
|
|
68
72
|
ToastMessage.displayName = "ToastMessage";
|
|
69
73
|
|
|
70
|
-
/**
|
|
71
|
-
* EXPORT
|
|
74
|
+
/**
|
|
75
|
+
* EXPORT
|
|
72
76
|
*/
|
|
73
77
|
export default asBaseComponent(ToastMessage);
|
|
74
78
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","useMemo","View","Typography","asBaseComponent","styles","theme","jsx","_jsx","jsxs","_jsxs","ToastMessage","text1","text2","options","ref","borderColor","map","success","colors","green","alert","blue","error","red","style","wrapperToash","children","wrapperBorder","
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useMemo","View","Typography","asBaseComponent","styles","theme","jsx","_jsx","jsxs","_jsxs","ToastMessage","testID","text1","text2","options","ref","borderColor","map","success","colors","green","alert","blue","error","red","style","wrapperToash","children","wrapperBorder","borderCustom","backgroundColor","wrapperText","text","String","fontFamily","fonts","inter_medium_500","color","size","fontSizes","xs","lineHeight","letterSpacing","marginBottom","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/toast-message/index.tsx"],"mappings":";;AAAA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAClD,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,OAAOC,UAAU,MAAM,wBAAe;;AAEtC;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;AAEhE,SAASC,MAAM,QAAQ,aAAU;AACjC,SAASC,KAAK,QAAQ,6BAA0B;;AAEhD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGA,MAAMC,YAAY,gBAAGX,UAAU,CAC7B,CAAC;EAAEY,MAAM;EAAEC,KAAK;EAAEC,KAAK;EAAEC;AAAQ,CAAC,EAAEC,GAAG,KAAyB;EAC9D,MAAMC,WAAW,GAAGhB,OAAO,CAAC,MAAM;IAChC,MAAMiB,GAAG,GAAG;MACVC,OAAO,EAAEb,KAAK,CAACc,MAAM,EAAEC,KAAK,CAAC,GAAG,CAAC,IAAI,SAAS;MAC9CC,KAAK,EAAEhB,KAAK,CAACc,MAAM,EAAEG,IAAI,CAAC,GAAG,CAAC,IAAI,SAAS;MAC3CC,KAAK,EAAElB,KAAK,CAACc,MAAM,EAAEK,GAAG,CAAC,GAAG,CAAC,IAAI;IACnC,CAAU;IACV,OAAOP,GAAG,CAACH,OAAO,CAAC;EACrB,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ACjB,CACF;IAAA,CACG,CAAC;EAAA,CACH,CAAC;AAEX,CACF,CAAC;AAEDjC,YAAY,CAACkC,WAAW,GAAG,cAAc;;AAEzC;AACA;AACA;AACA,eAAezC,eAAe,CAACO,YAAY,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","useMemo","useState","TouchableOpacity","Text","View","asBaseComponent","styles","jsx","_jsx","ToggleFuel","options","optionsProp","value","defaultValue","testIDPrefix","accessibleLabel","onSelect","ref","length","label","initial","internal","setInternal","selected","handlePress","v","undefined","style","container","accessibilityRole","accessibilityLabel","children","map","opt","idx","isSelected","isFirst","isLast","
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useMemo","useState","TouchableOpacity","Text","View","asBaseComponent","styles","jsx","_jsx","ToggleFuel","options","optionsProp","value","defaultValue","testIDPrefix","accessibleLabel","onSelect","ref","length","label","initial","internal","setInternal","selected","handlePress","v","undefined","testID","style","container","accessibilityRole","accessibilityLabel","children","map","opt","idx","isSelected","isFirst","isLast","accessibilityState","onPress","item","itemFirst","itemLast","itemSelected","activeOpacity","itemText","itemTextSelected","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/toggle-fuel/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC5D,SAASC,gBAAgB,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;;AAE3D;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,YAAS;;AAEhC;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAGA,MAAMC,UAAU,gBAAGV,UAAU,CAC3B,CACE;EACEW,OAAO,EAAEC,WAAW;EACpBC,KAAK;EACLC,YAAY;EACZC,YAAY,GAAG,aAAa;EAC5BC,eAAe,GAAG,aAAa;EAC/BC;AACF,CAAC,EACD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,iBAAiB,EAAC,KAAK;QACvBS,kBAAkB,EAAE;UAAEhB,QAAQ,EAAEa;QAAW,CAAE;QAC7CI,OAAO,EAAEA,CAAA,KAAMhB,WAAW,CAACU,GAAG,CAACtB,KAAK,CAAE;QACtCgB,KAAK,EAAE,CACLtB,MAAM,CAACmC,IAAI,EACXJ,OAAO,IAAI/B,MAAM,CAACoC,SAAS,EAC3BJ,MAAM,IAAIhC,MAAM,CAACqC,QAAQ,EACzBP,UAAU,IAAI9B,MAAM,CAACsC,YAAY,CACjC;QACFC,aAAa,EAAE,GAAI;QAAAb,QAAA,eAEnBxB,IAAA,CAACL,IAAI;UAACyB,KAAK,EAAE,CAACtB,MAAM,CAACwC,QAAQ,EAAEV,UAAU,IAAI9B,MAAM,CAACyC,gBAAgB,CAAE;UAAAf,QAAA,EACnEE,GAAG,CAACf;QAAK,CACN;MAAC,GAfF,GAAGe,GAAG,CAACtB,KAAK,EAgBD,CAAC;IAEvB,CAAC;EAAC,CACE,CAAC;AAEX,CACF,CAAC;AAEDH,UAAU,CAACuC,WAAW,GAAG,YAAY;;AAErC;AACA;AACA;AACA,eAAe3C,eAAe,CAACI,UAAU,CAAC","ignoreList":[]}
|
|
@@ -15,6 +15,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
const Typography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
16
16
|
// desestruturando as propiedades do componente
|
|
17
17
|
const {
|
|
18
|
+
testID = "typography",
|
|
18
19
|
text = "Hello Dev",
|
|
19
20
|
color = "#1E1E1E",
|
|
20
21
|
size = 23,
|
|
@@ -58,6 +59,7 @@ const Typography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
58
59
|
paddingBottom
|
|
59
60
|
};
|
|
60
61
|
return /*#__PURE__*/_jsx(Text, {
|
|
62
|
+
testID: testID,
|
|
61
63
|
ref: ref,
|
|
62
64
|
numberOfLines: numberOfLines,
|
|
63
65
|
ellipsizeMode: ellipsizeMode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","Text","asBaseComponent","styles","jsx","_jsx","Typography","props","ref","text","color","size","lineHeight","align","textDecoration","fontWeight","fontFamily","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","numberOfLines","ellipsizeMode","data","style","children","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/typography/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlC,MAAMC,UAAU,gBAAGN,UAAU,CAAsB,CAACO,KAAK,EAAEC,GAAG,KAAyB;EACrF;EACA,MAAM;IACJC,IAAI,GAAG,WAAW;IAClBC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,EAAE;IACTC,UAAU,GAAG,EAAE;IACfC,KAAK,GAAG,MAAM;IACdC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC,aAAa;IACbC,aAAa;IACbC;EACF,CAAC,
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Text","asBaseComponent","styles","jsx","_jsx","Typography","props","ref","testID","text","color","size","lineHeight","align","textDecoration","fontWeight","fontFamily","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","numberOfLines","ellipsizeMode","data","style","children","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/typography/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlC,MAAMC,UAAU,gBAAGN,UAAU,CAAsB,CAACO,KAAK,EAAEC,GAAG,KAAyB;EACrF;EACA,MAAM;IACJC,MAAM,GAAG,YAAY;IACrBC,IAAI,GAAG,WAAW;IAClBC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,EAAE;IACTC,UAAU,GAAG,EAAE;IACfC,KAAK,GAAG,MAAM;IACdC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC,aAAa;IACbC,aAAa;IACbC;EACF,CAAC,GAAGtB,KAAK;;EAET;EACA,MAAMuB,IAAI,GAAG;IACXnB,KAAK;IACLC,IAAI;IACJC,UAAU;IACVC,KAAK;IACLC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC;EACF,CAAmB;EAEnB,oBACEtB,IAAA,CAACJ,IAAI;IACHQ,MAAM,EAAEA,MAAO;IACfD,GAAG,EAAEA,GAAI;IACToB,aAAa,EAAEA,aAAc;IAC7BC,aAAa,EAAEA,aAAc;IAC7BE,KAAK,EAAE5B,MAAM,CAAC2B,IAAI,CAAC,CAACpB,IAAK;IAAAsB,QAAA,EAExBtB;EAAI,CACD,CAAC;AAEX,CAAC,CAAC;AAEFJ,UAAU,CAAC2B,WAAW,GAAG,MAAM;;AAE/B;AACA;AACA;AACA,eAAe/B,eAAe,CAACI,UAAU,CAAC","ignoreList":[]}
|
|
@@ -23,6 +23,7 @@ import { theme } from "../../styles/theme/theme.js";
|
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
25
25
|
const {
|
|
26
|
+
testID = "user-journey-work-card",
|
|
26
27
|
name = "Expresso F.",
|
|
27
28
|
workDate = "25/01/2025",
|
|
28
29
|
initialTime = "00:40",
|
|
@@ -35,6 +36,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
35
36
|
handleNavigationNotification
|
|
36
37
|
} = props;
|
|
37
38
|
return /*#__PURE__*/_jsxs(Box, {
|
|
39
|
+
testID: testID,
|
|
38
40
|
ref: ref,
|
|
39
41
|
width: width,
|
|
40
42
|
paddingStyle: {
|
|
@@ -57,6 +59,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
57
59
|
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
58
60
|
onPress: handleNavigation,
|
|
59
61
|
children: /*#__PURE__*/_jsx(Image, {
|
|
62
|
+
testID: `${testID}-avatar`,
|
|
60
63
|
style: {
|
|
61
64
|
width: 50,
|
|
62
65
|
height: 50,
|
|
@@ -80,6 +83,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
80
83
|
},
|
|
81
84
|
children: [/*#__PURE__*/_jsx(Box, {
|
|
82
85
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
86
|
+
testID: `${testID}-nome-label`,
|
|
83
87
|
text: `Motorista(a): `,
|
|
84
88
|
size: theme.fontSizes.xs,
|
|
85
89
|
color: theme.colors.black[100],
|
|
@@ -89,6 +93,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
89
93
|
})
|
|
90
94
|
}), /*#__PURE__*/_jsx(Box, {
|
|
91
95
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
96
|
+
testID: `${testID}-nome-value`,
|
|
92
97
|
text: `${name}`,
|
|
93
98
|
size: theme.fontSizes.xs,
|
|
94
99
|
color: theme.colors.gray[800],
|
|
@@ -106,6 +111,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
106
111
|
icon: "CALENDAR",
|
|
107
112
|
size: 22
|
|
108
113
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
114
|
+
testID: `${testID}-work-date-label`,
|
|
109
115
|
text: "Jornada Trabalho: ",
|
|
110
116
|
fontFamily: theme.fonts.inter_bold_700,
|
|
111
117
|
size: theme.fontSizes.xs,
|
|
@@ -113,6 +119,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
113
119
|
letterSpacing: "regular",
|
|
114
120
|
lineHeight: theme.lineHeight["2xl"]
|
|
115
121
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
122
|
+
testID: `${testID}-work-date-value`,
|
|
116
123
|
text: workDate,
|
|
117
124
|
size: theme.fontSizes.xs,
|
|
118
125
|
fontFamily: theme.fonts.inter_regular_400,
|
|
@@ -138,6 +145,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
138
145
|
})]
|
|
139
146
|
})]
|
|
140
147
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
148
|
+
testID: `${testID}-notification`,
|
|
141
149
|
activeOpacity: 0.7,
|
|
142
150
|
onPress: handleNavigationNotification,
|
|
143
151
|
children: [counterBadge > 0 && /*#__PURE__*/_jsx(Box, {
|
|
@@ -163,6 +171,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
163
171
|
zIndex: 10
|
|
164
172
|
}],
|
|
165
173
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
174
|
+
testID: `${testID}-notification-text`,
|
|
166
175
|
text: `${counterBadge}`,
|
|
167
176
|
align: "center",
|
|
168
177
|
size: theme.fontSizes["2xs"],
|
|
@@ -172,6 +181,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
172
181
|
letterSpacing: "regular"
|
|
173
182
|
})
|
|
174
183
|
}), /*#__PURE__*/_jsx(Icons, {
|
|
184
|
+
testID: `${testID}-notification-icon`,
|
|
175
185
|
icon: "BELL",
|
|
176
186
|
size: 28,
|
|
177
187
|
style: {
|
|
@@ -197,12 +207,14 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
197
207
|
marginRight: theme.margins.sm
|
|
198
208
|
},
|
|
199
209
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
210
|
+
testID: `${testID}-initial-time-value`,
|
|
200
211
|
text: `${initialTime}`,
|
|
201
212
|
size: theme.fontSizes.md,
|
|
202
213
|
align: "center",
|
|
203
214
|
color: theme.colors.black[100],
|
|
204
215
|
fontFamily: theme.fonts.inter_semi_bold_600
|
|
205
216
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
217
|
+
testID: `${testID}-initial-time-label`,
|
|
206
218
|
text: "INÍCIO",
|
|
207
219
|
size: theme.fontSizes["2xs"],
|
|
208
220
|
align: "center",
|
|
@@ -213,12 +225,14 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
213
225
|
})]
|
|
214
226
|
}), /*#__PURE__*/_jsxs(Box, {
|
|
215
227
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
228
|
+
testID: `${testID}-duration-value`,
|
|
216
229
|
text: `${duration}`,
|
|
217
230
|
size: theme.fontSizes.md,
|
|
218
231
|
align: "center",
|
|
219
232
|
color: theme.colors.black[100],
|
|
220
233
|
fontFamily: theme.fonts.inter_bold_700
|
|
221
234
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
235
|
+
testID: `${testID}-duration-label`,
|
|
222
236
|
text: "DURAÇÃO",
|
|
223
237
|
size: theme.fontSizes["2xs"],
|
|
224
238
|
align: "center",
|