@jetlinks-web/components 2.0.3 → 2.0.4-10
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/es/AMap/Map.js +5 -1
- package/es/AMap/index.js +3 -0
- package/es/BadgeStatus/Badge.js +3 -0
- package/es/BadgeStatus/index.js +3 -0
- package/es/CardSelect/CardSelect.js +4 -2
- package/es/CardSelect/index.js +3 -0
- package/es/CheckButton/CheckButton.js +4 -2
- package/es/CheckButton/index.js +3 -0
- package/es/CheckButton/style/index.css +37 -0
- package/es/CheckButton/style/index.less +40 -0
- package/es/ConfigProvider/index.js +3 -0
- package/es/Echarts/Echarts.js +3 -0
- package/es/Echarts/index.js +3 -0
- package/es/Ellipsis/Ellipsis.js +26 -23
- package/es/Ellipsis/index.js +3 -0
- package/es/Ellipsis/style/index.css +17 -0
- package/es/Ellipsis/style/index.less +20 -0
- package/es/Empty/Empty.js +3 -0
- package/es/Empty/index.js +3 -0
- package/es/FullPage/FullPage.js +4 -1
- package/es/FullPage/index.js +3 -0
- package/es/Icon/index.js +3 -0
- package/es/MonacoEditor/Monaco.js +4 -2
- package/es/MonacoEditor/index.js +3 -0
- package/es/PermissionButton/index.js +4 -1
- package/es/ProLayout/index.js +3 -0
- package/es/ProLayout/style/default.less +4 -4
- package/es/ProTable/index.js +4 -1
- package/es/ProTable/style/index.less +92 -92
- package/es/Scrollbar/index.js +3 -0
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Advanced/index.js +3 -0
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +4 -1
- package/es/Search/index.js +3 -0
- package/es/ValueItem/ValueItem.js +3 -0
- package/es/ValueItem/index.js +3 -0
- package/es/components.js +17 -0
- package/es/index.js +13 -22
- package/es/style/index.css +287 -0
- package/es/style/index.less +6 -0
- package/es/style/variable.less +2 -2
- package/es/style.js +2 -0
- package/lib/AMap/Map.js +5 -1
- package/lib/AMap/index.js +3 -0
- package/lib/BadgeStatus/Badge.js +3 -0
- package/lib/BadgeStatus/index.js +3 -0
- package/lib/CardSelect/CardSelect.js +4 -2
- package/lib/CardSelect/index.js +3 -0
- package/lib/CheckButton/CheckButton.js +4 -2
- package/lib/CheckButton/index.js +3 -0
- package/lib/CheckButton/style/index.css +37 -0
- package/lib/CheckButton/style/index.less +40 -0
- package/lib/ConfigProvider/index.js +3 -0
- package/lib/Echarts/Echarts.js +3 -0
- package/lib/Echarts/index.js +3 -0
- package/lib/Ellipsis/Ellipsis.js +26 -23
- package/lib/Ellipsis/index.js +3 -0
- package/lib/Ellipsis/style/index.css +17 -0
- package/lib/Ellipsis/style/index.less +20 -0
- package/lib/Empty/Empty.js +3 -0
- package/lib/Empty/index.js +3 -0
- package/lib/FullPage/FullPage.js +4 -1
- package/lib/FullPage/index.js +3 -0
- package/lib/Icon/index.js +3 -0
- package/lib/MonacoEditor/Monaco.js +4 -2
- package/lib/MonacoEditor/index.js +3 -0
- package/lib/PermissionButton/index.js +4 -1
- package/lib/ProLayout/index.js +3 -0
- package/lib/ProLayout/style/default.less +4 -4
- package/lib/ProTable/index.js +4 -1
- package/lib/ProTable/style/index.less +92 -92
- package/lib/Scrollbar/index.js +3 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Advanced/index.js +3 -0
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +4 -1
- package/lib/Search/index.js +3 -0
- package/lib/ValueItem/ValueItem.js +3 -0
- package/lib/ValueItem/index.js +3 -0
- package/lib/components.js +134 -0
- package/lib/index.js +18 -138
- package/lib/style/components.less +2 -0
- package/lib/style/index.css +287 -0
- package/lib/style/index.less +6 -0
- package/lib/style/variable.less +2 -2
- package/lib/style.js +2 -0
- package/package.json +8 -9
package/lib/Ellipsis/Ellipsis.js
CHANGED
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"syncCursorStyle": "setup-const",
|
|
26
26
|
"getTooltipDisabled": "setup-const"
|
|
27
27
|
} */
|
|
28
|
-
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass,
|
|
28
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, mergeProps as _mergeProps, unref as _unref, withCtx as _withCtx, createSlots as _createSlots, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
29
29
|
import { Tooltip } from 'ant-design-vue';
|
|
30
30
|
import { computed, mergeProps, ref, useAttrs } from 'vue';
|
|
31
31
|
const jEllipsis = 'j-ellipsis';
|
|
32
32
|
const jEllipsisCursorClass = 'j-ellipsis-cursor';
|
|
33
33
|
const jEllipsisLineClampClass = 'j-ellipsis-line-clamp';
|
|
34
34
|
const __sfc_main__ = Object.assign({
|
|
35
|
-
name: '
|
|
35
|
+
name: 'JEllipsis',
|
|
36
36
|
}, {
|
|
37
37
|
props: {
|
|
38
38
|
expandTrigger: {
|
|
@@ -154,35 +154,38 @@ const __sfc_main__ = Object.assign({
|
|
|
154
154
|
ref_key: "tooltipRef",
|
|
155
155
|
ref: tooltipRef,
|
|
156
156
|
placement: "top"
|
|
157
|
-
}, __props.tooltip, { visible: visible.value }), {
|
|
157
|
+
}, __props.tooltip, { visible: visible.value }), _createSlots({
|
|
158
158
|
default: _withCtx(() => [
|
|
159
|
-
(__props.tooltip)
|
|
160
|
-
? (_openBlock(), _createElementBlock("div", {
|
|
161
|
-
key: 0,
|
|
162
|
-
class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
|
|
163
|
-
}, [
|
|
164
|
-
_renderSlot(_ctx.$slots, "default"),
|
|
165
|
-
_renderSlot(_ctx.$slots, "tooltip")
|
|
166
|
-
], 2 /* CLASS */))
|
|
167
|
-
: _createCommentVNode("v-if", true),
|
|
168
159
|
_createElementVNode("span", _mergeProps({
|
|
169
160
|
ref_key: "triggerRef",
|
|
170
161
|
ref: triggerRef
|
|
171
162
|
}, triggerAttrs(), {
|
|
172
163
|
onClick: _cache[0] || (_cache[0] = (...args) => (handleClickRef.value && handleClickRef.value(...args))),
|
|
173
164
|
onMouseleave: _cache[1] || (_cache[1] = $event => (visible.value = false)),
|
|
174
|
-
onMouseenter: _cache[2] || (_cache[2] = $event =>
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
];
|
|
181
|
-
})
|
|
182
|
-
}), null, 16 /* FULL_PROPS */)
|
|
165
|
+
onMouseenter: _cache[2] || (_cache[2] = $event => (props.expandTrigger === 'click'
|
|
166
|
+
? getTooltipDisabled()
|
|
167
|
+
: showTooltip()))
|
|
168
|
+
}), [
|
|
169
|
+
_renderSlot(_ctx.$slots, "default")
|
|
170
|
+
], 16 /* FULL_PROPS */)
|
|
183
171
|
]),
|
|
184
|
-
_:
|
|
185
|
-
},
|
|
172
|
+
_: 2 /* DYNAMIC */
|
|
173
|
+
}, [
|
|
174
|
+
(__props.tooltip)
|
|
175
|
+
? {
|
|
176
|
+
name: "title",
|
|
177
|
+
fn: _withCtx(() => [
|
|
178
|
+
_createElementVNode("div", {
|
|
179
|
+
class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
|
|
180
|
+
}, [
|
|
181
|
+
_renderSlot(_ctx.$slots, "default"),
|
|
182
|
+
_renderSlot(_ctx.$slots, "tooltip")
|
|
183
|
+
], 2 /* CLASS */)
|
|
184
|
+
]),
|
|
185
|
+
key: "0"
|
|
186
|
+
}
|
|
187
|
+
: undefined
|
|
188
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["visible"]));
|
|
186
189
|
};
|
|
187
190
|
}
|
|
188
191
|
});
|
package/lib/Ellipsis/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _Ellipsis = _interopRequireDefault(require("./Ellipsis.js"));
|
|
9
|
+
_Ellipsis.default.install = function (app) {
|
|
10
|
+
app.component(_Ellipsis.default.name, _Ellipsis.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _Ellipsis.default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.j-ellipsis {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
vertical-align: bottom;
|
|
4
|
+
}
|
|
5
|
+
.j-ellipsis-cursor {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
.j-ellipsis-line-clamp {
|
|
9
|
+
display: -webkit-box;
|
|
10
|
+
-webkit-box-orient: vertical;
|
|
11
|
+
word-break: break-all;
|
|
12
|
+
}
|
|
13
|
+
.j-ellipsis-deep {
|
|
14
|
+
max-height: 380px;
|
|
15
|
+
-webkit-line-clamp: 17;
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.j-ellipsis {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
vertical-align: bottom;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.j-ellipsis-cursor {
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.j-ellipsis-line-clamp {
|
|
11
|
+
display: -webkit-box;
|
|
12
|
+
-webkit-box-orient: vertical;
|
|
13
|
+
word-break: break-all;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.j-ellipsis-deep {
|
|
17
|
+
max-height: 380px;
|
|
18
|
+
-webkit-line-clamp: 17;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
package/lib/Empty/Empty.js
CHANGED
package/lib/Empty/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _Empty = _interopRequireDefault(require("./Empty.js"));
|
|
9
|
+
_Empty.default.install = function (app) {
|
|
10
|
+
app.component(_Empty.default.name, _Empty.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _Empty.default;
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -6,11 +6,14 @@
|
|
|
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-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250344957"), 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';
|
|
13
13
|
const __sfc_main__ = _defineComponent({
|
|
14
|
+
...{
|
|
15
|
+
name: 'JFullPage'
|
|
16
|
+
},
|
|
14
17
|
setup(__props) {
|
|
15
18
|
const fullPage = ref(null);
|
|
16
19
|
const { y } = useElementBounding(fullPage);
|
package/lib/FullPage/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _FullPage = _interopRequireDefault(require("./FullPage.js"));
|
|
9
|
+
_FullPage.default.install = function (app) {
|
|
10
|
+
app.component(_FullPage.default.name, _FullPage.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _FullPage.default;
|
package/lib/Icon/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _icon = _interopRequireDefault(require("./icon"));
|
|
9
|
+
_icon.default.install = function (app) {
|
|
10
|
+
app.component(_icon.default.name, _icon.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _icon.default;
|
|
@@ -51,7 +51,9 @@ import { openBlock as _openBlock, createElementBlock as _createElementBlock } fr
|
|
|
51
51
|
import { ref, onMounted, watch, onUnmounted, toRaw, nextTick } from 'vue';
|
|
52
52
|
import * as monaco from 'monaco-editor';
|
|
53
53
|
import { omit } from 'lodash-es';
|
|
54
|
-
const __sfc_main__ = {
|
|
54
|
+
const __sfc_main__ = Object.assign({
|
|
55
|
+
name: 'JMonacoEditor'
|
|
56
|
+
}, {
|
|
55
57
|
props: {
|
|
56
58
|
modelValue: [String, Number],
|
|
57
59
|
theme: { type: String, default: 'vs-dark' },
|
|
@@ -234,5 +236,5 @@ const __sfc_main__ = {
|
|
|
234
236
|
}, null, 512 /* NEED_PATCH */));
|
|
235
237
|
};
|
|
236
238
|
}
|
|
237
|
-
};
|
|
239
|
+
});
|
|
238
240
|
export default __sfc_main__;
|
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _Monaco = _interopRequireDefault(require("./Monaco.js"));
|
|
9
|
+
_Monaco.default.install = function (app) {
|
|
10
|
+
app.component(_Monaco.default.name, _Monaco.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _Monaco.default;
|
|
@@ -34,7 +34,7 @@ var definedProps = (0, _objectSpread2.default)({
|
|
|
34
34
|
}
|
|
35
35
|
}, (0, _lodashEs.omit)((0, _button.buttonProps)(), 'icon'));
|
|
36
36
|
var PermissionButton = (0, _vue.defineComponent)({
|
|
37
|
-
name: '
|
|
37
|
+
name: 'JPermissionButton',
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
slots: ['button', 'icon'],
|
|
40
40
|
props: definedProps,
|
|
@@ -121,4 +121,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
+
PermissionButton.install = function (app) {
|
|
125
|
+
app.component(PermissionButton.name, PermissionButton);
|
|
126
|
+
};
|
|
124
127
|
var _default2 = exports.default = PermissionButton;
|
package/lib/ProLayout/index.js
CHANGED
|
@@ -13,4 +13,7 @@ Object.defineProperty(exports, "PageContainer", {
|
|
|
13
13
|
exports.default = void 0;
|
|
14
14
|
var _BasicLayout = _interopRequireDefault(require("./Basic/BasicLayout"));
|
|
15
15
|
var _PageContainer = _interopRequireDefault(require("./PageContainer"));
|
|
16
|
+
_BasicLayout.default.install = function (app) {
|
|
17
|
+
app.component(_BasicLayout.default.name, _BasicLayout.default);
|
|
18
|
+
};
|
|
16
19
|
var _default = exports.default = _BasicLayout.default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'ant-design-vue/es/style/themes/index.less';
|
|
2
|
-
|
|
3
|
-
@basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
|
|
4
|
-
@pro-layout-header-height: 48px;
|
|
1
|
+
@import 'ant-design-vue/es/style/themes/index.less';
|
|
2
|
+
|
|
3
|
+
@basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
|
|
4
|
+
@pro-layout-header-height: 48px;
|
package/lib/ProTable/index.js
CHANGED
|
@@ -117,7 +117,7 @@ var tableProps = function tableProps() {
|
|
|
117
117
|
});
|
|
118
118
|
};
|
|
119
119
|
var ProTable = (0, _vue.defineComponent)({
|
|
120
|
-
name: '
|
|
120
|
+
name: 'JProTable',
|
|
121
121
|
slots: ['headerTitle', 'card', 'rightExtraRender', 'paginationRender' // 分页
|
|
122
122
|
],
|
|
123
123
|
props: tableProps(),
|
|
@@ -414,4 +414,7 @@ var ProTable = (0, _vue.defineComponent)({
|
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
|
+
ProTable.install = function (app) {
|
|
418
|
+
app.component(ProTable.name, ProTable);
|
|
419
|
+
};
|
|
417
420
|
var _default2 = exports.default = ProTable;
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
@import '../../style/variable.less';
|
|
2
|
-
//@import 'ant-design-vue/es/style/themes/variable.less';
|
|
3
|
-
|
|
4
|
-
.jtable-body-spin {
|
|
5
|
-
min-height: 100%;
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding: 16px 24px 24px;
|
|
8
|
-
background-color: #fff;
|
|
9
|
-
|
|
10
|
-
.ant-spin-nested-loading {
|
|
11
|
-
height: 100%;
|
|
12
|
-
.ant-spin-container {
|
|
13
|
-
height: 100%;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.jtable-body {
|
|
18
|
-
width: 100%;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
height: 100%;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
|
|
24
|
-
.jtable-body-header {
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
align-items: center;
|
|
28
|
-
|
|
29
|
-
.jtable-body-header-right {
|
|
30
|
-
display: flex;
|
|
31
|
-
gap: 8px;
|
|
32
|
-
align-items: center;
|
|
33
|
-
|
|
34
|
-
.jtable-body-header-right-button {
|
|
35
|
-
.right-button-icon {
|
|
36
|
-
font-size: 16px;
|
|
37
|
-
color: #d9d9d9;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.ant-radio-button-wrapper {
|
|
41
|
-
padding: 0 8px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ant-radio-button-wrapper-checked {
|
|
45
|
-
.right-button-icon {
|
|
46
|
-
color: @primary-color;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.jtable-content {
|
|
54
|
-
flex: 1;
|
|
55
|
-
padding: 16px 0;
|
|
56
|
-
|
|
57
|
-
.jtable-alert {
|
|
58
|
-
margin-bottom: 16px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.jtable-card {
|
|
62
|
-
.jtable-card-items {
|
|
63
|
-
display: grid;
|
|
64
|
-
grid-gap: 26px;
|
|
65
|
-
|
|
66
|
-
.jtable-card-item {
|
|
67
|
-
display: flex;
|
|
68
|
-
min-width: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.jtable-pagination {
|
|
75
|
-
// position: absolute;
|
|
76
|
-
// background-color: white;
|
|
77
|
-
// padding: 10px 0;
|
|
78
|
-
// right: 0;
|
|
79
|
-
// bottom: 0;
|
|
80
|
-
width: 100%;
|
|
81
|
-
display: flex;
|
|
82
|
-
justify-content: flex-end;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.j-table-empty {
|
|
86
|
-
display: flex;
|
|
87
|
-
justify-content: center;
|
|
88
|
-
align-items: center;
|
|
89
|
-
margin: 10% 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
1
|
+
@import '../../style/variable.less';
|
|
2
|
+
//@import 'ant-design-vue/es/style/themes/variable.less';
|
|
3
|
+
|
|
4
|
+
.jtable-body-spin {
|
|
5
|
+
min-height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding: 16px 24px 24px;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
|
|
10
|
+
.ant-spin-nested-loading {
|
|
11
|
+
height: 100%;
|
|
12
|
+
.ant-spin-container {
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.jtable-body {
|
|
18
|
+
width: 100%;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
height: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
|
|
24
|
+
.jtable-body-header {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
.jtable-body-header-right {
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: 8px;
|
|
32
|
+
align-items: center;
|
|
33
|
+
|
|
34
|
+
.jtable-body-header-right-button {
|
|
35
|
+
.right-button-icon {
|
|
36
|
+
font-size: 16px;
|
|
37
|
+
color: #d9d9d9;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ant-radio-button-wrapper {
|
|
41
|
+
padding: 0 8px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ant-radio-button-wrapper-checked {
|
|
45
|
+
.right-button-icon {
|
|
46
|
+
color: @primary-color;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.jtable-content {
|
|
54
|
+
flex: 1;
|
|
55
|
+
padding: 16px 0;
|
|
56
|
+
|
|
57
|
+
.jtable-alert {
|
|
58
|
+
margin-bottom: 16px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.jtable-card {
|
|
62
|
+
.jtable-card-items {
|
|
63
|
+
display: grid;
|
|
64
|
+
grid-gap: 26px;
|
|
65
|
+
|
|
66
|
+
.jtable-card-item {
|
|
67
|
+
display: flex;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.jtable-pagination {
|
|
75
|
+
// position: absolute;
|
|
76
|
+
// background-color: white;
|
|
77
|
+
// padding: 10px 0;
|
|
78
|
+
// right: 0;
|
|
79
|
+
// bottom: 0;
|
|
80
|
+
width: 100%;
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: flex-end;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.j-table-empty {
|
|
86
|
+
display: flex;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
align-items: center;
|
|
89
|
+
margin: 10% 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
package/lib/Scrollbar/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _Scrollbar = _interopRequireDefault(require("./Scrollbar.js"));
|
|
9
|
+
_Scrollbar.default.install = function (app) {
|
|
10
|
+
app.component(_Scrollbar.default.name, _Scrollbar.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _Scrollbar.default;
|
|
@@ -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-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250346451"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
|
@@ -105,6 +105,9 @@ import { Select, Button, Form, FormItemRest } from 'ant-design-vue';
|
|
|
105
105
|
import { AIcon } from '../../../';
|
|
106
106
|
import { cloneDeep } from 'lodash-es';
|
|
107
107
|
const __sfc_main__ = _defineComponent({
|
|
108
|
+
...{
|
|
109
|
+
name: 'JAdvancedSearch',
|
|
110
|
+
},
|
|
108
111
|
props: {
|
|
109
112
|
columns: {
|
|
110
113
|
type: Array,
|
package/lib/Search/Item.js
CHANGED
|
@@ -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-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250345844"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/lib/Search/Search.js
CHANGED
|
@@ -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-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250346136"), 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';
|
|
@@ -46,6 +46,9 @@ import { termsParamsFormat } from './util';
|
|
|
46
46
|
import SearchItem from './Item.js';
|
|
47
47
|
import { optionsMapKey } from './setting';
|
|
48
48
|
const __sfc_main__ = _defineComponent({
|
|
49
|
+
...{
|
|
50
|
+
name: 'JSearch',
|
|
51
|
+
},
|
|
49
52
|
props: {
|
|
50
53
|
columns: {
|
|
51
54
|
type: Array,
|
package/lib/Search/index.js
CHANGED
|
@@ -13,4 +13,7 @@ Object.defineProperty(exports, "AdvancedSearch", {
|
|
|
13
13
|
exports.default = void 0;
|
|
14
14
|
var _index = _interopRequireDefault(require("./Advanced/index.js"));
|
|
15
15
|
var _Search = _interopRequireDefault(require("./Search.js"));
|
|
16
|
+
_Search.default.install = function (app) {
|
|
17
|
+
app.component(_Search.default.name, _Search.default);
|
|
18
|
+
};
|
|
16
19
|
var _default = exports.default = _Search.default;
|
|
@@ -58,6 +58,9 @@ import { componentsType } from './util';
|
|
|
58
58
|
import { MonacoEditor } from '../../';
|
|
59
59
|
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
|
|
60
60
|
const __sfc_main__ = _defineComponent({
|
|
61
|
+
...{
|
|
62
|
+
name: 'JValueItem',
|
|
63
|
+
},
|
|
61
64
|
props: {
|
|
62
65
|
// 组件双向绑定的值
|
|
63
66
|
modelValue: {
|
package/lib/ValueItem/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _ValueItem = _interopRequireDefault(require("./ValueItem.js"));
|
|
9
|
+
_ValueItem.default.install = function (app) {
|
|
10
|
+
app.component(_ValueItem.default.name, _ValueItem.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _ValueItem.default;
|