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
package/lib/typescript/module/src/stories/notification-card/notification-card.stories.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/notification-card/notification-card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,gBAAgB,MAAM,oCAAoC,CAAC;AAKlE;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAkDvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import NotificationDetailCard from "../../components/notification-details-card";
|
|
3
|
+
/**
|
|
4
|
+
* META
|
|
5
|
+
*/
|
|
6
|
+
declare const meta: Meta<typeof NotificationDetailCard>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof NotificationDetailCard>;
|
|
9
|
+
/**
|
|
10
|
+
* STORIES
|
|
11
|
+
*/
|
|
12
|
+
export declare const SomenteTexto: Story;
|
|
13
|
+
export declare const TextoComImagem: Story;
|
|
14
|
+
export declare const TextoComPdf: Story;
|
|
15
|
+
export declare const TextoComCsv: Story;
|
|
16
|
+
//# sourceMappingURL=notification-details-card.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-details-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/notification-details-card/notification-details-card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,sBAAsB,MAAM,4CAA4C,CAAC;AAKhF;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,sBAAsB,CA8C7C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-journey-work-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/user-journey-work-card/user-journey-work-card.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAK1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,
|
|
1
|
+
{"version":3,"file":"user-journey-work-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/user-journey-work-card/user-journey-work-card.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAK1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAsC1C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAejC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/global/theme-provider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAEjE,CAAC;AAEF,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/global/theme-provider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAEjE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiLH;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import Svg, { Path } from "react-native-svg";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
import { type ISvgProps } from "../interface";
|
|
9
|
+
|
|
10
|
+
const SvgIconDownload: React.FC<ISvgProps> = ({ color, size, background }) => (
|
|
11
|
+
<Svg
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width={size ?? "40"}
|
|
15
|
+
height={size ?? "40"}
|
|
16
|
+
fill="none"
|
|
17
|
+
viewBox="0 0 40 40"
|
|
18
|
+
>
|
|
19
|
+
{/* Círculo de fundo opcional */}
|
|
20
|
+
{background && (
|
|
21
|
+
<Path
|
|
22
|
+
fill={background}
|
|
23
|
+
stroke={background}
|
|
24
|
+
strokeWidth="1.5"
|
|
25
|
+
d="M20 38c9.941 0 18-8.059 18-18S29.941 2 20 2 2 10.059 2 20s8.059 18 18 18"
|
|
26
|
+
/>
|
|
27
|
+
)}
|
|
28
|
+
|
|
29
|
+
{/* Seta para baixo */}
|
|
30
|
+
<Path
|
|
31
|
+
stroke={color ?? "#000"}
|
|
32
|
+
strokeWidth="2"
|
|
33
|
+
strokeLinecap="round"
|
|
34
|
+
strokeLinejoin="round"
|
|
35
|
+
d="M20 10v16M13 19l7 7 7-7"
|
|
36
|
+
/>
|
|
37
|
+
|
|
38
|
+
{/* Base de suporte */}
|
|
39
|
+
<Path
|
|
40
|
+
stroke={color ?? "#000"}
|
|
41
|
+
strokeWidth="2"
|
|
42
|
+
strokeLinecap="round"
|
|
43
|
+
strokeLinejoin="round"
|
|
44
|
+
d="M10 28h20"
|
|
45
|
+
/>
|
|
46
|
+
</Svg>
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* EXPORTS
|
|
51
|
+
*/
|
|
52
|
+
export { SvgIconDownload };
|
|
@@ -66,6 +66,7 @@ import { SvgIconHourglass } from "./hourglass";
|
|
|
66
66
|
import { SvgIconIsland } from "./island";
|
|
67
67
|
import { SvgIconPlusContainer } from "./plus-container";
|
|
68
68
|
import { SvgIconPlusTrash } from "./trash";
|
|
69
|
+
import { SvgIconDownload } from "./download";
|
|
69
70
|
|
|
70
71
|
const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
|
|
71
72
|
switch (icon) {
|
|
@@ -213,6 +214,9 @@ const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
|
|
|
213
214
|
case "RECUSED":
|
|
214
215
|
return <SvgIconRecused color={color} size={size} icon={"RECUSED"} />;
|
|
215
216
|
|
|
217
|
+
case "DOWNLOAD":
|
|
218
|
+
return <SvgIconDownload color={color} size={size} icon={"BED"} />;
|
|
219
|
+
|
|
216
220
|
case "EXCLAMATION_CIRCLE":
|
|
217
221
|
return (
|
|
218
222
|
<SvgIconExclamationCircle
|
|
@@ -15,8 +15,9 @@ import type { IInputDateTimeProps } from "./interface";
|
|
|
15
15
|
// styles
|
|
16
16
|
import { styles } from "./styles";
|
|
17
17
|
import { theme } from "../../../styles/theme/theme";
|
|
18
|
+
import Typography from "../../typography";
|
|
18
19
|
|
|
19
|
-
/** formatadores
|
|
20
|
+
/** formatadores simples */
|
|
20
21
|
function fmtDate(d: Date) {
|
|
21
22
|
const dd = String(d.getDate()).padStart(2, "0");
|
|
22
23
|
const mm = String(d.getMonth() + 1).padStart(2, "0");
|
|
@@ -47,7 +48,6 @@ const InputDateTime = forwardRef<any, IInputDateTimeProps>((props, ref): React.R
|
|
|
47
48
|
testID,
|
|
48
49
|
} = props;
|
|
49
50
|
|
|
50
|
-
// estado interno quando o componente não é controlado
|
|
51
51
|
const [inner, setInner] = useState<Date>(value ?? new Date());
|
|
52
52
|
const [visible, setVisible] = useState(false);
|
|
53
53
|
|
|
@@ -83,14 +83,19 @@ const InputDateTime = forwardRef<any, IInputDateTimeProps>((props, ref): React.R
|
|
|
83
83
|
disabled={disabled}
|
|
84
84
|
>
|
|
85
85
|
<Icons
|
|
86
|
-
size={theme.fontSizes
|
|
86
|
+
size={theme.fontSizes.md}
|
|
87
87
|
color={theme.colors.blue[500]}
|
|
88
|
-
icon={mode === "date" ? "CALENDAR" : "
|
|
88
|
+
icon={mode === "date" ? "CALENDAR" : "TIMER"}
|
|
89
89
|
style={styles(styleProps).iconStandard}
|
|
90
90
|
/>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
|
|
92
|
+
<Typography
|
|
93
|
+
text={`${human || placeholder}`}
|
|
94
|
+
color={theme.colors.blue[500]}
|
|
95
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
96
|
+
size={theme.fontSizes.md}
|
|
97
|
+
marginLeft={100}
|
|
98
|
+
/>
|
|
94
99
|
</TouchableOpacity>
|
|
95
100
|
|
|
96
101
|
<Modal
|
|
@@ -104,11 +109,7 @@ const InputDateTime = forwardRef<any, IInputDateTimeProps>((props, ref): React.R
|
|
|
104
109
|
<View style={styles(styleProps).modalContainer}>
|
|
105
110
|
<View style={{ width: "100%", alignItems: "flex-end" }}>
|
|
106
111
|
<TouchableOpacity testID="close-icon" onPress={() => setVisible(false)}>
|
|
107
|
-
<Icons
|
|
108
|
-
size={theme.fontSizes["md"]}
|
|
109
|
-
color={theme.colors.blue[500]}
|
|
110
|
-
icon={"CLOSED"}
|
|
111
|
-
/>
|
|
112
|
+
<Icons size={theme.fontSizes.md} color={theme.colors.blue[500]} icon="CLOSED" />
|
|
112
113
|
</TouchableOpacity>
|
|
113
114
|
</View>
|
|
114
115
|
|
|
@@ -1,63 +1,64 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../../styles/theme/theme";
|
|
3
|
-
import type { IInputDateTimeProps } from "./interface";
|
|
4
|
-
|
|
5
|
-
const styles = (props: IInputDateTimeProps) =>
|
|
6
|
-
StyleSheet.create({
|
|
7
|
-
container: {
|
|
8
|
-
width: "100%",
|
|
9
|
-
marginBottom: 16,
|
|
10
|
-
opacity: props.disabled ? 0.6 : 1,
|
|
11
|
-
},
|
|
12
|
-
label: {
|
|
13
|
-
fontSize: props.sizeTitleLabel ?? 16,
|
|
14
|
-
fontWeight: "bold",
|
|
15
|
-
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
16
|
-
marginBottom: 5,
|
|
17
|
-
},
|
|
18
|
-
selectBox: {
|
|
19
|
-
flexDirection: "row",
|
|
20
|
-
alignItems: "center",
|
|
21
|
-
justifyContent: "
|
|
22
|
-
width: "100%",
|
|
23
|
-
height: 45,
|
|
24
|
-
borderWidth: 1,
|
|
25
|
-
borderColor: theme.colors.gray[700],
|
|
26
|
-
borderRadius: 10,
|
|
27
|
-
backgroundColor: props.backgroundColor ?? theme.colors.neutral[25],
|
|
28
|
-
paddingHorizontal: 10,
|
|
29
|
-
position: "relative",
|
|
30
|
-
},
|
|
31
|
-
selectedText: {
|
|
32
|
-
flex: 1,
|
|
33
|
-
fontSize: 14,
|
|
34
|
-
textAlign: "center",
|
|
35
|
-
color: theme.colors.gray[700],
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "../../../styles/theme/theme";
|
|
3
|
+
import type { IInputDateTimeProps } from "./interface";
|
|
4
|
+
|
|
5
|
+
const styles = (props: IInputDateTimeProps) =>
|
|
6
|
+
StyleSheet.create({
|
|
7
|
+
container: {
|
|
8
|
+
width: "100%",
|
|
9
|
+
marginBottom: 16,
|
|
10
|
+
opacity: props.disabled ? 0.6 : 1,
|
|
11
|
+
},
|
|
12
|
+
label: {
|
|
13
|
+
fontSize: props.sizeTitleLabel ?? 16,
|
|
14
|
+
fontWeight: "bold",
|
|
15
|
+
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
16
|
+
marginBottom: 5,
|
|
17
|
+
},
|
|
18
|
+
selectBox: {
|
|
19
|
+
flexDirection: "row",
|
|
20
|
+
alignItems: "center",
|
|
21
|
+
justifyContent: "flex-start", // não centraliza o container todo
|
|
22
|
+
width: "100%",
|
|
23
|
+
height: 45,
|
|
24
|
+
borderWidth: 1,
|
|
25
|
+
borderColor: theme.colors.gray[700],
|
|
26
|
+
borderRadius: 10,
|
|
27
|
+
backgroundColor: props.backgroundColor ?? theme.colors.neutral[25],
|
|
28
|
+
paddingHorizontal: 10,
|
|
29
|
+
position: "relative",
|
|
30
|
+
},
|
|
31
|
+
selectedText: {
|
|
32
|
+
flex: 1,
|
|
33
|
+
fontSize: 14,
|
|
34
|
+
textAlign: "center", // centraliza o texto no espaço disponível
|
|
35
|
+
color: theme.colors.gray[700],
|
|
36
|
+
marginLeft: 44,
|
|
37
|
+
},
|
|
38
|
+
placeholderText: {
|
|
39
|
+
flex: 1,
|
|
40
|
+
textAlign: "center",
|
|
41
|
+
fontSize: 14,
|
|
42
|
+
color: theme.colors.gray[700],
|
|
43
|
+
},
|
|
44
|
+
modalOverlay: {
|
|
45
|
+
flex: 1,
|
|
46
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
47
|
+
justifyContent: "center",
|
|
48
|
+
alignItems: "center",
|
|
49
|
+
padding: 24,
|
|
50
|
+
},
|
|
51
|
+
modalContainer: {
|
|
52
|
+
width: "100%",
|
|
53
|
+
backgroundColor: theme.colors.neutral[25],
|
|
54
|
+
borderRadius: 10,
|
|
55
|
+
padding: 15,
|
|
56
|
+
alignItems: "center",
|
|
57
|
+
},
|
|
58
|
+
iconStandard: {
|
|
59
|
+
position: "absolute",
|
|
60
|
+
left: 12, // ícone fixo no canto esquerdo
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export { styles };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CONSTANTS
|
|
3
|
+
*/
|
|
4
|
+
const optionsActivities = [
|
|
5
|
+
{ label: "Selecione atividade", value: "none", key: 0 },
|
|
6
|
+
{ label: "Descanso", value: "descanso", key: 9 },
|
|
7
|
+
{ label: "Repouso Noturno", value: "repouso_noturno", key: 6 },
|
|
8
|
+
{ label: "Refeição", value: "refeição", key: 7 },
|
|
9
|
+
{ label: "Repouso Semanal", value: "repouso_semanal", key: 5 },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* EXPORTS
|
|
14
|
+
*/
|
|
15
|
+
export { optionsActivities };
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
// libs RN
|
|
6
|
+
import { Modal, View } from "react-native";
|
|
7
|
+
|
|
8
|
+
// componentes
|
|
9
|
+
import Box from "../../box";
|
|
10
|
+
import Button from "../../button";
|
|
11
|
+
import Typography from "../../typography";
|
|
12
|
+
import SelectOption from "../../selects/select-option";
|
|
13
|
+
|
|
14
|
+
// assets / icons
|
|
15
|
+
import { Icons } from "../../../common/icons-svg";
|
|
16
|
+
|
|
17
|
+
// helpers / data
|
|
18
|
+
import { optionsActivities } from "./helpers";
|
|
19
|
+
|
|
20
|
+
// typings
|
|
21
|
+
import type { IModalChangeActivityProps } from "./interface";
|
|
22
|
+
|
|
23
|
+
// styles / theme
|
|
24
|
+
import { theme } from "../../../styles/theme/theme";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Componente Modal para alteração de atividade.
|
|
28
|
+
*/
|
|
29
|
+
export const ModalChangeActivity: React.FC<IModalChangeActivityProps> = ({
|
|
30
|
+
visible,
|
|
31
|
+
onClose,
|
|
32
|
+
modalConfirm,
|
|
33
|
+
descricao,
|
|
34
|
+
}) => {
|
|
35
|
+
const [isLoading] = React.useState(false);
|
|
36
|
+
|
|
37
|
+
const initial = (descricao ?? "").toLowerCase().replace(/\s+/g, "_");
|
|
38
|
+
const [selectedOption, setSelectedOption] = React.useState(initial || "none");
|
|
39
|
+
|
|
40
|
+
const handleConfirm = () => {
|
|
41
|
+
const selected = optionsActivities?.find((activity) => activity.value === selectedOption);
|
|
42
|
+
|
|
43
|
+
if (selected && selected.value !== "none") {
|
|
44
|
+
modalConfirm({
|
|
45
|
+
label: selected.label,
|
|
46
|
+
value: selected.value,
|
|
47
|
+
key: selected.key,
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// sempre fechar o modal
|
|
52
|
+
onClose();
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const handleSelectDown = (activity: string) => {
|
|
56
|
+
const option = optionsActivities.find((o) => o.label === activity || o.value === activity);
|
|
57
|
+
|
|
58
|
+
if (option) setSelectedOption(option.value);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<Modal animationType="fade" transparent visible={visible}>
|
|
63
|
+
<View
|
|
64
|
+
style={{
|
|
65
|
+
flex: 1,
|
|
66
|
+
justifyContent: "center",
|
|
67
|
+
alignItems: "center",
|
|
68
|
+
backgroundColor: "rgba(0,0,0,0.6)",
|
|
69
|
+
}}
|
|
70
|
+
>
|
|
71
|
+
<Box
|
|
72
|
+
width={346}
|
|
73
|
+
backgroundColor={theme.colors.orange[500]}
|
|
74
|
+
borderStyled={{
|
|
75
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
76
|
+
}}
|
|
77
|
+
paddingStyle={{
|
|
78
|
+
paddingLeft: theme.paddings["2xs"],
|
|
79
|
+
paddingRight: theme.paddings["2xs"],
|
|
80
|
+
paddingTop: theme.paddings.sm,
|
|
81
|
+
paddingBottom: theme.paddings.sm,
|
|
82
|
+
}}
|
|
83
|
+
>
|
|
84
|
+
<Box
|
|
85
|
+
marginStyle={{ marginBottom: theme.margins["2xs"], marginLeft: theme.margins["1xs"] }}
|
|
86
|
+
flexStyle={{ flexDirection: "row", alignItems: "center" }}
|
|
87
|
+
>
|
|
88
|
+
<Icons
|
|
89
|
+
icon="EXCLAMATION_TRIANGLE"
|
|
90
|
+
color={theme.colors.black[10]}
|
|
91
|
+
background={theme.colors.yellow[50]}
|
|
92
|
+
size={theme.fontSizes["2xl"]}
|
|
93
|
+
/>
|
|
94
|
+
|
|
95
|
+
<Typography
|
|
96
|
+
text="Alterar Atividade"
|
|
97
|
+
color="#fff"
|
|
98
|
+
marginLeft={theme.margins["2xs"]}
|
|
99
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
100
|
+
size={theme.fontSizes.md}
|
|
101
|
+
/>
|
|
102
|
+
</Box>
|
|
103
|
+
|
|
104
|
+
<Box
|
|
105
|
+
backgroundColor={theme.colors.neutral[300]}
|
|
106
|
+
paddingStyle={{ padding: theme.paddings.xs }}
|
|
107
|
+
borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}
|
|
108
|
+
>
|
|
109
|
+
<Box flexStyle={{ flexDirection: "row", justifyContent: "flex-start" }} width={"100%"}>
|
|
110
|
+
<Typography
|
|
111
|
+
text={`Deseja realmente alterar sua atividade?`}
|
|
112
|
+
color={theme.colors.black[25]}
|
|
113
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
114
|
+
size={theme.fontSizes.xs}
|
|
115
|
+
style={{ flexWrap: "wrap", maxWidth: "100%" }}
|
|
116
|
+
/>
|
|
117
|
+
</Box>
|
|
118
|
+
|
|
119
|
+
<SelectOption
|
|
120
|
+
titleLabel="Selecione atividade"
|
|
121
|
+
sizeTitleLabel={theme.fontSizes.xs}
|
|
122
|
+
dataOption={optionsActivities}
|
|
123
|
+
handleSelectDown={handleSelectDown}
|
|
124
|
+
backgroundColor={theme.colors.neutral[300]}
|
|
125
|
+
/>
|
|
126
|
+
|
|
127
|
+
<Box
|
|
128
|
+
marginStyle={{ marginTop: theme.margins["1xs"] }}
|
|
129
|
+
flexStyle={{ flexDirection: "row", justifyContent: "space-between" }}
|
|
130
|
+
>
|
|
131
|
+
<Button
|
|
132
|
+
title="CANCELAR"
|
|
133
|
+
onPress={onClose}
|
|
134
|
+
width={"48%"}
|
|
135
|
+
height={36}
|
|
136
|
+
isLoading={isLoading}
|
|
137
|
+
disabled={isLoading}
|
|
138
|
+
backgroundColor={theme.colors.neutral[300]}
|
|
139
|
+
buttonTextStyle={{
|
|
140
|
+
color: theme.colors.blue[100],
|
|
141
|
+
fontFamily: "Inter-Medium",
|
|
142
|
+
fontSize: theme.fontSizes.xs,
|
|
143
|
+
fontWeight: "500",
|
|
144
|
+
}}
|
|
145
|
+
flexStyle={{
|
|
146
|
+
flexDirection: "row",
|
|
147
|
+
alignItems: "center",
|
|
148
|
+
justifyContent: "center",
|
|
149
|
+
textAlign: "center",
|
|
150
|
+
}}
|
|
151
|
+
borderStyled={{
|
|
152
|
+
borderWidth: theme.borderWidths.thin,
|
|
153
|
+
borderColor: theme.colors.blue[100],
|
|
154
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
155
|
+
}}
|
|
156
|
+
/>
|
|
157
|
+
<Button
|
|
158
|
+
title="CONFIRMAR"
|
|
159
|
+
onPress={handleConfirm}
|
|
160
|
+
width={"48%"}
|
|
161
|
+
height={36}
|
|
162
|
+
isLoading={isLoading}
|
|
163
|
+
disabled={isLoading}
|
|
164
|
+
backgroundColor={theme.colors.blue[100]}
|
|
165
|
+
buttonTextStyle={{
|
|
166
|
+
color: "#fff",
|
|
167
|
+
fontFamily: "Inter-Medium",
|
|
168
|
+
fontSize: theme.fontSizes.xs,
|
|
169
|
+
fontWeight: "500",
|
|
170
|
+
}}
|
|
171
|
+
flexStyle={{
|
|
172
|
+
flexDirection: "row",
|
|
173
|
+
alignItems: "center",
|
|
174
|
+
justifyContent: "center",
|
|
175
|
+
textAlign: "center",
|
|
176
|
+
}}
|
|
177
|
+
borderStyled={{
|
|
178
|
+
borderWidth: theme.borderWidths.thin,
|
|
179
|
+
borderColor: theme.colors.blue[100],
|
|
180
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
181
|
+
}}
|
|
182
|
+
/>
|
|
183
|
+
</Box>
|
|
184
|
+
</Box>
|
|
185
|
+
</Box>
|
|
186
|
+
</View>
|
|
187
|
+
</Modal>
|
|
188
|
+
);
|
|
189
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPROTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
interface IModalChangeActivityProps {
|
|
6
|
+
visible: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
// eslint-disable-next-line no-unused-vars
|
|
9
|
+
modalConfirm: (newData: { label: string; value: string; key: number }) => void;
|
|
10
|
+
descricao: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* EXPORTS
|
|
15
|
+
*/
|
|
16
|
+
export { type IModalChangeActivityProps };
|