@semcore/data-table 3.3.0 → 3.3.2
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/CHANGELOG.md +6 -0
- package/lib/cjs/Body.js +5 -5
- package/lib/cjs/DataTable.js +37 -37
- package/lib/cjs/Head.js +5 -5
- package/lib/es6/Body.js +5 -5
- package/lib/es6/DataTable.js +37 -37
- package/lib/es6/Head.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.3.2] - 2022-10-20
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.39.0 ~> 3.39.1]).
|
|
10
|
+
|
|
5
11
|
## [3.3.0] - 2022-10-10
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/Body.js
CHANGED
|
@@ -71,14 +71,14 @@ var scrollStyles = (
|
|
|
71
71
|
/*__reshadow_css_start__*/
|
|
72
72
|
_core.sstyled.insert(
|
|
73
73
|
/*__inner_css_start__*/
|
|
74
|
-
".
|
|
74
|
+
".___SShadowHorizontal_1dila_gg_:before {\n left: var(--left_1dila) !important;\n}\n.___SShadowHorizontal_1dila_gg_:after {\n right: var(--right_1dila) !important;\n}\n"
|
|
75
75
|
/*__inner_css_end__*/
|
|
76
|
-
, "
|
|
76
|
+
, "1dila_gg_")
|
|
77
77
|
/*__reshadow_css_end__*/
|
|
78
78
|
, {
|
|
79
|
-
"__SShadowHorizontal": "
|
|
80
|
-
"--left": "--
|
|
81
|
-
"--right": "--
|
|
79
|
+
"__SShadowHorizontal": "___SShadowHorizontal_1dila_gg_",
|
|
80
|
+
"--left": "--left_1dila",
|
|
81
|
+
"--right": "--right_1dila"
|
|
82
82
|
});
|
|
83
83
|
var testEnv = process.env.NODE_ENV === 'test';
|
|
84
84
|
|
package/lib/cjs/DataTable.js
CHANGED
|
@@ -69,46 +69,46 @@ var style = (
|
|
|
69
69
|
/*__reshadow_css_start__*/
|
|
70
70
|
_core.sstyled.insert(
|
|
71
71
|
/*__inner_css_start__*/
|
|
72
|
-
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.
|
|
72
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SDataTable_jimfh_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_jimfh_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_jimfh_gg_.__sticky_jimfh_gg_ {\n position: sticky;\n top: 0;\n z-index: 2;\n}\n\n.___SHead_jimfh_gg_ {\n display: flex;\n position: relative;\n flex-direction: row;\n min-width: -moz-fit-content;\n min-width: fit-content;\n z-index: 0;\n}\n\n.___SColumn_jimfh_gg_ {\n display: flex;\n align-items: center;\n flex-grow: 1;\n font-size: 12px;\n color: #191b23;\n box-sizing: border-box;\n position: relative\n}\n\n.___SColumn_jimfh_gg_:focus {\n outline: none;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n }\n\n.___SColumn_jimfh_gg_.__hidden_jimfh_gg_ {\n height: 0 !important;\n padding: 0 !important;\n overflow: hidden !important;\n border: none !important;\n}\n\n.___SColumn_jimfh_gg_._use_primary_jimfh_gg_ {\n padding: 12px;\n border-right: 1px solid #e0e1e9;\n border-bottom: 1px solid #e0e1e9;\n background-color: #f4f5f9;\n}\n\n.___SColumn_jimfh_gg_._use_secondary_jimfh_gg_ {\n padding: 8px;\n border-bottom: 1px solid #a9abb6;\n background-color: #ffffff;\n}\n\n.___SColumn_jimfh_gg_.__use_jimfh_gg_:last-child {\n border-right: none;\n}\n\n.___SColumn_jimfh_gg_.__group_jimfh_gg_.__use_jimfh_gg_ {\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n align-items: normal;\n border-bottom: none;\n padding: 0;\n}\n\n.___SColumn_jimfh_gg_.__groupHead_jimfh_gg_.__use_jimfh_gg_ {\n justify-content: center;\n border-right: none;\n /* for resizable */\n z-index: 1;\n}\n\n.___SColumn_jimfh_gg_.__groupHead_jimfh_gg_._use_primary_jimfh_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_jimfh_gg_.__groupHead_jimfh_gg_._use_secondary_jimfh_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_jimfh_gg_.__sortable_jimfh_gg_ {\n cursor: pointer\n}\n\n.___SColumn_jimfh_gg_.__sortable_jimfh_gg_._use_primary_jimfh_gg_:hover {\n background-color: #e0e1e9;\n }\n\n.___SColumn_jimfh_gg_.__active_jimfh_gg_._use_primary_jimfh_gg_ {\n background-color: #e0e1e9;\n}\n\n.___SColumn_jimfh_gg_.__resizable_jimfh_gg_:hover:after {\n background: #e0e1e9;\n }\n\n.___SColumn_jimfh_gg_.__resizable_jimfh_gg_:after {\n content: '';\n position: absolute;\n bottom: 0;\n right: -1px;\n height: 100vh;\n width: 1px;\n background: transparent;\n cursor: col-resize;\n }\n\n.___SColumn_jimfh_gg_.__fixed_jimfh_gg_ {\n position: sticky;\n /* because up resizable */\n z-index: 2;\n}\n\n.___SSortIcon_jimfh_gg_ {\n fill: #a9abb6;\n margin-left: 6px;\n}\n\n.___SSortIcon_jimfh_gg_.__active_jimfh_gg_ {\n fill: #8a8e9b;\n}\n\n.___SBodyWrapper_jimfh_gg_ {\n position: relative;\n}\n\n.___SBody_jimfh_gg_ {\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: -moz-fit-content;\n min-width: fit-content;\n}\n\n.___SRow_jimfh_gg_ {\n display: flex;\n flex-direction: row;\n position: relative;\n}\n\n/* DEFAULT THEME */\n\n.___SRow_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: rgb(240, 240, 244);\n}\n\n/* MUTED THEME */\n\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #f2f3f4;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_muted_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #f6f7f7;\n}\n\n/* INFO THEME */\n\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #e9f7ff;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_info_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #c4e5fe;\n}\n\n/* SUCCESS THEME */\n\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #dbfee8;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_success_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #9ef2c9;\n}\n\n/* WARNING THEME */\n\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #fff3d9;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_warning_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #ffdca2;\n}\n\n/* DANGER THEME */\n\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #fff0f7;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_danger_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #ffd7df;\n}\n\n.___SRow_jimfh_gg_.__positioned_jimfh_gg_ {\n position: absolute;\n}\n\n.___SCell_jimfh_gg_ {\n display: flex;\n flex: 1;\n flex-basis: auto;\n font-size: 14px;\n line-height: 1.42;\n color: #191b23;\n box-sizing: border-box;\n border-bottom: 1px solid #e0e1e9;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.___SCell_jimfh_gg_._use_primary_jimfh_gg_ {\n padding: 12px;\n min-height: 45px;\n background-color: #ffffff;\n}\n\n.___SCell_jimfh_gg_._use_secondary_jimfh_gg_ {\n padding: 8px;\n min-height: 37px;\n background-color: #ffffff;\n}\n\n.___SCell_jimfh_gg_.__fixed_jimfh_gg_ {\n position: sticky;\n z-index: 1;\n}\n\n.___SCell_jimfh_gg_._theme_muted_jimfh_gg_ {\n background-color: #f2f3f4;\n}\n\n.___SCell_jimfh_gg_._theme_info_jimfh_gg_ {\n background-color: #e9f7ff;\n}\n\n.___SCell_jimfh_gg_._theme_success_jimfh_gg_ {\n background-color: #dbfee8;\n}\n\n.___SCell_jimfh_gg_._theme_warning_jimfh_gg_ {\n background-color: #fff3d9;\n}\n\n.___SCell_jimfh_gg_._theme_danger_jimfh_gg_ {\n background-color: #fff0f7;\n}\n\n.___SScrollAreaBar_jimfh_gg_._orientation_horizontal_jimfh_gg_ {\n position: sticky;\n bottom: 0;\n left: 0;\n margin-top: -12px;\n z-index: 2;\n}\n\n.___SScrollAreaBar_jimfh_gg_._orientation_vertical_jimfh_gg_ {\n width: 12px;\n}\n\n.___SScrollAreaBar_jimfh_gg_._orientation_horizontal_jimfh_gg_ {\n margin-left: calc(var(--left_jimfh) + 4px);\n margin-right: calc(var(--right_jimfh) + 4px);\n width: calc(100% - var(--offsetSum_jimfh) - 8px);\n}\n\n.___SHeightHold_jimfh_gg_ {\n position: absolute;\n top: 0;\n width: 100%;\n pointer-events: none;\n /* should be under other layers */\n z-index: -1;\n}\n"
|
|
73
73
|
/*__inner_css_end__*/
|
|
74
|
-
, "
|
|
74
|
+
, "jimfh_gg_")
|
|
75
75
|
/*__reshadow_css_end__*/
|
|
76
76
|
, {
|
|
77
|
-
"__SDataTable": "
|
|
78
|
-
"__SHeadWrapper": "
|
|
79
|
-
"_sticky": "
|
|
80
|
-
"__SHead": "
|
|
81
|
-
"__SColumn": "
|
|
82
|
-
"_hidden": "
|
|
83
|
-
"_use_primary": "
|
|
84
|
-
"_use_secondary": "
|
|
85
|
-
"_use": "
|
|
86
|
-
"_group": "
|
|
87
|
-
"_groupHead": "
|
|
88
|
-
"_sortable": "
|
|
89
|
-
"_active": "
|
|
90
|
-
"_resizable": "
|
|
91
|
-
"_fixed": "
|
|
92
|
-
"__SSortIcon": "
|
|
93
|
-
"__SBodyWrapper": "
|
|
94
|
-
"__SBody": "
|
|
95
|
-
"__SRow": "
|
|
96
|
-
"__SCell": "
|
|
97
|
-
"_theme": "
|
|
98
|
-
"__SGroupCell": "
|
|
99
|
-
"_theme_muted": "
|
|
100
|
-
"_theme_info": "
|
|
101
|
-
"_theme_success": "
|
|
102
|
-
"_theme_warning": "
|
|
103
|
-
"_theme_danger": "
|
|
104
|
-
"_positioned": "
|
|
105
|
-
"__SScrollAreaBar": "
|
|
106
|
-
"_orientation_horizontal": "
|
|
107
|
-
"_orientation_vertical": "
|
|
108
|
-
"--left": "--
|
|
109
|
-
"--right": "--
|
|
110
|
-
"--offsetSum": "--
|
|
111
|
-
"__SHeightHold": "
|
|
77
|
+
"__SDataTable": "___SDataTable_jimfh_gg_",
|
|
78
|
+
"__SHeadWrapper": "___SHeadWrapper_jimfh_gg_",
|
|
79
|
+
"_sticky": "__sticky_jimfh_gg_",
|
|
80
|
+
"__SHead": "___SHead_jimfh_gg_",
|
|
81
|
+
"__SColumn": "___SColumn_jimfh_gg_",
|
|
82
|
+
"_hidden": "__hidden_jimfh_gg_",
|
|
83
|
+
"_use_primary": "_use_primary_jimfh_gg_",
|
|
84
|
+
"_use_secondary": "_use_secondary_jimfh_gg_",
|
|
85
|
+
"_use": "__use_jimfh_gg_",
|
|
86
|
+
"_group": "__group_jimfh_gg_",
|
|
87
|
+
"_groupHead": "__groupHead_jimfh_gg_",
|
|
88
|
+
"_sortable": "__sortable_jimfh_gg_",
|
|
89
|
+
"_active": "__active_jimfh_gg_",
|
|
90
|
+
"_resizable": "__resizable_jimfh_gg_",
|
|
91
|
+
"_fixed": "__fixed_jimfh_gg_",
|
|
92
|
+
"__SSortIcon": "___SSortIcon_jimfh_gg_",
|
|
93
|
+
"__SBodyWrapper": "___SBodyWrapper_jimfh_gg_",
|
|
94
|
+
"__SBody": "___SBody_jimfh_gg_",
|
|
95
|
+
"__SRow": "___SRow_jimfh_gg_",
|
|
96
|
+
"__SCell": "___SCell_jimfh_gg_",
|
|
97
|
+
"_theme": "__theme_jimfh_gg_",
|
|
98
|
+
"__SGroupCell": "___SGroupCell_jimfh_gg_",
|
|
99
|
+
"_theme_muted": "_theme_muted_jimfh_gg_",
|
|
100
|
+
"_theme_info": "_theme_info_jimfh_gg_",
|
|
101
|
+
"_theme_success": "_theme_success_jimfh_gg_",
|
|
102
|
+
"_theme_warning": "_theme_warning_jimfh_gg_",
|
|
103
|
+
"_theme_danger": "_theme_danger_jimfh_gg_",
|
|
104
|
+
"_positioned": "__positioned_jimfh_gg_",
|
|
105
|
+
"__SScrollAreaBar": "___SScrollAreaBar_jimfh_gg_",
|
|
106
|
+
"_orientation_horizontal": "_orientation_horizontal_jimfh_gg_",
|
|
107
|
+
"_orientation_vertical": "_orientation_vertical_jimfh_gg_",
|
|
108
|
+
"--left": "--left_jimfh",
|
|
109
|
+
"--right": "--right_jimfh",
|
|
110
|
+
"--offsetSum": "--offsetSum_jimfh",
|
|
111
|
+
"__SHeightHold": "___SHeightHold_jimfh_gg_"
|
|
112
112
|
});
|
|
113
113
|
var REVERSED_SORT_DIRECTION = {
|
|
114
114
|
desc: 'asc',
|
package/lib/cjs/Head.js
CHANGED
|
@@ -58,14 +58,14 @@ var scrollStyles = (
|
|
|
58
58
|
/*__reshadow_css_start__*/
|
|
59
59
|
_core.sstyled.insert(
|
|
60
60
|
/*__inner_css_start__*/
|
|
61
|
-
".
|
|
61
|
+
".___SShadowHorizontal_1dila_gg_:before {\n left: var(--left_1dila) !important;\n}\n.___SShadowHorizontal_1dila_gg_:after {\n right: var(--right_1dila) !important;\n}\n"
|
|
62
62
|
/*__inner_css_end__*/
|
|
63
|
-
, "
|
|
63
|
+
, "1dila_gg_")
|
|
64
64
|
/*__reshadow_css_end__*/
|
|
65
65
|
, {
|
|
66
|
-
"__SShadowHorizontal": "
|
|
67
|
-
"--left": "--
|
|
68
|
-
"--right": "--
|
|
66
|
+
"__SShadowHorizontal": "___SShadowHorizontal_1dila_gg_",
|
|
67
|
+
"--left": "--left_1dila",
|
|
68
|
+
"--right": "--right_1dila"
|
|
69
69
|
});
|
|
70
70
|
var SORTING_ICON = {
|
|
71
71
|
desc: _m["default"],
|
package/lib/es6/Body.js
CHANGED
|
@@ -40,14 +40,14 @@ var scrollStyles = (
|
|
|
40
40
|
/*__reshadow_css_start__*/
|
|
41
41
|
_sstyled.insert(
|
|
42
42
|
/*__inner_css_start__*/
|
|
43
|
-
".
|
|
43
|
+
".___SShadowHorizontal_1dila_gg_:before {\n left: var(--left_1dila) !important;\n}\n.___SShadowHorizontal_1dila_gg_:after {\n right: var(--right_1dila) !important;\n}\n"
|
|
44
44
|
/*__inner_css_end__*/
|
|
45
|
-
, "
|
|
45
|
+
, "1dila_gg_")
|
|
46
46
|
/*__reshadow_css_end__*/
|
|
47
47
|
, {
|
|
48
|
-
"__SShadowHorizontal": "
|
|
49
|
-
"--left": "--
|
|
50
|
-
"--right": "--
|
|
48
|
+
"__SShadowHorizontal": "___SShadowHorizontal_1dila_gg_",
|
|
49
|
+
"--left": "--left_1dila",
|
|
50
|
+
"--right": "--right_1dila"
|
|
51
51
|
});
|
|
52
52
|
import trottle from '@semcore/utils/lib/rafTrottle';
|
|
53
53
|
var testEnv = process.env.NODE_ENV === 'test';
|
package/lib/es6/DataTable.js
CHANGED
|
@@ -40,46 +40,46 @@ var style = (
|
|
|
40
40
|
/*__reshadow_css_start__*/
|
|
41
41
|
_sstyled.insert(
|
|
42
42
|
/*__inner_css_start__*/
|
|
43
|
-
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.
|
|
43
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SDataTable_jimfh_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_jimfh_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_jimfh_gg_.__sticky_jimfh_gg_ {\n position: sticky;\n top: 0;\n z-index: 2;\n}\n\n.___SHead_jimfh_gg_ {\n display: flex;\n position: relative;\n flex-direction: row;\n min-width: -moz-fit-content;\n min-width: fit-content;\n z-index: 0;\n}\n\n.___SColumn_jimfh_gg_ {\n display: flex;\n align-items: center;\n flex-grow: 1;\n font-size: 12px;\n color: #191b23;\n box-sizing: border-box;\n position: relative\n}\n\n.___SColumn_jimfh_gg_:focus {\n outline: none;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n }\n\n.___SColumn_jimfh_gg_.__hidden_jimfh_gg_ {\n height: 0 !important;\n padding: 0 !important;\n overflow: hidden !important;\n border: none !important;\n}\n\n.___SColumn_jimfh_gg_._use_primary_jimfh_gg_ {\n padding: 12px;\n border-right: 1px solid #e0e1e9;\n border-bottom: 1px solid #e0e1e9;\n background-color: #f4f5f9;\n}\n\n.___SColumn_jimfh_gg_._use_secondary_jimfh_gg_ {\n padding: 8px;\n border-bottom: 1px solid #a9abb6;\n background-color: #ffffff;\n}\n\n.___SColumn_jimfh_gg_.__use_jimfh_gg_:last-child {\n border-right: none;\n}\n\n.___SColumn_jimfh_gg_.__group_jimfh_gg_.__use_jimfh_gg_ {\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n align-items: normal;\n border-bottom: none;\n padding: 0;\n}\n\n.___SColumn_jimfh_gg_.__groupHead_jimfh_gg_.__use_jimfh_gg_ {\n justify-content: center;\n border-right: none;\n /* for resizable */\n z-index: 1;\n}\n\n.___SColumn_jimfh_gg_.__groupHead_jimfh_gg_._use_primary_jimfh_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_jimfh_gg_.__groupHead_jimfh_gg_._use_secondary_jimfh_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_jimfh_gg_.__sortable_jimfh_gg_ {\n cursor: pointer\n}\n\n.___SColumn_jimfh_gg_.__sortable_jimfh_gg_._use_primary_jimfh_gg_:hover {\n background-color: #e0e1e9;\n }\n\n.___SColumn_jimfh_gg_.__active_jimfh_gg_._use_primary_jimfh_gg_ {\n background-color: #e0e1e9;\n}\n\n.___SColumn_jimfh_gg_.__resizable_jimfh_gg_:hover:after {\n background: #e0e1e9;\n }\n\n.___SColumn_jimfh_gg_.__resizable_jimfh_gg_:after {\n content: '';\n position: absolute;\n bottom: 0;\n right: -1px;\n height: 100vh;\n width: 1px;\n background: transparent;\n cursor: col-resize;\n }\n\n.___SColumn_jimfh_gg_.__fixed_jimfh_gg_ {\n position: sticky;\n /* because up resizable */\n z-index: 2;\n}\n\n.___SSortIcon_jimfh_gg_ {\n fill: #a9abb6;\n margin-left: 6px;\n}\n\n.___SSortIcon_jimfh_gg_.__active_jimfh_gg_ {\n fill: #8a8e9b;\n}\n\n.___SBodyWrapper_jimfh_gg_ {\n position: relative;\n}\n\n.___SBody_jimfh_gg_ {\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: -moz-fit-content;\n min-width: fit-content;\n}\n\n.___SRow_jimfh_gg_ {\n display: flex;\n flex-direction: row;\n position: relative;\n}\n\n/* DEFAULT THEME */\n\n.___SRow_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: rgb(240, 240, 244);\n}\n\n/* MUTED THEME */\n\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #f2f3f4;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_muted_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_muted_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #f6f7f7;\n}\n\n/* INFO THEME */\n\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #e9f7ff;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_info_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_info_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #c4e5fe;\n}\n\n/* SUCCESS THEME */\n\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #dbfee8;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_success_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_success_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #9ef2c9;\n}\n\n/* WARNING THEME */\n\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #fff3d9;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_warning_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_warning_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #ffdca2;\n}\n\n/* DANGER THEME */\n\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #fff0f7;\n}\n\n.___SRow_jimfh_gg_:hover > .___SCell_jimfh_gg_._theme_danger_jimfh_gg_,\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_.__active_jimfh_gg_ > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_:hover > .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_),\n.___SRow_jimfh_gg_._theme_danger_jimfh_gg_ .___SCell_jimfh_gg_:hover + .___SGroupCell_jimfh_gg_ .___SCell_jimfh_gg_:not(.__theme_jimfh_gg_) {\n background-color: #ffd7df;\n}\n\n.___SRow_jimfh_gg_.__positioned_jimfh_gg_ {\n position: absolute;\n}\n\n.___SCell_jimfh_gg_ {\n display: flex;\n flex: 1;\n flex-basis: auto;\n font-size: 14px;\n line-height: 1.42;\n color: #191b23;\n box-sizing: border-box;\n border-bottom: 1px solid #e0e1e9;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.___SCell_jimfh_gg_._use_primary_jimfh_gg_ {\n padding: 12px;\n min-height: 45px;\n background-color: #ffffff;\n}\n\n.___SCell_jimfh_gg_._use_secondary_jimfh_gg_ {\n padding: 8px;\n min-height: 37px;\n background-color: #ffffff;\n}\n\n.___SCell_jimfh_gg_.__fixed_jimfh_gg_ {\n position: sticky;\n z-index: 1;\n}\n\n.___SCell_jimfh_gg_._theme_muted_jimfh_gg_ {\n background-color: #f2f3f4;\n}\n\n.___SCell_jimfh_gg_._theme_info_jimfh_gg_ {\n background-color: #e9f7ff;\n}\n\n.___SCell_jimfh_gg_._theme_success_jimfh_gg_ {\n background-color: #dbfee8;\n}\n\n.___SCell_jimfh_gg_._theme_warning_jimfh_gg_ {\n background-color: #fff3d9;\n}\n\n.___SCell_jimfh_gg_._theme_danger_jimfh_gg_ {\n background-color: #fff0f7;\n}\n\n.___SScrollAreaBar_jimfh_gg_._orientation_horizontal_jimfh_gg_ {\n position: sticky;\n bottom: 0;\n left: 0;\n margin-top: -12px;\n z-index: 2;\n}\n\n.___SScrollAreaBar_jimfh_gg_._orientation_vertical_jimfh_gg_ {\n width: 12px;\n}\n\n.___SScrollAreaBar_jimfh_gg_._orientation_horizontal_jimfh_gg_ {\n margin-left: calc(var(--left_jimfh) + 4px);\n margin-right: calc(var(--right_jimfh) + 4px);\n width: calc(100% - var(--offsetSum_jimfh) - 8px);\n}\n\n.___SHeightHold_jimfh_gg_ {\n position: absolute;\n top: 0;\n width: 100%;\n pointer-events: none;\n /* should be under other layers */\n z-index: -1;\n}\n"
|
|
44
44
|
/*__inner_css_end__*/
|
|
45
|
-
, "
|
|
45
|
+
, "jimfh_gg_")
|
|
46
46
|
/*__reshadow_css_end__*/
|
|
47
47
|
, {
|
|
48
|
-
"__SDataTable": "
|
|
49
|
-
"__SHeadWrapper": "
|
|
50
|
-
"_sticky": "
|
|
51
|
-
"__SHead": "
|
|
52
|
-
"__SColumn": "
|
|
53
|
-
"_hidden": "
|
|
54
|
-
"_use_primary": "
|
|
55
|
-
"_use_secondary": "
|
|
56
|
-
"_use": "
|
|
57
|
-
"_group": "
|
|
58
|
-
"_groupHead": "
|
|
59
|
-
"_sortable": "
|
|
60
|
-
"_active": "
|
|
61
|
-
"_resizable": "
|
|
62
|
-
"_fixed": "
|
|
63
|
-
"__SSortIcon": "
|
|
64
|
-
"__SBodyWrapper": "
|
|
65
|
-
"__SBody": "
|
|
66
|
-
"__SRow": "
|
|
67
|
-
"__SCell": "
|
|
68
|
-
"_theme": "
|
|
69
|
-
"__SGroupCell": "
|
|
70
|
-
"_theme_muted": "
|
|
71
|
-
"_theme_info": "
|
|
72
|
-
"_theme_success": "
|
|
73
|
-
"_theme_warning": "
|
|
74
|
-
"_theme_danger": "
|
|
75
|
-
"_positioned": "
|
|
76
|
-
"__SScrollAreaBar": "
|
|
77
|
-
"_orientation_horizontal": "
|
|
78
|
-
"_orientation_vertical": "
|
|
79
|
-
"--left": "--
|
|
80
|
-
"--right": "--
|
|
81
|
-
"--offsetSum": "--
|
|
82
|
-
"__SHeightHold": "
|
|
48
|
+
"__SDataTable": "___SDataTable_jimfh_gg_",
|
|
49
|
+
"__SHeadWrapper": "___SHeadWrapper_jimfh_gg_",
|
|
50
|
+
"_sticky": "__sticky_jimfh_gg_",
|
|
51
|
+
"__SHead": "___SHead_jimfh_gg_",
|
|
52
|
+
"__SColumn": "___SColumn_jimfh_gg_",
|
|
53
|
+
"_hidden": "__hidden_jimfh_gg_",
|
|
54
|
+
"_use_primary": "_use_primary_jimfh_gg_",
|
|
55
|
+
"_use_secondary": "_use_secondary_jimfh_gg_",
|
|
56
|
+
"_use": "__use_jimfh_gg_",
|
|
57
|
+
"_group": "__group_jimfh_gg_",
|
|
58
|
+
"_groupHead": "__groupHead_jimfh_gg_",
|
|
59
|
+
"_sortable": "__sortable_jimfh_gg_",
|
|
60
|
+
"_active": "__active_jimfh_gg_",
|
|
61
|
+
"_resizable": "__resizable_jimfh_gg_",
|
|
62
|
+
"_fixed": "__fixed_jimfh_gg_",
|
|
63
|
+
"__SSortIcon": "___SSortIcon_jimfh_gg_",
|
|
64
|
+
"__SBodyWrapper": "___SBodyWrapper_jimfh_gg_",
|
|
65
|
+
"__SBody": "___SBody_jimfh_gg_",
|
|
66
|
+
"__SRow": "___SRow_jimfh_gg_",
|
|
67
|
+
"__SCell": "___SCell_jimfh_gg_",
|
|
68
|
+
"_theme": "__theme_jimfh_gg_",
|
|
69
|
+
"__SGroupCell": "___SGroupCell_jimfh_gg_",
|
|
70
|
+
"_theme_muted": "_theme_muted_jimfh_gg_",
|
|
71
|
+
"_theme_info": "_theme_info_jimfh_gg_",
|
|
72
|
+
"_theme_success": "_theme_success_jimfh_gg_",
|
|
73
|
+
"_theme_warning": "_theme_warning_jimfh_gg_",
|
|
74
|
+
"_theme_danger": "_theme_danger_jimfh_gg_",
|
|
75
|
+
"_positioned": "__positioned_jimfh_gg_",
|
|
76
|
+
"__SScrollAreaBar": "___SScrollAreaBar_jimfh_gg_",
|
|
77
|
+
"_orientation_horizontal": "_orientation_horizontal_jimfh_gg_",
|
|
78
|
+
"_orientation_vertical": "_orientation_vertical_jimfh_gg_",
|
|
79
|
+
"--left": "--left_jimfh",
|
|
80
|
+
"--right": "--right_jimfh",
|
|
81
|
+
"--offsetSum": "--offsetSum_jimfh",
|
|
82
|
+
"__SHeightHold": "___SHeightHold_jimfh_gg_"
|
|
83
83
|
});
|
|
84
84
|
var REVERSED_SORT_DIRECTION = {
|
|
85
85
|
desc: 'asc',
|
package/lib/es6/Head.js
CHANGED
|
@@ -34,14 +34,14 @@ var scrollStyles = (
|
|
|
34
34
|
/*__reshadow_css_start__*/
|
|
35
35
|
_sstyled.insert(
|
|
36
36
|
/*__inner_css_start__*/
|
|
37
|
-
".
|
|
37
|
+
".___SShadowHorizontal_1dila_gg_:before {\n left: var(--left_1dila) !important;\n}\n.___SShadowHorizontal_1dila_gg_:after {\n right: var(--right_1dila) !important;\n}\n"
|
|
38
38
|
/*__inner_css_end__*/
|
|
39
|
-
, "
|
|
39
|
+
, "1dila_gg_")
|
|
40
40
|
/*__reshadow_css_end__*/
|
|
41
41
|
, {
|
|
42
|
-
"__SShadowHorizontal": "
|
|
43
|
-
"--left": "--
|
|
44
|
-
"--right": "--
|
|
42
|
+
"__SShadowHorizontal": "___SShadowHorizontal_1dila_gg_",
|
|
43
|
+
"--left": "--left_1dila",
|
|
44
|
+
"--right": "--right_1dila"
|
|
45
45
|
});
|
|
46
46
|
var SORTING_ICON = {
|
|
47
47
|
desc: SortDesc,
|