jornada-ui 0.4.14 → 0.4.16
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/common/icons-svg/constants/index.js +2 -1
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/download/index.js +53 -0
- package/lib/commonjs/common/icons-svg/download/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +7 -0
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +10 -10
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +50 -17
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/inputs/input-date-time/index.js +11 -9
- package/lib/commonjs/components/inputs/input-date-time/index.js.map +1 -1
- package/lib/commonjs/components/inputs/input-date-time/styles.js +6 -3
- package/lib/commonjs/components/inputs/input-date-time/styles.js.map +1 -1
- package/lib/commonjs/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.js +71 -65
- package/lib/commonjs/components/modals/modal-edite-journey-rectification/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-edite-journey-rectification/interface.d.js.map +1 -0
- package/lib/commonjs/components/notification-card/index.js +142 -0
- package/lib/commonjs/components/notification-card/index.js.map +1 -0
- package/lib/commonjs/components/notification-card/interface.js +6 -0
- package/lib/commonjs/components/notification-card/interface.js.map +1 -0
- package/lib/commonjs/components/notification-details-card/index.js +181 -0
- package/lib/commonjs/components/notification-details-card/index.js.map +1 -0
- package/lib/commonjs/components/notification-details-card/interface.js +6 -0
- package/lib/commonjs/components/notification-details-card/interface.js.map +1 -0
- package/lib/commonjs/components/user-journey-work-card/index.js +44 -4
- package/lib/commonjs/components/user-journey-work-card/index.js.map +1 -1
- package/lib/commonjs/index.js +19 -5
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/button/button.stories.js +0 -2
- package/lib/commonjs/stories/button/button.stories.js.map +1 -1
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +0 -1
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -1
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +62 -9
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js +3 -3
- package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -1
- package/lib/commonjs/stories/notification-card/notification-card.stories.js +100 -0
- package/lib/commonjs/stories/notification-card/notification-card.stories.js.map +1 -0
- package/lib/commonjs/stories/notification-details-card/notification-details-card.stories.js +112 -0
- package/lib/commonjs/stories/notification-details-card/notification-details-card.stories.js.map +1 -0
- package/lib/commonjs/stories/user-journey-work-card/user-journey-work-card.stories.js +12 -4
- package/lib/commonjs/stories/user-journey-work-card/user-journey-work-card.stories.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +2 -1
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +2 -1
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/download/index.js +47 -0
- package/lib/module/common/icons-svg/download/index.js.map +1 -0
- package/lib/module/common/icons-svg/index.js +7 -0
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +10 -10
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +50 -17
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/inputs/input-date-time/index.js +11 -9
- package/lib/module/components/inputs/input-date-time/index.js.map +1 -1
- package/lib/module/components/inputs/input-date-time/styles.js +6 -3
- package/lib/module/components/inputs/input-date-time/styles.js.map +1 -1
- package/lib/module/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.js +69 -63
- package/lib/module/components/modals/modal-edite-journey-rectification/index.js.map +1 -0
- package/lib/module/components/modals/modal-edite-journey-rectification/interface.d.js.map +1 -0
- package/lib/module/components/notification-card/index.js +135 -0
- package/lib/module/components/notification-card/index.js.map +1 -0
- package/lib/module/components/notification-card/interface.js +4 -0
- package/lib/module/components/notification-card/interface.js.map +1 -0
- package/lib/module/components/notification-details-card/index.js +183 -0
- package/lib/module/components/notification-details-card/index.js.map +1 -0
- package/lib/module/components/notification-details-card/interface.js +4 -0
- package/lib/module/components/notification-details-card/interface.js.map +1 -0
- package/lib/module/components/user-journey-work-card/index.js +44 -4
- package/lib/module/components/user-journey-work-card/index.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/button/button.stories.js +0 -1
- package/lib/module/stories/button/button.stories.js.map +1 -1
- package/lib/module/stories/capture-photo/capture-photo.stories.js +0 -1
- package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -1
- package/lib/module/stories/card-work-session/card-work-session.stories.js +62 -9
- package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -1
- package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js +3 -3
- package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -1
- package/lib/module/stories/notification-card/notification-card.stories.js +95 -0
- package/lib/module/stories/notification-card/notification-card.stories.js.map +1 -0
- package/lib/module/stories/notification-details-card/notification-details-card.stories.js +107 -0
- package/lib/module/stories/notification-details-card/notification-details-card.stories.js.map +1 -0
- package/lib/module/stories/user-journey-work-card/user-journey-work-card.stories.js +12 -4
- package/lib/module/stories/user-journey-work-card/user-journey-work-card.stories.js.map +1 -1
- package/lib/module/styles/theme/theme.js +2 -1
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/download/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/download/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-report/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/modals/modal-edite-journey-rectification/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification-card/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/notification-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification-card/interface.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/notification-card/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification-details-card/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/notification-details-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification-details-card/interface.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/notification-details-card/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/components/travel-history/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +3 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +1 -1
- package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/notification-card/notification-card.stories.d.ts +14 -0
- package/lib/typescript/commonjs/src/stories/notification-card/notification-card.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/notification-details-card/notification-details-card.stories.d.ts +16 -0
- package/lib/typescript/commonjs/src/stories/notification-details-card/notification-details-card.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/user-journey-work-card/user-journey-work-card.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +1 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/download/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/download/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-report/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +1 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts +2 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts +2 -1
- package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.d.ts +3 -0
- package/lib/typescript/module/src/components/modals/modal-edite-journey-rectification/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification-card/index.d.ts +11 -0
- package/lib/typescript/module/src/components/notification-card/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification-card/interface.d.ts +17 -0
- package/lib/typescript/module/src/components/notification-card/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification-details-card/index.d.ts +11 -0
- package/lib/typescript/module/src/components/notification-details-card/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification-details-card/interface.d.ts +15 -0
- package/lib/typescript/module/src/components/notification-details-card/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts +1 -1
- package/lib/typescript/module/src/components/travel-history/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts +2 -0
- package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +3 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +1 -1
- package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/notification-card/notification-card.stories.d.ts +14 -0
- package/lib/typescript/module/src/stories/notification-card/notification-card.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/notification-details-card/notification-details-card.stories.d.ts +16 -0
- package/lib/typescript/module/src/stories/notification-details-card/notification-details-card.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/user-journey-work-card/user-journey-work-card.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/icons-svg/constants/index.ts +1 -0
- package/src/common/icons-svg/download/index.tsx +52 -0
- package/src/common/icons-svg/index.tsx +4 -0
- package/src/components/activities-progress/index.tsx +172 -172
- package/src/components/card-report/interface.d.ts +1 -1
- package/src/components/card-work-session/index.tsx +190 -172
- package/src/components/card-work-session/interface.d.ts +151 -150
- package/src/components/inputs/input-date-time/index.tsx +13 -12
- package/src/components/inputs/input-date-time/styles.ts +64 -63
- package/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.tsx +78 -67
- package/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/interface.d.ts +10 -10
- package/src/components/monthly-summary-table/interface.d.ts +1 -1
- package/src/components/notification-card/index.tsx +123 -0
- package/src/components/notification-card/interface.ts +18 -0
- package/src/components/notification-details-card/index.tsx +180 -0
- package/src/components/notification-details-card/interface.ts +16 -0
- package/src/components/travel-history/interface.d.ts +1 -1
- package/src/components/user-journey-work-card/index.tsx +28 -1
- package/src/components/user-journey-work-card/interface.d.ts +149 -145
- package/src/index.tsx +3 -1
- package/src/stories/button/button.stories.tsx +1 -1
- package/src/stories/capture-photo/capture-photo.stories.tsx +1 -1
- package/src/stories/card-work-session/card-work-session.stories.tsx +106 -53
- package/src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx +60 -60
- package/src/stories/notification-card/notification-card.stories.tsx +93 -0
- package/src/stories/notification-details-card/notification-details-card.stories.tsx +109 -0
- package/src/stories/user-journey-work-card/user-journey-work-card.stories.tsx +71 -63
- package/src/styles/theme/theme.ts +1 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/index.js.map +0 -1
- package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js.map +0 -1
- package/lib/module/components/modals/modal-journey-rectification/index.js.map +0 -1
- package/lib/module/components/modals/modal-journey-rectification/interface.d.js.map +0 -1
- package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts.map +0 -1
- /package/lib/commonjs/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/interface.d.js +0 -0
- /package/lib/module/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/interface.d.js +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
declare const _default: React.ComponentType<import("react-native").TouchableOpacityProps & {
|
|
6
6
|
value: any;
|
|
7
|
-
icon: "CAMERA_PLUS" | "STEERING_WHEEL" | "CHECK_BOX_FILL" | "CHECK_BOX_OUTLINE" | "MOON_STARS" | "CALL_BELL" | "STEERING_WHEEL_FILL" | "TROPHY" | "SHOPPING_CART" | "CREDIT_CARD" | "FILE_TEXT" | "TRUCK" | "PACKAGE_CHECK" | "PLUS" | "PLUS_CONTAINER" | "EYE_SLASH" | "EYE" | "CALENDAR" | "TIMER" | "GEAR" | "CURRENCY" | "GAUGE" | "GAS_PUMP" | "ARROW_LEFT" | "BLUETOOTH" | "BLUETOOTH_CONNECTED" | "LIST" | "WIFI_X" | "WIFI_HIGH" | "NOTE_PINCEL" | "CHECK_CIRCLE" | "ARROW_DROP_DOWN" | "ARROW_CHEVRON_UP" | "ARROW_CHEVRON_DOWN" | "CLOSED" | "LOADING" | "COIL" | "HISTORY" | "BELL" | "BED" | "FILES" | "LIFEBUOY" | "RECUSED" | "EXCLAMATION_CIRCLE" | "EXCLAMATION_TRIANGLE" | "X_CIRCLE" | "TRUCK_ACTIVITY" | "COFFEE" | "CAR" | "CHECK_OUTLINE" | "HOURGLASS" | "HOUSE" | "ISLAND" | "CHEVRON_DOWN" | "CHEVRON_UP" | "TRASH";
|
|
7
|
+
icon: "CAMERA_PLUS" | "STEERING_WHEEL" | "CHECK_BOX_FILL" | "CHECK_BOX_OUTLINE" | "MOON_STARS" | "CALL_BELL" | "STEERING_WHEEL_FILL" | "TROPHY" | "SHOPPING_CART" | "CREDIT_CARD" | "FILE_TEXT" | "TRUCK" | "PACKAGE_CHECK" | "PLUS" | "PLUS_CONTAINER" | "EYE_SLASH" | "EYE" | "CALENDAR" | "TIMER" | "GEAR" | "CURRENCY" | "GAUGE" | "GAS_PUMP" | "ARROW_LEFT" | "BLUETOOTH" | "BLUETOOTH_CONNECTED" | "LIST" | "WIFI_X" | "WIFI_HIGH" | "NOTE_PINCEL" | "CHECK_CIRCLE" | "ARROW_DROP_DOWN" | "ARROW_CHEVRON_UP" | "ARROW_CHEVRON_DOWN" | "CLOSED" | "LOADING" | "COIL" | "HISTORY" | "BELL" | "BED" | "FILES" | "LIFEBUOY" | "RECUSED" | "EXCLAMATION_CIRCLE" | "EXCLAMATION_TRIANGLE" | "X_CIRCLE" | "TRUCK_ACTIVITY" | "COFFEE" | "CAR" | "CHECK_OUTLINE" | "HOURGLASS" | "HOUSE" | "ISLAND" | "CHEVRON_DOWN" | "CHEVRON_UP" | "TRASH" | "DOWNLOAD";
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
textColor?: string;
|
|
10
10
|
onPressConfirm: (value: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/travel-history/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAmU1C;;GAEG;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/travel-history/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAmU1C;;GAEG;;wBA3T0B,CAAC;;;;;;;;;;;;;;;;;mBA2CpB,CAAN;oBAEY,CAAC;4BAEK,CAAC;2BAKZ,CAAC;+BAEO,CAAC;8BACE,CAAC;mBACmB,CAAC;uBAEtB,CAAC;wBAEd,CAAP;sBAGa,CAAC;yBACO,CAAC;mBAEJ,CAAC;yBACV,CAAF;uBACI,CAAA;wBAA8B,CAAC;sBAC/B,CAAH;;;kBAOC,CAAP;iBAGiC,CAAC;YAEb,CAAC;qBACF,CAAC;gBAEZ,CAAR;iBACQ,CAAA;sBAGA,CAAV;;;cAYe,CAAC;kBAEN,CAAT;mBACO,CAAT;iBAEW,CAAT;oBACO,CAAP;;;eAQ6C,CAAC;mBAE/B,CAAA;oBAEA,CAAP;kBAAyC,CAAC;qBAE/B,CAAjB;;;;;;;gBA+BmD,CAAC;iBACnC,CAApB;qBAA2B,CAAC;qBAA2B,CAAC;;;;AAoK1D,wBAA8C"}
|
|
@@ -10,8 +10,10 @@ declare const _default: React.ComponentType<import("react-native").ViewProps & {
|
|
|
10
10
|
workDate: string;
|
|
11
11
|
initialTime?: string;
|
|
12
12
|
duration?: string;
|
|
13
|
+
counterBadge?: number;
|
|
13
14
|
avatar: string;
|
|
14
15
|
handleNavigation: () => void;
|
|
16
|
+
handleNavigationNotification: () => void;
|
|
15
17
|
children?: React.ReactNode;
|
|
16
18
|
testID?: string;
|
|
17
19
|
borderStyled?: {
|
|
@@ -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;AAsN1C;;GAEG;;;;;;;;;;;;;mBAtLO,CAAC;oBAEU,CAAC;4BACH,CAAC;2BAC0B,CAAC;+BACA,CAAC;8BAExB,CAAC;mBACjB,CAAP;uBAC6B,CAAC;wBAGJ,CAAC;sBAEb,CAAC;yBAEJ,CAAJ;mBACI,CAAL;yBACG,CAAL;uBAEM,CAAC;wBAA8B,CAAC;sBAC5B,CAAC;;;kBAOF,CAAV;iBAEQ,CAAT;YAGoC,CAAC;qBAC5B,CAAF;gBAEM,CAAb;iBACuB,CAAC;sBAET,CAAN;;;cAUiC,CAAC;kBACR,CAAC;mBACnB,CAAC;iBACH,CAAA;oBACF,CAAT;;;eAS6C,CAAC;mBACd,CAAC;oBACC,CAAC;kBACP,CAAC;qBACE,CAAC;;;;;;;gBAgCvB,CAAA;iBACE,CAAH;qBACK,CAAb;qBAA4B,CAAA;;;AAmFnC,wBAAoD"}
|
|
@@ -41,10 +41,12 @@ export { default as ResumeRaking } from "./components/resume-raking";
|
|
|
41
41
|
export { default as ListSupplies } from "./components/list-supplies";
|
|
42
42
|
export { default as ListDevices } from "./components/list-devices";
|
|
43
43
|
export { default as ModalActivityReason } from "./components/modals/modal-activity-reason";
|
|
44
|
-
export { default as ModalJourneyRectification } from "./components/modals/modal-journey-rectification";
|
|
44
|
+
export { default as ModalJourneyRectification } from "./components/modals/modal-edite-journey-rectification";
|
|
45
45
|
export { default as ModalCreteActivitie } from "./components/modals/modal-create-activitie";
|
|
46
46
|
export { default as ModalToConfirmations } from "./components/modals/modal-to-confimations";
|
|
47
47
|
export { default as ActivityTimeline } from "./components/activity-step";
|
|
48
|
+
export { default as NotificationCard } from "./components/notification-card";
|
|
49
|
+
export { default as NotificationDetailCard } from "./components/notification-details-card";
|
|
48
50
|
export { default as WeeklyHoursBalance } from "./components/weekly-hours-balance";
|
|
49
51
|
export { formatDate } from "./utils/format-date";
|
|
50
52
|
export { theme } from "./styles/theme/theme";
|
|
@@ -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,y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2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAC7G,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,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/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-work-session.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/card-work-session/card-work-session.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,eAAe,MAAM,oCAAoC,CAAC;AAGjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,
|
|
1
|
+
{"version":3,"file":"card-work-session.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/card-work-session/card-work-session.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,eAAe,MAAM,oCAAoC,CAAC;AAGjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CA+EtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAcjC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
import type { StoryObj, Meta } from "@storybook/react";
|
|
5
|
-
import ModalJourneyRectification from "../../components/modals/modal-journey-rectification";
|
|
5
|
+
import ModalJourneyRectification from "../../components/modals/modal-edite-journey-rectification";
|
|
6
6
|
declare const meta: Meta<typeof ModalJourneyRectification>;
|
|
7
7
|
export default meta;
|
|
8
8
|
type Story = StoryObj<typeof ModalJourneyRectification>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-journey-rectification.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,yBAAyB,MAAM,
|
|
1
|
+
{"version":3,"file":"modal-journey-rectification.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,yBAAyB,MAAM,2DAA2D,CAAC;AAElG,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,yBAAyB,CAsChD,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAExD,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import NotificationCard from "../../components/notification-card";
|
|
3
|
+
/**
|
|
4
|
+
* META
|
|
5
|
+
*/
|
|
6
|
+
declare const meta: Meta<typeof NotificationCard>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof NotificationCard>;
|
|
9
|
+
/**
|
|
10
|
+
* STORIES
|
|
11
|
+
*/
|
|
12
|
+
export declare const NotificationCardSuccess: Story;
|
|
13
|
+
export declare const NotificationCardWarning: Story;
|
|
14
|
+
//# sourceMappingURL=notification-card.stories.d.ts.map
|
package/lib/typescript/module/src/stories/notification-card/notification-card.stories.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/notification-card/notification-card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,gBAAgB,MAAM,oCAAoC,CAAC;AAKlE;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAkDvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import NotificationDetailCard from "../../components/notification-details-card";
|
|
3
|
+
/**
|
|
4
|
+
* META
|
|
5
|
+
*/
|
|
6
|
+
declare const meta: Meta<typeof NotificationDetailCard>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof NotificationDetailCard>;
|
|
9
|
+
/**
|
|
10
|
+
* STORIES
|
|
11
|
+
*/
|
|
12
|
+
export declare const SomenteTexto: Story;
|
|
13
|
+
export declare const TextoComImagem: Story;
|
|
14
|
+
export declare const TextoComPdf: Story;
|
|
15
|
+
export declare const TextoComCsv: Story;
|
|
16
|
+
//# sourceMappingURL=notification-details-card.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-details-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/notification-details-card/notification-details-card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,sBAAsB,MAAM,4CAA4C,CAAC;AAKhF;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,sBAAsB,CA8C7C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-journey-work-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/user-journey-work-card/user-journey-work-card.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAK1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,
|
|
1
|
+
{"version":3,"file":"user-journey-work-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/user-journey-work-card/user-journey-work-card.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAK1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAsC1C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAejC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/global/theme-provider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAEjE,CAAC;AAEF,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/global/theme-provider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAEjE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiLH;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import Svg, { Path } from "react-native-svg";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
import { type ISvgProps } from "../interface";
|
|
9
|
+
|
|
10
|
+
const SvgIconDownload: React.FC<ISvgProps> = ({ color, size, background }) => (
|
|
11
|
+
<Svg
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width={size ?? "40"}
|
|
15
|
+
height={size ?? "40"}
|
|
16
|
+
fill="none"
|
|
17
|
+
viewBox="0 0 40 40"
|
|
18
|
+
>
|
|
19
|
+
{/* Círculo de fundo opcional */}
|
|
20
|
+
{background && (
|
|
21
|
+
<Path
|
|
22
|
+
fill={background}
|
|
23
|
+
stroke={background}
|
|
24
|
+
strokeWidth="1.5"
|
|
25
|
+
d="M20 38c9.941 0 18-8.059 18-18S29.941 2 20 2 2 10.059 2 20s8.059 18 18 18"
|
|
26
|
+
/>
|
|
27
|
+
)}
|
|
28
|
+
|
|
29
|
+
{/* Seta para baixo */}
|
|
30
|
+
<Path
|
|
31
|
+
stroke={color ?? "#000"}
|
|
32
|
+
strokeWidth="2"
|
|
33
|
+
strokeLinecap="round"
|
|
34
|
+
strokeLinejoin="round"
|
|
35
|
+
d="M20 10v16M13 19l7 7 7-7"
|
|
36
|
+
/>
|
|
37
|
+
|
|
38
|
+
{/* Base de suporte */}
|
|
39
|
+
<Path
|
|
40
|
+
stroke={color ?? "#000"}
|
|
41
|
+
strokeWidth="2"
|
|
42
|
+
strokeLinecap="round"
|
|
43
|
+
strokeLinejoin="round"
|
|
44
|
+
d="M10 28h20"
|
|
45
|
+
/>
|
|
46
|
+
</Svg>
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* EXPORTS
|
|
51
|
+
*/
|
|
52
|
+
export { SvgIconDownload };
|
|
@@ -66,6 +66,7 @@ import { SvgIconHourglass } from "./hourglass";
|
|
|
66
66
|
import { SvgIconIsland } from "./island";
|
|
67
67
|
import { SvgIconPlusContainer } from "./plus-container";
|
|
68
68
|
import { SvgIconPlusTrash } from "./trash";
|
|
69
|
+
import { SvgIconDownload } from "./download";
|
|
69
70
|
|
|
70
71
|
const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
|
|
71
72
|
switch (icon) {
|
|
@@ -213,6 +214,9 @@ const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
|
|
|
213
214
|
case "RECUSED":
|
|
214
215
|
return <SvgIconRecused color={color} size={size} icon={"RECUSED"} />;
|
|
215
216
|
|
|
217
|
+
case "DOWNLOAD":
|
|
218
|
+
return <SvgIconDownload color={color} size={size} icon={"BED"} />;
|
|
219
|
+
|
|
216
220
|
case "EXCLAMATION_CIRCLE":
|
|
217
221
|
return (
|
|
218
222
|
<SvgIconExclamationCircle
|
|
@@ -1,172 +1,172 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
|
|
6
|
-
// components
|
|
7
|
-
import Box from "../../components/box";
|
|
8
|
-
import Typography from "../../components/typography";
|
|
9
|
-
|
|
10
|
-
//commons/ icons
|
|
11
|
-
import { Icons } from "../../common/icons-svg";
|
|
12
|
-
|
|
13
|
-
// utils
|
|
14
|
-
import { getIconByProperty } from "../../utils/get-icon-by-property";
|
|
15
|
-
|
|
16
|
-
// typings
|
|
17
|
-
import type { IActivitiesProgress } from "./interface";
|
|
18
|
-
import { asBaseComponent } from "../../@types/as-base-component";
|
|
19
|
-
|
|
20
|
-
// styles
|
|
21
|
-
import { theme } from "../../styles/theme/theme";
|
|
22
|
-
|
|
23
|
-
const ActivitiesProgress: React.FC<IActivitiesProgress> = ({
|
|
24
|
-
data_inicio_horario = "
|
|
25
|
-
duracao = "00:
|
|
26
|
-
data_inicio = "
|
|
27
|
-
titleLabel = "
|
|
28
|
-
criado_ofiline = true,
|
|
29
|
-
tipo_atividade = "
|
|
30
|
-
referencia = "
|
|
31
|
-
}) => {
|
|
32
|
-
return (
|
|
33
|
-
<Box
|
|
34
|
-
width={"100%"}
|
|
35
|
-
height={100}
|
|
36
|
-
backgroundColor={theme.colors.neutral[25]}
|
|
37
|
-
borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}
|
|
38
|
-
>
|
|
39
|
-
<Box
|
|
40
|
-
width={"100%"}
|
|
41
|
-
height={30}
|
|
42
|
-
backgroundColor={theme.colors.blue[400]}
|
|
43
|
-
borderStyled={{
|
|
44
|
-
borderTopLeftRadius: theme.borderWidths.thin_bold,
|
|
45
|
-
borderTopRightRadius: theme.borderWidths.thin_bold,
|
|
46
|
-
borderColor: theme.colors.blue[400],
|
|
47
|
-
}}
|
|
48
|
-
flexStyle={{
|
|
49
|
-
justifyContent: "space-between",
|
|
50
|
-
flexDirection: "row",
|
|
51
|
-
}}
|
|
52
|
-
>
|
|
53
|
-
<Box
|
|
54
|
-
flexStyle={{
|
|
55
|
-
flexDirection: "row",
|
|
56
|
-
alignItems: "center",
|
|
57
|
-
}}
|
|
58
|
-
>
|
|
59
|
-
<Typography
|
|
60
|
-
text={"Status: "}
|
|
61
|
-
color={theme.colors.neutral[25]}
|
|
62
|
-
size={theme.fontSizes.sm}
|
|
63
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
64
|
-
fontWeight={"500"}
|
|
65
|
-
lineHeight={theme.fontSizes.lg}
|
|
66
|
-
marginLeft={theme.margins["2xs"]}
|
|
67
|
-
/>
|
|
68
|
-
<Typography
|
|
69
|
-
text={titleLabel}
|
|
70
|
-
color={
|
|
71
|
-
tipo_atividade === "trabalho" ? theme.colors.green[400] : theme.colors.orange[500]
|
|
72
|
-
}
|
|
73
|
-
size={theme.fontSizes.sm}
|
|
74
|
-
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
75
|
-
fontWeight={"600"}
|
|
76
|
-
lineHeight={theme.fontSizes.lg}
|
|
77
|
-
/>
|
|
78
|
-
</Box>
|
|
79
|
-
|
|
80
|
-
<Box
|
|
81
|
-
style={{ marginRight: theme.margins["2xs"], marginTop: theme.margins["1xs"] }}
|
|
82
|
-
height={20}
|
|
83
|
-
width={20}
|
|
84
|
-
>
|
|
85
|
-
<Icons
|
|
86
|
-
icon={"CHECK_OUTLINE"}
|
|
87
|
-
color={criado_ofiline ? theme.colors.green[400] : theme.colors.orange[500]}
|
|
88
|
-
/>
|
|
89
|
-
</Box>
|
|
90
|
-
</Box>
|
|
91
|
-
|
|
92
|
-
<Box
|
|
93
|
-
width={"100%"}
|
|
94
|
-
flexStyle={{
|
|
95
|
-
flexDirection: "row",
|
|
96
|
-
justifyContent: "space-between",
|
|
97
|
-
}}
|
|
98
|
-
paddingStyle={{
|
|
99
|
-
padding: theme.paddings["2xs"],
|
|
100
|
-
}}
|
|
101
|
-
>
|
|
102
|
-
<Box height={20} flexStyle={{ flexDirection: "row", alignItems: "center" }}>
|
|
103
|
-
{getIconByProperty(referencia)}
|
|
104
|
-
<Typography
|
|
105
|
-
text={data_inicio}
|
|
106
|
-
color={theme.colors.black[25]}
|
|
107
|
-
size={theme.fontSizes.xs}
|
|
108
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
109
|
-
fontWeight={"700"}
|
|
110
|
-
lineHeight={theme.fontSizes.lg}
|
|
111
|
-
marginLeft={4}
|
|
112
|
-
/>
|
|
113
|
-
</Box>
|
|
114
|
-
|
|
115
|
-
<Box height={50} flexStyle={{ flexDirection: "row", alignItems: "flex-end" }}>
|
|
116
|
-
<Box
|
|
117
|
-
flexStyle={{ alignItems: "center" }}
|
|
118
|
-
marginStyle={{ marginRight: theme.margins["2xs"] }}
|
|
119
|
-
>
|
|
120
|
-
<Typography
|
|
121
|
-
text={data_inicio_horario}
|
|
122
|
-
color={theme.colors.blue[500]}
|
|
123
|
-
size={theme.fontSizes.sm}
|
|
124
|
-
fontFamily={theme.fonts.inter_bold}
|
|
125
|
-
fontWeight={"700"}
|
|
126
|
-
lineHeight={theme.fontSizes.md}
|
|
127
|
-
/>
|
|
128
|
-
<Typography
|
|
129
|
-
text={"INICIO"}
|
|
130
|
-
color={theme.colors.gray[600]}
|
|
131
|
-
size={theme.fontSizes["2xs"]}
|
|
132
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
133
|
-
fontWeight={"500"}
|
|
134
|
-
lineHeight={theme.fontSizes.xs}
|
|
135
|
-
marginTop={4}
|
|
136
|
-
/>
|
|
137
|
-
</Box>
|
|
138
|
-
|
|
139
|
-
<Box
|
|
140
|
-
flexStyle={{ alignItems: "center" }}
|
|
141
|
-
marginStyle={{ marginRight: theme.margins["2xs"] }}
|
|
142
|
-
>
|
|
143
|
-
<Typography
|
|
144
|
-
text={duracao}
|
|
145
|
-
color={theme.colors.blue[500]}
|
|
146
|
-
size={theme.fontSizes.sm}
|
|
147
|
-
fontFamily={theme.fonts.inter_bold}
|
|
148
|
-
fontWeight={"700"}
|
|
149
|
-
lineHeight={theme.fontSizes.md}
|
|
150
|
-
/>
|
|
151
|
-
<Typography
|
|
152
|
-
text={"DURAÇÃO"}
|
|
153
|
-
color={theme.colors.gray[600]}
|
|
154
|
-
size={theme.fontSizes["2xs"]}
|
|
155
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
156
|
-
fontWeight={"500"}
|
|
157
|
-
lineHeight={theme.fontSizes.xs}
|
|
158
|
-
marginTop={4}
|
|
159
|
-
/>
|
|
160
|
-
</Box>
|
|
161
|
-
</Box>
|
|
162
|
-
</Box>
|
|
163
|
-
</Box>
|
|
164
|
-
);
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
ActivitiesProgress.displayName = "ActivitiesProgress";
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Componente Box para a interação da ui.
|
|
171
|
-
*/
|
|
172
|
-
export default asBaseComponent(ActivitiesProgress);
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
// components
|
|
7
|
+
import Box from "../../components/box";
|
|
8
|
+
import Typography from "../../components/typography";
|
|
9
|
+
|
|
10
|
+
//commons/ icons
|
|
11
|
+
import { Icons } from "../../common/icons-svg";
|
|
12
|
+
|
|
13
|
+
// utils
|
|
14
|
+
import { getIconByProperty } from "../../utils/get-icon-by-property";
|
|
15
|
+
|
|
16
|
+
// typings
|
|
17
|
+
import type { IActivitiesProgress } from "./interface";
|
|
18
|
+
import { asBaseComponent } from "../../@types/as-base-component";
|
|
19
|
+
|
|
20
|
+
// styles
|
|
21
|
+
import { theme } from "../../styles/theme/theme";
|
|
22
|
+
|
|
23
|
+
const ActivitiesProgress: React.FC<IActivitiesProgress> = ({
|
|
24
|
+
data_inicio_horario = "00/00/0000",
|
|
25
|
+
duracao = "00:00",
|
|
26
|
+
data_inicio = "00:00",
|
|
27
|
+
titleLabel = "Sem Atividade",
|
|
28
|
+
criado_ofiline = true,
|
|
29
|
+
tipo_atividade = "descanso",
|
|
30
|
+
referencia = "descanso",
|
|
31
|
+
}) => {
|
|
32
|
+
return (
|
|
33
|
+
<Box
|
|
34
|
+
width={"100%"}
|
|
35
|
+
height={100}
|
|
36
|
+
backgroundColor={theme.colors.neutral[25]}
|
|
37
|
+
borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}
|
|
38
|
+
>
|
|
39
|
+
<Box
|
|
40
|
+
width={"100%"}
|
|
41
|
+
height={30}
|
|
42
|
+
backgroundColor={theme.colors.blue[400]}
|
|
43
|
+
borderStyled={{
|
|
44
|
+
borderTopLeftRadius: theme.borderWidths.thin_bold,
|
|
45
|
+
borderTopRightRadius: theme.borderWidths.thin_bold,
|
|
46
|
+
borderColor: theme.colors.blue[400],
|
|
47
|
+
}}
|
|
48
|
+
flexStyle={{
|
|
49
|
+
justifyContent: "space-between",
|
|
50
|
+
flexDirection: "row",
|
|
51
|
+
}}
|
|
52
|
+
>
|
|
53
|
+
<Box
|
|
54
|
+
flexStyle={{
|
|
55
|
+
flexDirection: "row",
|
|
56
|
+
alignItems: "center",
|
|
57
|
+
}}
|
|
58
|
+
>
|
|
59
|
+
<Typography
|
|
60
|
+
text={"Status: "}
|
|
61
|
+
color={theme.colors.neutral[25]}
|
|
62
|
+
size={theme.fontSizes.sm}
|
|
63
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
64
|
+
fontWeight={"500"}
|
|
65
|
+
lineHeight={theme.fontSizes.lg}
|
|
66
|
+
marginLeft={theme.margins["2xs"]}
|
|
67
|
+
/>
|
|
68
|
+
<Typography
|
|
69
|
+
text={titleLabel}
|
|
70
|
+
color={
|
|
71
|
+
tipo_atividade === "trabalho" ? theme.colors.green[400] : theme.colors.orange[500]
|
|
72
|
+
}
|
|
73
|
+
size={theme.fontSizes.sm}
|
|
74
|
+
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
75
|
+
fontWeight={"600"}
|
|
76
|
+
lineHeight={theme.fontSizes.lg}
|
|
77
|
+
/>
|
|
78
|
+
</Box>
|
|
79
|
+
|
|
80
|
+
<Box
|
|
81
|
+
style={{ marginRight: theme.margins["2xs"], marginTop: theme.margins["1xs"] }}
|
|
82
|
+
height={20}
|
|
83
|
+
width={20}
|
|
84
|
+
>
|
|
85
|
+
<Icons
|
|
86
|
+
icon={"CHECK_OUTLINE"}
|
|
87
|
+
color={criado_ofiline ? theme.colors.green[400] : theme.colors.orange[500]}
|
|
88
|
+
/>
|
|
89
|
+
</Box>
|
|
90
|
+
</Box>
|
|
91
|
+
|
|
92
|
+
<Box
|
|
93
|
+
width={"100%"}
|
|
94
|
+
flexStyle={{
|
|
95
|
+
flexDirection: "row",
|
|
96
|
+
justifyContent: "space-between",
|
|
97
|
+
}}
|
|
98
|
+
paddingStyle={{
|
|
99
|
+
padding: theme.paddings["2xs"],
|
|
100
|
+
}}
|
|
101
|
+
>
|
|
102
|
+
<Box height={20} flexStyle={{ flexDirection: "row", alignItems: "center" }}>
|
|
103
|
+
{getIconByProperty(referencia)}
|
|
104
|
+
<Typography
|
|
105
|
+
text={data_inicio}
|
|
106
|
+
color={theme.colors.black[25]}
|
|
107
|
+
size={theme.fontSizes.xs}
|
|
108
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
109
|
+
fontWeight={"700"}
|
|
110
|
+
lineHeight={theme.fontSizes.lg}
|
|
111
|
+
marginLeft={4}
|
|
112
|
+
/>
|
|
113
|
+
</Box>
|
|
114
|
+
|
|
115
|
+
<Box height={50} flexStyle={{ flexDirection: "row", alignItems: "flex-end" }}>
|
|
116
|
+
<Box
|
|
117
|
+
flexStyle={{ alignItems: "center" }}
|
|
118
|
+
marginStyle={{ marginRight: theme.margins["2xs"] }}
|
|
119
|
+
>
|
|
120
|
+
<Typography
|
|
121
|
+
text={data_inicio_horario}
|
|
122
|
+
color={theme.colors.blue[500]}
|
|
123
|
+
size={theme.fontSizes.sm}
|
|
124
|
+
fontFamily={theme.fonts.inter_bold}
|
|
125
|
+
fontWeight={"700"}
|
|
126
|
+
lineHeight={theme.fontSizes.md}
|
|
127
|
+
/>
|
|
128
|
+
<Typography
|
|
129
|
+
text={"INICIO"}
|
|
130
|
+
color={theme.colors.gray[600]}
|
|
131
|
+
size={theme.fontSizes["2xs"]}
|
|
132
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
133
|
+
fontWeight={"500"}
|
|
134
|
+
lineHeight={theme.fontSizes.xs}
|
|
135
|
+
marginTop={4}
|
|
136
|
+
/>
|
|
137
|
+
</Box>
|
|
138
|
+
|
|
139
|
+
<Box
|
|
140
|
+
flexStyle={{ alignItems: "center" }}
|
|
141
|
+
marginStyle={{ marginRight: theme.margins["2xs"] }}
|
|
142
|
+
>
|
|
143
|
+
<Typography
|
|
144
|
+
text={duracao}
|
|
145
|
+
color={theme.colors.blue[500]}
|
|
146
|
+
size={theme.fontSizes.sm}
|
|
147
|
+
fontFamily={theme.fonts.inter_bold}
|
|
148
|
+
fontWeight={"700"}
|
|
149
|
+
lineHeight={theme.fontSizes.md}
|
|
150
|
+
/>
|
|
151
|
+
<Typography
|
|
152
|
+
text={"DURAÇÃO"}
|
|
153
|
+
color={theme.colors.gray[600]}
|
|
154
|
+
size={theme.fontSizes["2xs"]}
|
|
155
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
156
|
+
fontWeight={"500"}
|
|
157
|
+
lineHeight={theme.fontSizes.xs}
|
|
158
|
+
marginTop={4}
|
|
159
|
+
/>
|
|
160
|
+
</Box>
|
|
161
|
+
</Box>
|
|
162
|
+
</Box>
|
|
163
|
+
</Box>
|
|
164
|
+
);
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
ActivitiesProgress.displayName = "ActivitiesProgress";
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Componente Box para a interação da ui.
|
|
171
|
+
*/
|
|
172
|
+
export default asBaseComponent(ActivitiesProgress);
|