@temp-spotwork/ui 1.7.4 → 1.7.5
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/{Combination-B1NSOvaC.js → Combination-Cmsu7uVq.js} +1 -1
- package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-BVfed4GL.js} +2 -2
- package/dist/{addYears-D3POA9ql.js → addYears-BWBSd1NA.js} +1 -1
- package/dist/components/atoms/conversation/chatheader/chatheader.js +1 -1
- package/dist/components/atoms/form/calendar/calendar-date-cell.js +7 -7
- package/dist/components/atoms/form/calendar/calendar-month.js +1 -1
- package/dist/components/atoms/form/calendar/calendar-utils.js +1 -1
- package/dist/components/atoms/form/calendar/calendar.js +1 -1
- package/dist/components/atoms/form/calendar/calendar.stories.js +2 -2
- package/dist/components/atoms/form/calendar/month-header.js +1 -1
- package/dist/components/atoms/form/checkbox/checkbox.js +1 -1
- package/dist/components/atoms/form/chips/chips.js +1 -1
- package/dist/components/atoms/form/dateselect/date-calendar.js +1 -1
- package/dist/components/atoms/form/dateselect/date-dropdown-header.js +1 -1
- package/dist/components/atoms/form/dateselect/date-input.js +3 -3
- package/dist/components/atoms/form/dateselect/date-month-year-switch.js +1 -1
- package/dist/components/atoms/form/dateselect/dateselect.js +4 -4
- package/dist/components/atoms/form/dateselect/month-switch.js +3 -3
- package/dist/components/atoms/form/dateselect/year-switch.js +4 -4
- package/dist/components/atoms/form/dropdown/dropdown.js +2 -2
- package/dist/components/atoms/form/dropdown/styles.js +1 -1
- package/dist/components/atoms/form/multiselect/multiselect.js +1 -1
- package/dist/components/atoms/form/navigation/navigation.js +1 -1
- package/dist/components/atoms/form/stepper/stepper.js +1 -1
- package/dist/components/atoms/form/switch/switch.js +4 -4
- package/dist/components/atoms/form/textarea/rich-textarea.js +1 -1
- package/dist/components/atoms/form/textarea/textarea.js +1 -1
- package/dist/components/atoms/form/textfield/textfield.js +1 -1
- package/dist/components/atoms/form/time-picker/time-picker-dropdown.js +2 -2
- package/dist/components/atoms/form/time-picker/time-picker-input.js +2 -2
- package/dist/components/atoms/form/time-picker/time-picker.js +1 -1
- package/dist/components/atoms/form/time-picker/time-picker.stories.js +1 -1
- package/dist/components/atoms/form/timeselect/hours-switch.js +2 -2
- package/dist/components/atoms/form/timeselect/minutes-switch.js +2 -2
- package/dist/components/atoms/form/timeselect/timeselect.js +1 -1
- package/dist/components/atoms/icons/icons.js +6 -6
- package/dist/components/atoms/icons/icons.stories.js +1 -1
- package/dist/components/atoms/navigation/navigation-item/navigation-item.d.ts +14 -1
- package/dist/components/atoms/navigation/navigation-item/navigation-item.js +56 -56
- package/dist/components/atoms/small-large-text/small-large-text.js +7 -6
- package/dist/components/atoms/tooltip/tooltip.js +5 -5
- package/dist/components/atoms/tooltip/tooltip.stories.js +1 -1
- package/dist/components/molecules/alert/alert.js +8 -7
- package/dist/components/molecules/conversation/contact/contact.js +1 -1
- package/dist/components/molecules/conversation/message-editor/message-editor.js +1 -1
- package/dist/components/molecules/datatables/row-header/row-header.js +1 -1
- package/dist/components/molecules/dataviz/donut-chart/donut-chart.js +1 -1
- package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.js +1 -1
- package/dist/components/molecules/dialog/dialog.js +8 -7
- package/dist/components/molecules/drawer/drawer.js +14 -13
- package/dist/components/molecules/filter/checkbox/checkbox.js +1 -1
- package/dist/components/molecules/filter/context-search/context-search.js +1 -1
- package/dist/components/molecules/filter/date-range-selector/date-range-selector.js +4 -4
- package/dist/components/molecules/filter/date-selector/date-selector.js +4 -4
- package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.js +2 -2
- package/dist/components/molecules/filter/dropdown-selector/styles.js +1 -1
- package/dist/components/molecules/filter/range-selector/range-selector.js +3 -3
- package/dist/components/molecules/filter/range-selector/styles.js +1 -1
- package/dist/components/molecules/link/link.js +1 -1
- package/dist/components/molecules/navigation/context-menu/context-menu.js +1 -1
- package/dist/components/molecules/navigation/menubar/menubar.js +1 -1
- package/dist/components/molecules/navigation/sidebar/sidebar.js +28 -31
- package/dist/components/molecules/snackbar/Snackbar.stories.js +1 -1
- package/dist/components/molecules/snackbar/index.js +1 -1
- package/dist/components/molecules/snackbar/snackbar.js +7 -6
- package/dist/components/styles/colors/colors.js +1 -1
- package/dist/components/styles/typography/typography.js +1 -1
- package/dist/{constants-BfMb81ht.js → constants-B4duAnvD.js} +5 -5
- package/dist/{format-BwmhcciO.js → format-BuDzOByC.js} +8 -8
- package/dist/{index-QKj2bKph.js → index-Bm3lnWO8.js} +23 -23
- package/dist/{index-DVNTJNwY.js → index-C8EuuBMC.js} +6 -6
- package/dist/{index-B9jfXCBx.js → index-CRTzrqB9.js} +14 -14
- package/dist/{index-Bam3aisa.js → index-CSucbNlF.js} +17 -17
- package/dist/{index-Ck3lRuRz.js → index-CYMdFyYH.js} +10 -10
- package/dist/{index-ByBd5wKB.js → index-C_XRprxd.js} +3 -3
- package/dist/{index-DLKZ-XYv.js → index-DL5wn_Sh.js} +20 -20
- package/dist/{index-fN7hCOo3.js → index-Y8TYOJJY.js} +1 -1
- package/dist/{index-DMvnp-vR.js → index-e0vK3ttb.js} +1 -1
- package/dist/{isToday-DmBTkQMq.js → isToday-CO0rX_Nr.js} +2 -2
- package/dist/{lodash-CyvSh4lH.js → lodash-Da6oICkd.js} +1 -1
- package/dist/main.js +22 -22
- package/dist/purify.es-Bxiq5T7l.js +590 -0
- package/dist/{react-spring_web.modern-BzbxCya-.js → react-spring_web.modern-CKwWSQke.js} +3 -3
- package/dist/{snackbar-CHpPc7Hi.js → snackbar-B9zd5z5s.js} +21 -20
- package/dist/{startOfToday-BPMZZniU.js → startOfToday-CHlrckpa.js} +1 -1
- package/package.json +1 -1
- package/dist/purify.es-CcKdJiNO.js +0 -595
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Typography as
|
|
4
|
-
import { container as
|
|
5
|
-
import { Icons as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p, useState as u } from "react";
|
|
3
|
+
import { Typography as g } from "../../../styles/typography/typography.js";
|
|
4
|
+
import { container as h } from "./styles.js";
|
|
5
|
+
import { Icons as m } from "../../icons/icons.js";
|
|
6
6
|
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
7
7
|
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
8
|
-
import { t as
|
|
9
|
-
import { LoadingSpinner as
|
|
10
|
-
|
|
11
|
-
label: r,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
n,
|
|
34
|
-
{
|
|
35
|
-
icon: t,
|
|
36
|
-
id: `navitem-${r}-start-icon`,
|
|
37
|
-
color: o ? "active" : "default"
|
|
38
|
-
}
|
|
39
|
-
) }),
|
|
40
|
-
/* @__PURE__ */ e(p, { swStyle: 3, color: o ? "active" : "default", className: "whitespace-nowrap", children: r }),
|
|
41
|
-
/* @__PURE__ */ i("div", { className: "ml-auto flex items-center gap-2", children: [
|
|
42
|
-
m && /* @__PURE__ */ e(
|
|
43
|
-
g,
|
|
8
|
+
import { t as w } from "../../../../bundle-mjs-BjFsLjkg.js";
|
|
9
|
+
import { LoadingSpinner as v } from "../../../molecules/button/loading-spinner.js";
|
|
10
|
+
const z = p(
|
|
11
|
+
({ label: t, icon: r, isActive: o = !1, isNavigation: c = !1, onClick: a, href: n, loadingIconSize: l = "small", isLoading: f = !1 }) => {
|
|
12
|
+
const [d, i] = u(!1);
|
|
13
|
+
return /* @__PURE__ */ s(
|
|
14
|
+
"a",
|
|
15
|
+
{
|
|
16
|
+
href: n,
|
|
17
|
+
tabIndex: 0,
|
|
18
|
+
className: w(
|
|
19
|
+
h,
|
|
20
|
+
"flex items-center min-w-[14rem] focus:outline-none focus:bg-surface-active",
|
|
21
|
+
// horizontal layout
|
|
22
|
+
o ? "bg-surface-active" : "cursor-pointer"
|
|
23
|
+
),
|
|
24
|
+
onFocus: () => i(!0),
|
|
25
|
+
onBlur: () => i(!1),
|
|
26
|
+
onClick: () => {
|
|
27
|
+
a && a(n || "");
|
|
28
|
+
},
|
|
29
|
+
"data-testid": "navigationItem-container",
|
|
30
|
+
children: [
|
|
31
|
+
r && /* @__PURE__ */ e("span", { className: "mr-2", children: /* @__PURE__ */ e(
|
|
32
|
+
m,
|
|
44
33
|
{
|
|
45
|
-
|
|
34
|
+
icon: r,
|
|
35
|
+
id: `navitem-${t}-start-icon`,
|
|
36
|
+
color: o ? "active" : "default"
|
|
46
37
|
}
|
|
47
|
-
),
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
) }),
|
|
39
|
+
/* @__PURE__ */ e(
|
|
40
|
+
g,
|
|
50
41
|
{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
42
|
+
swStyle: 3,
|
|
43
|
+
color: o ? "active" : "default",
|
|
44
|
+
className: "whitespace-nowrap",
|
|
45
|
+
children: t
|
|
55
46
|
}
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ s("div", { className: "ml-auto flex items-center gap-2", children: [
|
|
49
|
+
f && /* @__PURE__ */ e(
|
|
50
|
+
v,
|
|
51
|
+
{
|
|
52
|
+
size: l
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
!o && c && d && /* @__PURE__ */ e(m, { icon: "ChevronRight", id: `navitem-${t}-end-icon`, color: "default", disabled: !0 })
|
|
56
|
+
] })
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
z as NavigationItem
|
|
64
64
|
};
|
|
@@ -5,15 +5,16 @@ import "../../styles/colors/colors.js";
|
|
|
5
5
|
import "../../styles/colors/colormap.js";
|
|
6
6
|
import "../icons/iconsSVGs/Large/Profile.js";
|
|
7
7
|
import "../icons/iconsSVGs/Small/Profile.js";
|
|
8
|
-
import "../../../index-
|
|
8
|
+
import "../../../index-Y8TYOJJY.js";
|
|
9
9
|
import { Link as c } from "../../molecules/link/link.js";
|
|
10
10
|
import { useState as d } from "react";
|
|
11
|
+
import "../navigation/navigation-item/navigation-item.js";
|
|
11
12
|
import "../form/dateselect/dateselect.js";
|
|
12
13
|
import "../form/time-picker/time-picker.js";
|
|
13
14
|
import "../form/dropdown/dropdown.js";
|
|
14
15
|
import "../../molecules/filter/dropdown-selector/styles.js";
|
|
15
16
|
import "../form/dropdown-search/dropdown-search.js";
|
|
16
|
-
import "../../../index-
|
|
17
|
+
import "../../../index-e0vK3ttb.js";
|
|
17
18
|
import "../form/textfield/textfield.js";
|
|
18
19
|
import "../form/stepper/stepper.js";
|
|
19
20
|
import "../form/textarea/textarea.js";
|
|
@@ -21,11 +22,11 @@ import "../form/textarea/rich-textarea.js";
|
|
|
21
22
|
import "../form/timeselect/timeselect.js";
|
|
22
23
|
import "../../molecules/datatables/cell/cell.js";
|
|
23
24
|
import "../../molecules/dataviz/donut-chart/donut-chart.js";
|
|
24
|
-
import "../../../react-spring_web.modern-
|
|
25
|
+
import "../../../react-spring_web.modern-CKwWSQke.js";
|
|
25
26
|
import "../../molecules/form/radiogroup/radiogroup.js";
|
|
26
27
|
import "../../../card-Cc2Qkiqr.js";
|
|
27
|
-
import { p as u } from "../../../purify.es-
|
|
28
|
-
function
|
|
28
|
+
import { p as u } from "../../../purify.es-Bxiq5T7l.js";
|
|
29
|
+
function K({ text: o, size: r = 300, isSmall: m = !0 }) {
|
|
29
30
|
const [i, p] = d(m), e = i ? `${o.slice(0, r)}${o.length > r ? "..." : ""}` : o, l = i ? "Show More" : "Show Less";
|
|
30
31
|
return /* @__PURE__ */ n("div", { children: [
|
|
31
32
|
/* @__PURE__ */ t(a, { swStyle: 3, color: "default", children: /* @__PURE__ */ t(
|
|
@@ -41,5 +42,5 @@ function J({ text: o, size: r = 300, isSmall: m = !0 }) {
|
|
|
41
42
|
] });
|
|
42
43
|
}
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
K as SmallLargeText
|
|
45
46
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { T as d,
|
|
2
|
+
import { T as d, b as h, P as f, C as y, A as w } from "../../../index-CSucbNlF.js";
|
|
3
3
|
import { t as x } from "../../../bundle-mjs-BjFsLjkg.js";
|
|
4
4
|
import { tooltipArrowStyles as T, toolTipStyles as g } from "../../styles/tool-tip/styles.js";
|
|
5
5
|
import { Typography as u } from "../../styles/typography/typography.js";
|
|
@@ -8,8 +8,8 @@ const j = ({
|
|
|
8
8
|
isTriggerAsChild: s = !0,
|
|
9
9
|
content: o,
|
|
10
10
|
side: l = "bottom",
|
|
11
|
-
align:
|
|
12
|
-
className:
|
|
11
|
+
align: i = "center",
|
|
12
|
+
className: a,
|
|
13
13
|
sideOffset: p,
|
|
14
14
|
alignOffset: m,
|
|
15
15
|
avoidCollisions: c,
|
|
@@ -19,9 +19,9 @@ const j = ({
|
|
|
19
19
|
/* @__PURE__ */ r(f, { children: /* @__PURE__ */ t(
|
|
20
20
|
y,
|
|
21
21
|
{
|
|
22
|
-
className: x(g,
|
|
22
|
+
className: x(g, a),
|
|
23
23
|
side: l,
|
|
24
|
-
align:
|
|
24
|
+
align: i,
|
|
25
25
|
sideOffset: p,
|
|
26
26
|
alignOffset: m,
|
|
27
27
|
avoidCollisions: c,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as s } from "../../../index-CSucbNlF.js";
|
|
3
3
|
import { Tooltip as n } from "./tooltip.js";
|
|
4
4
|
import { Button as o } from "../../molecules/button/button.js";
|
|
5
5
|
import { Icons as r } from "../icons/icons.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { R as x, P as I, O as T, C as h, T as _, D as u } from "../../../index-
|
|
2
|
+
import { R as x, P as I, O as T, C as h, T as _, D as u } from "../../../index-CYMdFyYH.js";
|
|
3
3
|
import "../../styles/tailwind-config/index.js";
|
|
4
4
|
import { Typography as G } from "../../styles/typography/typography.js";
|
|
5
5
|
import "../../styles/colors/colors.js";
|
|
@@ -8,14 +8,15 @@ import { t as s } from "../../../bundle-mjs-BjFsLjkg.js";
|
|
|
8
8
|
import { Icons as H } from "../../atoms/icons/icons.js";
|
|
9
9
|
import "../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
10
10
|
import "../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
11
|
-
import "../../../index-
|
|
11
|
+
import "../../../index-Y8TYOJJY.js";
|
|
12
12
|
import "react";
|
|
13
|
+
import "../../atoms/navigation/navigation-item/navigation-item.js";
|
|
13
14
|
import "../../atoms/form/dateselect/dateselect.js";
|
|
14
15
|
import "../../atoms/form/time-picker/time-picker.js";
|
|
15
16
|
import "../../atoms/form/dropdown/dropdown.js";
|
|
16
17
|
import "../filter/dropdown-selector/styles.js";
|
|
17
18
|
import "../../atoms/form/dropdown-search/dropdown-search.js";
|
|
18
|
-
import "../../../index-
|
|
19
|
+
import "../../../index-e0vK3ttb.js";
|
|
19
20
|
import "../../atoms/form/textfield/textfield.js";
|
|
20
21
|
import "../../atoms/form/stepper/stepper.js";
|
|
21
22
|
import "../../atoms/form/textarea/textarea.js";
|
|
@@ -24,11 +25,11 @@ import "../../atoms/form/timeselect/timeselect.js";
|
|
|
24
25
|
import { Button as b } from "../button/button.js";
|
|
25
26
|
import "../datatables/cell/cell.js";
|
|
26
27
|
import "../dataviz/donut-chart/donut-chart.js";
|
|
27
|
-
import "../../../react-spring_web.modern-
|
|
28
|
+
import "../../../react-spring_web.modern-CKwWSQke.js";
|
|
28
29
|
import "../form/radiogroup/radiogroup.js";
|
|
29
|
-
import "../../../purify.es-
|
|
30
|
+
import "../../../purify.es-Bxiq5T7l.js";
|
|
30
31
|
import "../../../card-Cc2Qkiqr.js";
|
|
31
|
-
function
|
|
32
|
+
function tr({
|
|
32
33
|
children: p,
|
|
33
34
|
width: c,
|
|
34
35
|
open: d,
|
|
@@ -76,5 +77,5 @@ function or({
|
|
|
76
77
|
] }) });
|
|
77
78
|
}
|
|
78
79
|
export {
|
|
79
|
-
|
|
80
|
+
tr as Alert
|
|
80
81
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as v } from "react";
|
|
3
|
-
import { c as t } from "../../../../index-
|
|
3
|
+
import { c as t } from "../../../../index-Y8TYOJJY.js";
|
|
4
4
|
import { Avatar as C } from "../../../atoms/avatar/avatar.js";
|
|
5
5
|
import { Typography as p } from "../../../styles/typography/typography.js";
|
|
6
6
|
import { Badge as f } from "../../../atoms/badge/badge.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { Textfield as d } from "../../../atoms/form/textfield/textfield.js";
|
|
4
|
-
import { c as m } from "../../../../index-
|
|
4
|
+
import { c as m } from "../../../../index-Y8TYOJJY.js";
|
|
5
5
|
import { messageEditor as l } from "./styles.js";
|
|
6
6
|
function C({
|
|
7
7
|
startIcon: e,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import x from "react";
|
|
3
|
-
import { c as d } from "../../../../index-
|
|
3
|
+
import { c as d } from "../../../../index-Y8TYOJJY.js";
|
|
4
4
|
import { contentBox as h, container as p, containerBorder as u } from "./styles.js";
|
|
5
5
|
import { Avatar as v } from "../../../atoms/avatar/avatar.js";
|
|
6
6
|
import { Typography as N } from "../../../styles/typography/typography.js";
|
|
@@ -5,7 +5,7 @@ import { jsx as H, jsxs as Mt } from "react/jsx-runtime";
|
|
|
5
5
|
import { forwardRef as Ki, useRef as Ke, useEffect as bt } from "react";
|
|
6
6
|
import { Typography as xt } from "../../../styles/typography/typography.js";
|
|
7
7
|
import { getStyles as As } from "./styles.js";
|
|
8
|
-
import { c as Ps } from "../../../../index-
|
|
8
|
+
import { c as Ps } from "../../../../index-Y8TYOJJY.js";
|
|
9
9
|
/*!
|
|
10
10
|
* @kurkle/color v0.3.4
|
|
11
11
|
* https://github.com/kurkle/color#readme
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { Typography as d } from "../../../styles/typography/typography.js";
|
|
3
3
|
import { getClasses as g } from "./styles.js";
|
|
4
|
-
import { c as f } from "../../../../index-
|
|
4
|
+
import { c as f } from "../../../../index-Y8TYOJJY.js";
|
|
5
5
|
function S({
|
|
6
6
|
showSummary: n,
|
|
7
7
|
data: s,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { R as $, P as I, O as _, C as j, T as R, D as z } from "../../../index-
|
|
2
|
+
import { R as $, P as I, O as _, C as j, T as R, D as z } from "../../../index-CYMdFyYH.js";
|
|
3
3
|
import "../../styles/tailwind-config/index.js";
|
|
4
4
|
import { Typography as D } from "../../styles/typography/typography.js";
|
|
5
5
|
import "../../styles/colors/colors.js";
|
|
@@ -8,14 +8,15 @@ import { t as c } from "../../../bundle-mjs-BjFsLjkg.js";
|
|
|
8
8
|
import { Icons as O } from "../../atoms/icons/icons.js";
|
|
9
9
|
import "../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
10
10
|
import "../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
11
|
-
import "../../../index-
|
|
11
|
+
import "../../../index-Y8TYOJJY.js";
|
|
12
12
|
import "react";
|
|
13
|
+
import "../../atoms/navigation/navigation-item/navigation-item.js";
|
|
13
14
|
import "../../atoms/form/dateselect/dateselect.js";
|
|
14
15
|
import "../../atoms/form/time-picker/time-picker.js";
|
|
15
16
|
import "../../atoms/form/dropdown/dropdown.js";
|
|
16
17
|
import "../filter/dropdown-selector/styles.js";
|
|
17
18
|
import "../../atoms/form/dropdown-search/dropdown-search.js";
|
|
18
|
-
import "../../../index-
|
|
19
|
+
import "../../../index-e0vK3ttb.js";
|
|
19
20
|
import "../../atoms/form/textfield/textfield.js";
|
|
20
21
|
import "../../atoms/form/stepper/stepper.js";
|
|
21
22
|
import "../../atoms/form/textarea/textarea.js";
|
|
@@ -24,12 +25,12 @@ import "../../atoms/form/timeselect/timeselect.js";
|
|
|
24
25
|
import { Button as d } from "../button/button.js";
|
|
25
26
|
import "../datatables/cell/cell.js";
|
|
26
27
|
import "../dataviz/donut-chart/donut-chart.js";
|
|
27
|
-
import "../../../react-spring_web.modern-
|
|
28
|
+
import "../../../react-spring_web.modern-CKwWSQke.js";
|
|
28
29
|
import "../form/radiogroup/radiogroup.js";
|
|
29
|
-
import "../../../purify.es-
|
|
30
|
+
import "../../../purify.es-Bxiq5T7l.js";
|
|
30
31
|
import "../../../card-Cc2Qkiqr.js";
|
|
31
32
|
import { useUIElementSize as n } from "./use-ui-element-size.js";
|
|
32
|
-
function
|
|
33
|
+
function dr({
|
|
33
34
|
children: f,
|
|
34
35
|
width: h,
|
|
35
36
|
open: x,
|
|
@@ -101,5 +102,5 @@ function cr({
|
|
|
101
102
|
] }) });
|
|
102
103
|
}
|
|
103
104
|
export {
|
|
104
|
-
|
|
105
|
+
dr as Dialog
|
|
105
106
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as t, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import { useState as I, useRef as y, useMemo as X, useEffect as v } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { R as M, P as q, O as z, C as A, D as G, T as H } from "../../../index-
|
|
3
|
+
import { b as E, u as F, a as g } from "../../../react-spring_web.modern-CKwWSQke.js";
|
|
4
|
+
import { R as M, P as q, O as z, C as A, D as G, T as H } from "../../../index-CYMdFyYH.js";
|
|
5
5
|
import "../../styles/tailwind-config/index.js";
|
|
6
6
|
import { Typography as w } from "../../styles/typography/typography.js";
|
|
7
7
|
import "../../styles/colors/colors.js";
|
|
@@ -9,13 +9,14 @@ import { surface as J } from "../../styles/colors/colormap.js";
|
|
|
9
9
|
import { Icons as K } from "../../atoms/icons/icons.js";
|
|
10
10
|
import "../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
11
11
|
import "../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
12
|
-
import "../../../index-
|
|
12
|
+
import "../../../index-Y8TYOJJY.js";
|
|
13
|
+
import "../../atoms/navigation/navigation-item/navigation-item.js";
|
|
13
14
|
import "../../atoms/form/dateselect/dateselect.js";
|
|
14
15
|
import "../../atoms/form/time-picker/time-picker.js";
|
|
15
16
|
import "../../atoms/form/dropdown/dropdown.js";
|
|
16
17
|
import "../filter/dropdown-selector/styles.js";
|
|
17
18
|
import "../../atoms/form/dropdown-search/dropdown-search.js";
|
|
18
|
-
import "../../../index-
|
|
19
|
+
import "../../../index-e0vK3ttb.js";
|
|
19
20
|
import "../../atoms/form/textfield/textfield.js";
|
|
20
21
|
import "../../atoms/form/stepper/stepper.js";
|
|
21
22
|
import "../../atoms/form/textarea/textarea.js";
|
|
@@ -25,14 +26,14 @@ import { Button as L } from "../button/button.js";
|
|
|
25
26
|
import "../datatables/cell/cell.js";
|
|
26
27
|
import "../dataviz/donut-chart/donut-chart.js";
|
|
27
28
|
import "../form/radiogroup/radiogroup.js";
|
|
28
|
-
import "../../../purify.es-
|
|
29
|
+
import "../../../purify.es-Bxiq5T7l.js";
|
|
29
30
|
import "../../../card-Cc2Qkiqr.js";
|
|
30
|
-
function
|
|
31
|
+
function Nr({
|
|
31
32
|
children: N,
|
|
32
33
|
actionBox: b,
|
|
33
34
|
title: l,
|
|
34
35
|
open: o,
|
|
35
|
-
setOpen:
|
|
36
|
+
setOpen: e,
|
|
36
37
|
width: a,
|
|
37
38
|
transitionDuration: c = 500,
|
|
38
39
|
hasOverlayBg: C = !1,
|
|
@@ -44,7 +45,7 @@ function wr({
|
|
|
44
45
|
scrollBehavior: D = "auto",
|
|
45
46
|
enableScroll: s = !0
|
|
46
47
|
}) {
|
|
47
|
-
const [n, T] = I(c),
|
|
48
|
+
const [n, T] = I(c), i = y(null), h = y(0), R = X(
|
|
48
49
|
() => ({
|
|
49
50
|
from: { opacity: 0, transform: `translateX(${a})` },
|
|
50
51
|
enter: { opacity: 1, transform: "translateX(0%)" },
|
|
@@ -63,12 +64,12 @@ function wr({
|
|
|
63
64
|
config: { duration: n }
|
|
64
65
|
});
|
|
65
66
|
v(() => {
|
|
66
|
-
o && m && s &&
|
|
67
|
+
o && m && s && i.current && (i.current.scrollTop = h.current);
|
|
67
68
|
}, [o, m, s]);
|
|
68
69
|
const $ = () => {
|
|
69
|
-
m && s &&
|
|
70
|
+
m && s && i.current && (h.current = i.current.scrollTop), e == null || e(!1);
|
|
70
71
|
};
|
|
71
|
-
return /* @__PURE__ */ r(M, { open: o, onOpenChange:
|
|
72
|
+
return /* @__PURE__ */ r(M, { open: o, onOpenChange: e, children: /* @__PURE__ */ r(q, { children: B(
|
|
72
73
|
(x, j) => j ? /* @__PURE__ */ t(k, { children: [
|
|
73
74
|
/* @__PURE__ */ r(g.div, { style: { opacity: x.opacity }, children: /* @__PURE__ */ r(
|
|
74
75
|
z,
|
|
@@ -110,7 +111,7 @@ function wr({
|
|
|
110
111
|
o && /* @__PURE__ */ r(
|
|
111
112
|
"div",
|
|
112
113
|
{
|
|
113
|
-
ref:
|
|
114
|
+
ref: i,
|
|
114
115
|
className: `flex-1 ${s ? "overflow-y-auto overflow-x-hidden" : "overflow-hidden"}`,
|
|
115
116
|
style: { scrollBehavior: D },
|
|
116
117
|
children: N
|
|
@@ -124,5 +125,5 @@ function wr({
|
|
|
124
125
|
) }) });
|
|
125
126
|
}
|
|
126
127
|
export {
|
|
127
|
-
|
|
128
|
+
Nr as Drawer
|
|
128
129
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useId as n } from "react";
|
|
3
|
-
import { C as d, a as c } from "../../../../index-
|
|
3
|
+
import { C as d, a as c } from "../../../../index-CRTzrqB9.js";
|
|
4
4
|
import { Icons as i } from "../../../atoms/icons/icons.js";
|
|
5
5
|
import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
6
6
|
import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
@@ -5,7 +5,7 @@ import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
|
5
5
|
import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
6
6
|
import { t as s } from "../../../../bundle-mjs-BjFsLjkg.js";
|
|
7
7
|
import { outlinedBorder as l } from "../../../styles/defaults/defaults.js";
|
|
8
|
-
import "../../../../purify.es-
|
|
8
|
+
import "../../../../purify.es-Bxiq5T7l.js";
|
|
9
9
|
import { styleMap as v } from "../../../styles/typography/style.js";
|
|
10
10
|
import "../../../styles/colors/colormap.js";
|
|
11
11
|
const $ = ({
|
|
@@ -11,11 +11,11 @@ import { Typography as i } from "../../../styles/typography/typography.js";
|
|
|
11
11
|
import { getBorderClasses as ee, getInnerIconColor as te } from "../../../atoms/form/utils-for-forms/state-functions.js";
|
|
12
12
|
import { formatDateToMonthYear as R, parseShortMonthYear as j, formatShortMonthYear as re, isSameMonth as T } from "../../../atoms/form/dateselect/helpers.js";
|
|
13
13
|
import { useStickyZIndex as ne } from "../../../../hooks/use-sticky-z-index.js";
|
|
14
|
-
import { s as se } from "../../../../startOfToday-
|
|
15
|
-
import { p as oe, s as ae, a as ce, e as ie, b as le, c as $, i as f } from "../../../../isToday-
|
|
16
|
-
import { a as L } from "../../../../addYears-
|
|
14
|
+
import { s as se } from "../../../../startOfToday-CHlrckpa.js";
|
|
15
|
+
import { p as oe, s as ae, a as ce, e as ie, b as le, c as $, i as f } from "../../../../isToday-CO0rX_Nr.js";
|
|
16
|
+
import { a as L } from "../../../../addYears-BWBSd1NA.js";
|
|
17
17
|
import { t as m } from "../../../../toDate-DF9e2eS8.js";
|
|
18
|
-
import { f as O, a as D, s as l,
|
|
18
|
+
import { f as O, a as D, s as l, d as de } from "../../../../format-BuDzOByC.js";
|
|
19
19
|
import { i as a } from "../../../../isWithinInterval-BTUruC3j.js";
|
|
20
20
|
import { i as fe } from "../../../../isBefore-D0yKF9R5.js";
|
|
21
21
|
function me(t) {
|
|
@@ -8,12 +8,12 @@ import "../../../styles/colors/colors.js";
|
|
|
8
8
|
import { surface as o } from "../../../styles/colors/colormap.js";
|
|
9
9
|
import { outlinedBorder as dt } from "../../../styles/defaults/defaults.js";
|
|
10
10
|
import { Typography as p } from "../../../styles/typography/typography.js";
|
|
11
|
-
import { c as x } from "../../../../index-
|
|
11
|
+
import { c as x } from "../../../../index-Y8TYOJJY.js";
|
|
12
12
|
import { formatDateToMonthYear as N, endOfMonth as v, parseShortMonthYear as u, formatShortMonthYear as mt, isSameMonth as P, isSameWeek as D } from "../../../atoms/form/dateselect/helpers.js";
|
|
13
|
-
import { s as ft } from "../../../../startOfToday-
|
|
14
|
-
import { p as ht, e as Y, s as ut, a as yt, b as Mt, i as O, c as k } from "../../../../isToday-
|
|
13
|
+
import { s as ft } from "../../../../startOfToday-CHlrckpa.js";
|
|
14
|
+
import { p as ht, e as Y, s as ut, a as yt, b as Mt, i as O, c as k } from "../../../../isToday-CO0rX_Nr.js";
|
|
15
15
|
import { s as gt, a as f } from "../../../../startOfWeek-DBvLd9He.js";
|
|
16
|
-
import { f as s,
|
|
16
|
+
import { f as s, d as pt, a as w } from "../../../../format-BuDzOByC.js";
|
|
17
17
|
function Pt({
|
|
18
18
|
mode: y = "day",
|
|
19
19
|
weekStartsAt: a = 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as V, useState as P } from "react";
|
|
3
|
-
import { R as $, T as F, I as K, P as z, C as L, V as M, a as U } from "../../../../index-
|
|
4
|
-
import { c as W } from "../../../../index-
|
|
3
|
+
import { R as $, T as F, I as K, P as z, C as L, V as M, a as U } from "../../../../index-C8EuuBMC.js";
|
|
4
|
+
import { c as W } from "../../../../index-Y8TYOJJY.js";
|
|
5
5
|
import { outlinedBorder as S, border as Z } from "../../../styles/defaults/defaults.js";
|
|
6
6
|
import { Typography as g } from "../../../styles/typography/typography.js";
|
|
7
7
|
import { filterDropdownStyles as q, contentStyles as G } from "./styles.js";
|
|
@@ -2,8 +2,8 @@ import { jsx as s, jsxs as _ } from "react/jsx-runtime";
|
|
|
2
2
|
import * as w from "react";
|
|
3
3
|
import fe, { useState as F } from "react";
|
|
4
4
|
import { c as Q } from "../../../../index-rKs9bXHr.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as ve, u as ge } from "../../../../index-
|
|
5
|
+
import { n as pe, e as T, c as k, m as B, q as he, h as Se } from "../../../../index-DL5wn_Sh.js";
|
|
6
|
+
import { c as ve, u as ge } from "../../../../index-C_XRprxd.js";
|
|
7
7
|
import { u as be } from "../../../../index-BZPx6jYI.js";
|
|
8
8
|
import { Typography as K } from "../../../styles/typography/typography.js";
|
|
9
9
|
import { Badge as we } from "../../../atoms/badge/badge.js";
|
|
@@ -11,7 +11,7 @@ import { Icons as xe } from "../../../atoms/icons/icons.js";
|
|
|
11
11
|
import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
12
12
|
import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
13
13
|
import { styles as ye } from "./styles.js";
|
|
14
|
-
import { c as L } from "../../../../index-
|
|
14
|
+
import { c as L } from "../../../../index-Y8TYOJJY.js";
|
|
15
15
|
var Z = ["PageUp", "PageDown"], ee = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = {
|
|
16
16
|
"from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
17
17
|
"from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { outlinedBorder as r, border as e } from "../../../styles/defaults/defaults.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../../purify.es-
|
|
3
|
+
import "../../../../purify.es-Bxiq5T7l.js";
|
|
4
4
|
import { styleMap as n } from "../../../styles/typography/style.js";
|
|
5
5
|
import "../../../styles/colors/colormap.js";
|
|
6
6
|
const d = (t, l) => ({
|
|
@@ -3,7 +3,7 @@ import { useState as n } from "react";
|
|
|
3
3
|
import { Icons as c } from "../../atoms/icons/icons.js";
|
|
4
4
|
import "../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
5
5
|
import "../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
6
|
-
import { c as d } from "../../../index-
|
|
6
|
+
import { c as d } from "../../../index-Y8TYOJJY.js";
|
|
7
7
|
import { Typography as x } from "../../styles/typography/typography.js";
|
|
8
8
|
import { baseStyle as $, flexItems as C, typographyStyle as M } from "./styles.js";
|
|
9
9
|
import "../../styles/colors/colors.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { t } from "../../../../bundle-mjs-BjFsLjkg.js";
|
|
3
3
|
import { NavigationItem as a } from "../../../atoms/navigation/navigation-item/navigation-item.js";
|
|
4
|
-
import { I as n } from "../../../../index-
|
|
4
|
+
import { I as n } from "../../../../index-Bm3lnWO8.js";
|
|
5
5
|
function u({ options: m, classNames: o }) {
|
|
6
6
|
return /* @__PURE__ */ r(
|
|
7
7
|
"div",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { R as c, T as f, P as m, C as d } from "../../../../index-
|
|
2
|
+
import { R as c, T as f, P as m, C as d } from "../../../../index-Bm3lnWO8.js";
|
|
3
3
|
import { t as u } from "../../../../bundle-mjs-BjFsLjkg.js";
|
|
4
4
|
function h({
|
|
5
5
|
trigger: a,
|