ns-base-module 1.1.73 → 1.1.74
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/CopyCol/index.js +6 -29
- package/dist/Entry/components/Input.js +5 -8
- package/dist/Entry/components/index.scss +0 -86
- package/dist/FilterPopover/Filter.js +39 -64
- package/dist/FilterPopover/index.js +12 -18
- package/dist/Icon/index.js +1 -564
- package/dist/SubtotalsModal/index.js +1 -0
- package/dist/SubtotalsModal/subtotalTemplate.js +11 -9
- package/dist/TableHeaderConfigPopover/index.js +27 -30
- package/dist/umd/ns-base-module.min.css +1 -1
- package/dist/umd/ns-base-module.min.js +1 -1
- package/dist/utils/language.js +2 -6
- package/package.json +1 -1
- package/style/components/ClassFilter.scss +4 -4
- package/style/components/FilterPopover.scss +0 -4
- package/style/components/SubtotalsModal.scss +56 -2
- package/style/components/TableHeaderConfigPopover.scss +56 -7
- package/dist/Icon/antdIcon.js +0 -1964
- package/dist/scroll/index.js +0 -281
- package/dist/scroll/stories/InfiniteScrollWithHeight.js +0 -84
- package/dist/scroll/stories/PullDownToRefreshInfScroll.js +0 -83
- package/dist/scroll/stories/ScrollableTargetInfScroll.js +0 -78
- package/dist/scroll/stories/ScrolleableTop.js +0 -86
- package/dist/scroll/stories/WindowInfiniteScrollComponent.js +0 -68
- package/dist/scroll/stories/stories.js +0 -43
- package/dist/scroll/utils/threshold.js +0 -34
- package/style/components/popoverBody.scss +0 -54
package/dist/utils/language.js
CHANGED
|
@@ -285,10 +285,6 @@ export var initLang = function initLang(_ref) {
|
|
|
285
285
|
var id = _ref.id,
|
|
286
286
|
defaultValue = _ref.defaultValue,
|
|
287
287
|
data = _ref.data;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
if (languageStr === "undefined") return defaultValue;
|
|
291
|
-
var language = JSON.parse(languageStr || "{}");
|
|
292
|
-
return parsePlaceholder(language[id] || defaultValue || defaultLang[id], data);
|
|
293
|
-
} catch (error) {}
|
|
288
|
+
var language = JSON.parse(window.localStorage.getItem("INITLANG") || "{}");
|
|
289
|
+
return parsePlaceholder(language[id] || defaultValue || defaultLang[id], data);
|
|
294
290
|
};
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
flex: 1;
|
|
5
5
|
.tags-list {
|
|
6
6
|
display: inline-block;
|
|
7
|
-
margin-
|
|
7
|
+
margin-left: 8px;
|
|
8
8
|
padding: 2.5px 8px;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
&.action {
|
|
11
|
-
|
|
12
|
-
background-color: var(--
|
|
11
|
+
color: var(--antd-wave-shadow-color);
|
|
12
|
+
background-color: var(--w-e-textarea-selected-border-color);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.filter-component-tree-content {
|
|
18
18
|
.tags-list {
|
|
19
|
-
margin-
|
|
19
|
+
margin-left: 0;
|
|
20
20
|
font-size: 12px;
|
|
21
21
|
}
|
|
22
22
|
:global {
|
|
@@ -1,7 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
.popover-body {
|
|
2
|
+
width: 260px;
|
|
3
|
+
min-height: 340px;
|
|
2
4
|
|
|
5
|
+
.top-wrap {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.title {
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.add-icon {
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.list-title {
|
|
22
|
+
margin: 10px 0;
|
|
23
|
+
font-size: 12px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.list-title-icon {
|
|
27
|
+
margin-right: 6px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.list-radio {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
width: 100%;
|
|
34
|
+
margin-bottom: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.list-radio-label {
|
|
38
|
+
flex: 1;
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.set-icon {
|
|
43
|
+
width: 20px;
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
text-align: right;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
3
49
|
.mode-name-wrap {
|
|
4
|
-
padding:
|
|
50
|
+
padding: 10px 0;
|
|
5
51
|
}
|
|
6
52
|
|
|
7
53
|
.icon-button-wrapper {
|
|
@@ -9,6 +55,14 @@
|
|
|
9
55
|
cursor: pointer;
|
|
10
56
|
}
|
|
11
57
|
|
|
58
|
+
.columns-fixed-title {
|
|
59
|
+
margin-top: 6px;
|
|
60
|
+
margin-bottom: 6px;
|
|
61
|
+
padding-left: 24px;
|
|
62
|
+
color: rgba(0, 0, 0, 0.45);
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
}
|
|
65
|
+
|
|
12
66
|
.tree_selectall {
|
|
13
67
|
user-select: none;
|
|
14
68
|
|
|
@@ -1,6 +1,56 @@
|
|
|
1
|
-
|
|
1
|
+
.popover-body {
|
|
2
|
+
width: 260px;
|
|
3
|
+
min-height: 340px;
|
|
4
|
+
|
|
5
|
+
.top-wrap {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.title {
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.add-icon {
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.list-title {
|
|
22
|
+
margin: 10px 0;
|
|
23
|
+
font-size: 12px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.list-title-icon {
|
|
27
|
+
margin-right: 6px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.list-radio {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
width: 100%;
|
|
34
|
+
margin-bottom: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.list-radio-label {
|
|
38
|
+
flex: 1;
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
}
|
|
41
|
+
.set-text-default {
|
|
42
|
+
color: var(--antd-wave-shadow-color);
|
|
43
|
+
font-size: 10px;
|
|
44
|
+
}
|
|
45
|
+
.set-icon {
|
|
46
|
+
width: 20px;
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
text-align: right;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
2
52
|
.mode-name-wrap {
|
|
3
|
-
padding:
|
|
53
|
+
padding: 10px 0;
|
|
4
54
|
}
|
|
5
55
|
|
|
6
56
|
.icon-button-wrapper {
|
|
@@ -11,6 +61,7 @@
|
|
|
11
61
|
.columns-fixed-title {
|
|
12
62
|
margin-top: 6px;
|
|
13
63
|
margin-bottom: 6px;
|
|
64
|
+
padding-left: 24px;
|
|
14
65
|
color: rgba(0, 0, 0, 0.45);
|
|
15
66
|
font-size: 12px;
|
|
16
67
|
}
|
|
@@ -26,15 +77,13 @@
|
|
|
26
77
|
padding-left: 12px;
|
|
27
78
|
}
|
|
28
79
|
}
|
|
29
|
-
|
|
30
|
-
font-size: 12px;
|
|
31
|
-
}
|
|
80
|
+
|
|
32
81
|
// Dustbin
|
|
33
82
|
.columns-tree-main {
|
|
34
83
|
display: flex;
|
|
35
84
|
align-items: center;
|
|
36
85
|
.drag-title {
|
|
37
|
-
width:
|
|
86
|
+
width: 200px;
|
|
38
87
|
margin: 0 8px;
|
|
39
88
|
overflow: hidden;
|
|
40
89
|
white-space: nowrap;
|
|
@@ -43,7 +92,7 @@
|
|
|
43
92
|
|
|
44
93
|
.columns-tree-icon {
|
|
45
94
|
// width: 40px;
|
|
46
|
-
color:
|
|
95
|
+
color: var(--antd-wave-shadow-color);
|
|
47
96
|
font-size: 14px;
|
|
48
97
|
text-align: right;
|
|
49
98
|
visibility: hidden;
|