@cagatayfdn/flora-components 0.0.136 → 0.0.138
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/package.json +1 -1
- package/dist/Accordion.css +0 -1
- package/dist/ActionButton.css +0 -1
- package/dist/AlertCard.css +0 -1
- package/dist/Autocomplete.css +0 -1
- package/dist/Button.css +0 -1
- package/dist/Card.css +0 -1
- package/dist/Checkbox.css +0 -1
- package/dist/Config.css +0 -1
- package/dist/Confirm.css +0 -1
- package/dist/ContentHeader.css +0 -1
- package/dist/Datepicker.css +0 -1
- package/dist/Divider.css +0 -1
- package/dist/DropdownList.css +0 -1
- package/dist/ErrorLogModal.css +0 -1
- package/dist/FileUpload.css +0 -1
- package/dist/FileUpload.module-BxCEtOHx.js +0 -32
- package/dist/Heading.css +0 -1
- package/dist/IconBox.css +0 -1
- package/dist/InfoBoxList.css +0 -1
- package/dist/InfoBoxList.module-BHkAHgos.js +0 -8
- package/dist/InfoDate.css +0 -1
- package/dist/InfoText.css +0 -1
- package/dist/Input.css +0 -1
- package/dist/Label.css +0 -1
- package/dist/Legends.css +0 -1
- package/dist/Loading.css +0 -1
- package/dist/MenuItem-Df6Zsa7E.js +0 -53
- package/dist/MenuItem.css +0 -1
- package/dist/Modal.css +0 -1
- package/dist/NoResult.css +0 -1
- package/dist/PageWrap.css +0 -1
- package/dist/Pager.css +0 -1
- package/dist/Panel.css +0 -1
- package/dist/Radio.css +0 -1
- package/dist/ResultError.css +0 -1
- package/dist/ScrollContainer.css +0 -1
- package/dist/Select-BE_y91ZN.js +0 -1831
- package/dist/Select.css +0 -1
- package/dist/Select.module-ByPQ6qr4.js +0 -21
- package/dist/StatusTag.css +0 -1
- package/dist/StatusTypography.css +0 -1
- package/dist/Stepper.css +0 -1
- package/dist/Switch.css +0 -1
- package/dist/Tab.css +0 -1
- package/dist/Table.css +0 -1
- package/dist/Table.module-DUqpZOLt.js +0 -29
- package/dist/Textarea.css +0 -1
- package/dist/Tooltip.css +0 -1
- package/dist/Trans-B4ILpbwK.js +0 -343
- package/dist/TypographyText.css +0 -1
- package/dist/ValidationError.css +0 -1
- package/dist/_commonjsHelpers-CT_km90n.js +0 -30
- package/dist/_isArray-CBUZFxFA.js +0 -6
- package/dist/_isString-BUpNGP_8.js +0 -6
- package/dist/_reduce-DsUCMz4O.js +0 -148
- package/dist/assets/icons/icons.js +0 -70
- package/dist/assets/images/500_error_2x.gif +0 -0
- package/dist/assets/images/oms.png +0 -0
- package/dist/components/Accordion/Accordion.js +0 -60
- package/dist/components/ActionButton/ActionButton.js +0 -54
- package/dist/components/AlertCard/AlertCard.js +0 -29
- package/dist/components/AuthUserCan/Permission.js +0 -18
- package/dist/components/AuthUserCan/index.js +0 -23
- package/dist/components/Autocomplete/Autocomplete.js +0 -87
- package/dist/components/Button/Button.js +0 -87
- package/dist/components/Card/Card.js +0 -21
- package/dist/components/Charts/Bar.js +0 -18
- package/dist/components/Charts/Legends.js +0 -21
- package/dist/components/Charts/Line.js +0 -18
- package/dist/components/Charts/Pie.js +0 -43
- package/dist/components/Charts/index.js +0 -31
- package/dist/components/Charts/types.js +0 -1
- package/dist/components/Charts/utils.js +0 -12
- package/dist/components/Checkbox/Checkbox.js +0 -68
- package/dist/components/Config/Config.js +0 -32
- package/dist/components/Confirm/Confirm.js +0 -60
- package/dist/components/ContentHeader/ContentHeader.js +0 -75
- package/dist/components/ContentLoader/ContentLoader.js +0 -16
- package/dist/components/Countdown/Countdown.js +0 -20
- package/dist/components/Datepicker/Datepicker.js +0 -1478
- package/dist/components/Divider/Divider.js +0 -27
- package/dist/components/Drawer/Provider.js +0 -24
- package/dist/components/Drawer/index.js +0 -55
- package/dist/components/Dropdown/DropdownList.js +0 -90
- package/dist/components/ErrorLogModal/ErrorLogModal.js +0 -69
- package/dist/components/FileUpload/FileUpload.js +0 -237
- package/dist/components/FileUpload/ImagePreview.js +0 -19
- package/dist/components/FileUpload/LengthCard.js +0 -6
- package/dist/components/FileUpload/PreviewModal.js +0 -53
- package/dist/components/Grid/Column.js +0 -29
- package/dist/components/Grid/Row.js +0 -6
- package/dist/components/Heading/Heading.js +0 -22
- package/dist/components/Icon/index.js +0 -24
- package/dist/components/IconBox/IconBox.js +0 -13
- package/dist/components/InfiniteScroll/InfiniteScroll.js +0 -41
- package/dist/components/InfoBoxList/InfoBoxList.js +0 -30
- package/dist/components/InfoBoxList/helper.js +0 -83
- package/dist/components/InfoDate/InfoDate.js +0 -19
- package/dist/components/InfoText/InfoText.js +0 -13
- package/dist/components/Input/Input.js +0 -140
- package/dist/components/Label/Label.js +0 -22
- package/dist/components/Loading/Loading.js +0 -62
- package/dist/components/Modal/Modal.js +0 -74
- package/dist/components/NavigatorCard/index.js +0 -59
- package/dist/components/NoResult/NoResult.js +0 -12
- package/dist/components/Notification/Notification.js +0 -26
- package/dist/components/PageWrapper/PageWrap.js +0 -46
- package/dist/components/Pager/Pager.js +0 -103
- package/dist/components/Panel/Panel.js +0 -71
- package/dist/components/PermaLink/PermaLink.js +0 -387
- package/dist/components/Radio/Radio.js +0 -96
- package/dist/components/ResultError/ResultError.js +0 -20
- package/dist/components/ScrollContainer/ScrollContainer.js +0 -23
- package/dist/components/Select/NoData.js +0 -10
- package/dist/components/Select/OptionItem.js +0 -19
- package/dist/components/Select/Select.js +0 -13
- package/dist/components/Sidebar/MenuItem.js +0 -9
- package/dist/components/Sidebar/index.js +0 -137
- package/dist/components/StatusTag/StatusTag.js +0 -24
- package/dist/components/StatusTypography/StatusTypography.js +0 -51
- package/dist/components/Stepper/Stepper.js +0 -75
- package/dist/components/Switch/Switch.js +0 -84
- package/dist/components/Tab/Tab.js +0 -28
- package/dist/components/Table/Table.js +0 -271
- package/dist/components/Table/TableHeader.js +0 -137
- package/dist/components/Table/TableSort.js +0 -25
- package/dist/components/Textarea/Textarea.js +0 -95
- package/dist/components/Tooltip/Tooltip.js +0 -1548
- package/dist/components/TypographyText/TypographyText.js +0 -91
- package/dist/components/ValidationError/ValidationError.js +0 -7
- package/dist/components/index.js +0 -133
- package/dist/defineProperty-DeKy1XT0.js +0 -37
- package/dist/enums/appearance.js +0 -14
- package/dist/enums/applicationTypeSlug.js +0 -4
- package/dist/enums/index.js +0 -29
- package/dist/enums/isActiveColor.js +0 -4
- package/dist/enums/size.js +0 -4
- package/dist/enums/status.js +0 -11
- package/dist/equals-PL9KqVQf.js +0 -119
- package/dist/flatpickr-CRz1AV0e.js +0 -59
- package/dist/hooks/index.js +0 -15
- package/dist/hooks/useAauth.js +0 -40
- package/dist/hooks/useDisclosure.js +0 -14
- package/dist/hooks/useDrawer.js +0 -9
- package/dist/hooks/useMediaQuery.js +0 -21
- package/dist/hooks/useNiceModal.js +0 -13
- package/dist/i18nInstance-CiCZbaCK.js +0 -55
- package/dist/includes-8YTFrx85.js +0 -46
- package/dist/index-9ZLCCecr.js +0 -364
- package/dist/index-BHf7G3IG.js +0 -35
- package/dist/index-BJU1K2Aw.js +0 -8003
- package/dist/index-CB61CB0b.js +0 -669
- package/dist/index-H7XbDVmH.js +0 -320
- package/dist/index-JNaMEwgt.js +0 -1413
- package/dist/index.css +0 -1
- package/dist/index.d.mts +0 -1463
- package/dist/index.d.ts +0 -1463
- package/dist/index.js +0 -200
- package/dist/index2.css +0 -1
- package/dist/jsx-runtime-BcAkpsdy.js +0 -631
- package/dist/keys-B0bo5Q7o.js +0 -67
- package/dist/locales/en/index.js +0 -613
- package/dist/locales/i18n.js +0 -1417
- package/dist/locales/index.js +0 -5
- package/dist/locales/tr/index.js +0 -613
- package/dist/main.css +0 -1
- package/dist/main.js +0 -56
- package/dist/prodivers.css +0 -6
- package/dist/prodivers.js +0 -13
- package/dist/react-content-loader.es-CswLCxkm.js +0 -90
- package/dist/react-toastify.esm-BUWNP7Nm.js +0 -808
- package/dist/types/common/date.js +0 -1
- package/dist/types/common/events.js +0 -1
- package/dist/types/common/forms.js +0 -1
- package/dist/types/common/option.js +0 -1
- package/dist/types/index.js +0 -1
- package/dist/useTranslation-CnCPcxVj.js +0 -142
- package/dist/utils/date.js +0 -413
- package/dist/utils/flatpickr.js +0 -4
- package/dist/utils/helper.js +0 -55
- package/dist/utils/index.js +0 -24
- package/dist/utils/language.js +0 -46
- package/dist/utils/validation.js +0 -27
- package/dist/utils/yup.js +0 -2921
package/dist/_reduce-DsUCMz4O.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { _ as y } from "./_isArray-CBUZFxFA.js";
|
|
2
|
-
import { b as h, _ as g } from "./keys-B0bo5Q7o.js";
|
|
3
|
-
import { _ as m } from "./_isString-BUpNGP_8.js";
|
|
4
|
-
function _(t, r) {
|
|
5
|
-
switch (t) {
|
|
6
|
-
case 0:
|
|
7
|
-
return function() {
|
|
8
|
-
return r.apply(this, arguments);
|
|
9
|
-
};
|
|
10
|
-
case 1:
|
|
11
|
-
return function(e) {
|
|
12
|
-
return r.apply(this, arguments);
|
|
13
|
-
};
|
|
14
|
-
case 2:
|
|
15
|
-
return function(e, n) {
|
|
16
|
-
return r.apply(this, arguments);
|
|
17
|
-
};
|
|
18
|
-
case 3:
|
|
19
|
-
return function(e, n, a) {
|
|
20
|
-
return r.apply(this, arguments);
|
|
21
|
-
};
|
|
22
|
-
case 4:
|
|
23
|
-
return function(e, n, a, u) {
|
|
24
|
-
return r.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
case 5:
|
|
27
|
-
return function(e, n, a, u, i) {
|
|
28
|
-
return r.apply(this, arguments);
|
|
29
|
-
};
|
|
30
|
-
case 6:
|
|
31
|
-
return function(e, n, a, u, i, s) {
|
|
32
|
-
return r.apply(this, arguments);
|
|
33
|
-
};
|
|
34
|
-
case 7:
|
|
35
|
-
return function(e, n, a, u, i, s, o) {
|
|
36
|
-
return r.apply(this, arguments);
|
|
37
|
-
};
|
|
38
|
-
case 8:
|
|
39
|
-
return function(e, n, a, u, i, s, o, p) {
|
|
40
|
-
return r.apply(this, arguments);
|
|
41
|
-
};
|
|
42
|
-
case 9:
|
|
43
|
-
return function(e, n, a, u, i, s, o, p, d) {
|
|
44
|
-
return r.apply(this, arguments);
|
|
45
|
-
};
|
|
46
|
-
case 10:
|
|
47
|
-
return function(e, n, a, u, i, s, o, p, d, R) {
|
|
48
|
-
return r.apply(this, arguments);
|
|
49
|
-
};
|
|
50
|
-
default:
|
|
51
|
-
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function v(t) {
|
|
55
|
-
return t != null && typeof t["@@transducer/step"] == "function";
|
|
56
|
-
}
|
|
57
|
-
function X(t, r, e) {
|
|
58
|
-
return function() {
|
|
59
|
-
if (arguments.length === 0)
|
|
60
|
-
return e();
|
|
61
|
-
var n = Array.prototype.slice.call(arguments, 0), a = n.pop();
|
|
62
|
-
if (!y(a)) {
|
|
63
|
-
for (var u = 0; u < t.length; ) {
|
|
64
|
-
if (typeof a[t[u]] == "function")
|
|
65
|
-
return a[t[u]].apply(a, n);
|
|
66
|
-
u += 1;
|
|
67
|
-
}
|
|
68
|
-
if (v(a)) {
|
|
69
|
-
var i = r.apply(null, n);
|
|
70
|
-
return i(a);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return e.apply(this, arguments);
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
const L = {
|
|
77
|
-
init: function() {
|
|
78
|
-
return this.xf["@@transducer/init"]();
|
|
79
|
-
},
|
|
80
|
-
result: function(t) {
|
|
81
|
-
return this.xf["@@transducer/result"](t);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
var b = /* @__PURE__ */ h(function(r) {
|
|
85
|
-
return y(r) ? !0 : !r || typeof r != "object" || m(r) ? !1 : r.nodeType === 1 ? !!r.length : r.length === 0 ? !0 : r.length > 0 ? r.hasOwnProperty(0) && r.hasOwnProperty(r.length - 1) : !1;
|
|
86
|
-
}), w = /* @__PURE__ */ function() {
|
|
87
|
-
function t(r) {
|
|
88
|
-
this.f = r;
|
|
89
|
-
}
|
|
90
|
-
return t.prototype["@@transducer/init"] = function() {
|
|
91
|
-
throw new Error("init not implemented on XWrap");
|
|
92
|
-
}, t.prototype["@@transducer/result"] = function(r) {
|
|
93
|
-
return r;
|
|
94
|
-
}, t.prototype["@@transducer/step"] = function(r, e) {
|
|
95
|
-
return this.f(r, e);
|
|
96
|
-
}, t;
|
|
97
|
-
}();
|
|
98
|
-
function k(t) {
|
|
99
|
-
return new w(t);
|
|
100
|
-
}
|
|
101
|
-
var A = /* @__PURE__ */ g(function(r, e) {
|
|
102
|
-
return _(r.length, function() {
|
|
103
|
-
return r.apply(e, arguments);
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
function E(t, r, e) {
|
|
107
|
-
for (var n = 0, a = e.length; n < a; ) {
|
|
108
|
-
if (r = t["@@transducer/step"](r, e[n]), r && r["@@transducer/reduced"]) {
|
|
109
|
-
r = r["@@transducer/value"];
|
|
110
|
-
break;
|
|
111
|
-
}
|
|
112
|
-
n += 1;
|
|
113
|
-
}
|
|
114
|
-
return t["@@transducer/result"](r);
|
|
115
|
-
}
|
|
116
|
-
function f(t, r, e) {
|
|
117
|
-
for (var n = e.next(); !n.done; ) {
|
|
118
|
-
if (r = t["@@transducer/step"](r, n.value), r && r["@@transducer/reduced"]) {
|
|
119
|
-
r = r["@@transducer/value"];
|
|
120
|
-
break;
|
|
121
|
-
}
|
|
122
|
-
n = e.next();
|
|
123
|
-
}
|
|
124
|
-
return t["@@transducer/result"](r);
|
|
125
|
-
}
|
|
126
|
-
function c(t, r, e, n) {
|
|
127
|
-
return t["@@transducer/result"](e[n](A(t["@@transducer/step"], t), r));
|
|
128
|
-
}
|
|
129
|
-
var l = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
130
|
-
function O(t, r, e) {
|
|
131
|
-
if (typeof t == "function" && (t = k(t)), b(e))
|
|
132
|
-
return E(t, r, e);
|
|
133
|
-
if (typeof e["fantasy-land/reduce"] == "function")
|
|
134
|
-
return c(t, r, e, "fantasy-land/reduce");
|
|
135
|
-
if (e[l] != null)
|
|
136
|
-
return f(t, r, e[l]());
|
|
137
|
-
if (typeof e.next == "function")
|
|
138
|
-
return f(t, r, e);
|
|
139
|
-
if (typeof e.reduce == "function")
|
|
140
|
-
return c(t, r, e, "reduce");
|
|
141
|
-
throw new TypeError("reduce: list must be array or iterable");
|
|
142
|
-
}
|
|
143
|
-
export {
|
|
144
|
-
L as _,
|
|
145
|
-
X as a,
|
|
146
|
-
O as b,
|
|
147
|
-
_ as c
|
|
148
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
var r = /* @__PURE__ */ ((e) => (e.Applications = "applications", e.Attach = "attach", e.Attachment = "attachment", e.Billing = "billing", e.Box = "box", e.Calendar = "calendar", e.Cart = "cart", e.CaseSensitive = "case-sensitive", e.Certificate = "certificate", e.Check = "check", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.CircleMinus = "circle-minus", e.CirclePlus = "circle-plus", e.Clock = "clock", e.CloseWindow = "close-window", e.Close = "close", e.Copy = "copy", e.CreditCard = "credit-card", e.Document = "document", e.DomainRegistration = "domain-registration", e.Domains = "domains", e.DownArrow = "down-arrow", e.DownSquare = "down-square", e.Down = "down", e.Download = "download", e.EditOutline = "edit-outline", e.Edit = "edit", e.Email = "email", e.Environment = "environment", e.ErrorFill = "error-fill", e.Error = "error", e.ExpandWindow = "expand-window", e.FileTextOutlined = "fileTextOutlined", e.Group = "group", e.Info = "info", e.Install = "install", e.Link = "link", e.Log = "log", e.MenuClose = "menu-close", e.MenuOpen = "menu-open", e.Monitoring = "monitoring", e.Network = "network", e.NoResults = "no-results", e.NotEdit = "not-edit", e.OrderDown = "order_down", e.OrderUp = "order_up", e.Out = "out", e.Path = "path", e.Plus = "plus", e.Preview = "preview", e.Profile = "profile", e.ProjectList = "project-list", e.Projects = "projects", e.Regex = "regex", e.Reload = "reload", e.Retry = "retry", e.Search = "search", e.Settings = "settings", e.Support = "support", e.Trash = "trash", e.Users = "users", e.Warning = "warning", e))(r || {});
|
|
2
|
-
const t = {
|
|
3
|
-
applications: "61697",
|
|
4
|
-
attach: "61698",
|
|
5
|
-
attachment: "61699",
|
|
6
|
-
billing: "61700",
|
|
7
|
-
box: "61701",
|
|
8
|
-
calendar: "61702",
|
|
9
|
-
cart: "61703",
|
|
10
|
-
"case-sensitive": "61704",
|
|
11
|
-
certificate: "61705",
|
|
12
|
-
check: "61706",
|
|
13
|
-
"chevron-left": "61707",
|
|
14
|
-
"chevron-right": "61708",
|
|
15
|
-
"circle-minus": "61709",
|
|
16
|
-
"circle-plus": "61710",
|
|
17
|
-
clock: "61711",
|
|
18
|
-
"close-window": "61712",
|
|
19
|
-
close: "61713",
|
|
20
|
-
copy: "61714",
|
|
21
|
-
"credit-card": "61715",
|
|
22
|
-
document: "61716",
|
|
23
|
-
"domain-registration": "61717",
|
|
24
|
-
domains: "61718",
|
|
25
|
-
"down-arrow": "61719",
|
|
26
|
-
"down-square": "61720",
|
|
27
|
-
down: "61721",
|
|
28
|
-
download: "61722",
|
|
29
|
-
"edit-outline": "61723",
|
|
30
|
-
edit: "61724",
|
|
31
|
-
email: "61725",
|
|
32
|
-
environment: "61726",
|
|
33
|
-
"error-fill": "61727",
|
|
34
|
-
error: "61728",
|
|
35
|
-
"expand-window": "61729",
|
|
36
|
-
fileTextOutlined: "61730",
|
|
37
|
-
group: "61731",
|
|
38
|
-
info: "61732",
|
|
39
|
-
install: "61733",
|
|
40
|
-
link: "61734",
|
|
41
|
-
log: "61735",
|
|
42
|
-
"menu-close": "61736",
|
|
43
|
-
"menu-open": "61737",
|
|
44
|
-
monitoring: "61738",
|
|
45
|
-
network: "61739",
|
|
46
|
-
"no-results": "61740",
|
|
47
|
-
"not-edit": "61741",
|
|
48
|
-
order_down: "61742",
|
|
49
|
-
order_up: "61743",
|
|
50
|
-
out: "61744",
|
|
51
|
-
path: "61745",
|
|
52
|
-
plus: "61746",
|
|
53
|
-
preview: "61747",
|
|
54
|
-
profile: "61748",
|
|
55
|
-
"project-list": "61749",
|
|
56
|
-
projects: "61750",
|
|
57
|
-
regex: "61751",
|
|
58
|
-
reload: "61752",
|
|
59
|
-
retry: "61753",
|
|
60
|
-
search: "61754",
|
|
61
|
-
settings: "61755",
|
|
62
|
-
support: "61756",
|
|
63
|
-
trash: "61757",
|
|
64
|
-
users: "61758",
|
|
65
|
-
warning: "61759"
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
t as ICONS_CODEPOINTS,
|
|
69
|
-
r as Icons
|
|
70
|
-
};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useState as p } from "react";
|
|
3
|
-
import { c } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import { Icons as _ } from "../../assets/icons/icons.js";
|
|
5
|
-
import l from "../Icon/index.js";
|
|
6
|
-
import '../../Accordion.css';const v = "_container_1p7vt_2", x = "_header_1p7vt_2", j = "_arrow_1p7vt_2", h = "_up_1p7vt_2", r = {
|
|
7
|
-
container: v,
|
|
8
|
-
header: x,
|
|
9
|
-
arrow: j,
|
|
10
|
-
up: h
|
|
11
|
-
}, I = ({
|
|
12
|
-
children: t,
|
|
13
|
-
title: a,
|
|
14
|
-
isVisible: i,
|
|
15
|
-
className: d,
|
|
16
|
-
onClick: e,
|
|
17
|
-
customItemRenderer: n
|
|
18
|
-
}) => {
|
|
19
|
-
const [s, m] = p(i);
|
|
20
|
-
return /* @__PURE__ */ o.jsxs(
|
|
21
|
-
"div",
|
|
22
|
-
{
|
|
23
|
-
className: c(r.container, d, {
|
|
24
|
-
[r.active]: s
|
|
25
|
-
}),
|
|
26
|
-
"data-testid": "accordion-item",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ o.jsx(
|
|
29
|
-
"div",
|
|
30
|
-
{
|
|
31
|
-
className: r.header,
|
|
32
|
-
onClick: () => {
|
|
33
|
-
e && e(!s), m(!s);
|
|
34
|
-
},
|
|
35
|
-
children: n ? n(s) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
36
|
-
/* @__PURE__ */ o.jsx(
|
|
37
|
-
l,
|
|
38
|
-
{
|
|
39
|
-
name: _.DownArrow,
|
|
40
|
-
className: c(r.arrow, {
|
|
41
|
-
[r.up]: s
|
|
42
|
-
})
|
|
43
|
-
}
|
|
44
|
-
),
|
|
45
|
-
a
|
|
46
|
-
] })
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
s && /* @__PURE__ */ o.jsx("div", { className: r.content, children: t })
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
}, O = ({
|
|
54
|
-
children: t,
|
|
55
|
-
className: a
|
|
56
|
-
}) => /* @__PURE__ */ o.jsx("div", { "data-testid": "accordion", className: c(r.accordionWrap, a), children: t });
|
|
57
|
-
export {
|
|
58
|
-
O as Accordion,
|
|
59
|
-
I as AccordionItem
|
|
60
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import i from "../Button/Button.js";
|
|
3
|
-
import r from "../Icon/index.js";
|
|
4
|
-
import { AppearanceButton as _ } from "../../enums/appearance.js";
|
|
5
|
-
import { c as e } from "../../index-BHf7G3IG.js";
|
|
6
|
-
import { Icons as u } from "../../assets/icons/icons.js";
|
|
7
|
-
import '../../ActionButton.css';const l = "_dropdownMenu_1xfje_2", p = "_icon_1xfje_2", m = "_dropdownMenuWrapper_1xfje_2", x = "_buttonChild_1xfje_2", j = "_dropdownMenu__lg_1xfje_2", f = "_dropdownMenu__md_1xfje_2", w = "_dropdownMenu__sm_1xfje_2", M = "_title_1xfje_2", h = "_active_1xfje_2", t = {
|
|
8
|
-
dropdownMenu: l,
|
|
9
|
-
icon: p,
|
|
10
|
-
dropdownMenuWrapper: m,
|
|
11
|
-
buttonChild: x,
|
|
12
|
-
dropdownMenu__lg: j,
|
|
13
|
-
dropdownMenu__md: f,
|
|
14
|
-
dropdownMenu__sm: w,
|
|
15
|
-
title: M,
|
|
16
|
-
active: h
|
|
17
|
-
};
|
|
18
|
-
function g({ items: s, isDisabled: d }) {
|
|
19
|
-
return /* @__PURE__ */ o.jsx("div", { className: "h-full flex items-center", "data-testid": "actionbutton-container", children: /* @__PURE__ */ o.jsxs("div", { className: e(t.dropdownMenuWrapper, {
|
|
20
|
-
"cursor-not-allowed!": d
|
|
21
|
-
}), children: [
|
|
22
|
-
/* @__PURE__ */ o.jsx(
|
|
23
|
-
i,
|
|
24
|
-
{
|
|
25
|
-
isSolid: !0,
|
|
26
|
-
noBackground: !0,
|
|
27
|
-
noBorder: !0,
|
|
28
|
-
round: !0,
|
|
29
|
-
appearance: _.DEFAULT,
|
|
30
|
-
className: t.buttonChild,
|
|
31
|
-
children: /* @__PURE__ */ o.jsx(r, { name: u.Plus })
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
/* @__PURE__ */ o.jsx("div", { className: e(t.dropdownMenu, {
|
|
35
|
-
[t.disabled]: d
|
|
36
|
-
}), children: /* @__PURE__ */ o.jsx("ul", { "data-testid": "actionbutton-list", children: s.map((n, c) => /* @__PURE__ */ o.jsxs(
|
|
37
|
-
"li",
|
|
38
|
-
{
|
|
39
|
-
"data-testid": "actionbutton-item",
|
|
40
|
-
className: e({
|
|
41
|
-
[t.icon]: n.icon
|
|
42
|
-
}),
|
|
43
|
-
children: [
|
|
44
|
-
n.icon && /* @__PURE__ */ o.jsx(r, { name: n.icon }),
|
|
45
|
-
/* @__PURE__ */ o.jsx("a", { className: "text-dark", onClick: (a) => n.onClick && n.onClick(a), children: n.text })
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
c
|
|
49
|
-
)) }) })
|
|
50
|
-
] }) });
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
g as default
|
|
54
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import n from "../Icon/index.js";
|
|
3
|
-
import { AppearanceAlertCard as l } from "../../enums/appearance.js";
|
|
4
|
-
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
5
|
-
import { Icons as o } from "../../assets/icons/icons.js";
|
|
6
|
-
import '../../AlertCard.css';const i = "_alert_1ryye_2", c = "_alert__warning_1ryye_23", d = "_alert__danger_1ryye_30", t = {
|
|
7
|
-
alert: i,
|
|
8
|
-
alert__warning: c,
|
|
9
|
-
alert__danger: d
|
|
10
|
-
}, g = ({
|
|
11
|
-
description: e,
|
|
12
|
-
onClose: s,
|
|
13
|
-
appearence: a = l.WARNING
|
|
14
|
-
}) => /* @__PURE__ */ r.jsxs(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
"data-testid": "alert-card",
|
|
18
|
-
className: _(t.alert, {
|
|
19
|
-
[t[`alert__${a}`]]: a
|
|
20
|
-
}),
|
|
21
|
-
children: [
|
|
22
|
-
/* @__PURE__ */ r.jsx("span", { children: e }),
|
|
23
|
-
/* @__PURE__ */ r.jsx("div", { onClick: s, children: /* @__PURE__ */ r.jsx(n, { name: o.Close }) })
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
export {
|
|
28
|
-
g as default
|
|
29
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import d from "react";
|
|
3
|
-
import x from "../Tooltip/Tooltip.js";
|
|
4
|
-
import { useAuth as h } from "../../hooks/useAauth.js";
|
|
5
|
-
import { getAuth as j } from "./index.js";
|
|
6
|
-
import { u as T } from "../../useTranslation-CnCPcxVj.js";
|
|
7
|
-
function E(n) {
|
|
8
|
-
const { t: s } = T(), { permItem: i, permType: m, children: o, pk: p, byPass: c, tooltipText: l, id: a } = n, [{ user: u }] = h(), f = l || s("text.no_permission"), e = j({ permItem: i, permType: m, pk: p, user: u });
|
|
9
|
-
if (c)
|
|
10
|
-
return /* @__PURE__ */ t.jsx(t.Fragment, { children: o });
|
|
11
|
-
const r = d.cloneElement(o, {
|
|
12
|
-
isDisabled: !e
|
|
13
|
-
});
|
|
14
|
-
return e ? r : /* @__PURE__ */ t.jsx(x, { id: a, tooltipContent: f, children: r });
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
E as default
|
|
18
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import l from "../ResultError/ResultError.js";
|
|
3
|
-
import { useAuth as u } from "../../hooks/useAauth.js";
|
|
4
|
-
import f from "../../assets/images/500_error_2x.gif";
|
|
5
|
-
import { t as m } from "../../locales/i18n.js";
|
|
6
|
-
const P = () => /* @__PURE__ */ e.jsx(
|
|
7
|
-
l,
|
|
8
|
-
{
|
|
9
|
-
title: m("title.no_authorization"),
|
|
10
|
-
text: m("text.perm_result"),
|
|
11
|
-
image: f
|
|
12
|
-
}
|
|
13
|
-
), x = ({ permType: o, user: t, permItem: s }) => Array(o).flat().map((r) => `${s}::${r}`).every(
|
|
14
|
-
(r) => t == null ? void 0 : t.permissions.includes(r)
|
|
15
|
-
), k = (o) => {
|
|
16
|
-
const { permItem: t, permType: s, fallback: i, children: n, pk: r, byPass: a } = o, [{ user: p }] = u(), c = x({ permItem: t, permType: s, pk: r, user: p });
|
|
17
|
-
return a ? /* @__PURE__ */ e.jsx(e.Fragment, { children: n }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: t && s ? c ? n : i : n });
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
P as PermFallBack,
|
|
21
|
-
k as default,
|
|
22
|
-
x as getAuth
|
|
23
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useState as r } from "react";
|
|
3
|
-
import { c as u } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import S from "../Input/Input.js";
|
|
5
|
-
import N from "../ScrollContainer/ScrollContainer.js";
|
|
6
|
-
import { u as k } from "../../useTranslation-CnCPcxVj.js";
|
|
7
|
-
import '../../Autocomplete.css';const A = "_wrap_1yfy6_2", I = "_input_1yfy6_2", b = "_list_1yfy6_2", L = "_isActive_1yfy6_2", W = "_scrollWrap_1yfy6_2", T = "_selected_1yfy6_2", o = {
|
|
8
|
-
wrap: A,
|
|
9
|
-
input: I,
|
|
10
|
-
list: b,
|
|
11
|
-
isActive: L,
|
|
12
|
-
scrollWrap: W,
|
|
13
|
-
selected: T
|
|
14
|
-
}, O = (d) => {
|
|
15
|
-
const { t: p } = k(), { items: f, className: _ } = d, [i, m] = r(
|
|
16
|
-
[]
|
|
17
|
-
), [n, l] = r(0), [y, a] = r(!1), [g, c] = r(""), x = (s) => {
|
|
18
|
-
const t = s.currentTarget.value, w = f.filter(
|
|
19
|
-
(C) => C.label.toLowerCase().indexOf(t.toLowerCase()) > -1
|
|
20
|
-
);
|
|
21
|
-
c(t), m(w), l(0), a(!0);
|
|
22
|
-
}, h = (s) => {
|
|
23
|
-
m([]), c(s), l(0), a(!1);
|
|
24
|
-
}, j = (s) => {
|
|
25
|
-
if (s.keyCode === 13) {
|
|
26
|
-
const t = i[n];
|
|
27
|
-
c(t.label), l(0), a(!1);
|
|
28
|
-
} else if (s.keyCode === 38) {
|
|
29
|
-
if (n === 0)
|
|
30
|
-
return;
|
|
31
|
-
l(n - 1);
|
|
32
|
-
} else if (s.keyCode === 40) {
|
|
33
|
-
if (n - 1 === i.length)
|
|
34
|
-
return;
|
|
35
|
-
l(n + 1);
|
|
36
|
-
}
|
|
37
|
-
}, v = () => i.length ? /* @__PURE__ */ e.jsx(
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
"data-testid": "suggestions-list-container",
|
|
41
|
-
className: u(o.list, {
|
|
42
|
-
[o.isActive]: i.length
|
|
43
|
-
}),
|
|
44
|
-
children: /* @__PURE__ */ e.jsx(N, { className: o.scrollWrap, children: /* @__PURE__ */ e.jsx("ul", { className: "suggestions", "data-testid": "suggestions-list", children: i.map(
|
|
45
|
-
(s, t) => /* @__PURE__ */ e.jsx(
|
|
46
|
-
"li",
|
|
47
|
-
{
|
|
48
|
-
"data-testid": "suggestions-item",
|
|
49
|
-
className: u({
|
|
50
|
-
[o.selected]: t === n
|
|
51
|
-
}),
|
|
52
|
-
onClick: () => h(s.label),
|
|
53
|
-
children: s.label
|
|
54
|
-
},
|
|
55
|
-
`${s.value}-${t}`
|
|
56
|
-
)
|
|
57
|
-
) }) })
|
|
58
|
-
}
|
|
59
|
-
) : /* @__PURE__ */ e.jsxs("div", { className: "no-suggestions", children: [
|
|
60
|
-
/* @__PURE__ */ e.jsx("span", { role: "img", "aria-label": "tear emoji", children: "😪" }),
|
|
61
|
-
/* @__PURE__ */ e.jsx("em", { children: p("text.sorry_no_suggestions") })
|
|
62
|
-
] });
|
|
63
|
-
return /* @__PURE__ */ e.jsxs(
|
|
64
|
-
"div",
|
|
65
|
-
{
|
|
66
|
-
className: u(_, o.wrap),
|
|
67
|
-
onBlur: () => a(!1),
|
|
68
|
-
"data-testid": "autocomplete",
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ e.jsx(
|
|
71
|
-
S,
|
|
72
|
-
{
|
|
73
|
-
...d,
|
|
74
|
-
wrapperClassName: o.input,
|
|
75
|
-
onChange: x,
|
|
76
|
-
onKeyDown: j,
|
|
77
|
-
value: g
|
|
78
|
-
}
|
|
79
|
-
),
|
|
80
|
-
y && g && /* @__PURE__ */ e.jsx(v, {})
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
};
|
|
85
|
-
export {
|
|
86
|
-
O as default
|
|
87
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as j } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import { AppearanceButton as I } from "../../enums/appearance.js";
|
|
4
|
-
import N from "../Icon/index.js";
|
|
5
|
-
import y from "../Loading/Loading.js";
|
|
6
|
-
import '../../Button.css';const $ = "_btn_1nrmt_2", R = "_btn__block_1nrmt_2", A = "_btn__round_1nrmt_2", B = "_solid__success_1nrmt_2", h = "_solid__danger_1nrmt_2", C = "_solid__warning_1nrmt_2", E = "_solid__default_1nrmt_2", H = "_btn__pill_1nrmt_2", M = "_prefixIcon_1nrmt_2", P = "_btn__loading_1nrmt_2", Y = "_loading_1nrmt_2", q = "_disabled_1nrmt_2", v = "_btn__default_1nrmt_2", F = "_btn__link_1nrmt_2", G = "_btn__primary_1nrmt_2", J = "_btn__success_1nrmt_2", K = "_btn__warning_1nrmt_2", O = "_btn__danger_1nrmt_2", Q = "_btn__dark_1nrmt_2", T = "_btn__xsmall_1nrmt_2", U = "_btn__small_1nrmt_2", V = "_btn__focus_1nrmt_2", _ = {
|
|
7
|
-
btn: $,
|
|
8
|
-
btn__block: R,
|
|
9
|
-
btn__round: A,
|
|
10
|
-
solid__success: B,
|
|
11
|
-
solid__danger: h,
|
|
12
|
-
solid__warning: C,
|
|
13
|
-
solid__default: E,
|
|
14
|
-
btn__pill: H,
|
|
15
|
-
prefixIcon: M,
|
|
16
|
-
btn__loading: P,
|
|
17
|
-
loading: Y,
|
|
18
|
-
disabled: q,
|
|
19
|
-
btn__default: v,
|
|
20
|
-
btn__link: F,
|
|
21
|
-
btn__primary: G,
|
|
22
|
-
btn__success: J,
|
|
23
|
-
btn__warning: K,
|
|
24
|
-
btn__danger: O,
|
|
25
|
-
btn__dark: Q,
|
|
26
|
-
btn__xsmall: T,
|
|
27
|
-
btn__small: U,
|
|
28
|
-
btn__focus: V,
|
|
29
|
-
"no-border": "_no-border_1nrmt_2",
|
|
30
|
-
"no-background": "_no-background_1nrmt_2"
|
|
31
|
-
}, L = ({
|
|
32
|
-
children: d,
|
|
33
|
-
size: s,
|
|
34
|
-
isLoading: n,
|
|
35
|
-
isDisabled: r,
|
|
36
|
-
isBlock: m,
|
|
37
|
-
noBorder: i,
|
|
38
|
-
noBackground: e,
|
|
39
|
-
round: u,
|
|
40
|
-
isSolid: b,
|
|
41
|
-
isPill: g,
|
|
42
|
-
type: l = "button",
|
|
43
|
-
focus: f,
|
|
44
|
-
className: k,
|
|
45
|
-
prefixIcon: a,
|
|
46
|
-
appearance: t = I.PRIMARY,
|
|
47
|
-
onClick: c
|
|
48
|
-
}) => {
|
|
49
|
-
const p = j(
|
|
50
|
-
"btn",
|
|
51
|
-
_.btn,
|
|
52
|
-
{
|
|
53
|
-
[_.btn__block]: m,
|
|
54
|
-
[_[`btn__${t}`]]: t && !b,
|
|
55
|
-
[_[`solid__${t}`]]: b,
|
|
56
|
-
[_[`btn__${s}`]]: s,
|
|
57
|
-
[_["no-border"]]: i,
|
|
58
|
-
[_["no-background"]]: e,
|
|
59
|
-
[_.btn__round]: u,
|
|
60
|
-
[_.btn__loading]: n,
|
|
61
|
-
[_.disabled]: r,
|
|
62
|
-
[_.btn__pill]: g,
|
|
63
|
-
[_.btn__focus]: f
|
|
64
|
-
},
|
|
65
|
-
k
|
|
66
|
-
), x = (w) => {
|
|
67
|
-
!n && c && c(w);
|
|
68
|
-
};
|
|
69
|
-
return /* @__PURE__ */ o.jsxs(
|
|
70
|
-
"button",
|
|
71
|
-
{
|
|
72
|
-
type: l,
|
|
73
|
-
className: p,
|
|
74
|
-
onClick: x,
|
|
75
|
-
"data-testid": `button-${l}`,
|
|
76
|
-
disabled: r,
|
|
77
|
-
children: [
|
|
78
|
-
a && /* @__PURE__ */ o.jsx(N, { name: a, className: _.prefixIcon }),
|
|
79
|
-
d,
|
|
80
|
-
n && /* @__PURE__ */ o.jsx(y, { className: _.loading, layer: !1 })
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
};
|
|
85
|
-
export {
|
|
86
|
-
L as default
|
|
87
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import i from "../Heading/Heading.js";
|
|
3
|
-
import d from "../Icon/index.js";
|
|
4
|
-
import '../../Card.css';const l = "_wrap_1eugx_2", p = "_iconWrap_1eugx_2", x = "_content_1eugx_2", m = "_body_1eugx_2", e = {
|
|
5
|
-
wrap: l,
|
|
6
|
-
iconWrap: p,
|
|
7
|
-
content: x,
|
|
8
|
-
body: m
|
|
9
|
-
}, u = (s) => {
|
|
10
|
-
const { children: t, icon: o, bgColor: c, title: r, description: a } = s;
|
|
11
|
-
return /* @__PURE__ */ n.jsxs("div", { className: e.wrap, "data-testid": "card", children: [
|
|
12
|
-
/* @__PURE__ */ n.jsx("div", { className: e.iconWrap, style: { background: c }, children: o && /* @__PURE__ */ n.jsx(d, { name: o }) }),
|
|
13
|
-
/* @__PURE__ */ n.jsx("div", { className: e.content, children: t || /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
14
|
-
/* @__PURE__ */ n.jsx(i, { level: 3, children: r }),
|
|
15
|
-
/* @__PURE__ */ n.jsx("div", { className: e.body, children: a })
|
|
16
|
-
] }) })
|
|
17
|
-
] });
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
u as default
|
|
21
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { j as s } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { B as e } from "../../index-BJU1K2Aw.js";
|
|
3
|
-
function u({ data: r, options: t }) {
|
|
4
|
-
return /* @__PURE__ */ s.jsx(
|
|
5
|
-
e,
|
|
6
|
-
{
|
|
7
|
-
options: {
|
|
8
|
-
responsive: !0,
|
|
9
|
-
scales: { x: { stacked: !0 }, y: { stacked: !0 } },
|
|
10
|
-
...t
|
|
11
|
-
},
|
|
12
|
-
data: r
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
u as default
|
|
18
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import '../../Legends.css';const c = "_legends_wgrop_2", a = "_dot_wgrop_2", r = {
|
|
3
|
-
legends: c,
|
|
4
|
-
dot: a
|
|
5
|
-
};
|
|
6
|
-
function x({ items: o, colorMap: t }) {
|
|
7
|
-
const d = (s) => s == null ? void 0 : s.map((n, l) => /* @__PURE__ */ e.jsxs("li", { children: [
|
|
8
|
-
/* @__PURE__ */ e.jsx(
|
|
9
|
-
"span",
|
|
10
|
-
{
|
|
11
|
-
className: r.dot,
|
|
12
|
-
style: { backgroundColor: t[n.text] || "#037cf9" }
|
|
13
|
-
}
|
|
14
|
-
),
|
|
15
|
-
/* @__PURE__ */ e.jsx("span", { children: n.text })
|
|
16
|
-
] }, l));
|
|
17
|
-
return /* @__PURE__ */ e.jsx("ul", { className: r.legends, children: d(o) });
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
x as default
|
|
21
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { f as n } from "../../index-BJU1K2Aw.js";
|
|
3
|
-
function f({ data: r, options: e, lineRef: o = null }) {
|
|
4
|
-
return /* @__PURE__ */ t.jsx(
|
|
5
|
-
n,
|
|
6
|
-
{
|
|
7
|
-
options: {
|
|
8
|
-
responsive: !0,
|
|
9
|
-
...e
|
|
10
|
-
},
|
|
11
|
-
ref: o,
|
|
12
|
-
data: r
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
f as default
|
|
18
|
-
};
|