react-native-exp-fig 0.1.41 → 0.1.43
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/@types/as-base-component.js.map +1 -1
- package/lib/commonjs/common/icons-svg/arrow-down/index.js +51 -0
- package/lib/commonjs/common/icons-svg/arrow-down/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +3 -1
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/user-circle/index.js +37 -0
- package/lib/commonjs/common/icons-svg/user-circle/index.js.map +1 -0
- package/lib/commonjs/components/active-loadings-summary/index.js +88 -0
- package/lib/commonjs/components/active-loadings-summary/index.js.map +1 -0
- package/lib/commonjs/components/active-loadings-summary/interface.d.js +6 -0
- package/lib/commonjs/components/active-loadings-summary/interface.d.js.map +1 -0
- package/lib/commonjs/components/alert-critical-load/index.js +64 -0
- package/lib/commonjs/components/alert-critical-load/index.js.map +1 -0
- package/lib/commonjs/components/alert-critical-load/interface.js +6 -0
- package/lib/commonjs/components/alert-critical-load/interface.js.map +1 -0
- package/lib/commonjs/components/alert-critical-load/styles.js +40 -0
- package/lib/commonjs/components/alert-critical-load/styles.js.map +1 -0
- package/lib/commonjs/components/card-available-load/index.js +131 -0
- package/lib/commonjs/components/card-available-load/index.js.map +1 -0
- package/lib/commonjs/components/card-available-load/interface.js +6 -0
- package/lib/commonjs/components/card-available-load/interface.js.map +1 -0
- package/lib/commonjs/components/card-available-load/style.js +54 -0
- package/lib/commonjs/components/card-available-load/style.js.map +1 -0
- package/lib/commonjs/components/card-driver-data/index.js +105 -0
- package/lib/commonjs/components/card-driver-data/index.js.map +1 -0
- package/lib/commonjs/components/card-driver-data/interface.js +6 -0
- package/lib/commonjs/components/card-driver-data/interface.js.map +1 -0
- package/lib/commonjs/components/card-driver-data/style.js +55 -0
- package/lib/commonjs/components/card-driver-data/style.js.map +1 -0
- package/lib/commonjs/components/card-loading/index.js +9 -9
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/document-carga-info/index.js +98 -0
- package/lib/commonjs/components/document-carga-info/index.js.map +1 -0
- package/lib/commonjs/components/document-carga-info/interface.js +2 -0
- package/lib/commonjs/components/document-carga-info/interface.js.map +1 -0
- package/lib/commonjs/components/document-carga-info/styles.js +64 -0
- package/lib/commonjs/components/document-carga-info/styles.js.map +1 -0
- package/lib/commonjs/components/driver-journey-info/index.js +141 -0
- package/lib/commonjs/components/driver-journey-info/index.js.map +1 -0
- package/lib/commonjs/components/driver-journey-info/interface.js +6 -0
- package/lib/commonjs/components/driver-journey-info/interface.js.map +1 -0
- package/lib/commonjs/components/driver-journey-info/style.js +55 -0
- package/lib/commonjs/components/driver-journey-info/style.js.map +1 -0
- package/lib/commonjs/index.js +42 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/active-loadings-summary/active-loadings-summary.stories.js +63 -0
- package/lib/commonjs/stories/active-loadings-summary/active-loadings-summary.stories.js.map +1 -0
- package/lib/commonjs/stories/alert-critical-load/alert-critical-load.stories.js +58 -0
- package/lib/commonjs/stories/alert-critical-load/alert-critical-load.stories.js.map +1 -0
- package/lib/commonjs/stories/card-available-load/card-available-load.stories.js +94 -0
- package/lib/commonjs/stories/card-available-load/card-available-load.stories.js.map +1 -0
- package/lib/commonjs/stories/card-driver-data/card-driver-data.stories.js +81 -0
- package/lib/commonjs/stories/card-driver-data/card-driver-data.stories.js.map +1 -0
- package/lib/commonjs/stories/document-carga-info/document-carga-info.stories.js +76 -0
- package/lib/commonjs/stories/document-carga-info/document-carga-info.stories.js.map +1 -0
- package/lib/commonjs/stories/driver-journey-info/driver-journey-info.stories.js +87 -0
- package/lib/commonjs/stories/driver-journey-info/driver-journey-info.stories.js.map +1 -0
- package/lib/commonjs/styles/theme/theme.js +5 -4
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +4 -2
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/module/@types/as-base-component.js.map +1 -1
- package/lib/module/common/icons-svg/arrow-down/index.js +45 -0
- package/lib/module/common/icons-svg/arrow-down/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +3 -1
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/user-circle/index.js +29 -0
- package/lib/module/common/icons-svg/user-circle/index.js.map +1 -0
- package/lib/module/components/active-loadings-summary/index.js +81 -0
- package/lib/module/components/active-loadings-summary/index.js.map +1 -0
- package/lib/module/components/active-loadings-summary/interface.d.js +2 -0
- package/lib/module/components/active-loadings-summary/interface.d.js.map +1 -0
- package/lib/module/components/alert-critical-load/index.js +63 -0
- package/lib/module/components/alert-critical-load/index.js.map +1 -0
- package/lib/module/components/alert-critical-load/interface.js +2 -0
- package/lib/module/components/alert-critical-load/interface.js.map +1 -0
- package/lib/module/components/alert-critical-load/styles.js +34 -0
- package/lib/module/components/alert-critical-load/styles.js.map +1 -0
- package/lib/module/components/card-available-load/index.js +130 -0
- package/lib/module/components/card-available-load/index.js.map +1 -0
- package/lib/module/components/card-available-load/interface.js +2 -0
- package/lib/module/components/card-available-load/interface.js.map +1 -0
- package/lib/module/components/card-available-load/style.js +49 -0
- package/lib/module/components/card-available-load/style.js.map +1 -0
- package/lib/module/components/card-driver-data/index.js +104 -0
- package/lib/module/components/card-driver-data/index.js.map +1 -0
- package/lib/module/components/card-driver-data/interface.js +2 -0
- package/lib/module/components/card-driver-data/interface.js.map +1 -0
- package/lib/module/components/card-driver-data/style.js +50 -0
- package/lib/module/components/card-driver-data/style.js.map +1 -0
- package/lib/module/components/card-loading/index.js +9 -9
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-loading/interface.d.js.map +1 -1
- package/lib/module/components/document-carga-info/index.js +97 -0
- package/lib/module/components/document-carga-info/index.js.map +1 -0
- package/lib/module/components/document-carga-info/interface.js +2 -0
- package/lib/module/components/document-carga-info/interface.js.map +1 -0
- package/lib/module/components/document-carga-info/styles.js +60 -0
- package/lib/module/components/document-carga-info/styles.js.map +1 -0
- package/lib/module/components/driver-journey-info/index.js +140 -0
- package/lib/module/components/driver-journey-info/index.js.map +1 -0
- package/lib/module/components/driver-journey-info/interface.js +2 -0
- package/lib/module/components/driver-journey-info/interface.js.map +1 -0
- package/lib/module/components/driver-journey-info/style.js +50 -0
- package/lib/module/components/driver-journey-info/style.js.map +1 -0
- package/lib/module/index.js +8 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/active-loadings-summary/active-loadings-summary.stories.js +57 -0
- package/lib/module/stories/active-loadings-summary/active-loadings-summary.stories.js.map +1 -0
- package/lib/module/stories/alert-critical-load/alert-critical-load.stories.js +50 -0
- package/lib/module/stories/alert-critical-load/alert-critical-load.stories.js.map +1 -0
- package/lib/module/stories/card-available-load/card-available-load.stories.js +86 -0
- package/lib/module/stories/card-available-load/card-available-load.stories.js.map +1 -0
- package/lib/module/stories/card-driver-data/card-driver-data.stories.js +73 -0
- package/lib/module/stories/card-driver-data/card-driver-data.stories.js.map +1 -0
- package/lib/module/stories/document-carga-info/document-carga-info.stories.js +68 -0
- package/lib/module/stories/document-carga-info/document-carga-info.stories.js.map +1 -0
- package/lib/module/stories/driver-journey-info/driver-journey-info.stories.js +79 -0
- package/lib/module/stories/driver-journey-info/driver-journey-info.stories.js.map +1 -0
- package/lib/module/styles/theme/theme.js +5 -4
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +4 -2
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/typescript/src/common/icons-svg/arrow-down/index.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/constants/index.d.ts +2 -0
- package/lib/typescript/src/common/icons-svg/user-circle/index.d.ts +10 -0
- package/lib/typescript/src/components/active-loadings-summary/index.d.ts +10 -0
- package/lib/typescript/src/components/alert-critical-load/index.d.ts +11 -0
- package/lib/typescript/src/components/alert-critical-load/interface.d.ts +9 -0
- package/lib/typescript/src/components/alert-critical-load/styles.d.ts +28 -0
- package/lib/typescript/src/components/card-available-load/index.d.ts +11 -0
- package/lib/typescript/src/components/card-available-load/interface.d.ts +30 -0
- package/lib/typescript/src/components/card-available-load/style.d.ts +8 -0
- package/lib/typescript/src/components/card-driver-data/index.d.ts +11 -0
- package/lib/typescript/src/components/card-driver-data/interface.d.ts +27 -0
- package/lib/typescript/src/components/card-driver-data/style.d.ts +8 -0
- package/lib/typescript/src/components/document-carga-info/index.d.ts +11 -0
- package/lib/typescript/src/components/document-carga-info/interface.d.ts +15 -0
- package/lib/typescript/src/components/document-carga-info/styles.d.ts +50 -0
- package/lib/typescript/src/components/driver-journey-info/index.d.ts +11 -0
- package/lib/typescript/src/components/driver-journey-info/interface.d.ts +28 -0
- package/lib/typescript/src/components/driver-journey-info/style.d.ts +8 -0
- package/lib/typescript/src/components/selects/select-date-and-hours/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts +6 -0
- package/lib/typescript/src/stories/active-loadings-summary/active-loadings-summary.stories.d.ts +8 -0
- package/lib/typescript/src/stories/alert-critical-load/alert-critical-load.stories.d.ts +9 -0
- package/lib/typescript/src/stories/card-available-load/card-available-load.stories.d.ts +10 -0
- package/lib/typescript/src/stories/card-driver-data/card-driver-data.stories.d.ts +10 -0
- package/lib/typescript/src/stories/document-carga-info/document-carga-info.stories.d.ts +10 -0
- package/lib/typescript/src/stories/driver-journey-info/driver-journey-info.stories.d.ts +10 -0
- package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/src/utils/status-color/return-color.d.ts +1 -1
- package/package.json +1 -1
- package/src/@types/as-base-component.ts +9 -9
- package/src/common/icons-svg/arrow-down/index.tsx +44 -0
- package/src/common/icons-svg/constants/index.ts +2 -0
- package/src/common/icons-svg/user-circle/index.tsx +29 -0
- package/src/components/active-loadings-summary/index.tsx +69 -0
- package/src/components/active-loadings-summary/interface.d.ts +16 -0
- package/src/components/alert-critical-load/index.tsx +83 -0
- package/src/components/alert-critical-load/interface.ts +13 -0
- package/src/components/alert-critical-load/styles.ts +35 -0
- package/src/components/card-available-load/index.tsx +163 -0
- package/src/components/card-available-load/interface.ts +36 -0
- package/src/components/card-available-load/style.ts +51 -0
- package/src/components/card-driver-data/index.tsx +139 -0
- package/src/components/card-driver-data/interface.ts +33 -0
- package/src/components/card-driver-data/style.ts +55 -0
- package/src/components/card-loading/index.tsx +276 -294
- package/src/components/card-loading/interface.d.ts +37 -37
- package/src/components/document-carga-info/index.tsx +137 -0
- package/src/components/document-carga-info/interface.ts +19 -0
- package/src/components/document-carga-info/styles.ts +65 -0
- package/src/components/driver-journey-info/index.tsx +185 -0
- package/src/components/driver-journey-info/interface.ts +36 -0
- package/src/components/driver-journey-info/style.ts +55 -0
- package/src/index.ts +56 -50
- package/src/stories/active-loadings-summary/active-loadings-summary.stories.tsx +59 -0
- package/src/stories/alert-critical-load/alert-critical-load.stories.tsx +51 -0
- package/src/stories/card-available-load/card-available-load.stories.tsx +85 -0
- package/src/stories/card-driver-data/card-driver-data.stories.tsx +73 -0
- package/src/stories/document-carga-info/document-carga-info.stories.tsx +72 -0
- package/src/stories/driver-journey-info/driver-journey-info.stories.tsx +79 -0
- package/src/styles/theme/theme.ts +192 -191
- package/src/utils/status-color/return-color.ts +3 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.CardDriverDataOpen = exports.CardDriverDataClosed = void 0;
|
|
7
|
+
var _cardDriverData = _interopRequireDefault(require("../../components/card-driver-data"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// component
|
|
14
|
+
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "componente/CardDriverData",
|
|
17
|
+
component: _cardDriverData.default,
|
|
18
|
+
args: {
|
|
19
|
+
isOpen: true,
|
|
20
|
+
backgroundColor: "#F2F2F2",
|
|
21
|
+
veiculo: {
|
|
22
|
+
placa: "MG-0934-8333",
|
|
23
|
+
tipo: "04 EIXOS"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
parameters: {
|
|
27
|
+
docs: {
|
|
28
|
+
disable: true
|
|
29
|
+
},
|
|
30
|
+
previewTabs: {
|
|
31
|
+
"storybook/docs/panel": {
|
|
32
|
+
hidden: true
|
|
33
|
+
},
|
|
34
|
+
canvas: {
|
|
35
|
+
hidden: true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
notes: `
|
|
39
|
+
# CardDriverData
|
|
40
|
+
|
|
41
|
+
Componente responsável por exibir os dados do veículo a ser carregado,
|
|
42
|
+
com comportamento expansível (aberto / fechado).
|
|
43
|
+
|
|
44
|
+
### Exemplo de uso:
|
|
45
|
+
\`\`\`tsx
|
|
46
|
+
<CardDriverData
|
|
47
|
+
isOpen={true}
|
|
48
|
+
backgroundColor={"#F2F2F2"}
|
|
49
|
+
veiculo={{
|
|
50
|
+
placa: "MG-0934-8333",
|
|
51
|
+
tipo: "04 EIXOS",
|
|
52
|
+
}}
|
|
53
|
+
/>
|
|
54
|
+
\`\`\`
|
|
55
|
+
`
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var _default = exports.default = meta;
|
|
59
|
+
const CardDriverDataOpen = exports.CardDriverDataOpen = {
|
|
60
|
+
name: "card-driver-data-open",
|
|
61
|
+
args: {
|
|
62
|
+
isOpen: true,
|
|
63
|
+
backgroundColor: "#F2F2F2",
|
|
64
|
+
veiculo: {
|
|
65
|
+
placa: "MG-0934-8333",
|
|
66
|
+
tipo: "04 EIXOS"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const CardDriverDataClosed = exports.CardDriverDataClosed = {
|
|
71
|
+
name: "card-driver-data-closed",
|
|
72
|
+
args: {
|
|
73
|
+
isOpen: false,
|
|
74
|
+
backgroundColor: "#F2F2F2",
|
|
75
|
+
veiculo: {
|
|
76
|
+
placa: "MG-0934-8333",
|
|
77
|
+
tipo: "04 EIXOS"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=card-driver-data.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_cardDriverData","_interopRequireDefault","require","e","__esModule","default","meta","title","component","CardDriverData","args","isOpen","backgroundColor","veiculo","placa","tipo","parameters","docs","disable","previewTabs","hidden","canvas","notes","_default","exports","CardDriverDataOpen","name","CardDriverDataClosed"],"sources":["card-driver-data.stories.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport type { StoryObj, Meta } from \"@storybook/react\";\n\n// component\nimport CardDriverData from \"../../components/card-driver-data\";\n\nconst meta: Meta<typeof CardDriverData> = {\n title: \"componente/CardDriverData\",\n component: CardDriverData,\n args: {\n isOpen: true,\n backgroundColor: \"#F2F2F2\",\n veiculo: {\n placa: \"MG-0934-8333\",\n tipo: \"04 EIXOS\",\n },\n },\n parameters: {\n docs: { disable: true },\n previewTabs: {\n \"storybook/docs/panel\": { hidden: true },\n canvas: { hidden: true },\n },\n notes: `\n# CardDriverData\n\nComponente responsável por exibir os dados do veículo a ser carregado,\ncom comportamento expansível (aberto / fechado).\n\n### Exemplo de uso:\n\\`\\`\\`tsx\n<CardDriverData\n isOpen={true}\n backgroundColor={\"#F2F2F2\"}\n veiculo={{\n placa: \"MG-0934-8333\",\n tipo: \"04 EIXOS\",\n }}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CardDriverDataOpen: Story = {\n name: \"card-driver-data-open\",\n args: {\n isOpen: true,\n backgroundColor: \"#F2F2F2\",\n veiculo: {\n placa: \"MG-0934-8333\",\n tipo: \"04 EIXOS\",\n },\n },\n};\n\nexport const CardDriverDataClosed: Story = {\n name: \"card-driver-data-closed\",\n args: {\n isOpen: false,\n backgroundColor: \"#F2F2F2\",\n veiculo: {\n placa: \"MG-0934-8333\",\n tipo: \"04 EIXOS\",\n },\n },\n};\n"],"mappings":";;;;;;AAMA,IAAAA,eAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA+D,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAN/D;AACA;AACA;;AAGA;;AAGA,MAAMG,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEC,uBAAc;EACzBC,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,eAAe,EAAE,SAAS;IAC1BC,OAAO,EAAE;MACPC,KAAK,EAAE,cAAc;MACrBC,IAAI,EAAE;IACR;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,IAAI,EAAE;MAAEC,OAAO,EAAE;IAAK,CAAC;IACvBC,WAAW,EAAE;MACX,sBAAsB,EAAE;QAAEC,MAAM,EAAE;MAAK,CAAC;MACxCC,MAAM,EAAE;QAAED,MAAM,EAAE;MAAK;IACzB,CAAC;IACDE,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAnB,OAAA,GAEaC,IAAI;AAIZ,MAAMmB,kBAAyB,GAAAD,OAAA,CAAAC,kBAAA,GAAG;EACvCC,IAAI,EAAE,uBAAuB;EAC7BhB,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,eAAe,EAAE,SAAS;IAC1BC,OAAO,EAAE;MACPC,KAAK,EAAE,cAAc;MACrBC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAEM,MAAMY,oBAA2B,GAAAH,OAAA,CAAAG,oBAAA,GAAG;EACzCD,IAAI,EAAE,yBAAyB;EAC/BhB,IAAI,EAAE;IACJC,MAAM,EAAE,KAAK;IACbC,eAAe,EAAE,SAAS;IAC1BC,OAAO,EAAE;MACPC,KAAK,EAAE,cAAc;MACrBC,IAAI,EAAE;IACR;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.WithAlert = exports.Default = void 0;
|
|
7
|
+
var _documentCargaInfo = _interopRequireDefault(require("../../components/document-carga-info"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// component
|
|
14
|
+
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "componente/DocumentCargaInfo",
|
|
17
|
+
component: _documentCargaInfo.default,
|
|
18
|
+
args: {
|
|
19
|
+
title: "Documento de carga",
|
|
20
|
+
numberDocument: "123456789",
|
|
21
|
+
linkDocument: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
|
|
22
|
+
isAlert: false,
|
|
23
|
+
errorMessage: ""
|
|
24
|
+
},
|
|
25
|
+
parameters: {
|
|
26
|
+
docs: {
|
|
27
|
+
disable: true
|
|
28
|
+
},
|
|
29
|
+
previewTabs: {
|
|
30
|
+
"storybook/docs/panel": {
|
|
31
|
+
hidden: true
|
|
32
|
+
},
|
|
33
|
+
canvas: {
|
|
34
|
+
hidden: true
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
notes: `
|
|
38
|
+
# DocumentCargaInfo
|
|
39
|
+
|
|
40
|
+
Componente responsável por exibir informações de um documento de carga
|
|
41
|
+
e permitir a abertura do PDF associado.
|
|
42
|
+
|
|
43
|
+
Exemplo de uso:
|
|
44
|
+
|
|
45
|
+
\`\`\`tsx
|
|
46
|
+
<DocumentCargaInfo
|
|
47
|
+
title="Documento de carga"
|
|
48
|
+
numberDocument="123456789"
|
|
49
|
+
linkDocument="https://exemplo.com/documento.pdf"
|
|
50
|
+
isAlert={false}
|
|
51
|
+
/>
|
|
52
|
+
\`\`\`
|
|
53
|
+
`
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
var _default = exports.default = meta;
|
|
57
|
+
const Default = exports.Default = {
|
|
58
|
+
name: "document-carga-info-default",
|
|
59
|
+
args: {
|
|
60
|
+
title: "Documento de carga",
|
|
61
|
+
numberDocument: "123456789",
|
|
62
|
+
linkDocument: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
|
|
63
|
+
isAlert: false
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const WithAlert = exports.WithAlert = {
|
|
67
|
+
name: "document-carga-info-alert",
|
|
68
|
+
args: {
|
|
69
|
+
title: "Documento de carga",
|
|
70
|
+
numberDocument: "123456789",
|
|
71
|
+
linkDocument: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
|
|
72
|
+
isAlert: true,
|
|
73
|
+
errorMessage: "Documento indisponível no momento. Verifique com o setor responsável."
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=document-carga-info.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_documentCargaInfo","_interopRequireDefault","require","e","__esModule","default","meta","title","component","DocumentCargaInfo","args","numberDocument","linkDocument","isAlert","errorMessage","parameters","docs","disable","previewTabs","hidden","canvas","notes","_default","exports","Default","name","WithAlert"],"sources":["document-carga-info.stories.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport type { Meta, StoryObj } from \"@storybook/react\";\n\n// component\nimport DocumentCargaInfo from \"../../components/document-carga-info\";\n\nconst meta: Meta<typeof DocumentCargaInfo> = {\n title: \"componente/DocumentCargaInfo\",\n component: DocumentCargaInfo,\n args: {\n title: \"Documento de carga\",\n numberDocument: \"123456789\",\n linkDocument: \"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\",\n isAlert: false,\n errorMessage: \"\",\n },\n parameters: {\n docs: { disable: true },\n previewTabs: {\n \"storybook/docs/panel\": { hidden: true },\n canvas: { hidden: true },\n },\n notes: `\n# DocumentCargaInfo\n\nComponente responsável por exibir informações de um documento de carga\ne permitir a abertura do PDF associado.\n\nExemplo de uso:\n\n\\`\\`\\`tsx\n<DocumentCargaInfo\n title=\"Documento de carga\"\n numberDocument=\"123456789\"\n linkDocument=\"https://exemplo.com/documento.pdf\"\n isAlert={false}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\n\nexport const Default: Story = {\n name: \"document-carga-info-default\",\n args: {\n title: \"Documento de carga\",\n numberDocument: \"123456789\",\n linkDocument:\n \"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\",\n isAlert: false,\n },\n};\n\nexport const WithAlert: Story = {\n name: \"document-carga-info-alert\",\n args: {\n title: \"Documento de carga\",\n numberDocument: \"123456789\",\n linkDocument:\n \"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\",\n isAlert: true,\n errorMessage:\n \"Documento indisponível no momento. Verifique com o setor responsável.\",\n },\n};\n"],"mappings":";;;;;;AAMA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAqE,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AANrE;AACA;AACA;;AAGA;;AAGA,MAAMG,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEC,0BAAiB;EAC5BC,IAAI,EAAE;IACJH,KAAK,EAAE,oBAAoB;IAC3BI,cAAc,EAAE,WAAW;IAC3BC,YAAY,EAAE,yEAAyE;IACvFC,OAAO,EAAE,KAAK;IACdC,YAAY,EAAE;EAChB,CAAC;EACDC,UAAU,EAAE;IACVC,IAAI,EAAE;MAAEC,OAAO,EAAE;IAAK,CAAC;IACvBC,WAAW,EAAE;MACX,sBAAsB,EAAE;QAAEC,MAAM,EAAE;MAAK,CAAC;MACxCC,MAAM,EAAE;QAAED,MAAM,EAAE;MAAK;IACzB,CAAC;IACDE,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAlB,OAAA,GAEaC,IAAI;AAKZ,MAAMkB,OAAc,GAAAD,OAAA,CAAAC,OAAA,GAAG;EAC5BC,IAAI,EAAE,6BAA6B;EACnCf,IAAI,EAAE;IACJH,KAAK,EAAE,oBAAoB;IAC3BI,cAAc,EAAE,WAAW;IAC3BC,YAAY,EACV,yEAAyE;IAC3EC,OAAO,EAAE;EACX;AACF,CAAC;AAEM,MAAMa,SAAgB,GAAAH,OAAA,CAAAG,SAAA,GAAG;EAC9BD,IAAI,EAAE,2BAA2B;EACjCf,IAAI,EAAE;IACJH,KAAK,EAAE,oBAAoB;IAC3BI,cAAc,EAAE,WAAW;IAC3BC,YAAY,EACV,yEAAyE;IAC3EC,OAAO,EAAE,IAAI;IACbC,YAAY,EACV;EACJ;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.DriverJourneyInfoOpen = exports.DriverJourneyInfoClosed = void 0;
|
|
7
|
+
var _driverJourneyInfo = _interopRequireDefault(require("../../components/driver-journey-info"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// component
|
|
14
|
+
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "componente/DriverJourneyInfo",
|
|
17
|
+
component: _driverJourneyInfo.default,
|
|
18
|
+
args: {
|
|
19
|
+
backgroundColor: "#F2F2F2",
|
|
20
|
+
motorista: {
|
|
21
|
+
nome: "João da Silva",
|
|
22
|
+
contato: "(31) 9 8213-2422",
|
|
23
|
+
posicao: "Usiminas Ipatinga - MG",
|
|
24
|
+
previsao_chegada: "10/03/2025 14:30"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
parameters: {
|
|
28
|
+
docs: {
|
|
29
|
+
disable: true
|
|
30
|
+
},
|
|
31
|
+
previewTabs: {
|
|
32
|
+
"storybook/docs/panel": {
|
|
33
|
+
hidden: true
|
|
34
|
+
},
|
|
35
|
+
canvas: {
|
|
36
|
+
hidden: true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
notes: `
|
|
40
|
+
# DriverJourneyInfo
|
|
41
|
+
|
|
42
|
+
Componente responsável por exibir as informações da jornada do motorista,
|
|
43
|
+
com comportamento expansível (abrir / fechar).
|
|
44
|
+
|
|
45
|
+
### Exemplo de uso:
|
|
46
|
+
\`\`\`tsx
|
|
47
|
+
<DriverJourneyInfo
|
|
48
|
+
backgroundColor={"#F2F2F2"}
|
|
49
|
+
motorista={{
|
|
50
|
+
nome: "João da Silva",
|
|
51
|
+
contato: "(31) 9 8213-2422",
|
|
52
|
+
posicao: "Usiminas Ipatinga - MG",
|
|
53
|
+
previsao_chegada: "10/03/2025 14:30",
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
\`\`\`
|
|
57
|
+
`
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
var _default = exports.default = meta;
|
|
61
|
+
const DriverJourneyInfoOpen = exports.DriverJourneyInfoOpen = {
|
|
62
|
+
name: "driver-journey-info-open",
|
|
63
|
+
args: {
|
|
64
|
+
backgroundColor: "#F2F2F2",
|
|
65
|
+
motorista: {
|
|
66
|
+
nome: "João da Silva",
|
|
67
|
+
contato: "(31) 9 8213-2422",
|
|
68
|
+
posicao: "Usiminas Ipatinga - MG",
|
|
69
|
+
previsao_chegada: "10/03/2025 14:30"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const DriverJourneyInfoClosed = exports.DriverJourneyInfoClosed = {
|
|
74
|
+
name: "driver-journey-info-closed",
|
|
75
|
+
args: {
|
|
76
|
+
// estado inicial fechado pode ser implementado futuramente
|
|
77
|
+
// caso você queira adicionar isOpen como prop
|
|
78
|
+
backgroundColor: "#F2F2F2",
|
|
79
|
+
motorista: {
|
|
80
|
+
nome: "João da Silva",
|
|
81
|
+
contato: "(31) 9 8213-2422",
|
|
82
|
+
posicao: "Usiminas Ipatinga - MG",
|
|
83
|
+
previsao_chegada: "10/03/2025 14:30"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=driver-journey-info.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_driverJourneyInfo","_interopRequireDefault","require","e","__esModule","default","meta","title","component","DriverJourneyInfo","args","backgroundColor","motorista","nome","contato","posicao","previsao_chegada","parameters","docs","disable","previewTabs","hidden","canvas","notes","_default","exports","DriverJourneyInfoOpen","name","DriverJourneyInfoClosed"],"sources":["driver-journey-info.stories.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport type { StoryObj, Meta } from \"@storybook/react\";\n\n// component\nimport DriverJourneyInfo from \"../../components/driver-journey-info\";\n\nconst meta: Meta<typeof DriverJourneyInfo> = {\n title: \"componente/DriverJourneyInfo\",\n component: DriverJourneyInfo,\n args: {\n backgroundColor: \"#F2F2F2\",\n motorista: {\n nome: \"João da Silva\",\n contato: \"(31) 9 8213-2422\",\n posicao: \"Usiminas Ipatinga - MG\",\n previsao_chegada: \"10/03/2025 14:30\",\n },\n },\n parameters: {\n docs: { disable: true },\n previewTabs: {\n \"storybook/docs/panel\": { hidden: true },\n canvas: { hidden: true },\n },\n notes: `\n# DriverJourneyInfo\n\nComponente responsável por exibir as informações da jornada do motorista,\ncom comportamento expansível (abrir / fechar).\n\n### Exemplo de uso:\n\\`\\`\\`tsx\n<DriverJourneyInfo\n backgroundColor={\"#F2F2F2\"}\n motorista={{\n nome: \"João da Silva\",\n contato: \"(31) 9 8213-2422\",\n posicao: \"Usiminas Ipatinga - MG\",\n previsao_chegada: \"10/03/2025 14:30\",\n }}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const DriverJourneyInfoOpen: Story = {\n name: \"driver-journey-info-open\",\n args: {\n backgroundColor: \"#F2F2F2\",\n motorista: {\n nome: \"João da Silva\",\n contato: \"(31) 9 8213-2422\",\n posicao: \"Usiminas Ipatinga - MG\",\n previsao_chegada: \"10/03/2025 14:30\",\n },\n },\n};\n\nexport const DriverJourneyInfoClosed: Story = {\n name: \"driver-journey-info-closed\",\n args: {\n // estado inicial fechado pode ser implementado futuramente\n // caso você queira adicionar isOpen como prop\n backgroundColor: \"#F2F2F2\",\n motorista: {\n nome: \"João da Silva\",\n contato: \"(31) 9 8213-2422\",\n posicao: \"Usiminas Ipatinga - MG\",\n previsao_chegada: \"10/03/2025 14:30\",\n },\n },\n};\n"],"mappings":";;;;;;AAMA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAqE,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AANrE;AACA;AACA;;AAGA;;AAGA,MAAMG,IAAoC,GAAG;EAC3CC,KAAK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|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.theme = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* IMPORTS
|
|
7
|
+
/**
|
|
8
|
+
* IMPORTS
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
const borderWidths = {
|
|
@@ -34,6 +34,7 @@ const colors = {
|
|
|
34
34
|
180: "#35302B"
|
|
35
35
|
},
|
|
36
36
|
blue: {
|
|
37
|
+
20: "#0088FF",
|
|
37
38
|
25: "#1E1E1E",
|
|
38
39
|
50: "#1EA7fD",
|
|
39
40
|
80: "#007BFF",
|
|
@@ -173,8 +174,8 @@ const lineHeight = {
|
|
|
173
174
|
"8xl": 96,
|
|
174
175
|
"9xl": 128
|
|
175
176
|
};
|
|
176
|
-
/**
|
|
177
|
-
* EXPORTSS
|
|
177
|
+
/**
|
|
178
|
+
* EXPORTSS
|
|
178
179
|
*/
|
|
179
180
|
const theme = exports.theme = {
|
|
180
181
|
borderWidths,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","lineHeight","theme","exports"],"sources":["theme.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst borderWidths = {\n thin: 1,\n thin_medium: 2,\n thin_bold: 6,\n thick: 4,\n thick_medium: 8,\n thick_bold: 12,\n thick_large: 16,\n hairline: 999,\n};\n\nconst colors = {\n neutral: {\n 25: \"#FFFFFF\",\n 50: \"#E7EEFF\",\n 75: \"#E5E1F9\",\n 200: \"#C6C6C6\",\n 300: \"#F3F3F3\",\n 400: \"#F4F5F6\",\n },\n black: {\n 10: \"#000000\",\n 25: \"#1E1E1E\",\n 100: \"#393939\",\n 180: \"#35302B\",\n },\n blue: {\n 25: \"#1E1E1E\",\n 50: \"#1EA7fD\",\n 80: \"#007BFF\",\n 100: \"#051C3B\",\n 150: \"#2E41F2\",\n 350: \"#357FD6\",\n 375: \"#056CF2\",\n 400: \"#2D3748\",\n 400_50: \"#2D374880\",\n 500: \"#050022\",\n 525: \"#051C3B\",\n },\n red: {\n 400: \"#D23A1A\",\n 500: \"#C54239\",\n 600: \"#B3261E\",\n 800: \"#E72626\",\n 900: \"#9F0000\",\n },\n gray: {\n 300: \"#D9D9D9\",\n 350: \"#CDCDCD\",\n 400: \"#C6C6C6\",\n 500: \"#1c1c1e\",\n 600: \"#5E5E5E\",\n 700: \"#727272\",\n 800: \"#837676\",\n 850: \"#868686\",\n 875: \"#949494\",\n 900: \"#9B9B9B\",\n 925: \"#957c5f\",\n 950: \"#94a3b8\",\n },\n green: {\n 100: \"#20AD4880\",\n 150: \"#00B37E\",\n 200: \"#25BA76\",\n 250: \"#20AD48\",\n 400: \"#49C63E\",\n 500: \"#50C58F\",\n },\n orange: {\n 500: \"#FC5701\",\n 450: \"#FC6C2D\",\n 150: \"#FFA41C\",\n },\n yellow: {\n 100: \"#DFAE00\",\n 50: \"#F0CA4B\",\n 75: \"#F59E0B\",\n 90: \"#957C5F\",\n },\n};\n\nconst fonts = {\n inter_thin_100: \"Inter-Thin\",\n inter_extra_light_200: \"Inter-ExtraLight\",\n inter_light_300: \"Inter-Light\",\n inter_regular_400: \"Inter-Regular\",\n inter_medium_500: \"Inter-Medium\",\n inter_semi_bold_600: \"Inter-SemiBold\",\n inter_bold_700: \"Inter-Bold\",\n inter_extra_bold_800: \"Inter-ExtraBold\",\n inter_bold: \"Inter-Bold\",\n};\n\nconst fontSizes = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 32,\n \"4xl\": 38,\n \"5xl\": 50,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst margins = {\n \"1xs\": 6,\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst paddings = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst shadows = {\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\n};\n\nconst letterSpacing = {\n o_16: 0.16,\n regular: 0.5,\n medium: 0.75,\n strong: 1,\n};\n\nconst lineHeight = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n/**\n * EXPORTSS\n */\nexport const theme = {\n borderWidths,\n colors,\n fonts,\n fontSizes,\n margins,\n shadows,\n paddings,\n letterSpacing,\n lineHeight,\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAA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AE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAMG,OAAO,GAAG;EACdC,EAAE,EAAE,qEAAqE;EACzEC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;AAED,MAAMC,UAAU,GAAG;EACjB,KAAK,EAAE,EAAE;EACTf,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AACD;AACA;AACA;AACO,MAAMY,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG;EACnB7C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI,aAAa;EACbK;AACF,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","lineHeight","theme","exports"],"sources":["theme.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nconst borderWidths = {\r\n thin: 1,\r\n thin_medium: 2,\r\n thin_bold: 6,\r\n thick: 4,\r\n thick_medium: 8,\r\n thick_bold: 12,\r\n thick_large: 16,\r\n hairline: 999,\r\n};\r\n\r\nconst colors = {\r\n neutral: {\r\n 25: \"#FFFFFF\",\r\n 50: \"#E7EEFF\",\r\n 75: \"#E5E1F9\",\r\n 200: \"#C6C6C6\",\r\n 300: \"#F3F3F3\",\r\n 400: \"#F4F5F6\",\r\n },\r\n black: {\r\n 10: \"#000000\",\r\n 25: \"#1E1E1E\",\r\n 100: \"#393939\",\r\n 180: \"#35302B\",\r\n },\r\n blue: {\r\n 20: \"#0088FF\",\r\n 25: \"#1E1E1E\",\r\n 50: \"#1EA7fD\",\r\n 80: \"#007BFF\",\r\n 100: \"#051C3B\",\r\n 150: \"#2E41F2\",\r\n 350: \"#357FD6\",\r\n 375: \"#056CF2\",\r\n 400: \"#2D3748\",\r\n 400_50: \"#2D374880\",\r\n 500: \"#050022\",\r\n 525: \"#051C3B\",\r\n },\r\n red: {\r\n 400: \"#D23A1A\",\r\n 500: \"#C54239\",\r\n 600: \"#B3261E\",\r\n 800: \"#E72626\",\r\n 900: \"#9F0000\",\r\n },\r\n gray: {\r\n 300: \"#D9D9D9\",\r\n 350: \"#CDCDCD\",\r\n 400: \"#C6C6C6\",\r\n 500: \"#1c1c1e\",\r\n 600: \"#5E5E5E\",\r\n 700: \"#727272\",\r\n 800: \"#837676\",\r\n 850: \"#868686\",\r\n 875: \"#949494\",\r\n 900: \"#9B9B9B\",\r\n 925: \"#957c5f\",\r\n 950: \"#94a3b8\",\r\n },\r\n green: {\r\n 100: \"#20AD4880\",\r\n 150: \"#00B37E\",\r\n 200: \"#25BA76\",\r\n 250: \"#20AD48\",\r\n 400: \"#49C63E\",\r\n 500: \"#50C58F\",\r\n },\r\n orange: {\r\n 500: \"#FC5701\",\r\n 450: \"#FC6C2D\",\r\n 150: \"#FFA41C\",\r\n },\r\n yellow: {\r\n 100: \"#DFAE00\",\r\n 50: \"#F0CA4B\",\r\n 75: \"#F59E0B\",\r\n 90: \"#957C5F\",\r\n },\r\n};\r\n\r\nconst fonts = {\r\n inter_thin_100: \"Inter-Thin\",\r\n inter_extra_light_200: \"Inter-ExtraLight\",\r\n inter_light_300: \"Inter-Light\",\r\n inter_regular_400: \"Inter-Regular\",\r\n inter_medium_500: \"Inter-Medium\",\r\n inter_semi_bold_600: \"Inter-SemiBold\",\r\n inter_bold_700: \"Inter-Bold\",\r\n inter_extra_bold_800: \"Inter-ExtraBold\",\r\n inter_bold: \"Inter-Bold\",\r\n};\r\n\r\nconst fontSizes = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 32,\r\n \"4xl\": 38,\r\n \"5xl\": 50,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst margins = {\r\n \"1xs\": 6,\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst paddings = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst shadows = {\r\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\r\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\r\n};\r\n\r\nconst letterSpacing = {\r\n o_16: 0.16,\r\n regular: 0.5,\r\n medium: 0.75,\r\n strong: 1,\r\n};\r\n\r\nconst lineHeight = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n/**\r\n * EXPORTSS\r\n */\r\nexport const theme = {\r\n borderWidths,\r\n colors,\r\n fonts,\r\n fontSizes,\r\n margins,\r\n shadows,\r\n paddings,\r\n letterSpacing,\r\n lineHeight,\r\n};\r\n"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS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EC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;AAED,MAAMC,UAAU,GAAG;EACjB,KAAK,EAAE,EAAE;EACTf,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AACD;AACA;AACA;AACO,MAAMY,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG;EACnB7C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI,aAAa;EACbK;AACF,CAAC","ignoreList":[]}
|
|
@@ -19,7 +19,8 @@ function getStatusColor(status) {
|
|
|
19
19
|
Concluido: _theme.theme.colors.green[250],
|
|
20
20
|
Cancelado: _theme.theme.colors.red[900],
|
|
21
21
|
Pendente: _theme.theme.colors.yellow[75],
|
|
22
|
-
Andamento: _theme.theme.colors.green[150]
|
|
22
|
+
Andamento: _theme.theme.colors.green[150],
|
|
23
|
+
Em_liberacao: _theme.theme.colors.blue[20]
|
|
23
24
|
};
|
|
24
25
|
return statusColors[status];
|
|
25
26
|
}
|
|
@@ -28,7 +29,8 @@ function getStatusTextColor(status) {
|
|
|
28
29
|
Concluido: _theme.theme.colors.neutral[25],
|
|
29
30
|
Cancelado: _theme.theme.colors.neutral[25],
|
|
30
31
|
Pendente: _theme.theme.colors.neutral[50],
|
|
31
|
-
Andamento: _theme.theme.colors.neutral[50]
|
|
32
|
+
Andamento: _theme.theme.colors.neutral[50],
|
|
33
|
+
Em_liberacao: _theme.theme.colors.neutral[25]
|
|
32
34
|
};
|
|
33
35
|
return statusColors[status];
|
|
34
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_theme","require","getBorderColor","status","borderColors","Cancelado","theme","colors","red","Pendente","orange","getStatusColor","statusColors","Concluido","green","yellow","Andamento","getStatusTextColor","neutral"],"sources":["return-color.ts"],"sourcesContent":["import { theme } from \"../../styles/theme/theme\";\n\nexport type StatusType = \"Andamento\" | \"Cancelado\" | \"Pendente\" | \"Concluido\";\n\nfunction getBorderColor(status: string) {\n const borderColors = {\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.orange[450],\n };\n return borderColors[status as keyof typeof borderColors];\n}\nfunction getStatusColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.green[250],\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.yellow[75],\n Andamento: theme.colors.green[150],\n };\n\n return statusColors[status];\n}\n\nfunction getStatusTextColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.neutral[25],\n Cancelado: theme.colors.neutral[25],\n Pendente: theme.colors.neutral[50],\n Andamento: theme.colors.neutral[50],\n };\n\n return statusColors[status];\n}\n\nexport { getStatusColor, getBorderColor, getStatusTextColor };\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,SAASC,cAAcA,CAACC,MAAc,EAAE;EACtC,MAAMC,YAAY,GAAG;IACnBC,SAAS,EAAEC,YAAK,CAACC,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEH,YAAK,CAACC,MAAM,CAACG,MAAM,CAAC,GAAG;EACnC,CAAC;EACD,OAAON,YAAY,CAACD,MAAM,CAA8B;AAC1D;AACA,SAASQ,cAAcA,CAACR,MAAkB,EAAU;EAClD,MAAMS,YAAwC,GAAG;IAC/CC,SAAS,EAAEP,YAAK,CAACC,MAAM,CAACO,KAAK,CAAC,GAAG,CAAC;IAClCT,SAAS,EAAEC,YAAK,CAACC,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEH,YAAK,CAACC,MAAM,CAACQ,MAAM,CAAC,EAAE,CAAC;IACjCC,SAAS,EAAEV,YAAK,CAACC,MAAM,CAACO,KAAK,CAAC,GAAG;
|
|
1
|
+
{"version":3,"names":["_theme","require","getBorderColor","status","borderColors","Cancelado","theme","colors","red","Pendente","orange","getStatusColor","statusColors","Concluido","green","yellow","Andamento","Em_liberacao","blue","getStatusTextColor","neutral"],"sources":["return-color.ts"],"sourcesContent":["import { theme } from \"../../styles/theme/theme\";\n\nexport type StatusType = \"Andamento\" | \"Cancelado\" | \"Pendente\" | \"Concluido\" | \"Em_liberacao\";\n\nfunction getBorderColor(status: string) {\n const borderColors = {\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.orange[450],\n };\n return borderColors[status as keyof typeof borderColors];\n}\nfunction getStatusColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.green[250],\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.yellow[75],\n Andamento: theme.colors.green[150],\n Em_liberacao: theme.colors.blue[20],\n };\n\n return statusColors[status];\n}\n\nfunction getStatusTextColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.neutral[25],\n Cancelado: theme.colors.neutral[25],\n Pendente: theme.colors.neutral[50],\n Andamento: theme.colors.neutral[50],\n Em_liberacao: theme.colors.neutral[25],\n };\n\n return statusColors[status];\n}\n\nexport { getStatusColor, getBorderColor, getStatusTextColor };\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,SAASC,cAAcA,CAACC,MAAc,EAAE;EACtC,MAAMC,YAAY,GAAG;IACnBC,SAAS,EAAEC,YAAK,CAACC,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEH,YAAK,CAACC,MAAM,CAACG,MAAM,CAAC,GAAG;EACnC,CAAC;EACD,OAAON,YAAY,CAACD,MAAM,CAA8B;AAC1D;AACA,SAASQ,cAAcA,CAACR,MAAkB,EAAU;EAClD,MAAMS,YAAwC,GAAG;IAC/CC,SAAS,EAAEP,YAAK,CAACC,MAAM,CAACO,KAAK,CAAC,GAAG,CAAC;IAClCT,SAAS,EAAEC,YAAK,CAACC,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEH,YAAK,CAACC,MAAM,CAACQ,MAAM,CAAC,EAAE,CAAC;IACjCC,SAAS,EAAEV,YAAK,CAACC,MAAM,CAACO,KAAK,CAAC,GAAG,CAAC;IAClCG,YAAY,EAAEX,YAAK,CAACC,MAAM,CAACW,IAAI,CAAC,EAAE;EACpC,CAAC;EAED,OAAON,YAAY,CAACT,MAAM,CAAC;AAC7B;AAEA,SAASgB,kBAAkBA,CAAChB,MAAkB,EAAU;EACtD,MAAMS,YAAwC,GAAG;IAC/CC,SAAS,EAAEP,YAAK,CAACC,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACnCf,SAAS,EAAEC,YAAK,CAACC,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACnCX,QAAQ,EAAEH,YAAK,CAACC,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IAClCJ,SAAS,EAAEV,YAAK,CAACC,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACnCH,YAAY,EAAEX,YAAK,CAACC,MAAM,CAACa,OAAO,CAAC,EAAE;EACvC,CAAC;EAED,OAAOR,YAAY,CAACT,MAAM,CAAC;AAC7B","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["asBaseComponent","Component","_options"],"sources":["as-base-component.ts"],"sourcesContent":["import type React from \"react\";\
|
|
1
|
+
{"version":3,"names":["asBaseComponent","Component","_options"],"sources":["as-base-component.ts"],"sourcesContent":["import type React from \"react\";\n\nexport function asBaseComponent<P>(\n Component: React.ComponentType<P>,\n // eslint-disable-next-line no-unused-vars\n _options?: P\n): React.ComponentType<P> {\n return Component;\n}\n"],"mappings":"AAEA,OAAO,SAASA,eAAeA,CAC7BC,SAAiC;AACjC;AACAC,QAAY,EACY;EACxB,OAAOD,SAAS;AAClB","ignoreList":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
/**
|
|
3
|
+
* IMPORTS
|
|
4
|
+
*/
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import Svg, { Path, Mask, G } from "react-native-svg";
|
|
7
|
+
|
|
8
|
+
// typings
|
|
9
|
+
|
|
10
|
+
const SvgIconArrowOpen = ({
|
|
11
|
+
color,
|
|
12
|
+
size,
|
|
13
|
+
...rest
|
|
14
|
+
}) => /*#__PURE__*/React.createElement(Svg, _extends({}, rest, {
|
|
15
|
+
// @ts-ignore
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
width: size ? size + 4 : "28",
|
|
18
|
+
height: size ? size : "24",
|
|
19
|
+
fill: "none",
|
|
20
|
+
viewBox: `0 0 ${size ? size + 4 : "28"} ${size ? "24" : "24"}`
|
|
21
|
+
}), /*#__PURE__*/React.createElement(Mask, {
|
|
22
|
+
id: "mask0_2217_3487",
|
|
23
|
+
width: "28",
|
|
24
|
+
height: "24",
|
|
25
|
+
x: "0",
|
|
26
|
+
y: "0",
|
|
27
|
+
maskUnits: "userSpaceOnUse",
|
|
28
|
+
style: {
|
|
29
|
+
maskType: "alpha"
|
|
30
|
+
}
|
|
31
|
+
}, /*#__PURE__*/React.createElement(Path, {
|
|
32
|
+
fill: color !== null && color !== void 0 ? color : "#fff",
|
|
33
|
+
d: "M27.805 0v24H0V0z"
|
|
34
|
+
})), /*#__PURE__*/React.createElement(G, {
|
|
35
|
+
mask: "url(#mask0_2217_3487)"
|
|
36
|
+
}, /*#__PURE__*/React.createElement(Path, {
|
|
37
|
+
fill: color !== null && color !== void 0 ? color : "#fff",
|
|
38
|
+
d: "m3.128 16 10.774-9.3L24.677 16l-1.217 1.074-9.558-8.25-9.558 8.25z"
|
|
39
|
+
})));
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* EXPORTS
|
|
43
|
+
*/
|
|
44
|
+
export { SvgIconArrowOpen };
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","Mask","G","SvgIconArrowOpen","color","size","rest","createElement","_extends","xmlns","width","height","fill","viewBox","id","x","y","maskUnits","style","maskType","d","mask"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport * as React from \"react\";\nimport Svg, { Path, Mask, G, } from \"react-native-svg\";\n\n// typings\nimport { ISvgProps } from \"../interface\";\n\nconst SvgIconArrowOpen: React.FC<ISvgProps> = ({ color, size, ...rest }) => (\n\n <Svg\n {...rest}\n // @ts-ignore\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size ? size + 4 : \"28\"}\n height={size ? size : \"24\"}\n fill=\"none\"\n viewBox={`0 0 ${size ? size + 4 : \"28\"} ${size ? \"24\" : \"24\"}`}\n >\n <Mask\n id=\"mask0_2217_3487\"\n width=\"28\"\n height=\"24\"\n x=\"0\"\n y=\"0\"\n maskUnits=\"userSpaceOnUse\"\n style={{ maskType: \"alpha\" }}\n >\n <Path fill={color ?? \"#fff\"} d=\"M27.805 0v24H0V0z\"></Path>\n </Mask>\n <G mask=\"url(#mask0_2217_3487)\">\n <Path\n fill={color ?? \"#fff\"}\n d=\"m3.128 16 10.774-9.3L24.677 16l-1.217 1.074-9.558-8.25-9.558 8.25z\"\n ></Path>\n </G>\n </Svg>\n);\n\n/**\n * EXPORTS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;AACA,SAASjB,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SVG_NAME","CAMERA_PLUS","STEERING_WHEEL","CHECK_BOX_FILL","CHECK_BOX","CHECK_BOX_OUTLINE","MOON_STARS","CALL_BELL","STEERING_WHEEL_FILL","TROPHY","SHOPPING_CART","CREDIT_CARD","FILE_TEXT","TRUCK","PACKAGE_CHECK","PLUS","EYE_SLASH","EYE","CALENDAR","TIMER","GEAR","CURRENCY","GAUGE","GAS_PUMP","ARROW_LEFT","BLUETOOTH","BLUETOOTH_CONNECTED","LIST","WIFI_X","WIFI_HIGH","NOTE_PINCEL","CHECK_CIRCLE","ARROW_DROP_DOWN","CLOSED","LOADING","ACTIVITY","HISTORY","BELL","FILES","LIFEBUOY","RECUSED","EXCLAMATION_CIRCLE","X_CIRCLE","ELLIPSE","PENCIL","CAR","TRUCK_ACTIVITY","COFFEE","AGENT","CHECK_OUTLINE","BED","REFRESH_CCW_DOT","HOURGLASS","HOUSE","ISLAND","EXCLAMATION_TRIANGLE","SCALES","CARRIER"],"sources":["index.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst SVG_NAME = {\n CAMERA_PLUS: \"camera-plus\",\n STEERING_WHEEL: \"steering-wheel\",\n CHECK_BOX_FILL: \"check-box-fill\",\n CHECK_BOX: \"check-box\",\n CHECK_BOX_OUTLINE: \"check-box-outline\",\n MOON_STARS: \"moon-stars\",\n CALL_BELL: \"call-bell\",\n STEERING_WHEEL_FILL: \"steering-wheel-fill\",\n TROPHY: \"trophy\",\n SHOPPING_CART: \"Pedido Realizado\",\n CREDIT_CARD: \"Pagamento Aprovado\",\n FILE_TEXT: \"Pedido Faturado\",\n TRUCK: \"Pedido Enviado\",\n PACKAGE_CHECK: \"Pedido Entregue\",\n PLUS: \"plus\",\n EYE_SLASH: \"eye-slash\",\n EYE: \"eye\",\n CALENDAR: \"calendar\",\n TIMER: \"timer\",\n GEAR: \"gear\",\n CURRENCY: \"currency\",\n GAUGE: \"gauge\",\n GAS_PUMP: \"gas-pump\",\n ARROW_LEFT: \"arrow-left\",\n BLUETOOTH: \"bluetooth\",\n BLUETOOTH_CONNECTED: \"bluetooth-connected\",\n LIST: \"list\",\n WIFI_X: \"wifi-x\",\n WIFI_HIGH: \"wifi-high\",\n NOTE_PINCEL: \"note-pincel\",\n CHECK_CIRCLE: \"check-circle\",\n ARROW_DROP_DOWN: \"arrow-drop-down\",\n CLOSED: \"closed\",\n LOADING: \"currency-circle-dollar\",\n ACTIVITY: \"atividades\",\n HISTORY: \"chart-bar\",\n BELL: \"bell\",\n FILES: \"files\",\n LIFEBUOY: \"lifebuoy\",\n RECUSED: \"recused\",\n EXCLAMATION_CIRCLE: \"exclamation-circle\",\n X_CIRCLE: \"x-circle\",\n ELLIPSE: \"ellipsis\",\n PENCIL: \"pencil\",\n CAR: \"car\",\n TRUCK_ACTIVITY: \"truck-activity\",\n COFFEE: \"coffee\",\n AGENT: \"agent\",\n CHECK_OUTLINE: \"check-outline\",\n BED: \"bed\",\n REFRESH_CCW_DOT: \"refresh-ccw-dot\",\n HOURGLASS: \"hourglass\",\n HOUSE: \"house\",\n ISLAND: \"island\",\n EXCLAMATION_TRIANGLE: \"exclamation-triangle\",\n SCALES: \"scales\",\n CARRIER: \"carrier\",\n};\n\n/**\n * EXPORTS\n */\n\nexport { SVG_NAME };\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,QAAQ,GAAG;EACfC,WAAW,EAAE,aAAa;EAC1BC,cAAc,EAAE,gBAAgB;EAChCC,cAAc,EAAE,gBAAgB;EAChCC,SAAS,EAAE,WAAW;EACtBC,iBAAiB,EAAE,mBAAmB;EACtCC,UAAU,EAAE,YAAY;EACxBC,SAAS,EAAE,WAAW;EACtBC,mBAAmB,EAAE,qBAAqB;EAC1CC,MAAM,EAAE,QAAQ;EAChBC,aAAa,EAAE,kBAAkB;EACjCC,WAAW,EAAE,oBAAoB;EACjCC,SAAS,EAAE,iBAAi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HECK_BOX_FILL","CHECK_BOX","CHECK_BOX_OUTLINE","MOON_STARS","CALL_BELL","STEERING_WHEEL_FILL","TROPHY","SHOPPING_CART","CREDIT_CARD","FILE_TEXT","TRUCK","PACKAGE_CHECK","PLUS","EYE_SLASH","EYE","CALENDAR","TIMER","GEAR","CURRENCY","GAUGE","GAS_PUMP","ARROW_LEFT","BLUETOOTH","BLUETOOTH_CONNECTED","LIST","WIFI_X","WIFI_HIGH","NOTE_PINCEL","CHECK_CIRCLE","ARROW_DROP_DOWN","CLOSED","LOADING","ACTIVITY","HISTORY","BELL","FILES","LIFEBUOY","RECUSED","EXCLAMATION_CIRCLE","X_CIRCLE","ELLIPSE","PENCIL","CAR","TRUCK_ACTIVITY","COFFEE","AGENT","CHECK_OUTLINE","BED","REFRESH_CCW_DOT","HOURGLASS","HOUSE","ISLAND","EXCLAMATION_TRIANGLE","SCALES","CARRIER","USER_CIRCLE","WARNING_TRIANGLE"],"sources":["index.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst SVG_NAME = {\n CAMERA_PLUS: \"camera-plus\",\n STEERING_WHEEL: \"steering-wheel\",\n CHECK_BOX_FILL: \"check-box-fill\",\n CHECK_BOX: \"check-box\",\n CHECK_BOX_OUTLINE: \"check-box-outline\",\n MOON_STARS: \"moon-stars\",\n CALL_BELL: \"call-bell\",\n STEERING_WHEEL_FILL: \"steering-wheel-fill\",\n TROPHY: \"trophy\",\n SHOPPING_CART: \"Pedido Realizado\",\n CREDIT_CARD: \"Pagamento Aprovado\",\n FILE_TEXT: \"Pedido Faturado\",\n TRUCK: \"Pedido Enviado\",\n PACKAGE_CHECK: \"Pedido Entregue\",\n PLUS: \"plus\",\n EYE_SLASH: \"eye-slash\",\n EYE: \"eye\",\n CALENDAR: \"calendar\",\n TIMER: \"timer\",\n GEAR: \"gear\",\n CURRENCY: \"currency\",\n GAUGE: \"gauge\",\n GAS_PUMP: \"gas-pump\",\n ARROW_LEFT: \"arrow-left\",\n BLUETOOTH: \"bluetooth\",\n BLUETOOTH_CONNECTED: \"bluetooth-connected\",\n LIST: \"list\",\n WIFI_X: \"wifi-x\",\n WIFI_HIGH: \"wifi-high\",\n NOTE_PINCEL: \"note-pincel\",\n CHECK_CIRCLE: \"check-circle\",\n ARROW_DROP_DOWN: \"arrow-drop-down\",\n CLOSED: \"closed\",\n LOADING: \"currency-circle-dollar\",\n ACTIVITY: \"atividades\",\n HISTORY: \"chart-bar\",\n BELL: \"bell\",\n FILES: \"files\",\n LIFEBUOY: \"lifebuoy\",\n RECUSED: \"recused\",\n EXCLAMATION_CIRCLE: \"exclamation-circle\",\n X_CIRCLE: \"x-circle\",\n ELLIPSE: \"ellipsis\",\n PENCIL: \"pencil\",\n CAR: \"car\",\n TRUCK_ACTIVITY: \"truck-activity\",\n COFFEE: \"coffee\",\n AGENT: \"agent\",\n CHECK_OUTLINE: \"check-outline\",\n BED: \"bed\",\n REFRESH_CCW_DOT: \"refresh-ccw-dot\",\n HOURGLASS: \"hourglass\",\n HOUSE: \"house\",\n ISLAND: \"island\",\n EXCLAMATION_TRIANGLE: \"exclamation-triangle\",\n SCALES: \"scales\",\n CARRIER: \"carrier\",\n USER_CIRCLE: \"user-circle\",\n WARNING_TRIANGLE: \"warning-triangle\",\n};\n\n/**\n * EXPORTS\n */\n\nexport { SVG_NAME };\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,QAAQ,GAAG;EACfC,WAAW,EAAE,aAAa;EAC1BC,cAAc,EAAE,gBAAgB;EAChCC,cAAc,EAAE,gBAAgB;EAChCC,SAAS,EAAE,WAAW;EACtBC,iBAAiB,EAAE,mBAAmB;EACtCC,UAAU,EAAE,YAAY;EACxBC,SAAS,EAAE,WAAW;EACtBC,mBAAmB,EAAE,qBAAqB;EAC1CC,MAAM,EAAE,QAAQ;EAChBC,aAAa,EAAE,kBAAkB;EACjCC,WAAW,EAAE,oBAAoB;EACjCC,SAAS,EAAE,iBAAiB;EAC5BC,KAAK,EAAE,gBAAgB;EACv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QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import Svg, { Path } from "react-native-svg";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
|
|
9
|
+
const SvgIconUserCircle = ({
|
|
10
|
+
color,
|
|
11
|
+
size
|
|
12
|
+
}) => /*#__PURE__*/React.createElement(Svg
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
, {
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
width: size !== null && size !== void 0 ? size : "33",
|
|
17
|
+
height: size !== null && size !== void 0 ? size : "33",
|
|
18
|
+
fill: "none",
|
|
19
|
+
viewBox: `0 0 ${size !== null && size !== void 0 ? size : "33"} ${size !== null && size !== void 0 ? size : "33"}`
|
|
20
|
+
}, /*#__PURE__*/React.createElement(Path, {
|
|
21
|
+
fill: color !== null && color !== void 0 ? color : "#393939",
|
|
22
|
+
d: "M16.25 0A16.25 16.25 0 1 0 32.5 16.25 16.267 16.267 0 0 0 16.25 0m-5 16.25a5 5 0 1 1 10 0 5 5 0 0 1-10 0M25.044 5.688l-4.452 4.453a7.475 7.475 0 0 0-8.684 0L7.456 5.688a13.72 13.72 0 0 1 17.588 0M7.456 26.813l4.452-4.454a7.475 7.475 0 0 0 8.684 0l4.452 4.453a13.724 13.724 0 0 1-17.588 0"
|
|
23
|
+
}));
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* EXPORTS
|
|
27
|
+
*/
|
|
28
|
+
export { SvgIconUserCircle };
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","SvgIconUserCircle","color","size","createElement","xmlns","width","height","fill","viewBox","d"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport * as React from \"react\";\nimport Svg, { Path } from \"react-native-svg\";\n\n// typings\nimport { ISvgProps } from \"../interface\";\n\nconst SvgIconUserCircle: React.FC<ISvgProps> = ({ color, size }) => (\n <Svg\n // @ts-ignore\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size ?? \"33\"}\n height={size ?? \"33\"}\n fill=\"none\"\n viewBox={`0 0 ${size ?? \"33\"} ${size ?? \"33\"}`}\n >\n <Path\n fill={color ?? \"#393939\"}\n d=\"M16.25 0A16.25 16.25 0 1 0 32.5 16.25 16.267 16.267 0 0 0 16.25 0m-5 16.25a5 5 0 1 1 10 0 5 5 0 0 1-10 0M25.044 5.688l-4.452 4.453a7.475 7.475 0 0 0-8.684 0L7.456 5.688a13.72 13.72 0 0 1 17.588 0M7.456 26.813l4.452-4.454a7.475 7.475 0 0 0 8.684 0l4.452 4.453a13.724 13.724 0 0 1-17.588 0\"\n ></Path>\n </Svg>\n);\n\n/**\n * EXPORTS\n */\nexport { SvgIconUserCircle };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;;AAE5C;;AAGA,MAAMC,iBAAsC,GAAGA,CAAC;EAAEC,KAAK;EAAEC;AAAK,CAAC,kBAC7DL,KAAA,CAAAM,aAAA,CAACL;AACC;AAAA;EACAM,KAAK,EAAC,4BAA4B;EAClCC,KAAK,EAAEH,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,IAAK;EACpBI,MAAM,EAAEJ,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,IAAK;EACrBK,IAAI,EAAC,MAAM;EACXC,OAAO,EAAE,OAAON,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,IAAI,IAAIA,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,IAAI;AAAG,gBAE/CL,KAAA,CAAAM,aAAA,CAACJ,IAAI;EACHQ,IAAI,EAAEN,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,SAAU;EACzBQ,CAAC,EAAC;AAAiS,CAC9R,CACJ,CACN;;AAED;AACA;AACA;AACA,SAAST,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
// components
|
|
7
|
+
import Box from "../box";
|
|
8
|
+
import { Typography } from "../../components/typography";
|
|
9
|
+
import { Button } from "../button";
|
|
10
|
+
|
|
11
|
+
// styles
|
|
12
|
+
import { theme } from "../../styles/theme/theme";
|
|
13
|
+
|
|
14
|
+
// typing
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Componente para ser mosrado na tela Home com a quanttidade de carregamentos iniciados + botão de visualizar todos e acessar a ttela
|
|
18
|
+
*/
|
|
19
|
+
const ActiveLoadingsSummary = ({
|
|
20
|
+
count,
|
|
21
|
+
onPressView
|
|
22
|
+
}) => {
|
|
23
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
24
|
+
width: "100%",
|
|
25
|
+
backgroundColor: theme.colors.neutral[25],
|
|
26
|
+
borderStyled: {
|
|
27
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
28
|
+
borderWidth: theme.borderWidths.thin,
|
|
29
|
+
borderColor: theme.colors.gray[300]
|
|
30
|
+
},
|
|
31
|
+
paddingStyle: {
|
|
32
|
+
padding: theme.paddings.xs
|
|
33
|
+
},
|
|
34
|
+
marginStyle: {
|
|
35
|
+
marginBottom: theme.margins.xs
|
|
36
|
+
},
|
|
37
|
+
flexStyle: {
|
|
38
|
+
flexDirection: "column",
|
|
39
|
+
alignItems: "flex-start",
|
|
40
|
+
justifyContent: "flex-start"
|
|
41
|
+
}
|
|
42
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
43
|
+
width: "100%",
|
|
44
|
+
flexStyle: {
|
|
45
|
+
alignItems: "center"
|
|
46
|
+
}
|
|
47
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
48
|
+
text: `${count} carregamentos iniciados`,
|
|
49
|
+
size: theme.fontSizes.sm,
|
|
50
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
51
|
+
color: theme.colors.gray[500],
|
|
52
|
+
align: "center"
|
|
53
|
+
})), /*#__PURE__*/React.createElement(Button, {
|
|
54
|
+
isLoading: false,
|
|
55
|
+
title: "Visualizar carregamentos",
|
|
56
|
+
width: "100%",
|
|
57
|
+
height: 36,
|
|
58
|
+
backgroundColor: theme.colors.blue[500],
|
|
59
|
+
flexStyle: {
|
|
60
|
+
alignItems: "center",
|
|
61
|
+
justifyContent: "center"
|
|
62
|
+
},
|
|
63
|
+
marginStyle: {
|
|
64
|
+
marginTop: theme.margins.xs
|
|
65
|
+
},
|
|
66
|
+
buttonTextStyle: {
|
|
67
|
+
color: theme.colors.neutral[25],
|
|
68
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
69
|
+
fontSize: theme.fontSizes.xs,
|
|
70
|
+
textAlign: "center"
|
|
71
|
+
},
|
|
72
|
+
borderStyled: {
|
|
73
|
+
borderWidth: theme.borderWidths.thin,
|
|
74
|
+
borderColor: theme.colors.blue[500],
|
|
75
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
76
|
+
},
|
|
77
|
+
onPress: onPressView
|
|
78
|
+
}));
|
|
79
|
+
};
|
|
80
|
+
export { ActiveLoadingsSummary };
|
|
81
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Box","Typography","Button","theme","ActiveLoadingsSummary","count","onPressView","createElement","width","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","borderWidth","thin","borderColor","gray","paddingStyle","padding","paddings","xs","marginStyle","marginBottom","margins","flexStyle","flexDirection","alignItems","justifyContent","text","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","color","align","isLoading","title","height","blue","marginTop","buttonTextStyle","fontSize","textAlign","onPress"],"sources":["index.tsx"],"sourcesContent":["/**\r\n* IMPORTS\r\n*/\r\nimport React from \"react\";\r\n\r\n// components\r\nimport Box from \"../box\";\r\nimport { Typography } from \"../../components/typography\";\r\nimport { Button } from \"../button\";\r\n\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// typing\r\nimport { IActiveLoadingsSummary } from \"./interface\";\r\n\r\n/**\r\n* Componente para ser mosrado na tela Home com a quanttidade de carregamentos iniciados + botão de visualizar todos e acessar a ttela\r\n*/\r\nconst ActiveLoadingsSummary: React.FC<IActiveLoadingsSummary> = ({ count, onPressView }: IActiveLoadingsSummary) => {\r\n return (\r\n <Box\r\n width={\"100%\"}\r\n backgroundColor={theme.colors.neutral[25]}\r\n borderStyled={{\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.gray[300],\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n marginStyle={{ marginBottom: theme.margins.xs }}\r\n flexStyle={{ flexDirection: \"column\", alignItems: \"flex-start\", justifyContent: \"flex-start\" }}\r\n >\r\n <Box width={\"100%\"} flexStyle={{ alignItems: \"center\" }}>\r\n <Typography\r\n text={`${count} carregamentos iniciados`}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.gray[500]}\r\n align={\"center\"}\r\n />\r\n </Box>\r\n <Button\r\n isLoading={false}\r\n title=\"Visualizar carregamentos\"\r\n width='100%'\r\n height={36}\r\n backgroundColor={theme.colors.blue[500]}\r\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\" }}\r\n marginStyle={{ marginTop: theme.margins.xs }}\r\n buttonTextStyle={{\r\n color: theme.colors.neutral[25],\r\n fontFamily: theme.fonts.inter_medium_500,\r\n fontSize: theme.fontSizes.xs,\r\n textAlign: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.blue[500],\r\n borderRadius: theme.borderWidths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CAACC,EAAG;IACzBC,UAAU,EAAEhC,KAAK,CAACiC,KAAK,CAACC,gBAAiB;IACzCC,KAAK,EAAEnC,KAAK,CAACO,MAAM,CAACS,IAAI,CAAC,GAAG,CAAE;IAC9BoB,KAAK,EAAE;EAAS,CACjB,CACE,CAAC,eACNxC,KAAA,CAAAQ,aAAA,CAACL,MAAM;IACLsC,SAAS,EAAE,KAAM;IACjBC,KAAK,EAAC,0BAA0B;IAChCjC,KAAK,EAAC,MAAM;IACZkC,MAAM,EAAE,EAAG;IACXjC,eAAe,EAAEN,KAAK,CAACO,MAAM,CAACiC,IAAI,CAAC,GAAG,CAAE;IACxChB,SAAS,EAAE;MAAEE,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IAC9DN,WAAW,EAAE;MAAEoB,SAAS,EAAEzC,KAAK,CAACuB,OAAO,CAACH;IAAG,CAAE;IAC7CsB,eAAe,EAAE;MACfP,KAAK,EAAEnC,KAAK,CAACO,MAAM,CAACC,OAAO,CAAC,EAAE,CAAC;MAC/BwB,UAAU,EAAEhC,KAAK,CAACiC,KAAK,CAACC,gBAAgB;MACxCS,QAAQ,EAAE3C,KAAK,CAAC8B,SAAS,CAACV,EAAE;MAC5BwB,SAAS,EAAE;IACb,CAAE;IACFnC,YAAY,EAAE;MACZI,WAAW,EAAEb,KAAK,CAACW,YAAY,CAACG,IAAI;MACpCC,WAAW,EAAEf,KAAK,CAACO,MAAM,CAACiC,IAAI,CAAC,GAAG,CAAC;MACnC9B,YAAY,EAAEV,KAAK,CAACW,YAAY,CAACC;IACnC,CAAE;IACFiC,OAAO,EAAE1C;EAAY,CACtB,CACE,CAAC;AAEV,CAAC;AAED,SAASF,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\ninterface IActiveLoadingsSummary {\r\n /**propriedade que indica a quantidade de carregamentos iniciados */\r\n count: number;\r\n\r\n /**função que é chamada ao clicar no botão de visualizar carregamentos */\r\n onPressView: () => void;\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IActiveLoadingsSummary };\r\n"],"mappings":"","ignoreList":[]}
|