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
|
@@ -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,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,WAAA,CAAAsD,GAAA,EAAC3D,OAAA,CAAAQ,OAAU;YACTkE,IAAI,EAAE,SAAU;YAChBC,IAAI,EAAEjC,YAAK,CAACkC,SAAS,CAAC,KAAK,CAAE;YAC7BiB,KAAK,EAAC,QAAQ;YACdf,KAAK,EAAEpC,YAAK,CAACQ,MAAM,CAAC6B,KAAK,CAAC,GAAG,CAAE;YAC/BC,UAAU,EAAEtC,YAAK,CAACuC,KAAK,CAACoB,gBAAiB;YACzClB,aAAa,EAAE,SAAU;YACzBC,UAAU,EAAE;UAAG,CAChB,CAAC;QAAA,CACC,CAAC;MAAA,CACH;IAAC,CACH,CAAC;EAAA,CACH,CAAC;AAEV,CACF,CAAC;AAED3D,mBAAmB,CAAC6E,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,CAAA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A;AACA,IAAA+B,QAAA,GAAAhC,sBAAA,CAAAC,OAAA;AACA,IAAAgC,QAAA,GAAAjC,sBAAA,CAAAC,OAAA;AACA,IAAAiC,QAAA,GAAAlC,sBAAA,CAAAC,OAAA;AACA,IAAAkC,QAAA,GAAAnC,sBAAA,CAAAC,OAAA;AACA,IAAAmC,QAAA,GAAApC,sBAAA,CAAAC,OAAA;AACA,IAAAoC,QAAA,GAAArC,sBAAA,CAAAC,OAAA;AACA,IAAAqC,QAAA,GAAAtC,sBAAA,CAAAC,OAAA;AACA,IAAAsC,QAAA,GAAAvC,sBAAA,CAAAC,OAAA;AACA,IAAAuC,QAAA,GAAAxC,sBAAA,CAAAC,OAAA;AACA,IAAAwC,QAAA,GAAAzC,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,C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G,CAAC;QACnCU,YAAY,EAAEZ,YAAK,CAACa,YAAY,CAACC;MACnC,CAAE;MACFT,SAAS,EAAE;QAAEC,UAAU,EAAE,QAAQ;QAAEC,cAAc,EAAE,QAAQ;QAAEC,SAAS,EAAE;MAAS;IAAE,CACpF,CAAC;EAEN,CAAC;EACDlB,IAAI,EAAE;IACJH,KAAK,EAAE,kBAAkB;IACzBY,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCV,SAAS,EAAE,KAAK;IAChBW,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,EAAE;IACVC,SAAS,EAAE;MACTC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,SAAS,EAAE;IACb,CAAC;IACDC,YAAY,EAAE;MACZC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEX,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;MACnCU,YAAY,EAAEZ,YAAK,CAACa,YAAY,CAACC;IACnC,CAAC;IACDC,eAAe,EAAE;MACfC,UAAU,EAAEhB,YAAK,CAACiB,KAAK,CAACC,iBAAiB;MACzCC,QAAQ,EAAEnB,YAAK,CAACoB,SAAS,CAACC,EAAE;MAC5BC,KAAK,EAAEtB,YAAK,CAACC,MAAM,CAACsB,OAAO,CAAC,EAAE,CAAC;MAC/BC,UAAU,EAAE;IACd;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","CapturePhoto","args","takePhotoWithImagePicker","imageComprovante","onPress","parameters","notes","_default","exports","CaptureSimple","name","console","log","testID","opacity","marginStyle","marginBottom","width","height","borderStyled","borderWidth","borderColor","theme","colors","blue","borderRadius","borderWidths","thick_medium","borderStyle","flexStyle","textAlign","justifyContent","flexDirection","alignItems","color","colorSvg","gray","colorText","green","fontStyle","fontSize","fontWeight","fontFamily","lineHeight","letterSpacing","text","smallText","CaptureSmallPhoto","paddingStyle","paddingTop","paddingBottom","textSmallPhoto","CaptureSimplePhoto","thin","CaptureSmallWithPhoto"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/capture-photo/capture-photo.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJjD;;AAGA;;AAGA,MAAMG,IAA+B,GAAG;EACtCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,cAAwB;EACnCC,IAAI,EAAE;IACJC,wBAAwB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClCC,gBAAgB,EAAE,IAAI;IACtBC,OAAO,EAAEA,CAAA,KAAM,CAAC;EAClB,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAZ,OAAA,GAEaC,IAAI;
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","CapturePhoto","args","takePhotoWithImagePicker","imageComprovante","onPress","parameters","notes","_default","exports","CaptureSimple","name","console","log","testID","opacity","marginStyle","marginBottom","width","height","borderStyled","borderWidth","borderColor","theme","colors","blue","borderRadius","borderWidths","thick_medium","borderStyle","flexStyle","textAlign","justifyContent","flexDirection","alignItems","color","colorSvg","gray","colorText","green","fontStyle","fontSize","fontWeight","fontFamily","lineHeight","letterSpacing","text","smallText","CaptureSmallPhoto","paddingStyle","paddingTop","paddingBottom","textSmallPhoto","CaptureSimplePhoto","thin","CaptureSmallWithPhoto"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/capture-photo/capture-photo.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJjD;;AAGA;;AAGA,MAAMG,IAA+B,GAAG;EACtCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,cAAwB;EACnCC,IAAI,EAAE;IACJC,wBAAwB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClCC,gBAAgB,EAAE,IAAI;IACtBC,OAAO,EAAEA,CAAA,KAAM,CAAC;EAClB,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAZ,OAAA,GAEaC,IAAI;AAKZ,MAAMY,aAAoB,GAAAD,OAAA,CAAAC,aAAA,GAAG;EAClCC,IAAI,EAAE,gBAAgB;EACtBT,IAAI,EAAE;IACJC,wBAAwB,EAAEA,CAAA,KAAMS,OAAO,CAACC,GAAG,CAAC,kBAAkB,CAAC;IAC/DC,MAAM,EAAE,gBAAgB;IACxBC,OAAO,EAAE,GAAG;IACZC,WAAW,EAAE;MACXC,YAAY,EAAE;IAChB,CAAC;IAEDC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,GAAG;IACXC,YAAY,EAAE;MACZC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CA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MAAM,EAAE,qBAAqB;IAE7BI,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,GAAG;IACXC,YAAY,EAAE;MACZC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;MACnCC,YAAY,EAAEH,YAAK,CAACI,YAAY,CAACC,YAAY;MAC7CC,WAAW,EAAE;IACf;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -13,13 +13,59 @@ const meta = {
|
|
|
13
13
|
title: "componente/CardWorkSession",
|
|
14
14
|
component: _index.default,
|
|
15
15
|
args: {
|
|
16
|
+
width: "100%",
|
|
17
|
+
counterBadge: 1,
|
|
16
18
|
name: "Weverson L.S",
|
|
17
19
|
workDate: "25/01/2025",
|
|
18
|
-
timeWork: "",
|
|
19
20
|
initialTime: "11:40",
|
|
20
21
|
duration: "05:20",
|
|
21
22
|
avatar: "https://avatars.githubusercontent.com/u/100369327?v=4&size=64"
|
|
22
23
|
},
|
|
24
|
+
argTypes: {
|
|
25
|
+
width: {
|
|
26
|
+
control: "number",
|
|
27
|
+
description: "Informa a a largura do componente."
|
|
28
|
+
},
|
|
29
|
+
name: {
|
|
30
|
+
control: "text",
|
|
31
|
+
description: "Informa o nome do usuário."
|
|
32
|
+
},
|
|
33
|
+
workDate: {
|
|
34
|
+
control: "text",
|
|
35
|
+
description: "Informa a data que inicio a jornada."
|
|
36
|
+
},
|
|
37
|
+
initialTime: {
|
|
38
|
+
control: "text",
|
|
39
|
+
description: "Informa o inicio de jornada."
|
|
40
|
+
},
|
|
41
|
+
duration: {
|
|
42
|
+
control: "text",
|
|
43
|
+
description: "Informa a duração de jornada."
|
|
44
|
+
},
|
|
45
|
+
avatar: {
|
|
46
|
+
control: "text",
|
|
47
|
+
description: "Informa a foto do usuário."
|
|
48
|
+
},
|
|
49
|
+
counterBadge: {
|
|
50
|
+
control: "number",
|
|
51
|
+
type: "number",
|
|
52
|
+
description: "Quantidade de mensagem não lidas"
|
|
53
|
+
},
|
|
54
|
+
backgroundColor: {
|
|
55
|
+
control: "text",
|
|
56
|
+
description: "Informa a cor de fundo."
|
|
57
|
+
},
|
|
58
|
+
handleNavigationNotification: {
|
|
59
|
+
control: () => {},
|
|
60
|
+
type: "function",
|
|
61
|
+
description: "Função que navegar para as notificações."
|
|
62
|
+
},
|
|
63
|
+
handleNavigation: {
|
|
64
|
+
control: () => {},
|
|
65
|
+
type: "function",
|
|
66
|
+
description: "Função que navegar para o perfil."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
23
69
|
parameters: {
|
|
24
70
|
notes: `
|
|
25
71
|
# CardWorkSession
|
|
@@ -28,11 +74,16 @@ Este é um componente de CardWorkSession de session de trabalho.
|
|
|
28
74
|
Você usa assim:
|
|
29
75
|
\`\`\`tsx
|
|
30
76
|
<CardWorkSession
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
77
|
+
width: 400,
|
|
78
|
+
counterBadge: 1,
|
|
79
|
+
name: "Weverson L.S",
|
|
80
|
+
workDate: "25/01/2025",
|
|
81
|
+
initialTime: "11:40",
|
|
82
|
+
duration: "05:20",
|
|
83
|
+
avatar: "https://avatars.githubusercontent.com/u/100369327?v=4&size=64",
|
|
84
|
+
backgroundColor: theme.colors.gray[300],
|
|
85
|
+
handleNavigationNotification: () => {},
|
|
86
|
+
handleNavigation: () => {},
|
|
36
87
|
/>
|
|
37
88
|
\`\`\`
|
|
38
89
|
`
|
|
@@ -42,14 +93,16 @@ var _default = exports.default = meta;
|
|
|
42
93
|
const CardTrabalhoSession = exports.CardTrabalhoSession = {
|
|
43
94
|
name: "card-work-session",
|
|
44
95
|
args: {
|
|
45
|
-
width:
|
|
96
|
+
width: "100%",
|
|
97
|
+
counterBadge: 1,
|
|
46
98
|
name: "Weverson L.S",
|
|
47
99
|
workDate: "25/01/2025",
|
|
48
|
-
timeWork: "",
|
|
49
100
|
initialTime: "11:40",
|
|
50
101
|
duration: "05:20",
|
|
51
102
|
avatar: "https://avatars.githubusercontent.com/u/100369327?v=4&size=64",
|
|
52
|
-
backgroundColor: _theme.theme.colors.gray[300]
|
|
103
|
+
backgroundColor: _theme.theme.colors.gray[300],
|
|
104
|
+
handleNavigationNotification: () => {},
|
|
105
|
+
handleNavigation: () => {}
|
|
53
106
|
}
|
|
54
107
|
};
|
|
55
108
|
//# sourceMappingURL=card-work-session.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","CardWorkSession","args","
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","CardWorkSession","args","width","counterBadge","name","workDate","initialTime","duration","avatar","argTypes","control","description","type","backgroundColor","handleNavigationNotification","handleNavigation","parameters","notes","_default","exports","CardTrabalhoSession","theme","colors","gray"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/card-work-session/card-work-session.stories.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAFjD;;AAIA,MAAMG,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEC,cAAe;EAC1BC,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbC,YAAY,EAAE,CAAC;IACfC,IAAI,EAAE,cAAc;IACpBC,QAAQ,EAAE,YAAY;IACtBC,WAAW,EAAE,OAAO;IACpBC,QAAQ,EAAE,OAAO;IACjBC,MAAM,EAAE;EACV,CAAC;EACDC,QAAQ,EAAE;IACRP,KAAK,EAAE;MACLQ,OAAO,EAAE,QAAQ;MACjBC,WAAW,EAAE;IACf,CAAC;IACDP,IAAI,EAAE;MACJM,OAAO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;IACvEK,eAAe,EAAEQ,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCT,4BAA4B,EAAEA,CAAA,KAAM,CAAC,CAAC;IACtCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
|
package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = exports.Default = void 0;
|
|
7
|
-
var _index = _interopRequireDefault(require("../../components/modals/modal-journey-rectification/index.js"));
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/modals/modal-edite-journey-rectification/index.js"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
/**
|
|
10
|
-
* IMPORTS
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// components
|
package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","ModalJourneyRectification","args","visible","onClose","modalConfirm","parameters","docs","description","_default","exports","Default","name"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"mappings":";;;;;;AAMA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","ModalJourneyRectification","args","visible","onClose","modalConfirm","parameters","docs","description","_default","exports","Default","name"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"mappings":";;;;;;AAMA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAkG,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AANlG;AACA;AACA;;AAGA;;AAGA,MAAMG,IAA4C,GAAG;EACnDC,KAAK,EAAE,sCAAsC;EAC7CC,SAAS,EAAEC,cAAyB;EACpCC,IAAI,EAAE;IACJC,OAAO,EAAE,KAAK;IACdC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB,CAAC;EACDC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXR,SAAS,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF;AACF,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,IAAI;AAIZ,MAAMa,OAAc,GAAAD,OAAA,CAAAC,OAAA,GAAG;EAC5BC,IAAI,EAAE,6BAA6B;EACnCV,IAAI,EAAE;IACJC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.NotificationCardWarning = exports.NotificationCardSuccess = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/notification-card/index.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// components
|
|
14
|
+
|
|
15
|
+
// typings
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* META
|
|
19
|
+
*/
|
|
20
|
+
const meta = {
|
|
21
|
+
title: "Componente/NotificationCard",
|
|
22
|
+
component: _index.default,
|
|
23
|
+
args: {
|
|
24
|
+
variant: "read",
|
|
25
|
+
title: "Lorem Ipsum",
|
|
26
|
+
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry..."
|
|
27
|
+
},
|
|
28
|
+
argTypes: {
|
|
29
|
+
variant: {
|
|
30
|
+
control: {
|
|
31
|
+
type: "select"
|
|
32
|
+
},
|
|
33
|
+
description: "Define o estilo do card.",
|
|
34
|
+
options: ["success", "warning"]
|
|
35
|
+
},
|
|
36
|
+
title: {
|
|
37
|
+
control: {
|
|
38
|
+
type: "text"
|
|
39
|
+
},
|
|
40
|
+
description: "Título da notificação."
|
|
41
|
+
},
|
|
42
|
+
description: {
|
|
43
|
+
control: {
|
|
44
|
+
type: "text"
|
|
45
|
+
},
|
|
46
|
+
description: "Descrição da notificação."
|
|
47
|
+
},
|
|
48
|
+
actionLabel: {
|
|
49
|
+
control: {
|
|
50
|
+
type: "text"
|
|
51
|
+
},
|
|
52
|
+
description: "Texto do botão de ação opcional."
|
|
53
|
+
},
|
|
54
|
+
onPressAction: {
|
|
55
|
+
action: "onPressAction",
|
|
56
|
+
description: "Função chamada ao clicar no botão de ação."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
parameters: {
|
|
60
|
+
docs: {
|
|
61
|
+
description: {
|
|
62
|
+
component: `
|
|
63
|
+
### NotificationCard
|
|
64
|
+
|
|
65
|
+
Componente de **notificação** para exibir informações ao usuário.
|
|
66
|
+
|
|
67
|
+
- \`variant\`: define o tipo de card (\`success\` | \`warning\`)
|
|
68
|
+
- \`title\`: define o título da notificação
|
|
69
|
+
- \`description\`: define a descrição da notificação
|
|
70
|
+
- \`actionLabel\`: texto opcional do botão de ação
|
|
71
|
+
- \`onPressAction\`: callback executado ao clicar na ação
|
|
72
|
+
|
|
73
|
+
> Use este componente quando precisar exibir uma notificação com ou sem ação para o usuário.
|
|
74
|
+
`
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var _default = exports.default = meta;
|
|
80
|
+
/**
|
|
81
|
+
* STORIES
|
|
82
|
+
*/
|
|
83
|
+
const NotificationCardSuccess = exports.NotificationCardSuccess = {
|
|
84
|
+
name: "notification-card-success",
|
|
85
|
+
args: {
|
|
86
|
+
variant: "read",
|
|
87
|
+
title: "Lorem Ipsum",
|
|
88
|
+
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. It has been used as a placeholder text since the 1500s..."
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
const NotificationCardWarning = exports.NotificationCardWarning = {
|
|
92
|
+
name: "notification-card-warning",
|
|
93
|
+
args: {
|
|
94
|
+
variant: "unread",
|
|
95
|
+
title: "Lorem Ipsum",
|
|
96
|
+
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry...",
|
|
97
|
+
actionLabel: "Lorem Ipsum"
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=notification-card.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","NotificationCard","args","variant","description","argTypes","control","type","options","actionLabel","onPressAction","action","parameters","docs","_default","exports","NotificationCardSuccess","name","NotificationCardWarning"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/notification-card/notification-card.stories.tsx"],"mappings":";;;;;;AAOA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAkE,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAPlE;AACA;AACA;;AAIA;;AAGA;;AAGA;AACA;AACA;AACA,MAAMG,IAAmC,GAAG;EAC1CC,KAAK,E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IACjBJ,KAAK,EAAE,aAAa;IACpBK,WAAW,EAAE,8EAA8E;IAC3FK,WAAW,EAAE;EACf;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.TextoComPdf = exports.TextoComImagem = exports.TextoComCsv = exports.SomenteTexto = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/notification-details-card/index.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// components
|
|
14
|
+
|
|
15
|
+
// typings
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* META
|
|
19
|
+
*/
|
|
20
|
+
const meta = {
|
|
21
|
+
title: "Componente/NotificationDetailCard",
|
|
22
|
+
component: _index.default,
|
|
23
|
+
args: {
|
|
24
|
+
title: "Lorem Ipsum",
|
|
25
|
+
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. " + "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s..."
|
|
26
|
+
},
|
|
27
|
+
argTypes: {
|
|
28
|
+
title: {
|
|
29
|
+
control: {
|
|
30
|
+
type: "text"
|
|
31
|
+
},
|
|
32
|
+
description: "Título da notificação."
|
|
33
|
+
},
|
|
34
|
+
description: {
|
|
35
|
+
control: {
|
|
36
|
+
type: "text"
|
|
37
|
+
},
|
|
38
|
+
description: "Descrição detalhada da notificação."
|
|
39
|
+
},
|
|
40
|
+
fileUrl: {
|
|
41
|
+
control: {
|
|
42
|
+
type: "text"
|
|
43
|
+
},
|
|
44
|
+
description: "URL de um arquivo anexo (imagem, PDF, CSV, etc.)."
|
|
45
|
+
},
|
|
46
|
+
fileType: {
|
|
47
|
+
control: {
|
|
48
|
+
type: "select"
|
|
49
|
+
},
|
|
50
|
+
options: ["image", "pdf", "csv", "other"],
|
|
51
|
+
description: "Tipo do arquivo anexo."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
parameters: {
|
|
55
|
+
docs: {
|
|
56
|
+
description: {
|
|
57
|
+
component: `
|
|
58
|
+
### NotificationDetailCard
|
|
59
|
+
|
|
60
|
+
Componente de **detalhamento de notificações**, podendo conter apenas texto ou também anexos (imagem, PDF, CSV, etc.).
|
|
61
|
+
|
|
62
|
+
- \`title\`: título da notificação
|
|
63
|
+
- \`description\`: descrição detalhada
|
|
64
|
+
- \`fileUrl\`: URL do arquivo (opcional)
|
|
65
|
+
- \`fileType\`: tipo do arquivo (image, pdf, csv, other)
|
|
66
|
+
|
|
67
|
+
> Use este componente para exibir o detalhamento completo de uma notificação.
|
|
68
|
+
`
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
var _default = exports.default = meta;
|
|
74
|
+
/**
|
|
75
|
+
* STORIES
|
|
76
|
+
*/
|
|
77
|
+
const SomenteTexto = exports.SomenteTexto = {
|
|
78
|
+
name: "Somente Texto",
|
|
79
|
+
args: {
|
|
80
|
+
title: "Lorem Ipsum",
|
|
81
|
+
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. " + "It has survived not only five centuries, but also the leap into electronic typesetting."
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
const TextoComImagem = exports.TextoComImagem = {
|
|
85
|
+
name: "Texto + Imagem",
|
|
86
|
+
args: {
|
|
87
|
+
title: "Atenção!",
|
|
88
|
+
description: "Ponte interditada para caminhões. Apenas veículos leves podem transitar.",
|
|
89
|
+
fileUrl: "https://placehold.co/300x300",
|
|
90
|
+
// aqui você troca pelo real
|
|
91
|
+
fileType: "image"
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
const TextoComPdf = exports.TextoComPdf = {
|
|
95
|
+
name: "Texto + PDF",
|
|
96
|
+
args: {
|
|
97
|
+
title: "Relatório disponível",
|
|
98
|
+
description: "Clique abaixo para abrir o relatório completo em PDF.",
|
|
99
|
+
fileUrl: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
|
|
100
|
+
fileType: "pdf"
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
const TextoComCsv = exports.TextoComCsv = {
|
|
104
|
+
name: "Texto + CSV",
|
|
105
|
+
args: {
|
|
106
|
+
title: "Dados Exportados",
|
|
107
|
+
description: "Clique abaixo para visualizar o arquivo CSV exportado.",
|
|
108
|
+
fileUrl: "https://people.sc.fsu.edu/~jburkardt/data/csv/airtravel.csv",
|
|
109
|
+
fileType: "csv"
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=notification-details-card.stories.js.map
|
package/lib/commonjs/stories/notification-details-card/notification-details-card.stories.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","NotificationDetailCard","args","description","argTypes","control","type","fileUrl","fileType","options","parameters","docs","_default","exports","SomenteTexto","name","TextoComImagem","TextoComPdf","TextoComCsv"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/notification-details-card/notification-details-card.stories.tsx"],"mappings":";;;;;;AAOA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAgF,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAPhF;AACA;AACA;;AAIA;;AAGA;;AAGA;AACA;AACA;AACA,MAAMG,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEC,cAAgE;EAC3EC,IAAI,EAAE;IACJH,KAAK,EAAE,aAAa;IACpBI,WAAW,EACT,6EAA6E,GAC7E;EACJ,CAAC;EACDC,QAAQ,EAAE;IACRL,KAA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