@cagatayfdn/flora-components 0.0.110 → 0.0.112
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/Checkbox.css +1 -1
- package/dist/Table.css +1 -0
- package/dist/Table.module-DeJB9uZC.js +29 -0
- package/dist/assets/icons/icons.js +21 -19
- package/dist/components/Checkbox/Checkbox.js +88 -86
- package/dist/components/Confirm/Confirm.js +46 -38
- package/dist/components/Table/Table.js +143 -123
- package/dist/components/Table/TableHeader.js +135 -12
- package/dist/components/Table/TableSort.js +25 -0
- package/dist/components/index.js +23 -21
- package/dist/enums/index.js +5 -4
- package/dist/enums/status.js +2 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +169 -166
- package/dist/prodivers.css +1 -1
- package/package.json +1 -1
- package/dist/TableHeader-CZpy30xO.js +0 -159
- package/dist/TableHeader.css +0 -1
package/dist/Checkbox.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:icons;src:url(./icons.ttf?
|
|
1
|
+
@font-face{font-family:icons;src:url(./icons.ttf?2f4fd90db48915b2502a5a6e3db3bcc3) format("truetype"),url(./icons.woff?2f4fd90db48915b2502a5a6e3db3bcc3) format("woff"),url(./icons.woff2?2f4fd90db48915b2502a5a6e3db3bcc3) format("woff2")}i[class^=icon-]:before,i[class*=" icon-"]:before{font-family:icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._icon-applications_jd2v3_16:before{content:""}._icon-attach_jd2v3_20:before{content:""}._icon-attachment_jd2v3_24:before{content:""}._icon-billing_jd2v3_28:before{content:""}._icon-box_jd2v3_32:before{content:""}._icon-calendar_jd2v3_36:before{content:""}._icon-cart_jd2v3_40:before{content:""}._icon-certificate_jd2v3_44:before{content:""}._icon-check_jd2v3_48:before{content:""}._icon-chevron-left_jd2v3_52:before{content:""}._icon-chevron-right_jd2v3_56:before{content:""}._icon-circle-minus_jd2v3_60:before{content:""}._icon-circle-plus_jd2v3_64:before{content:""}._icon-clock_jd2v3_68:before{content:""}._icon-close_jd2v3_72:before{content:""}._icon-copy_jd2v3_76:before{content:""}._icon-credit-card_jd2v3_80:before{content:""}._icon-document_jd2v3_84:before{content:""}._icon-domain-registration_jd2v3_88:before{content:""}._icon-domains_jd2v3_92:before{content:""}._icon-down-arrow_jd2v3_96:before{content:""}._icon-down-square_jd2v3_100:before{content:""}._icon-down_jd2v3_96:before{content:""}._icon-download_jd2v3_108:before{content:""}._icon-edit-outline_jd2v3_112:before{content:""}._icon-edit_jd2v3_112:before{content:""}._icon-email_jd2v3_120:before{content:""}._icon-environment_jd2v3_124:before{content:""}._icon-error-fill_jd2v3_128:before{content:""}._icon-error_jd2v3_128:before{content:""}._icon-fileTextOutlined_jd2v3_136:before{content:""}._icon-info_jd2v3_140:before{content:""}._icon-install_jd2v3_144:before{content:""}._icon-link_jd2v3_148:before{content:""}._icon-log_jd2v3_152:before{content:""}._icon-menu-close_jd2v3_156:before{content:""}._icon-menu-open_jd2v3_160:before{content:""}._icon-monitoring_jd2v3_164:before{content:""}._icon-network_jd2v3_168:before{content:""}._icon-no-results_jd2v3_172:before{content:""}._icon-not-edit_jd2v3_176:before{content:""}._icon-order_down_jd2v3_180:before{content:""}._icon-order_up_jd2v3_184:before{content:""}._icon-out_jd2v3_188:before{content:""}._icon-path_jd2v3_192:before{content:""}._icon-plus_jd2v3_196:before{content:""}._icon-preview_jd2v3_200:before{content:""}._icon-profile_jd2v3_204:before{content:""}._icon-project-list_jd2v3_208:before{content:""}._icon-projects_jd2v3_212:before{content:""}._icon-reload_jd2v3_216:before{content:""}._icon-retry_jd2v3_220:before{content:""}._icon-search_jd2v3_224:before{content:""}._icon-settings_jd2v3_228:before{content:""}._icon-support_jd2v3_232:before{content:""}._icon-trash_jd2v3_236:before{content:""}._icon-users_jd2v3_240:before{content:""}._icon-warning_jd2v3_244:before{content:""}._checkbox_jd2v3_248{line-height:18px;position:relative;height:20px;display:inline-block}._checkbox_jd2v3_248 input[type=checkbox]{vertical-align:middle;left:0;position:absolute;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}._checkbox_jd2v3_248 label{padding-left:18px;line-height:22px;font-weight:400;cursor:pointer;color:#fff;margin-bottom:0}._checkbox_jd2v3_248 label span{margin-left:10px}._checkbox_jd2v3_248 input[type=checkbox]+label:before,._checkbox_jd2v3_248 input[type=checkbox]+label:after{content:"";font-family:icons;display:inline-block;vertical-align:middle;position:absolute;top:2px;left:0;cursor:pointer}._checkbox_jd2v3_248 input[type=checkbox]+label:after{color:#fff;font-size:18px;width:18px;height:18px;border-radius:4px}._checkbox_jd2v3_248 input[type=checkbox]+label:before{height:18px;width:18px;background-color:#e9f0f7;border:solid 1px #c8daec;border-radius:4px}._checkbox_jd2v3_248 input[type=checkbox]:disabled{cursor:not-allowed}._checkbox_jd2v3_248 input[type=checkbox]:disabled+label{opacity:.3}._checkbox_jd2v3_248 input[type=checkbox]:checked+label:before{content:"";text-align:center;top:2px;left:0;z-index:1;background-color:#6c7ebe;border-color:#6c7ebe;color:#fdfdfd;font-size:11px;line-height:17px}._checkbox_jd2v3_248 a{text-decoration:underline!important;cursor:pointer!important}._checkbox__filter_jd2v3_322{background-color:#2b344c;border:2px solid #262e47;border-radius:5px;height:40px;padding:10px 10px 10px 0;display:flex;align-items:center}._checkbox__filter_jd2v3_322 label{margin-left:16px}._checkbox__filter_jd2v3_322 label span{color:#fff;font-weight:600}._checkbox__filter_jd2v3_322 input{width:18px!important;height:18px!important}._checkbox__filter_jd2v3_322 input+label:before{margin-top:6px;margin-left:16px;height:18px;width:18px;background-color:#e9f0f7;border:solid 1px #c8daec;border-radius:4px}._switch_jd2v3_352{position:relative;display:inline-block;min-width:43px;height:26px;margin-bottom:0}._switch_jd2v3_352._text-hide_jd2v3_359:before,._switch_jd2v3_352._text-hide_jd2v3_359:after{display:none!important}._switch_jd2v3_352 input{opacity:0;width:0;height:0}._slider_jd2v3_369{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#78788029;-webkit-transition:.4s;transition:.4s}._slider_jd2v3_369:after{content:"";color:#fff;line-height:28px;padding-left:30px}._slider_jd2v3_369:before{position:absolute;content:"";height:22px;width:22px;left:2px;bottom:2px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input:checked+._slider_jd2v3_369{background-color:#71d200}input:checked+._slider_jd2v3_369:after{content:"";padding-left:10px}input:checked+._slider_jd2v3_369:before{-webkit-transform:translateX(17px);-moz-transform:translateX(17px);-ms-transform:translateX(17px);-o-transform:translateX(17px);transform-origin:center center}._slider_jd2v3_369._round_jd2v3_416{border-radius:34px}._slider_jd2v3_369._round_jd2v3_416:before{border-radius:50%;box-shadow:0 3px 1px #0000000f,0 3px 8px #00000026}
|
package/dist/Table.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._wrapper_1g7h7_1{position:relative}._wrapper_1g7h7_1 ._header_1g7h7_4{padding:20px}._wrapper_1g7h7_1 ._header_1g7h7_4 ._title_1g7h7_7{font-size:18px;font-weight:500;color:#062a4a;margin:0}._wrapper_1g7h7_1 ._header_1g7h7_4 ._subTitle_1g7h7_13{margin:0;font-weight:400;color:#788195}._wrapper_1g7h7_1 ._table_1g7h7_18{width:100%;text-align:left;border-spacing:0px;border-collapse:collapse}._wrapper_1g7h7_1 ._table_1g7h7_18._fixed_1g7h7_24{position:relative}._wrapper_1g7h7_1 ._table_1g7h7_18._fixed_1g7h7_24 th{position:sticky;box-shadow:0 2px 2px -1px #00000080;top:0;background:#333b57;z-index:999}._wrapper_1g7h7_1 ._table_1g7h7_18 thead{background-color:#f1f3f9}._wrapper_1g7h7_1 ._table_1g7h7_18 td,._wrapper_1g7h7_1 ._table_1g7h7_18 th{padding:10px 20px;border:1px solid #eef0f2;color:#3f4b5c}._wrapper_1g7h7_1 ._table_1g7h7_18 th{font-weight:500;font-size:12px}._wrapper_1g7h7_1 ._table_1g7h7_18 td{font-weight:400}._wrapper_1g7h7_1._light_1g7h7_50{background-color:#fff;color:#000;border-radius:10px}._wrapper_1g7h7_1._light_1g7h7_50 ._table_1g7h7_18._fixedHeader_1g7h7_55 th{top:0;background:#fff}._wrapper_1g7h7_1._light_1g7h7_50 ._table_1g7h7_18 tbody td{padding:20px}._wrapper_1g7h7_1._light_1g7h7_50 ._table_1g7h7_18 tbody tr:nth-child(2n) td{background-color:#fdfdfd}._wrapper_1g7h7_1._dark_1g7h7_65 ._header_1g7h7_4{padding:20px 12px}._wrapper_1g7h7_1._dark_1g7h7_65 ._header_1g7h7_4 ._title_1g7h7_7{color:#fff}._wrapper_1g7h7_1._dark_1g7h7_65>._tableWrap_1g7h7_71{position:relative;border-radius:10px;box-shadow:0 2px 4px #0003;background-color:#333b57;padding:30px;height:100%}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 thead{background:none}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 thead th{border:none}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 td,._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 th{border:none;color:#3f4b5c}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 td:first-child,._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 th:first-child{padding-left:0}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 td:last-child,._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 th:last-child{padding-right:0}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 th{color:#9b9b9b;font-size:11px;font-weight:600;letter-spacing:.39px;text-transform:uppercase;padding-top:0}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 td{color:#eef0f2;font-size:16px;font-weight:500;border-bottom:1px solid #3f4b5c}._wrapper_1g7h7_1._dark_1g7h7_65 ._table_1g7h7_18 tbody tr:last-child td{border-bottom:none;padding-bottom:0}._wrapper_1g7h7_1._dark_1g7h7_65 ._actionWrap_1g7h7_116{margin-top:0}._tableLoading_1g7h7_120{border-radius:10px}._actionWrap_1g7h7_116{display:flex;justify-content:space-between;margin-top:10px}._selectedAction_1g7h7_130{display:flex}._selectedAction_1g7h7_130 button{margin-left:15px}._rightGroup_1g7h7_137{display:flex}._pageSizeWrap_1g7h7_141{display:inline-flex;align-items:center}._pageSizeWrap_1g7h7_141 span{margin-left:10px;font-weight:500;color:#788195}._pager_1g7h7_151{margin-left:35px}._size_1g7h7_155{max-width:75px}._noResult_1g7h7_159{text-align:left;display:flex;font-weight:500;font-size:15px;min-height:60px;align-items:center}._scrollWrap_1g7h7_168{max-height:100%!important}._justifyContentEnd_1g7h7_172{justify-content:flex-end}._width100_1g7h7_176{width:100%}._sort_1g7h7_180{display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none}._icons_1g7h7_188{display:flex;align-items:center;justify-content:center;gap:2px;color:#1e1e2d}._sorted_1g7h7_196{color:#788195}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import './Table.css';const t = "_wrapper_1g7h7_1", _ = "_header_1g7h7_4", e = "_title_1g7h7_7", o = "_subTitle_1g7h7_13", s = "_table_1g7h7_18", n = "_fixed_1g7h7_24", a = "_light_1g7h7_50", r = "_fixedHeader_1g7h7_55", i = "_dark_1g7h7_65", c = "_tableWrap_1g7h7_71", g = "_actionWrap_1g7h7_116", h = "_tableLoading_1g7h7_120", l = "_selectedAction_1g7h7_130", d = "_rightGroup_1g7h7_137", p = "_pageSizeWrap_1g7h7_141", b = "_pager_1g7h7_151", u = "_size_1g7h7_155", W = "_noResult_1g7h7_159", f = "_scrollWrap_1g7h7_168", x = "_justifyContentEnd_1g7h7_172", w = "_width100_1g7h7_176", z = "_sort_1g7h7_180", y = "_icons_1g7h7_188", j = "_sorted_1g7h7_196", k = {
|
|
2
|
+
wrapper: t,
|
|
3
|
+
header: _,
|
|
4
|
+
title: e,
|
|
5
|
+
subTitle: o,
|
|
6
|
+
table: s,
|
|
7
|
+
fixed: n,
|
|
8
|
+
light: a,
|
|
9
|
+
fixedHeader: r,
|
|
10
|
+
dark: i,
|
|
11
|
+
tableWrap: c,
|
|
12
|
+
actionWrap: g,
|
|
13
|
+
tableLoading: h,
|
|
14
|
+
selectedAction: l,
|
|
15
|
+
rightGroup: d,
|
|
16
|
+
pageSizeWrap: p,
|
|
17
|
+
pager: b,
|
|
18
|
+
size: u,
|
|
19
|
+
noResult: W,
|
|
20
|
+
scrollWrap: f,
|
|
21
|
+
justifyContentEnd: x,
|
|
22
|
+
width100: w,
|
|
23
|
+
sort: z,
|
|
24
|
+
icons: y,
|
|
25
|
+
sorted: j
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
k as s
|
|
29
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
const
|
|
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.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.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.FileTextOutlined = "fileTextOutlined", 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.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
3
|
applications: "61697",
|
|
4
4
|
attach: "61698",
|
|
5
5
|
attachment: "61699",
|
|
@@ -41,23 +41,25 @@ const r = {
|
|
|
41
41
|
network: "61735",
|
|
42
42
|
"no-results": "61736",
|
|
43
43
|
"not-edit": "61737",
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
order_down: "61738",
|
|
45
|
+
order_up: "61739",
|
|
46
|
+
out: "61740",
|
|
47
|
+
path: "61741",
|
|
48
|
+
plus: "61742",
|
|
49
|
+
preview: "61743",
|
|
50
|
+
profile: "61744",
|
|
51
|
+
"project-list": "61745",
|
|
52
|
+
projects: "61746",
|
|
53
|
+
reload: "61747",
|
|
54
|
+
retry: "61748",
|
|
55
|
+
search: "61749",
|
|
56
|
+
settings: "61750",
|
|
57
|
+
support: "61751",
|
|
58
|
+
trash: "61752",
|
|
59
|
+
users: "61753",
|
|
60
|
+
warning: "61754"
|
|
59
61
|
};
|
|
60
62
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
t as ICONS_CODEPOINTS,
|
|
64
|
+
r as Icons
|
|
63
65
|
};
|
|
@@ -1,101 +1,103 @@
|
|
|
1
1
|
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import '../../Checkbox.css';const
|
|
7
|
-
"icon-applications": "_icon-
|
|
8
|
-
"icon-attach": "_icon-
|
|
9
|
-
"icon-attachment": "_icon-
|
|
10
|
-
"icon-billing": "_icon-
|
|
11
|
-
"icon-box": "_icon-
|
|
12
|
-
"icon-calendar": "_icon-
|
|
13
|
-
"icon-cart": "_icon-
|
|
14
|
-
"icon-certificate": "_icon-
|
|
15
|
-
"icon-check": "_icon-
|
|
16
|
-
"icon-chevron-left": "_icon-chevron-
|
|
17
|
-
"icon-chevron-right": "_icon-chevron-
|
|
18
|
-
"icon-circle-minus": "_icon-circle-
|
|
19
|
-
"icon-circle-plus": "_icon-circle-
|
|
20
|
-
"icon-clock": "_icon-
|
|
21
|
-
"icon-close": "_icon-
|
|
22
|
-
"icon-copy": "_icon-
|
|
23
|
-
"icon-credit-card": "_icon-credit-
|
|
24
|
-
"icon-document": "_icon-
|
|
25
|
-
"icon-domain-registration": "_icon-domain-
|
|
26
|
-
"icon-domains": "_icon-
|
|
27
|
-
"icon-down-arrow": "_icon-down-
|
|
28
|
-
"icon-down-square": "_icon-down-
|
|
29
|
-
"icon-down": "_icon-
|
|
30
|
-
"icon-download": "_icon-
|
|
31
|
-
"icon-edit-outline": "_icon-edit-
|
|
32
|
-
"icon-edit": "_icon-
|
|
33
|
-
"icon-email": "_icon-
|
|
34
|
-
"icon-environment": "_icon-
|
|
35
|
-
"icon-error-fill": "_icon-error-
|
|
36
|
-
"icon-error": "_icon-
|
|
37
|
-
"icon-fileTextOutlined": "_icon-
|
|
38
|
-
"icon-info": "_icon-
|
|
39
|
-
"icon-install": "_icon-
|
|
40
|
-
"icon-link": "_icon-
|
|
41
|
-
"icon-log": "_icon-
|
|
42
|
-
"icon-menu-close": "_icon-menu-
|
|
43
|
-
"icon-menu-open": "_icon-menu-
|
|
44
|
-
"icon-monitoring": "_icon-
|
|
45
|
-
"icon-network": "_icon-
|
|
46
|
-
"icon-no-results": "_icon-no-
|
|
47
|
-
"icon-not-edit": "_icon-not-
|
|
48
|
-
"icon-
|
|
49
|
-
"icon-
|
|
50
|
-
"icon-
|
|
51
|
-
"icon-
|
|
52
|
-
"icon-
|
|
53
|
-
"icon-
|
|
54
|
-
"icon-
|
|
55
|
-
"icon-
|
|
56
|
-
"icon-
|
|
57
|
-
"icon-
|
|
58
|
-
"icon-
|
|
59
|
-
"icon-
|
|
60
|
-
"icon-
|
|
61
|
-
"icon-
|
|
62
|
-
"icon-
|
|
63
|
-
|
|
2
|
+
import m, { useState as f, useEffect as x } from "react";
|
|
3
|
+
import { c as k } from "../../index-BHf7G3IG.js";
|
|
4
|
+
import w from "../Label/Label.js";
|
|
5
|
+
import b from "../ValidationError/ValidationError.js";
|
|
6
|
+
import '../../Checkbox.css';const g = "_checkbox_jd2v3_248", y = "_checkbox__filter_jd2v3_322", C = "_slider_jd2v3_369", E = "_round_jd2v3_416", i = {
|
|
7
|
+
"icon-applications": "_icon-applications_jd2v3_16",
|
|
8
|
+
"icon-attach": "_icon-attach_jd2v3_20",
|
|
9
|
+
"icon-attachment": "_icon-attachment_jd2v3_24",
|
|
10
|
+
"icon-billing": "_icon-billing_jd2v3_28",
|
|
11
|
+
"icon-box": "_icon-box_jd2v3_32",
|
|
12
|
+
"icon-calendar": "_icon-calendar_jd2v3_36",
|
|
13
|
+
"icon-cart": "_icon-cart_jd2v3_40",
|
|
14
|
+
"icon-certificate": "_icon-certificate_jd2v3_44",
|
|
15
|
+
"icon-check": "_icon-check_jd2v3_48",
|
|
16
|
+
"icon-chevron-left": "_icon-chevron-left_jd2v3_52",
|
|
17
|
+
"icon-chevron-right": "_icon-chevron-right_jd2v3_56",
|
|
18
|
+
"icon-circle-minus": "_icon-circle-minus_jd2v3_60",
|
|
19
|
+
"icon-circle-plus": "_icon-circle-plus_jd2v3_64",
|
|
20
|
+
"icon-clock": "_icon-clock_jd2v3_68",
|
|
21
|
+
"icon-close": "_icon-close_jd2v3_72",
|
|
22
|
+
"icon-copy": "_icon-copy_jd2v3_76",
|
|
23
|
+
"icon-credit-card": "_icon-credit-card_jd2v3_80",
|
|
24
|
+
"icon-document": "_icon-document_jd2v3_84",
|
|
25
|
+
"icon-domain-registration": "_icon-domain-registration_jd2v3_88",
|
|
26
|
+
"icon-domains": "_icon-domains_jd2v3_92",
|
|
27
|
+
"icon-down-arrow": "_icon-down-arrow_jd2v3_96",
|
|
28
|
+
"icon-down-square": "_icon-down-square_jd2v3_100",
|
|
29
|
+
"icon-down": "_icon-down_jd2v3_96",
|
|
30
|
+
"icon-download": "_icon-download_jd2v3_108",
|
|
31
|
+
"icon-edit-outline": "_icon-edit-outline_jd2v3_112",
|
|
32
|
+
"icon-edit": "_icon-edit_jd2v3_112",
|
|
33
|
+
"icon-email": "_icon-email_jd2v3_120",
|
|
34
|
+
"icon-environment": "_icon-environment_jd2v3_124",
|
|
35
|
+
"icon-error-fill": "_icon-error-fill_jd2v3_128",
|
|
36
|
+
"icon-error": "_icon-error_jd2v3_128",
|
|
37
|
+
"icon-fileTextOutlined": "_icon-fileTextOutlined_jd2v3_136",
|
|
38
|
+
"icon-info": "_icon-info_jd2v3_140",
|
|
39
|
+
"icon-install": "_icon-install_jd2v3_144",
|
|
40
|
+
"icon-link": "_icon-link_jd2v3_148",
|
|
41
|
+
"icon-log": "_icon-log_jd2v3_152",
|
|
42
|
+
"icon-menu-close": "_icon-menu-close_jd2v3_156",
|
|
43
|
+
"icon-menu-open": "_icon-menu-open_jd2v3_160",
|
|
44
|
+
"icon-monitoring": "_icon-monitoring_jd2v3_164",
|
|
45
|
+
"icon-network": "_icon-network_jd2v3_168",
|
|
46
|
+
"icon-no-results": "_icon-no-results_jd2v3_172",
|
|
47
|
+
"icon-not-edit": "_icon-not-edit_jd2v3_176",
|
|
48
|
+
"icon-order_down": "_icon-order_down_jd2v3_180",
|
|
49
|
+
"icon-order_up": "_icon-order_up_jd2v3_184",
|
|
50
|
+
"icon-out": "_icon-out_jd2v3_188",
|
|
51
|
+
"icon-path": "_icon-path_jd2v3_192",
|
|
52
|
+
"icon-plus": "_icon-plus_jd2v3_196",
|
|
53
|
+
"icon-preview": "_icon-preview_jd2v3_200",
|
|
54
|
+
"icon-profile": "_icon-profile_jd2v3_204",
|
|
55
|
+
"icon-project-list": "_icon-project-list_jd2v3_208",
|
|
56
|
+
"icon-projects": "_icon-projects_jd2v3_212",
|
|
57
|
+
"icon-reload": "_icon-reload_jd2v3_216",
|
|
58
|
+
"icon-retry": "_icon-retry_jd2v3_220",
|
|
59
|
+
"icon-search": "_icon-search_jd2v3_224",
|
|
60
|
+
"icon-settings": "_icon-settings_jd2v3_228",
|
|
61
|
+
"icon-support": "_icon-support_jd2v3_232",
|
|
62
|
+
"icon-trash": "_icon-trash_jd2v3_236",
|
|
63
|
+
"icon-users": "_icon-users_jd2v3_240",
|
|
64
|
+
"icon-warning": "_icon-warning_jd2v3_244",
|
|
65
|
+
checkbox: g,
|
|
64
66
|
checkbox__filter: y,
|
|
65
|
-
switch: "
|
|
66
|
-
"text-hide": "_text-
|
|
67
|
+
switch: "_switch_jd2v3_352",
|
|
68
|
+
"text-hide": "_text-hide_jd2v3_359",
|
|
67
69
|
slider: C,
|
|
68
70
|
round: E
|
|
69
|
-
}, F =
|
|
71
|
+
}, F = m.forwardRef(
|
|
70
72
|
({
|
|
71
73
|
name: c,
|
|
72
|
-
label:
|
|
73
|
-
labelAppearance:
|
|
74
|
-
error:
|
|
75
|
-
isDisabled:
|
|
76
|
-
isInline:
|
|
74
|
+
label: e,
|
|
75
|
+
labelAppearance: a,
|
|
76
|
+
error: d,
|
|
77
|
+
isDisabled: t = !1,
|
|
78
|
+
isInline: v,
|
|
77
79
|
checked: n = !1,
|
|
78
|
-
onChange:
|
|
79
|
-
filterInput:
|
|
80
|
-
wrapperClassName:
|
|
80
|
+
onChange: r,
|
|
81
|
+
filterInput: h,
|
|
82
|
+
wrapperClassName: p,
|
|
81
83
|
..._
|
|
82
84
|
}) => {
|
|
83
|
-
const [
|
|
85
|
+
const [s, l] = f(
|
|
84
86
|
n || !!_.value
|
|
85
87
|
);
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
x(() => {
|
|
89
|
+
l(n);
|
|
88
90
|
}, [n]);
|
|
89
|
-
const
|
|
90
|
-
!_.readOnly && !
|
|
91
|
+
const u = (j) => {
|
|
92
|
+
!_.readOnly && !t && (j.persist(), l(!s), r && r(j));
|
|
91
93
|
};
|
|
92
94
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
93
95
|
/* @__PURE__ */ o.jsxs(
|
|
94
96
|
"div",
|
|
95
97
|
{
|
|
96
|
-
className:
|
|
97
|
-
[i.inline]:
|
|
98
|
-
[i.checkbox__filter]:
|
|
98
|
+
className: k(i.checkbox, p, {
|
|
99
|
+
[i.inline]: v,
|
|
100
|
+
[i.checkbox__filter]: h
|
|
99
101
|
}),
|
|
100
102
|
"data-testid": "checkbox",
|
|
101
103
|
children: [
|
|
@@ -105,17 +107,17 @@ import '../../Checkbox.css';const v = "_checkbox_1hdsg_240", y = "_checkbox__fil
|
|
|
105
107
|
type: "checkbox",
|
|
106
108
|
name: c,
|
|
107
109
|
id: c,
|
|
108
|
-
disabled:
|
|
109
|
-
checked:
|
|
110
|
-
onChange:
|
|
110
|
+
disabled: t,
|
|
111
|
+
checked: s,
|
|
112
|
+
onChange: u,
|
|
111
113
|
..._
|
|
112
114
|
}
|
|
113
115
|
),
|
|
114
|
-
/* @__PURE__ */ o.jsx(
|
|
116
|
+
/* @__PURE__ */ o.jsx(w, { className: i.label, name: c, appearance: a, children: e && /* @__PURE__ */ o.jsx("span", { children: e }) })
|
|
115
117
|
]
|
|
116
118
|
}
|
|
117
119
|
),
|
|
118
|
-
|
|
120
|
+
d && /* @__PURE__ */ o.jsx(b, { ...d })
|
|
119
121
|
] });
|
|
120
122
|
}
|
|
121
123
|
);
|
|
@@ -1,52 +1,60 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import N from "
|
|
5
|
-
import
|
|
6
|
-
import { c as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
1
|
+
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import { useEffect as h } from "react";
|
|
3
|
+
import w from "../Button/Button.js";
|
|
4
|
+
import N from "../Modal/Modal.js";
|
|
5
|
+
import b from "../../hooks/useNiceModal.js";
|
|
6
|
+
import { ThemeAppearance as c, AppearanceButton as j } from "../../enums/appearance.js";
|
|
7
|
+
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
8
|
+
import { N as y } from "../../index-H7XbDVmH.js";
|
|
9
|
+
import { u as v } from "../../useTranslation-CnCPcxVj.js";
|
|
10
|
+
import '../../Confirm.css';const B = "_btnWrap_ztmp0_1", E = "_dark_ztmp0_9", l = {
|
|
10
11
|
btnWrap: B,
|
|
11
|
-
dark:
|
|
12
|
-
},
|
|
13
|
-
const { t } =
|
|
14
|
-
onClose:
|
|
15
|
-
okBtnCallback:
|
|
16
|
-
isLoading:
|
|
17
|
-
appearence:
|
|
18
|
-
description:
|
|
19
|
-
descriptionClassName:
|
|
20
|
-
title:
|
|
21
|
-
okBtnText:
|
|
22
|
-
cancelBtnText:
|
|
23
|
-
} =
|
|
24
|
-
|
|
12
|
+
dark: E
|
|
13
|
+
}, M = (t) => {
|
|
14
|
+
const { t: n } = v(), [, m] = b(t.id), {
|
|
15
|
+
onClose: o,
|
|
16
|
+
okBtnCallback: r,
|
|
17
|
+
isLoading: p,
|
|
18
|
+
appearence: d = c.LIGHT,
|
|
19
|
+
description: f,
|
|
20
|
+
descriptionClassName: k,
|
|
21
|
+
title: u = n("title.warning"),
|
|
22
|
+
okBtnText: x = n("button.yes_proceed"),
|
|
23
|
+
cancelBtnText: C = n("button.cancel")
|
|
24
|
+
} = t, a = () => {
|
|
25
|
+
m(), o && o();
|
|
25
26
|
};
|
|
26
|
-
return
|
|
27
|
-
|
|
27
|
+
return h(() => {
|
|
28
|
+
const s = (i) => {
|
|
29
|
+
i.key === "Enter" && (i.preventDefault(), r());
|
|
30
|
+
};
|
|
31
|
+
return window.addEventListener("keydown", s), () => {
|
|
32
|
+
window.removeEventListener("keydown", s);
|
|
33
|
+
};
|
|
34
|
+
}, []), /* @__PURE__ */ e.jsxs(N, { title: u, appearance: d, onClose: a, children: [
|
|
35
|
+
/* @__PURE__ */ e.jsx(
|
|
28
36
|
"p",
|
|
29
37
|
{
|
|
30
|
-
className:
|
|
31
|
-
[
|
|
38
|
+
className: _(k, {
|
|
39
|
+
[l.dark]: c.DARK
|
|
32
40
|
}),
|
|
33
|
-
children:
|
|
41
|
+
children: f
|
|
34
42
|
}
|
|
35
43
|
),
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
44
|
+
/* @__PURE__ */ e.jsxs("div", { className: l.btnWrap, children: [
|
|
45
|
+
/* @__PURE__ */ e.jsx(
|
|
46
|
+
w,
|
|
39
47
|
{
|
|
40
|
-
appearance:
|
|
41
|
-
onClick:
|
|
42
|
-
isLoading:
|
|
43
|
-
children:
|
|
48
|
+
appearance: j.PRIMARY,
|
|
49
|
+
onClick: r,
|
|
50
|
+
isLoading: p,
|
|
51
|
+
children: x
|
|
44
52
|
}
|
|
45
53
|
),
|
|
46
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ e.jsx("a", { className: "link", onClick: a, children: C })
|
|
47
55
|
] })
|
|
48
56
|
] });
|
|
49
|
-
},
|
|
57
|
+
}, K = y.create(M);
|
|
50
58
|
export {
|
|
51
|
-
|
|
59
|
+
K as default
|
|
52
60
|
};
|