nectiasw 0.0.75 → 0.0.76
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/components/Stepper/index.d.ts +13 -0
- package/dist/components/Stepper/styles.d.ts +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +275 -229
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -986,7 +986,7 @@ function clsx$1() {
|
|
|
986
986
|
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r$1(e)) && (n && (n += " "), n += t);
|
|
987
987
|
return n;
|
|
988
988
|
}
|
|
989
|
-
const classes$
|
|
989
|
+
const classes$q = (props) => clsx$1(
|
|
990
990
|
(props == null ? void 0 : props.fullWidth) && `w-full`,
|
|
991
991
|
(props == null ? void 0 : props.fullHeight) && `h-full`,
|
|
992
992
|
(props == null ? void 0 : props.container) && `container`,
|
|
@@ -1063,7 +1063,7 @@ const classes$p = (props) => clsx$1(
|
|
|
1063
1063
|
props == null ? void 0 : props.className
|
|
1064
1064
|
);
|
|
1065
1065
|
const hoverFn = (props) => {
|
|
1066
|
-
const classNames2 = classes$
|
|
1066
|
+
const classNames2 = classes$q(props).split(" ");
|
|
1067
1067
|
return classNames2.map((key) => `hover:${key}`).join(" ");
|
|
1068
1068
|
};
|
|
1069
1069
|
const Box = React__default.memo((props) => {
|
|
@@ -1146,7 +1146,7 @@ const Box = React__default.memo((props) => {
|
|
|
1146
1146
|
...args
|
|
1147
1147
|
} = props;
|
|
1148
1148
|
const classNames2 = React__default.useMemo(
|
|
1149
|
-
() => classes$
|
|
1149
|
+
() => classes$q({
|
|
1150
1150
|
blur,
|
|
1151
1151
|
clear,
|
|
1152
1152
|
color: color2,
|
|
@@ -12354,7 +12354,7 @@ function createTypedChart(type, registerables) {
|
|
|
12354
12354
|
})));
|
|
12355
12355
|
}
|
|
12356
12356
|
const Doughnut = /* @__PURE__ */ createTypedChart("doughnut", DoughnutController);
|
|
12357
|
-
const classes$
|
|
12357
|
+
const classes$p = {
|
|
12358
12358
|
label: "text-xl font-bold text-primary",
|
|
12359
12359
|
flex: "flex justify-between items-center",
|
|
12360
12360
|
center: "flex justify-center items-center"
|
|
@@ -12499,7 +12499,7 @@ const Chart = React__default.memo(
|
|
|
12499
12499
|
disabled && "opacity-50",
|
|
12500
12500
|
"flex justify-center items-center text-center"
|
|
12501
12501
|
),
|
|
12502
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: classes$
|
|
12502
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: classes$p.label, children: label })
|
|
12503
12503
|
}
|
|
12504
12504
|
)
|
|
12505
12505
|
] });
|
|
@@ -17675,7 +17675,7 @@ function _slicedToArray$4(arr, i) {
|
|
|
17675
17675
|
return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _unsupportedIterableToArray$4(arr, i) || _nonIterableRest$4();
|
|
17676
17676
|
}
|
|
17677
17677
|
var styles$2 = "\n@layer primereact {\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n \n .p-ink {\n display: block;\n position: absolute;\n background: rgba(255, 255, 255, 0.5);\n border-radius: 100%;\n transform: scale(0);\n }\n \n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n \n .p-ripple-disabled .p-ink {\n display: none;\n }\n}\n\n@keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n\n";
|
|
17678
|
-
var classes$
|
|
17678
|
+
var classes$o = {
|
|
17679
17679
|
root: "p-ink"
|
|
17680
17680
|
};
|
|
17681
17681
|
var RippleBase = ComponentBase.extend({
|
|
@@ -17685,7 +17685,7 @@ var RippleBase = ComponentBase.extend({
|
|
|
17685
17685
|
},
|
|
17686
17686
|
css: {
|
|
17687
17687
|
styles: styles$2,
|
|
17688
|
-
classes: classes$
|
|
17688
|
+
classes: classes$o
|
|
17689
17689
|
},
|
|
17690
17690
|
getProps: function getProps4(props) {
|
|
17691
17691
|
return ObjectUtils.getMergedProps(props, RippleBase.defaultProps);
|
|
@@ -18063,7 +18063,7 @@ function _objectSpread$1$1(e) {
|
|
|
18063
18063
|
}
|
|
18064
18064
|
return e;
|
|
18065
18065
|
}
|
|
18066
|
-
var classes$
|
|
18066
|
+
var classes$n = {
|
|
18067
18067
|
closeButtonIcon: "p-dialog-header-close-icon",
|
|
18068
18068
|
closeButton: "p-dialog-header-icon p-dialog-header-close p-link",
|
|
18069
18069
|
maximizableIcon: "p-dialog-header-maximize-icon",
|
|
@@ -18181,7 +18181,7 @@ var DialogBase = ComponentBase.extend({
|
|
|
18181
18181
|
children: void 0
|
|
18182
18182
|
},
|
|
18183
18183
|
css: {
|
|
18184
|
-
classes: classes$
|
|
18184
|
+
classes: classes$n,
|
|
18185
18185
|
styles,
|
|
18186
18186
|
inlineStyles
|
|
18187
18187
|
}
|
|
@@ -18840,7 +18840,7 @@ const Modal = ({
|
|
|
18840
18840
|
}
|
|
18841
18841
|
);
|
|
18842
18842
|
};
|
|
18843
|
-
const classes$
|
|
18843
|
+
const classes$m = {
|
|
18844
18844
|
container: {
|
|
18845
18845
|
root: "flex items-center relative ",
|
|
18846
18846
|
label: "ml-2 text-sm font-medium text-gray-900 dark:text-gray-300",
|
|
@@ -19157,7 +19157,7 @@ const Checkbox = ({
|
|
|
19157
19157
|
onChange2 == null ? void 0 : onChange2(!checked);
|
|
19158
19158
|
};
|
|
19159
19159
|
if (filter2) {
|
|
19160
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$
|
|
19160
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$m.container.root, className && className, hidden && "collapse"), children: [
|
|
19161
19161
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19162
19162
|
StyledCheckbox,
|
|
19163
19163
|
{
|
|
@@ -19166,14 +19166,14 @@ const Checkbox = ({
|
|
|
19166
19166
|
checked: filter2,
|
|
19167
19167
|
disabled,
|
|
19168
19168
|
onClick: handleClick,
|
|
19169
|
-
className: clsx$1(classes$
|
|
19169
|
+
className: clsx$1(classes$m.container.input, hidden && "collapse")
|
|
19170
19170
|
}
|
|
19171
19171
|
),
|
|
19172
19172
|
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIconFilter, { top, right, left, status: filter2, onClick: handleClick }),
|
|
19173
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: clsx$1(classes$
|
|
19173
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: clsx$1(classes$m.container.label, hidden && "collapse"), children: label })
|
|
19174
19174
|
] });
|
|
19175
19175
|
}
|
|
19176
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$
|
|
19176
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$m.container.root, className && className, hidden && "collapse"), children: [
|
|
19177
19177
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19178
19178
|
StyledCheckbox,
|
|
19179
19179
|
{
|
|
@@ -19182,14 +19182,14 @@ const Checkbox = ({
|
|
|
19182
19182
|
checked,
|
|
19183
19183
|
disabled,
|
|
19184
19184
|
onClick: handleClick,
|
|
19185
|
-
className: clsx$1(classes$
|
|
19185
|
+
className: clsx$1(classes$m.container.input, hidden && "collapse")
|
|
19186
19186
|
}
|
|
19187
19187
|
),
|
|
19188
19188
|
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIcon, { top, right, left, status: checked, onClick: handleClick }),
|
|
19189
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: clsx$1(classes$
|
|
19189
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: clsx$1(classes$m.container.label, hidden && "collapse"), children: label })
|
|
19190
19190
|
] });
|
|
19191
19191
|
};
|
|
19192
|
-
const classes$
|
|
19192
|
+
const classes$l = {
|
|
19193
19193
|
container: {
|
|
19194
19194
|
root: "relative inline-block text-left",
|
|
19195
19195
|
circle: "text-secondary rounded-full border-secondary border-[1px]",
|
|
@@ -19244,13 +19244,13 @@ const Dropdown$1 = React__default.memo(
|
|
|
19244
19244
|
);
|
|
19245
19245
|
const refStyles = React__default.useMemo(() => {
|
|
19246
19246
|
const kind = {
|
|
19247
|
-
top: classes$
|
|
19248
|
-
left: classes$
|
|
19249
|
-
right: classes$
|
|
19250
|
-
bottom: classes$
|
|
19247
|
+
top: classes$l.options.top,
|
|
19248
|
+
left: classes$l.options.left,
|
|
19249
|
+
right: classes$l.options.right,
|
|
19250
|
+
bottom: classes$l.options.bottom
|
|
19251
19251
|
};
|
|
19252
19252
|
const key = orientation2;
|
|
19253
|
-
return clsx$1(kind[key], (styles2 == null ? void 0 : styles2.items) ?? classes$
|
|
19253
|
+
return clsx$1(kind[key], (styles2 == null ? void 0 : styles2.items) ?? classes$l.options.items);
|
|
19254
19254
|
}, [orientation2, styles2 == null ? void 0 : styles2.items]);
|
|
19255
19255
|
const JSXOrientation = React__default.useMemo(() => {
|
|
19256
19256
|
switch (orientation2) {
|
|
@@ -19258,7 +19258,7 @@ const Dropdown$1 = React__default.memo(
|
|
|
19258
19258
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19259
19259
|
ForwardRef$m,
|
|
19260
19260
|
{
|
|
19261
|
-
className: classes$
|
|
19261
|
+
className: classes$l.container.chevron,
|
|
19262
19262
|
"aria-hidden": "true"
|
|
19263
19263
|
}
|
|
19264
19264
|
);
|
|
@@ -19266,7 +19266,7 @@ const Dropdown$1 = React__default.memo(
|
|
|
19266
19266
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19267
19267
|
ForwardRef$o,
|
|
19268
19268
|
{
|
|
19269
|
-
className: classes$
|
|
19269
|
+
className: classes$l.container.chevron,
|
|
19270
19270
|
"aria-hidden": "true"
|
|
19271
19271
|
}
|
|
19272
19272
|
);
|
|
@@ -19274,7 +19274,7 @@ const Dropdown$1 = React__default.memo(
|
|
|
19274
19274
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19275
19275
|
ForwardRef$n,
|
|
19276
19276
|
{
|
|
19277
|
-
className: classes$
|
|
19277
|
+
className: classes$l.container.chevron,
|
|
19278
19278
|
"aria-hidden": "true"
|
|
19279
19279
|
}
|
|
19280
19280
|
);
|
|
@@ -19282,26 +19282,26 @@ const Dropdown$1 = React__default.memo(
|
|
|
19282
19282
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19283
19283
|
ForwardRef$p,
|
|
19284
19284
|
{
|
|
19285
|
-
className: classes$
|
|
19285
|
+
className: classes$l.container.chevron,
|
|
19286
19286
|
"aria-hidden": "true"
|
|
19287
19287
|
}
|
|
19288
19288
|
);
|
|
19289
19289
|
}
|
|
19290
19290
|
}, [orientation2]);
|
|
19291
19291
|
if (icon) {
|
|
19292
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Menu$2, { as: "div", className: (styles2 == null ? void 0 : styles2.root) ?? classes$
|
|
19293
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
19292
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Menu$2, { as: "div", className: (styles2 == null ? void 0 : styles2.root) ?? classes$l.container.root, children: [
|
|
19293
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$l.container.circle, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19294
19294
|
Menu$2.Button,
|
|
19295
19295
|
{
|
|
19296
19296
|
disabled,
|
|
19297
19297
|
about: (styles2 == null ? void 0 : styles2.title) ? "no-controls" : "controls",
|
|
19298
19298
|
className: clsx$1(
|
|
19299
|
-
(styles2 == null ? void 0 : styles2.title) ?? classes$
|
|
19299
|
+
(styles2 == null ? void 0 : styles2.title) ?? classes$l.container.ellipsis
|
|
19300
19300
|
),
|
|
19301
19301
|
children: icon
|
|
19302
19302
|
}
|
|
19303
19303
|
) }),
|
|
19304
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Transition$1, { ...transition$1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$2.Items, { className: refStyles, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
19304
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Transition$1, { ...transition$1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$2.Items, { className: refStyles, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$l.options.padding, children: options2.map((option) => {
|
|
19305
19305
|
const { label, value } = formatOption(option);
|
|
19306
19306
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19307
19307
|
Menu$2.Item,
|
|
@@ -19312,8 +19312,8 @@ const Dropdown$1 = React__default.memo(
|
|
|
19312
19312
|
"div",
|
|
19313
19313
|
{
|
|
19314
19314
|
className: clsx$1(
|
|
19315
|
-
classes$
|
|
19316
|
-
active && classes$
|
|
19315
|
+
classes$l.options.item(itemColor ?? "primary"),
|
|
19316
|
+
active && classes$l.options.active,
|
|
19317
19317
|
(styles2 == null ? void 0 : styles2.option) && styles2.option
|
|
19318
19318
|
),
|
|
19319
19319
|
onClick: () => handleChange(value),
|
|
@@ -19326,27 +19326,27 @@ const Dropdown$1 = React__default.memo(
|
|
|
19326
19326
|
}) }) }) })
|
|
19327
19327
|
] });
|
|
19328
19328
|
}
|
|
19329
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Menu$2, { as: "div", className: (styles2 == null ? void 0 : styles2.root) ?? classes$
|
|
19330
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
19329
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Menu$2, { as: "div", className: (styles2 == null ? void 0 : styles2.root) ?? classes$l.container.root, children: [
|
|
19330
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$l.container.button, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19331
19331
|
Menu$2.Button,
|
|
19332
19332
|
{
|
|
19333
19333
|
disabled,
|
|
19334
19334
|
about: (styles2 == null ? void 0 : styles2.title) ? "no-controls" : "controls",
|
|
19335
|
-
className: clsx$1((styles2 == null ? void 0 : styles2.title) ?? classes$
|
|
19335
|
+
className: clsx$1((styles2 == null ? void 0 : styles2.title) ?? classes$l.container.title),
|
|
19336
19336
|
children: [
|
|
19337
19337
|
uncontrollable ? selectedValue : selected,
|
|
19338
19338
|
JSXOrientation
|
|
19339
19339
|
]
|
|
19340
19340
|
}
|
|
19341
19341
|
) }),
|
|
19342
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Transition$1, { ...transition$1, as: React__default.Fragment, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$2.Items, { className: refStyles, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
19342
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Transition$1, { ...transition$1, as: React__default.Fragment, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$2.Items, { className: refStyles, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$l.options.padding, children: options2.map((option) => {
|
|
19343
19343
|
const { label, value } = formatOption(option);
|
|
19344
19344
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$2.Item, { disabled, children: ({ active }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19345
19345
|
"div",
|
|
19346
19346
|
{
|
|
19347
19347
|
className: clsx$1(
|
|
19348
|
-
classes$
|
|
19349
|
-
active && classes$
|
|
19348
|
+
classes$l.options.item(itemColor ?? "primary"),
|
|
19349
|
+
active && classes$l.options.active,
|
|
19350
19350
|
(styles2 == null ? void 0 : styles2.option) && styles2.option
|
|
19351
19351
|
),
|
|
19352
19352
|
onClick: () => handleChange(value),
|
|
@@ -19382,7 +19382,7 @@ Dropdown$1.defaultProps = {
|
|
|
19382
19382
|
orientation: "bottom",
|
|
19383
19383
|
selected: "Select an option"
|
|
19384
19384
|
};
|
|
19385
|
-
const classes$
|
|
19385
|
+
const classes$k = {
|
|
19386
19386
|
child: ({
|
|
19387
19387
|
self: self2,
|
|
19388
19388
|
grow,
|
|
@@ -19423,11 +19423,11 @@ const classes$j = {
|
|
|
19423
19423
|
)
|
|
19424
19424
|
};
|
|
19425
19425
|
const Flex = ({ children, display: display2 = true, ...props }) => {
|
|
19426
|
-
const tailwind = classes$
|
|
19426
|
+
const tailwind = classes$k.parent({ display: display2, ...props });
|
|
19427
19427
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: tailwind, children });
|
|
19428
19428
|
};
|
|
19429
19429
|
const FlexItem = ({ children, ...props }) => {
|
|
19430
|
-
const tailwind = classes$
|
|
19430
|
+
const tailwind = classes$k.child(props);
|
|
19431
19431
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: tailwind, children });
|
|
19432
19432
|
};
|
|
19433
19433
|
function formatHourTime(time) {
|
|
@@ -30571,7 +30571,7 @@ hooks.HTML5_FMT = {
|
|
|
30571
30571
|
MONTH: "YYYY-MM"
|
|
30572
30572
|
// <input type="month" />
|
|
30573
30573
|
};
|
|
30574
|
-
const classes$
|
|
30574
|
+
const classes$j = {
|
|
30575
30575
|
container: "relative flex justify-start items-center",
|
|
30576
30576
|
date: "text-lg font-bold text-center text-darkened",
|
|
30577
30577
|
day: "text-base font-bold text-center relative top-2"
|
|
@@ -39446,7 +39446,7 @@ const Datepicker = React__default.memo((props) => {
|
|
|
39446
39446
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(StyledHeader, { children: [
|
|
39447
39447
|
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: decreaseMonth, disabled: prevMonthButtonDisabled, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ForwardRef$j, { className: "w-6 h-6" }) }),
|
|
39448
39448
|
isSelectable ? /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex align-center", children: [
|
|
39449
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
39449
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$j.date, children: capitalize$1(monthName) }),
|
|
39450
39450
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39451
39451
|
Select,
|
|
39452
39452
|
{
|
|
@@ -39461,7 +39461,7 @@ const Datepicker = React__default.memo((props) => {
|
|
|
39461
39461
|
listHeight: 200
|
|
39462
39462
|
}
|
|
39463
39463
|
)
|
|
39464
|
-
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: classes$
|
|
39464
|
+
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: classes$j.date, children: [
|
|
39465
39465
|
capitalize$1(monthName),
|
|
39466
39466
|
" ",
|
|
39467
39467
|
date == null ? void 0 : date.getFullYear()
|
|
@@ -39474,20 +39474,20 @@ const Datepicker = React__default.memo((props) => {
|
|
|
39474
39474
|
const renderCustomDay = React__default.useCallback(
|
|
39475
39475
|
(day, date) => {
|
|
39476
39476
|
if (isSameDay$1(dayRef, date)) {
|
|
39477
|
-
return (props == null ? void 0 : props.debug) && tooltipMinDate ? /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { text: tooltipMinDate, active: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { about: "today", className: clsx$1(classes$
|
|
39477
|
+
return (props == null ? void 0 : props.debug) && tooltipMinDate ? /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { text: tooltipMinDate, active: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { about: "today", className: clsx$1(classes$j.day), children: day }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { about: "today", className: clsx$1(classes$j.day), children: day });
|
|
39478
39478
|
}
|
|
39479
39479
|
if (minDate && tooltipMinDate && isBefore(date, minDate)) {
|
|
39480
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { active: props == null ? void 0 : props.debug, text: tooltipMinDate, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { className: clsx$1(classes$
|
|
39480
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { active: props == null ? void 0 : props.debug, text: tooltipMinDate, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { className: clsx$1(classes$j.day), children: day }) });
|
|
39481
39481
|
}
|
|
39482
39482
|
if (maxDate && tooltipMaxDate && isAfter(date, maxDate)) {
|
|
39483
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { active: props == null ? void 0 : props.debug, text: tooltipMaxDate, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { className: clsx$1(classes$
|
|
39483
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { active: props == null ? void 0 : props.debug, text: tooltipMaxDate, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { className: clsx$1(classes$j.day), children: day }) });
|
|
39484
39484
|
}
|
|
39485
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { className: clsx$1(classes$
|
|
39485
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDay, { className: clsx$1(classes$j.day), children: day });
|
|
39486
39486
|
},
|
|
39487
39487
|
[dayRef, minDate, maxDate, tooltipMaxDate, tooltipMinDate, props.debug]
|
|
39488
39488
|
);
|
|
39489
39489
|
if (formatDisabled) {
|
|
39490
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$
|
|
39490
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$j.container), children: [
|
|
39491
39491
|
!isTableInput && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39492
39492
|
StyledIcon,
|
|
39493
39493
|
{
|
|
@@ -39525,7 +39525,7 @@ const Datepicker = React__default.memo((props) => {
|
|
|
39525
39525
|
] });
|
|
39526
39526
|
}
|
|
39527
39527
|
const value = (props == null ? void 0 : props.date) ? hooks(props.date).format(format2) : "";
|
|
39528
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$
|
|
39528
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$j.container), children: [
|
|
39529
39529
|
!isTableInput && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39530
39530
|
StyledIcon,
|
|
39531
39531
|
{
|
|
@@ -39566,7 +39566,7 @@ Datepicker.defaultProps = {
|
|
|
39566
39566
|
formatDisabled: true,
|
|
39567
39567
|
isSelectable: false
|
|
39568
39568
|
};
|
|
39569
|
-
const classes$
|
|
39569
|
+
const classes$i = {
|
|
39570
39570
|
container: {
|
|
39571
39571
|
root: "flex items-center relative ",
|
|
39572
39572
|
label: "ml-2 text-sm font-medium text-gray-900 dark:text-gray-300",
|
|
@@ -39577,7 +39577,7 @@ const RadioButton = React__default.memo(({ className, name, value, checked, disa
|
|
|
39577
39577
|
const handleClick = () => {
|
|
39578
39578
|
onClick == null ? void 0 : onClick(value);
|
|
39579
39579
|
};
|
|
39580
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
39580
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$i.container.root + className, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39581
39581
|
StyledRadioButton,
|
|
39582
39582
|
{
|
|
39583
39583
|
name,
|
|
@@ -39615,7 +39615,7 @@ const StyledRadioButton = styled.input.attrs({ type: "radio" })`
|
|
|
39615
39615
|
cursor: not-allowed;
|
|
39616
39616
|
}
|
|
39617
39617
|
`;
|
|
39618
|
-
const classes$
|
|
39618
|
+
const classes$h = {
|
|
39619
39619
|
container: {
|
|
39620
39620
|
content: "mt-12 mb-4",
|
|
39621
39621
|
description: "font-normal text-2xl text-darkened",
|
|
@@ -39709,7 +39709,7 @@ Subtitle.defaultProps = {
|
|
|
39709
39709
|
font: "normal"
|
|
39710
39710
|
};
|
|
39711
39711
|
const Item$1 = ({ children }) => {
|
|
39712
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: classes$
|
|
39712
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: classes$h.inscription.title, children });
|
|
39713
39713
|
};
|
|
39714
39714
|
const Description = ({
|
|
39715
39715
|
content: content2,
|
|
@@ -39719,8 +39719,8 @@ const Description = ({
|
|
|
39719
39719
|
"h3",
|
|
39720
39720
|
{
|
|
39721
39721
|
className: clsx$1(
|
|
39722
|
-
classes$
|
|
39723
|
-
content2 && classes$
|
|
39722
|
+
classes$h.container.description,
|
|
39723
|
+
content2 && classes$h.container.content
|
|
39724
39724
|
),
|
|
39725
39725
|
children
|
|
39726
39726
|
}
|
|
@@ -39745,9 +39745,9 @@ const Success = (props) => {
|
|
|
39745
39745
|
"span",
|
|
39746
39746
|
{
|
|
39747
39747
|
className: clsx$1(
|
|
39748
|
-
classes$
|
|
39748
|
+
classes$h.success.confirmation,
|
|
39749
39749
|
(props == null ? void 0 : props.className) && props.className,
|
|
39750
|
-
(props == null ? void 0 : props.confirmation) ? classes$
|
|
39750
|
+
(props == null ? void 0 : props.confirmation) ? classes$h.success.show : classes$h.success.hide
|
|
39751
39751
|
),
|
|
39752
39752
|
children: props.children
|
|
39753
39753
|
}
|
|
@@ -39772,9 +39772,9 @@ const Error$1 = (props) => {
|
|
|
39772
39772
|
"span",
|
|
39773
39773
|
{
|
|
39774
39774
|
className: clsx$1(
|
|
39775
|
-
classes$
|
|
39775
|
+
classes$h.error.confirmation,
|
|
39776
39776
|
(props == null ? void 0 : props.className) && props.className,
|
|
39777
|
-
(props == null ? void 0 : props.confirmation) ? classes$
|
|
39777
|
+
(props == null ? void 0 : props.confirmation) ? classes$h.error.show : classes$h.error.hide
|
|
39778
39778
|
),
|
|
39779
39779
|
children: (props == null ? void 0 : props.confirmation) && props.children
|
|
39780
39780
|
}
|
|
@@ -39802,7 +39802,7 @@ var display = clsx;
|
|
|
39802
39802
|
var position = clsx;
|
|
39803
39803
|
var width = clsx;
|
|
39804
39804
|
var fontWeight = clsx;
|
|
39805
|
-
const classes$
|
|
39805
|
+
const classes$g = {
|
|
39806
39806
|
icon: clsx$1(
|
|
39807
39807
|
width("w-10"),
|
|
39808
39808
|
margin("ml-2"),
|
|
@@ -39953,7 +39953,7 @@ const Input$1 = React__default.memo(
|
|
|
39953
39953
|
const fontStyles = value !== "" && value !== "0" ? fontWeight("font-bold") : fontWeight("font-normal");
|
|
39954
39954
|
const isFullWidth = (props == null ? void 0 : props.fullWidth) && width("w-full");
|
|
39955
39955
|
if (error2) {
|
|
39956
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
39956
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$g.relativeAddOff, children: [
|
|
39957
39957
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39958
39958
|
StyledInput$1,
|
|
39959
39959
|
{
|
|
@@ -39967,7 +39967,7 @@ const Input$1 = React__default.memo(
|
|
|
39967
39967
|
className,
|
|
39968
39968
|
fontStyles,
|
|
39969
39969
|
isFullWidth,
|
|
39970
|
-
classes$
|
|
39970
|
+
classes$g.container
|
|
39971
39971
|
),
|
|
39972
39972
|
autoFocus: true,
|
|
39973
39973
|
autoComplete: "off"
|
|
@@ -39976,11 +39976,11 @@ const Input$1 = React__default.memo(
|
|
|
39976
39976
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39977
39977
|
StyledIconEdit,
|
|
39978
39978
|
{
|
|
39979
|
-
className: classes$
|
|
39979
|
+
className: classes$g.flow,
|
|
39980
39980
|
onClick: handleClickDelete
|
|
39981
39981
|
}
|
|
39982
39982
|
),
|
|
39983
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconEdit, { className: classes$
|
|
39983
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconEdit, { className: classes$g.flow, onClick: handleClickDelete, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39984
39984
|
"svg",
|
|
39985
39985
|
{
|
|
39986
39986
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -40003,7 +40003,7 @@ const Input$1 = React__default.memo(
|
|
|
40003
40003
|
] });
|
|
40004
40004
|
}
|
|
40005
40005
|
if (completed) {
|
|
40006
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
40006
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$g.relativeAddOff, children: [
|
|
40007
40007
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40008
40008
|
StyledInput$1,
|
|
40009
40009
|
{
|
|
@@ -40017,17 +40017,17 @@ const Input$1 = React__default.memo(
|
|
|
40017
40017
|
className,
|
|
40018
40018
|
fontStyles,
|
|
40019
40019
|
isFullWidth,
|
|
40020
|
-
classes$
|
|
40020
|
+
classes$g.container
|
|
40021
40021
|
),
|
|
40022
40022
|
autoFocus: true,
|
|
40023
40023
|
autoComplete: "off"
|
|
40024
40024
|
}
|
|
40025
40025
|
),
|
|
40026
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconEdit, { className: classes$
|
|
40026
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconEdit, { className: classes$g.flow, onClick: handleClickEdit, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ForwardRef$1, { className: "w-5 h-5 text-info hover:cursor-pointer hover:text-primary" }) })
|
|
40027
40027
|
] });
|
|
40028
40028
|
}
|
|
40029
40029
|
if (AddOn) {
|
|
40030
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
40030
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$g.relativeAddOn, children: [
|
|
40031
40031
|
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconContainerAddon, { disabled: props.disabled, children: AddOn }),
|
|
40032
40032
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40033
40033
|
StyledInputAddon,
|
|
@@ -40043,7 +40043,7 @@ const Input$1 = React__default.memo(
|
|
|
40043
40043
|
className,
|
|
40044
40044
|
fontStyles,
|
|
40045
40045
|
isFullWidth,
|
|
40046
|
-
classes$
|
|
40046
|
+
classes$g.container
|
|
40047
40047
|
),
|
|
40048
40048
|
placeholder,
|
|
40049
40049
|
autoComplete: "off"
|
|
@@ -40065,7 +40065,7 @@ const Input$1 = React__default.memo(
|
|
|
40065
40065
|
className,
|
|
40066
40066
|
fontStyles,
|
|
40067
40067
|
isFullWidth,
|
|
40068
|
-
classes$
|
|
40068
|
+
classes$g.container
|
|
40069
40069
|
),
|
|
40070
40070
|
autoComplete: "off"
|
|
40071
40071
|
}
|
|
@@ -40235,7 +40235,7 @@ const InputTable = React__default.memo(
|
|
|
40235
40235
|
className,
|
|
40236
40236
|
fontStyles,
|
|
40237
40237
|
isFullWidth,
|
|
40238
|
-
classes$
|
|
40238
|
+
classes$g.container
|
|
40239
40239
|
),
|
|
40240
40240
|
onKeyDown: handleKeyDown,
|
|
40241
40241
|
autoComplete: "off"
|
|
@@ -40243,7 +40243,7 @@ const InputTable = React__default.memo(
|
|
|
40243
40243
|
) });
|
|
40244
40244
|
}
|
|
40245
40245
|
);
|
|
40246
|
-
const classes$
|
|
40246
|
+
const classes$f = {
|
|
40247
40247
|
container: "form-input focus:outline-none"
|
|
40248
40248
|
};
|
|
40249
40249
|
var InputMode = /* @__PURE__ */ ((InputMode2) => {
|
|
@@ -40439,7 +40439,7 @@ const TableInput = React__default.memo((props) => {
|
|
|
40439
40439
|
maxLength,
|
|
40440
40440
|
onChange: handleChange,
|
|
40441
40441
|
onKeyDown: handleKeyDown,
|
|
40442
|
-
className: clsx$1(className, isFullWidth, classes$
|
|
40442
|
+
className: clsx$1(className, isFullWidth, classes$f.container),
|
|
40443
40443
|
allowedKeys,
|
|
40444
40444
|
borderRadius: borderRadius2,
|
|
40445
40445
|
disabled,
|
|
@@ -40581,7 +40581,7 @@ const Colspan = (props) => {
|
|
|
40581
40581
|
Colspan.defaultProps = {
|
|
40582
40582
|
start: 1
|
|
40583
40583
|
};
|
|
40584
|
-
const classes$
|
|
40584
|
+
const classes$e = {
|
|
40585
40585
|
container: "flex items-center",
|
|
40586
40586
|
circle: "rounded-full h-[5.25rem] min-w-[5.25rem] max-w-[5.25rem] items-center justify-center flex flex-col border-8 border-white self-center",
|
|
40587
40587
|
number: "font-bold mb-[-0.5rem] text-white",
|
|
@@ -40600,18 +40600,18 @@ const Counter = ({
|
|
|
40600
40600
|
"text-4xl": remainingDays && Math.abs(remainingDays) < 100,
|
|
40601
40601
|
"text-3xl": remainingDays && Math.abs(remainingDays) >= 100
|
|
40602
40602
|
});
|
|
40603
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
40604
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Circle, { className: classes$
|
|
40605
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx$1(classes$
|
|
40606
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
40603
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$e.container, children: [
|
|
40604
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Circle, { className: classes$e.circle, color: color2, children: [
|
|
40605
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx$1(classes$e.number, classRef), children: remainingDays }),
|
|
40606
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$e.unit, children: "días" })
|
|
40607
40607
|
] }),
|
|
40608
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
40609
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
40608
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$e.info, children: [
|
|
40609
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$e.message, children: message2 }),
|
|
40610
40610
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(PassedDays, { color: color2, children: [
|
|
40611
40611
|
passedDays,
|
|
40612
40612
|
" días"
|
|
40613
40613
|
] }),
|
|
40614
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
40614
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$e.transcurridoLabel, children: "transcurridos" })
|
|
40615
40615
|
] })
|
|
40616
40616
|
] });
|
|
40617
40617
|
};
|
|
@@ -40683,7 +40683,7 @@ const Wait = React__default.memo(
|
|
|
40683
40683
|
Wait.defaultProps = {
|
|
40684
40684
|
centered: true
|
|
40685
40685
|
};
|
|
40686
|
-
const classes$
|
|
40686
|
+
const classes$d = {
|
|
40687
40687
|
firstProperty: "border-l border-r border-black h-[3rem] justify-center items-center mb-[5rem]",
|
|
40688
40688
|
middle: "border-0 -ml-4 -mr-4",
|
|
40689
40689
|
empty: "",
|
|
@@ -40746,7 +40746,7 @@ const SingleDeadlineChart = ({
|
|
|
40746
40746
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ChartContainer, { children: workLine.stages.map((stage) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40747
40747
|
ChartItem,
|
|
40748
40748
|
{
|
|
40749
|
-
className: stage.id === 2 ? classes$
|
|
40749
|
+
className: stage.id === 2 ? classes$d.middle : classes$d.firstProperty,
|
|
40750
40750
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ChartMain, { children: [
|
|
40751
40751
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(MetricsContainer, { children: [
|
|
40752
40752
|
/* @__PURE__ */ jsxRuntimeExports.jsx(NumbersContainer, { children: stage.deadlines.map((deadline) => {
|
|
@@ -40764,11 +40764,11 @@ const SingleDeadlineChart = ({
|
|
|
40764
40764
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Bar, { children: stage.deadlines.map((deadline, index2) => {
|
|
40765
40765
|
const duration = deadline.since;
|
|
40766
40766
|
const width2 = duration / stage.maxDuration * 100;
|
|
40767
|
-
let marginRight = classes$
|
|
40768
|
-
const marginLeft = classes$
|
|
40767
|
+
let marginRight = classes$d.empty;
|
|
40768
|
+
const marginLeft = classes$d.empty;
|
|
40769
40769
|
if (deadline.color) {
|
|
40770
40770
|
if (index2 !== stage.deadlines.length - 1) {
|
|
40771
|
-
marginRight = classes$
|
|
40771
|
+
marginRight = classes$d.marginright;
|
|
40772
40772
|
}
|
|
40773
40773
|
}
|
|
40774
40774
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -40870,7 +40870,7 @@ const DeadlineColorDiv = styled.div`
|
|
|
40870
40870
|
const DeadlineContainerNumber = styled.div`
|
|
40871
40871
|
width: ${(props) => props.widthPercent * 600 / 100}%;
|
|
40872
40872
|
`;
|
|
40873
|
-
const classes$
|
|
40873
|
+
const classes$c = {
|
|
40874
40874
|
container: {
|
|
40875
40875
|
text: "text-xl font-medium text-darkened",
|
|
40876
40876
|
child: "text-xl font-bold text-secondary",
|
|
@@ -40891,11 +40891,11 @@ const Collapse = React__default.memo(
|
|
|
40891
40891
|
({ child, className, children, override, title, width: width2 }) => {
|
|
40892
40892
|
if (child) {
|
|
40893
40893
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Disclosure, { className: override, as: "div", children: ({ open }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
40894
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Disclosure.Button, { className: classes$
|
|
40894
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Disclosure.Button, { className: classes$c.container.button, children: [
|
|
40895
40895
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40896
40896
|
"span",
|
|
40897
40897
|
{
|
|
40898
|
-
className: clsx$1(classes$
|
|
40898
|
+
className: clsx$1(classes$c.container.child, className),
|
|
40899
40899
|
children: title && title
|
|
40900
40900
|
}
|
|
40901
40901
|
) }),
|
|
@@ -40903,15 +40903,15 @@ const Collapse = React__default.memo(
|
|
|
40903
40903
|
"div",
|
|
40904
40904
|
{
|
|
40905
40905
|
className: clsx$1(
|
|
40906
|
-
open ? classes$
|
|
40906
|
+
open ? classes$c.icon.root : classes$c.icon.container
|
|
40907
40907
|
),
|
|
40908
40908
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40909
40909
|
ForwardRef$p,
|
|
40910
40910
|
{
|
|
40911
40911
|
className: clsx$1(
|
|
40912
|
-
classes$
|
|
40913
|
-
open && classes$
|
|
40914
|
-
open || classes$
|
|
40912
|
+
classes$c.icon.size,
|
|
40913
|
+
open && classes$c.icon.open,
|
|
40914
|
+
open || classes$c.icon.close
|
|
40915
40915
|
)
|
|
40916
40916
|
}
|
|
40917
40917
|
)
|
|
@@ -40922,19 +40922,19 @@ const Collapse = React__default.memo(
|
|
|
40922
40922
|
Disclosure.Panel,
|
|
40923
40923
|
{
|
|
40924
40924
|
as: "div",
|
|
40925
|
-
className: classes$
|
|
40925
|
+
className: classes$c.container.content,
|
|
40926
40926
|
children
|
|
40927
40927
|
}
|
|
40928
40928
|
) })
|
|
40929
40929
|
] }) });
|
|
40930
40930
|
}
|
|
40931
40931
|
if (override || className) {
|
|
40932
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCollapse, { width: width2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Disclosure, { as: "div", className: classes$
|
|
40933
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Disclosure.Button, { className: classes$
|
|
40932
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCollapse, { width: width2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Disclosure, { as: "div", className: classes$c.container.disclosure, children: ({ open }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
40933
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Disclosure.Button, { className: classes$c.container.button, children: [
|
|
40934
40934
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40935
40935
|
"span",
|
|
40936
40936
|
{
|
|
40937
|
-
className: clsx$1(classes$
|
|
40937
|
+
className: clsx$1(classes$c.container.text, className),
|
|
40938
40938
|
children: title && title
|
|
40939
40939
|
}
|
|
40940
40940
|
) }),
|
|
@@ -40942,15 +40942,15 @@ const Collapse = React__default.memo(
|
|
|
40942
40942
|
"div",
|
|
40943
40943
|
{
|
|
40944
40944
|
className: clsx$1(
|
|
40945
|
-
open ? classes$
|
|
40945
|
+
open ? classes$c.icon.root : classes$c.icon.container
|
|
40946
40946
|
),
|
|
40947
40947
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40948
40948
|
ForwardRef$p,
|
|
40949
40949
|
{
|
|
40950
40950
|
className: clsx$1(
|
|
40951
|
-
classes$
|
|
40952
|
-
open && classes$
|
|
40953
|
-
open || classes$
|
|
40951
|
+
classes$c.icon.size,
|
|
40952
|
+
open && classes$c.icon.open,
|
|
40953
|
+
open || classes$c.icon.close
|
|
40954
40954
|
)
|
|
40955
40955
|
}
|
|
40956
40956
|
)
|
|
@@ -40961,28 +40961,28 @@ const Collapse = React__default.memo(
|
|
|
40961
40961
|
Disclosure.Panel,
|
|
40962
40962
|
{
|
|
40963
40963
|
as: "div",
|
|
40964
|
-
className: classes$
|
|
40964
|
+
className: classes$c.container.content,
|
|
40965
40965
|
children
|
|
40966
40966
|
}
|
|
40967
40967
|
) })
|
|
40968
40968
|
] }) }) });
|
|
40969
40969
|
}
|
|
40970
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCollapse, { width: width2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Disclosure, { as: "div", className: classes$
|
|
40971
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Disclosure.Button, { className: classes$
|
|
40972
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
40970
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCollapse, { width: width2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Disclosure, { as: "div", className: classes$c.container.disclosure, children: ({ open }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
40971
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Disclosure.Button, { className: classes$c.container.button, children: [
|
|
40972
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$c.container.text, children: title && title }) }),
|
|
40973
40973
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40974
40974
|
"div",
|
|
40975
40975
|
{
|
|
40976
40976
|
className: clsx$1(
|
|
40977
|
-
open ? classes$
|
|
40977
|
+
open ? classes$c.icon.root : classes$c.icon.container
|
|
40978
40978
|
),
|
|
40979
40979
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40980
40980
|
ForwardRef$p,
|
|
40981
40981
|
{
|
|
40982
40982
|
className: clsx$1(
|
|
40983
|
-
classes$
|
|
40984
|
-
open && classes$
|
|
40985
|
-
open || classes$
|
|
40983
|
+
classes$c.icon.size,
|
|
40984
|
+
open && classes$c.icon.open,
|
|
40985
|
+
open || classes$c.icon.close
|
|
40986
40986
|
)
|
|
40987
40987
|
}
|
|
40988
40988
|
)
|
|
@@ -40993,7 +40993,7 @@ const Collapse = React__default.memo(
|
|
|
40993
40993
|
Disclosure.Panel,
|
|
40994
40994
|
{
|
|
40995
40995
|
as: "div",
|
|
40996
|
-
className: classes$
|
|
40996
|
+
className: classes$c.container.content,
|
|
40997
40997
|
children
|
|
40998
40998
|
}
|
|
40999
40999
|
) })
|
|
@@ -41222,7 +41222,7 @@ let Builder$1 = class Builder {
|
|
|
41222
41222
|
);
|
|
41223
41223
|
}
|
|
41224
41224
|
};
|
|
41225
|
-
const classes$
|
|
41225
|
+
const classes$b = {
|
|
41226
41226
|
wrap: clsx$1(
|
|
41227
41227
|
gap("gap-1"),
|
|
41228
41228
|
margin("mx-1"),
|
|
@@ -41247,12 +41247,12 @@ const Button = React__default.memo(
|
|
|
41247
41247
|
fullWidth: props == null ? void 0 : props.fullWidth,
|
|
41248
41248
|
tabWithHover: props == null ? void 0 : props.tabWithHover,
|
|
41249
41249
|
children: [
|
|
41250
|
-
props.orientationIcon === "left" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
41250
|
+
props.orientationIcon === "left" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$b.wrap, children: [
|
|
41251
41251
|
Icon,
|
|
41252
41252
|
" ",
|
|
41253
41253
|
props.children
|
|
41254
41254
|
] }),
|
|
41255
|
-
props.orientationIcon === "right" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
41255
|
+
props.orientationIcon === "right" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$b.wrap, children: [
|
|
41256
41256
|
props.children,
|
|
41257
41257
|
" ",
|
|
41258
41258
|
Icon
|
|
@@ -41427,7 +41427,7 @@ const Icons = styled.div`
|
|
|
41427
41427
|
}
|
|
41428
41428
|
}
|
|
41429
41429
|
`;
|
|
41430
|
-
const classes$
|
|
41430
|
+
const classes$a = {
|
|
41431
41431
|
img: "m-auto my-8 md:m-0 md:mr-[40px]"
|
|
41432
41432
|
};
|
|
41433
41433
|
const Footer = React__default.memo(() => {
|
|
@@ -41468,7 +41468,7 @@ const Footer = React__default.memo(() => {
|
|
|
41468
41468
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41469
41469
|
LogoSVG,
|
|
41470
41470
|
{
|
|
41471
|
-
className: classes$
|
|
41471
|
+
className: classes$a.img,
|
|
41472
41472
|
onClick: () => handleOpenNewTab(
|
|
41473
41473
|
"https://www.ccc.cl",
|
|
41474
41474
|
"Pagina Web CCC"
|
|
@@ -41639,7 +41639,7 @@ var SP_Permission = /* @__PURE__ */ ((SP_Permission2) => {
|
|
|
41639
41639
|
SP_Permission2["CAN_DELETE_TEMPORARY_PERMISSION"] = "ELIMINAR_PERMISOS_TEMPORALES";
|
|
41640
41640
|
return SP_Permission2;
|
|
41641
41641
|
})(SP_Permission || {});
|
|
41642
|
-
const classes$
|
|
41642
|
+
const classes$9 = {
|
|
41643
41643
|
content: "fixed col-span-3",
|
|
41644
41644
|
container: "col-span-3 grid grid-cols-3",
|
|
41645
41645
|
show: "font-normal text-base transition-all duration-700 ease-in-out",
|
|
@@ -41761,12 +41761,12 @@ const Sidebar = React__default.memo(
|
|
|
41761
41761
|
}
|
|
41762
41762
|
}
|
|
41763
41763
|
];
|
|
41764
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41764
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$9.container, "data-testid": "tw-sidebar", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$9.content, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
41765
41765
|
"div",
|
|
41766
41766
|
{
|
|
41767
41767
|
className: clsx$1(
|
|
41768
|
-
classes$
|
|
41769
|
-
open ? classes$
|
|
41768
|
+
classes$9.background,
|
|
41769
|
+
open ? classes$9.backgroundSize.open : classes$9.backgroundSize.closed
|
|
41770
41770
|
),
|
|
41771
41771
|
children: [
|
|
41772
41772
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Box, { marginBottom: 8, children: onToggle && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -41777,12 +41777,12 @@ const Sidebar = React__default.memo(
|
|
|
41777
41777
|
onClick: handleClickToggle,
|
|
41778
41778
|
"data-testid": "tw-sidebar-icon",
|
|
41779
41779
|
fullWidth: true,
|
|
41780
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
41781
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41780
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$9.list.wrap, children: [
|
|
41781
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$9.menu.icon, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ForwardRef$g, {}) }),
|
|
41782
41782
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41783
41783
|
"span",
|
|
41784
41784
|
{
|
|
41785
|
-
className: open ? classes$
|
|
41785
|
+
className: open ? classes$9.show : classes$9.hidden,
|
|
41786
41786
|
children: "Minimizar Menú"
|
|
41787
41787
|
}
|
|
41788
41788
|
)
|
|
@@ -41807,7 +41807,7 @@ const Sidebar = React__default.memo(
|
|
|
41807
41807
|
option.except
|
|
41808
41808
|
),
|
|
41809
41809
|
onClick: () => handleClickRef(option.path),
|
|
41810
|
-
className: clsx$1(open && classes$
|
|
41810
|
+
className: clsx$1(open && classes$9.show),
|
|
41811
41811
|
children: open ? option.title : null
|
|
41812
41812
|
}
|
|
41813
41813
|
) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -41823,15 +41823,15 @@ const Sidebar = React__default.memo(
|
|
|
41823
41823
|
history
|
|
41824
41824
|
),
|
|
41825
41825
|
onClick: () => handleClickRef(option.path),
|
|
41826
|
-
className: clsx$1(open && classes$
|
|
41826
|
+
className: clsx$1(open && classes$9.show),
|
|
41827
41827
|
children: open ? option.title : null
|
|
41828
41828
|
}
|
|
41829
41829
|
)
|
|
41830
41830
|
},
|
|
41831
41831
|
option.title
|
|
41832
41832
|
)) }),
|
|
41833
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41834
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "w-full", children: defaultPanel.map((option) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: classes$
|
|
41833
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$9.separator }),
|
|
41834
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "w-full", children: defaultPanel.map((option) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: classes$9.list.item, children: option.rules ? /* @__PURE__ */ jsxRuntimeExports.jsx(Permissions, { inject: signal == null ? void 0 : signal.user, ...option.rules, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41835
41835
|
Button,
|
|
41836
41836
|
{
|
|
41837
41837
|
size: "lg",
|
|
@@ -41845,7 +41845,7 @@ const Sidebar = React__default.memo(
|
|
|
41845
41845
|
option.except
|
|
41846
41846
|
),
|
|
41847
41847
|
onClick: () => handleClickRef(option.path),
|
|
41848
|
-
className: clsx$1(open && classes$
|
|
41848
|
+
className: clsx$1(open && classes$9.show),
|
|
41849
41849
|
children: open ? option.title : null
|
|
41850
41850
|
}
|
|
41851
41851
|
) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -41862,7 +41862,7 @@ const Sidebar = React__default.memo(
|
|
|
41862
41862
|
option.except
|
|
41863
41863
|
),
|
|
41864
41864
|
onClick: () => handleClickRef(option.path),
|
|
41865
|
-
className: clsx$1(open && classes$
|
|
41865
|
+
className: clsx$1(open && classes$9.show),
|
|
41866
41866
|
children: open ? option.title : null
|
|
41867
41867
|
}
|
|
41868
41868
|
) }, option.title)) })
|
|
@@ -41872,7 +41872,7 @@ const Sidebar = React__default.memo(
|
|
|
41872
41872
|
} });
|
|
41873
41873
|
}
|
|
41874
41874
|
);
|
|
41875
|
-
const classes$
|
|
41875
|
+
const classes$8 = {
|
|
41876
41876
|
background: "bg-app",
|
|
41877
41877
|
displayleft: "relative float-left h-20 mt-7 ml-16",
|
|
41878
41878
|
displayright: "relative float-right h-20 mt-7",
|
|
@@ -41943,49 +41943,49 @@ const Navbar = ({
|
|
|
41943
41943
|
const pathname = selected ?? ((_b2 = (_a3 = signal == null ? void 0 : signal.history) == null ? void 0 : _a3.location) == null ? void 0 : _b2.pathname);
|
|
41944
41944
|
const isActive = (pathname == null ? void 0 : pathname.includes("backoffice/periods")) || (pathname == null ? void 0 : pathname.includes("backoffice/mantainers")) || (pathname == null ? void 0 : pathname.includes("backoffice/requirements"));
|
|
41945
41945
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: isDropdown ? /* @__PURE__ */ jsxRuntimeExports.jsx(NavbarDropdown, { previousPath }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
41946
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41947
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41946
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.displayleft, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$8.logo.container, children: [
|
|
41947
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.logo.wrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41948
41948
|
"img",
|
|
41949
41949
|
{
|
|
41950
41950
|
alt: "Logo",
|
|
41951
41951
|
width: 150,
|
|
41952
41952
|
height: 50,
|
|
41953
|
-
className: classes$
|
|
41953
|
+
className: classes$8.logo.root,
|
|
41954
41954
|
src: `${(_c2 = signal == null ? void 0 : signal.environment) == null ? void 0 : _c2.ASSETS}/LogoCCC.png`,
|
|
41955
41955
|
onClick: handleClickLogo
|
|
41956
41956
|
}
|
|
41957
41957
|
) }),
|
|
41958
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41958
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.router.root, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.router.routes, children: routes == null ? void 0 : routes.map((route) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41959
41959
|
"span",
|
|
41960
41960
|
{
|
|
41961
|
-
className: classes$
|
|
41961
|
+
className: classes$8.router.route,
|
|
41962
41962
|
onClick: () => handleRedirectRoute(route == null ? void 0 : route.href),
|
|
41963
41963
|
children: route.name
|
|
41964
41964
|
},
|
|
41965
41965
|
route.name
|
|
41966
41966
|
)) }) })
|
|
41967
41967
|
] }) }),
|
|
41968
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
41969
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: classes$
|
|
41968
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.displayright, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$8.menu.root, children: [
|
|
41969
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: classes$8.menu.button, type: "button", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41970
41970
|
ForwardRef$f,
|
|
41971
41971
|
{
|
|
41972
41972
|
"aria-hidden": "true",
|
|
41973
|
-
className: classes$
|
|
41973
|
+
className: classes$8.menu.headless
|
|
41974
41974
|
}
|
|
41975
41975
|
) }),
|
|
41976
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: classes$
|
|
41976
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: classes$8.menu.button, type: "button", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41977
41977
|
ForwardRef$f,
|
|
41978
41978
|
{
|
|
41979
41979
|
"aria-hidden": "true",
|
|
41980
|
-
className: classes$
|
|
41980
|
+
className: classes$8.menu.headless
|
|
41981
41981
|
}
|
|
41982
41982
|
) }),
|
|
41983
41983
|
isAllowedToSeeSettings() ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
41984
41984
|
"button",
|
|
41985
41985
|
{
|
|
41986
|
-
className: clsx$1(classes$
|
|
41987
|
-
[classes$
|
|
41988
|
-
[classes$
|
|
41986
|
+
className: clsx$1(classes$8.menu.engine, {
|
|
41987
|
+
[classes$8.menu.active]: isActive,
|
|
41988
|
+
[classes$8.menu.button]: !isActive
|
|
41989
41989
|
}),
|
|
41990
41990
|
type: "button",
|
|
41991
41991
|
onClick: handleClickSettings,
|
|
@@ -41993,24 +41993,24 @@ const Navbar = ({
|
|
|
41993
41993
|
ForwardRef$9,
|
|
41994
41994
|
{
|
|
41995
41995
|
"aria-hidden": "true",
|
|
41996
|
-
className: classes$
|
|
41996
|
+
className: classes$8.menu.headless
|
|
41997
41997
|
}
|
|
41998
41998
|
)
|
|
41999
41999
|
}
|
|
42000
42000
|
) : null,
|
|
42001
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
42002
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
42001
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.profile.root, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$8.profile.info, children: [
|
|
42002
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$8.profile.name, children: (signal == null ? void 0 : signal.ref) && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
42003
42003
|
signal == null ? void 0 : signal.ref.firstName,
|
|
42004
42004
|
" ",
|
|
42005
42005
|
(_d = signal == null ? void 0 : signal.ref) == null ? void 0 : _d.lastName
|
|
42006
42006
|
] }) }),
|
|
42007
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
42007
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$8.profile.role, children: ((_e = signal == null ? void 0 : signal.ref) == null ? void 0 : _e.role) && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: (_g = (_f = signal == null ? void 0 : signal.ref) == null ? void 0 : _f.role) == null ? void 0 : _g.toUpperCase() }) }) })
|
|
42008
42008
|
] }) }) }),
|
|
42009
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
42009
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$8.profile.pick, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
42010
42010
|
"img",
|
|
42011
42011
|
{
|
|
42012
42012
|
alt: "Profile",
|
|
42013
|
-
className: classes$
|
|
42013
|
+
className: classes$8.profile.image,
|
|
42014
42014
|
src: `${(_h = signal == null ? void 0 : signal.environment) == null ? void 0 : _h.ASSETS}/Emoji.png`
|
|
42015
42015
|
}
|
|
42016
42016
|
) })
|
|
@@ -42354,7 +42354,7 @@ const PageContainer = styled.div`
|
|
|
42354
42354
|
flex-direction: column;
|
|
42355
42355
|
min-height: 100vh;
|
|
42356
42356
|
`;
|
|
42357
|
-
const classes$
|
|
42357
|
+
const classes$7 = {
|
|
42358
42358
|
grid: "grid grid-cols-12 sm:mx-16 mx-[32px] mt-[9rem] gap-[1.75rem] flex-grow",
|
|
42359
42359
|
open: "col-span-3 grid grid-cols-3 gap-[1.75rem]",
|
|
42360
42360
|
close: "col-span-1 gap-[1.75rem]",
|
|
@@ -42397,7 +42397,7 @@ const Layout = React__default.memo(
|
|
|
42397
42397
|
};
|
|
42398
42398
|
const isDropdown = includeNavbarDropdown;
|
|
42399
42399
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(PageContainer, { children: [
|
|
42400
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
42400
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$7.grid, children: [
|
|
42401
42401
|
includeNavbar && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
42402
42402
|
Box,
|
|
42403
42403
|
{
|
|
@@ -42417,7 +42417,7 @@ const Layout = React__default.memo(
|
|
|
42417
42417
|
)
|
|
42418
42418
|
}
|
|
42419
42419
|
),
|
|
42420
|
-
includeSidebar && /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarContainer, { className: open ? classes$
|
|
42420
|
+
includeSidebar && /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarContainer, { className: open ? classes$7.open : classes$7.close, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
42421
42421
|
Sidebar,
|
|
42422
42422
|
{
|
|
42423
42423
|
open,
|
|
@@ -42525,7 +42525,7 @@ class Builder2 {
|
|
|
42525
42525
|
});
|
|
42526
42526
|
}
|
|
42527
42527
|
}
|
|
42528
|
-
const classes$
|
|
42528
|
+
const classes$6 = {
|
|
42529
42529
|
table: {
|
|
42530
42530
|
container: "table-fixed"
|
|
42531
42531
|
},
|
|
@@ -42803,7 +42803,7 @@ const TwTable = React__default.memo(
|
|
|
42803
42803
|
"span",
|
|
42804
42804
|
{
|
|
42805
42805
|
className: clsx$1(
|
|
42806
|
-
classes$
|
|
42806
|
+
classes$6.row.sortable,
|
|
42807
42807
|
isCurrentSorting && isAsc && "rotate-180",
|
|
42808
42808
|
isOrdering ? "text-darkened" : "text-info"
|
|
42809
42809
|
),
|
|
@@ -42838,7 +42838,7 @@ const TwTable = React__default.memo(
|
|
|
42838
42838
|
"span",
|
|
42839
42839
|
{
|
|
42840
42840
|
className: clsx$1(
|
|
42841
|
-
classes$
|
|
42841
|
+
classes$6.row.sortable,
|
|
42842
42842
|
isOrdering ? "text-darkened" : "text-info",
|
|
42843
42843
|
isAsc && "rotate-180"
|
|
42844
42844
|
),
|
|
@@ -42851,7 +42851,7 @@ const TwTable = React__default.memo(
|
|
|
42851
42851
|
{
|
|
42852
42852
|
className: clsx$1(
|
|
42853
42853
|
(props == null ? void 0 : props.filter) && props.filter,
|
|
42854
|
-
classes$
|
|
42854
|
+
classes$6.row.delete
|
|
42855
42855
|
)
|
|
42856
42856
|
}
|
|
42857
42857
|
)
|
|
@@ -42880,7 +42880,7 @@ const TwTable = React__default.memo(
|
|
|
42880
42880
|
"span",
|
|
42881
42881
|
{
|
|
42882
42882
|
className: clsx$1(
|
|
42883
|
-
classes$
|
|
42883
|
+
classes$6.row.sortable,
|
|
42884
42884
|
isAsc && "rotate-180",
|
|
42885
42885
|
isOrdering ? "text-darkened" : "text-info"
|
|
42886
42886
|
),
|
|
@@ -42896,7 +42896,7 @@ const TwTable = React__default.memo(
|
|
|
42896
42896
|
"span",
|
|
42897
42897
|
{
|
|
42898
42898
|
className: clsx$1(
|
|
42899
|
-
classes$
|
|
42899
|
+
classes$6.row.sortable,
|
|
42900
42900
|
isOrdering ? "text-darkened" : "text-info",
|
|
42901
42901
|
isAsc && "rotate-180"
|
|
42902
42902
|
),
|
|
@@ -42909,7 +42909,7 @@ const TwTable = React__default.memo(
|
|
|
42909
42909
|
{
|
|
42910
42910
|
className: clsx$1(
|
|
42911
42911
|
(props == null ? void 0 : props.filter) && props.filter,
|
|
42912
|
-
classes$
|
|
42912
|
+
classes$6.row.delete
|
|
42913
42913
|
)
|
|
42914
42914
|
}
|
|
42915
42915
|
)
|
|
@@ -42925,7 +42925,7 @@ const TwTable = React__default.memo(
|
|
|
42925
42925
|
cellSpacing,
|
|
42926
42926
|
className: clsx$1(
|
|
42927
42927
|
className && className,
|
|
42928
|
-
classes$
|
|
42928
|
+
classes$6.table.container,
|
|
42929
42929
|
(props == null ? void 0 : props.auto) && "table-auto"
|
|
42930
42930
|
),
|
|
42931
42931
|
children: [
|
|
@@ -42953,7 +42953,7 @@ const TwTable = React__default.memo(
|
|
|
42953
42953
|
Checkbox,
|
|
42954
42954
|
{
|
|
42955
42955
|
checked,
|
|
42956
|
-
className: classes$
|
|
42956
|
+
className: classes$6.selectable,
|
|
42957
42957
|
onChange: handleChangeCheckbox
|
|
42958
42958
|
}
|
|
42959
42959
|
),
|
|
@@ -42977,12 +42977,12 @@ TwTable.defaultProps = {
|
|
|
42977
42977
|
const TableData = React__default.memo(
|
|
42978
42978
|
(props) => {
|
|
42979
42979
|
const defaultClassName = clsx$1(
|
|
42980
|
-
classes$
|
|
42981
|
-
classes$
|
|
42980
|
+
classes$6.data.borders,
|
|
42981
|
+
classes$6.data.container,
|
|
42982
42982
|
props.last && "rounded-r-full",
|
|
42983
42983
|
props.first && "rounded-l-full",
|
|
42984
42984
|
"text-darkened font-bold text-base",
|
|
42985
|
-
props.overflow && classes$
|
|
42985
|
+
props.overflow && classes$6.row.innerText
|
|
42986
42986
|
);
|
|
42987
42987
|
const defaultProps2 = {
|
|
42988
42988
|
align: props.align,
|
|
@@ -43001,7 +43001,7 @@ const TableData = React__default.memo(
|
|
|
43001
43001
|
var _a3;
|
|
43002
43002
|
(_a3 = props.onChangeCheckbox) == null ? void 0 : _a3.call(props, response, props.dataId);
|
|
43003
43003
|
},
|
|
43004
|
-
className: classes$
|
|
43004
|
+
className: classes$6.selectable
|
|
43005
43005
|
}
|
|
43006
43006
|
);
|
|
43007
43007
|
}, [props.checked]);
|
|
@@ -43016,7 +43016,7 @@ const TableData = React__default.memo(
|
|
|
43016
43016
|
var _a4;
|
|
43017
43017
|
(_a4 = props.onChangeRadioButton) == null ? void 0 : _a4.call(props, dataId);
|
|
43018
43018
|
},
|
|
43019
|
-
className: classes$
|
|
43019
|
+
className: classes$6.selectable,
|
|
43020
43020
|
value: dataId
|
|
43021
43021
|
}
|
|
43022
43022
|
);
|
|
@@ -43041,7 +43041,7 @@ const TableData = React__default.memo(
|
|
|
43041
43041
|
if (props == null ? void 0 : props.formatAsStatus) {
|
|
43042
43042
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(StyledTableData, { ...defaultProps2, children: [
|
|
43043
43043
|
renderCheckbox || renderRadioButton,
|
|
43044
|
-
props.icons && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43044
|
+
props.icons && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$6.icons(props == null ? void 0 : props.iconJustify), children: props.icons.map((icon) => icon) }),
|
|
43045
43045
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
43046
43046
|
Status,
|
|
43047
43047
|
{
|
|
@@ -43067,7 +43067,7 @@ const TableData = React__default.memo(
|
|
|
43067
43067
|
] });
|
|
43068
43068
|
}
|
|
43069
43069
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(StyledTableData, { ...defaultProps2, children: [
|
|
43070
|
-
props.icons && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43070
|
+
props.icons && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$6.icons(props == null ? void 0 : props.iconJustify), children: props.icons.map((icon) => icon) }),
|
|
43071
43071
|
props.children
|
|
43072
43072
|
] });
|
|
43073
43073
|
}
|
|
@@ -43086,13 +43086,13 @@ const Status = ({
|
|
|
43086
43086
|
onClick
|
|
43087
43087
|
}) => {
|
|
43088
43088
|
const handleClickDetail = () => onClick && onClick();
|
|
43089
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: onClick ? classes$
|
|
43089
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: onClick ? classes$6.cols.details : classes$6.cols.grids, children: [
|
|
43090
43090
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-1/5 flex justify-start", children: [
|
|
43091
43091
|
value && value,
|
|
43092
43092
|
" ",
|
|
43093
43093
|
children && children
|
|
43094
43094
|
] }),
|
|
43095
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-3/5 flex justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StatusColor, { color: color2, className: classes$
|
|
43095
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-3/5 flex justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StatusColor, { color: color2, className: classes$6.kind }) }),
|
|
43096
43096
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-auto flex justify-end", children: onClick && value === "Borrador" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
43097
43097
|
Button,
|
|
43098
43098
|
{
|
|
@@ -43130,9 +43130,9 @@ const TableRow = ({
|
|
|
43130
43130
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(StyledTableRow, { align, disabled, children });
|
|
43131
43131
|
};
|
|
43132
43132
|
const TableWrapper = ({ children }) => {
|
|
43133
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43133
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$6.row.container, children });
|
|
43134
43134
|
};
|
|
43135
|
-
const classes$
|
|
43135
|
+
const classes$5 = {
|
|
43136
43136
|
input: {
|
|
43137
43137
|
root: "relative w-full",
|
|
43138
43138
|
ref: 'block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-r-lg border-l-gray-50 border-l-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-l-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500" placeholder="Search Mockups, Logos, Design Templates...',
|
|
@@ -43374,17 +43374,17 @@ const Search = React__default.memo(
|
|
|
43374
43374
|
[]
|
|
43375
43375
|
);
|
|
43376
43376
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: (classNames2 == null ? void 0 : classNames2.root) ?? "flex justify-start w-full", children: [
|
|
43377
|
-
dropdown && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: (classNames2 == null ? void 0 : classNames2.dropdown) ?? "w-1/6 grid", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDropdownContainer, { className: classes$
|
|
43377
|
+
dropdown && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: (classNames2 == null ? void 0 : classNames2.dropdown) ?? "w-1/6 grid", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledDropdownContainer, { className: classes$5.dropdown.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
43378
43378
|
StyledDropdown,
|
|
43379
43379
|
{
|
|
43380
43380
|
options: options2 ?? [],
|
|
43381
43381
|
uncontrollable: false,
|
|
43382
43382
|
orientation: "bottom",
|
|
43383
43383
|
classNames: {
|
|
43384
|
-
root: classes$
|
|
43385
|
-
item: classes$
|
|
43386
|
-
title: classes$
|
|
43387
|
-
items: classes$
|
|
43384
|
+
root: classes$5.dropdown.root,
|
|
43385
|
+
item: classes$5.dropdown.item,
|
|
43386
|
+
title: classes$5.dropdown.title,
|
|
43387
|
+
items: classes$5.dropdown.items
|
|
43388
43388
|
},
|
|
43389
43389
|
selected: value,
|
|
43390
43390
|
onChange: handleChangeDropdown
|
|
@@ -43435,7 +43435,7 @@ const Search = React__default.memo(
|
|
|
43435
43435
|
onClearInput && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
43436
43436
|
ForwardRef$2,
|
|
43437
43437
|
{
|
|
43438
|
-
className: classes$
|
|
43438
|
+
className: classes$5.icon.xcircle,
|
|
43439
43439
|
onClick: onClearInput
|
|
43440
43440
|
}
|
|
43441
43441
|
),
|
|
@@ -43659,7 +43659,7 @@ const ScrollSearch = React__default.memo(
|
|
|
43659
43659
|
})
|
|
43660
43660
|
);
|
|
43661
43661
|
const OFFSET_RANGE = 2;
|
|
43662
|
-
const classes$
|
|
43662
|
+
const classes$4 = {
|
|
43663
43663
|
container: "flex items-center justify-between",
|
|
43664
43664
|
controls: {
|
|
43665
43665
|
root: "flex flex-1 justify-between sm:hidden",
|
|
@@ -43722,15 +43722,15 @@ const Pagination = React__default.memo(
|
|
|
43722
43722
|
const handleClickLimit = (value) => {
|
|
43723
43723
|
if (limit !== value && onClickLimit) onClickLimit(value);
|
|
43724
43724
|
};
|
|
43725
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx$1(className && className), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43726
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43727
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
43728
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
43725
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx$1(className && className), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$4.container, children: [
|
|
43726
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$4.controls.root, children: [
|
|
43727
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$4.controls.prev }),
|
|
43728
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$4.controls.next })
|
|
43729
43729
|
] }),
|
|
43730
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43731
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: classes$
|
|
43730
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$4.filter.root, children: [
|
|
43731
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: classes$4.filter.show, children: [
|
|
43732
43732
|
"Mostrar",
|
|
43733
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$
|
|
43733
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$4.filter.info, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
43734
43734
|
Dropdown$1,
|
|
43735
43735
|
{
|
|
43736
43736
|
selected: limit,
|
|
@@ -43742,20 +43742,20 @@ const Pagination = React__default.memo(
|
|
|
43742
43742
|
) }),
|
|
43743
43743
|
info
|
|
43744
43744
|
] }) }),
|
|
43745
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43746
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: classes$
|
|
43745
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$4.filter.end, children: [
|
|
43746
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: classes$4.filter.show, children: total && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: total > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
43747
43747
|
limit && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: hasNext ? parseInt(limit) * page : current }),
|
|
43748
43748
|
" ",
|
|
43749
43749
|
"de ",
|
|
43750
43750
|
total,
|
|
43751
43751
|
" resultados"
|
|
43752
43752
|
] }) }) }),
|
|
43753
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("nav", { className: classes$
|
|
43753
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("nav", { className: classes$4.pagination.root, children: [
|
|
43754
43754
|
hasPrev && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
43755
43755
|
"a",
|
|
43756
43756
|
{
|
|
43757
43757
|
about: "page",
|
|
43758
|
-
className: classes$
|
|
43758
|
+
className: classes$4.pagination.controlsLeft,
|
|
43759
43759
|
onClick: () => handleClickPage(page - 1),
|
|
43760
43760
|
children: [
|
|
43761
43761
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Previous" }),
|
|
@@ -43783,7 +43783,7 @@ const Pagination = React__default.memo(
|
|
|
43783
43783
|
"a",
|
|
43784
43784
|
{
|
|
43785
43785
|
about: "page",
|
|
43786
|
-
className: p === page ? classes$
|
|
43786
|
+
className: p === page ? classes$4.pagination.active : classes$4.pagination.page,
|
|
43787
43787
|
onClick: () => handleClickPage(p),
|
|
43788
43788
|
children: p
|
|
43789
43789
|
}
|
|
@@ -43792,7 +43792,7 @@ const Pagination = React__default.memo(
|
|
|
43792
43792
|
"a",
|
|
43793
43793
|
{
|
|
43794
43794
|
about: "page",
|
|
43795
|
-
className: classes$
|
|
43795
|
+
className: classes$4.pagination.controlsRight,
|
|
43796
43796
|
onClick: () => handleClickPage(page + 1),
|
|
43797
43797
|
children: [
|
|
43798
43798
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Next" }),
|
|
@@ -43822,7 +43822,7 @@ const Pagination = React__default.memo(
|
|
|
43822
43822
|
] }) });
|
|
43823
43823
|
}
|
|
43824
43824
|
);
|
|
43825
|
-
const classes$
|
|
43825
|
+
const classes$3 = {
|
|
43826
43826
|
card: {
|
|
43827
43827
|
size: "col-span-3",
|
|
43828
43828
|
style: "border rounded-3xl bg-white",
|
|
@@ -43843,37 +43843,37 @@ const Card = ({
|
|
|
43843
43843
|
requirement,
|
|
43844
43844
|
description,
|
|
43845
43845
|
Icon
|
|
43846
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43846
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$3.card.size, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$3.card.style, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$3.card.separator, children: [
|
|
43847
43847
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
43848
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("h1", { className: classes$
|
|
43848
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("h1", { className: classes$3.card.title, children: [
|
|
43849
43849
|
" ",
|
|
43850
43850
|
requirement,
|
|
43851
43851
|
" "
|
|
43852
43852
|
] }),
|
|
43853
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: classes$
|
|
43853
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: classes$3.card.body, children: description })
|
|
43854
43854
|
] }),
|
|
43855
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43855
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$3.card.icon, children: [
|
|
43856
43856
|
Icon && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, {}),
|
|
43857
43857
|
" "
|
|
43858
43858
|
] })
|
|
43859
43859
|
] }) }) });
|
|
43860
|
-
const DangerTitle = ({ title, Icon }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43861
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43860
|
+
const DangerTitle = ({ title, Icon }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$3.title.rule, children: [
|
|
43861
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$3.title.icon, children: Icon && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, {}) }),
|
|
43862
43862
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", {}),
|
|
43863
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("h1", { className: classes$
|
|
43863
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("h1", { className: classes$3.title.danger, children: [
|
|
43864
43864
|
" ",
|
|
43865
43865
|
title
|
|
43866
43866
|
] })
|
|
43867
43867
|
] });
|
|
43868
|
-
const CheckTitle = ({ title, Icon }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43869
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43868
|
+
const CheckTitle = ({ title, Icon }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$3.title.rule, children: [
|
|
43869
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$3.title.icon, children: Icon && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, {}) }),
|
|
43870
43870
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", {}),
|
|
43871
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: classes$
|
|
43871
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: classes$3.title.pass, children: title })
|
|
43872
43872
|
] });
|
|
43873
|
-
const AlertTitle = ({ title, Icon }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
43874
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
43873
|
+
const AlertTitle = ({ title, Icon }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$3.title.rule, children: [
|
|
43874
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$3.title.icon, children: Icon && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, {}) }),
|
|
43875
43875
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", {}),
|
|
43876
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: classes$
|
|
43876
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: classes$3.title.alert, children: title })
|
|
43877
43877
|
] });
|
|
43878
43878
|
const BaseColumn = ({
|
|
43879
43879
|
title,
|
|
@@ -59156,7 +59156,7 @@ function createHalfTimeSlots(key, maxInputHours) {
|
|
|
59156
59156
|
};
|
|
59157
59157
|
});
|
|
59158
59158
|
}
|
|
59159
|
-
const classes$
|
|
59159
|
+
const classes$2 = {
|
|
59160
59160
|
title: "text-xl text-primary font-bold",
|
|
59161
59161
|
texts: "mb-2.5",
|
|
59162
59162
|
content: "p-0 m-0",
|
|
@@ -59181,11 +59181,11 @@ const Menu2 = (props) => {
|
|
|
59181
59181
|
setShow((status) => !status);
|
|
59182
59182
|
};
|
|
59183
59183
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
59184
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
59184
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.collapse, children: [
|
|
59185
59185
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59186
59186
|
"div",
|
|
59187
59187
|
{
|
|
59188
|
-
className: classes$
|
|
59188
|
+
className: classes$2.texts,
|
|
59189
59189
|
onClick: () => props.seeDetailsTitles && handleSeeDetails(),
|
|
59190
59190
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { color: props.color, tag: "h1", size: props.size, font: "bold", children: props.title })
|
|
59191
59191
|
}
|
|
@@ -59194,14 +59194,14 @@ const Menu2 = (props) => {
|
|
|
59194
59194
|
ForwardRef$p,
|
|
59195
59195
|
{
|
|
59196
59196
|
className: clsx$1(
|
|
59197
|
-
show2 ? classes$
|
|
59198
|
-
classes$
|
|
59197
|
+
show2 ? classes$2.open : classes$2.close,
|
|
59198
|
+
classes$2.icon
|
|
59199
59199
|
)
|
|
59200
59200
|
}
|
|
59201
59201
|
) })
|
|
59202
59202
|
] }),
|
|
59203
59203
|
/* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
|
|
59204
|
-
show2 && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$
|
|
59204
|
+
show2 && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$2.content, children: props.children }) })
|
|
59205
59205
|
] });
|
|
59206
59206
|
};
|
|
59207
59207
|
Menu2.defaultProps = {
|
|
@@ -59223,7 +59223,7 @@ const Section = React__default.memo((props) => {
|
|
|
59223
59223
|
}
|
|
59224
59224
|
return props == null ? void 0 : props.value;
|
|
59225
59225
|
}, [props == null ? void 0 : props.formatAs, props.value]);
|
|
59226
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$
|
|
59226
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.container, children: [
|
|
59227
59227
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59228
59228
|
Text,
|
|
59229
59229
|
{
|
|
@@ -59241,7 +59241,7 @@ const Section = React__default.memo((props) => {
|
|
|
59241
59241
|
size: props.valueSize,
|
|
59242
59242
|
font: props.valueFont,
|
|
59243
59243
|
color: props.valueColor,
|
|
59244
|
-
className: classes$
|
|
59244
|
+
className: classes$2.value,
|
|
59245
59245
|
children: value
|
|
59246
59246
|
}
|
|
59247
59247
|
)
|
|
@@ -59285,7 +59285,7 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
59285
59285
|
Row,
|
|
59286
59286
|
Section
|
|
59287
59287
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
59288
|
-
const classes = {
|
|
59288
|
+
const classes$1 = {
|
|
59289
59289
|
chevronIcon: (open) => open ? "rotate-180 transform h-5 w-5" : "h-5 w-5",
|
|
59290
59290
|
timeline: {
|
|
59291
59291
|
title: "text-base text-gray-400 font-bold mb-2 ml-6",
|
|
@@ -59365,32 +59365,32 @@ const Timeline = ({ events }) => {
|
|
|
59365
59365
|
if (!events) {
|
|
59366
59366
|
return null;
|
|
59367
59367
|
}
|
|
59368
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes.timeline.container, children: [
|
|
59369
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes.timeline.title, children: "Historial del Curso" }),
|
|
59368
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$1.timeline.container, children: [
|
|
59369
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$1.timeline.title, children: "Historial del Curso" }),
|
|
59370
59370
|
eventsWithData == null ? void 0 : eventsWithData.map((event, index2) => {
|
|
59371
59371
|
const isCurrentCategoryOpen = event.category === openCategory;
|
|
59372
59372
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
59373
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes.timeline.grid, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
59373
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$1.timeline.grid, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
59374
59374
|
"button",
|
|
59375
59375
|
{
|
|
59376
|
-
className: classes.timeline.button.container,
|
|
59376
|
+
className: classes$1.timeline.button.container,
|
|
59377
59377
|
onClick: () => handleSetCategory(event),
|
|
59378
59378
|
children: [
|
|
59379
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes.timeline.button.stack, children: [
|
|
59380
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes.timeline.button.style }),
|
|
59379
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$1.timeline.button.stack, children: [
|
|
59380
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$1.timeline.button.style }),
|
|
59381
59381
|
eventsWithData.length > 1 && index2 < eventsWithData.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx(TimelineUnion, {}),
|
|
59382
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes.timeline.button.category, children: event.category })
|
|
59382
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$1.timeline.button.category, children: event.category })
|
|
59383
59383
|
] }),
|
|
59384
59384
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59385
59385
|
ForwardRef$p,
|
|
59386
59386
|
{
|
|
59387
|
-
className: classes.chevronIcon(isCurrentCategoryOpen)
|
|
59387
|
+
className: classes$1.chevronIcon(isCurrentCategoryOpen)
|
|
59388
59388
|
}
|
|
59389
59389
|
)
|
|
59390
59390
|
]
|
|
59391
59391
|
}
|
|
59392
59392
|
) }),
|
|
59393
|
-
isCurrentCategoryOpen && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes.timeline.grid, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59393
|
+
isCurrentCategoryOpen && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$1.timeline.grid, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59394
59394
|
StyledDisclosure,
|
|
59395
59395
|
{
|
|
59396
59396
|
isOpen: isCurrentCategoryOpen,
|
|
@@ -59401,12 +59401,12 @@ const Timeline = ({ events }) => {
|
|
|
59401
59401
|
event.data.map((item, itemIndex) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
59402
59402
|
"li",
|
|
59403
59403
|
{
|
|
59404
|
-
className: classes.timeline.list.item,
|
|
59404
|
+
className: classes$1.timeline.list.item,
|
|
59405
59405
|
children: [
|
|
59406
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes.timeline.list.styles }),
|
|
59407
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: classes.timeline.list.name, children: item == null ? void 0 : item.name }),
|
|
59408
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: classes.timeline.list.date, children: item == null ? void 0 : item.date }),
|
|
59409
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: classes.timeline.list.author, children: item == null ? void 0 : item.author })
|
|
59406
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: classes$1.timeline.list.styles }),
|
|
59407
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: classes$1.timeline.list.name, children: item == null ? void 0 : item.name }),
|
|
59408
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: classes$1.timeline.list.date, children: item == null ? void 0 : item.date }),
|
|
59409
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: classes$1.timeline.list.author, children: item == null ? void 0 : item.author })
|
|
59410
59410
|
]
|
|
59411
59411
|
},
|
|
59412
59412
|
itemIndex
|
|
@@ -61055,6 +61055,51 @@ const Dragarea = React__default.memo(
|
|
|
61055
61055
|
);
|
|
61056
61056
|
}
|
|
61057
61057
|
);
|
|
61058
|
+
const classes = {
|
|
61059
|
+
container: "flex items-center w-[562px] text-xs text-gray-900 font-medium sm:text-base",
|
|
61060
|
+
lastItem: "flex w-full relative text-gray-900",
|
|
61061
|
+
stepItem: " flex w-full relative text-gray-900 after:content-[''] after:w-full after:h-[6px] after:bg-primary after:inline-block after:absolute lg:after:top-6 after:top-3 after:left-4",
|
|
61062
|
+
stepItemDisabled: "flex w-full relative after:w-full after:h-[6px] after:bg-primary/30 after:inline-block after:absolute lg:after:top-6 after:top-3 after:left-4",
|
|
61063
|
+
label: "absolute right-8 w-[107px] h-[38px] text-center",
|
|
61064
|
+
button: {
|
|
61065
|
+
index: "block z-10"
|
|
61066
|
+
}
|
|
61067
|
+
};
|
|
61068
|
+
const Stepper = React__default.memo(({
|
|
61069
|
+
steps: steps2,
|
|
61070
|
+
canProceed,
|
|
61071
|
+
currentStep,
|
|
61072
|
+
onStepChange
|
|
61073
|
+
}) => {
|
|
61074
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: classes.container, children: steps2.map((step, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
61075
|
+
"li",
|
|
61076
|
+
{
|
|
61077
|
+
className: index2 === steps2.length - 1 ? classes.lastItem : canProceed[index2] ? classes.stepItem : classes.stepItemDisabled,
|
|
61078
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes.button.index, children: [
|
|
61079
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
61080
|
+
"button",
|
|
61081
|
+
{
|
|
61082
|
+
disabled: !canProceed[index2],
|
|
61083
|
+
onClick: () => onStepChange(step.id),
|
|
61084
|
+
className: `step-button-root ${currentStep === step.id ? "step-button-selected" : canProceed[index2] ? "step-button-normal" : "step-button-disabled"} `,
|
|
61085
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "step-button-position", children: step.id })
|
|
61086
|
+
}
|
|
61087
|
+
),
|
|
61088
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
61089
|
+
Text,
|
|
61090
|
+
{
|
|
61091
|
+
className: classes.label,
|
|
61092
|
+
size: "lg",
|
|
61093
|
+
color: !canProceed[index2] ? "opaque" : "primary",
|
|
61094
|
+
font: "bold",
|
|
61095
|
+
children: step.label
|
|
61096
|
+
}
|
|
61097
|
+
)
|
|
61098
|
+
] })
|
|
61099
|
+
},
|
|
61100
|
+
step.id
|
|
61101
|
+
)) });
|
|
61102
|
+
});
|
|
61058
61103
|
export {
|
|
61059
61104
|
$channels,
|
|
61060
61105
|
$events,
|
|
@@ -61115,6 +61160,7 @@ export {
|
|
|
61115
61160
|
Sidebar,
|
|
61116
61161
|
SignalContext,
|
|
61117
61162
|
SingleDeadlineChart,
|
|
61163
|
+
Stepper,
|
|
61118
61164
|
Subtitle,
|
|
61119
61165
|
Success,
|
|
61120
61166
|
Switch,
|