@jetlinks-web/components 2.0.4-6 → 2.0.4-8
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 +3 -0
- package/es/BadgeStatus/Badge.js +3 -0
- package/es/CardSelect/CardSelect.js +4 -2
- package/es/CheckButton/CheckButton.js +3 -0
- package/es/Echarts/Echarts.js +3 -0
- package/es/Empty/Empty.js +3 -0
- package/es/FullPage/FullPage.js +4 -1
- package/es/MonacoEditor/Monaco.js +4 -2
- package/es/PermissionButton/index.js +1 -1
- package/es/ProTable/index.js +1 -1
- 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/ValueItem/ValueItem.js +3 -0
- package/es/components.js +17 -0
- package/es/index.js +13 -21
- package/lib/AMap/Map.js +3 -0
- package/lib/BadgeStatus/Badge.js +3 -0
- package/lib/CardSelect/CardSelect.js +4 -2
- package/lib/CheckButton/CheckButton.js +3 -0
- package/lib/Echarts/Echarts.js +3 -0
- package/lib/Empty/Empty.js +3 -0
- package/lib/FullPage/FullPage.js +4 -1
- package/lib/MonacoEditor/Monaco.js +4 -2
- package/lib/PermissionButton/index.js +1 -1
- package/lib/ProTable/index.js +1 -1
- 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/ValueItem/ValueItem.js +3 -0
- package/lib/components.js +134 -0
- package/lib/index.js +27 -117
- package/package.json +8 -10
package/es/AMap/Map.js
CHANGED
package/es/BadgeStatus/Badge.js
CHANGED
|
@@ -12,6 +12,9 @@ import { resolveComponent as _resolveComponent, openBlock as _openBlock, createB
|
|
|
12
12
|
import { computed } from 'vue';
|
|
13
13
|
import { getHexColor } from './color';
|
|
14
14
|
const __sfc_main__ = _defineComponent({
|
|
15
|
+
...{
|
|
16
|
+
name: 'JBadgeStatus'
|
|
17
|
+
},
|
|
15
18
|
props: {
|
|
16
19
|
text: {
|
|
17
20
|
type: String,
|
|
@@ -20,7 +20,9 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
20
20
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
21
21
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
22
22
|
import { has } from 'lodash-es';
|
|
23
|
-
const __sfc_main__ = {
|
|
23
|
+
const __sfc_main__ = Object.assign({
|
|
24
|
+
name: 'JCardSelect'
|
|
25
|
+
}, {
|
|
24
26
|
props: {
|
|
25
27
|
layout: {
|
|
26
28
|
type: String,
|
|
@@ -119,5 +121,5 @@ const __sfc_main__ = {
|
|
|
119
121
|
], 4 /* STYLE */));
|
|
120
122
|
};
|
|
121
123
|
}
|
|
122
|
-
};
|
|
124
|
+
});
|
|
123
125
|
export default __sfc_main__;
|
|
@@ -24,6 +24,9 @@ const _hoisted_1 = ["onClick"];
|
|
|
24
24
|
import { computed, ref, watch } from 'vue';
|
|
25
25
|
import { isArray } from '@jetlinks-web/utils';
|
|
26
26
|
const __sfc_main__ = _defineComponent({
|
|
27
|
+
...{
|
|
28
|
+
name: 'JCheckButton'
|
|
29
|
+
},
|
|
27
30
|
props: {
|
|
28
31
|
value: {
|
|
29
32
|
type: [String, Array],
|
package/es/Echarts/Echarts.js
CHANGED
|
@@ -16,6 +16,9 @@ import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createEleme
|
|
|
16
16
|
import { nextTick, ref, watch, } from 'vue';
|
|
17
17
|
import { useECharts } from '@jetlinks-web/hooks';
|
|
18
18
|
const __sfc_main__ = _defineComponent({
|
|
19
|
+
...{
|
|
20
|
+
name: 'JEcharts'
|
|
21
|
+
},
|
|
19
22
|
props: {
|
|
20
23
|
options: {
|
|
21
24
|
type: Object,
|
package/es/Empty/Empty.js
CHANGED
package/es/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-1713237419488"), 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);
|
|
@@ -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__;
|
package/es/ProTable/index.js
CHANGED
|
@@ -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-1713237420791"), 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/es/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-1713237420258"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/es/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-1713237420521"), 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,
|
|
@@ -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/es/components.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './AMap';
|
|
2
|
+
export { default as BadgeStatus } from './BadgeStatus';
|
|
3
|
+
export { default as CardSelect } from './CardSelect';
|
|
4
|
+
export { default as CheckButton } from './CheckButton';
|
|
5
|
+
export { default as ConfigProvider } from './ConfigProvider';
|
|
6
|
+
export { default as Echarts } from './Echarts';
|
|
7
|
+
export { default as Ellipsis } from './Ellipsis';
|
|
8
|
+
export { default as Empty } from './Empty';
|
|
9
|
+
export { default as FullPage } from './FullPage';
|
|
10
|
+
export { default as AIcon } from './Icon';
|
|
11
|
+
export { default as MonacoEditor } from './MonacoEditor';
|
|
12
|
+
export { default as PermissionButton } from './PermissionButton';
|
|
13
|
+
export { default as ProLayout, PageContainer } from './ProLayout';
|
|
14
|
+
export { default as ProTable } from './ProTable';
|
|
15
|
+
export { default as Scrollbar } from './Scrollbar';
|
|
16
|
+
export { default as Search, AdvancedSearch } from './Search';
|
|
17
|
+
export { default as ValueItem } from './ValueItem';
|
package/es/index.js
CHANGED
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import ProLayout, { PageContainer } from './ProLayout';
|
|
14
|
-
import ProTable from './ProTable';
|
|
15
|
-
import Scrollbar from './Scrollbar';
|
|
16
|
-
import Search, { AdvancedSearch } from './Search';
|
|
17
|
-
import ValueItem from './ValueItem';
|
|
18
|
-
export { BadgeStatus, CardSelect, CheckButton, Echarts, Ellipsis, Empty, FullPage, AIcon, MonacoEditor, PermissionButton, ValueItem, ProTable, Scrollbar, Search, AdvancedSearch, ConfigProvider };
|
|
1
|
+
/*eslint import/namespace: ['error', { allowComputed: true }]*/
|
|
2
|
+
import * as components from './components';
|
|
3
|
+
export * from './components';
|
|
4
|
+
export var install = function install(app) {
|
|
5
|
+
Object.keys(components).forEach(function (key) {
|
|
6
|
+
var component = components[key];
|
|
7
|
+
if (component.install) {
|
|
8
|
+
app.use(component);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return app;
|
|
12
|
+
};
|
|
19
13
|
export default {
|
|
20
|
-
install:
|
|
21
|
-
app.component('JAMap', InitAMap).component('JBadgeStatus', BadgeStatus).component('JCardSelect', CardSelect).component('JCheckButton', CheckButton).component('JConfigProvider', ConfigProvider).component('JEcharts', Echarts).component('JEllipsis', Ellipsis).component('JEmpty', Empty).component('JFullPage', FullPage).component('AIcon', AIcon).component('JMonacoEditor', MonacoEditor).component('JPermissionButton', PermissionButton).component('JProLayout', ProLayout).component('JPageContainer', PageContainer).component('JProTable', ProTable).component('JScrollbar', Scrollbar).component('JSearch', Search).component('JAdvancedSearch', AdvancedSearch).component('JValueItem', ValueItem);
|
|
22
|
-
}
|
|
14
|
+
install: install
|
|
23
15
|
};
|
package/lib/AMap/Map.js
CHANGED
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -12,6 +12,9 @@ import { resolveComponent as _resolveComponent, openBlock as _openBlock, createB
|
|
|
12
12
|
import { computed } from 'vue';
|
|
13
13
|
import { getHexColor } from './color';
|
|
14
14
|
const __sfc_main__ = _defineComponent({
|
|
15
|
+
...{
|
|
16
|
+
name: 'JBadgeStatus'
|
|
17
|
+
},
|
|
15
18
|
props: {
|
|
16
19
|
text: {
|
|
17
20
|
type: String,
|
|
@@ -20,7 +20,9 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
20
20
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
21
21
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
22
22
|
import { has } from 'lodash-es';
|
|
23
|
-
const __sfc_main__ = {
|
|
23
|
+
const __sfc_main__ = Object.assign({
|
|
24
|
+
name: 'JCardSelect'
|
|
25
|
+
}, {
|
|
24
26
|
props: {
|
|
25
27
|
layout: {
|
|
26
28
|
type: String,
|
|
@@ -119,5 +121,5 @@ const __sfc_main__ = {
|
|
|
119
121
|
], 4 /* STYLE */));
|
|
120
122
|
};
|
|
121
123
|
}
|
|
122
|
-
};
|
|
124
|
+
});
|
|
123
125
|
export default __sfc_main__;
|
|
@@ -24,6 +24,9 @@ const _hoisted_1 = ["onClick"];
|
|
|
24
24
|
import { computed, ref, watch } from 'vue';
|
|
25
25
|
import { isArray } from '@jetlinks-web/utils';
|
|
26
26
|
const __sfc_main__ = _defineComponent({
|
|
27
|
+
...{
|
|
28
|
+
name: 'JCheckButton'
|
|
29
|
+
},
|
|
27
30
|
props: {
|
|
28
31
|
value: {
|
|
29
32
|
type: [String, Array],
|
package/lib/Echarts/Echarts.js
CHANGED
|
@@ -16,6 +16,9 @@ import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createEleme
|
|
|
16
16
|
import { nextTick, ref, watch, } from 'vue';
|
|
17
17
|
import { useECharts } from '@jetlinks-web/hooks';
|
|
18
18
|
const __sfc_main__ = _defineComponent({
|
|
19
|
+
...{
|
|
20
|
+
name: 'JEcharts'
|
|
21
|
+
},
|
|
19
22
|
props: {
|
|
20
23
|
options: {
|
|
21
24
|
type: Object,
|
package/lib/Empty/Empty.js
CHANGED
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-1713237419497"), 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);
|
|
@@ -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__;
|
|
@@ -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,
|
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(),
|
|
@@ -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-1713237420805"), 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-1713237420325"), 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-1713237420545"), 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,
|
|
@@ -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: {
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports, "AIcon", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _Icon.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "AdvancedSearch", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function get() {
|
|
17
|
+
return _Search.AdvancedSearch;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "BadgeStatus", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function get() {
|
|
23
|
+
return _BadgeStatus.default;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "CardSelect", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function get() {
|
|
29
|
+
return _CardSelect.default;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "CheckButton", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function get() {
|
|
35
|
+
return _CheckButton.default;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "ConfigProvider", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _ConfigProvider.default;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "Echarts", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function get() {
|
|
47
|
+
return _Echarts.default;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "Ellipsis", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function get() {
|
|
53
|
+
return _Ellipsis.default;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "Empty", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function get() {
|
|
59
|
+
return _Empty.default;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "FullPage", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function get() {
|
|
65
|
+
return _FullPage.default;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "MonacoEditor", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function get() {
|
|
71
|
+
return _MonacoEditor.default;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "PageContainer", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function get() {
|
|
77
|
+
return _ProLayout.PageContainer;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "PermissionButton", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function get() {
|
|
83
|
+
return _PermissionButton.default;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "ProLayout", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _ProLayout.default;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "ProTable", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function get() {
|
|
95
|
+
return _ProTable.default;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "Scrollbar", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function get() {
|
|
101
|
+
return _Scrollbar.default;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "Search", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function get() {
|
|
107
|
+
return _Search.default;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "ValueItem", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function get() {
|
|
113
|
+
return _ValueItem.default;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
require("./AMap");
|
|
117
|
+
var _BadgeStatus = _interopRequireDefault(require("./BadgeStatus"));
|
|
118
|
+
var _CardSelect = _interopRequireDefault(require("./CardSelect"));
|
|
119
|
+
var _CheckButton = _interopRequireDefault(require("./CheckButton"));
|
|
120
|
+
var _ConfigProvider = _interopRequireDefault(require("./ConfigProvider"));
|
|
121
|
+
var _Echarts = _interopRequireDefault(require("./Echarts"));
|
|
122
|
+
var _Ellipsis = _interopRequireDefault(require("./Ellipsis"));
|
|
123
|
+
var _Empty = _interopRequireDefault(require("./Empty"));
|
|
124
|
+
var _FullPage = _interopRequireDefault(require("./FullPage"));
|
|
125
|
+
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
126
|
+
var _MonacoEditor = _interopRequireDefault(require("./MonacoEditor"));
|
|
127
|
+
var _PermissionButton = _interopRequireDefault(require("./PermissionButton"));
|
|
128
|
+
var _ProLayout = _interopRequireWildcard(require("./ProLayout"));
|
|
129
|
+
var _ProTable = _interopRequireDefault(require("./ProTable"));
|
|
130
|
+
var _Scrollbar = _interopRequireDefault(require("./Scrollbar"));
|
|
131
|
+
var _Search = _interopRequireWildcard(require("./Search"));
|
|
132
|
+
var _ValueItem = _interopRequireDefault(require("./ValueItem"));
|
|
133
|
+
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); }
|
|
134
|
+
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; }
|
package/lib/index.js
CHANGED
|
@@ -1,128 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var _exportNames = {
|
|
8
|
+
install: true
|
|
9
|
+
};
|
|
10
|
+
exports.install = exports.default = void 0;
|
|
11
|
+
var components = _interopRequireWildcard(require("./components"));
|
|
12
|
+
Object.keys(components).forEach(function (key) {
|
|
13
|
+
if (key === "default" || key === "__esModule") return;
|
|
14
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
15
|
+
if (key in exports && exports[key] === components[key]) return;
|
|
16
|
+
Object.defineProperty(exports, key, {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function get() {
|
|
19
|
+
return components[key];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
13
22
|
});
|
|
14
|
-
Object.defineProperty(exports, "AdvancedSearch", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _Search.AdvancedSearch;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "BadgeStatus", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function get() {
|
|
23
|
-
return _BadgeStatus.default;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports, "CardSelect", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function get() {
|
|
29
|
-
return _CardSelect.default;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "CheckButton", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _CheckButton.default;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(exports, "ConfigProvider", {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function get() {
|
|
41
|
-
return _ConfigProvider.default;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "Echarts", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function get() {
|
|
47
|
-
return _Echarts.default;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
Object.defineProperty(exports, "Ellipsis", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _Ellipsis.default;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, "Empty", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function get() {
|
|
59
|
-
return _Empty.default;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
Object.defineProperty(exports, "FullPage", {
|
|
63
|
-
enumerable: true,
|
|
64
|
-
get: function get() {
|
|
65
|
-
return _FullPage.default;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, "MonacoEditor", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function get() {
|
|
71
|
-
return _MonacoEditor.default;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
Object.defineProperty(exports, "PermissionButton", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function get() {
|
|
77
|
-
return _PermissionButton.default;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, "ProTable", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function get() {
|
|
83
|
-
return _ProTable.default;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(exports, "Scrollbar", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function get() {
|
|
89
|
-
return _Scrollbar.default;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "Search", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function get() {
|
|
95
|
-
return _Search.default;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, "ValueItem", {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function get() {
|
|
101
|
-
return _ValueItem.default;
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
exports.default = void 0;
|
|
105
|
-
var _AMap = _interopRequireDefault(require("./AMap"));
|
|
106
|
-
var _BadgeStatus = _interopRequireDefault(require("./BadgeStatus"));
|
|
107
|
-
var _CardSelect = _interopRequireDefault(require("./CardSelect"));
|
|
108
|
-
var _CheckButton = _interopRequireDefault(require("./CheckButton"));
|
|
109
|
-
var _ConfigProvider = _interopRequireDefault(require("./ConfigProvider"));
|
|
110
|
-
var _Echarts = _interopRequireDefault(require("./Echarts"));
|
|
111
|
-
var _Ellipsis = _interopRequireDefault(require("./Ellipsis"));
|
|
112
|
-
var _Empty = _interopRequireDefault(require("./Empty"));
|
|
113
|
-
var _FullPage = _interopRequireDefault(require("./FullPage"));
|
|
114
|
-
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
115
|
-
var _MonacoEditor = _interopRequireDefault(require("./MonacoEditor"));
|
|
116
|
-
var _PermissionButton = _interopRequireDefault(require("./PermissionButton"));
|
|
117
|
-
var _ProLayout = _interopRequireWildcard(require("./ProLayout"));
|
|
118
|
-
var _ProTable = _interopRequireDefault(require("./ProTable"));
|
|
119
|
-
var _Scrollbar = _interopRequireDefault(require("./Scrollbar"));
|
|
120
|
-
var _Search = _interopRequireWildcard(require("./Search"));
|
|
121
|
-
var _ValueItem = _interopRequireDefault(require("./ValueItem"));
|
|
122
23
|
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); }
|
|
123
24
|
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; }
|
|
25
|
+
/*eslint import/namespace: ['error', { allowComputed: true }]*/
|
|
26
|
+
|
|
27
|
+
var install = exports.install = function install(app) {
|
|
28
|
+
Object.keys(components).forEach(function (key) {
|
|
29
|
+
var component = components[key];
|
|
30
|
+
if (component.install) {
|
|
31
|
+
app.use(component);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return app;
|
|
35
|
+
};
|
|
124
36
|
var _default = exports.default = {
|
|
125
|
-
install:
|
|
126
|
-
app.component('JAMap', _AMap.default).component('JBadgeStatus', _BadgeStatus.default).component('JCardSelect', _CardSelect.default).component('JCheckButton', _CheckButton.default).component('JConfigProvider', _ConfigProvider.default).component('JEcharts', _Echarts.default).component('JEllipsis', _Ellipsis.default).component('JEmpty', _Empty.default).component('JFullPage', _FullPage.default).component('AIcon', _Icon.default).component('JMonacoEditor', _MonacoEditor.default).component('JPermissionButton', _PermissionButton.default).component('JProLayout', _ProLayout.default).component('JPageContainer', _ProLayout.PageContainer).component('JProTable', _ProTable.default).component('JScrollbar', _Scrollbar.default).component('JSearch', _Search.default).component('JAdvancedSearch', _Search.AdvancedSearch).component('JValueItem', _ValueItem.default);
|
|
127
|
-
}
|
|
37
|
+
install: install
|
|
128
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.0.4-
|
|
3
|
+
"version": "2.0.4-8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -14,19 +14,15 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons-vue": "^7.0.1",
|
|
17
|
-
"@babel/runtime": "^7.24.4",
|
|
18
17
|
"@vuemap/vue-amap": "^2.0.17",
|
|
19
18
|
"@vueuse/core": "^10.2.1",
|
|
20
19
|
"@vueuse/router": "^10.9.0",
|
|
21
|
-
"ant-design-vue": "3.2.20",
|
|
22
20
|
"echarts": "^5.4.3",
|
|
23
21
|
"monaco-editor": "^0.40.0",
|
|
24
|
-
"sortablejs": "^1.15.2"
|
|
25
|
-
"@jetlinks-web/constants": "^1.0.2",
|
|
26
|
-
"@jetlinks-web/utils": "^1.0.6",
|
|
27
|
-
"@jetlinks-web/hooks": "^1.0.12"
|
|
22
|
+
"sortablejs": "^1.15.2"
|
|
28
23
|
},
|
|
29
24
|
"devDependencies": {
|
|
25
|
+
"ant-design-vue": "3.2.20",
|
|
30
26
|
"@babel/cli": "^7.8.4",
|
|
31
27
|
"@babel/core": "^7.10.5",
|
|
32
28
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
@@ -44,6 +40,7 @@
|
|
|
44
40
|
"@babel/polyfill": "^7.8.7",
|
|
45
41
|
"@babel/preset-env": "^7.9.6",
|
|
46
42
|
"@babel/preset-typescript": "^7.10.4",
|
|
43
|
+
"@babel/runtime": "^7.24.4",
|
|
47
44
|
"@commitlint/cli": "^17.4.2",
|
|
48
45
|
"@commitlint/config-conventional": "^17.4.2",
|
|
49
46
|
"@rollup/plugin-commonjs": "^22.0.1",
|
|
@@ -67,14 +64,12 @@
|
|
|
67
64
|
"babel-plugin-transform-require-context": "^0.1.1",
|
|
68
65
|
"case-sensitive-paths-webpack-plugin": "^2.1.2",
|
|
69
66
|
"child_process": "^1.0.2",
|
|
70
|
-
"codesandbox": "^2.2.3",
|
|
71
67
|
"colorful": "^2.1.0",
|
|
72
68
|
"commander": "^6.1.0",
|
|
73
69
|
"commitlint": "^17.4.2",
|
|
74
70
|
"compute-scroll-into-view": "^3.0.0",
|
|
75
71
|
"css-loader": "^6.7.3",
|
|
76
72
|
"css-minimizer-webpack-plugin": "^3.0.0",
|
|
77
|
-
"diacritics": "^1.3.0",
|
|
78
73
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
|
79
74
|
"esbuild": "~0.12.29",
|
|
80
75
|
"esbuild-loader": "^2.18.0",
|
|
@@ -137,7 +132,10 @@
|
|
|
137
132
|
"webpack-cli": "^4.6.0",
|
|
138
133
|
"webpack-dev-server": "^4.0.0",
|
|
139
134
|
"webpack-merge": "^5.0.0",
|
|
140
|
-
"webpackbar": "^5.0.2"
|
|
135
|
+
"webpackbar": "^5.0.2",
|
|
136
|
+
"@jetlinks-web/constants": "^1.0.2",
|
|
137
|
+
"@jetlinks-web/hooks": "^1.0.12",
|
|
138
|
+
"@jetlinks-web/utils": "^1.0.6"
|
|
141
139
|
},
|
|
142
140
|
"publishConfig": {
|
|
143
141
|
"registry": "https://registry.npmjs.org/",
|