@eclass/ui-kit 1.48.0 → 1.49.1
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/dist/eclass-ui-kit.es.js +86 -22
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +23 -23
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +1 -1
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts +2 -2
- package/dist/organisms/CourseList/Boxes/Boxes.d.ts +2 -2
- package/dist/organisms/CourseList/types.d.ts +6 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -30010,23 +30010,39 @@ function UserWayCookie() {
|
|
|
30010
30010
|
}
|
|
30011
30011
|
const STUDENT = 4;
|
|
30012
30012
|
function Header() {
|
|
30013
|
+
var _a;
|
|
30013
30014
|
const {
|
|
30014
30015
|
background: background2,
|
|
30015
30016
|
labels,
|
|
30016
30017
|
logo,
|
|
30017
30018
|
logoAlt,
|
|
30018
|
-
Profile: profile
|
|
30019
|
+
Profile: profile,
|
|
30020
|
+
soonCourse
|
|
30019
30021
|
} = React.useContext(CourseBoxContext);
|
|
30020
30022
|
return /* @__PURE__ */ jsxs(Box, {
|
|
30021
30023
|
as: "header",
|
|
30022
|
-
bgImg: background2,
|
|
30023
30024
|
bgPos: "center",
|
|
30024
30025
|
bgSize: "cover",
|
|
30025
30026
|
height: "8.75rem",
|
|
30026
30027
|
borderBottom: vars("borders-light"),
|
|
30027
30028
|
pos: "relative",
|
|
30029
|
+
_before: {
|
|
30030
|
+
content: '""',
|
|
30031
|
+
position: "absolute",
|
|
30032
|
+
top: 0,
|
|
30033
|
+
left: 0,
|
|
30034
|
+
width: "100%",
|
|
30035
|
+
height: "100%",
|
|
30036
|
+
backgroundImage: `url(${background2 != null ? background2 : ""})`,
|
|
30037
|
+
backgroundSize: "cover",
|
|
30038
|
+
backgroundPosition: "center",
|
|
30039
|
+
opacity: ((_a = soonCourse == null ? void 0 : soonCourse.show) != null ? _a : false) ? 0.3 : 1,
|
|
30040
|
+
zIndex: -1
|
|
30041
|
+
},
|
|
30028
30042
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
30029
30043
|
p: "1rem",
|
|
30044
|
+
display: "flex",
|
|
30045
|
+
gap: "0.625rem",
|
|
30030
30046
|
children: [(profile == null ? void 0 : profile.id) !== STUDENT && /* @__PURE__ */ jsx(Label, {
|
|
30031
30047
|
bg: vars("colors-neutral-white"),
|
|
30032
30048
|
m: "0 0 .625rem 0",
|
|
@@ -30043,6 +30059,13 @@ function Header() {
|
|
|
30043
30059
|
bg: item.id === "NEW" ? vars("colors-secondary-pumpkin") : void 0,
|
|
30044
30060
|
children: item.text
|
|
30045
30061
|
}, index2))
|
|
30062
|
+
}), (soonCourse == null ? void 0 : soonCourse.show) && (soonCourse == null ? void 0 : soonCourse.text) && /* @__PURE__ */ jsx(Stack, {
|
|
30063
|
+
direction: "row",
|
|
30064
|
+
spacing: ".625rem",
|
|
30065
|
+
wrap: "wrap",
|
|
30066
|
+
children: /* @__PURE__ */ jsx(Label, {
|
|
30067
|
+
children: soonCourse.text
|
|
30068
|
+
})
|
|
30046
30069
|
})]
|
|
30047
30070
|
}), logo !== void 0 && logo.length > 0 && /* @__PURE__ */ jsx(Center, {
|
|
30048
30071
|
pos: "absolute",
|
|
@@ -30298,7 +30321,7 @@ const dataStates = {
|
|
|
30298
30321
|
},
|
|
30299
30322
|
inscripcionFutura: {
|
|
30300
30323
|
...dataBase,
|
|
30301
|
-
id:
|
|
30324
|
+
id: 2,
|
|
30302
30325
|
hasFinanzeFreezed: false,
|
|
30303
30326
|
status: {
|
|
30304
30327
|
...dataBase.status,
|
|
@@ -30329,7 +30352,7 @@ const dataStates = {
|
|
|
30329
30352
|
},
|
|
30330
30353
|
inscripcionFinalizo: {
|
|
30331
30354
|
...dataBase,
|
|
30332
|
-
id:
|
|
30355
|
+
id: 3,
|
|
30333
30356
|
hasFinanzeFreezed: false,
|
|
30334
30357
|
status: {
|
|
30335
30358
|
...dataBase.status,
|
|
@@ -30362,7 +30385,7 @@ const dataStates = {
|
|
|
30362
30385
|
...dataBase,
|
|
30363
30386
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",
|
|
30364
30387
|
background: "https://cdn.eclass.com/img/cursos/default1.png",
|
|
30365
|
-
id:
|
|
30388
|
+
id: 4,
|
|
30366
30389
|
hasFinanzeFreezed: false,
|
|
30367
30390
|
status: {
|
|
30368
30391
|
...dataBase.status,
|
|
@@ -30394,7 +30417,7 @@ const dataStates = {
|
|
|
30394
30417
|
},
|
|
30395
30418
|
preInscripcion2: {
|
|
30396
30419
|
...dataBase,
|
|
30397
|
-
id:
|
|
30420
|
+
id: 5,
|
|
30398
30421
|
hasFinanzeFreezed: false,
|
|
30399
30422
|
logo: "",
|
|
30400
30423
|
status: {
|
|
@@ -30428,7 +30451,7 @@ const dataStates = {
|
|
|
30428
30451
|
inscripcion: {
|
|
30429
30452
|
...dataBase,
|
|
30430
30453
|
background: "https://cdn.eclass.com/img/cursos/default2.png",
|
|
30431
|
-
id:
|
|
30454
|
+
id: 6,
|
|
30432
30455
|
hasFinanzeFreezed: false,
|
|
30433
30456
|
status: {
|
|
30434
30457
|
...dataBase.status,
|
|
@@ -30459,7 +30482,7 @@ const dataStates = {
|
|
|
30459
30482
|
},
|
|
30460
30483
|
inscripcion2: {
|
|
30461
30484
|
...dataBase,
|
|
30462
|
-
id:
|
|
30485
|
+
id: 7,
|
|
30463
30486
|
hasFinanzeFreezed: false,
|
|
30464
30487
|
status: {
|
|
30465
30488
|
...dataBase.status,
|
|
@@ -30494,7 +30517,7 @@ const dataStates = {
|
|
|
30494
30517
|
},
|
|
30495
30518
|
noDisponible: {
|
|
30496
30519
|
...dataBase,
|
|
30497
|
-
id:
|
|
30520
|
+
id: 8,
|
|
30498
30521
|
hasFinanzeFreezed: false,
|
|
30499
30522
|
logo: "",
|
|
30500
30523
|
background: "https://cdn.eclass.com/img/cursos/default2.png",
|
|
@@ -30531,7 +30554,7 @@ const dataStates = {
|
|
|
30531
30554
|
...dataBase,
|
|
30532
30555
|
background: "https://cdn.eclass.com/img/cursos/default3.png",
|
|
30533
30556
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",
|
|
30534
|
-
id:
|
|
30557
|
+
id: 9,
|
|
30535
30558
|
hasFinanzeFreezed: false,
|
|
30536
30559
|
status: {
|
|
30537
30560
|
...dataBase.status,
|
|
@@ -30565,7 +30588,7 @@ const dataStates = {
|
|
|
30565
30588
|
...dataBase,
|
|
30566
30589
|
background: "https://cdn.eclass.com/img/cursos/default3.png",
|
|
30567
30590
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",
|
|
30568
|
-
id:
|
|
30591
|
+
id: 10,
|
|
30569
30592
|
hasFinanzeFreezed: false,
|
|
30570
30593
|
Profile: {
|
|
30571
30594
|
id: 1,
|
|
@@ -30601,7 +30624,7 @@ const dataStates = {
|
|
|
30601
30624
|
},
|
|
30602
30625
|
activado: {
|
|
30603
30626
|
...dataBase,
|
|
30604
|
-
id:
|
|
30627
|
+
id: 11,
|
|
30605
30628
|
hasFinanzeFreezed: false,
|
|
30606
30629
|
status: {
|
|
30607
30630
|
...dataBase.status,
|
|
@@ -30641,7 +30664,7 @@ const dataStates = {
|
|
|
30641
30664
|
},
|
|
30642
30665
|
sinEstudiar: {
|
|
30643
30666
|
...dataBase,
|
|
30644
|
-
id:
|
|
30667
|
+
id: 12,
|
|
30645
30668
|
hasFinanzeFreezed: false,
|
|
30646
30669
|
logo: "",
|
|
30647
30670
|
status: {
|
|
@@ -30682,7 +30705,7 @@ const dataStates = {
|
|
|
30682
30705
|
},
|
|
30683
30706
|
sinEstudiar2: {
|
|
30684
30707
|
...dataBase,
|
|
30685
|
-
id:
|
|
30708
|
+
id: 13,
|
|
30686
30709
|
hasFinanzeFreezed: false,
|
|
30687
30710
|
background: "https://cdn.eclass.com/img/cursos/default2.png",
|
|
30688
30711
|
status: {
|
|
@@ -30723,7 +30746,7 @@ const dataStates = {
|
|
|
30723
30746
|
},
|
|
30724
30747
|
sinEstudiar3: {
|
|
30725
30748
|
...dataBase,
|
|
30726
|
-
id:
|
|
30749
|
+
id: 14,
|
|
30727
30750
|
hasFinanzeFreezed: false,
|
|
30728
30751
|
status: {
|
|
30729
30752
|
...dataBase.status,
|
|
@@ -30764,7 +30787,7 @@ const dataStates = {
|
|
|
30764
30787
|
sinEstudiar4: {
|
|
30765
30788
|
...dataBase,
|
|
30766
30789
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",
|
|
30767
|
-
id:
|
|
30790
|
+
id: 15,
|
|
30768
30791
|
hasFinanzeFreezed: false,
|
|
30769
30792
|
status: {
|
|
30770
30793
|
...dataBase.status,
|
|
@@ -30804,7 +30827,7 @@ const dataStates = {
|
|
|
30804
30827
|
},
|
|
30805
30828
|
continuar: {
|
|
30806
30829
|
...dataBase,
|
|
30807
|
-
id:
|
|
30830
|
+
id: 16,
|
|
30808
30831
|
hasFinanzeFreezed: true,
|
|
30809
30832
|
status: {
|
|
30810
30833
|
...dataBase.status,
|
|
@@ -30845,7 +30868,7 @@ const dataStates = {
|
|
|
30845
30868
|
},
|
|
30846
30869
|
continuar2: {
|
|
30847
30870
|
...dataBase,
|
|
30848
|
-
id:
|
|
30871
|
+
id: 17,
|
|
30849
30872
|
hasFinanzeFreezed: false,
|
|
30850
30873
|
status: {
|
|
30851
30874
|
...dataBase.status,
|
|
@@ -30885,7 +30908,7 @@ const dataStates = {
|
|
|
30885
30908
|
pendiente: {
|
|
30886
30909
|
...dataBase,
|
|
30887
30910
|
background: "https://cdn.eclass.com/img/cursos/default3.png",
|
|
30888
|
-
id:
|
|
30911
|
+
id: 18,
|
|
30889
30912
|
hasFinanzeFreezed: false,
|
|
30890
30913
|
status: {
|
|
30891
30914
|
...dataBase.status,
|
|
@@ -30922,7 +30945,7 @@ const dataStates = {
|
|
|
30922
30945
|
},
|
|
30923
30946
|
terminado: {
|
|
30924
30947
|
...dataBase,
|
|
30925
|
-
id:
|
|
30948
|
+
id: 19,
|
|
30926
30949
|
hasFinanzeFreezed: false,
|
|
30927
30950
|
status: {
|
|
30928
30951
|
...dataBase.status,
|
|
@@ -30962,7 +30985,7 @@ const dataStates = {
|
|
|
30962
30985
|
terminado2: {
|
|
30963
30986
|
...dataBase,
|
|
30964
30987
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",
|
|
30965
|
-
id:
|
|
30988
|
+
id: 20,
|
|
30966
30989
|
hasFinanzeFreezed: false,
|
|
30967
30990
|
Profile: {
|
|
30968
30991
|
id: 1,
|
|
@@ -31005,7 +31028,7 @@ const dataStates = {
|
|
|
31005
31028
|
},
|
|
31006
31029
|
terminado3: {
|
|
31007
31030
|
...dataBase,
|
|
31008
|
-
id:
|
|
31031
|
+
id: 21,
|
|
31009
31032
|
hasFinanzeFreezed: false,
|
|
31010
31033
|
logo: "",
|
|
31011
31034
|
status: {
|
|
@@ -31040,6 +31063,47 @@ const dataStates = {
|
|
|
31040
31063
|
text: "Ir a mi curso"
|
|
31041
31064
|
},
|
|
31042
31065
|
labels: []
|
|
31066
|
+
},
|
|
31067
|
+
proximamente: {
|
|
31068
|
+
...dataBase,
|
|
31069
|
+
id: 22,
|
|
31070
|
+
hasFinanzeFreezed: false,
|
|
31071
|
+
status: {
|
|
31072
|
+
...dataBase.status,
|
|
31073
|
+
id: 3,
|
|
31074
|
+
name: "inscripcion"
|
|
31075
|
+
},
|
|
31076
|
+
progress: {
|
|
31077
|
+
...dataBase.progress,
|
|
31078
|
+
label: "Tu curso iniciara el Lunes 16 de Enero de 2023",
|
|
31079
|
+
icon: "schedule"
|
|
31080
|
+
},
|
|
31081
|
+
dateStatus: {
|
|
31082
|
+
...dataBase.dateStatus,
|
|
31083
|
+
hasDates: true
|
|
31084
|
+
},
|
|
31085
|
+
information: [
|
|
31086
|
+
{
|
|
31087
|
+
icon: "certificate",
|
|
31088
|
+
text: "Certificado por ACHS",
|
|
31089
|
+
href: ""
|
|
31090
|
+
}
|
|
31091
|
+
],
|
|
31092
|
+
action: {
|
|
31093
|
+
...dataBase.action,
|
|
31094
|
+
text: "Ver informacion del curso",
|
|
31095
|
+
targetBlank: true
|
|
31096
|
+
},
|
|
31097
|
+
soonCourse: {
|
|
31098
|
+
show: true,
|
|
31099
|
+
text: "Pr\xF3ximamente"
|
|
31100
|
+
},
|
|
31101
|
+
labels: [
|
|
31102
|
+
{
|
|
31103
|
+
id: "OBLIGATORY",
|
|
31104
|
+
text: "Obligatorio"
|
|
31105
|
+
}
|
|
31106
|
+
]
|
|
31043
31107
|
}
|
|
31044
31108
|
};
|
|
31045
31109
|
const dataFake = Object.keys(dataStates).map((key) => dataStates[key]);
|