@jetlinks-web/components 2.1.2 → 2.3.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.
- package/es/AMap/Map.js +2 -1
- package/es/AutoComplete/autoComplete.js +88 -0
- package/es/AutoComplete/index.js +5 -0
- package/es/BadgeStatus/Badge.js +2 -1
- package/es/CardSelect/CardSelect.js +2 -1
- package/es/CheckButton/CheckButton.js +2 -3
- package/es/Echarts/Echarts.js +1 -2
- package/es/EditTable/FormItem.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/Markdown/Markdown.js +122 -0
- package/es/Markdown/index.js +5 -0
- package/es/MonacoEditor/Monaco.js +1 -9
- package/es/MonacoEditor/style/index.css +4 -0
- package/es/MonacoEditor/style/index.js +1 -0
- package/es/MonacoEditor/style/index.less +4 -0
- package/es/RadioButton/RadioButton.js +67 -0
- package/es/RadioButton/index.js +6 -0
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/components.js +3 -1
- package/es/style/index.css +4 -0
- package/es/style/index.less +1 -0
- package/es/style.js +2 -1
- package/lib/AMap/Map.js +2 -1
- package/lib/AutoComplete/autoComplete.js +88 -0
- package/lib/AutoComplete/index.js +12 -0
- package/lib/BadgeStatus/Badge.js +2 -1
- package/lib/CardSelect/CardSelect.js +2 -1
- package/lib/CheckButton/CheckButton.js +2 -3
- package/lib/Echarts/Echarts.js +1 -2
- package/lib/EditTable/FormItem.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/Markdown/Markdown.js +129 -0
- package/lib/Markdown/index.js +12 -0
- package/lib/MonacoEditor/Monaco.js +1 -9
- package/lib/MonacoEditor/style/index.css +4 -0
- package/lib/MonacoEditor/style/index.js +3 -1
- package/lib/MonacoEditor/style/index.less +4 -0
- package/lib/RadioButton/RadioButton.js +67 -0
- package/lib/RadioButton/index.js +13 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/components.js +14 -0
- package/lib/style/components.less +1 -0
- package/lib/style/index.css +4 -0
- package/lib/style/index.less +1 -0
- package/lib/style.js +2 -1
- package/package.json +21 -8
- package/es/MonacoEditor/grammars.js +0 -125
- package/es/MonacoEditor/tips.js +0 -1056
- package/lib/MonacoEditor/grammars.js +0 -137
- package/lib/MonacoEditor/tips.js +0 -1062
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"status": "props",
|
|
4
4
|
"statusNames": "props",
|
|
5
5
|
"computed": "setup-const",
|
|
6
|
+
"defineOptions": "setup-const",
|
|
6
7
|
"getHexColor": "setup-maybe-ref",
|
|
7
8
|
"Badge": "setup-maybe-ref",
|
|
8
9
|
"props": "setup-reactive-const",
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
} */
|
|
11
12
|
import { defineComponent as _defineComponent } from 'vue';
|
|
12
13
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
13
|
-
import { computed } from 'vue';
|
|
14
|
+
import { computed, } from 'vue';
|
|
14
15
|
import { getHexColor } from './color';
|
|
15
16
|
import { Badge } from 'ant-design-vue';
|
|
16
17
|
const __sfc_main__ = _defineComponent({
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"computed": "setup-const",
|
|
11
11
|
"ref": "setup-const",
|
|
12
12
|
"watch": "setup-const",
|
|
13
|
+
"defineOptions": "setup-const",
|
|
13
14
|
"props": "setup-reactive-const",
|
|
14
15
|
"emit": "setup-const",
|
|
15
16
|
"selectKeys": "setup-ref",
|
|
@@ -23,7 +24,7 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
23
24
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
24
25
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
25
26
|
import { has } from 'lodash-es';
|
|
26
|
-
import { computed, ref, watch } from 'vue';
|
|
27
|
+
import { computed, ref, watch, } from 'vue';
|
|
27
28
|
const __sfc_main__ = Object.assign({
|
|
28
29
|
name: 'JCardSelect'
|
|
29
30
|
}, {
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
"class": "props",
|
|
7
7
|
"style": "props",
|
|
8
8
|
"computed": "setup-const",
|
|
9
|
-
"CSSProperties": "setup-const",
|
|
10
|
-
"PropType": "setup-const",
|
|
11
9
|
"ref": "setup-const",
|
|
12
10
|
"watch": "setup-const",
|
|
11
|
+
"defineOptions": "setup-const",
|
|
13
12
|
"isArray": "setup-maybe-ref",
|
|
14
13
|
"props": "setup-reactive-const",
|
|
15
14
|
"emit": "setup-const",
|
|
@@ -21,7 +20,7 @@
|
|
|
21
20
|
import { defineComponent as _defineComponent } from 'vue';
|
|
22
21
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
23
22
|
const _hoisted_1 = ["onClick"];
|
|
24
|
-
import { computed, ref, watch } from 'vue';
|
|
23
|
+
import { computed, ref, watch, } from 'vue';
|
|
25
24
|
import { isArray } from '@jetlinks-web/utils';
|
|
26
25
|
const __sfc_main__ = _defineComponent({
|
|
27
26
|
...{
|
package/lib/Echarts/Echarts.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/* Analyzed bindings: {
|
|
2
2
|
"options": "props",
|
|
3
3
|
"style": "props",
|
|
4
|
-
"CSSProperties": "setup-const",
|
|
5
4
|
"nextTick": "setup-const",
|
|
6
5
|
"ref": "setup-const",
|
|
7
6
|
"watch": "setup-const",
|
|
8
|
-
"
|
|
7
|
+
"defineOptions": "setup-const",
|
|
9
8
|
"useECharts": "setup-maybe-ref",
|
|
10
9
|
"props": "setup-reactive-const",
|
|
11
10
|
"echartsDom": "setup-ref",
|
|
@@ -48,7 +48,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
48
48
|
"onFieldChange": "setup-const"
|
|
49
49
|
} */
|
|
50
50
|
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
51
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
51
|
+
const _withScopeId = n => (_pushScopeId("data-v-1725345293592"), n = n(), _popScopeId(), n);
|
|
52
52
|
const _hoisted_1 = { style: { "color": "#1d2129" } };
|
|
53
53
|
const _hoisted_2 = {
|
|
54
54
|
key: 0,
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -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-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1725345293934"), 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';
|
|
@@ -0,0 +1,129 @@
|
|
|
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 _vue = require("vue");
|
|
9
|
+
var _markdownIt = _interopRequireDefault(require("markdown-it"));
|
|
10
|
+
var _markdownItAbbr = _interopRequireDefault(require("markdown-it-abbr"));
|
|
11
|
+
var _markdownItAnchor = _interopRequireDefault(require("markdown-it-anchor"));
|
|
12
|
+
var _markdownItDeflist = _interopRequireDefault(require("markdown-it-deflist"));
|
|
13
|
+
var _markdownItFootnote = _interopRequireDefault(require("markdown-it-footnote"));
|
|
14
|
+
var _markdownItHighlightjs = _interopRequireDefault(require("markdown-it-highlightjs"));
|
|
15
|
+
var _markdownItIns = _interopRequireDefault(require("markdown-it-ins"));
|
|
16
|
+
var _markdownItMark = _interopRequireDefault(require("markdown-it-mark"));
|
|
17
|
+
var _markdownItSub = _interopRequireDefault(require("markdown-it-sub"));
|
|
18
|
+
var _markdownItSup = _interopRequireDefault(require("markdown-it-sup"));
|
|
19
|
+
var _markdownItTaskLists = _interopRequireDefault(require("markdown-it-task-lists"));
|
|
20
|
+
var _markdownItTocDoneRight = _interopRequireDefault(require("markdown-it-toc-done-right"));
|
|
21
|
+
var props = {
|
|
22
|
+
anchor: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: function _default() {
|
|
25
|
+
return {};
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
breaks: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: false
|
|
31
|
+
},
|
|
32
|
+
emoji: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: function _default() {
|
|
35
|
+
return {};
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
highlight: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default: function _default() {
|
|
41
|
+
return {};
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
html: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
},
|
|
48
|
+
langPrefix: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: 'language-'
|
|
51
|
+
},
|
|
52
|
+
linkify: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false
|
|
55
|
+
},
|
|
56
|
+
plugins: {
|
|
57
|
+
type: Array,
|
|
58
|
+
default: function _default() {
|
|
59
|
+
return [];
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
quotes: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: '“”‘’'
|
|
65
|
+
},
|
|
66
|
+
source: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: ''
|
|
69
|
+
},
|
|
70
|
+
tasklists: {
|
|
71
|
+
type: Object,
|
|
72
|
+
default: function _default() {
|
|
73
|
+
return {};
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
toc: {
|
|
77
|
+
type: Object,
|
|
78
|
+
default: function _default() {
|
|
79
|
+
return {};
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
typographer: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: false
|
|
85
|
+
},
|
|
86
|
+
xhtmlOut: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: false
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
92
|
+
name: 'JMarkdown',
|
|
93
|
+
props: props,
|
|
94
|
+
setup: function setup(props) {
|
|
95
|
+
var md = (0, _vue.ref)();
|
|
96
|
+
var renderMarkdown = function renderMarkdown() {
|
|
97
|
+
var markdown = new _markdownIt.default().use(_markdownItAbbr.default).use(_markdownItAnchor.default, props.anchor).use(_markdownItDeflist.default).use(_markdownItFootnote.default).use(_markdownItHighlightjs.default, props.highlight).use(_markdownItIns.default).use(_markdownItMark.default).use(_markdownItSub.default).use(_markdownItSup.default).use(_markdownItTaskLists.default, props.tasklists).use(_markdownItTocDoneRight.default, props.toc).set({
|
|
98
|
+
breaks: props.breaks,
|
|
99
|
+
html: props.html,
|
|
100
|
+
langPrefix: props.langPrefix,
|
|
101
|
+
linkify: props.linkify,
|
|
102
|
+
quotes: props.quotes,
|
|
103
|
+
typographer: props.typographer,
|
|
104
|
+
xhtmlOut: props.xhtmlOut
|
|
105
|
+
});
|
|
106
|
+
props.plugins.forEach(function (_ref) {
|
|
107
|
+
var plugin = _ref.plugin,
|
|
108
|
+
_ref$options = _ref.options,
|
|
109
|
+
options = _ref$options === void 0 ? {} : _ref$options;
|
|
110
|
+
markdown.use(plugin, options);
|
|
111
|
+
});
|
|
112
|
+
md.value = markdown.render(props.source);
|
|
113
|
+
};
|
|
114
|
+
(0, _vue.onMounted)(function () {
|
|
115
|
+
return renderMarkdown();
|
|
116
|
+
});
|
|
117
|
+
(0, _vue.onUpdated)(function () {
|
|
118
|
+
return renderMarkdown();
|
|
119
|
+
});
|
|
120
|
+
return function () {
|
|
121
|
+
return (0, _vue.h)('div', {
|
|
122
|
+
innerHTML: md.value,
|
|
123
|
+
style: {
|
|
124
|
+
height: '100%'
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
});
|
|
@@ -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 _Markdown = _interopRequireDefault(require("./Markdown"));
|
|
9
|
+
_Markdown.default.install = function (app) {
|
|
10
|
+
app.component(_Markdown.default.name, _Markdown.default);
|
|
11
|
+
};
|
|
12
|
+
var _default = exports.default = _Markdown.default;
|
|
@@ -33,7 +33,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
33
33
|
"nextTick": "setup-const",
|
|
34
34
|
"monaco": "setup-const",
|
|
35
35
|
"omit": "setup-maybe-ref",
|
|
36
|
-
"loadGrammars": "setup-maybe-ref",
|
|
37
36
|
"props": "setup-reactive-const",
|
|
38
37
|
"emit": "setup-const",
|
|
39
38
|
"dom": "setup-ref",
|
|
@@ -52,7 +51,6 @@ import { openBlock as _openBlock, createElementBlock as _createElementBlock } fr
|
|
|
52
51
|
import { ref, onMounted, watch, onUnmounted, toRaw, nextTick } from 'vue';
|
|
53
52
|
import * as monaco from 'monaco-editor';
|
|
54
53
|
import { omit } from 'lodash-es';
|
|
55
|
-
import { loadGrammars } from './grammars';
|
|
56
54
|
const __sfc_main__ = Object.assign({
|
|
57
55
|
name: 'JMonacoEditor'
|
|
58
56
|
}, {
|
|
@@ -149,11 +147,6 @@ const __sfc_main__ = Object.assign({
|
|
|
149
147
|
});
|
|
150
148
|
onMounted(async () => {
|
|
151
149
|
const _model = monaco.editor.createModel(props.modelValue, props.language);
|
|
152
|
-
const defaultOptions = Object.assign({
|
|
153
|
-
suggest: {
|
|
154
|
-
preview: true,
|
|
155
|
-
},
|
|
156
|
-
}, omit(props.options, ['readOnly']));
|
|
157
150
|
instance.value = monaco.editor.create(dom.value, {
|
|
158
151
|
model: _model,
|
|
159
152
|
tabSize: 2,
|
|
@@ -161,9 +154,8 @@ const __sfc_main__ = Object.assign({
|
|
|
161
154
|
scrollBeyondLastLine: false,
|
|
162
155
|
theme: props.theme,
|
|
163
156
|
formatOnPaste: true,
|
|
164
|
-
...
|
|
157
|
+
...(omit(props.options, ['readOnly']) || {}),
|
|
165
158
|
});
|
|
166
|
-
loadGrammars(monaco, instance.value);
|
|
167
159
|
instance.value.onDidChangeModelContent(() => {
|
|
168
160
|
//
|
|
169
161
|
const value = toRaw(instance.value).getValue();
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* Analyzed bindings: {
|
|
2
|
+
"value": "props",
|
|
3
|
+
"options": "props",
|
|
4
|
+
"columns": "props",
|
|
5
|
+
"defineOptions": "setup-const",
|
|
6
|
+
"props": "setup-reactive-const",
|
|
7
|
+
"emit": "setup-const",
|
|
8
|
+
"myValue": "setup-maybe-ref",
|
|
9
|
+
"styles": "setup-maybe-ref",
|
|
10
|
+
"onClick": "setup-const"
|
|
11
|
+
} */
|
|
12
|
+
import { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
13
|
+
const _withScopeId = n => (_pushScopeId("data-v-1725345294465"), n = n(), _popScopeId(), n);
|
|
14
|
+
const _hoisted_1 = ["onClick"];
|
|
15
|
+
const __sfc_main__ = Object.assign({
|
|
16
|
+
name: 'JRadioButton',
|
|
17
|
+
}, {
|
|
18
|
+
props: {
|
|
19
|
+
value: {
|
|
20
|
+
type: [String, Number],
|
|
21
|
+
default: undefined
|
|
22
|
+
},
|
|
23
|
+
options: {
|
|
24
|
+
type: Array,
|
|
25
|
+
default: () => []
|
|
26
|
+
},
|
|
27
|
+
columns: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: 3
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
emits: ['update:value'],
|
|
33
|
+
setup(__props, { emit: __emit }) {
|
|
34
|
+
const props = __props;
|
|
35
|
+
const emit = __emit;
|
|
36
|
+
const myValue = ref(props.value);
|
|
37
|
+
const styles = computed(() => {
|
|
38
|
+
return {
|
|
39
|
+
'grid-template-columns': `repeat(${props.columns}, 1fr)`
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
const onClick = (record) => {
|
|
43
|
+
if (myValue.value !== record.value) {
|
|
44
|
+
myValue.value = record.value;
|
|
45
|
+
emit('update:value', record.value);
|
|
46
|
+
emit('select', record.value);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
watch(() => props.value, () => {
|
|
50
|
+
myValue.value = props.value;
|
|
51
|
+
});
|
|
52
|
+
return (_ctx, _cache) => {
|
|
53
|
+
return (_openBlock(), _createElementBlock("div", {
|
|
54
|
+
class: "radio-button",
|
|
55
|
+
style: _normalizeStyle(_unref(styles))
|
|
56
|
+
}, [
|
|
57
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (item) => {
|
|
58
|
+
return (_openBlock(), _createElementBlock("div", {
|
|
59
|
+
onClick: $event => (onClick(item)),
|
|
60
|
+
class: _normalizeClass(["radio-button-item", { 'active': _unref(myValue) === item.value }])
|
|
61
|
+
}, _toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_1));
|
|
62
|
+
}), 256 /* UNKEYED_FRAGMENT */))
|
|
63
|
+
], 4 /* STYLE */));
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
export default __sfc_main__;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 _RadioButton = _interopRequireDefault(require("./RadioButton.js"));
|
|
9
|
+
_RadioButton.default.install = function (app) {
|
|
10
|
+
app.component(_RadioButton.default.name, _RadioButton.default);
|
|
11
|
+
return app;
|
|
12
|
+
};
|
|
13
|
+
var _default = exports.default = _RadioButton.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-1725345295629"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
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-1725345294677"), 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-1725345294831"), 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';
|
package/lib/components.js
CHANGED
|
@@ -17,6 +17,12 @@ Object.defineProperty(exports, "AdvancedSearch", {
|
|
|
17
17
|
return _Search.AdvancedSearch;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
+
Object.defineProperty(exports, "AutoComplete", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function get() {
|
|
23
|
+
return _AutoComplete.default;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
20
26
|
Object.defineProperty(exports, "BadgeStatus", {
|
|
21
27
|
enumerable: true,
|
|
22
28
|
get: function get() {
|
|
@@ -77,6 +83,12 @@ Object.defineProperty(exports, "FullPage", {
|
|
|
77
83
|
return _FullPage.default;
|
|
78
84
|
}
|
|
79
85
|
});
|
|
86
|
+
Object.defineProperty(exports, "Markdown", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _Markdown.default;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
80
92
|
Object.defineProperty(exports, "MonacoEditor", {
|
|
81
93
|
enumerable: true,
|
|
82
94
|
get: function get() {
|
|
@@ -151,5 +163,7 @@ var _ValueItem = _interopRequireDefault(require("./ValueItem"));
|
|
|
151
163
|
var _TimeFormat = _interopRequireDefault(require("./TimeFormat"));
|
|
152
164
|
var _DragModal = _interopRequireDefault(require("./DragModal"));
|
|
153
165
|
var _EditTable = _interopRequireDefault(require("./EditTable"));
|
|
166
|
+
var _Markdown = _interopRequireDefault(require("./Markdown"));
|
|
167
|
+
var _AutoComplete = _interopRequireDefault(require("./AutoComplete"));
|
|
154
168
|
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); }
|
|
155
169
|
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/style/index.css
CHANGED
package/lib/style/index.less
CHANGED
package/lib/style.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
|
-
"keywords": [
|
|
7
|
+
"keywords": [
|
|
8
|
+
"@jetlinks-web",
|
|
9
|
+
"components"
|
|
10
|
+
],
|
|
8
11
|
"files": [
|
|
9
12
|
"lib",
|
|
10
13
|
"es"
|
|
@@ -19,11 +22,21 @@
|
|
|
19
22
|
"@vueuse/router": "^10.9.0",
|
|
20
23
|
"async-validator": "^4.2.5",
|
|
21
24
|
"echarts": "^5.4.3",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
+
"markdown-it": "^14.1.0",
|
|
26
|
+
"markdown-it-abbr": "^2.0.0",
|
|
27
|
+
"markdown-it-anchor": "^9.1.0",
|
|
28
|
+
"markdown-it-deflist": "^3.0.0",
|
|
29
|
+
"markdown-it-emoji": "^3.0.0",
|
|
30
|
+
"markdown-it-footnote": "^4.0.0",
|
|
31
|
+
"markdown-it-highlightjs": "^4.1.0",
|
|
32
|
+
"markdown-it-ins": "^4.0.0",
|
|
33
|
+
"markdown-it-mark": "^4.0.0",
|
|
34
|
+
"markdown-it-sub": "^2.0.0",
|
|
35
|
+
"markdown-it-sup": "^2.0.0",
|
|
36
|
+
"markdown-it-task-lists": "^2.1.1",
|
|
37
|
+
"markdown-it-toc-done-right": "^4.2.0",
|
|
38
|
+
"monaco-editor": "^0.40.0",
|
|
25
39
|
"resize-observer-polyfill": "^1.5.1",
|
|
26
|
-
"shiki": "^0.14.6",
|
|
27
40
|
"sortablejs": "^1.15.2"
|
|
28
41
|
},
|
|
29
42
|
"devDependencies": {
|
|
@@ -140,8 +153,8 @@
|
|
|
140
153
|
"webpack-merge": "^5.0.0",
|
|
141
154
|
"webpackbar": "^5.0.2",
|
|
142
155
|
"@jetlinks-web/constants": "^1.0.2",
|
|
143
|
-
"@jetlinks-web/
|
|
144
|
-
"@jetlinks-web/
|
|
156
|
+
"@jetlinks-web/utils": "^1.2.0",
|
|
157
|
+
"@jetlinks-web/hooks": "^1.0.15"
|
|
145
158
|
},
|
|
146
159
|
"publishConfig": {
|
|
147
160
|
"registry": "https://registry.npmjs.org/",
|