@jetlinks-web/components 2.5.5 → 2.6.0

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,97 +1,97 @@
1
- @import "ant-design-vue/es/style/themes/index.less";
2
- @boxColor: rgb(@primary-color);
3
-
4
- // 弹窗动画
5
- .dialog-enter-active,
6
- .dialog-leave-active {
7
- transition: opacity .5s;
8
- }
9
-
10
- .dialog-enter,
11
- .dialog-leave-to {
12
- opacity: 0;
13
- }
14
-
15
- .jetlinks-drag-modal {
16
- position: fixed;
17
- z-index: 1000;
18
-
19
- .jetlinks-drag-modal-sprite {
20
- position: absolute;
21
- width: 100%;
22
- height: 100%;
23
- display: flex;
24
- flex-direction: column;
25
- overflow: hidden;
26
- z-index: 23456765435;
27
- background-color: #ffffff;
28
- border-radius: 4px;
29
- border: 1px solid #91CAFF;
30
- box-shadow: 0 3px 8px 0 rgba(#1677FF, 0.24);
31
-
32
- .header {
33
- padding: 5px 15px;
34
- font-size: 18px;
35
- font-weight: 700;
36
- color: #333;
37
- display: flex;
38
- justify-content: space-between;
39
- align-items: center;
40
- border-bottom: 1px solid #f0f0f0;
41
- cursor: move;
42
- }
43
-
44
- .jetlinks-drag-modal-body {
45
- flex: 1;
46
- min-height: 0;
47
- overflow-y: auto;
48
- padding: 24px 20px;
49
- }
50
-
51
- .jetlinks-drag-modal-footer {
52
- border-top: 1px solid #f0f0f0;
53
- padding: 5px 15px;
54
- text-align: right;
55
- }
56
- }
57
-
58
- .jetlinks-drag-modal-range {
59
- position: absolute;
60
- width: 16px;
61
- height: 16px;
62
- border-radius: 100%;
63
- z-index: 23456765436;
64
-
65
- .drag-bottom-right, .drag-top-left {
66
- &:hover {
67
- cursor: nwse-resize
68
- }
69
- }
70
-
71
- .drag-bottom-left, .drag-top-right {
72
- &:hover {
73
- cursor: nesw-resize
74
- }
75
- }
76
-
77
- .drag-top-right {
78
- top: -6px;
79
- right: -6px;
80
- }
81
-
82
- .drag-top-left {
83
- top: -6px;
84
- left: -6px;
85
- }
86
-
87
- .drag-bottom-right {
88
- bottom: -6px;
89
- right: -6px;
90
- }
91
-
92
- .drag-bottom-left {
93
- bottom: -6px;
94
- left: -6px;
95
- }
96
- }
97
- }
1
+ @import "ant-design-vue/es/style/themes/index.less";
2
+ @boxColor: rgb(@primary-color);
3
+
4
+ // 弹窗动画
5
+ .dialog-enter-active,
6
+ .dialog-leave-active {
7
+ transition: opacity .5s;
8
+ }
9
+
10
+ .dialog-enter,
11
+ .dialog-leave-to {
12
+ opacity: 0;
13
+ }
14
+
15
+ .jetlinks-drag-modal {
16
+ position: fixed;
17
+ z-index: 1000;
18
+
19
+ .jetlinks-drag-modal-sprite {
20
+ position: absolute;
21
+ width: 100%;
22
+ height: 100%;
23
+ display: flex;
24
+ flex-direction: column;
25
+ overflow: hidden;
26
+ z-index: 23456765435;
27
+ background-color: #ffffff;
28
+ border-radius: 4px;
29
+ border: 1px solid #91CAFF;
30
+ box-shadow: 0 3px 8px 0 rgba(#1677FF, 0.24);
31
+
32
+ .header {
33
+ padding: 5px 15px;
34
+ font-size: 18px;
35
+ font-weight: 700;
36
+ color: #333;
37
+ display: flex;
38
+ justify-content: space-between;
39
+ align-items: center;
40
+ border-bottom: 1px solid #f0f0f0;
41
+ cursor: move;
42
+ }
43
+
44
+ .jetlinks-drag-modal-body {
45
+ flex: 1;
46
+ min-height: 0;
47
+ overflow-y: auto;
48
+ padding: 24px 20px;
49
+ }
50
+
51
+ .jetlinks-drag-modal-footer {
52
+ border-top: 1px solid #f0f0f0;
53
+ padding: 5px 15px;
54
+ text-align: right;
55
+ }
56
+ }
57
+
58
+ .jetlinks-drag-modal-range {
59
+ position: absolute;
60
+ width: 16px;
61
+ height: 16px;
62
+ border-radius: 100%;
63
+ z-index: 23456765436;
64
+
65
+ .drag-bottom-right, .drag-top-left {
66
+ &:hover {
67
+ cursor: nwse-resize
68
+ }
69
+ }
70
+
71
+ .drag-bottom-left, .drag-top-right {
72
+ &:hover {
73
+ cursor: nesw-resize
74
+ }
75
+ }
76
+
77
+ .drag-top-right {
78
+ top: -6px;
79
+ right: -6px;
80
+ }
81
+
82
+ .drag-top-left {
83
+ top: -6px;
84
+ left: -6px;
85
+ }
86
+
87
+ .drag-bottom-right {
88
+ bottom: -6px;
89
+ right: -6px;
90
+ }
91
+
92
+ .drag-bottom-left {
93
+ bottom: -6px;
94
+ left: -6px;
95
+ }
96
+ }
97
+ }
@@ -42,7 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
42
42
  "onDesc": "setup-const"
43
43
  } */
44
44
  import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
45
- const _withScopeId = n => (_pushScopeId("data-v-1743503004503"), n = n(), _popScopeId(), n);
45
+ const _withScopeId = n => (_pushScopeId("data-v-1744011293517"), n = n(), _popScopeId(), n);
46
46
  const _hoisted_1 = { class: "jetlinks-table-sort-content" };
47
47
  const _hoisted_2 = { class: "jetlinks-table-sort-title" };
48
48
  const _hoisted_3 = { class: "table-sort-body" };
@@ -0,0 +1,5 @@
1
+ import FlameGraph from './index.js';
2
+ FlameGraph.install = function (app) {
3
+ app.component(FlameGraph.name, FlameGraph);
4
+ };
5
+ export default FlameGraph;
@@ -9,7 +9,7 @@
9
9
  } */
10
10
  import { defineComponent as _defineComponent } from 'vue';
11
11
  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";
12
- const _withScopeId = n => (_pushScopeId("data-v-1743503002476"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1744011291324"), n = n(), _popScopeId(), n);
13
13
  const _hoisted_1 = { class: "full-page-warp-content" };
14
14
  import { ref, inject } from 'vue';
15
15
  import { useElementBounding } from '@vueuse/core';
@@ -0,0 +1,139 @@
1
+ @import '../../style/variable.less';
2
+ @import 'ant-design-vue/es/pagination/style/index.less';
3
+ @import 'ant-design-vue/es/table/style/index.less';
4
+ @import 'ant-design-vue/es/button/style/index.less';
5
+ @import 'ant-design-vue/es/alert/style/index.less';
6
+ @import 'ant-design-vue/es/radio/style/index.less';
7
+ @import 'ant-design-vue/es/spin/style/index.less';
8
+
9
+ .jtable-body-spin {
10
+ height: 100%;
11
+ width: 100%;
12
+ background-color: #fff;
13
+
14
+ .ant-spin-nested-loading {
15
+ height: 100%;
16
+
17
+ .ant-spin-container {
18
+ height: 100%;
19
+ }
20
+ }
21
+
22
+ .jtable-body {
23
+ width: 100%;
24
+ box-sizing: border-box;
25
+ height: 100%;
26
+ display: flex;
27
+ flex-direction: column;
28
+ }
29
+ }
30
+
31
+ .jtable-body-header {
32
+ display: flex;
33
+ justify-content: space-between;
34
+ align-items: center;
35
+ margin-bottom: 16px;
36
+ width: 100%;
37
+ gap: 8px;
38
+
39
+ .jtable-body-header-left {
40
+ flex: 1;
41
+ min-width: 0;
42
+ }
43
+
44
+ .jtable-body-header-right {
45
+ display: flex;
46
+ gap: 8px;
47
+ align-items: center;
48
+
49
+ .jtable-body-header-right-button {
50
+ width: 62px;
51
+
52
+ .right-button-icon {
53
+ font-size: 16px;
54
+ color: #d9d9d9;
55
+ }
56
+
57
+ .ant-radio-button-wrapper {
58
+ padding: 0 8px;
59
+ }
60
+
61
+ :deep(.ant-radio-button-wrapper-checked) {
62
+ color: @primary-color;
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ .jtable-box {
69
+ flex: 1;
70
+ min-height: 0;
71
+
72
+ .jtable-card {
73
+ height: 100%;
74
+ overflow-y: auto;
75
+
76
+ .jtable-card-items {
77
+ display: grid;
78
+ grid-gap: 26px;
79
+
80
+ .jtable-card-item {
81
+ display: flex;
82
+ min-width: 0;
83
+ }
84
+ }
85
+
86
+ .j-table-empty {
87
+ margin-top: 100px;
88
+ }
89
+ }
90
+
91
+ .ant-table-wrapper {
92
+ height: 100%;
93
+ .ant-table {
94
+ height: 100%;
95
+
96
+ .ant-table-container {
97
+ height: 100%;
98
+
99
+ .ant-table-content {
100
+ height: 100%;
101
+ }
102
+ }
103
+ }
104
+ }
105
+
106
+ .j-table-scroll {
107
+
108
+ .ant-table-container {
109
+ display: flex;
110
+ flex-direction: column;
111
+
112
+ .ant-table-body {
113
+ flex: 1;
114
+ min-height: 0;
115
+ overflow-y: auto;
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ .jtable-alert {
122
+ margin-bottom: 16px;
123
+ }
124
+
125
+ .jtable-pagination {
126
+ width: 100%;
127
+ display: flex;
128
+ justify-content: flex-end;
129
+ margin-top: 16px;
130
+
131
+ .hide-content {
132
+ .@{ant-prefix}-pagination-item,
133
+ & .@{ant-prefix}-pagination-jump-prev,
134
+ & .@{ant-prefix}-pagination-jump-next {
135
+ display: none;
136
+ }
137
+ }
138
+ }
139
+
@@ -23,7 +23,7 @@
23
23
  } */
24
24
  import { defineComponent as _defineComponent } from 'vue';
25
25
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
26
- const _withScopeId = n => (_pushScopeId("data-v-1743503004238"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1744011293337"), n = n(), _popScopeId(), n);
27
27
  const _hoisted_1 = {
28
28
  key: 0,
29
29
  style: { "width": "240px" }
package/es/Search/Item.js CHANGED
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
80
80
  } */
81
81
  import { defineComponent as _defineComponent } from 'vue';
82
82
  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";
83
- const _withScopeId = n => (_pushScopeId("data-v-1743503003530"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1744011292697"), n = n(), _popScopeId(), n);
84
84
  const _hoisted_1 = { class: "JSearch-item" };
85
85
  const _hoisted_2 = {
86
86
  key: 0,
package/es/components.js CHANGED
@@ -20,4 +20,5 @@ export { default as DragModal } from './DragModal';
20
20
  export { default as EditTable } from './EditTable';
21
21
  export { default as Markdown } from './Markdown';
22
22
  export { default as AutoComplete } from './AutoComplete';
23
- export { default as Title } from './Title';
23
+ export { default as Title } from './Title';
24
+ export { default as FlameGraph } from './FlameGraph';
@@ -114,5 +114,9 @@ export default {
114
114
  },
115
115
  PermissionButton: {
116
116
  hasPermission: 'No permission, please contact the administrator'
117
+ },
118
+ FlameGraph: {
119
+ placeholder: 'Please input',
120
+ revert: 'Revert'
117
121
  }
118
122
  };
@@ -114,5 +114,9 @@ export default {
114
114
  },
115
115
  PermissionButton: {
116
116
  hasPermission: '暂无权限,请联系管理员'
117
+ },
118
+ FlameGraph: {
119
+ placeholder: '请输入',
120
+ revert: '反转'
117
121
  }
118
122
  };
@@ -1,97 +1,97 @@
1
- @import "ant-design-vue/es/style/themes/index.less";
2
- @boxColor: rgb(@primary-color);
3
-
4
- // 弹窗动画
5
- .dialog-enter-active,
6
- .dialog-leave-active {
7
- transition: opacity .5s;
8
- }
9
-
10
- .dialog-enter,
11
- .dialog-leave-to {
12
- opacity: 0;
13
- }
14
-
15
- .jetlinks-drag-modal {
16
- position: fixed;
17
- z-index: 1000;
18
-
19
- .jetlinks-drag-modal-sprite {
20
- position: absolute;
21
- width: 100%;
22
- height: 100%;
23
- display: flex;
24
- flex-direction: column;
25
- overflow: hidden;
26
- z-index: 23456765435;
27
- background-color: #ffffff;
28
- border-radius: 4px;
29
- border: 1px solid #91CAFF;
30
- box-shadow: 0 3px 8px 0 rgba(#1677FF, 0.24);
31
-
32
- .header {
33
- padding: 5px 15px;
34
- font-size: 18px;
35
- font-weight: 700;
36
- color: #333;
37
- display: flex;
38
- justify-content: space-between;
39
- align-items: center;
40
- border-bottom: 1px solid #f0f0f0;
41
- cursor: move;
42
- }
43
-
44
- .jetlinks-drag-modal-body {
45
- flex: 1;
46
- min-height: 0;
47
- overflow-y: auto;
48
- padding: 24px 20px;
49
- }
50
-
51
- .jetlinks-drag-modal-footer {
52
- border-top: 1px solid #f0f0f0;
53
- padding: 5px 15px;
54
- text-align: right;
55
- }
56
- }
57
-
58
- .jetlinks-drag-modal-range {
59
- position: absolute;
60
- width: 16px;
61
- height: 16px;
62
- border-radius: 100%;
63
- z-index: 23456765436;
64
-
65
- .drag-bottom-right, .drag-top-left {
66
- &:hover {
67
- cursor: nwse-resize
68
- }
69
- }
70
-
71
- .drag-bottom-left, .drag-top-right {
72
- &:hover {
73
- cursor: nesw-resize
74
- }
75
- }
76
-
77
- .drag-top-right {
78
- top: -6px;
79
- right: -6px;
80
- }
81
-
82
- .drag-top-left {
83
- top: -6px;
84
- left: -6px;
85
- }
86
-
87
- .drag-bottom-right {
88
- bottom: -6px;
89
- right: -6px;
90
- }
91
-
92
- .drag-bottom-left {
93
- bottom: -6px;
94
- left: -6px;
95
- }
96
- }
97
- }
1
+ @import "ant-design-vue/es/style/themes/index.less";
2
+ @boxColor: rgb(@primary-color);
3
+
4
+ // 弹窗动画
5
+ .dialog-enter-active,
6
+ .dialog-leave-active {
7
+ transition: opacity .5s;
8
+ }
9
+
10
+ .dialog-enter,
11
+ .dialog-leave-to {
12
+ opacity: 0;
13
+ }
14
+
15
+ .jetlinks-drag-modal {
16
+ position: fixed;
17
+ z-index: 1000;
18
+
19
+ .jetlinks-drag-modal-sprite {
20
+ position: absolute;
21
+ width: 100%;
22
+ height: 100%;
23
+ display: flex;
24
+ flex-direction: column;
25
+ overflow: hidden;
26
+ z-index: 23456765435;
27
+ background-color: #ffffff;
28
+ border-radius: 4px;
29
+ border: 1px solid #91CAFF;
30
+ box-shadow: 0 3px 8px 0 rgba(#1677FF, 0.24);
31
+
32
+ .header {
33
+ padding: 5px 15px;
34
+ font-size: 18px;
35
+ font-weight: 700;
36
+ color: #333;
37
+ display: flex;
38
+ justify-content: space-between;
39
+ align-items: center;
40
+ border-bottom: 1px solid #f0f0f0;
41
+ cursor: move;
42
+ }
43
+
44
+ .jetlinks-drag-modal-body {
45
+ flex: 1;
46
+ min-height: 0;
47
+ overflow-y: auto;
48
+ padding: 24px 20px;
49
+ }
50
+
51
+ .jetlinks-drag-modal-footer {
52
+ border-top: 1px solid #f0f0f0;
53
+ padding: 5px 15px;
54
+ text-align: right;
55
+ }
56
+ }
57
+
58
+ .jetlinks-drag-modal-range {
59
+ position: absolute;
60
+ width: 16px;
61
+ height: 16px;
62
+ border-radius: 100%;
63
+ z-index: 23456765436;
64
+
65
+ .drag-bottom-right, .drag-top-left {
66
+ &:hover {
67
+ cursor: nwse-resize
68
+ }
69
+ }
70
+
71
+ .drag-bottom-left, .drag-top-right {
72
+ &:hover {
73
+ cursor: nesw-resize
74
+ }
75
+ }
76
+
77
+ .drag-top-right {
78
+ top: -6px;
79
+ right: -6px;
80
+ }
81
+
82
+ .drag-top-left {
83
+ top: -6px;
84
+ left: -6px;
85
+ }
86
+
87
+ .drag-bottom-right {
88
+ bottom: -6px;
89
+ right: -6px;
90
+ }
91
+
92
+ .drag-bottom-left {
93
+ bottom: -6px;
94
+ left: -6px;
95
+ }
96
+ }
97
+ }
@@ -42,7 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
42
42
  "onDesc": "setup-const"
43
43
  } */
44
44
  import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
45
- const _withScopeId = n => (_pushScopeId("data-v-1743503004519"), n = n(), _popScopeId(), n);
45
+ const _withScopeId = n => (_pushScopeId("data-v-1744011293499"), n = n(), _popScopeId(), n);
46
46
  const _hoisted_1 = { class: "jetlinks-table-sort-content" };
47
47
  const _hoisted_2 = { class: "jetlinks-table-sort-title" };
48
48
  const _hoisted_3 = { class: "table-sort-body" };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _index = _interopRequireDefault(require("./index.js"));
9
+ _index.default.install = function (app) {
10
+ app.component(_index.default.name, _index.default);
11
+ };
12
+ var _default = exports.default = _index.default;
@@ -9,7 +9,7 @@
9
9
  } */
10
10
  import { defineComponent as _defineComponent } from 'vue';
11
11
  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";
12
- const _withScopeId = n => (_pushScopeId("data-v-1743503002482"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1744011291317"), n = n(), _popScopeId(), n);
13
13
  const _hoisted_1 = { class: "full-page-warp-content" };
14
14
  import { ref, inject } from 'vue';
15
15
  import { useElementBounding } from '@vueuse/core';
@@ -0,0 +1,139 @@
1
+ @import '../../style/variable.less';
2
+ @import 'ant-design-vue/lib/pagination/style/index.less';
3
+ @import 'ant-design-vue/lib/table/style/index.less';
4
+ @import 'ant-design-vue/lib/button/style/index.less';
5
+ @import 'ant-design-vue/lib/alert/style/index.less';
6
+ @import 'ant-design-vue/lib/radio/style/index.less';
7
+ @import 'ant-design-vue/lib/spin/style/index.less';
8
+
9
+ .jtable-body-spin {
10
+ height: 100%;
11
+ width: 100%;
12
+ background-color: #fff;
13
+
14
+ .ant-spin-nested-loading {
15
+ height: 100%;
16
+
17
+ .ant-spin-container {
18
+ height: 100%;
19
+ }
20
+ }
21
+
22
+ .jtable-body {
23
+ width: 100%;
24
+ box-sizing: border-box;
25
+ height: 100%;
26
+ display: flex;
27
+ flex-direction: column;
28
+ }
29
+ }
30
+
31
+ .jtable-body-header {
32
+ display: flex;
33
+ justify-content: space-between;
34
+ align-items: center;
35
+ margin-bottom: 16px;
36
+ width: 100%;
37
+ gap: 8px;
38
+
39
+ .jtable-body-header-left {
40
+ flex: 1;
41
+ min-width: 0;
42
+ }
43
+
44
+ .jtable-body-header-right {
45
+ display: flex;
46
+ gap: 8px;
47
+ align-items: center;
48
+
49
+ .jtable-body-header-right-button {
50
+ width: 62px;
51
+
52
+ .right-button-icon {
53
+ font-size: 16px;
54
+ color: #d9d9d9;
55
+ }
56
+
57
+ .ant-radio-button-wrapper {
58
+ padding: 0 8px;
59
+ }
60
+
61
+ :deep(.ant-radio-button-wrapper-checked) {
62
+ color: @primary-color;
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ .jtable-box {
69
+ flex: 1;
70
+ min-height: 0;
71
+
72
+ .jtable-card {
73
+ height: 100%;
74
+ overflow-y: auto;
75
+
76
+ .jtable-card-items {
77
+ display: grid;
78
+ grid-gap: 26px;
79
+
80
+ .jtable-card-item {
81
+ display: flex;
82
+ min-width: 0;
83
+ }
84
+ }
85
+
86
+ .j-table-empty {
87
+ margin-top: 100px;
88
+ }
89
+ }
90
+
91
+ .ant-table-wrapper {
92
+ height: 100%;
93
+ .ant-table {
94
+ height: 100%;
95
+
96
+ .ant-table-container {
97
+ height: 100%;
98
+
99
+ .ant-table-content {
100
+ height: 100%;
101
+ }
102
+ }
103
+ }
104
+ }
105
+
106
+ .j-table-scroll {
107
+
108
+ .ant-table-container {
109
+ display: flex;
110
+ flex-direction: column;
111
+
112
+ .ant-table-body {
113
+ flex: 1;
114
+ min-height: 0;
115
+ overflow-y: auto;
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ .jtable-alert {
122
+ margin-bottom: 16px;
123
+ }
124
+
125
+ .jtable-pagination {
126
+ width: 100%;
127
+ display: flex;
128
+ justify-content: flex-end;
129
+ margin-top: 16px;
130
+
131
+ .hide-content {
132
+ .@{ant-prefix}-pagination-item,
133
+ & .@{ant-prefix}-pagination-jump-prev,
134
+ & .@{ant-prefix}-pagination-jump-next {
135
+ display: none;
136
+ }
137
+ }
138
+ }
139
+
@@ -23,7 +23,7 @@
23
23
  } */
24
24
  import { defineComponent as _defineComponent } from 'vue';
25
25
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
26
- const _withScopeId = n => (_pushScopeId("data-v-1743503004249"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1744011293324"), n = n(), _popScopeId(), n);
27
27
  const _hoisted_1 = {
28
28
  key: 0,
29
29
  style: { "width": "240px" }
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
80
80
  } */
81
81
  import { defineComponent as _defineComponent } from 'vue';
82
82
  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";
83
- const _withScopeId = n => (_pushScopeId("data-v-1743503003588"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1744011292645"), n = n(), _popScopeId(), n);
84
84
  const _hoisted_1 = { class: "JSearch-item" };
85
85
  const _hoisted_2 = {
86
86
  key: 0,
package/lib/components.js CHANGED
@@ -77,6 +77,12 @@ Object.defineProperty(exports, "Empty", {
77
77
  return _Empty.default;
78
78
  }
79
79
  });
80
+ Object.defineProperty(exports, "FlameGraph", {
81
+ enumerable: true,
82
+ get: function get() {
83
+ return _FlameGraph.default;
84
+ }
85
+ });
80
86
  Object.defineProperty(exports, "FullPage", {
81
87
  enumerable: true,
82
88
  get: function get() {
@@ -178,5 +184,6 @@ var _EditTable = _interopRequireDefault(require("./EditTable"));
178
184
  var _Markdown = _interopRequireDefault(require("./Markdown"));
179
185
  var _AutoComplete = _interopRequireDefault(require("./AutoComplete"));
180
186
  var _Title = _interopRequireDefault(require("./Title"));
187
+ var _FlameGraph = _interopRequireDefault(require("./FlameGraph"));
181
188
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
182
189
  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; }
@@ -120,5 +120,9 @@ var _default = exports.default = {
120
120
  },
121
121
  PermissionButton: {
122
122
  hasPermission: 'No permission, please contact the administrator'
123
+ },
124
+ FlameGraph: {
125
+ placeholder: 'Please input',
126
+ revert: 'Revert'
123
127
  }
124
128
  };
@@ -120,5 +120,9 @@ var _default = exports.default = {
120
120
  },
121
121
  PermissionButton: {
122
122
  hasPermission: '暂无权限,请联系管理员'
123
+ },
124
+ FlameGraph: {
125
+ placeholder: '请输入',
126
+ revert: '反转'
123
127
  }
124
128
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.5.5",
3
+ "version": "2.6.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -25,6 +25,8 @@
25
25
  "@vueuse/core": "^10.2.1",
26
26
  "@vueuse/router": "^12.1.0",
27
27
  "async-validator": "^4.2.5",
28
+ "d3": "^7.9.0",
29
+ "d3-flame-graph": "^4.1.3",
28
30
  "echarts": "^5.4.3",
29
31
  "markdown-it": "^14.1.0",
30
32
  "markdown-it-abbr": "^2.0.0",