magneto365.ui 2.63.10-alpha → 2.64.0

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/dist/assets/40ead0ba61f8ecca.svg +7 -0
  2. package/dist/assets/5724480fa00284be.svg +8 -0
  3. package/dist/assets/d56b874c91887b05.svg +7 -0
  4. package/dist/assets/e12cf8464a04c04d.svg +1 -0
  5. package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
  6. package/dist/cjs/index.js +4616 -4781
  7. package/dist/cjs/index.js.map +1 -1
  8. package/dist/cjs/types/components/UI/atoms/Icon/Icon.interface.d.ts +4 -0
  9. package/dist/cjs/types/components/UI/atoms/index.d.ts +0 -1
  10. package/dist/cjs/types/components/UI/molecules/JobCard/JobCard.interface.d.ts +9 -0
  11. package/dist/cjs/types/components/UI/molecules/JobCard/children/JobCardOption/JobCardOption.component.d.ts +4 -0
  12. package/dist/cjs/types/components/UI/molecules/JobCard/children/JobCardOption/JobCardOption.interface.d.ts +7 -0
  13. package/dist/cjs/types/components/UI/molecules/JobCard/children/JobCardOption/index.d.ts +1 -0
  14. package/dist/cjs/types/components/UI/molecules/JobCard/children/JobCardOptionDrawer/JobCardOptionDrawer.component.d.ts +3 -0
  15. package/dist/cjs/types/components/UI/molecules/JobCard/children/JobCardOptionDrawer/JobCardOptionDrawer.interface.d.ts +19 -0
  16. package/dist/cjs/types/components/UI/molecules/JobCard/children/JobCardOptionDrawer/index.d.ts +1 -0
  17. package/dist/cjs/types/components/UI/molecules/JobCardDesktop/JobCardDesktop.interface.d.ts +5 -1
  18. package/dist/cjs/types/components/UI/molecules/VacantOption/VacantOption.component.d.ts +4 -0
  19. package/dist/cjs/types/components/UI/molecules/VacantOption/VacantOption.interface.d.ts +5 -0
  20. package/dist/cjs/types/components/UI/molecules/VacantOption/children/VacantOptionMobile/VacantOptionMobile.component.d.ts +4 -0
  21. package/dist/cjs/types/components/UI/molecules/VacantOption/children/VacantOptionMobile/VacantOptionMobile.interface.d.ts +6 -0
  22. package/dist/cjs/types/components/UI/molecules/VacantOption/children/VacantOptionMobile/index.d.ts +1 -0
  23. package/dist/cjs/types/components/UI/molecules/VacantOption/index.d.ts +1 -0
  24. package/dist/cjs/types/components/UI/molecules/index.d.ts +0 -1
  25. package/dist/cjs/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +8 -0
  26. package/dist/cjs/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +5 -0
  27. package/dist/cjs/types/components/UI/organism/index.d.ts +0 -2
  28. package/dist/cjs/types/components/UI/page/JobsPage/JobsPage.interface.d.ts +25 -0
  29. package/dist/cjs/types/components/UI/template/index.d.ts +0 -1
  30. package/dist/cjs/types/components/hooks/useWithElement/index.d.ts +2 -0
  31. package/dist/cjs/types/constants/icons.constants.d.ts +8 -18
  32. package/dist/cjs/types/constants/stories/analyst.constants.d.ts +1 -2
  33. package/dist/cjs/types/constants/stories/common.constants.d.ts +1 -0
  34. package/dist/cjs/types/constants/stories/index.d.ts +0 -2
  35. package/dist/cjs/types/constants/stories/jobsPage.constants.d.ts +1 -1
  36. package/dist/cjs/types/constants/stories/megaMenu.constants.d.ts +1 -0
  37. package/dist/cjs/types/constants/vacancies.constants.d.ts +18 -0
  38. package/dist/cjs/types/utils/date/dateInput.util.d.ts +2 -2
  39. package/dist/cjs/types/utils/icons/getIcons.util.d.ts +1 -1
  40. package/dist/esm/css/magneto.ui.lib.min.css +1 -1
  41. package/dist/esm/index.js +4618 -4778
  42. package/dist/esm/index.js.map +1 -1
  43. package/dist/esm/types/components/UI/atoms/Icon/Icon.interface.d.ts +4 -0
  44. package/dist/esm/types/components/UI/atoms/index.d.ts +0 -1
  45. package/dist/esm/types/components/UI/molecules/JobCard/JobCard.interface.d.ts +9 -0
  46. package/dist/esm/types/components/UI/molecules/JobCard/children/JobCardOption/JobCardOption.component.d.ts +4 -0
  47. package/dist/esm/types/components/UI/molecules/JobCard/children/JobCardOption/JobCardOption.interface.d.ts +7 -0
  48. package/dist/esm/types/components/UI/molecules/JobCard/children/JobCardOption/index.d.ts +1 -0
  49. package/dist/esm/types/components/UI/molecules/JobCard/children/JobCardOptionDrawer/JobCardOptionDrawer.component.d.ts +3 -0
  50. package/dist/esm/types/components/UI/molecules/JobCard/children/JobCardOptionDrawer/JobCardOptionDrawer.interface.d.ts +19 -0
  51. package/dist/esm/types/components/UI/molecules/JobCard/children/JobCardOptionDrawer/index.d.ts +1 -0
  52. package/dist/esm/types/components/UI/molecules/JobCardDesktop/JobCardDesktop.interface.d.ts +5 -1
  53. package/dist/esm/types/components/UI/molecules/VacantOption/VacantOption.component.d.ts +4 -0
  54. package/dist/esm/types/components/UI/molecules/VacantOption/VacantOption.interface.d.ts +5 -0
  55. package/dist/esm/types/components/UI/molecules/VacantOption/children/VacantOptionMobile/VacantOptionMobile.component.d.ts +4 -0
  56. package/dist/esm/types/components/UI/molecules/VacantOption/children/VacantOptionMobile/VacantOptionMobile.interface.d.ts +6 -0
  57. package/dist/esm/types/components/UI/molecules/VacantOption/children/VacantOptionMobile/index.d.ts +1 -0
  58. package/dist/esm/types/components/UI/molecules/VacantOption/index.d.ts +1 -0
  59. package/dist/esm/types/components/UI/molecules/index.d.ts +0 -1
  60. package/dist/esm/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +8 -0
  61. package/dist/esm/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +5 -0
  62. package/dist/esm/types/components/UI/organism/index.d.ts +0 -2
  63. package/dist/esm/types/components/UI/page/JobsPage/JobsPage.interface.d.ts +25 -0
  64. package/dist/esm/types/components/UI/template/index.d.ts +0 -1
  65. package/dist/esm/types/components/hooks/useWithElement/index.d.ts +2 -0
  66. package/dist/esm/types/constants/icons.constants.d.ts +8 -18
  67. package/dist/esm/types/constants/stories/analyst.constants.d.ts +1 -2
  68. package/dist/esm/types/constants/stories/common.constants.d.ts +1 -0
  69. package/dist/esm/types/constants/stories/index.d.ts +0 -2
  70. package/dist/esm/types/constants/stories/jobsPage.constants.d.ts +1 -1
  71. package/dist/esm/types/constants/stories/megaMenu.constants.d.ts +1 -0
  72. package/dist/esm/types/constants/vacancies.constants.d.ts +18 -0
  73. package/dist/esm/types/utils/date/dateInput.util.d.ts +2 -2
  74. package/dist/esm/types/utils/icons/getIcons.util.d.ts +1 -1
  75. package/dist/index.d.ts +77 -169
  76. package/package.json +1 -1
  77. package/dist/assets/6ef46f12bd41b7e9.svg +0 -6
  78. package/dist/assets/programatic/04389e99195ff6a4.svg +0 -7
  79. package/dist/assets/programatic/11e4df382bedbd55.svg +0 -7
  80. package/dist/assets/programatic/2f05a86c12b92705.svg +0 -7
  81. package/dist/assets/programatic/3caf016bc47ea119.svg +0 -11
  82. package/dist/assets/programatic/407623cd48f5ef6d.svg +0 -4
  83. package/dist/assets/programatic/473c87f0d70beec7.svg +0 -6
  84. package/dist/assets/programatic/53f2d2ba789f35cf.svg +0 -5
  85. package/dist/assets/programatic/7521dac35a6a264e.svg +0 -5
  86. package/dist/assets/programatic/7941570f4d62edfa.svg +0 -4
  87. package/dist/assets/programatic/91c6d65a7c15755a.svg +0 -6
  88. package/dist/assets/programatic/9928a6077f96fd22.svg +0 -9
  89. package/dist/assets/programatic/a473aefda12b4b6d.svg +0 -6
  90. package/dist/assets/programatic/bef414204e4cdfb6.svg +0 -5
  91. package/dist/cjs/types/components/UI/atoms/BarChart/BarChart.component.d.ts +0 -3
  92. package/dist/cjs/types/components/UI/atoms/BarChart/BarChart.interface.d.ts +0 -22
  93. package/dist/cjs/types/components/UI/atoms/BarChart/enums.d.ts +0 -5
  94. package/dist/cjs/types/components/UI/atoms/BarChart/index.d.ts +0 -1
  95. package/dist/cjs/types/components/UI/atoms/BarChart/interfaces.d.ts +0 -1
  96. package/dist/cjs/types/components/UI/molecules/BarsChart/BarsChart.component.d.ts +0 -3
  97. package/dist/cjs/types/components/UI/molecules/BarsChart/BarsChart.interface.d.ts +0 -29
  98. package/dist/cjs/types/components/UI/molecules/BarsChart/index.d.ts +0 -1
  99. package/dist/cjs/types/components/UI/organism/CategoryGrid/CategoryGrid.component.d.ts +0 -3
  100. package/dist/cjs/types/components/UI/organism/CategoryGrid/CategoryGrid.interface.d.ts +0 -15
  101. package/dist/cjs/types/components/UI/organism/CategoryGrid/index.d.ts +0 -2
  102. package/dist/cjs/types/components/UI/organism/CategoryMenuCard/CategoryMenuCard.component.d.ts +0 -4
  103. package/dist/cjs/types/components/UI/organism/CategoryMenuCard/CategoryMenuCard.interface.d.ts +0 -53
  104. package/dist/cjs/types/components/UI/organism/CategoryMenuCard/children/CategoryMenuList/CategoryMenuList.component.d.ts +0 -3
  105. package/dist/cjs/types/components/UI/organism/CategoryMenuCard/children/CategoryMenuList/CategoryMenuList.interface.d.ts +0 -23
  106. package/dist/cjs/types/components/UI/organism/CategoryMenuCard/children/CategoryMenuList/index.d.ts +0 -2
  107. package/dist/cjs/types/components/UI/organism/CategoryMenuCard/index.d.ts +0 -2
  108. package/dist/cjs/types/components/UI/template/VacantPositionsTemplate/VacantPositions.component.d.ts +0 -4
  109. package/dist/cjs/types/components/UI/template/VacantPositionsTemplate/VacantPositions.interface.d.ts +0 -33
  110. package/dist/cjs/types/components/UI/template/VacantPositionsTemplate/index.d.ts +0 -2
  111. package/dist/cjs/types/constants/stories/vacantPositionsCategory.constants.d.ts +0 -25
  112. package/dist/cjs/types/utils/currency/currency.util.d.ts +0 -1
  113. package/dist/esm/types/components/UI/atoms/BarChart/BarChart.component.d.ts +0 -3
  114. package/dist/esm/types/components/UI/atoms/BarChart/BarChart.interface.d.ts +0 -22
  115. package/dist/esm/types/components/UI/atoms/BarChart/enums.d.ts +0 -5
  116. package/dist/esm/types/components/UI/atoms/BarChart/index.d.ts +0 -1
  117. package/dist/esm/types/components/UI/atoms/BarChart/interfaces.d.ts +0 -1
  118. package/dist/esm/types/components/UI/molecules/BarsChart/BarsChart.component.d.ts +0 -3
  119. package/dist/esm/types/components/UI/molecules/BarsChart/BarsChart.interface.d.ts +0 -29
  120. package/dist/esm/types/components/UI/molecules/BarsChart/index.d.ts +0 -1
  121. package/dist/esm/types/components/UI/organism/CategoryGrid/CategoryGrid.component.d.ts +0 -3
  122. package/dist/esm/types/components/UI/organism/CategoryGrid/CategoryGrid.interface.d.ts +0 -15
  123. package/dist/esm/types/components/UI/organism/CategoryGrid/index.d.ts +0 -2
  124. package/dist/esm/types/components/UI/organism/CategoryMenuCard/CategoryMenuCard.component.d.ts +0 -4
  125. package/dist/esm/types/components/UI/organism/CategoryMenuCard/CategoryMenuCard.interface.d.ts +0 -53
  126. package/dist/esm/types/components/UI/organism/CategoryMenuCard/children/CategoryMenuList/CategoryMenuList.component.d.ts +0 -3
  127. package/dist/esm/types/components/UI/organism/CategoryMenuCard/children/CategoryMenuList/CategoryMenuList.interface.d.ts +0 -23
  128. package/dist/esm/types/components/UI/organism/CategoryMenuCard/children/CategoryMenuList/index.d.ts +0 -2
  129. package/dist/esm/types/components/UI/organism/CategoryMenuCard/index.d.ts +0 -2
  130. package/dist/esm/types/components/UI/template/VacantPositionsTemplate/VacantPositions.component.d.ts +0 -4
  131. package/dist/esm/types/components/UI/template/VacantPositionsTemplate/VacantPositions.interface.d.ts +0 -33
  132. package/dist/esm/types/components/UI/template/VacantPositionsTemplate/index.d.ts +0 -2
  133. package/dist/esm/types/constants/stories/vacantPositionsCategory.constants.d.ts +0 -25
  134. package/dist/esm/types/utils/currency/currency.util.d.ts +0 -1
@@ -1,29 +0,0 @@
1
- import { IBarChart } from '@components/UI/atoms/BarChart/BarChart.interface';
2
- export interface IBarsChart {
3
- /**
4
- * Array of bar chart data objects
5
- */
6
- data: IBarChart[];
7
- /**
8
- * Represents the mean value to be displayed
9
- */
10
- mean: number;
11
- /**
12
- * Text labels used in the chart
13
- */
14
- texts: IBarsChartText;
15
- }
16
- export interface IBarsChartText {
17
- /**
18
- * Label for jobs description
19
- */
20
- jobs: string;
21
- /**
22
- * Label for mean value
23
- */
24
- mean: string;
25
- /**
26
- * Label for month value
27
- */
28
- month: string;
29
- }
@@ -1 +0,0 @@
1
- export * from './BarsChart.component';
@@ -1,3 +0,0 @@
1
- import { ICategoryGrid } from './CategoryGrid.interface';
2
- declare const CategoryGrid: <T>({ elements, render: Component, columnsNumber }: ICategoryGrid<T>) => JSX.Element;
3
- export default CategoryGrid;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ICategoryGrid<T> {
3
- /**
4
- * This is the elements list to render
5
- * */
6
- elements: T[];
7
- /**
8
- * This is the component to render dynamically
9
- * */
10
- render: React.FC<T>;
11
- /**
12
- * Number of columns to render
13
- * */
14
- columnsNumber?: number;
15
- }
@@ -1,2 +0,0 @@
1
- export { default as CategoryGrid } from './CategoryGrid.component';
2
- export * from './CategoryGrid.interface';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ICategoryMenuCard } from './CategoryMenuCard.interface';
3
- declare const _default: React.FC<ICategoryMenuCard>;
4
- export default _default;
@@ -1,53 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ICategoryMenuCard {
3
- /**
4
- * This is the category name
5
- * */
6
- name: string;
7
- /**
8
- * You can switch between logo and icon
9
- * */
10
- icon?: string;
11
- /**
12
- * Onclick callback
13
- * */
14
- onClick?: () => void;
15
- /**
16
- * not setting this property is specific to the component
17
- * */
18
- clickOut?: boolean;
19
- /**
20
- * not setting this property is specific to the component
21
- * */
22
- setClickOut?: React.Dispatch<React.SetStateAction<boolean>>;
23
- /**
24
- * This is the item list to render
25
- * */
26
- list: ICategoryField[];
27
- /**
28
- * Url to redirect
29
- * */
30
- href: string;
31
- /**
32
- * See more button text
33
- * */
34
- seeAllText: string;
35
- }
36
- export interface ICategoryField {
37
- /**
38
- * This is the field id
39
- * */
40
- id: string | number;
41
- /**
42
- * This is the field name
43
- * */
44
- name: string;
45
- /**
46
- * Url to redirect
47
- * */
48
- href: string;
49
- /**
50
- * Onclick callback
51
- * */
52
- onClick?: () => void;
53
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { ICategoryMenuList } from './CategoryMenuList.interface';
3
- export declare const CategoryMenuList: React.FC<ICategoryMenuList>;
@@ -1,23 +0,0 @@
1
- import { ICategoryField } from '../../CategoryMenuCard.interface';
2
- export interface ICategoryMenuList {
3
- /**
4
- * list of all options
5
- * */
6
- list: ICategoryField[];
7
- /**
8
- * The list is open
9
- * */
10
- isOpen?: boolean;
11
- /**
12
- * Onclick callback
13
- * */
14
- onClick?: () => void;
15
- /**
16
- * See all text
17
- * */
18
- seeAllText: string;
19
- /**
20
- * Url to redirect
21
- * */
22
- href: string;
23
- }
@@ -1,2 +0,0 @@
1
- export { CategoryMenuList } from './CategoryMenuList.component';
2
- export * from './CategoryMenuList.interface';
@@ -1,2 +0,0 @@
1
- export { default as CategoryMenuCard } from './CategoryMenuCard.component';
2
- export * from './CategoryMenuCard.interface';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IVacantPositions } from './VacantPositions.interface';
3
- declare const VacantPositions: React.FC<IVacantPositions>;
4
- export default VacantPositions;
@@ -1,33 +0,0 @@
1
- /// <reference types="react" />
2
- import { IButtonLink } from '@components/UI/atoms';
3
- import { IAlphabetFilter } from '@components/UI/organism/AlphabetFilter/AlphabetFilter.interface';
4
- export interface IVacantPositions {
5
- /**
6
- * This is the title H1
7
- * */
8
- title?: string;
9
- /**
10
- * This is the title H2
11
- * */
12
- subtitle?: string;
13
- /**
14
- * Banner to render dynamically
15
- * */
16
- banner?: React.ReactNode;
17
- /**
18
- * Props used by the AlphabetFilter component
19
- * */
20
- filterProps?: IAlphabetFilter;
21
- /**
22
- * Props used by the back button
23
- * */
24
- backButtonProps?: IButtonLink;
25
- /**
26
- * Props used by the view more button
27
- * */
28
- viewMoreProps?: IButtonLink;
29
- /**
30
- * component that can be received dynamically as a children
31
- * */
32
- children?: React.ReactNode;
33
- }
@@ -1,2 +0,0 @@
1
- export { default as VacantPositions } from './VacantPositions.component';
2
- export * from './VacantPositions.interface';
@@ -1,25 +0,0 @@
1
- import { IButtonLink } from '@components/UI/atoms';
2
- import { IBarsChart } from '@components/UI/molecules/BarsChart/BarsChart.interface';
3
- import { ICategoryMenuCard } from '@components/UI/organism';
4
- import { IVacantPositions } from '@components/UI/template';
5
- export declare const categoriesData: ICategoryMenuCard[];
6
- export declare const vacantPositionsSearchList: IButtonLink[];
7
- export declare const programaticIcons: {
8
- 'oficios-varios-aseo-seguridad': any;
9
- 'manufactura-produccion-operativos': any;
10
- 'construccion-oficios-artesanias': any;
11
- 'tecnicos-reparaciones-mantenimiento': any;
12
- 'ventas-servicio-cliente-marketing': any;
13
- 'medios-arte-produccion-audiovisual': any;
14
- 'direccion-gerencia': any;
15
- 'profesionales-consultorias-servicios': any;
16
- 'informatica-tecnologia-sistemas': any;
17
- ingenieria: any;
18
- 'agricultura-recursos-naturales': any;
19
- 'educacion-formacion-docencia': any;
20
- 'salud-medicina': any;
21
- 'ciencia-investigacion': any;
22
- 'hoteleria-turismo-gastronomia': any;
23
- };
24
- export declare const vacantPositionsData: IVacantPositions;
25
- export declare const BarsChartData: IBarsChart;
@@ -1 +0,0 @@
1
- export declare const numberToCurrency: (currency: number) => string;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { IBarChart } from './BarChart.interface';
3
- export declare const BarChart: React.FC<IBarChart>;
@@ -1,22 +0,0 @@
1
- export interface IBarChart {
2
- /**
3
- * Sets the range of the bar
4
- */
5
- bin: number[];
6
- /**
7
- * Sets the percentage of the bar
8
- */
9
- heightPercentage: number;
10
- /**
11
- * Sets the description text of the bar
12
- */
13
- jobText: string;
14
- /**
15
- * Sets the maximum percentage of the bar
16
- */
17
- maxPercentage?: number;
18
- /**
19
- * Sets the maximum height of the bar
20
- */
21
- maxHeight?: number;
22
- }
@@ -1,5 +0,0 @@
1
- export declare enum EPositions {
2
- left = "left",
3
- right = "right",
4
- center = "center"
5
- }
@@ -1 +0,0 @@
1
- export * from './BarChart.component';
@@ -1 +0,0 @@
1
- export declare type TPopoverPosition = 'left' | 'right' | 'center';
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { IBarsChart } from './BarsChart.interface';
3
- export declare const BarsChart: React.FC<IBarsChart>;
@@ -1,29 +0,0 @@
1
- import { IBarChart } from '@components/UI/atoms/BarChart/BarChart.interface';
2
- export interface IBarsChart {
3
- /**
4
- * Array of bar chart data objects
5
- */
6
- data: IBarChart[];
7
- /**
8
- * Represents the mean value to be displayed
9
- */
10
- mean: number;
11
- /**
12
- * Text labels used in the chart
13
- */
14
- texts: IBarsChartText;
15
- }
16
- export interface IBarsChartText {
17
- /**
18
- * Label for jobs description
19
- */
20
- jobs: string;
21
- /**
22
- * Label for mean value
23
- */
24
- mean: string;
25
- /**
26
- * Label for month value
27
- */
28
- month: string;
29
- }
@@ -1 +0,0 @@
1
- export * from './BarsChart.component';
@@ -1,3 +0,0 @@
1
- import { ICategoryGrid } from './CategoryGrid.interface';
2
- declare const CategoryGrid: <T>({ elements, render: Component, columnsNumber }: ICategoryGrid<T>) => JSX.Element;
3
- export default CategoryGrid;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ICategoryGrid<T> {
3
- /**
4
- * This is the elements list to render
5
- * */
6
- elements: T[];
7
- /**
8
- * This is the component to render dynamically
9
- * */
10
- render: React.FC<T>;
11
- /**
12
- * Number of columns to render
13
- * */
14
- columnsNumber?: number;
15
- }
@@ -1,2 +0,0 @@
1
- export { default as CategoryGrid } from './CategoryGrid.component';
2
- export * from './CategoryGrid.interface';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ICategoryMenuCard } from './CategoryMenuCard.interface';
3
- declare const _default: React.FC<ICategoryMenuCard>;
4
- export default _default;
@@ -1,53 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ICategoryMenuCard {
3
- /**
4
- * This is the category name
5
- * */
6
- name: string;
7
- /**
8
- * You can switch between logo and icon
9
- * */
10
- icon?: string;
11
- /**
12
- * Onclick callback
13
- * */
14
- onClick?: () => void;
15
- /**
16
- * not setting this property is specific to the component
17
- * */
18
- clickOut?: boolean;
19
- /**
20
- * not setting this property is specific to the component
21
- * */
22
- setClickOut?: React.Dispatch<React.SetStateAction<boolean>>;
23
- /**
24
- * This is the item list to render
25
- * */
26
- list: ICategoryField[];
27
- /**
28
- * Url to redirect
29
- * */
30
- href: string;
31
- /**
32
- * See more button text
33
- * */
34
- seeAllText: string;
35
- }
36
- export interface ICategoryField {
37
- /**
38
- * This is the field id
39
- * */
40
- id: string | number;
41
- /**
42
- * This is the field name
43
- * */
44
- name: string;
45
- /**
46
- * Url to redirect
47
- * */
48
- href: string;
49
- /**
50
- * Onclick callback
51
- * */
52
- onClick?: () => void;
53
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { ICategoryMenuList } from './CategoryMenuList.interface';
3
- export declare const CategoryMenuList: React.FC<ICategoryMenuList>;
@@ -1,23 +0,0 @@
1
- import { ICategoryField } from '../../CategoryMenuCard.interface';
2
- export interface ICategoryMenuList {
3
- /**
4
- * list of all options
5
- * */
6
- list: ICategoryField[];
7
- /**
8
- * The list is open
9
- * */
10
- isOpen?: boolean;
11
- /**
12
- * Onclick callback
13
- * */
14
- onClick?: () => void;
15
- /**
16
- * See all text
17
- * */
18
- seeAllText: string;
19
- /**
20
- * Url to redirect
21
- * */
22
- href: string;
23
- }
@@ -1,2 +0,0 @@
1
- export { CategoryMenuList } from './CategoryMenuList.component';
2
- export * from './CategoryMenuList.interface';
@@ -1,2 +0,0 @@
1
- export { default as CategoryMenuCard } from './CategoryMenuCard.component';
2
- export * from './CategoryMenuCard.interface';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IVacantPositions } from './VacantPositions.interface';
3
- declare const VacantPositions: React.FC<IVacantPositions>;
4
- export default VacantPositions;
@@ -1,33 +0,0 @@
1
- /// <reference types="react" />
2
- import { IButtonLink } from '@components/UI/atoms';
3
- import { IAlphabetFilter } from '@components/UI/organism/AlphabetFilter/AlphabetFilter.interface';
4
- export interface IVacantPositions {
5
- /**
6
- * This is the title H1
7
- * */
8
- title?: string;
9
- /**
10
- * This is the title H2
11
- * */
12
- subtitle?: string;
13
- /**
14
- * Banner to render dynamically
15
- * */
16
- banner?: React.ReactNode;
17
- /**
18
- * Props used by the AlphabetFilter component
19
- * */
20
- filterProps?: IAlphabetFilter;
21
- /**
22
- * Props used by the back button
23
- * */
24
- backButtonProps?: IButtonLink;
25
- /**
26
- * Props used by the view more button
27
- * */
28
- viewMoreProps?: IButtonLink;
29
- /**
30
- * component that can be received dynamically as a children
31
- * */
32
- children?: React.ReactNode;
33
- }
@@ -1,2 +0,0 @@
1
- export { default as VacantPositions } from './VacantPositions.component';
2
- export * from './VacantPositions.interface';
@@ -1,25 +0,0 @@
1
- import { IButtonLink } from '@components/UI/atoms';
2
- import { IBarsChart } from '@components/UI/molecules/BarsChart/BarsChart.interface';
3
- import { ICategoryMenuCard } from '@components/UI/organism';
4
- import { IVacantPositions } from '@components/UI/template';
5
- export declare const categoriesData: ICategoryMenuCard[];
6
- export declare const vacantPositionsSearchList: IButtonLink[];
7
- export declare const programaticIcons: {
8
- 'oficios-varios-aseo-seguridad': any;
9
- 'manufactura-produccion-operativos': any;
10
- 'construccion-oficios-artesanias': any;
11
- 'tecnicos-reparaciones-mantenimiento': any;
12
- 'ventas-servicio-cliente-marketing': any;
13
- 'medios-arte-produccion-audiovisual': any;
14
- 'direccion-gerencia': any;
15
- 'profesionales-consultorias-servicios': any;
16
- 'informatica-tecnologia-sistemas': any;
17
- ingenieria: any;
18
- 'agricultura-recursos-naturales': any;
19
- 'educacion-formacion-docencia': any;
20
- 'salud-medicina': any;
21
- 'ciencia-investigacion': any;
22
- 'hoteleria-turismo-gastronomia': any;
23
- };
24
- export declare const vacantPositionsData: IVacantPositions;
25
- export declare const BarsChartData: IBarsChart;
@@ -1 +0,0 @@
1
- export declare const numberToCurrency: (currency: number) => string;