@banch0u/core-project-test-repository 2.2.4 → 2.2.8

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.
Files changed (134) hide show
  1. package/README.md +104 -104
  2. package/dist/assets/css/antd.css +842 -842
  3. package/dist/assets/css/variables.css +16 -16
  4. package/dist/assets/fonts/fonts.css +52 -52
  5. package/dist/components/Button/index.module.scss +154 -154
  6. package/dist/components/ColSort/index.module.scss +62 -62
  7. package/dist/components/Delete/Delete.module.scss +22 -22
  8. package/dist/components/DeleteModal/DeleteModal.module.scss +11 -11
  9. package/dist/components/Filter/index.module.scss +99 -99
  10. package/dist/components/FormModal/index.js +16 -16
  11. package/dist/components/FormModal/index.module.scss +14 -14
  12. package/dist/components/ImagePreviewModal/index.js +23 -23
  13. package/dist/components/ImagePreviewModal/index.module.scss +27 -27
  14. package/dist/components/Input/index.module.scss +111 -111
  15. package/dist/components/Loading/index.module.scss +18 -18
  16. package/dist/components/NotificationDropdown/index.js +8 -8
  17. package/dist/components/NotificationDropdown/index.module.scss +83 -83
  18. package/dist/components/NotificationSettingsContent/index.module.scss +70 -70
  19. package/dist/components/Pagination/Pagination.module.scss +8 -8
  20. package/dist/components/ProfileOptions/index.js +21 -21
  21. package/dist/components/ProfileOptions/index.module.scss +265 -265
  22. package/dist/components/Select/index.module.scss +72 -72
  23. package/dist/components/Success/Success.module.scss +26 -26
  24. package/dist/components/Table/index.module.scss +76 -76
  25. package/dist/helpers/enums.js +10 -0
  26. package/dist/index.css +32 -32
  27. package/dist/layout/Header/AppSelect/index.module.scss +72 -72
  28. package/dist/layout/Header/index.module.scss +12 -12
  29. package/dist/layout/QuestionnairesLayout/index.module.scss +3 -3
  30. package/dist/layout/QuestionnairesSidebar/index.js +26 -2
  31. package/dist/layout/QuestionnairesSidebar/index.module.scss +77 -77
  32. package/dist/layout/Sidebar/index.js +15 -15
  33. package/dist/layout/Sidebar/index.module.scss +67 -67
  34. package/dist/pages/Login/index.js +15 -15
  35. package/dist/pages/Login/index.module.scss +123 -123
  36. package/dist/pages/NotFound/index.module.scss +50 -50
  37. package/dist/pages/Platform/index.js +15 -15
  38. package/dist/pages/Platform/index.module.scss +125 -125
  39. package/dist/pages/Questionnnaires/Questionnaires.module.scss +211 -211
  40. package/dist/pages/Questionnnaires/QuestionnairesAcademicdegreesContent/index.js +12 -12
  41. package/dist/pages/Questionnnaires/QuestionnairesApplicationFormContent/index.js +8 -8
  42. package/dist/pages/Questionnnaires/QuestionnairesAreasContent/index.js +8 -8
  43. package/dist/pages/Questionnnaires/QuestionnairesBarrelContent/constant.js +64 -0
  44. package/dist/pages/Questionnnaires/QuestionnairesBarrelContent/index.js +292 -0
  45. package/dist/pages/Questionnnaires/QuestionnairesBrandsContent/index.js +8 -8
  46. package/dist/pages/Questionnnaires/QuestionnairesCategoriesContent/index.js +8 -8
  47. package/dist/pages/Questionnnaires/QuestionnairesChassisTypesContent/index.js +8 -8
  48. package/dist/pages/Questionnnaires/QuestionnairesChemicalsContent/index.js +12 -12
  49. package/dist/pages/Questionnnaires/QuestionnairesColorsContent/index.js +8 -8
  50. package/dist/pages/Questionnnaires/QuestionnairesCompaniesContent/index.js +8 -8
  51. package/dist/pages/Questionnnaires/QuestionnairesContractTopicsContent/index.js +8 -8
  52. package/dist/pages/Questionnnaires/QuestionnairesContractTypesSubtypesContent/index.js +12 -12
  53. package/dist/pages/Questionnnaires/QuestionnairesContractcurrenciesContent/index.js +8 -8
  54. package/dist/pages/Questionnnaires/QuestionnairesContracttypesContent/index.js +8 -8
  55. package/dist/pages/Questionnnaires/QuestionnairesContragenttypesContent/index.js +8 -8
  56. package/dist/pages/Questionnnaires/QuestionnairesCountriesContent/index.js +8 -8
  57. package/dist/pages/Questionnnaires/QuestionnairesCrushReasonsContent/index.js +8 -8
  58. package/dist/pages/Questionnnaires/QuestionnairesDefaultAgreementPlansContent/index.js +23 -23
  59. package/dist/pages/Questionnnaires/QuestionnairesDeliveryMethodContent/index.js +8 -8
  60. package/dist/pages/Questionnnaires/QuestionnairesDetailPartsContent/index.js +8 -8
  61. package/dist/pages/Questionnnaires/QuestionnairesDisabilitystatusesContent/index.js +12 -12
  62. package/dist/pages/Questionnnaires/QuestionnairesDocumentRecieveMethodsContent/index.js +8 -8
  63. package/dist/pages/Questionnnaires/QuestionnairesDocumentTypeContent/index.js +12 -12
  64. package/dist/pages/Questionnnaires/QuestionnairesDocumentWhomContent/index.js +12 -12
  65. package/dist/pages/Questionnnaires/QuestionnairesDrivingcategoriesContent/index.js +8 -8
  66. package/dist/pages/Questionnnaires/QuestionnairesEducationinstitutionsContent/index.js +12 -12
  67. package/dist/pages/Questionnnaires/QuestionnairesEducationlevelsContent/index.js +12 -12
  68. package/dist/pages/Questionnnaires/QuestionnairesEducationpaymentsContent/index.js +12 -12
  69. package/dist/pages/Questionnnaires/QuestionnairesEmployeeConfigurations/index.js +13 -13
  70. package/dist/pages/Questionnnaires/QuestionnairesEngineTypesContent/index.js +8 -8
  71. package/dist/pages/Questionnnaires/QuestionnairesExecutionRulesContent/index.js +8 -8
  72. package/dist/pages/Questionnnaires/QuestionnairesExtraServicesContent/index.js +8 -8
  73. package/dist/pages/Questionnnaires/QuestionnairesFieldContent/constant.js +64 -0
  74. package/dist/pages/Questionnnaires/QuestionnairesFieldContent/index.js +275 -0
  75. package/dist/pages/Questionnnaires/QuestionnairesFuelTypesContent/index.js +8 -8
  76. package/dist/pages/Questionnnaires/QuestionnairesGearboxTypesContent/index.js +8 -8
  77. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructurestatusesContent/index.js +12 -12
  78. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructuretypesContent/index.js +12 -12
  79. package/dist/pages/Questionnnaires/QuestionnairesHallsContent/index.js +8 -8
  80. package/dist/pages/Questionnnaires/QuestionnairesHonorarytitlesContent/index.js +12 -12
  81. package/dist/pages/Questionnnaires/QuestionnairesInsurancetypesContent/index.js +8 -8
  82. package/dist/pages/Questionnnaires/QuestionnairesInternalStructureContent/index.js +8 -8
  83. package/dist/pages/Questionnnaires/QuestionnairesIssuedAuthoritiesContent/index.js +8 -8
  84. package/dist/pages/Questionnnaires/QuestionnairesMarginNoteTextsContent/index.js +8 -8
  85. package/dist/pages/Questionnnaires/QuestionnairesMeasurementTypesContent/index.js +8 -8
  86. package/dist/pages/Questionnnaires/QuestionnairesMilitarycategoriesContent/index.js +12 -12
  87. package/dist/pages/Questionnnaires/QuestionnairesMilitarygroupsContent/index.js +12 -12
  88. package/dist/pages/Questionnnaires/QuestionnairesMilitaryranksContent/index.js +12 -12
  89. package/dist/pages/Questionnnaires/QuestionnairesMilitarystaffsContent/index.js +12 -12
  90. package/dist/pages/Questionnnaires/QuestionnairesModelsContent/index.js +13 -13
  91. package/dist/pages/Questionnnaires/QuestionnairesOilFieldsContent/index.js +8 -8
  92. package/dist/pages/Questionnnaires/QuestionnairesOrdersContent/index.js +8 -8
  93. package/dist/pages/Questionnnaires/QuestionnairesOrganizationsContent/index.js +8 -8
  94. package/dist/pages/Questionnnaires/QuestionnairesOwnersContent/index.js +8 -8
  95. package/dist/pages/Questionnnaires/QuestionnairesOwnershipTypesContent/index.js +8 -8
  96. package/dist/pages/Questionnnaires/QuestionnairesPenaltyTypesContent/index.js +8 -8
  97. package/dist/pages/Questionnnaires/QuestionnairesPositionsContent/index.js +12 -12
  98. package/dist/pages/Questionnnaires/QuestionnairesRegionsContent/index.js +8 -8
  99. package/dist/pages/Questionnnaires/QuestionnairesRepairTypesContent/index.js +8 -8
  100. package/dist/pages/Questionnnaires/QuestionnairesRepairmentWorkTypesContent/index.js +8 -8
  101. package/dist/pages/Questionnnaires/QuestionnairesReprimandtypesContent/index.js +12 -12
  102. package/dist/pages/Questionnnaires/QuestionnairesRouteLocationsContent/index.js +8 -8
  103. package/dist/pages/Questionnnaires/QuestionnairesSpecialdaysContent/index.js +12 -12
  104. package/dist/pages/Questionnnaires/QuestionnairesSpecializationsContent/index.js +12 -12
  105. package/dist/pages/Questionnnaires/QuestionnairesStructuresContent/index.js +8 -8
  106. package/dist/pages/Questionnnaires/QuestionnairesSubtopicContent/index.js +15 -15
  107. package/dist/pages/Questionnnaires/QuestionnairesTopicContent/index.js +12 -12
  108. package/dist/pages/Questionnnaires/QuestionnairesTransmitterTypesContent/index.js +8 -8
  109. package/dist/pages/Questionnnaires/QuestionnairesVehicleCategoriesContent/index.js +8 -8
  110. package/dist/pages/Questionnnaires/QuestionnairesVehicleGroupsContent/index.js +8 -8
  111. package/dist/pages/Questionnnaires/QuestionnairesVehicleTypesContent/index.js +8 -8
  112. package/dist/pages/Questionnnaires/QuestionnairesWarparticipantsContent/index.js +12 -12
  113. package/dist/pages/Questionnnaires/QuestionnairesWellContent/constant.js +64 -0
  114. package/dist/pages/Questionnnaires/QuestionnairesWellContent/index.js +280 -0
  115. package/dist/pages/Questionnnaires/QuestionnairesWorkModesContent/index.js +8 -8
  116. package/dist/pages/Questionnnaires/QuestionnairesWorkschedulesContent/index.js +12 -12
  117. package/dist/routes/QuestionnaireRoutes.js +19 -1
  118. package/dist/store/slices/auth/index.js +60 -60
  119. package/dist/store/slices/auth/service.js +20 -20
  120. package/dist/store/slices/companyInfo/index.js +10 -10
  121. package/dist/store/slices/companyInfo/service.js +4 -4
  122. package/dist/store/slices/employees/index.js +30 -30
  123. package/dist/store/slices/employees/service.js +12 -12
  124. package/dist/store/slices/global/index.js +170 -152
  125. package/dist/store/slices/notification/index.js +73 -73
  126. package/dist/store/slices/notification/service.js +24 -24
  127. package/dist/store/slices/questionnaire/index.js +9154 -8527
  128. package/dist/store/slices/questionnaire/service.js +3467 -3083
  129. package/dist/tools/questionnaireGenerator.js +12 -12
  130. package/dist/translations/index.json +364 -364
  131. package/dist/utils/axios.js +6 -6
  132. package/dist/utils/message.js +2 -2
  133. package/dist/utils/path.js +12 -0
  134. package/package.json +1 -1
@@ -40,26 +40,26 @@ var Sidebar = function Sidebar(_ref) {
40
40
  };
41
41
  var getBase64FromURL = useCallback(/*#__PURE__*/function () {
42
42
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url) {
43
- var res;
44
- return _regeneratorRuntime.wrap(function _callee$(_context) {
43
+ var res, _t;
44
+ return _regeneratorRuntime.wrap(function (_context) {
45
45
  while (1) switch (_context.prev = _context.next) {
46
46
  case 0:
47
47
  _context.prev = 0;
48
- _context.next = 3;
48
+ _context.next = 1;
49
49
  return api.get(url);
50
- case 3:
50
+ case 1:
51
51
  res = _context.sent;
52
52
  return _context.abrupt("return", res === null || res === void 0 ? void 0 : res.data);
53
- case 7:
54
- _context.prev = 7;
55
- _context.t0 = _context["catch"](0);
56
- console.error("Error loading logo:", _context.t0);
53
+ case 2:
54
+ _context.prev = 2;
55
+ _t = _context["catch"](0);
56
+ console.error("Error loading logo:", _t);
57
57
  return _context.abrupt("return", null);
58
- case 11:
58
+ case 3:
59
59
  case "end":
60
60
  return _context.stop();
61
61
  }
62
- }, _callee, null, [[0, 7]]);
62
+ }, _callee, null, [[0, 2]]);
63
63
  }));
64
64
  return function (_x) {
65
65
  return _ref2.apply(this, arguments);
@@ -74,20 +74,20 @@ var Sidebar = function Sidebar(_ref) {
74
74
  var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
75
75
  var _companyInfo$, _companyInfo$data;
76
76
  var filePath, base64;
77
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
77
+ return _regeneratorRuntime.wrap(function (_context2) {
78
78
  while (1) switch (_context2.prev = _context2.next) {
79
79
  case 0:
80
80
  filePath = (companyInfo === null || companyInfo === void 0 || (_companyInfo$ = companyInfo[0]) === null || _companyInfo$ === void 0 ? void 0 : _companyInfo$.filePath) || (companyInfo === null || companyInfo === void 0 || (_companyInfo$data = companyInfo.data) === null || _companyInfo$data === void 0 || (_companyInfo$data = _companyInfo$data[0]) === null || _companyInfo$data === void 0 ? void 0 : _companyInfo$data.filePath);
81
81
  if (!filePath) {
82
- _context2.next = 6;
82
+ _context2.next = 2;
83
83
  break;
84
84
  }
85
- _context2.next = 4;
85
+ _context2.next = 1;
86
86
  return getBase64FromURL(filePath);
87
- case 4:
87
+ case 1:
88
88
  base64 = _context2.sent;
89
89
  setImageSrc(base64);
90
- case 6:
90
+ case 2:
91
91
  case "end":
92
92
  return _context2.stop();
93
93
  }
@@ -1,67 +1,67 @@
1
- .sidebar {
2
- background: #fff !important;
3
- border: none;
4
- position: relative;
5
- box-shadow: 0px 0px 8px 0px #00000025;
6
- height: calc(100vh - 85px);
7
- border-radius: 0px 0px 12px 0px;
8
- svg {
9
- vertical-align: middle;
10
- }
11
- .menu {
12
- margin-top: 10px;
13
- padding: 0 6px;
14
- overflow: auto;
15
- height: calc(100vh - 155px);
16
- li {
17
- span {
18
- margin-left: 8px;
19
- font-size: 16px;
20
- font-weight: 500;
21
- line-height: 20px;
22
- text-align: left;
23
- }
24
- }
25
- }
26
- .buttons {
27
- position: absolute;
28
- left: 10px;
29
- bottom: 10px;
30
- display: flex;
31
- justify-content: center;
32
- align-items: center;
33
- max-height: 50px;
34
- img {
35
- max-height: 50px;
36
- width: auto;
37
- max-width: 250px;
38
- }
39
- .emblem {
40
- svg {
41
- height: auto;
42
- width: 100%;
43
- max-width: 250px;
44
- padding-right: 15px;
45
- max-height: 50px;
46
- }
47
- }
48
- svg {
49
- height: auto;
50
- width: 100%;
51
- max-width: 250px;
52
- padding-right: 15px;
53
- max-height: 50px;
54
- }
55
- }
56
- .collapseButton {
57
- position: absolute;
58
- right: -12px;
59
- top: 50%;
60
- transform: translateY(-100%);
61
- padding: 5px;
62
- background: var(--blue);
63
- border-radius: 50%;
64
- color: var(--white);
65
- cursor: pointer;
66
- }
67
- }
1
+ .sidebar {
2
+ background: #fff !important;
3
+ border: none;
4
+ position: relative;
5
+ box-shadow: 0px 0px 8px 0px #00000025;
6
+ height: calc(100vh - 85px);
7
+ border-radius: 0px 0px 12px 0px;
8
+ svg {
9
+ vertical-align: middle;
10
+ }
11
+ .menu {
12
+ margin-top: 10px;
13
+ padding: 0 6px;
14
+ overflow: auto;
15
+ height: calc(100vh - 155px);
16
+ li {
17
+ span {
18
+ margin-left: 8px;
19
+ font-size: 16px;
20
+ font-weight: 500;
21
+ line-height: 20px;
22
+ text-align: left;
23
+ }
24
+ }
25
+ }
26
+ .buttons {
27
+ position: absolute;
28
+ left: 10px;
29
+ bottom: 10px;
30
+ display: flex;
31
+ justify-content: center;
32
+ align-items: center;
33
+ max-height: 50px;
34
+ img {
35
+ max-height: 50px;
36
+ width: auto;
37
+ max-width: 250px;
38
+ }
39
+ .emblem {
40
+ svg {
41
+ height: auto;
42
+ width: 100%;
43
+ max-width: 250px;
44
+ padding-right: 15px;
45
+ max-height: 50px;
46
+ }
47
+ }
48
+ svg {
49
+ height: auto;
50
+ width: 100%;
51
+ max-width: 250px;
52
+ padding-right: 15px;
53
+ max-height: 50px;
54
+ }
55
+ }
56
+ .collapseButton {
57
+ position: absolute;
58
+ right: -12px;
59
+ top: 50%;
60
+ transform: translateY(-100%);
61
+ padding: 5px;
62
+ background: var(--blue);
63
+ border-radius: 50%;
64
+ color: var(--white);
65
+ cursor: pointer;
66
+ }
67
+ }
@@ -48,26 +48,26 @@ var Login = function Login() {
48
48
  }, [dispatch, navigate, companyInfo]);
49
49
  var getBase64FromURL = useCallback(/*#__PURE__*/function () {
50
50
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url) {
51
- var res;
52
- return _regeneratorRuntime.wrap(function _callee$(_context) {
51
+ var res, _t;
52
+ return _regeneratorRuntime.wrap(function (_context) {
53
53
  while (1) switch (_context.prev = _context.next) {
54
54
  case 0:
55
55
  _context.prev = 0;
56
- _context.next = 3;
56
+ _context.next = 1;
57
57
  return api.get(url);
58
- case 3:
58
+ case 1:
59
59
  res = _context.sent;
60
60
  return _context.abrupt("return", res === null || res === void 0 ? void 0 : res.data);
61
- case 7:
62
- _context.prev = 7;
63
- _context.t0 = _context["catch"](0);
64
- console.error("Error loading logo:", _context.t0);
61
+ case 2:
62
+ _context.prev = 2;
63
+ _t = _context["catch"](0);
64
+ console.error("Error loading logo:", _t);
65
65
  return _context.abrupt("return", null);
66
- case 11:
66
+ case 3:
67
67
  case "end":
68
68
  return _context.stop();
69
69
  }
70
- }, _callee, null, [[0, 7]]);
70
+ }, _callee, null, [[0, 2]]);
71
71
  }));
72
72
  return function (_x) {
73
73
  return _ref.apply(this, arguments);
@@ -81,19 +81,19 @@ var Login = function Login() {
81
81
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
82
82
  var _companyInfo$2;
83
83
  var base64;
84
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
84
+ return _regeneratorRuntime.wrap(function (_context2) {
85
85
  while (1) switch (_context2.prev = _context2.next) {
86
86
  case 0:
87
87
  if (!(companyInfo !== null && companyInfo !== void 0 && (_companyInfo$2 = companyInfo[0]) !== null && _companyInfo$2 !== void 0 && _companyInfo$2.filePath)) {
88
- _context2.next = 5;
88
+ _context2.next = 2;
89
89
  break;
90
90
  }
91
- _context2.next = 3;
91
+ _context2.next = 1;
92
92
  return getBase64FromURL(companyInfo[0].filePath);
93
- case 3:
93
+ case 1:
94
94
  base64 = _context2.sent;
95
95
  setImageSrc(base64);
96
- case 5:
96
+ case 2:
97
97
  case "end":
98
98
  return _context2.stop();
99
99
  }
@@ -1,123 +1,123 @@
1
- .login {
2
- display: flex;
3
- width: 100%;
4
- align-items: center;
5
- flex-direction: column;
6
- padding-top: 87px;
7
- height: 100vh;
8
- background: #f8f8f8;
9
- .logo {
10
- svg {
11
- width: 250px;
12
- height: auto;
13
- margin-bottom: 165px;
14
- }
15
- img {
16
- width: 250px;
17
- height: auto;
18
- margin-bottom: 55px;
19
- }
20
- }
21
- .form {
22
- width: 448px;
23
- background: #fff;
24
- padding: 30px 24px;
25
- border-radius: 20px;
26
- .title {
27
- font-size: 30px;
28
- font-weight: 500;
29
- line-height: 36.31px;
30
- text-align: center;
31
- margin-bottom: 20px;
32
- }
33
- .control {
34
- width: 100%;
35
- .control_input {
36
- display: flex;
37
- align-items: center;
38
- border-radius: 8px;
39
- width: 100%;
40
- background: #fff;
41
- svg {
42
- margin-right: 12px;
43
- cursor: pointer;
44
- width: 20px;
45
- height: auto;
46
- }
47
- }
48
- }
49
- input::placeholder {
50
- color: #6f6f6f;
51
- opacity: 1;
52
- }
53
- .control :where(input, select, textarea) {
54
- background-color: transparent;
55
- width: 100%;
56
- outline: none;
57
- padding: 15px 10px !important;
58
- font-size: 18px;
59
- font-family: Inter;
60
- font-size: 18px;
61
- font-weight: 400;
62
- line-height: 21.78px;
63
- text-align: left;
64
- }
65
- a {
66
- display: block;
67
- text-decoration: none;
68
- color: #6f6f6f;
69
- margin-bottom: 34px;
70
- }
71
- .button {
72
- display: flex;
73
- justify-content: center;
74
- margin-bottom: 42px;
75
- margin-top: 45px;
76
-
77
- .border {
78
- width: 228px;
79
- padding: 2px;
80
- border: 1px solid #016daf;
81
- border-radius: 14px;
82
- button {
83
- width: 100%;
84
- padding: 13px;
85
- border-radius: 14px;
86
- border: none;
87
- background: var(--darkBlueColor);
88
- color: #fff;
89
- font-family: Inter;
90
- font-size: 22px;
91
- font-weight: 500;
92
- line-height: 26.63px;
93
- text-align: center;
94
- cursor: pointer;
95
- }
96
- }
97
- }
98
- }
99
- .alternative_login {
100
- display: flex;
101
- justify-content: space-between;
102
- align-items: center;
103
- margin: 0 30px;
104
- .background {
105
- border: 1px solid #b9b9b9;
106
- padding: 14px 20px;
107
- background: #efefef;
108
- border-radius: 10px;
109
- display: flex;
110
- justify-content: center;
111
- align-items: center;
112
- }
113
- h3 {
114
- font-family: Inter;
115
- font-size: 18px;
116
- font-weight: 400;
117
- line-height: 21.78px;
118
- text-align: center;
119
- color: #535353;
120
- margin-top: 10px;
121
- }
122
- }
123
- }
1
+ .login {
2
+ display: flex;
3
+ width: 100%;
4
+ align-items: center;
5
+ flex-direction: column;
6
+ padding-top: 87px;
7
+ height: 100vh;
8
+ background: #f8f8f8;
9
+ .logo {
10
+ svg {
11
+ width: 250px;
12
+ height: auto;
13
+ margin-bottom: 165px;
14
+ }
15
+ img {
16
+ width: 250px;
17
+ height: auto;
18
+ margin-bottom: 55px;
19
+ }
20
+ }
21
+ .form {
22
+ width: 448px;
23
+ background: #fff;
24
+ padding: 30px 24px;
25
+ border-radius: 20px;
26
+ .title {
27
+ font-size: 30px;
28
+ font-weight: 500;
29
+ line-height: 36.31px;
30
+ text-align: center;
31
+ margin-bottom: 20px;
32
+ }
33
+ .control {
34
+ width: 100%;
35
+ .control_input {
36
+ display: flex;
37
+ align-items: center;
38
+ border-radius: 8px;
39
+ width: 100%;
40
+ background: #fff;
41
+ svg {
42
+ margin-right: 12px;
43
+ cursor: pointer;
44
+ width: 20px;
45
+ height: auto;
46
+ }
47
+ }
48
+ }
49
+ input::placeholder {
50
+ color: #6f6f6f;
51
+ opacity: 1;
52
+ }
53
+ .control :where(input, select, textarea) {
54
+ background-color: transparent;
55
+ width: 100%;
56
+ outline: none;
57
+ padding: 15px 10px !important;
58
+ font-size: 18px;
59
+ font-family: Inter;
60
+ font-size: 18px;
61
+ font-weight: 400;
62
+ line-height: 21.78px;
63
+ text-align: left;
64
+ }
65
+ a {
66
+ display: block;
67
+ text-decoration: none;
68
+ color: #6f6f6f;
69
+ margin-bottom: 34px;
70
+ }
71
+ .button {
72
+ display: flex;
73
+ justify-content: center;
74
+ margin-bottom: 42px;
75
+ margin-top: 45px;
76
+
77
+ .border {
78
+ width: 228px;
79
+ padding: 2px;
80
+ border: 1px solid #016daf;
81
+ border-radius: 14px;
82
+ button {
83
+ width: 100%;
84
+ padding: 13px;
85
+ border-radius: 14px;
86
+ border: none;
87
+ background: var(--darkBlueColor);
88
+ color: #fff;
89
+ font-family: Inter;
90
+ font-size: 22px;
91
+ font-weight: 500;
92
+ line-height: 26.63px;
93
+ text-align: center;
94
+ cursor: pointer;
95
+ }
96
+ }
97
+ }
98
+ }
99
+ .alternative_login {
100
+ display: flex;
101
+ justify-content: space-between;
102
+ align-items: center;
103
+ margin: 0 30px;
104
+ .background {
105
+ border: 1px solid #b9b9b9;
106
+ padding: 14px 20px;
107
+ background: #efefef;
108
+ border-radius: 10px;
109
+ display: flex;
110
+ justify-content: center;
111
+ align-items: center;
112
+ }
113
+ h3 {
114
+ font-family: Inter;
115
+ font-size: 18px;
116
+ font-weight: 400;
117
+ line-height: 21.78px;
118
+ text-align: center;
119
+ color: #535353;
120
+ margin-top: 10px;
121
+ }
122
+ }
123
+ }
@@ -1,50 +1,50 @@
1
- .container {
2
- background: #f5f5f500;
3
- display: flex;
4
- flex-direction: column;
5
- position: absolute;
6
- left: 50%;
7
- top: 50%;
8
- transform: translate(-50%,-50%);
9
- }
10
-
11
- .notFound {
12
- background: #fff;
13
- }
14
-
15
- .allMess {
16
- display: flex;
17
- align-items: center;
18
- justify-content: center;
19
- text-align: center;
20
- flex-direction: column;
21
- padding: 50px 0 50px 50px;
22
- }
23
-
24
- .errMess {
25
- height: 100px;
26
- width: 500px;
27
- font-size: 60px;
28
- text-align: center;
29
- padding: 20px 0;
30
- font-weight: 700;
31
- }
32
-
33
- .errMessAz {
34
- height: 30px;
35
- width: 400px;
36
- font-size: 30px;
37
- text-align: center;
38
- margin-bottom: 20px;
39
- }
40
-
41
- .submitBtn {
42
- margin-top: 10px;
43
- }
44
-
45
- .img {
46
- & img {
47
- height: 250px;
48
- // width: 500px;
49
- }
50
- }
1
+ .container {
2
+ background: #f5f5f500;
3
+ display: flex;
4
+ flex-direction: column;
5
+ position: absolute;
6
+ left: 50%;
7
+ top: 50%;
8
+ transform: translate(-50%,-50%);
9
+ }
10
+
11
+ .notFound {
12
+ background: #fff;
13
+ }
14
+
15
+ .allMess {
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ text-align: center;
20
+ flex-direction: column;
21
+ padding: 50px 0 50px 50px;
22
+ }
23
+
24
+ .errMess {
25
+ height: 100px;
26
+ width: 500px;
27
+ font-size: 60px;
28
+ text-align: center;
29
+ padding: 20px 0;
30
+ font-weight: 700;
31
+ }
32
+
33
+ .errMessAz {
34
+ height: 30px;
35
+ width: 400px;
36
+ font-size: 30px;
37
+ text-align: center;
38
+ margin-bottom: 20px;
39
+ }
40
+
41
+ .submitBtn {
42
+ margin-top: 10px;
43
+ }
44
+
45
+ .img {
46
+ & img {
47
+ height: 250px;
48
+ // width: 500px;
49
+ }
50
+ }
@@ -34,26 +34,26 @@ var Platform = function Platform() {
34
34
 
35
35
  var getBase64FromURL = useCallback(/*#__PURE__*/function () {
36
36
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url) {
37
- var res;
38
- return _regeneratorRuntime.wrap(function _callee$(_context) {
37
+ var res, _t;
38
+ return _regeneratorRuntime.wrap(function (_context) {
39
39
  while (1) switch (_context.prev = _context.next) {
40
40
  case 0:
41
41
  _context.prev = 0;
42
- _context.next = 3;
42
+ _context.next = 1;
43
43
  return api.get(url);
44
- case 3:
44
+ case 1:
45
45
  res = _context.sent;
46
46
  return _context.abrupt("return", res === null || res === void 0 ? void 0 : res.data);
47
- case 7:
48
- _context.prev = 7;
49
- _context.t0 = _context["catch"](0);
50
- console.error("Error loading logo:", _context.t0);
47
+ case 2:
48
+ _context.prev = 2;
49
+ _t = _context["catch"](0);
50
+ console.error("Error loading logo:", _t);
51
51
  return _context.abrupt("return", null);
52
- case 11:
52
+ case 3:
53
53
  case "end":
54
54
  return _context.stop();
55
55
  }
56
- }, _callee, null, [[0, 7]]);
56
+ }, _callee, null, [[0, 2]]);
57
57
  }));
58
58
  return function (_x) {
59
59
  return _ref.apply(this, arguments);
@@ -69,19 +69,19 @@ var Platform = function Platform() {
69
69
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
70
70
  var _companyInfo$;
71
71
  var base64;
72
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
72
+ return _regeneratorRuntime.wrap(function (_context2) {
73
73
  while (1) switch (_context2.prev = _context2.next) {
74
74
  case 0:
75
75
  if (!(companyInfo !== null && companyInfo !== void 0 && (_companyInfo$ = companyInfo[0]) !== null && _companyInfo$ !== void 0 && _companyInfo$.filePath)) {
76
- _context2.next = 5;
76
+ _context2.next = 2;
77
77
  break;
78
78
  }
79
- _context2.next = 3;
79
+ _context2.next = 1;
80
80
  return getBase64FromURL(companyInfo[0].filePath);
81
- case 3:
81
+ case 1:
82
82
  base64 = _context2.sent;
83
83
  setImageSrc(base64);
84
- case 5:
84
+ case 2:
85
85
  case "end":
86
86
  return _context2.stop();
87
87
  }