@eclass/ui-kit 1.7.3 → 1.7.6
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
CHANGED
|
@@ -26615,6 +26615,8 @@ function IconSelection({
|
|
|
26615
26615
|
});
|
|
26616
26616
|
case "circularInformation":
|
|
26617
26617
|
return /* @__PURE__ */ jsx(CircularInformation, {});
|
|
26618
|
+
case "info":
|
|
26619
|
+
return /* @__PURE__ */ jsx(CircularInformation, {});
|
|
26618
26620
|
default:
|
|
26619
26621
|
return null;
|
|
26620
26622
|
}
|
|
@@ -26778,7 +26780,7 @@ const dataBase = {
|
|
|
26778
26780
|
const dataStates = {
|
|
26779
26781
|
noHabilitado: __spreadProps(__spreadValues({}, dataBase), {
|
|
26780
26782
|
id: 1,
|
|
26781
|
-
|
|
26783
|
+
hasFinanzeFreezed: false,
|
|
26782
26784
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
26783
26785
|
id: 1,
|
|
26784
26786
|
name: "noHabilitado"
|
|
@@ -26807,7 +26809,7 @@ const dataStates = {
|
|
|
26807
26809
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",
|
|
26808
26810
|
background: "https://cdn.eclass.com/img/cursos/default1.png",
|
|
26809
26811
|
id: 2,
|
|
26810
|
-
|
|
26812
|
+
hasFinanzeFreezed: false,
|
|
26811
26813
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
26812
26814
|
id: 2,
|
|
26813
26815
|
name: "preInscripcion"
|
|
@@ -26834,7 +26836,7 @@ const dataStates = {
|
|
|
26834
26836
|
}),
|
|
26835
26837
|
preInscripcion2: __spreadProps(__spreadValues({}, dataBase), {
|
|
26836
26838
|
id: 3,
|
|
26837
|
-
|
|
26839
|
+
hasFinanzeFreezed: false,
|
|
26838
26840
|
logo: "",
|
|
26839
26841
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
26840
26842
|
id: 2,
|
|
@@ -26863,7 +26865,7 @@ const dataStates = {
|
|
|
26863
26865
|
inscripcion: __spreadProps(__spreadValues({}, dataBase), {
|
|
26864
26866
|
background: "https://cdn.eclass.com/img/cursos/default2.png",
|
|
26865
26867
|
id: 4,
|
|
26866
|
-
|
|
26868
|
+
hasFinanzeFreezed: false,
|
|
26867
26869
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
26868
26870
|
id: 3,
|
|
26869
26871
|
name: "inscripcion"
|
|
@@ -26889,7 +26891,7 @@ const dataStates = {
|
|
|
26889
26891
|
}),
|
|
26890
26892
|
inscripcion2: __spreadProps(__spreadValues({}, dataBase), {
|
|
26891
26893
|
id: 5,
|
|
26892
|
-
|
|
26894
|
+
hasFinanzeFreezed: false,
|
|
26893
26895
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
26894
26896
|
id: 3,
|
|
26895
26897
|
name: "inscripcion"
|
|
@@ -26919,7 +26921,7 @@ const dataStates = {
|
|
|
26919
26921
|
}),
|
|
26920
26922
|
noDisponible: __spreadProps(__spreadValues({}, dataBase), {
|
|
26921
26923
|
id: 6,
|
|
26922
|
-
|
|
26924
|
+
hasFinanzeFreezed: false,
|
|
26923
26925
|
logo: "",
|
|
26924
26926
|
background: "https://cdn.eclass.com/img/cursos/default2.png",
|
|
26925
26927
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
@@ -26952,7 +26954,7 @@ const dataStates = {
|
|
|
26952
26954
|
background: "https://cdn.eclass.com/img/cursos/default3.png",
|
|
26953
26955
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",
|
|
26954
26956
|
id: 7,
|
|
26955
|
-
|
|
26957
|
+
hasFinanzeFreezed: false,
|
|
26956
26958
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
26957
26959
|
id: 4,
|
|
26958
26960
|
name: "no disponible"
|
|
@@ -26982,7 +26984,7 @@ const dataStates = {
|
|
|
26982
26984
|
background: "https://cdn.eclass.com/img/cursos/default3.png",
|
|
26983
26985
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",
|
|
26984
26986
|
id: 57,
|
|
26985
|
-
|
|
26987
|
+
hasFinanzeFreezed: false,
|
|
26986
26988
|
Profile: {
|
|
26987
26989
|
id: 1,
|
|
26988
26990
|
name: "Administrador"
|
|
@@ -27014,7 +27016,7 @@ const dataStates = {
|
|
|
27014
27016
|
}),
|
|
27015
27017
|
activado: __spreadProps(__spreadValues({}, dataBase), {
|
|
27016
27018
|
id: 8,
|
|
27017
|
-
|
|
27019
|
+
hasFinanzeFreezed: false,
|
|
27018
27020
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27019
27021
|
id: 5,
|
|
27020
27022
|
name: "disponible"
|
|
@@ -27050,7 +27052,7 @@ const dataStates = {
|
|
|
27050
27052
|
}),
|
|
27051
27053
|
sinEstudiar: __spreadProps(__spreadValues({}, dataBase), {
|
|
27052
27054
|
id: 9,
|
|
27053
|
-
|
|
27055
|
+
hasFinanzeFreezed: false,
|
|
27054
27056
|
logo: "",
|
|
27055
27057
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27056
27058
|
id: 6,
|
|
@@ -27087,7 +27089,7 @@ const dataStates = {
|
|
|
27087
27089
|
}),
|
|
27088
27090
|
sinEstudiar2: __spreadProps(__spreadValues({}, dataBase), {
|
|
27089
27091
|
id: 10,
|
|
27090
|
-
|
|
27092
|
+
hasFinanzeFreezed: false,
|
|
27091
27093
|
background: "https://cdn.eclass.com/img/cursos/default2.png",
|
|
27092
27094
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27093
27095
|
id: 6,
|
|
@@ -27124,7 +27126,7 @@ const dataStates = {
|
|
|
27124
27126
|
}),
|
|
27125
27127
|
sinEstudiar3: __spreadProps(__spreadValues({}, dataBase), {
|
|
27126
27128
|
id: 11,
|
|
27127
|
-
|
|
27129
|
+
hasFinanzeFreezed: false,
|
|
27128
27130
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27129
27131
|
id: 6,
|
|
27130
27132
|
name: "sinEstudiar"
|
|
@@ -27161,7 +27163,7 @@ const dataStates = {
|
|
|
27161
27163
|
sinEstudiar4: __spreadProps(__spreadValues({}, dataBase), {
|
|
27162
27164
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",
|
|
27163
27165
|
id: 12,
|
|
27164
|
-
|
|
27166
|
+
hasFinanzeFreezed: false,
|
|
27165
27167
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27166
27168
|
id: 6,
|
|
27167
27169
|
name: "sinEstudiar"
|
|
@@ -27197,7 +27199,7 @@ const dataStates = {
|
|
|
27197
27199
|
}),
|
|
27198
27200
|
continuar: __spreadProps(__spreadValues({}, dataBase), {
|
|
27199
27201
|
id: 13,
|
|
27200
|
-
|
|
27202
|
+
hasFinanzeFreezed: true,
|
|
27201
27203
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27202
27204
|
id: 7,
|
|
27203
27205
|
name: "continuar"
|
|
@@ -27234,7 +27236,7 @@ const dataStates = {
|
|
|
27234
27236
|
}),
|
|
27235
27237
|
continuar2: __spreadProps(__spreadValues({}, dataBase), {
|
|
27236
27238
|
id: 14,
|
|
27237
|
-
|
|
27239
|
+
hasFinanzeFreezed: false,
|
|
27238
27240
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27239
27241
|
id: 7,
|
|
27240
27242
|
name: "continuar"
|
|
@@ -27270,7 +27272,7 @@ const dataStates = {
|
|
|
27270
27272
|
pendiente: __spreadProps(__spreadValues({}, dataBase), {
|
|
27271
27273
|
background: "https://cdn.eclass.com/img/cursos/default3.png",
|
|
27272
27274
|
id: 15,
|
|
27273
|
-
|
|
27275
|
+
hasFinanzeFreezed: false,
|
|
27274
27276
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27275
27277
|
id: 8,
|
|
27276
27278
|
name: "pendiente"
|
|
@@ -27303,7 +27305,7 @@ const dataStates = {
|
|
|
27303
27305
|
}),
|
|
27304
27306
|
terminado: __spreadProps(__spreadValues({}, dataBase), {
|
|
27305
27307
|
id: 16,
|
|
27306
|
-
|
|
27308
|
+
hasFinanzeFreezed: false,
|
|
27307
27309
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27308
27310
|
id: 9,
|
|
27309
27311
|
name: "terminado"
|
|
@@ -27339,7 +27341,7 @@ const dataStates = {
|
|
|
27339
27341
|
terminado2: __spreadProps(__spreadValues({}, dataBase), {
|
|
27340
27342
|
logo: "https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",
|
|
27341
27343
|
id: 17,
|
|
27342
|
-
|
|
27344
|
+
hasFinanzeFreezed: false,
|
|
27343
27345
|
Profile: {
|
|
27344
27346
|
id: 1,
|
|
27345
27347
|
name: "Administrador"
|
|
@@ -27378,7 +27380,7 @@ const dataStates = {
|
|
|
27378
27380
|
}),
|
|
27379
27381
|
terminado3: __spreadProps(__spreadValues({}, dataBase), {
|
|
27380
27382
|
id: 18,
|
|
27381
|
-
|
|
27383
|
+
hasFinanzeFreezed: false,
|
|
27382
27384
|
logo: "",
|
|
27383
27385
|
status: __spreadProps(__spreadValues({}, dataBase.status), {
|
|
27384
27386
|
id: 9,
|
|
@@ -27505,11 +27507,10 @@ Modal.displayName = "Modal";
|
|
|
27505
27507
|
function Footer({
|
|
27506
27508
|
modalPaymentText
|
|
27507
27509
|
}) {
|
|
27508
|
-
var _a;
|
|
27509
27510
|
const {
|
|
27510
27511
|
action,
|
|
27511
27512
|
Profile: Profile2,
|
|
27512
|
-
|
|
27513
|
+
hasFinanzeFreezed
|
|
27513
27514
|
} = React.useContext(CourseBoxContext);
|
|
27514
27515
|
const {
|
|
27515
27516
|
isOpen,
|
|
@@ -27524,7 +27525,7 @@ function Footer({
|
|
|
27524
27525
|
setOverlay(true);
|
|
27525
27526
|
onOpen();
|
|
27526
27527
|
};
|
|
27527
|
-
if (action == null
|
|
27528
|
+
if (action == null) {
|
|
27528
27529
|
return null;
|
|
27529
27530
|
}
|
|
27530
27531
|
return /* @__PURE__ */ jsxs(Center, {
|
|
@@ -27534,7 +27535,7 @@ function Footer({
|
|
|
27534
27535
|
borderTop: "1px solid",
|
|
27535
27536
|
borderTopColor: vars("colors-neutral-platinum"),
|
|
27536
27537
|
children: [isCourseActive(action.enabled, Profile2 == null ? void 0 : Profile2.id) ? /* @__PURE__ */ jsxs(Fragment, {
|
|
27537
|
-
children: [
|
|
27538
|
+
children: [hasFinanzeFreezed ? /* @__PURE__ */ jsx(Button, {
|
|
27538
27539
|
color: vars("colors-main-deepSkyBlue"),
|
|
27539
27540
|
backgroundColor: "transparent",
|
|
27540
27541
|
fontWeight: "500",
|