jornada-ui 0.4.15 → 0.4.17
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-change-activitie-history/helpers/index.js +35 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/helpers/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js +203 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/interface.js +6 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/interface.js.map +1 -0
- 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/step-indicator/index.js +131 -68
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- 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-change-activitie-history/helpers/index.js +32 -0
- package/lib/module/components/modals/modal-change-activitie-history/helpers/index.js.map +1 -0
- package/lib/module/components/modals/modal-change-activitie-history/index.js +196 -0
- package/lib/module/components/modals/modal-change-activitie-history/index.js.map +1 -0
- package/lib/module/components/modals/modal-change-activitie-history/interface.js +4 -0
- package/lib/module/components/modals/modal-change-activitie-history/interface.js.map +1 -0
- 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/step-indicator/index.js +129 -65
- package/lib/module/components/step-indicator/index.js.map +1 -1
- 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-change-activitie-history/helpers/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/helpers/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts +18 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -0
- 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/step-indicator/index.d.ts +3 -9
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +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-change-activitie-history/helpers/index.d.ts +13 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/helpers/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/index.d.ts +10 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts +18 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -0
- 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/step-indicator/index.d.ts +3 -9
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +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-change-activitie-history/helpers/index.ts +15 -0
- package/src/components/modals/modal-change-activitie-history/index.tsx +189 -0
- package/src/components/modals/modal-change-activitie-history/interface.ts +16 -0
- 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/step-indicator/index.tsx +226 -155
- package/src/components/step-indicator/interface.d.ts +3 -2
- 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
|
@@ -4,95 +4,157 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _react =
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _index = require("
|
|
9
|
+
var _index = require("../modals/modal-change-activitie-history/index.js");
|
|
10
|
+
var _index2 = require("../../common/icons-svg/index.js");
|
|
10
11
|
var _getIconByStatus = require("./helpers/get-icon-by-status.js");
|
|
11
|
-
var
|
|
12
|
+
var _index3 = require("../../utils/format-date/index.js");
|
|
12
13
|
var _styles = require("./styles.js");
|
|
13
14
|
var _theme = require("../../styles/theme/theme.js");
|
|
15
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
14
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
* IMPORTS
|
|
18
|
-
*/
|
|
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
|
+
// components
|
|
19
19
|
|
|
20
20
|
// commons / svg
|
|
21
21
|
|
|
22
22
|
// helpers
|
|
23
23
|
|
|
24
|
-
// utils
|
|
25
|
-
|
|
26
24
|
// typings
|
|
27
25
|
|
|
26
|
+
// utils
|
|
27
|
+
|
|
28
28
|
// styles
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Componente StepIndicator para a interação da ui.
|
|
32
|
-
*/const StepIndicator = ({
|
|
32
|
+
*/const StepIndicator = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
33
33
|
data = [],
|
|
34
34
|
type,
|
|
35
35
|
textColorDescription,
|
|
36
36
|
titleColor,
|
|
37
37
|
titleNumberColor,
|
|
38
|
-
|
|
39
|
-
}) => {
|
|
38
|
+
onChangeActivity
|
|
39
|
+
}, ref) => {
|
|
40
40
|
const StepDefault = () => {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
const [isModalVisible, setIsModalVisible] = (0, _react.useState)(false);
|
|
42
|
+
const [currentStepIndex, setCurrentStepIndex] = (0, _react.useState)(null);
|
|
43
|
+
const [stepData, setStepData] = (0, _react.useState)(data);
|
|
44
|
+
const flatListRef = (0, _react.useRef)(null);
|
|
45
|
+
const handleOnPressActivitie = (stepItem, index) => {
|
|
46
|
+
const desc = stepItem?.descricao?.toLowerCase?.();
|
|
47
|
+
if (!desc) return;
|
|
48
|
+
const isDescanso = ["descanso", "refeição", "repouso_noturno", "repouso_semanal"].includes(desc.replace(/\s+/g, "_"));
|
|
49
|
+
if (isDescanso && stepItem?.sincronizado === true) {
|
|
50
|
+
setCurrentStepIndex(index);
|
|
51
|
+
setIsModalVisible(true);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const handleConfirmModal = newData => {
|
|
55
|
+
if (currentStepIndex !== null) {
|
|
56
|
+
const updatedStep = {
|
|
57
|
+
...stepData[currentStepIndex],
|
|
58
|
+
descricao: newData.label,
|
|
59
|
+
referencia: newData.value,
|
|
60
|
+
jr_tipo_atividade_id: newData.key
|
|
61
|
+
};
|
|
62
|
+
const newSteps = stepData.map((item, index) => index === currentStepIndex ? updatedStep : item);
|
|
63
|
+
setStepData(newSteps);
|
|
64
|
+
if (onChangeActivity) {
|
|
65
|
+
onChangeActivity(updatedStep);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
setIsModalVisible(false);
|
|
69
|
+
setCurrentStepIndex(null);
|
|
70
|
+
};
|
|
47
71
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
72
|
+
// render item padrão do step indicator
|
|
73
|
+
const renderItem = ({
|
|
74
|
+
item: history,
|
|
75
|
+
index
|
|
76
|
+
}) => {
|
|
77
|
+
const isFirst = index === 0;
|
|
78
|
+
const isEditableType = history.tipo === "descanso";
|
|
79
|
+
const isSynced = history?.sincronizado === true;
|
|
80
|
+
const canEdit = isFirst && isEditableType && isSynced;
|
|
81
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
82
|
+
testID: "step-indicator",
|
|
83
|
+
activeOpacity: 0.7,
|
|
84
|
+
style: (0, _styles.styles)({}).containerIndicator,
|
|
85
|
+
disabled: !canEdit,
|
|
86
|
+
onPress: () => handleOnPressActivitie(history, index),
|
|
87
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
88
|
+
style: (0, _styles.styles)({
|
|
89
|
+
sincronizado: history.sincronizado
|
|
90
|
+
}).containerBall,
|
|
91
|
+
children: [stepData.length > 1 && index < stepData.length - 1 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
92
|
+
style: {
|
|
93
|
+
width: 2,
|
|
94
|
+
height: 84,
|
|
95
|
+
marginTop: 116,
|
|
96
|
+
position: "relative",
|
|
97
|
+
backgroundColor: history.sincronizado ? _theme.theme.colors.blue[500] : _theme.theme.colors.orange[150]
|
|
98
|
+
}
|
|
99
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
58
100
|
style: (0, _styles.styles)({
|
|
59
|
-
|
|
60
|
-
}).
|
|
61
|
-
children:
|
|
62
|
-
style: {
|
|
63
|
-
width: 2,
|
|
64
|
-
height: 84,
|
|
65
|
-
marginTop: 116,
|
|
66
|
-
position: "relative",
|
|
67
|
-
backgroundColor: history.sincronizado ? _theme.theme.colors.blue[500] : _theme.theme.colors.orange[150]
|
|
68
|
-
}
|
|
69
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
70
|
-
style: (0, _styles.styles)({
|
|
71
|
-
titleNumberColor
|
|
72
|
-
}).titleNumber,
|
|
73
|
-
children: data?.length - index
|
|
74
|
-
})]
|
|
75
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
76
|
-
style: (0, _styles.styles)({}).containerMain,
|
|
77
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
78
|
-
style: (0, _styles.styles)({
|
|
79
|
-
titleColor
|
|
80
|
-
}).title,
|
|
81
|
-
children: history?.descricao
|
|
82
|
-
}), history?.data_inicio && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
83
|
-
style: (0, _styles.styles)({
|
|
84
|
-
textColorDescription
|
|
85
|
-
}).titleDescription,
|
|
86
|
-
children: `Inicio: ${history.data_inicio} ás ${history.data_fim}`
|
|
87
|
-
}), history.duracao_segundos && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
88
|
-
style: (0, _styles.styles)({
|
|
89
|
-
textColorDescription
|
|
90
|
-
}).titleDescription,
|
|
91
|
-
children: ["Dura\xE7\xE3o: ", (0, _index2.formHoursMinute)(history?.duracao_segundos)]
|
|
92
|
-
})]
|
|
101
|
+
titleNumberColor
|
|
102
|
+
}).titleNumber,
|
|
103
|
+
children: stepData.length - index
|
|
93
104
|
})]
|
|
94
|
-
},
|
|
95
|
-
|
|
105
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
106
|
+
style: (0, _styles.styles)({}).containerMain,
|
|
107
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
108
|
+
style: (0, _styles.styles)({
|
|
109
|
+
titleColor
|
|
110
|
+
}).title,
|
|
111
|
+
children: history?.descricao
|
|
112
|
+
}), history?.data_inicio && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
113
|
+
style: (0, _styles.styles)({
|
|
114
|
+
textColorDescription
|
|
115
|
+
}).titleDescription,
|
|
116
|
+
children: `Inicio: ${history.data_inicio} ás ${history.data_fim}`
|
|
117
|
+
}), history.duracao_segundos && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
118
|
+
style: (0, _styles.styles)({
|
|
119
|
+
textColorDescription
|
|
120
|
+
}).titleDescription,
|
|
121
|
+
children: ["Dura\xE7\xE3o: ", (0, _index3.formHoursMinute)(history?.duracao_segundos)]
|
|
122
|
+
})]
|
|
123
|
+
})]
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
// Expor funções para o pai via forwardRef
|
|
128
|
+
(0, _react.useImperativeHandle)(ref, () => ({
|
|
129
|
+
scrollToIndex: index => {
|
|
130
|
+
flatListRef.current?.scrollToIndex({
|
|
131
|
+
index,
|
|
132
|
+
animated: true
|
|
133
|
+
});
|
|
134
|
+
},
|
|
135
|
+
openModalAt: index => {
|
|
136
|
+
if (stepData[index]) {
|
|
137
|
+
setCurrentStepIndex(index);
|
|
138
|
+
setIsModalVisible(true);
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
resetSteps: newData => {
|
|
142
|
+
setStepData(newData);
|
|
143
|
+
}
|
|
144
|
+
}));
|
|
145
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
146
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
|
|
147
|
+
ref: flatListRef,
|
|
148
|
+
data: stepData,
|
|
149
|
+
renderItem: renderItem,
|
|
150
|
+
keyExtractor: (item, index) => String(item?.id ?? String(index)),
|
|
151
|
+
showsVerticalScrollIndicator: false
|
|
152
|
+
}), isModalVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ModalChangeActivity, {
|
|
153
|
+
visible: isModalVisible,
|
|
154
|
+
modalConfirm: handleConfirmModal,
|
|
155
|
+
descricao: "",
|
|
156
|
+
onClose: () => setIsModalVisible(false)
|
|
157
|
+
})]
|
|
96
158
|
});
|
|
97
159
|
};
|
|
98
160
|
const StepCustom = () => {
|
|
@@ -127,7 +189,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
127
189
|
alignItems: "center",
|
|
128
190
|
justifyContent: "center"
|
|
129
191
|
},
|
|
130
|
-
children: descricao && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
192
|
+
children: descricao && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Icons, {
|
|
131
193
|
icon: descricao
|
|
132
194
|
})
|
|
133
195
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -169,10 +231,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
169
231
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
170
232
|
children: handleRenderComponent(type)
|
|
171
233
|
});
|
|
172
|
-
};
|
|
234
|
+
});
|
|
235
|
+
StepIndicator.displayName = "StepIndicator";
|
|
173
236
|
|
|
174
237
|
/**
|
|
175
|
-
*
|
|
238
|
+
* Componente StepIndicator para a interação da ui.
|
|
176
239
|
*/
|
|
177
|
-
var _default = exports.default = StepIndicator;
|
|
240
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(StepIndicator);
|
|
178
241
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_getIconByStatus","_index3","_styles","_theme","_asBaseComponent","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StepIndicator","forwardRef","data","type","textColorDescription","titleColor","titleNumberColor","onChangeActivity","ref","StepDefault","isModalVisible","setIsModalVisible","useState","currentStepIndex","setCurrentStepIndex","stepData","setStepData","flatListRef","useRef","handleOnPressActivitie","stepItem","index","desc","descricao","toLowerCase","isDescanso","includes","replace","sincronizado","handleConfirmModal","newData","updatedStep","label","referencia","value","jr_tipo_atividade_id","key","newSteps","map","item","renderItem","history","isFirst","isEditableType","tipo","isSynced","canEdit","jsxs","TouchableOpacity","testID","activeOpacity","style","styles","containerIndicator","disabled","onPress","children","View","containerBall","length","jsx","width","height","marginTop","position","backgroundColor","theme","colors","blue","orange","Text","titleNumber","containerMain","title","data_inicio","titleDescription","data_fim","duracao_segundos","formHoursMinute","useImperativeHandle","scrollToIndex","current","animated","openModalAt","resetSteps","Fragment","FlatList","keyExtractor","String","id","showsVerticalScrollIndicator","ModalChangeActivity","visible","modalConfirm","onClose","StepCustom","paddingHorizontal","display","flexDirection","step","indexCustom","getIconKeyByValue","borderRadius","alignItems","justifyContent","borderWidth","borderColor","Icons","icon","top","fontWeight","fontSize","lineHeight","textAlign","color","handleRenderComponent","stepType","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/step-indicator/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAGA,IAAAG,OAAA,GAAAH,OAAA;AAGA,IAAAI,gBAAA,GAAAJ,OAAA;AAMA,IAAAK,OAAA,GAAAL,OAAA;AAGA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,gBAAA,GAAAR,OAAA;AAAiE,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MA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+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,C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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,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,CAAA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AAC,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,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,CAAA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N,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,MAA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CC,YAAY,EAAEH,YAAK,CAACI,YAAY,CAACC,YAAY;MAC7CC,WAAW,EAAE;IACf;EACF;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":[]}
|