px-react-ui-components 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MyAlert/MyAlert.css +117 -117
- package/dist/components/MyContainer/MyContainer.module.css +109 -109
- package/dist/components/MyEditor/MyEditor.js +1 -2
- package/dist/components/MyEditor/MyEditor.scss +276 -276
- package/dist/components/MyFileUpload/MyFileUpload.js +1 -2
- package/dist/components/MyFileUpload/MyFileUpload.module.css +86 -86
- package/dist/components/MyImageCropper/MyImageCropper.js +1 -2
- package/dist/components/MyInput/MyInput.js +4 -3
- package/dist/components/MyInput/MyInput.module.css +420 -420
- package/dist/components/MyMaps/YandexMaps.js +1 -2
- package/dist/components/MyMenu/MenuItem.js +1 -2
- package/dist/components/MyMenu/MyMenu.module.css +101 -101
- package/dist/components/MyModal/MyModal.css +84 -84
- package/dist/components/MyModal/MyModal.js +1 -2
- package/dist/components/MyNotFound/MyNotFound.css +21 -21
- package/dist/components/MyScrollableCard/MyScrollableCard.js +1 -2
- package/dist/components/MyTable/MyTable.js +1 -2
- package/dist/components/MyTable/MyTable.module.css +357 -357
- package/dist/components/MyTabs/MyTabPane.js +1 -2
- package/dist/components/MyTabs/MyTabs.css +105 -105
- package/dist/components/MyTabs/MyTabs.js +1 -2
- package/dist/components/MyWaiting/MyWaiting.css +32 -32
- package/dist/components/MyZoomImage/MyZoomImage.js +1 -2
- package/package.json +1 -1
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
function
|
|
10
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
11
10
|
// Global olarak ymaps yükleyicisi
|
|
12
11
|
let ymapsLoader;
|
|
13
12
|
const loadYandexMapsAPI = APIKEY => {
|
|
@@ -11,8 +11,7 @@ var _pi = require("react-icons/pi");
|
|
|
11
11
|
var _go = require("react-icons/go");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
function
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
15
|
function MenuItem({
|
|
17
16
|
children = null,
|
|
18
17
|
to = "",
|
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
.menuItem{
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: 15px;
|
|
7
|
-
padding: 10px 16px 10px 20px;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
border-bottom: 1px solid #0000001c;
|
|
10
|
-
font-weight: 300;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
color: #fff !important;
|
|
13
|
-
text-decoration: none !important;
|
|
14
|
-
}
|
|
15
|
-
.menuItem.selected{
|
|
16
|
-
background-color: #fff1c939 !important;
|
|
17
|
-
}
|
|
18
|
-
.menuItem:last-child{
|
|
19
|
-
border-bottom: none;
|
|
20
|
-
}
|
|
21
|
-
.menuItem:hover{
|
|
22
|
-
background-color: #00000039;
|
|
23
|
-
}
|
|
24
|
-
.menuItem .menuItemIcon{
|
|
25
|
-
font-size: 20px;
|
|
26
|
-
}
|
|
27
|
-
.menuItem .menuItemText{
|
|
28
|
-
display: block;
|
|
29
|
-
position: relative;
|
|
30
|
-
width: 100%;
|
|
31
|
-
padding-right: 35px;
|
|
32
|
-
}
|
|
33
|
-
.menuItem .menuItemText .menuItemBadge{
|
|
34
|
-
position: absolute;
|
|
35
|
-
right: 0px;
|
|
36
|
-
top: 50%;
|
|
37
|
-
padding: 0px 8px;
|
|
38
|
-
transform: translateY(-50%);
|
|
39
|
-
background-color: #0000003d;
|
|
40
|
-
color: #fff;
|
|
41
|
-
border-radius: 10px;
|
|
42
|
-
padding-top: 1px;
|
|
43
|
-
font-size: 12px;
|
|
44
|
-
min-width: 25px;
|
|
45
|
-
font-weight: normal;
|
|
46
|
-
text-align: center;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.menuItem.menuItemShortMenu{
|
|
50
|
-
position: relative;
|
|
51
|
-
padding: 10px 10px;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
}
|
|
54
|
-
.menuItem.menuItemShortMenu .menuItemIcon{
|
|
55
|
-
font-size: 24px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.menuItem.menuItemShortMenu .menuItemText{
|
|
59
|
-
display: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.menuItem.menuItemShortMenu .menuItemIconSubMenu{
|
|
63
|
-
font-size: 13px;
|
|
64
|
-
position: absolute;
|
|
65
|
-
right: 8px;
|
|
66
|
-
top: 50%;
|
|
67
|
-
transform: translateY(-50%);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.menuItem.menuItemShortMenu:hover .menuItemText{
|
|
71
|
-
display: block;
|
|
72
|
-
position: absolute;
|
|
73
|
-
width: auto;
|
|
74
|
-
left: calc(100% + 5px);
|
|
75
|
-
top: 50%;
|
|
76
|
-
transform: translateY(-50%);
|
|
77
|
-
padding: 10px;
|
|
78
|
-
background-color: #000000;
|
|
79
|
-
color: #fff !important;
|
|
80
|
-
border-radius: 10px;
|
|
81
|
-
z-index: 1000;
|
|
82
|
-
white-space: nowrap;
|
|
83
|
-
}
|
|
84
|
-
.menuItem.menuItemShortMenu:hover .menuItemText.menuItemTextBadge{
|
|
85
|
-
padding-right: 50px;
|
|
86
|
-
}
|
|
87
|
-
.menuItem.menuItemShortMenu:hover .menuItemText.menuItemTextBadge .menuItemBadge{
|
|
88
|
-
right: 8px;
|
|
89
|
-
background-color: #ffffff46;
|
|
90
|
-
}
|
|
91
|
-
.menuItemOwner .menuItemOpen{
|
|
92
|
-
background-color: #283b5c;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.menuItemOwner .menuItemChildren{
|
|
96
|
-
display: none;
|
|
97
|
-
background-color: #30425f;
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
.menuItemOwner .menuItemChildrenOpen{
|
|
101
|
-
display: block;
|
|
1
|
+
.menuItem{
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 15px;
|
|
7
|
+
padding: 10px 16px 10px 20px;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
border-bottom: 1px solid #0000001c;
|
|
10
|
+
font-weight: 300;
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
color: #fff !important;
|
|
13
|
+
text-decoration: none !important;
|
|
14
|
+
}
|
|
15
|
+
.menuItem.selected{
|
|
16
|
+
background-color: #fff1c939 !important;
|
|
17
|
+
}
|
|
18
|
+
.menuItem:last-child{
|
|
19
|
+
border-bottom: none;
|
|
20
|
+
}
|
|
21
|
+
.menuItem:hover{
|
|
22
|
+
background-color: #00000039;
|
|
23
|
+
}
|
|
24
|
+
.menuItem .menuItemIcon{
|
|
25
|
+
font-size: 20px;
|
|
26
|
+
}
|
|
27
|
+
.menuItem .menuItemText{
|
|
28
|
+
display: block;
|
|
29
|
+
position: relative;
|
|
30
|
+
width: 100%;
|
|
31
|
+
padding-right: 35px;
|
|
32
|
+
}
|
|
33
|
+
.menuItem .menuItemText .menuItemBadge{
|
|
34
|
+
position: absolute;
|
|
35
|
+
right: 0px;
|
|
36
|
+
top: 50%;
|
|
37
|
+
padding: 0px 8px;
|
|
38
|
+
transform: translateY(-50%);
|
|
39
|
+
background-color: #0000003d;
|
|
40
|
+
color: #fff;
|
|
41
|
+
border-radius: 10px;
|
|
42
|
+
padding-top: 1px;
|
|
43
|
+
font-size: 12px;
|
|
44
|
+
min-width: 25px;
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
text-align: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.menuItem.menuItemShortMenu{
|
|
50
|
+
position: relative;
|
|
51
|
+
padding: 10px 10px;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
}
|
|
54
|
+
.menuItem.menuItemShortMenu .menuItemIcon{
|
|
55
|
+
font-size: 24px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.menuItem.menuItemShortMenu .menuItemText{
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.menuItem.menuItemShortMenu .menuItemIconSubMenu{
|
|
63
|
+
font-size: 13px;
|
|
64
|
+
position: absolute;
|
|
65
|
+
right: 8px;
|
|
66
|
+
top: 50%;
|
|
67
|
+
transform: translateY(-50%);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.menuItem.menuItemShortMenu:hover .menuItemText{
|
|
71
|
+
display: block;
|
|
72
|
+
position: absolute;
|
|
73
|
+
width: auto;
|
|
74
|
+
left: calc(100% + 5px);
|
|
75
|
+
top: 50%;
|
|
76
|
+
transform: translateY(-50%);
|
|
77
|
+
padding: 10px;
|
|
78
|
+
background-color: #000000;
|
|
79
|
+
color: #fff !important;
|
|
80
|
+
border-radius: 10px;
|
|
81
|
+
z-index: 1000;
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
}
|
|
84
|
+
.menuItem.menuItemShortMenu:hover .menuItemText.menuItemTextBadge{
|
|
85
|
+
padding-right: 50px;
|
|
86
|
+
}
|
|
87
|
+
.menuItem.menuItemShortMenu:hover .menuItemText.menuItemTextBadge .menuItemBadge{
|
|
88
|
+
right: 8px;
|
|
89
|
+
background-color: #ffffff46;
|
|
90
|
+
}
|
|
91
|
+
.menuItemOwner .menuItemOpen{
|
|
92
|
+
background-color: #283b5c;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.menuItemOwner .menuItemChildren{
|
|
96
|
+
display: none;
|
|
97
|
+
background-color: #30425f;
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
.menuItemOwner .menuItemChildrenOpen{
|
|
101
|
+
display: block;
|
|
102
102
|
}
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
.modal-overlay {
|
|
2
|
-
position: fixed;
|
|
3
|
-
top: 0;
|
|
4
|
-
left: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
padding: 25px 0;
|
|
8
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
/* align-items: center; */
|
|
12
|
-
/* Overlay için overflow özelliği */
|
|
13
|
-
overflow-y: auto;
|
|
14
|
-
z-index: 99;
|
|
15
|
-
}
|
|
16
|
-
.modal-overlay.top {
|
|
17
|
-
align-items: baseline;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.modal-overlay .modal {
|
|
21
|
-
/* Modal için maksimum yükseklik ve scroll */
|
|
22
|
-
|
|
23
|
-
/* Modalın üst ve alt kısmında boşluk bırakmak için */
|
|
24
|
-
/* margin: 20px 0; */
|
|
25
|
-
height: max-content;
|
|
26
|
-
background-color: #ebeef3;
|
|
27
|
-
padding: 0
|
|
28
|
-
border-radius: 10px;
|
|
29
|
-
min-width: 200px;
|
|
30
|
-
max-width: 100%;
|
|
31
|
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.modal-overlay .modal .modal-header {
|
|
35
|
-
display: flex;
|
|
36
|
-
width: 100%;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
align-items: center;
|
|
39
|
-
padding:
|
|
40
|
-
}
|
|
41
|
-
.modal-overlay .modal .modal-header h4 {
|
|
42
|
-
margin-top: 0px;
|
|
43
|
-
padding-left: 8px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.modal-overlay .modal .modal-header .close-button {
|
|
47
|
-
background: none;
|
|
48
|
-
border: none;
|
|
49
|
-
height: 25px;
|
|
50
|
-
font-size: 32px;
|
|
51
|
-
color: #cdcdcd;
|
|
52
|
-
background: none;
|
|
53
|
-
padding: 0px;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
margin: -10px 10px 0 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.modal-overlay .modal .modal-header .close-button:hover {
|
|
59
|
-
background: none;
|
|
60
|
-
color: #9c9c9c;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.modal-overlay .modal .modal-content {
|
|
64
|
-
display: block;
|
|
65
|
-
width: 100%;
|
|
66
|
-
padding:
|
|
67
|
-
/* max-height: calc(100vh - 80px); */
|
|
68
|
-
/* overflow-y: auto; */
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.MyModalTagBody {
|
|
72
|
-
display: block;
|
|
73
|
-
width: 100%;
|
|
74
|
-
padding: 12px;
|
|
75
|
-
background: #fff;
|
|
76
|
-
border-radius: 12px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.MyModalTagFooter {
|
|
80
|
-
display: flex;
|
|
81
|
-
justify-content: flex-end;
|
|
82
|
-
gap: 10px;
|
|
83
|
-
padding: 12px 0px;
|
|
84
|
-
}
|
|
1
|
+
.modal-overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
right: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
padding: 25px 0;
|
|
8
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
/* align-items: center; */
|
|
12
|
+
/* Overlay için overflow özelliği */
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
z-index: 99;
|
|
15
|
+
}
|
|
16
|
+
.modal-overlay.top {
|
|
17
|
+
align-items: baseline;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.modal-overlay .modal {
|
|
21
|
+
/* Modal için maksimum yükseklik ve scroll */
|
|
22
|
+
|
|
23
|
+
/* Modalın üst ve alt kısmında boşluk bırakmak için */
|
|
24
|
+
/* margin: 20px 0; */
|
|
25
|
+
height: max-content;
|
|
26
|
+
background-color: #ebeef3;
|
|
27
|
+
padding: 0 12px;
|
|
28
|
+
border-radius: 10px;
|
|
29
|
+
min-width: 200px;
|
|
30
|
+
max-width: 100%;
|
|
31
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.modal-overlay .modal .modal-header {
|
|
35
|
+
display: flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
align-items: center;
|
|
39
|
+
padding: 15px 0;
|
|
40
|
+
}
|
|
41
|
+
.modal-overlay .modal .modal-header h4 {
|
|
42
|
+
margin-top: 0px;
|
|
43
|
+
padding-left: 8px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.modal-overlay .modal .modal-header .close-button {
|
|
47
|
+
background: none;
|
|
48
|
+
border: none;
|
|
49
|
+
height: 25px;
|
|
50
|
+
font-size: 32px;
|
|
51
|
+
color: #cdcdcd;
|
|
52
|
+
background: none;
|
|
53
|
+
padding: 0px;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
margin: -10px 10px 0 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.modal-overlay .modal .modal-header .close-button:hover {
|
|
59
|
+
background: none;
|
|
60
|
+
color: #9c9c9c;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.modal-overlay .modal .modal-content {
|
|
64
|
+
display: block;
|
|
65
|
+
width: 100%;
|
|
66
|
+
padding: 0px 0 15px 0;
|
|
67
|
+
/* max-height: calc(100vh - 80px); */
|
|
68
|
+
/* overflow-y: auto; */
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.MyModalTagBody {
|
|
72
|
+
display: block;
|
|
73
|
+
width: 100%;
|
|
74
|
+
padding: 12px;
|
|
75
|
+
background: #fff;
|
|
76
|
+
border-radius: 12px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.MyModalTagFooter {
|
|
80
|
+
display: flex;
|
|
81
|
+
justify-content: flex-end;
|
|
82
|
+
gap: 10px;
|
|
83
|
+
padding: 12px 0px;
|
|
84
|
+
}
|
|
@@ -7,8 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
require("./MyModal.css");
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
12
11
|
// Modal için CSS dosyası
|
|
13
12
|
const MyModal = ({
|
|
14
13
|
show,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.my-nodata{
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
align-items: center;
|
|
7
|
-
padding: 25px;
|
|
8
|
-
font-size: 17px;
|
|
9
|
-
color: #444;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.my-nodata .icon{
|
|
13
|
-
font-size: 42px;
|
|
14
|
-
color: #adadad;
|
|
15
|
-
margin-bottom: 10px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.my-nodata span{
|
|
19
|
-
display: block;
|
|
20
|
-
width: 100%;
|
|
21
|
-
text-align: center;
|
|
1
|
+
.my-nodata{
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 25px;
|
|
8
|
+
font-size: 17px;
|
|
9
|
+
color: #444;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.my-nodata .icon{
|
|
13
|
+
font-size: 42px;
|
|
14
|
+
color: #adadad;
|
|
15
|
+
margin-bottom: 10px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.my-nodata span{
|
|
19
|
+
display: block;
|
|
20
|
+
width: 100%;
|
|
21
|
+
text-align: center;
|
|
22
22
|
}
|
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
function
|
|
10
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
11
10
|
const MyScrollableCard = ({
|
|
12
11
|
children,
|
|
13
12
|
className
|
|
@@ -8,8 +8,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var _MyTableModule = _interopRequireDefault(require("./MyTable.module.css"));
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
function
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
12
|
const MyTableIsNumeric = value => {
|
|
14
13
|
if (value === null || value === undefined || value === "") return false;
|
|
15
14
|
return !isNaN(value) && !isNaN(parseFloat(value));
|