jornada-ui 0.4.15 → 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/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/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/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/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/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/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/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/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/card-report/interface.d.ts +1 -1
- 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/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
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../../common/icons-svg/index.js");
|
|
10
|
+
var _index2 = _interopRequireDefault(require("../box/index.js"));
|
|
11
|
+
var _index3 = _interopRequireDefault(require("../typography/index.js"));
|
|
12
|
+
var _index4 = _interopRequireDefault(require("../button/index.js"));
|
|
13
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
14
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
+
/**
|
|
19
|
+
* IMPORTS
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
// commons / icons
|
|
23
|
+
|
|
24
|
+
// components
|
|
25
|
+
|
|
26
|
+
// styles / theme
|
|
27
|
+
|
|
28
|
+
// typings
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Componente NotificationCard
|
|
32
|
+
*/
|
|
33
|
+
const NotificationCard = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
34
|
+
variant = "read",
|
|
35
|
+
title,
|
|
36
|
+
description,
|
|
37
|
+
actionLabel,
|
|
38
|
+
onPress,
|
|
39
|
+
onPressAction,
|
|
40
|
+
testID
|
|
41
|
+
}, ref) => {
|
|
42
|
+
const isWarning = variant === "unread";
|
|
43
|
+
|
|
44
|
+
// cor da borda lateral
|
|
45
|
+
const borderColor = isWarning ? _theme.theme.colors.orange[150] : _theme.theme.colors.blue[525];
|
|
46
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
47
|
+
onPress: onPress,
|
|
48
|
+
activeOpacity: 0.7,
|
|
49
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.default, {
|
|
50
|
+
ref: ref,
|
|
51
|
+
testID: testID ?? "notification-card",
|
|
52
|
+
flexStyle: {
|
|
53
|
+
flexDirection: "row"
|
|
54
|
+
},
|
|
55
|
+
borderStyled: {
|
|
56
|
+
borderWidth: 1,
|
|
57
|
+
borderColor: isWarning ? _theme.theme.colors.orange[150] : _theme.theme.colors.neutral[200],
|
|
58
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
59
|
+
},
|
|
60
|
+
marginStyle: {
|
|
61
|
+
marginBottom: 12
|
|
62
|
+
},
|
|
63
|
+
backgroundColor: isWarning ? _theme.theme.colors.neutral[500] : _theme.theme.colors.neutral[25],
|
|
64
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
65
|
+
width: 8,
|
|
66
|
+
backgroundColor: borderColor,
|
|
67
|
+
borderStyled: {
|
|
68
|
+
borderTopLeftRadius: _theme.theme.borderWidths.thick_medium,
|
|
69
|
+
borderBottomLeftRadius: _theme.theme.borderWidths.thick_medium
|
|
70
|
+
}
|
|
71
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.default, {
|
|
72
|
+
flexStyle: {
|
|
73
|
+
flex: 1
|
|
74
|
+
},
|
|
75
|
+
paddingStyle: {
|
|
76
|
+
padding: _theme.theme.paddings.sm
|
|
77
|
+
},
|
|
78
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.default, {
|
|
79
|
+
flexStyle: {
|
|
80
|
+
flexDirection: "row",
|
|
81
|
+
alignItems: "center"
|
|
82
|
+
},
|
|
83
|
+
marginStyle: {
|
|
84
|
+
marginBottom: 6
|
|
85
|
+
},
|
|
86
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Icons, {
|
|
87
|
+
icon: "BELL",
|
|
88
|
+
color: borderColor,
|
|
89
|
+
size: 20
|
|
90
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
91
|
+
text: title,
|
|
92
|
+
fontFamily: _theme.theme.fonts.inter_bold,
|
|
93
|
+
fontWeight: "700",
|
|
94
|
+
size: _theme.theme.fontSizes.md,
|
|
95
|
+
color: _theme.theme.colors.black[100],
|
|
96
|
+
marginLeft: 8
|
|
97
|
+
})]
|
|
98
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
99
|
+
text: description,
|
|
100
|
+
numberOfLines: isWarning ? 2 : 4,
|
|
101
|
+
ellipsizeMode: "tail",
|
|
102
|
+
size: _theme.theme.fontSizes.sm,
|
|
103
|
+
lineHeight: _theme.theme.lineHeight.md,
|
|
104
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
105
|
+
color: _theme.theme.colors.gray[700],
|
|
106
|
+
marginBottom: isWarning && actionLabel ? 12 : 0
|
|
107
|
+
}), actionLabel && onPressAction && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.default, {
|
|
108
|
+
isLoading: false,
|
|
109
|
+
title: actionLabel,
|
|
110
|
+
onPress: onPressAction,
|
|
111
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
112
|
+
borderStyled: {
|
|
113
|
+
borderWidth: 1,
|
|
114
|
+
borderColor: _theme.theme.colors.red[500],
|
|
115
|
+
borderRadius: 12
|
|
116
|
+
},
|
|
117
|
+
buttonTextStyle: {
|
|
118
|
+
color: _theme.theme.colors.red[500],
|
|
119
|
+
fontSize: _theme.theme.fontSizes.sm,
|
|
120
|
+
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
121
|
+
},
|
|
122
|
+
flexStyle: {
|
|
123
|
+
flexDirection: "row",
|
|
124
|
+
alignItems: "center",
|
|
125
|
+
justifyContent: "center"
|
|
126
|
+
},
|
|
127
|
+
style: {
|
|
128
|
+
alignSelf: "flex-start",
|
|
129
|
+
paddingHorizontal: 12
|
|
130
|
+
}
|
|
131
|
+
})]
|
|
132
|
+
})]
|
|
133
|
+
})
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
NotificationCard.displayName = "NotificationCard";
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* EXPORTS
|
|
140
|
+
*/
|
|
141
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(NotificationCard);
|
|
142
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_interopRequireDefault","_index3","_index4","_theme","_asBaseComponent","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","NotificationCard","forwardRef","variant","title","description","actionLabel","onPress","onPressAction","testID","ref","isWarning","borderColor","theme","colors","orange","blue","jsx","TouchableOpacity","activeOpacity","children","jsxs","flexStyle","flexDirection","borderStyled","borderWidth","neutral","borderRadius","borderWidths","thick_medium","marginStyle","marginBottom","backgroundColor","width","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","sm","alignItems","Icons","icon","color","size","text","fontFamily","fonts","inter_bold","fontWeight","fontSizes","md","black","marginLeft","numberOfLines","ellipsizeMode","lineHeight","inter_regular_400","gray","isLoading","red","buttonTextStyle","fontSize","inter_medium_500","justifyContent","style","alignSelf","paddingHorizontal","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/notification-card/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAGA,IAAAG,OAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,OAAA,GAAAF,sBAAA,CAAAJ,OAAA;AAGA,IAAAO,MAAA,GAAAP,OAAA;AAGA,IAAAQ,gBAAA,GAAAR,OAAA;AAAiE,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAI,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAf,uBAAA,Y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AIE,aAAa,iBAC3B,IAAA3B,WAAA,CAAAoC,GAAA,EAACvC,OAAA,CAAAM,OAAM;UACL4E,SAAS,EAAE,KAAM;UACjBxD,KAAK,EAAEE,WAAY;UACnBC,OAAO,EAAEC,aAAc;UACvBwB,eAAe,EAAEnB,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAE;UAC1CF,YAAY,EAAE;YACZC,WAAW,EAAE,CAAC;YACdb,WAAW,EAAEC,YAAK,CAACC,MAAM,CAAC+C,GAAG,CAAC,GAAG,CAAC;YAClClC,YAAY,EAAE;UAChB,CAAE;UACFmC,eAAe,EAAE;YACflB,KAAK,EAAE/B,YAAK,CAACC,MAAM,CAAC+C,GAAG,CAAC,GAAG,CAAC;YAC5BE,QAAQ,EAAElD,YAAK,CAACsC,SAAS,CAACX,EAAE;YAC5BO,UAAU,EAAElC,YAAK,CAACmC,KAAK,CAACgB;UAC1B,CAAE;UACF1C,SAAS,EAAE;YACTC,aAAa,EAAE,KAAK;YACpBkB,UAAU,EAAE,QAAQ;YACpBwB,cAAc,EAAE;UAClB,CAAE;UACFC,KAAK,EAAE;YAAEC,SAAS,EAAE,YAAY;YAAEC,iBAAiB,EAAE;UAAG;QAAE,CAC3D,CACF;MAAA,CACE,CAAC;IAAA,CACH;EAAC,CACU,CAAC;AAEvB,CACF,CAAC;AAEDnE,gBAAgB,CAACoE,WAAW,GAAG,kBAAkB;;AAEjD;AACA;AACA;AAFA,IAAAC,QAAA,GAAAC,OAAA,CAAAvF,OAAA,GAGe,IAAAwF,gCAAe,EAACvE,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/notification-card/interface.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../../common/icons-svg/index.js");
|
|
10
|
+
var _index2 = _interopRequireDefault(require("../box/index.js"));
|
|
11
|
+
var _index3 = _interopRequireDefault(require("../typography/index.js"));
|
|
12
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
13
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } /**
|
|
17
|
+
* IMPORTS
|
|
18
|
+
*/ // commons / icons
|
|
19
|
+
// components
|
|
20
|
+
// typings
|
|
21
|
+
// styles / theme
|
|
22
|
+
/**
|
|
23
|
+
* Componente NotificationDetailCard
|
|
24
|
+
*/
|
|
25
|
+
const NotificationDetailCard = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
26
|
+
title,
|
|
27
|
+
description,
|
|
28
|
+
fileUrl,
|
|
29
|
+
fileType = "image",
|
|
30
|
+
testID
|
|
31
|
+
}, ref) => {
|
|
32
|
+
const [visible, setVisible] = (0, _react.useState)(false);
|
|
33
|
+
function openFile() {
|
|
34
|
+
if (fileType === "image") {
|
|
35
|
+
setVisible(true);
|
|
36
|
+
} else if (fileUrl) {
|
|
37
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("react-native"))).then(({
|
|
38
|
+
Linking
|
|
39
|
+
}) => {
|
|
40
|
+
Linking.openURL(fileUrl).catch(err => console.warn("Erro ao abrir arquivo:", err));
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const borderColor = _theme.theme.colors.blue[500];
|
|
45
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.default, {
|
|
46
|
+
ref: ref,
|
|
47
|
+
testID: testID ?? "notification-detail-card",
|
|
48
|
+
flexStyle: {
|
|
49
|
+
flexDirection: "row"
|
|
50
|
+
},
|
|
51
|
+
borderStyled: {
|
|
52
|
+
borderWidth: 1,
|
|
53
|
+
borderColor: _theme.theme.colors.neutral[200],
|
|
54
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
55
|
+
},
|
|
56
|
+
marginStyle: {
|
|
57
|
+
marginBottom: 16
|
|
58
|
+
},
|
|
59
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
60
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
61
|
+
width: 8,
|
|
62
|
+
backgroundColor: borderColor,
|
|
63
|
+
borderStyled: {
|
|
64
|
+
borderTopLeftRadius: _theme.theme.borderWidths.thick_medium,
|
|
65
|
+
borderBottomLeftRadius: _theme.theme.borderWidths.thick_medium
|
|
66
|
+
}
|
|
67
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.default, {
|
|
68
|
+
flexStyle: {
|
|
69
|
+
flex: 1
|
|
70
|
+
},
|
|
71
|
+
paddingStyle: {
|
|
72
|
+
padding: _theme.theme.paddings.md
|
|
73
|
+
},
|
|
74
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
75
|
+
text: title,
|
|
76
|
+
fontFamily: _theme.theme.fonts.inter_bold,
|
|
77
|
+
fontWeight: "700",
|
|
78
|
+
size: _theme.theme.fontSizes.md,
|
|
79
|
+
color: _theme.theme.colors.black[100],
|
|
80
|
+
marginBottom: 8
|
|
81
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
82
|
+
text: description,
|
|
83
|
+
size: _theme.theme.fontSizes.sm,
|
|
84
|
+
lineHeight: _theme.theme.lineHeight.md,
|
|
85
|
+
color: _theme.theme.colors.gray[700],
|
|
86
|
+
marginBottom: fileUrl ? 12 : 0
|
|
87
|
+
}), fileUrl && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
88
|
+
testID: "button",
|
|
89
|
+
onPress: openFile,
|
|
90
|
+
activeOpacity: 0.8,
|
|
91
|
+
style: {
|
|
92
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
93
|
+
overflow: "hidden",
|
|
94
|
+
borderWidth: 1,
|
|
95
|
+
borderColor: _theme.theme.colors.gray[300]
|
|
96
|
+
},
|
|
97
|
+
children: fileType === "image" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
98
|
+
borderStyled: {
|
|
99
|
+
borderWidth: 2,
|
|
100
|
+
borderColor: _theme.theme.colors.blue[525],
|
|
101
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
102
|
+
},
|
|
103
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
104
|
+
source: {
|
|
105
|
+
uri: fileUrl
|
|
106
|
+
},
|
|
107
|
+
style: {
|
|
108
|
+
width: "100%",
|
|
109
|
+
height: 180,
|
|
110
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
111
|
+
borderWidth: 2,
|
|
112
|
+
borderColor: _theme.theme.colors.blue[525]
|
|
113
|
+
},
|
|
114
|
+
resizeMode: "cover"
|
|
115
|
+
})
|
|
116
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.default, {
|
|
117
|
+
flexStyle: {
|
|
118
|
+
flexDirection: "row",
|
|
119
|
+
alignItems: "center",
|
|
120
|
+
justifyContent: "space-between"
|
|
121
|
+
},
|
|
122
|
+
paddingStyle: {
|
|
123
|
+
padding: _theme.theme.paddings.sm
|
|
124
|
+
},
|
|
125
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
126
|
+
text: `Abrir arquivo (${fileType.toUpperCase()})`,
|
|
127
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
128
|
+
color: _theme.theme.colors.blue[500],
|
|
129
|
+
size: _theme.theme.fontSizes.md
|
|
130
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Icons, {
|
|
131
|
+
icon: "FILES",
|
|
132
|
+
size: 20,
|
|
133
|
+
color: _theme.theme.colors.blue[500]
|
|
134
|
+
})]
|
|
135
|
+
})
|
|
136
|
+
})]
|
|
137
|
+
}), fileType === "image" && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
138
|
+
visible: visible,
|
|
139
|
+
transparent: true,
|
|
140
|
+
animationType: "fade",
|
|
141
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
142
|
+
style: {
|
|
143
|
+
flex: 1,
|
|
144
|
+
backgroundColor: "rgba(0,0,0,0.9)",
|
|
145
|
+
justifyContent: "center",
|
|
146
|
+
alignItems: "center"
|
|
147
|
+
},
|
|
148
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
149
|
+
onPress: () => setVisible(false),
|
|
150
|
+
style: {
|
|
151
|
+
position: "absolute",
|
|
152
|
+
top: 40,
|
|
153
|
+
right: 20
|
|
154
|
+
},
|
|
155
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Icons, {
|
|
156
|
+
icon: "CLOSED",
|
|
157
|
+
size: 28,
|
|
158
|
+
color: _theme.theme.colors.neutral[25]
|
|
159
|
+
})
|
|
160
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
161
|
+
source: {
|
|
162
|
+
uri: fileUrl
|
|
163
|
+
},
|
|
164
|
+
style: {
|
|
165
|
+
width: "90%",
|
|
166
|
+
height: "70%",
|
|
167
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
168
|
+
},
|
|
169
|
+
resizeMode: "contain"
|
|
170
|
+
})]
|
|
171
|
+
})
|
|
172
|
+
})]
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
NotificationDetailCard.displayName = "NotificationDetailCard";
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* EXPORTS
|
|
179
|
+
*/
|
|
180
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(NotificationDetailCard);
|
|
181
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_interopRequireDefault","_index3","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","NotificationDetailCard","forwardRef","title","description","fileUrl","fileType","testID","ref","visible","setVisible","useState","openFile","Promise","resolve","then","Linking","openURL","catch","err","console","warn","borderColor","theme","colors","blue","jsxs","flexStyle","flexDirection","borderStyled","borderWidth","neutral","borderRadius","borderWidths","thick_medium","marginStyle","marginBottom","backgroundColor","children","jsx","width","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","md","text","fontFamily","fonts","inter_bold","fontWeight","size","fontSizes","color","black","sm","lineHeight","gray","TouchableOpacity","onPress","activeOpacity","style","overflow","Image","source","uri","height","resizeMode","alignItems","justifyContent","toUpperCase","inter_medium_500","Icons","icon","Modal","transparent","animationType","View","position","top","right","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/notification-details-card/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,G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AAK,EAAE;YAAEiB,QAAQ,EAAE,UAAU;YAAEC,GAAG,EAAE,EAAE;YAAEC,KAAK,EAAE;UAAG,CAAE;UAAA5C,QAAA,eAEpD,IAAAzD,WAAA,CAAA0D,GAAA,EAAChE,MAAA,CAAAmG,KAAK;YAACC,IAAI,EAAC,QAAQ;YAACtB,IAAI,EAAE,EAAG;YAACE,KAAK,EAAEhC,YAAK,CAACC,MAAM,CAACO,OAAO,CAAC,EAAE;UAAE,CAAE;QAAC,CAClD,CAAC,eAEnB,IAAAlD,WAAA,CAAA0D,GAAA,EAACjE,YAAA,CAAA2F,KAAK;UACJC,MAAM,EAAE;YAAEC,GAAG,EAAE9D;UAAQ,CAAE;UACzB0D,KAAK,EAAE;YACLvB,KAAK,EAAE,KAAK;YACZ4B,MAAM,EAAE,KAAK;YACbpC,YAAY,EAAET,YAAK,CAACU,YAAY,CAACC;UACnC,CAAE;UACFmC,UAAU,EAAC;QAAS,CACrB,CAAC;MAAA,CACE;IAAC,CACF,CACR;EAAA,CACE,CAAC;AAEV,CAAC,CAAC;AAEFpE,sBAAsB,CAACkF,WAAW,GAAG,wBAAwB;;AAE7D;AACA;AACA;AAFA,IAAAC,QAAA,GAAAC,OAAA,CAAArG,OAAA,GAGe,IAAAsG,gCAAe,EAACrF,sBAAsB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/notification-details-card/interface.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -34,9 +34,11 @@ const UserJourneyWorkCard = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
|
|
|
34
34
|
initialTime = "00:40",
|
|
35
35
|
duration = "00:00",
|
|
36
36
|
avatar = "",
|
|
37
|
+
counterBadge = 0,
|
|
37
38
|
backgroundColor,
|
|
38
39
|
width,
|
|
39
|
-
handleNavigation
|
|
40
|
+
handleNavigation,
|
|
41
|
+
handleNavigationNotification
|
|
40
42
|
} = props;
|
|
41
43
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
42
44
|
ref: ref,
|
|
@@ -141,9 +143,47 @@ const UserJourneyWorkCard = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
|
|
|
141
143
|
lineHeight: _theme.theme.lineHeight["2xl"]
|
|
142
144
|
})]
|
|
143
145
|
})]
|
|
144
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
145
|
-
|
|
146
|
-
|
|
146
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
147
|
+
activeOpacity: 0.7,
|
|
148
|
+
onPress: handleNavigationNotification,
|
|
149
|
+
children: [counterBadge > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
150
|
+
backgroundColor: _theme.theme.colors.red[500],
|
|
151
|
+
flexStyle: {
|
|
152
|
+
alignItems: "center",
|
|
153
|
+
justifyContent: "center"
|
|
154
|
+
},
|
|
155
|
+
borderStyled: {
|
|
156
|
+
borderRadius: _theme.theme.borderWidths.hairline
|
|
157
|
+
},
|
|
158
|
+
style: [counterBadge < 10 ? {
|
|
159
|
+
right: -5,
|
|
160
|
+
top: -2,
|
|
161
|
+
height: 16,
|
|
162
|
+
width: 16
|
|
163
|
+
} : {
|
|
164
|
+
right: -8,
|
|
165
|
+
top: -5,
|
|
166
|
+
padding: 2
|
|
167
|
+
}, {
|
|
168
|
+
position: "absolute",
|
|
169
|
+
zIndex: 10
|
|
170
|
+
}],
|
|
171
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
172
|
+
text: `${counterBadge}`,
|
|
173
|
+
align: "center",
|
|
174
|
+
size: _theme.theme.fontSizes["2xs"],
|
|
175
|
+
color: _theme.theme.colors.neutral[25],
|
|
176
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
177
|
+
lineHeight: _theme.theme.fontSizes.sm,
|
|
178
|
+
letterSpacing: "regular"
|
|
179
|
+
})
|
|
180
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
181
|
+
icon: "BELL",
|
|
182
|
+
size: 28,
|
|
183
|
+
style: {
|
|
184
|
+
position: "relative"
|
|
185
|
+
}
|
|
186
|
+
})]
|
|
147
187
|
})]
|
|
148
188
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
149
189
|
flexStyle: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_index3","_index4","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","UserJourneyWorkCard","forwardRef","props","ref","name","workDate","initialTime","duration","avatar","backgroundColor","width","handleNavigation","jsxs","paddingStyle","padding","theme","paddings","md","borderStyled","borderBottomWidth","borderWidths","thin","borderColor","colors","gray","style","position","children","flexStyle","flexDirection","justifyContent","alignItems","jsx","TouchableOpacity","onPress","Image","height","borderRadius","borderWidth","thin_medium","blue","source","uri","IMAGES","IMAGE_ANONIMA","left","top","text","size","fontSizes","xs","color","black","fontFamily","fonts","inter_bold_700","letterSpacing","lineHeight","inter_regular_400","Icons","icon","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_index3","_index4","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","UserJourneyWorkCard","forwardRef","props","ref","name","workDate","initialTime","duration","avatar","counterBadge","backgroundColor","width","handleNavigation","handleNavigationNotification","jsxs","paddingStyle","padding","theme","paddings","md","borderStyled","borderBottomWidth","borderWidths","thin","borderColor","colors","gray","style","position","children","flexStyle","flexDirection","justifyContent","alignItems","jsx","TouchableOpacity","onPress","Image","height","borderRadius","borderWidth","thin_medium","blue","source","uri","IMAGES","IMAGE_ANONIMA","left","top","text","size","fontSizes","xs","color","black","fontFamily","fonts","inter_bold_700","letterSpacing","lineHeight","inter_regular_400","Icons","icon","activeOpacity","red","hairline","right","zIndex","align","neutral","sm","marginStyle","marginTop","margins","marginRight","inter_semi_bold_600","inter_medium_500","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/user-journey-work-card/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AAGA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAIA,IAAAO,gBAAA,GAAAP,OAAA;AAGA,IAAAQ,MAAA,GAAAR,OAAA;AAAiD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAG,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAf,uBAAA,YAAAA,CAAAW,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAA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,WAAW,GAAG,qBAAqB;;AAEvD;AACA;AACA;AAFA,IAAAC,QAAA,GAAAC,OAAA,CAAAhG,OAAA,GAGe,IAAAiG,gCAAe,EAAChF,mBAAmB,CAAC","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -183,6 +183,18 @@ Object.defineProperty(exports, "MonthlySummaryTable", {
|
|
|
183
183
|
return _index24.default;
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
|
+
Object.defineProperty(exports, "NotificationCard", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () {
|
|
189
|
+
return _index43.default;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "NotificationDetailCard", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return _index44.default;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
186
198
|
Object.defineProperty(exports, "ResumeRaking", {
|
|
187
199
|
enumerable: true,
|
|
188
200
|
get: function () {
|
|
@@ -264,7 +276,7 @@ Object.defineProperty(exports, "UserProfile", {
|
|
|
264
276
|
Object.defineProperty(exports, "WeeklyHoursBalance", {
|
|
265
277
|
enumerable: true,
|
|
266
278
|
get: function () {
|
|
267
|
-
return
|
|
279
|
+
return _index45.default;
|
|
268
280
|
}
|
|
269
281
|
});
|
|
270
282
|
Object.defineProperty(exports, "WeeklyTable", {
|
|
@@ -276,7 +288,7 @@ Object.defineProperty(exports, "WeeklyTable", {
|
|
|
276
288
|
Object.defineProperty(exports, "formatDate", {
|
|
277
289
|
enumerable: true,
|
|
278
290
|
get: function () {
|
|
279
|
-
return
|
|
291
|
+
return _index46.formatDate;
|
|
280
292
|
}
|
|
281
293
|
});
|
|
282
294
|
Object.defineProperty(exports, "theme", {
|
|
@@ -325,12 +337,14 @@ var _index35 = _interopRequireDefault(require("./components/resume-raking/index.
|
|
|
325
337
|
var _index36 = _interopRequireDefault(require("./components/list-supplies/index.js"));
|
|
326
338
|
var _index37 = _interopRequireDefault(require("./components/list-devices/index.js"));
|
|
327
339
|
var _index38 = _interopRequireDefault(require("./components/modals/modal-activity-reason/index.js"));
|
|
328
|
-
var _index39 = _interopRequireDefault(require("./components/modals/modal-journey-rectification/index.js"));
|
|
340
|
+
var _index39 = _interopRequireDefault(require("./components/modals/modal-edite-journey-rectification/index.js"));
|
|
329
341
|
var _index40 = _interopRequireDefault(require("./components/modals/modal-create-activitie/index.js"));
|
|
330
342
|
var _index41 = _interopRequireDefault(require("./components/modals/modal-to-confimations/index.js"));
|
|
331
343
|
var _index42 = _interopRequireDefault(require("./components/activity-step/index.js"));
|
|
332
|
-
var _index43 = _interopRequireDefault(require("./components/
|
|
333
|
-
var _index44 = require("./
|
|
344
|
+
var _index43 = _interopRequireDefault(require("./components/notification-card/index.js"));
|
|
345
|
+
var _index44 = _interopRequireDefault(require("./components/notification-details-card/index.js"));
|
|
346
|
+
var _index45 = _interopRequireDefault(require("./components/weekly-hours-balance/index.js"));
|
|
347
|
+
var _index46 = require("./utils/format-date/index.js");
|
|
334
348
|
var _theme = require("./styles/theme/theme.js");
|
|
335
349
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
336
350
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","_index2","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index0","_index1","_index10","_index11","_index12","_index13","_index14","_index15","_index16","_index17","_index18","_index19","_index20","_index21","_index22","_index23","_index24","_index25","_index26","_index27","_index28","_index29","_index30","_index31","_index32","_index33","_index34","_index35","_index36","_index37","_index38","_index39","_index40","_index41","_index42","_index43","_index44","_theme","e","__esModule","default"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_index2","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index0","_index1","_index10","_index11","_index12","_index13","_index14","_index15","_index16","_index17","_index18","_index19","_index20","_index21","_index22","_index23","_index24","_index25","_index26","_index27","_index28","_index29","_index30","_index31","_index32","_index33","_index34","_index35","_index36","_index37","_index38","_index39","_index40","_index41","_index42","_index43","_index44","_index45","_index46","_theme","e","__esModule","default"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,OAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,OAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,OAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,OAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,OAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,QAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,QAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,QAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,QAAA,GAAAf,sBAAA,CA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zC,sBAAA,CAAAC,OAAA;AACA,IAAAyC,QAAA,GAAA1C,sBAAA,CAAAC,OAAA;AACA,IAAA0C,QAAA,GAAA3C,sBAAA,CAAAC,OAAA;AACA,IAAA2C,QAAA,GAAA5C,sBAAA,CAAAC,OAAA;AACA,IAAA4C,QAAA,GAAA7C,sBAAA,CAAAC,OAAA;AACA,IAAA6C,QAAA,GAAA9C,sBAAA,CAAAC,OAAA;AAGA,IAAA8C,QAAA,GAAA/C,sBAAA,CAAAC,OAAA;AAGA,IAAA+C,QAAA,GAAA/C,OAAA;AAGA,IAAAgD,MAAA,GAAAhD,OAAA;AAA6C,SAAAD,uBAAAkD,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -9,8 +9,6 @@ var _index = _interopRequireDefault(require("../../components/button/index.js"))
|
|
|
9
9
|
var _theme = require("../../styles/theme/theme.js");
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
/* eslint-disable no-undef */
|
|
13
|
-
|
|
14
12
|
// components
|
|
15
13
|
|
|
16
14
|
// styles
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_index","_theme","_jsxRuntime","e","__esModule","default","meta","title","component","Button","args","onPress","isLoading","parameters","notes","_default","exports","Basic","name","backgroundColor","theme","colors","blue","width","height","flexStyle","alignItems","justifyContent","textAlign","borderStyled","borderWidth","borderColor","borderRadius","borderWidths","thick_medium","buttonTextStyle","fontFamily","fonts","inter_regular_400","fontSize","fontSizes","lg","color","neutral","fontWeight","ButtonConfirm","testID","inter_medium_500","ButtonCancel","red","inter_bold_700","ButtonRectifyJourney","orange","ButtonIsLoading","render","setIsLoading","React","useState","jsx","disabled","setTimeout"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/button/button.stories.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAAiD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_index","_theme","_jsxRuntime","e","__esModule","default","meta","title","component","Button","args","onPress","isLoading","parameters","notes","_default","exports","Basic","name","backgroundColor","theme","colors","blue","width","height","flexStyle","alignItems","justifyContent","textAlign","borderStyled","borderWidth","borderColor","borderRadius","borderWidths","thick_medium","buttonTextStyle","fontFamily","fonts","inter_regular_400","fontSize","fontSizes","lg","color","neutral","fontWeight","ButtonConfirm","testID","inter_medium_500","ButtonCancel","red","inter_bold_700","ButtonRectifyJourney","orange","ButtonIsLoading","render","setIsLoading","React","useState","jsx","disabled","setTimeout"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/button/button.stories.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAAiD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJjD;;AAGA;;AAGA,MAAMG,IAAyB,GAAG;EAChCC,KAAK,EAAE,mBAAmB;EAC1BC,SAAS,EAAEC,cAAkB;EAC7BC,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE;EACb,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EA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