@jetlinks-web/components 2.0.38 → 2.1.1

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.
@@ -1,76 +1,76 @@
1
- .jetlinks-edit-table-body-viewport {
2
- max-height: 100%;
3
- width: 100%;
4
- overflow: hidden auto;
5
- position: relative;
6
-
7
- .jetlinks-edit-scrollbar {
8
- position: absolute;
9
- left: 0;
10
- top: 0;
11
- right: 0;
12
- z-index: -1;
13
- }
14
-
15
- .jetlinks-edit-table-body-container {
16
- display: flex;
17
- }
18
-
19
- .jetlinks-edit-table-center, & .jetlinks-edit-table-left,& .jetlinks-edit-table-right {
20
- position: relative;
21
- min-width: 0;
22
- height: 100%;
23
- z-index: 5;
24
- flex-shrink: 0;
25
- flex-grow: 0;
26
-
27
- .jetlinks-edit-table-row {
28
- width: 100%;
29
- display: flex;
30
- align-items: center;
31
- transition: top .2s, height .2s, background-color .1s;
32
- border-bottom: 1px solid #ebebeb;
33
- background-color: #fff;
34
-
35
- &.jetlinks-edit-table-row-hover {
36
- background-color: rgb(248, 248, 248);
37
- }
38
-
39
- &.jetlinks-edit-table-row-selected {
40
- background-color: var(--ant-primary-1);
41
- }
42
-
43
- .jetlinks-edit-table-cell {
44
- min-width: 0;
45
- }
46
-
47
- .body-cell-box {
48
- padding: 0 12px;
49
- position: relative;
50
- }
51
- }
52
- }
53
-
54
- .jetlinks-edit-table-left {
55
- position: sticky;
56
- left: 0;
57
- }
58
-
59
- .jetlinks-edit-table-right {
60
- position: sticky;
61
- right: 0;
62
- }
63
-
64
- .jetlinks-edit-table-center {
65
- z-index: 1;
66
- > div {
67
- position: relative;
68
- }
69
- }
70
- }
71
- .jetlinks-edit-table-body-empty {
72
- display: flex;
73
- width: 100%;
74
- justify-content: center;
75
- padding-top: 24px;
76
- }
1
+ .jetlinks-edit-table-body-viewport {
2
+ max-height: 100%;
3
+ width: 100%;
4
+ overflow: hidden auto;
5
+ position: relative;
6
+
7
+ .jetlinks-edit-scrollbar {
8
+ position: absolute;
9
+ left: 0;
10
+ top: 0;
11
+ right: 0;
12
+ z-index: -1;
13
+ }
14
+
15
+ .jetlinks-edit-table-body-container {
16
+ display: flex;
17
+ }
18
+
19
+ .jetlinks-edit-table-center, & .jetlinks-edit-table-left,& .jetlinks-edit-table-right {
20
+ position: relative;
21
+ min-width: 0;
22
+ height: 100%;
23
+ z-index: 5;
24
+ flex-shrink: 0;
25
+ flex-grow: 0;
26
+
27
+ .jetlinks-edit-table-row {
28
+ width: 100%;
29
+ display: flex;
30
+ align-items: center;
31
+ transition: top .2s, height .2s, background-color .1s;
32
+ border-bottom: 1px solid #ebebeb;
33
+ background-color: #fff;
34
+
35
+ &.jetlinks-edit-table-row-hover {
36
+ background-color: rgb(248, 248, 248);
37
+ }
38
+
39
+ &.jetlinks-edit-table-row-selected {
40
+ background-color: var(--ant-primary-1);
41
+ }
42
+
43
+ .jetlinks-edit-table-cell {
44
+ min-width: 0;
45
+ }
46
+
47
+ .body-cell-box {
48
+ padding: 0 12px;
49
+ position: relative;
50
+ }
51
+ }
52
+ }
53
+
54
+ .jetlinks-edit-table-left {
55
+ position: sticky;
56
+ left: 0;
57
+ }
58
+
59
+ .jetlinks-edit-table-right {
60
+ position: sticky;
61
+ right: 0;
62
+ }
63
+
64
+ .jetlinks-edit-table-center {
65
+ z-index: 1;
66
+ > div {
67
+ position: relative;
68
+ }
69
+ }
70
+ }
71
+ .jetlinks-edit-table-body-empty {
72
+ display: flex;
73
+ width: 100%;
74
+ justify-content: center;
75
+ padding-top: 24px;
76
+ }
@@ -192,8 +192,6 @@
192
192
  }
193
193
  .jetlinks-edit-table-horizontal-scroll {
194
194
  height: 17px;
195
- min-height: 17px;
196
- max-height: 17px;
197
195
  width: 100%;
198
196
  display: flex;
199
197
  position: relative;
@@ -205,15 +203,12 @@
205
203
  position: relative;
206
204
  flex: 1 1 0;
207
205
  height: 17px;
208
- min-height: 17px;
209
- max-height: 17px;
210
206
  width: 100%;
211
207
  }
212
208
  .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-viewport > div {
213
209
  height: 17px;
214
210
  }
215
211
  .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-hidden {
216
- width: 17px;
217
212
  height: 100%;
218
213
  overflow-x: hidden;
219
214
  }
@@ -14,8 +14,6 @@
14
14
 
15
15
  .jetlinks-edit-table-horizontal-scroll {
16
16
  height: 17px;
17
- min-height: 17px;
18
- max-height: 17px;
19
17
  width: 100%;
20
18
  display: flex;
21
19
  position: relative;
@@ -27,8 +25,6 @@
27
25
  position: relative;
28
26
  flex: 1 1 0;
29
27
  height: 17px;
30
- min-height: 17px;
31
- max-height: 17px;
32
28
  width: 100%;
33
29
 
34
30
  > div {
@@ -37,6 +33,6 @@
37
33
  }
38
34
 
39
35
  .jetlinks-edit-table-horizontal-scroll-hidden {
40
- width: 17px; height: 100%; overflow-x: hidden;
36
+ height: 100%; overflow-x: hidden;
41
37
  }
42
38
  }
@@ -1,42 +1,42 @@
1
- .jetlinks-edit-table-wrapper {
2
- background: #fff;
3
- height: 100%;
4
- position: relative;
5
-
6
- &.table-full-screen {
7
- padding: 24px;
8
- }
9
-
10
- .jetlinks-edit-table {
11
- display: flex;
12
- flex-direction: column;
13
- flex-grow: 0;
14
- flex-shrink: 0;
15
-
16
- .jetlinks-edit-table-header {
17
- overflow: hidden;
18
- width: 100%;
19
- position: relative;
20
-
21
- .jetlinks-edit-table-header-scroll-hidden {
22
- position: absolute;
23
- top: 0;
24
- right: 0;
25
- bottom: 0;
26
- z-index: 5;
27
- background: #fafafa;
28
- }
29
- }
30
-
31
-
32
- .jetlinks-edit-table-body {
33
- background-color: #fff;
34
- overflow-y: hidden;
35
- position: relative;
36
- height: 100%;
37
- width: 100%;
38
- flex: 1 1 auto;
39
- flex-direction: row;
40
- }
41
- }
42
- }
1
+ .jetlinks-edit-table-wrapper {
2
+ background: #fff;
3
+ height: 100%;
4
+ position: relative;
5
+
6
+ &.table-full-screen {
7
+ padding: 24px;
8
+ }
9
+
10
+ .jetlinks-edit-table {
11
+ display: flex;
12
+ flex-direction: column;
13
+ flex-grow: 0;
14
+ flex-shrink: 0;
15
+
16
+ .jetlinks-edit-table-header {
17
+ overflow: hidden;
18
+ width: 100%;
19
+ position: relative;
20
+
21
+ .jetlinks-edit-table-header-scroll-hidden {
22
+ position: absolute;
23
+ top: 0;
24
+ right: 0;
25
+ bottom: 0;
26
+ z-index: 5;
27
+ background: #fafafa;
28
+ }
29
+ }
30
+
31
+
32
+ .jetlinks-edit-table-body {
33
+ background-color: #fff;
34
+ overflow-y: hidden;
35
+ position: relative;
36
+ height: 100%;
37
+ width: 100%;
38
+ flex: 1 1 auto;
39
+ flex-direction: row;
40
+ }
41
+ }
42
+ }
@@ -84,7 +84,6 @@ var handleColumnFixed = exports.handleColumnFixed = function handleColumnFixed(c
84
84
  keys: [],
85
85
  width: 0
86
86
  };
87
- console.log('columns', columns);
88
87
  columns.forEach(function (item) {
89
88
  if (item.fixed === 'left') {
90
89
  left.keys.push(item);
@@ -6,7 +6,7 @@
6
6
  } */
7
7
  import { defineComponent as _defineComponent } from 'vue';
8
8
  import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
9
- const _withScopeId = n => (_pushScopeId("data-v-1722910928600"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1722999078243"), n = n(), _popScopeId(), n);
10
10
  const _hoisted_1 = { class: "full-page-warp-content" };
11
11
  import { ref } from 'vue';
12
12
  import { useElementBounding } from '@vueuse/core';
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1722910930530"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1722999080380"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1722910929513"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1722999079674"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1722910929773"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1722999079843"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
@@ -1586,8 +1586,6 @@ textarea.ant-pagination-options-quick-jumper input {
1586
1586
  }
1587
1587
  .jetlinks-edit-table-horizontal-scroll {
1588
1588
  height: 17px;
1589
- min-height: 17px;
1590
- max-height: 17px;
1591
1589
  width: 100%;
1592
1590
  display: flex;
1593
1591
  position: relative;
@@ -1599,15 +1597,12 @@ textarea.ant-pagination-options-quick-jumper input {
1599
1597
  position: relative;
1600
1598
  flex: 1 1 0;
1601
1599
  height: 17px;
1602
- min-height: 17px;
1603
- max-height: 17px;
1604
1600
  width: 100%;
1605
1601
  }
1606
1602
  .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-viewport > div {
1607
1603
  height: 17px;
1608
1604
  }
1609
1605
  .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-hidden {
1610
- width: 17px;
1611
1606
  height: 100%;
1612
1607
  overflow-x: hidden;
1613
1608
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.0.38",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -136,9 +136,9 @@
136
136
  "webpack-dev-server": "^4.0.0",
137
137
  "webpack-merge": "^5.0.0",
138
138
  "webpackbar": "^5.0.2",
139
+ "@jetlinks-web/utils": "^1.0.7",
139
140
  "@jetlinks-web/constants": "^1.0.2",
140
- "@jetlinks-web/hooks": "^1.0.13",
141
- "@jetlinks-web/utils": "^1.0.7"
141
+ "@jetlinks-web/hooks": "^1.0.13"
142
142
  },
143
143
  "publishConfig": {
144
144
  "registry": "https://registry.npmjs.org/",