react-native-exp-fig 0.1.22 → 0.1.24
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/components/activities-daily/index.js +9 -9
- package/lib/commonjs/components/activities-daily/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +14 -14
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/index.js +4 -4
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
- package/lib/commonjs/components/box/index.js +27 -22
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/box/interface.d.js.map +1 -1
- package/lib/commonjs/components/box/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +16 -16
- package/lib/commonjs/components/card-history/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/index.js +3 -3
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +13 -13
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/index.js +6 -6
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +12 -12
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +5 -5
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +5 -5
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/index.js +2 -2
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/header-profile/index.js +8 -8
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/components/history-activities-card/index.js +14 -13
- package/lib/commonjs/components/history-activities-card/index.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +5 -5
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/index.js +2 -2
- package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/commonjs/components/input/index.js +11 -11
- package/lib/commonjs/components/input/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/index.js +10 -10
- package/lib/commonjs/components/loading-details/index.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +5 -5
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/menu-item/index.js +3 -3
- package/lib/commonjs/components/menu-item/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/index.js +5 -5
- package/lib/commonjs/components/modal-activities/index.js.map +1 -1
- package/lib/commonjs/components/modal-change-activity/index.js +15 -14
- package/lib/commonjs/components/modal-change-activity/index.js.map +1 -1
- package/lib/commonjs/components/no-data/index.js +2 -2
- package/lib/commonjs/components/no-data/index.js.map +1 -1
- package/lib/commonjs/components/notification-loading/index.js +12 -12
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/index.js +3 -3
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
- package/lib/commonjs/components/scheduled-journey-indicators/index.js +4 -4
- package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +9 -9
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/helpers/text-utils.js +5 -5
- package/lib/commonjs/helpers/text-utils.js.map +1 -1
- package/lib/commonjs/index.js +3 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/box/box.stories.js +2 -2
- package/lib/commonjs/stories/box/box.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js +4 -4
- package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -1
- package/lib/commonjs/utils/get-icon-by-property/index.js +10 -11
- package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +5 -5
- package/lib/module/components/activities-daily/index.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +5 -5
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/avatar-profile/index.js +1 -1
- package/lib/module/components/avatar-profile/index.js.map +1 -1
- package/lib/module/components/box/index.js +23 -22
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/box/interface.d.js.map +1 -1
- package/lib/module/components/box/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +8 -8
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-hours/index.js +1 -1
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-loading/index.js +1 -1
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/index.js +1 -1
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +1 -1
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/check-box/index.js +1 -1
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/coil/index.js +1 -1
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +1 -1
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/header-profile/index.js +1 -1
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/components/history-activities-card/index.js +1 -1
- package/lib/module/components/history-activities-card/index.js.map +1 -1
- package/lib/module/components/history-details/index.js +1 -1
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/index.js +1 -1
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/input/index.js +1 -1
- package/lib/module/components/input/index.js.map +1 -1
- package/lib/module/components/loading-details/index.js +5 -5
- package/lib/module/components/loading-details/index.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +1 -1
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/menu-item/index.js +1 -1
- package/lib/module/components/menu-item/index.js.map +1 -1
- package/lib/module/components/modal-activities/index.js +1 -1
- package/lib/module/components/modal-activities/index.js.map +1 -1
- package/lib/module/components/modal-change-activity/index.js +10 -9
- package/lib/module/components/modal-change-activity/index.js.map +1 -1
- package/lib/module/components/no-data/index.js +1 -1
- package/lib/module/components/no-data/index.js.map +1 -1
- package/lib/module/components/notification-loading/index.js +5 -5
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js +1 -1
- package/lib/module/components/profile-menu-option/index.js.map +1 -1
- package/lib/module/components/scheduled-journey-indicators/index.js +1 -1
- package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/module/components/user-profile/index.js +1 -1
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/helpers/text-utils.js +5 -5
- package/lib/module/helpers/text-utils.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/box/box.stories.js +1 -1
- package/lib/module/stories/box/box.stories.js.map +1 -1
- package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js +4 -4
- package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -1
- package/lib/module/utils/get-icon-by-property/index.js +10 -11
- package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
- package/lib/typescript/src/components/box/index.d.ts +8 -5
- package/lib/typescript/src/components/box/styles.d.ts +2 -2
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/stories/box/box.stories.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/activities-daily/index.tsx +116 -116
- package/src/components/activities-progress/index.tsx +170 -170
- package/src/components/avatar-profile/index.tsx +1 -1
- package/src/components/box/index.tsx +53 -49
- package/src/components/box/interface.d.ts +2 -2
- package/src/components/box/styles.ts +2 -2
- package/src/components/card-history/index.tsx +221 -221
- package/src/components/card-hours/index.tsx +2 -1
- package/src/components/card-loading/index.tsx +1 -1
- package/src/components/card-scheduled-journey/index.tsx +1 -1
- package/src/components/card-work-session/index.tsx +1 -1
- package/src/components/check-box/index.tsx +1 -1
- package/src/components/coil/index.tsx +1 -1
- package/src/components/filter-date-selector/index.tsx +1 -1
- package/src/components/header-profile/index.tsx +1 -1
- package/src/components/history-activities-card/index.tsx +1 -1
- package/src/components/history-details/index.tsx +1 -1
- package/src/components/image-capture-with-remove/index.tsx +1 -1
- package/src/components/input/index.tsx +1 -1
- package/src/components/loading-details/index.tsx +156 -156
- package/src/components/loading-progress/index.tsx +1 -1
- package/src/components/menu-item/index.tsx +1 -1
- package/src/components/modal-activities/index.tsx +1 -1
- package/src/components/modal-change-activity/index.tsx +200 -202
- package/src/components/no-data/index.tsx +1 -1
- package/src/components/notification-loading/index.tsx +157 -157
- package/src/components/profile-menu-option/index.tsx +1 -1
- package/src/components/scheduled-journey-indicators/index.tsx +1 -1
- package/src/components/user-profile/index.tsx +1 -1
- package/src/helpers/text-utils.ts +15 -15
- package/src/index.ts +45 -45
- package/src/stories/box/box.stories.tsx +1 -1
- package/src/stories/modal-change-activity/modal-change-activity.stories.tsx +51 -52
- package/src/utils/get-icon-by-property/index.tsx +65 -67
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","MenuItem","color","width","height","title","handleNavigation","typeSelected","testID","selected","_color$colorText","_theme$fontSizes$lg","createElement","TouchableOpacity","onPress","activeOpacity","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","MenuItem","color","width","height","title","handleNavigation","typeSelected","testID","selected","_color$colorText","_theme$fontSizes$lg","createElement","TouchableOpacity","onPress","activeOpacity","backgroundColor","theme","colors","blue","gray","marginStyle","marginBottom","borderStyled","borderWidth","borderColor","borderRadius","flexStyle","flexDirection","justifyContent","alignItems","IconsMenuItems","icon","size","fontSizes","Typography","text","colorText","neutral","xs","fontFamily","fonts","inter_bold_700","lineHeight","lg","letterSpacing","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// comons / icons\nimport { IconsMenuItems } from \"../../common/icons-svg\";\n\n// typings\nimport { IMenuItem } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n *\n * Componente Menu Item para a interação do usuário com ui.\n */\nconst MenuItem: React.FC<IMenuItem> = ({\n color,\n width,\n height,\n title,\n handleNavigation,\n typeSelected,\n testID,\n selected,\n}: IMenuItem) => {\n return (\n <TouchableOpacity testID={testID} onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n testID={\"menu-item-\" + typeSelected}\n width={width ?? \"100%\"}\n height={height ?? 260}\n backgroundColor={selected ? theme.colors.blue[400] : theme.colors.gray[400]}\n marginStyle={{ marginBottom: 16 }}\n borderStyled={{\n borderWidth: 1,\n borderColor: selected ? theme.colors.blue[400] : theme.colors.gray[400],\n borderRadius: 8,\n }}\n flexStyle={{ flexDirection: \"column\", justifyContent: \"center\", alignItems: \"center\" }}\n >\n <Box testID=\"menu-item-icon-box\">\n <IconsMenuItems\n testID=\"menu-item-icon\"\n icon={typeSelected ?? \"LOADING\"}\n size={theme.fontSizes[\"3xl\"]}\n color=\"#fff\"\n />\n </Box>\n <Typography\n text={title ?? \"Carregamento\"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.lg ?? 24}\n letterSpacing={\"regular\"}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { MenuItem };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG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;IACFC,SAAS,EAAE;MAAEC,aAAa,EAAE,QAAQ;MAAEC,cAAc,EAAE,QAAQ;MAAEC,UAAU,EAAE;IAAS;EAAE,gBAEvFxC,MAAA,CAAAU,OAAA,CAAAY,aAAA,CAAClB,IAAA,CAAAM,OAAG;IAACQ,MAAM,EAAC;EAAoB,gBAC9BlB,MAAA,CAAAU,OAAA,CAAAY,aAAA,CAAChB,SAAA,CAAAmC,cAAc;IACbvB,MAAM,EAAC,gBAAgB;IACvBwB,IAAI,EAAEzB,YAAY,aAAZA,YAAY,cAAZA,YAAY,GAAI,SAAU;IAChC0B,IAAI,EAAEhB,YAAK,CAACiB,SAAS,CAAC,KAAK,CAAE;IAC7BhC,KAAK,EAAC;EAAM,CACb,CACE,CAAC,eACNZ,MAAA,CAAAU,OAAA,CAAAY,aAAA,CAACjB,WAAA,CAAAwC,UAAU;IACTC,IAAI,EAAE/B,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,cAAe;IAC9BH,KAAK,GAAAQ,gBAAA,GAAER,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEmC,SAAS,cAAA3B,gBAAA,cAAAA,gBAAA,GAAIO,YAAK,CAACC,MAAM,CAACoB,OAAO,CAAC,EAAE,CAAE;IACpDL,IAAI,EAAEhB,YAAK,CAACiB,SAAS,CAACK,EAAG;IACzBC,UAAU,EAAEvB,YAAK,CAACwB,KAAK,CAACC,cAAe;IACvCC,UAAU,GAAAhC,mBAAA,GAAEM,YAAK,CAACiB,SAAS,CAACU,EAAE,cAAAjC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrCkC,aAAa,EAAE;EAAU,CAC1B,CACE,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA7C,QAAA,GAAAA,QAAA","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ModalActivities = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _iconsSvg = require("../../common/icons-svg");
|
|
11
11
|
var _modalActivities = require("../../common/icons-svg/modal-activities");
|
|
12
12
|
var _theme = require("../../styles/theme/theme");
|
|
@@ -39,14 +39,14 @@ const ModalActivities = ({
|
|
|
39
39
|
animationType: "fade",
|
|
40
40
|
transparent: true,
|
|
41
41
|
onRequestClose: onClose
|
|
42
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
43
43
|
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
44
44
|
flexStyle: {
|
|
45
45
|
flex: 1,
|
|
46
46
|
justifyContent: "center",
|
|
47
47
|
alignItems: "center"
|
|
48
48
|
}
|
|
49
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
50
50
|
height: 310,
|
|
51
51
|
width: "92%",
|
|
52
52
|
backgroundColor: _theme.theme.colors.neutral[25],
|
|
@@ -61,7 +61,7 @@ const ModalActivities = ({
|
|
|
61
61
|
style: {
|
|
62
62
|
position: "relative"
|
|
63
63
|
}
|
|
64
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
65
65
|
width: "100%",
|
|
66
66
|
flexStyle: {
|
|
67
67
|
flexDirection: "row",
|
|
@@ -81,7 +81,7 @@ const ModalActivities = ({
|
|
|
81
81
|
}, /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
82
82
|
icon: "CLOSED",
|
|
83
83
|
color: _theme.theme.colors.blue[500]
|
|
84
|
-
}))), /*#__PURE__*/_react.default.createElement(_box.
|
|
84
|
+
}))), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
85
85
|
marginStyle: {
|
|
86
86
|
marginTop: _theme.theme.margins["2xl"]
|
|
87
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_iconsSvg","_modalActivities","_theme","_typography","_button","_dataActivities","e","__esModule","default","ModalActivities","onClose","handleActivity","activityType","isLoading","style","createElement","Modal","animationType","transparent","onRequestClose","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_iconsSvg","_modalActivities","_theme","_typography","_button","_dataActivities","e","__esModule","default","ModalActivities","onClose","handleActivity","activityType","isLoading","style","createElement","Modal","animationType","transparent","onRequestClose","backgroundColor","flexStyle","flex","justifyContent","alignItems","height","width","theme","colors","neutral","borderStyled","borderColor","blue","borderWidth","borderWidths","thick","borderRadius","thick_medium","paddingStyle","padding","paddings","md","position","flexDirection","Typography","text","size","fontSizes","color","fontFamily","fonts","inter_bold_700","lineHeight","xl","TouchableOpacity","activeOpacity","onPress","Icons","icon","marginStyle","marginTop","margins","FlatList","data","activities","numColumns","keyExtractor","item","id","toString","scrollEnabled","renderItem","marginBottom","getIconModalActivities","referencia","descricao","xs","inter_medium_500","fontWeight","align","Button","title","buttonTextStyle","fontSize","thin","marginLeft","bottom","left","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Modal, TouchableOpacity, FlatList } from \"react-native\";\n\n// components\n\nimport Box from \"../box\";\n\n// commons / icons\nimport { Icons } from \"../../common/icons-svg\";\nimport { getIconModalActivities } from \"../../common/icons-svg/modal-activities\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\nimport { Typography } from \"../typography\";\nimport { Button } from \"../button\";\n\n//typing\nimport { IModalActivities, IActivity } from \"./interface\";\n\n// atividades\nimport { activities } from \"./data-activities\";\n\nexport const ModalActivities: React.FC<IModalActivities> = ({\n onClose,\n handleActivity,\n activityType,\n isLoading,\n style,\n}) => {\n return (\n <Modal animationType=\"fade\" transparent={true} onRequestClose={onClose}>\n <Box\n backgroundColor={\"rgba(0, 0, 0, 0.7)\"}\n flexStyle={{ flex: 1, justifyContent: \"center\", alignItems: \"center\" }}\n >\n <Box\n height={310}\n width={\"92%\"}\n backgroundColor={theme.colors.neutral[25]}\n borderStyled={{\n borderColor: theme.colors.blue[500],\n borderWidth: theme.borderWidths.thick,\n borderRadius: theme.borderWidths.thick_medium,\n }}\n paddingStyle={{\n padding: theme.paddings.md,\n }}\n style={{ position: \"relative\" }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text=\"Atividades\"\n size={theme.fontSizes.md}\n color={theme.colors.blue[500]}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.xl}\n />\n\n <TouchableOpacity activeOpacity={0.7} onPress={onClose} style={{}}>\n <Icons icon=\"CLOSED\" color={theme.colors.blue[500]} />\n </TouchableOpacity>\n </Box>\n {/* as atividades */}\n <Box marginStyle={{ marginTop: theme.margins[\"2xl\"] }}>\n <FlatList\n data={activities[activityType]}\n numColumns={3}\n keyExtractor={(item) => item.id.toString()}\n scrollEnabled={false}\n renderItem={({ item }) => (\n <TouchableOpacity\n style={{\n alignItems: \"center\",\n width: 110,\n marginBottom: theme.margins[\"2xl\"], // espaço entre as linhas\n }}\n onPress={() => handleActivity(item as IActivity)}\n >\n {getIconModalActivities(item.referencia)}\n\n <Typography\n text={item.descricao}\n size={theme.fontSizes.xs}\n color={theme.colors.blue[500]}\n lineHeight={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n align=\"center\"\n marginTop={5}\n />\n </TouchableOpacity>\n )}\n />\n </Box>\n\n <Button\n title={\"CANCELAR ATIVIDADE\"}\n width=\"100%\"\n height={40}\n activeOpacity={0.7}\n onPress={onClose}\n backgroundColor={theme.colors.blue[500]}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_medium_500,\n fontSize: theme.fontSizes.md,\n fontWeight: \"500\",\n }}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[500],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n marginStyle={{ marginLeft: theme.margins.md }}\n isLoading={isLoading ?? false}\n style={[style, { position: \"absolute\", bottom: 10, left: 0 }]}\n />\n </Box>\n </Box>\n </Modal>\n );\n};\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AAMA,IAAAQ,eAAA,GAAAR,OAAA;AAA+C,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAvB/C;AACA;AACA;;AAIA;;AAIA;;AAIA;;AAKA;;AAGA;;AAGO,MAAMG,eAA2C,GAAGA,CAAC;EAC1DC,OAAO;EACPC,cAAc;EACdC,YAAY;EACZC,SAAS;EACTC;AACF,CAAC,KAAK;EACJ,oBACEnB,MAAA,CAAAa,OAAA,CAAAO,aAAA,CAACjB,YAAA,CAAAkB,KAAK;IAACC,aAAa,EAAC,MAAM;IAACC,WAAW,EAAE,IAAK;IAACC,cAAc,EAAET;EAAQ,gBACrEf,MAAA,CAAAa,OAAA,CAAAO,aAAA,CAAChB,IAAA,CAAAS,OAAG;IACFY,eAAe,EAAE,oBAAqB;IACtCC,SAAS,EAAE;MAAEC,IAAI,EAAE,CAAC;MAAEC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,EAAE;MAAEC,IAAI,EAAE;IAAE,CAAC;EAAE,CAC/D,CACE,CACF,CACA,CAAC;AAEZ,CAAC;AAACC,OAAA,CAAA/E,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -6,15 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ModalChangeActivity = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../typography");
|
|
11
11
|
var _selectOption = require("../selects/select-option");
|
|
12
12
|
var _button = require("../button");
|
|
13
13
|
var _theme = require("../../styles/theme/theme");
|
|
14
14
|
var _iconsSvg = require("../../common/icons-svg");
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
/* eslint-disable no-unused-vars */
|
|
17
|
+
/**
|
|
18
|
+
* IMPORTS
|
|
18
19
|
*/
|
|
19
20
|
|
|
20
21
|
// libs RN
|
|
@@ -25,12 +26,12 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
25
26
|
|
|
26
27
|
// assets / icons
|
|
27
28
|
|
|
28
|
-
/**
|
|
29
|
-
* TYPES
|
|
29
|
+
/**
|
|
30
|
+
* TYPES
|
|
30
31
|
*/
|
|
31
32
|
|
|
32
|
-
/**
|
|
33
|
-
* CONSTANTS
|
|
33
|
+
/**
|
|
34
|
+
* CONSTANTS
|
|
34
35
|
*/
|
|
35
36
|
const options = [{
|
|
36
37
|
label: "Selecione atividade",
|
|
@@ -54,8 +55,8 @@ const options = [{
|
|
|
54
55
|
key: 9
|
|
55
56
|
}];
|
|
56
57
|
|
|
57
|
-
/**
|
|
58
|
-
* COMPONENT
|
|
58
|
+
/**
|
|
59
|
+
* COMPONENT
|
|
59
60
|
*/
|
|
60
61
|
const ModalChangeActivity = ({
|
|
61
62
|
visible,
|
|
@@ -88,7 +89,7 @@ const ModalChangeActivity = ({
|
|
|
88
89
|
alignItems: "center",
|
|
89
90
|
backgroundColor: "rgba(0,0,0,0.6)"
|
|
90
91
|
}
|
|
91
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
92
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
92
93
|
width: 346,
|
|
93
94
|
backgroundColor: _theme.theme.colors.orange[500],
|
|
94
95
|
borderStyled: {
|
|
@@ -100,7 +101,7 @@ const ModalChangeActivity = ({
|
|
|
100
101
|
paddingTop: _theme.theme.paddings.sm,
|
|
101
102
|
paddingBottom: _theme.theme.paddings.sm
|
|
102
103
|
}
|
|
103
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
104
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
104
105
|
marginStyle: {
|
|
105
106
|
marginBottom: _theme.theme.margins["2xs"],
|
|
106
107
|
marginLeft: _theme.theme.margins["1xs"]
|
|
@@ -120,7 +121,7 @@ const ModalChangeActivity = ({
|
|
|
120
121
|
marginLeft: _theme.theme.margins["2xs"],
|
|
121
122
|
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
122
123
|
size: _theme.theme.fontSizes.md
|
|
123
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
124
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
124
125
|
backgroundColor: _theme.theme.colors.neutral[300],
|
|
125
126
|
paddingStyle: {
|
|
126
127
|
padding: _theme.theme.paddings.xs
|
|
@@ -128,7 +129,7 @@ const ModalChangeActivity = ({
|
|
|
128
129
|
borderStyled: {
|
|
129
130
|
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
130
131
|
}
|
|
131
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
132
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
132
133
|
flexStyle: {
|
|
133
134
|
flexDirection: "row",
|
|
134
135
|
justifyContent: "flex-start"
|
|
@@ -152,7 +153,7 @@ const ModalChangeActivity = ({
|
|
|
152
153
|
if (option) setSelectedOption(option.value);
|
|
153
154
|
},
|
|
154
155
|
backgroundColor: _theme.theme.colors.neutral[300]
|
|
155
|
-
}), /*#__PURE__*/_react.default.createElement(_box.
|
|
156
|
+
}), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
156
157
|
marginStyle: {
|
|
157
158
|
marginTop: _theme.theme.margins["1xs"]
|
|
158
159
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_selectOption","_button","_theme","_iconsSvg","e","__esModule","default","options","label","value","key","ModalChangeActivity","visible","onClose","modalConfirm","descricao","isLoading","React","useState","initial","toLowerCase","replace","selectedOption","setSelectedOption","handleConfirm","selected","find","opt","createElement","Modal","animationType","transparent","View","style","flex","justifyContent","alignItems","backgroundColor","Box","width","theme","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","margins","marginLeft","flexStyle","flexDirection","Icons","icon","color","black","background","yellow","size","Typography","text","fontFamily","fonts","inter_bold_700","fontSizes","md","neutral","padding","xs","inter_medium_500","flexWrap","maxWidth","SelectOption","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","option","o","marginTop","Button","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n// libs RN\r\nimport { Modal, View } from \"react-native\";\r\n\r\n// componentes internos\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\nimport { SelectOption } from \"../selects/select-option\";\r\nimport { Button } from \"../button\";\r\n\r\n// styles / theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// assets / icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n/**\r\n * TYPES\r\n */\r\ninterface IModalChangeActivityProps {\r\n visible: boolean;\r\n onClose: () => void;\r\n modalConfirm: (newData: { label: string; value: string; key: number }) => void;\r\n dataRegistro: string;\r\n descricao: string;\r\n imagemUrl?: string;\r\n}\r\n\r\n/**\r\n * CONSTANTS\r\n */\r\nconst options = [\r\n { label: \"Selecione atividade\", value: \"none\", key: 0 },\r\n { label: \"Descanso\", value: \"descanso\", key: 5 },\r\n { label: \"Repouso Noturno\", value: \"repouso_noturno\", key: 6 },\r\n { label: \"Refeição\", value: \"refeição\", key: 7 },\r\n { label: \"Repouso Semanal\", value: \"repouso_semanal\", key: 9 },\r\n];\r\n\r\n/**\r\n * COMPONENT\r\n */\r\nexport const ModalChangeActivity: React.FC<IModalChangeActivityProps> = ({\r\n visible,\r\n onClose,\r\n modalConfirm,\r\n descricao,\r\n}) => {\r\n const [isLoading] = React.useState(false);\r\n\r\n const initial = (descricao ?? \"\").toLowerCase().replace(/\\s+/g, \"_\");\r\n const [selectedOption, setSelectedOption] = React.useState(initial || \"none\");\r\n\r\n const handleConfirm = () => {\r\n const selected = options.find((opt) => opt.value === selectedOption);\r\n if (selected && selected.value !== \"none\") {\r\n modalConfirm({\r\n label: selected.label,\r\n value: selected.value,\r\n key: selected.key,\r\n });\r\n }\r\n onClose();\r\n };\r\n\r\n return (\r\n <Modal animationType=\"fade\" transparent visible={visible}>\r\n <View\r\n style={{\r\n flex: 1,\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n backgroundColor: \"rgba(0,0,0,0.6)\",\r\n }}\r\n >\r\n <Box\r\n width={346}\r\n backgroundColor={theme.colors.orange[500]}\r\n borderStyled={{\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n paddingStyle={{\r\n paddingLeft: theme.paddings[\"2xs\"],\r\n paddingRight: theme.paddings[\"2xs\"],\r\n paddingTop: theme.paddings.sm,\r\n paddingBottom: theme.paddings.sm,\r\n }}\r\n >\r\n <Box\r\n marginStyle={{ marginBottom: theme.margins[\"2xs\"], marginLeft: theme.margins[\"1xs\"] }}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n >\r\n <Icons\r\n icon=\"EXCLAMATION_TRIANGLE\"\r\n color={theme.colors.black[10]}\r\n background={theme.colors.yellow[50]}\r\n size={22}\r\n />\r\n <Typography\r\n text=\"Alterar Atividade\"\r\n color=\"#fff\"\r\n marginLeft={theme.margins[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n size={theme.fontSizes.md}\r\n />\r\n </Box>\r\n\r\n <Box\r\n backgroundColor={theme.colors.neutral[300]}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\r\n >\r\n <Box\r\n flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-start\" }}\r\n width={\"90%\"}\r\n >\r\n <Typography\r\n text={`Deseja realmente alterar sua atividade de ${descricao || \"atividade atual\"}?`}\r\n color={theme.colors.black[25]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n size={theme.fontSizes.xs}\r\n style={{ flexWrap: \"wrap\", maxWidth: \"100%\" }}\r\n />\r\n </Box>\r\n\r\n <SelectOption\r\n titleLabel=\"Selecione atividade\"\r\n sizeTitleLabel={theme.fontSizes.xs}\r\n dataOption={options}\r\n handleSelectDown={(opt) => {\r\n const option = options.find((o) => o.label === opt || o.value === opt);\r\n if (option) setSelectedOption(option.value);\r\n }}\r\n backgroundColor={theme.colors.neutral[300]}\r\n />\r\n\r\n <Box\r\n marginStyle={{ marginTop: theme.margins[\"1xs\"]}}\r\n flexStyle={{ flexDirection: \"row\", justifyContent: \"space-between\" }}\r\n >\r\n <Button\r\n title=\"CANCELAR\"\r\n onPress={onClose}\r\n width={\"48%\"}\r\n height={36}\r\n isLoading={isLoading}\r\n disabled={isLoading}\r\n backgroundColor={theme.colors.neutral[300]}\r\n buttonTextStyle={{\r\n color: theme.colors.blue[100],\r\n fontFamily: \"Inter-Medium\",\r\n fontSize: theme.fontSizes.xs,\r\n fontWeight: \"500\",\r\n }}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n textAlign: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.blue[100],\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n />\r\n <Button\r\n title=\"CONFIRMAR\"\r\n onPress={handleConfirm}\r\n width={\"48%\"}\r\n height={36}\r\n isLoading={isLoading}\r\n disabled={isLoading}\r\n backgroundColor={theme.colors.blue[100]}\r\n buttonTextStyle={{\r\n color: \"#fff\",\r\n fontFamily: \"Inter-Medium\",\r\n fontSize: theme.fontSizes.xs,\r\n fontWeight: \"500\",\r\n }}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n textAlign: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.blue[100],\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n />\r\n </Box>\r\n </Box>\r\n </Box>\r\n </View>\r\n </Modal>\r\n );\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAGA,IAAAM,MAAA,GAAAN,OAAA;AAGA,IAAAO,SAAA,GAAAP,OAAA;AAA+C,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAjB/C;AACA;AACA;;AAEA;;AAGA;;AAMA;;AAGA;;AAG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uD,WAAW,EAAE1D,YAAK,CAACK,YAAY,CAACsD,IAAI;MACpCC,WAAW,EAAE5D,YAAK,CAACC,MAAM,CAACqD,IAAI,CAAC,GAAG,CAAC;MACnClD,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;IACnC;EAAE,CACH,CACE,CACF,CACF,CACD,CACD,CAAC;AAEZ,CAAC;AAACuD,OAAA,CAAA1F,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_selectOption","_button","_theme","_iconsSvg","e","__esModule","default","options","label","value","key","ModalChangeActivity","visible","onClose","modalConfirm","descricao","isLoading","React","useState","initial","toLowerCase","replace","selectedOption","setSelectedOption","handleConfirm","selected","find","opt","createElement","Modal","animationType","transparent","View","style","flex","justifyContent","alignItems","backgroundColor","width","theme","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","margins","marginLeft","flexStyle","flexDirection","Icons","icon","color","black","background","yellow","size","Typography","text","fontFamily","fonts","inter_bold_700","fontSizes","md","neutral","padding","xs","inter_medium_500","flexWrap","maxWidth","SelectOption","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","option","o","marginTop","Button","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","exports"],"sources":["index.tsx"],"sourcesContent":["/* eslint-disable no-unused-vars */\n/**\n * IMPORTS\n */\nimport React from \"react\";\n// libs RN\nimport { Modal, View } from \"react-native\";\n\n// componentes internos\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\nimport { SelectOption } from \"../selects/select-option\";\nimport { Button } from \"../button\";\n\n// styles / theme\nimport { theme } from \"../../styles/theme/theme\";\n\n// assets / icons\nimport { Icons } from \"../../common/icons-svg\";\n\n/**\n * TYPES\n */\ninterface IModalChangeActivityProps {\n visible: boolean;\n onClose: () => void;\n modalConfirm: (newData: { label: string; value: string; key: number }) => void;\n dataRegistro: string;\n descricao: string;\n imagemUrl?: string;\n}\n\n/**\n * CONSTANTS\n */\nconst options = [\n { label: \"Selecione atividade\", value: \"none\", key: 0 },\n { label: \"Descanso\", value: \"descanso\", key: 5 },\n { label: \"Repouso Noturno\", value: \"repouso_noturno\", key: 6 },\n { label: \"Refeição\", value: \"refeição\", key: 7 },\n { label: \"Repouso Semanal\", value: \"repouso_semanal\", key: 9 },\n];\n\n/**\n * COMPONENT\n */\nexport const ModalChangeActivity: React.FC<IModalChangeActivityProps> = ({\n visible,\n onClose,\n modalConfirm,\n descricao,\n}) => {\n const [isLoading] = React.useState(false);\n\n const initial = (descricao ?? \"\").toLowerCase().replace(/\\s+/g, \"_\");\n const [selectedOption, setSelectedOption] = React.useState(initial || \"none\");\n\n const handleConfirm = () => {\n const selected = options.find((opt) => opt.value === selectedOption);\n if (selected && selected.value !== \"none\") {\n modalConfirm({\n label: selected.label,\n value: selected.value,\n key: selected.key,\n });\n }\n onClose();\n };\n\n return (\n <Modal animationType=\"fade\" transparent visible={visible}>\n <View\n style={{\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"rgba(0,0,0,0.6)\",\n }}\n >\n <Box\n width={346}\n backgroundColor={theme.colors.orange[500]}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n }}\n paddingStyle={{\n paddingLeft: theme.paddings[\"2xs\"],\n paddingRight: theme.paddings[\"2xs\"],\n paddingTop: theme.paddings.sm,\n paddingBottom: theme.paddings.sm,\n }}\n >\n <Box\n marginStyle={{ marginBottom: theme.margins[\"2xs\"], marginLeft: theme.margins[\"1xs\"] }}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n >\n <Icons\n icon=\"EXCLAMATION_TRIANGLE\"\n color={theme.colors.black[10]}\n background={theme.colors.yellow[50]}\n size={22}\n />\n <Typography\n text=\"Alterar Atividade\"\n color=\"#fff\"\n marginLeft={theme.margins[\"2xs\"]}\n fontFamily={theme.fonts.inter_bold_700}\n size={theme.fontSizes.md}\n />\n </Box>\n\n <Box\n backgroundColor={theme.colors.neutral[300]}\n paddingStyle={{ padding: theme.paddings.xs }}\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\n >\n <Box flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-start\" }} width={\"90%\"}>\n <Typography\n text={`Deseja realmente alterar sua atividade de ${descricao || \"atividade atual\"}?`}\n color={theme.colors.black[25]}\n fontFamily={theme.fonts.inter_medium_500}\n size={theme.fontSizes.xs}\n style={{ flexWrap: \"wrap\", maxWidth: \"100%\" }}\n />\n </Box>\n\n <SelectOption\n titleLabel=\"Selecione atividade\"\n sizeTitleLabel={theme.fontSizes.xs}\n dataOption={options}\n handleSelectDown={(opt) => {\n const option = options.find((o) => o.label === opt || o.value === opt);\n if (option) setSelectedOption(option.value);\n }}\n backgroundColor={theme.colors.neutral[300]}\n />\n\n <Box\n marginStyle={{ marginTop: theme.margins[\"1xs\"] }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"space-between\" }}\n >\n <Button\n title=\"CANCELAR\"\n onPress={onClose}\n width={\"48%\"}\n height={36}\n isLoading={isLoading}\n disabled={isLoading}\n backgroundColor={theme.colors.neutral[300]}\n buttonTextStyle={{\n color: theme.colors.blue[100],\n fontFamily: \"Inter-Medium\",\n fontSize: theme.fontSizes.xs,\n fontWeight: \"500\",\n }}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[100],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n <Button\n title=\"CONFIRMAR\"\n onPress={handleConfirm}\n width={\"48%\"}\n height={36}\n isLoading={isLoading}\n disabled={isLoading}\n backgroundColor={theme.colors.blue[100]}\n buttonTextStyle={{\n color: \"#fff\",\n fontFamily: \"Inter-Medium\",\n fontSize: theme.fontSizes.xs,\n fontWeight: \"500\",\n }}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[100],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n </Box>\n </Box>\n </Box>\n </View>\n </Modal>\n );\n};\n"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAGA,IAAAM,MAAA,GAAAN,OAAA;AAGA,IAAAO,SAAA,GAAAP,OAAA;AAA+C,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlB/C;AACA;AACA;AACA;;AAEA;;AAGA;;AAMA;;AAGA;;AAGA;AACA;AACA;;AAUA;AACA;AACA;AACA,MAAMG,OAAO,GAAG,CACd;EAAEC,KAAK,EAAE,qBAAqB;EAAEC,KAAK,EAAE,MAAM;EAAEC,GAAG,EAAE;AAAE,CAAC,EACvD;EAAEF,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE,UAAU;EAAEC,GAAG,EAAE;AAAE,CAAC,EAChD;EAAEF,KAAK,EAAE,iBAAiB;EAAEC,KAAK,EAAE,iBAAiB;EAAEC,GAAG,EAAE;AAAE,CAAC,EAC9D;EAAEF,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE,UAAU;EAAEC,GAAG,EAAE;AAAE,CAAC,EAChD;EAAEF,KAAK,EAAE,iBAAiB;EAAEC,KAAK,EAAE,iBAAiB;EAAEC,GAAG,EAAE;AAAE,CAAC,CAC/D;;AAED;AACA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,MAAM,CAACqD,IAAI,CAAC,GAAG,CAAC;MACnClD,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;IACnC;EAAE,CACH,CAAC,eACFnD,MAAA,CAAAY,OAAA,CAAAsB,aAAA,CAAC3B,OAAA,CAAAsF,MAAM;IACLC,KAAK,EAAC,WAAW;IACjBC,OAAO,EAAEjE,aAAc;IACvBc,KAAK,EAAE,KAAM;IACboD,MAAM,EAAE,EAAG;IACX1E,SAAS,EAAEA,SAAU;IACrB2E,QAAQ,EAAE3E,SAAU;IACpBqB,eAAe,EAAEE,YAAK,CAACC,MAAM,CAACqD,IAAI,CAAC,GAAG,CAAE;IACxCD,eAAe,EAAE;MACf/B,KAAK,EAAE,MAAM;MACbO,UAAU,EAAE,cAAc;MAC1B0B,QAAQ,EAAEvD,YAAK,CAACgC,SAAS,CAACI,EAAE;MAC5BoB,UAAU,EAAE;IACd,CAAE;IACFtC,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBtB,UAAU,EAAE,QAAQ;MACpBD,cAAc,EAAE,QAAQ;MACxB6D,SAAS,EAAE;IACb,CAAE;IACFtD,YAAY,EAAE;MACZuD,WAAW,EAAE1D,YAAK,CAACK,YAAY,CAACsD,IAAI;MACpCC,WAAW,EAAE5D,YAAK,CAACC,MAAM,CAACqD,IAAI,CAAC,GAAG,CAAC;MACnClD,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;IACnC;EAAE,CACH,CACE,CACF,CACF,CACD,CACD,CAAC;AAEZ,CAAC;AAACuD,OAAA,CAAAzF,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.NoData = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _box = require("../box");
|
|
8
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
9
9
|
var _typography = require("../typography");
|
|
10
10
|
var _iconsSvg = require("../../common/icons-svg");
|
|
11
11
|
var _theme = require("../../styles/theme/theme");
|
|
@@ -25,7 +25,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
25
25
|
const NoData = ({
|
|
26
26
|
text
|
|
27
27
|
}) => {
|
|
28
|
-
return /*#__PURE__*/_react.default.createElement(_box.
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
29
29
|
flexStyle: {
|
|
30
30
|
flex: 1,
|
|
31
31
|
justifyContent: "center",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","e","__esModule","default","NoData","text","createElement","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","e","__esModule","default","NoData","text","createElement","flexStyle","flex","justifyContent","alignItems","Icons","icon","Typography","size","fontFamily","theme","fonts","inter_medium_500","color","colors","gray","letterSpacing","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons / svg\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { INoData } from \"./interface\";\n\nconst NoData: React.FC<INoData> = ({ text }) => {\n return (\n <Box\n flexStyle={{\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n }}\n >\n <Icons icon={\"FILES\"} />\n <Typography\n text={text}\n size={16}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n letterSpacing={\"regular\"}\n />\n </Box>\n );\n};\n\nexport { NoData };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAbjD;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAGA;;AAGA,MAAMG,MAAyB,GAAGA,CAAC;EAAEC;AAAK,CAAC,KAAK;EAC9C,oBACEX,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACT,IAAA,CAAAM,OAAG;IACFI,SAAS,EAAE;MACTC,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd;EAAE,gBAEFhB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACP,SAAA,CAAAY,KAAK;IAACC,IAAI,EAAE;EAAQ,CAAE,CAAC,eACxBlB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACR,WAAA,CAAAe,UAAU;IACTR,IAAI,EAAEA,IAAK;IACXS,IAAI,EAAE,EAAG;IACTC,UAAU,EAAEC,YAAK,CAACC,KAAK,CAACC,gBAAiB;IACzCC,KAAK,EAAEH,YAAK,CAACI,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IAC9BC,aAAa,EAAE;EAAU,CAC1B,CACE,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAnB,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NotificationLoading = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../typography");
|
|
11
11
|
var _iconsSvg = require("../../common/icons-svg");
|
|
12
12
|
var _theme = require("../../styles/theme/theme");
|
|
13
13
|
var _returnColor = require("../../utils/status-color/return-color");
|
|
14
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
-
/**
|
|
16
|
-
* IMPORTS
|
|
15
|
+
/**
|
|
16
|
+
* IMPORTS
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
// components
|
|
@@ -38,7 +38,7 @@ const NotificationLoading = ({
|
|
|
38
38
|
activeOpacity: 0.7,
|
|
39
39
|
testID: testID,
|
|
40
40
|
onPress: handleNavigation
|
|
41
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
41
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
42
42
|
width: "100%",
|
|
43
43
|
flexStyle: {
|
|
44
44
|
flexDirection: "row",
|
|
@@ -54,13 +54,13 @@ const NotificationLoading = ({
|
|
|
54
54
|
padding: _theme.theme.paddings["2xs"]
|
|
55
55
|
},
|
|
56
56
|
style: style
|
|
57
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
57
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
58
58
|
width: "9%"
|
|
59
59
|
}, /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
60
60
|
icon: "BELL",
|
|
61
61
|
size: 32,
|
|
62
62
|
color: _theme.theme.colors.neutral[25]
|
|
63
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
63
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
64
64
|
flexStyle: {
|
|
65
65
|
flexDirection: "column"
|
|
66
66
|
},
|
|
@@ -68,7 +68,7 @@ const NotificationLoading = ({
|
|
|
68
68
|
paddingStyle: {
|
|
69
69
|
paddingLeft: 7
|
|
70
70
|
}
|
|
71
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
71
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
72
72
|
flexStyle: {
|
|
73
73
|
flexDirection: "row",
|
|
74
74
|
alignItems: "center"
|
|
@@ -89,13 +89,13 @@ const NotificationLoading = ({
|
|
|
89
89
|
fontWeight: "700",
|
|
90
90
|
color: _theme.theme.colors.neutral[25],
|
|
91
91
|
letterSpacing: "regular"
|
|
92
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
92
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
93
93
|
flexStyle: {
|
|
94
94
|
flexDirection: "row",
|
|
95
95
|
alignItems: "center",
|
|
96
96
|
justifyContent: "space-between"
|
|
97
97
|
}
|
|
98
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
98
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
99
99
|
flexStyle: {
|
|
100
100
|
flexDirection: "row",
|
|
101
101
|
alignItems: "center"
|
|
@@ -116,7 +116,7 @@ const NotificationLoading = ({
|
|
|
116
116
|
fontWeight: "500",
|
|
117
117
|
color: _theme.theme.colors.neutral[25],
|
|
118
118
|
letterSpacing: "regular"
|
|
119
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
119
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
120
120
|
flexStyle: {
|
|
121
121
|
flexDirection: "row",
|
|
122
122
|
alignItems: "center"
|
|
@@ -147,8 +147,8 @@ const NotificationLoading = ({
|
|
|
147
147
|
}))));
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
/**
|
|
151
|
-
* EXPORTS
|
|
150
|
+
/**
|
|
151
|
+
* EXPORTS
|
|
152
152
|
*/
|
|
153
153
|
exports.NotificationLoading = NotificationLoading;
|
|
154
154
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","_returnColor","e","__esModule","default","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","TouchableOpacity","activeOpacity","onPress","Box","width","flexStyle","flexDirection","alignItems","backgroundColor","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","Icons","icon","size","color","neutral","paddingLeft","Typography","text","fontSizes","sm","lineHeight","lg","fontFamily","fonts","inter_semi_bold_600","fontWeight","letterSpacing","xs","md","inter_bold_700","justifyContent","inter_medium_500","String","marginRight","getStatusColor","ellipsizeMode","numberOfLines","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nimport { INotificationLoading } from \"./interface\";\r\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\r\n\r\nconst NotificationLoading: React.FC<INotificationLoading> = ({\r\n handleNavigation,\r\n title,\r\n testID,\r\n statusNotify,\r\n date,\r\n notification,\r\n dataStart,\r\n style,\r\n readonly,\r\n}) => {\r\n return (\r\n <TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAGA,IAAAM,YAAA,GAAAN,OAAA;AAAmF,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAjBnF;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAMA,MAAMG,mBAAmD,GAAGA,CAAC;EAC3DC,gBAAgB;EAChBC,KAAK;EACLC,MAAM;EACNC,YAAY;EACZC,IAAI;EACJC,YAAY;EACZC,SAAS;EACTC,KAAK;EACLC;AACF,CAAC,KAAK;EAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,mBAAA;EACJ,oBACExB,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACtB,YAAA,CAAAuB,gBAAgB;IAACC,aAAa,EAAE,GAAI;IAACZ,MAAM,EAAEA,MAAO;IAACa,OAAO,EAAEf;EAAiB,g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C0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,EAAEvB,YAAK,CAACqB,SAAS,CAACC,EAAG;IAC/BN,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCY,aAAa,EAAE,SAAU;IACzBO,WAAW,EAAE;EAAE,CAChB,CAAC,eAEFvE,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACnB,SAAA,CAAA0C,KAAK;IACJC,IAAI,EAAE,SAAU;IAChBE,KAAK,EACH9B,QAAQ,GAAGc,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAC,GAAG,IAAAoB,2BAAc,EAACxD,YAA0B,CAChF;IACDkC,IAAI,EAAE;EAAE,CACT,CACE,CACF,CAAC,eAGNlD,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACpB,WAAA,CAAAiD,UAAU;IACTC,IAAI,EAAErC,YAAa;IACnBgC,IAAI,EAAEf,YAAK,CAACqB,SAAS,CAAC,KAAK,CAAE;IAC7BI,UAAU,EAAEzB,YAAK,CAAC0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAAlC,mBAAA,GAAEW,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAjC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC2B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCY,aAAa,EAAE,SAAU;IACzBS,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA/D,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","_returnColor","e","__esModule","default","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","TouchableOpacity","activeOpacity","onPress","width","flexStyle","flexDirection","alignItems","backgroundColor","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","Icons","icon","size","color","neutral","paddingLeft","Typography","text","fontSizes","sm","lineHeight","lg","fontFamily","fonts","inter_semi_bold_600","fontWeight","letterSpacing","xs","md","inter_bold_700","justifyContent","inter_medium_500","String","marginRight","getStatusColor","ellipsizeMode","numberOfLines","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\nimport { INotificationLoading } from \"./interface\";\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\n\nconst NotificationLoading: React.FC<INotificationLoading> = ({\n handleNavigation,\n title,\n testID,\n statusNotify,\n date,\n notification,\n dataStart,\n style,\n readonly,\n}) => {\n return (\n <TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\n }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n style={style}\n >\n <Box width={\"9%\"}>\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\n </Box>\n\n <Box\n flexStyle={{ flexDirection: \"column\" }}\n width={\"91%\"}\n paddingStyle={{ paddingLeft: 7 }}\n >\n {/* Carregamento identificação */}\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\n <Typography\n text={\"Carregamento - \"}\n size={theme.fontSizes.sm}\n lineHeight={theme.fontSizes.lg}\n fontFamily={theme.fonts.inter_semi_bold_600}\n fontWeight=\"600\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={title}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight=\"700\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n\n {/* Data do carregamento */}\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={\"Data - \"}\n size={theme.fontSizes.sm}\n lineHeight={theme.fontSizes.lg ?? 18}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={String(date)}\n size={theme.fontSizes.sm}\n lineHeight={theme.fontSizes.lg ?? 18}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={String(dataStart)}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.sm}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n marginRight={8}\n />\n\n <Icons\n icon={\"ELLIPSE\"}\n color={\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\n }\n size={9}\n />\n </Box>\n </Box>\n\n {/* Mensagem de notificação do carregamento */}\n <Typography\n text={notification}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.sm ?? 14}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n />\n </Box>\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { NotificationLoading };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAGA,IAAAM,YAAA,GAAAN,OAAA;AAAmF,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAjBnF;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAMA,MAAMG,mBAAmD,GAAGA,CAAC;EAC3DC,gBAAgB;EAChBC,KAAK;EACLC,MAAM;EACNC,YAAY;EACZC,IAAI;EACJC,YAAY;EACZC,SAAS;EACTC,KAAK;EACLC;AACF,CAAC,KAAK;EAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,mBAAA;EACJ,oBACExB,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACtB,YAAA,CAAAuB,gBAAgB;IAACC,aAAa,EAAE,GAAI;IAACZ,MAAM,EAAEA,MAAO;IAACa,OAAO,EAAEf;EAAiB,gBAC9Eb,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACrB,IAAA,CAAAO,OAAG;IACFkB,KAAK,EAAE,MAAO;IACdC,SAAS,EAAE;MAAEC,aAAa,EAAE,KAAK;MAAEC,UAAU,EAAE;IAAS,CAAE;IAC1DC,eAAe,EAAEZ,QAAQ,GAAGa,YAAK,CAACC,MAAM,CAACC,IAA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B,CAAC,eAEFtE,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACnB,SAAA,CAAAyC,KAAK;IACJC,IAAI,EAAE,SAAU;IAChBE,KAAK,EACH7B,QAAQ,GAAGa,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAC,GAAG,IAAAoB,2BAAc,EAACvD,YAA0B,CAChF;IACDiC,IAAI,EAAE;EAAE,CACT,CACE,CACF,CAAC,eAGNjD,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACpB,WAAA,CAAAgD,UAAU;IACTC,IAAI,EAAEpC,YAAa;IACnB+B,IAAI,EAAEf,YAAK,CAACqB,SAAS,CAAC,KAAK,CAAE;IAC7BI,UAAU,EAAEzB,YAAK,CAAC0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAAjC,mBAAA,GAAEU,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAhC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC0B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCY,aAAa,EAAE,SAAU;IACzBS,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA9D,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ProfileMenuOption = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../typography");
|
|
11
11
|
var _iconsSvg = require("../../common/icons-svg");
|
|
12
12
|
var _theme = require("../../styles/theme/theme");
|
|
@@ -29,7 +29,7 @@ const ProfileMenuOption = ({
|
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
30
30
|
onPress: handleNavigation,
|
|
31
31
|
activeOpacity: 0.7
|
|
32
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
33
33
|
flexStyle: {
|
|
34
34
|
alignItems: "center",
|
|
35
35
|
flexDirection: "row",
|
|
@@ -47,7 +47,7 @@ const ProfileMenuOption = ({
|
|
|
47
47
|
marginStyle: {
|
|
48
48
|
marginBottom: _theme.theme.margins.xs
|
|
49
49
|
}
|
|
50
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
51
51
|
flexStyle: {
|
|
52
52
|
alignItems: "center",
|
|
53
53
|
flexDirection: "row"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","TouchableOpacity","onPress","activeOpacity","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","TouchableOpacity","onPress","activeOpacity","flexStyle","alignItems","flexDirection","justifyContent","width","theme","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","Icons","color","neutral","Typography","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { IProfileMenuOption } from \"./interface\";\n\nconst ProfileMenuOption: React.FC<IProfileMenuOption> = ({\n handleNavigation,\n icon,\n text,\n backgroundColor,\n colorIcon,\n}) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n flexStyle={{\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n width={\"100%\"}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: theme.colors.blue[400],\n }}\n marginStyle={{ marginBottom: theme.margins.xs }}\n >\n <Box flexStyle={{ alignItems: \"center\", flexDirection: \"row\" }}>\n <Icons icon={icon ?? \"AGENT\"} color={colorIcon ?? theme.colors.neutral[25]} />\n <Typography\n text={text}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n marginLeft={theme.margins.xs}\n />\n </Box>\n <Typography\n text=\"›\"\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n color={theme.colors.neutral[25]}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\nexport { ProfileMenuOption };\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AARjD;;AAIA;;AAG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C,EAAE;EAAE,CAAE,CAAC,eAC9E3C,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACZ,WAAA,CAAAuC,UAAU;IACT9B,IAAI,EAAEA,IAAK;IACX+B,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,cAAe;IACvCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACO,EAAG;IAC/BX,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCW,UAAU,EAAE5B,YAAK,CAACa,OAAO,CAACC;EAAG,CAC9B,CACE,CAAC,eACNxC,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACZ,WAAA,CAAAuC,UAAU;IACT9B,IAAI,EAAC,QAAG;IACR+B,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACM,gBAAiB;IACzCJ,UAAU,EAAE,KAAM;IAClBT,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE;EAAE,CACjC,CACE,CACW,CAAC;AAEvB,CAAC;AAACa,OAAA,CAAA7C,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ScheduledJourneyIndicators = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../typography");
|
|
11
11
|
var _iconsSvg = require("../../common/icons-svg");
|
|
12
12
|
var _theme = require("../../styles/theme/theme");
|
|
@@ -45,7 +45,7 @@ const ScheduledJourneyIndicators = ({
|
|
|
45
45
|
padding: _theme.theme.paddings.xs,
|
|
46
46
|
marginBottom: 16
|
|
47
47
|
}
|
|
48
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
48
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
49
49
|
flexStyle: {
|
|
50
50
|
alignItems: "center",
|
|
51
51
|
justifyContent: "center"
|
|
@@ -58,7 +58,7 @@ const ScheduledJourneyIndicators = ({
|
|
|
58
58
|
color: isEdit ? _theme.theme.colors.blue[350] : _theme.theme.colors.neutral[25],
|
|
59
59
|
background: isEdit ? _theme.theme.colors.blue[350] : _theme.theme.colors.green[400],
|
|
60
60
|
size: _theme.theme.fontSizes["2xl"]
|
|
61
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
61
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
62
62
|
flexStyle: {
|
|
63
63
|
flex: 0.72,
|
|
64
64
|
alignItems: "flex-start"
|
|
@@ -73,7 +73,7 @@ const ScheduledJourneyIndicators = ({
|
|
|
73
73
|
letterSpacing: "o_16",
|
|
74
74
|
numberOfLines: 1,
|
|
75
75
|
ellipsizeMode: "tail"
|
|
76
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
76
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
77
77
|
flexStyle: {
|
|
78
78
|
flex: 0.22,
|
|
79
79
|
alignItems: "flex-end"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","width","widthScreen","Dimensions","get","isMobile","ScheduledJourneyIndicators","journey","isEdit","handleOpenEditModal","createElement","TouchableOpacity","onPress","disabled","activeOpacity","style","backgroundColor","theme","colors","neutral","borderRadius","flexDirection","alignItems","justifyContent","padding","paddings","xs","marginBottom","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","width","widthScreen","Dimensions","get","isMobile","ScheduledJourneyIndicators","journey","isEdit","handleOpenEditModal","createElement","TouchableOpacity","onPress","disabled","activeOpacity","style","backgroundColor","theme","colors","neutral","borderRadius","flexDirection","alignItems","justifyContent","padding","paddings","xs","marginBottom","flexStyle","marginStyle","marginLeft","margins","Icons","icon","color","blue","background","green","size","fontSizes","flex","Typography","text","descricao","black","sm","fontWeight","fontFamily","fonts","inter_bold","lineHeight","lg","letterSpacing","numberOfLines","ellipsizeMode","duracao_horas","gray","inter_semi_bold_600","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport React from \"react\";\nimport { Dimensions, TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// commons / Icon\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { IScheduledJourneyIndicators } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst { width: widthScreen } = Dimensions.get(\"window\");\nconst isMobile = widthScreen < 768;\n\nconst ScheduledJourneyIndicators: React.FC<IScheduledJourneyIndicators> = ({\n journey,\n isEdit,\n handleOpenEditModal,\n}) => {\n return (\n <TouchableOpacity\n onPress={handleOpenEditModal}\n disabled={!isEdit}\n activeOpacity={0.7}\n style={{\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 8,\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: theme.paddings.xs,\n marginBottom: 16,\n }}\n >\n <Box\n flexStyle={{\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n marginStyle={{ marginLeft: isMobile ? 0 : theme.margins.xs }}\n >\n <Icons\n icon={isEdit ? \"NOTE_PINCEL\" : \"CHECK_CIRCLE\"}\n color={isEdit ? theme.colors.blue[350] : theme.colors.neutral[25]}\n background={isEdit ? theme.colors.blue[350] : theme.colors.green[400]}\n size={theme.fontSizes[\"2xl\"]}\n />\n </Box>\n\n <Box\n flexStyle={{\n flex: 0.72,\n alignItems: \"flex-start\",\n }}\n >\n <Typography\n text={journey?.descricao}\n color={theme.colors.black[100]}\n size={theme.fontSizes.sm}\n fontWeight=\"700\"\n fontFamily={theme.fonts.inter_bold}\n lineHeight={theme.fontSizes.lg}\n letterSpacing={\"o_16\"}\n numberOfLines={1}\n ellipsizeMode=\"tail\"\n />\n </Box>\n\n <Box\n flexStyle={{\n flex: 0.22,\n alignItems: \"flex-end\",\n }}\n >\n <Typography\n text={journey?.duracao_horas}\n color={theme.colors.gray[700]}\n size={theme.fontSizes.sm}\n fontWeight=\"600\"\n fontFamily={theme.fonts.inter_semi_bold_600}\n lineHeight={24}\n letterSpacing={\"o_16\"}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { ScheduledJourneyIndicators };\n"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAMA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlBjD;AACA;AACA;;AAKA;;AAIA;;AAGA;;AAGA;;AAGA,MAAM;EAAEG,KAAK,EAAEC;AAAY,CAAC,GAAGC,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC;AACvD,MAAMC,QAAQ,GAAGH,WAAW,GAAG,GAAG;AAElC,MAAMI,0BAAiE,GAAGA,CAAC;EACzEC,OAAO;EACPC,MAAM;EACNC;AACF,CAAC,KAAK;EACJ,oBACEnB,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACjB,YAAA,CAAAkB,gBAAgB;IACfC,OAAO,EAAEH,mBAAoB;IAC7BI,QAAQ,EAAE,CAACL,MA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