jornada-ui 0.4.18 → 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/list-supplies/index.js +132 -111
- package/lib/commonjs/components/list-supplies/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/notification-details-card/index.js +6 -6
- 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/trip-details-card/index.js +218 -182
- package/lib/commonjs/components/trip-details-card/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/commonjs/index.js +32 -32
- 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/list-supplies/index.js +134 -113
- package/lib/module/components/list-supplies/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/notification-details-card/index.js +6 -6
- 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/trip-details-card/index.js +221 -184
- package/lib/module/components/trip-details-card/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/module/index.js +4 -4
- package/lib/module/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/list-supplies/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/trip-details-card/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/commonjs/src/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/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/list-supplies/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/trip-details-card/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/lib/typescript/module/src/index.d.ts +4 -4
- package/lib/typescript/module/src/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/list-supplies/index.tsx +178 -153
- 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/notification-details-card/index.tsx +180 -180
- 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/trip-details-card/index.tsx +65 -32
- 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
- package/src/index.tsx +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/list-supplies/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/list-supplies/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA4B,MAAM,OAAO,CAAC;AAWjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;;AAmKjD,wBAA6C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/maintenance-description-input/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/maintenance-description-input/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;;;;;;mBAchC,CAAC;oBAAkD,CAAC;4BACpC,CAAC;2BAAmD,CAAA;+BAG9E,CAAA;8BACG,CAAC;mBACC,CAAC;uBAIZ,CAAF;wBAEqB,CAAC;sBACd,CAAR;yBAGa,CAAC;mBACL,CAAC;yBACU,CAAC;uBAEX,CAAT;wBACS,CAAA;sBACA,CAAT;;;AAuBH,wBAAwE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modal-maintenance/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAM1D,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modal-maintenance/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAM1D,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkKtD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modal-type-activities/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAe1C,OAAO,KAAK,EAAE,oBAAoB,EAAa,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modal-type-activities/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAe1C,OAAO,KAAK,EAAE,oBAAoB,EAAa,MAAM,aAAa,CAAC;AAyKnE;;GAEG;;AACH,wBAAoD"}
|
|
@@ -11,6 +11,8 @@ interface IActivity {
|
|
|
11
11
|
tipo: "trabalho" | "descanso";
|
|
12
12
|
}
|
|
13
13
|
interface IModalTypeActivities extends ModalProps, IGlobalCss {
|
|
14
|
+
/** propiedade para identificar o componente*/
|
|
15
|
+
testID?: string;
|
|
14
16
|
/** função que fecha modal */
|
|
15
17
|
onClose: () => void;
|
|
16
18
|
/** tipo de atividades */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modal-type-activities/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAGhE,UAAU,SAAS;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;CAC/B;AAED,UAAU,oBAAqB,SAAQ,UAAU,EAAE,UAAU;IAC3D,6BAA6B;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,yBAAyB;IACzB,YAAY,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAElC,yBAAyB;IACzB,SAAS,EAAE,OAAO,CAAC;IAEnB,qCAAqC;IAErC,oBAAoB,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;CACrD;AAED;;GAEG;AACH,YAAY,EAAE,oBAAoB,EAAE,SAAS,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modal-type-activities/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAGhE,UAAU,SAAS;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;CAC/B;AAED,UAAU,oBAAqB,SAAQ,UAAU,EAAE,UAAU;IAC3D,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,6BAA6B;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,yBAAyB;IACzB,YAAY,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAElC,yBAAyB;IACzB,SAAS,EAAE,OAAO,CAAC;IAEnB,qCAAqC;IAErC,oBAAoB,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;CACrD;AAED;;GAEG;AACH,YAAY,EAAE,oBAAoB,EAAE,SAAS,EAAE,CAAC"}
|
package/lib/typescript/module/src/components/modals/modal-change-activitie-history/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modals/modal-change-activitie-history/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAK7D;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modals/modal-change-activitie-history/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAK7D;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAiKnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modals/modal-change-activitie-history/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,YAAY,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/E,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,OAAO,EAAE,KAAK,yBAAyB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modals/modal-change-activitie-history/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,UAAU,yBAAyB;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,YAAY,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/E,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,OAAO,EAAE,KAAK,yBAAyB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/report-bobinas/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/report-bobinas/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAkL1C;;GAEG;;;;;;;;;mBAjKkD,CAAC;oBAE9C,CAAC;4BAEH,CAAC;2BACiB,CAAC;+BAGd,CAAC;8BAID,CAAC;mBAEO,CAAC;uBAC0B,CAAC;wBAEvB,CAAC;sBAElB,CAAC;yBAC4B,CAAC;mBAIzB,CAAC;yBAEL,CAAL;uBAA8B,CAAC;wBAA+B,CAAC;sBAExD,CAAP;;;kBAQK,CAAC;iBAEmB,CAAC;YAEJ,CAAC;qBACC,CAAC;gBAEb,CAAC;iBACU,CAAC;sBAIR,CAAC;;;cAmBV,CAAA;kBAEW,CAAC;mBACG,CAAC;iBAEZ,CAAC;oBAEH,CAAZ;;;eAO2C,CAAC;mBAE5B,CAAL;oBACgB,CAAC;kBACV,CAAR;qBACiB,CAAC;;;;;;;gBA6CkC,CAAC;iBACnD,CAAC;qBAA4B,CAAC;qBACvB,CAAC;;;;AA6BpB,wBAA4C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/resume-raking/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/resume-raking/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;AAgEhD,wBAA6C"}
|
|
@@ -2,8 +2,21 @@
|
|
|
2
2
|
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
interface IRankingCard {
|
|
5
|
+
/**
|
|
6
|
+
* TestID para testes automático e identificação
|
|
7
|
+
*/
|
|
8
|
+
testID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Titulo para o card
|
|
11
|
+
*/
|
|
5
12
|
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* Valor para o card
|
|
15
|
+
*/
|
|
6
16
|
value: string;
|
|
17
|
+
/**
|
|
18
|
+
* Descrição para o card
|
|
19
|
+
*/
|
|
7
20
|
description: string;
|
|
8
21
|
}
|
|
9
22
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/resume-raking/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/resume-raking/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,UAAU,YAAY;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/step-indicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/step-indicator/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA4D,MAAM,OAAO,CAAC;AAgBjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAiQlD;;GAEG;;AACH,wBAA8C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast-message/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast-message/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AA8D1D;;GAEG;;AACH,wBAA6C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast-message/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,YAAY,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast-message/interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,YAAY,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toggle-fuel/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAwC,MAAM,OAAO,CAAC;AAI7D,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toggle-fuel/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAwC,MAAM,OAAO,CAAC;AAI7D,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,aAAa,CAAC;AAmFjE;;GAEG;;AACH,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/trip-details-card/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/trip-details-card/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA2B,MAAM,OAAO,CAAC;AAYhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;;AA4RpD,wBAAgD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAyE1C;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/user-journey-work-card/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/user-journey-work-card/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AA2O1C;;GAEG;;;;;;;;;;;;;mBA7MK,CAAC;oBAGW,CAAC;4BAGb,CAAC;2BACD,CAAF;+BAC8B,CAAC;8BACD,CAAC;mBAE7B,CAAJ;uBAA8C,CAAC;wBAEtC,CAAC;sBAGN,CAAC;yBAEC,CAAV;mBACoB,CAAC;yBACH,CAAC;uBACP,CAAR;wBACM,CAAT;sBAES,CAAH;;;kBAOS,CAAL;iBACkB,CAAA;YAEY,CAAC;qBAEhC,CAAT;gBAEoC,CAAC;iBAChB,CAAC;sBAEL,CAAC;;;cAUJ,CAAC;kBAEE,CAAR;mBACQ,CAAf;iBACe,CAAT;oBACS,CAAT;;;eAQoC,CAAC;mBAChC,CAAF;oBAEE,CAAX;kBACe,CAAC;qBACH,CAAL;;;;;;;gBAiCiB,CAAC;iBACjB,CAAL;qBACK,CAAT;qBAA2B,CAAC;;;AAsG/B,wBAAoD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/user-profile/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/user-profile/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AA4N1C;;GAEG;;;;;;;;;;;;mBArMK,CAAC;oBAIL,CAAC;4BAID,CAAH;2BAGK,CAAA;+BAEA,CAAH;8BAAsD,CAAC;mBACpB,CAAA;uBACM,CAAC;wBAG5B,CAAC;sBACuB,CAAC;yBAAiD,CAAC;mBAEtF,CAAH;yBAEO,CAAR;uBACQ,CAAP;wBACY,CAAC;sBACK,CAAC;;;kBAUL,CAAC;iBAGJ,CAAH;YAGG,CAAJ;qBACO,CAAC;gBAGV,CAAD;iBAIC,CAAD;sBAE6B,CAAA;;;cAcK,CAAC;kBAE7B,CAAC;mBAA2C,CAAC;iBACxB,CAAC;oBACM,CAAC;;;eAU9B,CAAL;mBACK,CAAH;oBACG,CAAZ;kBACU,CAAL;qBAGK,CAAA;;;;;;;gBAyC+B,CAAC;iBACzB,CAAC;qBACL,CAAC;qBAA4B,CAAC;;;AAqE3C,wBAA4C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/weekly-hours-balance/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;;;;mBAezB,CAAC;oBAEjB,CAAC;4BAAmD,CAAC;2BAEtD,CAAA;+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/weekly-hours-balance/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;;;;mBAezB,CAAC;oBAEjB,CAAC;4BAAmD,CAAC;2BAEtD,CAAA;+BAEA,CAAA;8BAEN,CAAD;mBACK,CAAC;uBAGF,CAAC;wBAGA,CAAA;sBAEI,CAAC;yBACH,CAAC;mBACmB,CAAC;yBACvB,CAAF;uBAGI,CAAN;wBACM,CAAA;sBAA4B,CAAC;;;kBAOJ,CAAC;iBAI1B,CAAH;YAGqC,CAAC;qBACV,CAAC;gBAEf,CAAC;iBACD,CAAC;sBAEL,CAAC;;;cAeQ,CAAC;kBACL,CAAC;mBACE,CAAC;iBACZ,CAAD;oBACU,CAAC;;;eAQd,CAAN;mBAGA,CAAF;oBAI6B,CAAA;kBAEf,CAAC;qBACR,CAAC;;;;;;;gBAAi0C,CAAC;iBAAuB,CAAC;qBAA2B,CAAC;qBAA2B,CAAC;;;;AAD55C,wBAAmD"}
|
|
@@ -25,24 +25,24 @@ export { default as WeeklyTable } from "./components/weekly-table";
|
|
|
25
25
|
export { default as CardMaintenance } from "./components/card-maintenance";
|
|
26
26
|
export { default as ModalMaintenance } from "./components/modal-maintenance";
|
|
27
27
|
export { default as LoadingCircle } from "./components/loading-circle";
|
|
28
|
-
export { default as ConfirmWithdrawModal } from "./components/confirm-withdraw-modal";
|
|
29
28
|
export { default as MonthlySummaryTable } from "./components/monthly-summary-table";
|
|
30
29
|
export { default as CardWithDrawCoil } from "./components/card-with-draw-coil";
|
|
31
30
|
export { default as CoilRemovalCode } from "./components/coil-removel-code";
|
|
32
31
|
export { default as SupplyErrorCard } from "./components/supply-error-card";
|
|
33
32
|
export { default as MaintenanceDescriptionInput } from "./components/maintenance-description-input";
|
|
34
33
|
export { default as TripDetailsCard } from "./components/trip-details-card";
|
|
35
|
-
export { default as TruckNotFound } from "./components/truck-not-found";
|
|
36
34
|
export { default as TravelHistory } from "./components/travel-history";
|
|
37
|
-
export { default as
|
|
35
|
+
export { default as TruckNotFound } from "./components/truck-not-found";
|
|
38
36
|
export { default as ToastMessage } from "./components/toast-message";
|
|
39
|
-
export { default as
|
|
37
|
+
export { default as BottomMessageConexion } from "./components/bottom-message-conexion";
|
|
40
38
|
export { default as ResumeRaking } from "./components/resume-raking";
|
|
41
39
|
export { default as ListSupplies } from "./components/list-supplies";
|
|
42
40
|
export { default as ListDevices } from "./components/list-devices";
|
|
41
|
+
export { default as ModalTypeActivities } from "./components/modal-type-activities";
|
|
43
42
|
export { default as ModalActivityReason } from "./components/modals/modal-activity-reason";
|
|
44
43
|
export { default as ModalJourneyRectification } from "./components/modals/modal-edite-journey-rectification";
|
|
45
44
|
export { default as ModalCreteActivitie } from "./components/modals/modal-create-activitie";
|
|
45
|
+
export { default as ConfirmWithdrawModal } from "./components/confirm-withdraw-modal";
|
|
46
46
|
export { default as ModalToConfirmations } from "./components/modals/modal-to-confimations";
|
|
47
47
|
export { default as ActivityTimeline } from "./components/activity-step";
|
|
48
48
|
export { default as NotificationCard } from "./components/notification-card";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E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zE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAG3F,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGlF,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jornada-ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.20",
|
|
4
4
|
"description": "Biblioteca para desenvolvimento dos componentes para utilizar nos app",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"scripts": {
|
|
44
44
|
"example": "yarn workspace jornada-ui-example",
|
|
45
45
|
"test": "jest",
|
|
46
|
+
"test:snapshots": "jest -- -u",
|
|
46
47
|
"storybook": "storybook dev -p 6006",
|
|
47
48
|
"typecheck": "tsc",
|
|
48
49
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React, { forwardRef } from "react";
|
|
5
|
-
import { View } from "react-native";
|
|
6
|
-
|
|
7
|
-
// typings
|
|
8
|
-
import { asBaseComponent } from "../../@types/as-base-component";
|
|
9
|
-
import type { IBoxInterface } from "./interface";
|
|
10
|
-
|
|
11
|
-
// styles
|
|
12
|
-
import { styles } from "./styles";
|
|
13
|
-
|
|
14
|
-
const Box = forwardRef<any, IBoxInterface>((props, ref): React.ReactElement => {
|
|
15
|
-
const {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
style,
|
|
27
|
-
} = props;
|
|
28
|
-
|
|
29
|
-
const styleProps = {
|
|
30
|
-
width,
|
|
31
|
-
height,
|
|
32
|
-
backgroundColor,
|
|
33
|
-
borderStyled,
|
|
34
|
-
flexStyle,
|
|
35
|
-
paddingStyle,
|
|
36
|
-
marginStyle,
|
|
37
|
-
opacity,
|
|
38
|
-
style,
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
return (
|
|
42
|
-
<View ref={ref} testID={testID} style={[styles(styleProps).boxStyle, style]}>
|
|
43
|
-
{children}
|
|
44
|
-
</View>
|
|
45
|
-
);
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
Box.displayName = "Box";
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Componente Box para a interação da ui.
|
|
52
|
-
*/
|
|
53
|
-
export default asBaseComponent(Box);
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React, { forwardRef } from "react";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
import { asBaseComponent } from "../../@types/as-base-component";
|
|
9
|
+
import type { IBoxInterface } from "./interface";
|
|
10
|
+
|
|
11
|
+
// styles
|
|
12
|
+
import { styles } from "./styles";
|
|
13
|
+
|
|
14
|
+
const Box = forwardRef<any, IBoxInterface>((props, ref): React.ReactElement => {
|
|
15
|
+
const {
|
|
16
|
+
testID = "box",
|
|
17
|
+
children,
|
|
18
|
+
width,
|
|
19
|
+
height,
|
|
20
|
+
backgroundColor,
|
|
21
|
+
borderStyled,
|
|
22
|
+
flexStyle,
|
|
23
|
+
paddingStyle,
|
|
24
|
+
marginStyle,
|
|
25
|
+
opacity = 1,
|
|
26
|
+
style,
|
|
27
|
+
} = props;
|
|
28
|
+
|
|
29
|
+
const styleProps = {
|
|
30
|
+
width,
|
|
31
|
+
height,
|
|
32
|
+
backgroundColor,
|
|
33
|
+
borderStyled,
|
|
34
|
+
flexStyle,
|
|
35
|
+
paddingStyle,
|
|
36
|
+
marginStyle,
|
|
37
|
+
opacity,
|
|
38
|
+
style,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<View ref={ref} testID={testID} style={[styles(styleProps).boxStyle, style]}>
|
|
43
|
+
{children}
|
|
44
|
+
</View>
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
Box.displayName = "Box";
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Componente Box para a interação da ui.
|
|
52
|
+
*/
|
|
53
|
+
export default asBaseComponent(Box);
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React, { forwardRef } from "react";
|
|
5
|
-
import { Text, TouchableOpacity, type TextStyle, ActivityIndicator, View } from "react-native";
|
|
6
|
-
// typings
|
|
7
|
-
import { asBaseComponent } from "../../@types/as-base-component";
|
|
8
|
-
import { type IButtonProps } from "./interface";
|
|
9
|
-
|
|
10
|
-
// styles
|
|
11
|
-
import { styles } from "./styles";
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Componente Button para a interação da ui.
|
|
15
|
-
*/
|
|
16
|
-
const Button = forwardRef<any, IButtonProps>((props, ref): React.ReactElement => {
|
|
17
|
-
const {
|
|
18
|
-
title = "Button",
|
|
19
|
-
width,
|
|
20
|
-
height,
|
|
21
|
-
backgroundColor,
|
|
22
|
-
borderStyled,
|
|
23
|
-
flexStyle,
|
|
24
|
-
paddingStyle,
|
|
25
|
-
marginStyle,
|
|
26
|
-
testID,
|
|
27
|
-
opacity = 1,
|
|
28
|
-
children,
|
|
29
|
-
style,
|
|
30
|
-
fontStyle,
|
|
31
|
-
buttonTextStyle,
|
|
32
|
-
onPress,
|
|
33
|
-
isLoading,
|
|
34
|
-
...res
|
|
35
|
-
} = props;
|
|
36
|
-
|
|
37
|
-
const styleProps = {
|
|
38
|
-
testID,
|
|
39
|
-
width,
|
|
40
|
-
height,
|
|
41
|
-
opacity,
|
|
42
|
-
backgroundColor,
|
|
43
|
-
children,
|
|
44
|
-
borderStyled,
|
|
45
|
-
flexStyle,
|
|
46
|
-
paddingStyle,
|
|
47
|
-
marginStyle,
|
|
48
|
-
fontStyle,
|
|
49
|
-
buttonTextStyle,
|
|
50
|
-
isLoading,
|
|
51
|
-
style,
|
|
52
|
-
} as IButtonProps;
|
|
53
|
-
|
|
54
|
-
Button.displayName = "Button";
|
|
55
|
-
|
|
56
|
-
return (
|
|
57
|
-
<TouchableOpacity
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
style={[styles(styleProps).buttonStyle, style]}
|
|
62
|
-
onPress={onPress}
|
|
63
|
-
{...res}
|
|
64
|
-
>
|
|
65
|
-
{isLoading ? (
|
|
66
|
-
<ActivityIndicator testID="button-loading" size="small" color="white" />
|
|
67
|
-
) : (
|
|
68
|
-
<Text style={[styles(styleProps).buttonTextStyle as TextStyle]}>{title}</Text>
|
|
69
|
-
)}
|
|
70
|
-
|
|
71
|
-
<View />
|
|
72
|
-
</TouchableOpacity>
|
|
73
|
-
);
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
export default asBaseComponent(Button);
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React, { forwardRef } from "react";
|
|
5
|
+
import { Text, TouchableOpacity, type TextStyle, ActivityIndicator, View } from "react-native";
|
|
6
|
+
// typings
|
|
7
|
+
import { asBaseComponent } from "../../@types/as-base-component";
|
|
8
|
+
import { type IButtonProps } from "./interface";
|
|
9
|
+
|
|
10
|
+
// styles
|
|
11
|
+
import { styles } from "./styles";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Componente Button para a interação da ui.
|
|
15
|
+
*/
|
|
16
|
+
const Button = forwardRef<any, IButtonProps>((props, ref): React.ReactElement => {
|
|
17
|
+
const {
|
|
18
|
+
title = "Button",
|
|
19
|
+
width,
|
|
20
|
+
height,
|
|
21
|
+
backgroundColor,
|
|
22
|
+
borderStyled,
|
|
23
|
+
flexStyle,
|
|
24
|
+
paddingStyle,
|
|
25
|
+
marginStyle,
|
|
26
|
+
testID,
|
|
27
|
+
opacity = 1,
|
|
28
|
+
children,
|
|
29
|
+
style,
|
|
30
|
+
fontStyle,
|
|
31
|
+
buttonTextStyle,
|
|
32
|
+
onPress,
|
|
33
|
+
isLoading,
|
|
34
|
+
...res
|
|
35
|
+
} = props;
|
|
36
|
+
|
|
37
|
+
const styleProps = {
|
|
38
|
+
testID,
|
|
39
|
+
width,
|
|
40
|
+
height,
|
|
41
|
+
opacity,
|
|
42
|
+
backgroundColor,
|
|
43
|
+
children,
|
|
44
|
+
borderStyled,
|
|
45
|
+
flexStyle,
|
|
46
|
+
paddingStyle,
|
|
47
|
+
marginStyle,
|
|
48
|
+
fontStyle,
|
|
49
|
+
buttonTextStyle,
|
|
50
|
+
isLoading,
|
|
51
|
+
style,
|
|
52
|
+
} as IButtonProps;
|
|
53
|
+
|
|
54
|
+
Button.displayName = "Button";
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<TouchableOpacity
|
|
58
|
+
testID={testID}
|
|
59
|
+
ref={ref}
|
|
60
|
+
activeOpacity={0.7}
|
|
61
|
+
style={[styles(styleProps).buttonStyle, style]}
|
|
62
|
+
onPress={onPress}
|
|
63
|
+
{...res}
|
|
64
|
+
>
|
|
65
|
+
{isLoading ? (
|
|
66
|
+
<ActivityIndicator testID="button-loading" size="small" color="white" />
|
|
67
|
+
) : (
|
|
68
|
+
<Text style={[styles(styleProps).buttonTextStyle as TextStyle]}>{title}</Text>
|
|
69
|
+
)}
|
|
70
|
+
|
|
71
|
+
<View />
|
|
72
|
+
</TouchableOpacity>
|
|
73
|
+
);
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export default asBaseComponent(Button);
|
|
@@ -62,10 +62,10 @@ const CapturePhoto = forwardRef<any, ICapturePhotoProps>((props, ref): React.Rea
|
|
|
62
62
|
|
|
63
63
|
return (
|
|
64
64
|
<TouchableOpacity
|
|
65
|
+
testID={testID}
|
|
65
66
|
ref={ref}
|
|
66
67
|
activeOpacity={0.7}
|
|
67
68
|
onPress={takePhotoWithImagePicker}
|
|
68
|
-
testID={testID}
|
|
69
69
|
style={[styles.capturePhoto, containerStyle, style]} // <- container SEMPRE aqui
|
|
70
70
|
>
|
|
71
71
|
{imageComprovante ? (
|