@jetlinks-web/components 2.6.19 → 2.6.21
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/AutoComplete/AutoComplete.js +2 -2
- package/es/BadgeStatus/Badge.js +1 -1
- package/es/ConfigProvider/index.js +1 -1
- package/es/DragModal/DragModal.js +1 -1
- package/es/EditTable/EditTable.js +1 -1
- package/es/EditTable/components/ContextMenu/Menu.js +1 -1
- package/es/EditTable/components/Search/sort.js +1 -1
- package/es/EditTable/group.js +1 -1
- package/es/Ellipsis/Ellipsis.js +1 -1
- package/es/Empty/Empty.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/PermissionButton/index.js +1 -1
- package/es/ProLayout/Basic/BasicLayout.js +2 -2
- package/es/ProLayout/Basic/Header.js +1 -1
- package/es/ProLayout/PageContainer/index.js +3 -3
- package/es/ProLayout/SiderMenu/BaseMenu.js +1 -2
- package/es/ProLayout/SiderMenu/SiderMenu.js +1 -1
- package/es/ProLayout/TopHeader/index.js +1 -1
- package/es/ProTable/Alert.js +1 -1
- package/es/ProTable/Content.js +1 -1
- package/es/ProTable/Header.js +1 -1
- package/es/ProTable/Pagination.js +1 -1
- package/es/ProTable/ProTable.js +1 -1
- package/es/ProTable/setting.js +1 -1
- package/es/Search/Advanced/History.js +1 -1
- package/es/Search/Advanced/SaveHistory.js +2 -2
- package/es/Search/Advanced/index.js +1 -1
- package/es/Search/Item.js +2 -2
- package/es/Search/Search.js +1 -1
- package/es/ValueItem/ValueItem.js +1 -1
- package/lib/AutoComplete/AutoComplete.js +1 -1
- package/lib/BadgeStatus/Badge.js +1 -1
- package/lib/CheckButton/style/index.less +1 -1
- package/lib/ConfigProvider/context.js +1 -1
- package/lib/ConfigProvider/index.js +3 -3
- package/lib/DragModal/DragModal.js +1 -1
- package/lib/DragModal/style/index.less +1 -1
- package/lib/EditTable/FormItem.js +1 -1
- package/lib/EditTable/components/ContextMenu/Menu.js +1 -1
- package/lib/EditTable/components/Search/sort.js +1 -1
- package/lib/EditTable/group.js +1 -1
- package/lib/EditTable/style/index.less +1 -1
- package/lib/Ellipsis/Ellipsis.js +1 -1
- package/lib/Empty/Empty.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/PermissionButton/index.js +6 -6
- package/lib/ProLayout/Basic/BasicLayout.js +16 -16
- package/lib/ProLayout/Basic/Header.js +4 -4
- package/lib/ProLayout/PageContainer/index.js +10 -10
- package/lib/ProLayout/SiderMenu/BaseMenu.js +4 -5
- package/lib/ProLayout/SiderMenu/SiderMenu.js +6 -6
- package/lib/ProLayout/TopHeader/index.js +2 -2
- package/lib/ProLayout/defaultSettings.js +1 -1
- package/lib/ProLayout/style/default.less +1 -1
- package/lib/ProTable/Alert.js +1 -1
- package/lib/ProTable/Content.js +1 -1
- package/lib/ProTable/Header.js +1 -1
- package/lib/ProTable/Pagination.js +1 -1
- package/lib/ProTable/ProTable.js +1 -1
- package/lib/ProTable/setting.js +3 -3
- package/lib/Search/Advanced/History.js +1 -1
- package/lib/Search/Advanced/SaveHistory.js +2 -2
- package/lib/Search/Advanced/index.js +1 -1
- package/lib/Search/Item.js +2 -2
- package/lib/Search/Search.js +1 -1
- package/lib/ValueItem/ValueItem.js +1 -1
- package/lib/style/variable.less +1 -1
- package/package.json +3 -3
|
@@ -29,8 +29,8 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
} */
|
|
30
30
|
import { defineComponent as _defineComponent } from 'vue';
|
|
31
31
|
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
32
|
-
import { AutoComplete } from 'ant-design-vue';
|
|
33
|
-
import { autoCompleteProps } from 'ant-design-vue/
|
|
32
|
+
import { AutoComplete } from 'ant-design-vue/es/';
|
|
33
|
+
import { autoCompleteProps } from 'ant-design-vue/es/auto-complete';
|
|
34
34
|
import { ref, watch } from 'vue';
|
|
35
35
|
const __sfc_main__ = _defineComponent({
|
|
36
36
|
...{
|
package/es/BadgeStatus/Badge.js
CHANGED
|
@@ -13,7 +13,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
13
13
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
14
14
|
import { computed, } from 'vue';
|
|
15
15
|
import { getHexColor } from './color';
|
|
16
|
-
import { Badge } from 'ant-design-vue';
|
|
16
|
+
import { Badge } from 'ant-design-vue/es/';
|
|
17
17
|
const __sfc_main__ = _defineComponent({
|
|
18
18
|
...{
|
|
19
19
|
name: 'JBadgeStatus'
|
|
@@ -3,7 +3,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
3
3
|
import { defineComponent, provide, reactive, h } from 'vue';
|
|
4
4
|
import { configProps } from './context';
|
|
5
5
|
import { ComponentsEnum, MAPConfig, PermissionButtonConfig, SearchConfig, FullPageConfig, TableConfig } from '../utils/constants';
|
|
6
|
-
import { ConfigProvider } from 'ant-design-vue';
|
|
6
|
+
import { ConfigProvider } from 'ant-design-vue/es/';
|
|
7
7
|
import LocaleProvider from '../LocaleProvider/index.js';
|
|
8
8
|
import { omit } from 'lodash-es';
|
|
9
9
|
import Empty from '../Empty';
|
|
@@ -59,7 +59,7 @@ const _hoisted_2 = {
|
|
|
59
59
|
class: "jetlinks-drag-modal-footer"
|
|
60
60
|
};
|
|
61
61
|
import { ref, useSlots, computed, onMounted, watch } from 'vue';
|
|
62
|
-
import { Button } from 'ant-design-vue';
|
|
62
|
+
import { Button } from 'ant-design-vue/es/';
|
|
63
63
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
|
64
64
|
const __sfc_main__ = _defineComponent({
|
|
65
65
|
...{
|
|
@@ -113,7 +113,7 @@ const _hoisted_4 = /*#__PURE__*/ _createElementVNode("div", { style: { "width":
|
|
|
113
113
|
import { FULL_SCREEN, RIGHT_MENU, TABLE_DATA_SOURCE, TABLE_ERROR, TABLE_GROUP_ACTIVE, TABLE_GROUP_ERROR, TABLE_GROUP_OPTIONS, TABLE_H_SCROLL, TABLE_OPEN_GROUP, TABLE_TOOL, TABLE_WRAPPER } from './consts';
|
|
114
114
|
import { handleColumnsWidth } from './utils';
|
|
115
115
|
import { useGroup, useResizeObserver, useValidate } from './hooks';
|
|
116
|
-
import { tableProps } from 'ant-design-vue/
|
|
116
|
+
import { tableProps } from 'ant-design-vue/es/table';
|
|
117
117
|
import { useFormContext } from './context';
|
|
118
118
|
import { useFullscreen } from '@vueuse/core';
|
|
119
119
|
import { provide, useSlots, ref, reactive, computed, watch } from 'vue';
|
|
@@ -40,7 +40,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
40
40
|
import { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
41
41
|
import { onMounted, ref, nextTick, } from "vue";
|
|
42
42
|
import { AIcon } from '../../../components';
|
|
43
|
-
import { Menu } from 'ant-design-vue';
|
|
43
|
+
import { Menu } from 'ant-design-vue/es/';
|
|
44
44
|
import { useLocaleReceiver } from "../../../LocaleReciver";
|
|
45
45
|
const __sfc_main__ = Object.assign({
|
|
46
46
|
name: 'JEditTableContextMenu'
|
|
@@ -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-
|
|
45
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203558665"), 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" };
|
package/es/EditTable/group.js
CHANGED
|
@@ -57,7 +57,7 @@ const _hoisted_5 = {
|
|
|
57
57
|
};
|
|
58
58
|
const _hoisted_6 = { style: { "color": "#1d2129" } };
|
|
59
59
|
const _hoisted_7 = /*#__PURE__*/ _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* HOISTED */);
|
|
60
|
-
import { Modal } from "ant-design-vue";
|
|
60
|
+
import { Modal } from "ant-design-vue/es/";
|
|
61
61
|
import { randomNumber } from "@jetlinks-web/utils";
|
|
62
62
|
import { isFullScreen } from "./utils";
|
|
63
63
|
import { useTableGroupError, useTableWrapper } from './context';
|
package/es/Ellipsis/Ellipsis.js
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"getTooltipDisabled": "setup-const"
|
|
27
27
|
} */
|
|
28
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
|
-
import { Tooltip } from 'ant-design-vue';
|
|
29
|
+
import { Tooltip } from 'ant-design-vue/es/';
|
|
30
30
|
import { computed, mergeProps, ref, useAttrs } from 'vue';
|
|
31
31
|
const jEllipsis = 'j-ellipsis';
|
|
32
32
|
const jEllipsisCursorClass = 'j-ellipsis-cursor';
|
package/es/Empty/Empty.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
} */
|
|
17
17
|
import { defineComponent as _defineComponent } from 'vue';
|
|
18
18
|
import { unref as _unref, renderSlot as _renderSlot, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, renderList as _renderList, createSlots as _createSlots, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
19
|
-
import { Empty } from 'ant-design-vue';
|
|
19
|
+
import { Empty } from 'ant-design-vue/es/';
|
|
20
20
|
import { useSlots } from 'vue';
|
|
21
21
|
import NoData from './image';
|
|
22
22
|
import { omit } from 'lodash-es';
|
package/es/FullPage/FullPage.js
CHANGED
|
@@ -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-
|
|
12
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203557114"), 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';
|
|
@@ -7,7 +7,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
7
7
|
var _excluded = ["popConfirm", "tooltip", "hasPermission", "noPermissionTitle"];
|
|
8
8
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
9
9
|
import { h, defineComponent, computed, inject, getCurrentInstance, toRefs } from "vue";
|
|
10
|
-
import { Button, Tooltip, Modal } from 'ant-design-vue';
|
|
10
|
+
import { Button, Tooltip, Modal } from 'ant-design-vue/es/';
|
|
11
11
|
import "ant-design-vue/es";
|
|
12
12
|
import { omit } from "lodash-es";
|
|
13
13
|
import { buttonProps } from "ant-design-vue/es/button/button";
|
|
@@ -8,11 +8,11 @@ import { computed, defineComponent, provide, reactive, watchEffect, toRefs, h }
|
|
|
8
8
|
import { defaultSettingProps, LayoutType } from '../defaultSettings';
|
|
9
9
|
import { baseHeaderProps } from '../TopHeader';
|
|
10
10
|
import Header, { headerViewProps } from './Header';
|
|
11
|
-
import useConfigInject from
|
|
11
|
+
import useConfigInject from "ant-design-vue/es/_util/hooks/useConfigInject";
|
|
12
12
|
import { pick } from 'lodash-es';
|
|
13
13
|
import { defaultRouteContext, routeContextInjectKey } from '../RouteContext';
|
|
14
14
|
import { getMenuFirstChildren, getSlot } from '../util';
|
|
15
|
-
import { Layout, LayoutContent, Breadcrumb, Tabs } from 'ant-design-vue';
|
|
15
|
+
import { Layout, LayoutContent, Breadcrumb, Tabs } from 'ant-design-vue/es/';
|
|
16
16
|
function _isSlot(s) {
|
|
17
17
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
18
18
|
}
|
|
@@ -5,7 +5,7 @@ import { baseHeaderProps, TopNavHeader } from '../TopHeader';
|
|
|
5
5
|
import PropTypes from 'ant-design-vue/es/_util/vue-types';
|
|
6
6
|
import { defineComponent, computed, toRefs } from 'vue';
|
|
7
7
|
import { useRouteContext } from '../RouteContext';
|
|
8
|
-
import { Layout } from 'ant-design-vue';
|
|
8
|
+
import { Layout } from 'ant-design-vue/es/';
|
|
9
9
|
import { LayoutType } from "../defaultSettings";
|
|
10
10
|
function _isSlot(s) {
|
|
11
11
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
@@ -6,12 +6,12 @@ import { createVNode as _createVNode, isVNode as _isVNode } from "vue";
|
|
|
6
6
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
7
7
|
var _excluded = ["title", "tabList", "tabActiveKey", "content", "pageHeaderRender", "header", "extraContent", "prefixedClassName", "prefixCls", "fixedHeader", "showBack"];
|
|
8
8
|
import { withInstall } from 'ant-design-vue/es/_util/type';
|
|
9
|
-
import { Affix, Spin, PageHeader, Tabs, Button } from 'ant-design-vue';
|
|
9
|
+
import { Affix, Spin, PageHeader, Tabs, Button } from 'ant-design-vue/es/';
|
|
10
10
|
import { defineComponent, unref, toRefs, computed } from 'vue';
|
|
11
|
-
import { pageHeaderProps } from
|
|
11
|
+
import { pageHeaderProps } from "ant-design-vue/es/page-header";
|
|
12
12
|
import { useRouteContext } from '../RouteContext';
|
|
13
13
|
import { getSlotVNode } from '../util';
|
|
14
|
-
import
|
|
14
|
+
import "ant-design-vue/es/_util/type";
|
|
15
15
|
import 'ant-design-vue/es/_util/vue-types';
|
|
16
16
|
import { LayoutType } from "../defaultSettings";
|
|
17
17
|
import { useLocaleReceiver } from "../../LocaleReciver";
|
|
@@ -10,9 +10,8 @@ import { defineComponent, getCurrentInstance, isVNode, resolveComponent, watchEf
|
|
|
10
10
|
import { defaultPrefixCls } from '../RouteContext';
|
|
11
11
|
import IconFont from '../../Icon';
|
|
12
12
|
import { regular } from '@jetlinks-web/utils';
|
|
13
|
-
import { Menu } from 'ant-design-vue';
|
|
13
|
+
import { Menu } from 'ant-design-vue/es/';
|
|
14
14
|
import { createFromIconfontCN } from '@ant-design/icons-vue';
|
|
15
|
-
import 'ant-design-vue/es/_util/vue-types';
|
|
16
15
|
function _isSlot(s) {
|
|
17
16
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
18
17
|
}
|
|
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
3
|
import { createVNode as _createVNode, resolveDirective as _resolveDirective, createTextVNode as _createTextVNode, isVNode as _isVNode, Fragment as _Fragment } from "vue";
|
|
4
4
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
5
|
-
import { LayoutSider as Sider, Menu, Tooltip } from 'ant-design-vue';
|
|
5
|
+
import { LayoutSider as Sider, Menu, Tooltip } from 'ant-design-vue/es/';
|
|
6
6
|
import BaseMenu, { baseMenuProps } from './BaseMenu';
|
|
7
7
|
import { defaultSettingProps, LayoutType } from '../defaultSettings';
|
|
8
8
|
import PropTypes from 'ant-design-vue/es/_util/vue-types';
|
|
@@ -7,7 +7,7 @@ var _excluded = ["rightContentRender"];
|
|
|
7
7
|
import { computed, ref } from 'vue';
|
|
8
8
|
import { default as ResizeObserver } from 'ant-design-vue/es/vc-resize-observer';
|
|
9
9
|
import { defaultRenderLogoAndTitle, siderMenuProps } from '../SiderMenu/SiderMenu';
|
|
10
|
-
import PropTypes from
|
|
10
|
+
import PropTypes from "ant-design-vue/es/_util/vue-types";
|
|
11
11
|
import { defaultSettingProps, LayoutType } from '../defaultSettings';
|
|
12
12
|
import { defaultPrefixCls, useRouteContext } from '../RouteContext';
|
|
13
13
|
import BaseMenu from '../SiderMenu/BaseMenu';
|
package/es/ProTable/Alert.js
CHANGED
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
import { defineComponent as _defineComponent } from 'vue';
|
|
30
30
|
import { renderSlot as _renderSlot, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
31
31
|
const _hoisted_1 = { class: "jtable-alert" };
|
|
32
|
-
import { Alert, Button } from 'ant-design-vue';
|
|
32
|
+
import { Alert, Button } from 'ant-design-vue/es/';
|
|
33
33
|
import { computed } from "vue";
|
|
34
34
|
import { _alertProps } from "./setting";
|
|
35
35
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
package/es/ProTable/Content.js
CHANGED
|
@@ -41,7 +41,7 @@ const _hoisted_3 = {
|
|
|
41
41
|
};
|
|
42
42
|
import { useSlots, computed } from 'vue';
|
|
43
43
|
import { _contentProps } from "./setting";
|
|
44
|
-
import { Table } from 'ant-design-vue';
|
|
44
|
+
import { Table } from 'ant-design-vue/es/';
|
|
45
45
|
import { get } from 'lodash-es';
|
|
46
46
|
import Empty from '../Empty';
|
|
47
47
|
const __sfc_main__ = _defineComponent({
|
package/es/ProTable/Header.js
CHANGED
|
@@ -16,7 +16,7 @@ const _hoisted_4 = {
|
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "table-body-header-right-button"
|
|
18
18
|
};
|
|
19
|
-
import { RadioGroup, RadioButton } from 'ant-design-vue';
|
|
19
|
+
import { RadioGroup, RadioButton } from 'ant-design-vue/es/';
|
|
20
20
|
import AIcon from '../Icon';
|
|
21
21
|
import { _headerProps } from './setting';
|
|
22
22
|
const __sfc_main__ = _defineComponent({
|
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
import { defineComponent as _defineComponent } from 'vue';
|
|
30
30
|
import { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
31
31
|
const _hoisted_1 = { class: "jtable-pagination" };
|
|
32
|
-
import { Pagination } from 'ant-design-vue';
|
|
32
|
+
import { Pagination } from 'ant-design-vue/es/';
|
|
33
33
|
import { _paginationProps } from "./setting";
|
|
34
34
|
import { computed } from 'vue';
|
|
35
35
|
import { useLocaleReceiver } from "../LocaleReciver";
|
package/es/ProTable/ProTable.js
CHANGED
|
@@ -63,7 +63,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
63
63
|
import { renderSlot as _renderSlot, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, normalizeProps as _normalizeProps, mergeProps as _mergeProps, renderList as _renderList, createSlots as _createSlots, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
|
64
64
|
const _hoisted_1 = { class: "jtable-body" };
|
|
65
65
|
import { proTableProps } from "./setting";
|
|
66
|
-
import { Spin } from 'ant-design-vue';
|
|
66
|
+
import { Spin } from 'ant-design-vue/es/';
|
|
67
67
|
import Header from './Header.js';
|
|
68
68
|
import Alert from './Alert.js';
|
|
69
69
|
import Content from './Content.js';
|
package/es/ProTable/setting.js
CHANGED
|
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
2
2
|
import { tableProps } from "ant-design-vue/es/table/Table";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "ant-design-vue/es/table";
|
|
5
|
-
import { paginationProps } from
|
|
5
|
+
import { paginationProps } from "ant-design-vue/es/pagination/Pagination";
|
|
6
6
|
import { omit } from 'lodash-es';
|
|
7
7
|
export var _headerProps = {
|
|
8
8
|
mode: {
|
|
@@ -43,7 +43,7 @@ const _hoisted_5 = {
|
|
|
43
43
|
import { computed, ref } from 'vue';
|
|
44
44
|
import { isFunction } from 'lodash-es';
|
|
45
45
|
import { AIcon, Empty, Ellipsis } from '../../../';
|
|
46
|
-
import { Popconfirm, Button, FormItemRest, Popover, message } from 'ant-design-vue';
|
|
46
|
+
import { Popconfirm, Button, FormItemRest, Popover, message } from 'ant-design-vue/es/';
|
|
47
47
|
import { useLocaleReceiver } from "../../LocaleReciver";
|
|
48
48
|
const __sfc_main__ = _defineComponent({
|
|
49
49
|
props: {
|
|
@@ -23,13 +23,13 @@
|
|
|
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-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203558435"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
|
30
30
|
};
|
|
31
31
|
import { ref, reactive } from 'vue';
|
|
32
|
-
import { Form, Button, FormItem, Popover, Textarea, message } from 'ant-design-vue';
|
|
32
|
+
import { Form, Button, FormItem, Popover, Textarea, message } from 'ant-design-vue/es/';
|
|
33
33
|
import { isFunction } from 'lodash-es';
|
|
34
34
|
import { useLocaleReceiver } from "../../LocaleReciver";
|
|
35
35
|
const __sfc_main__ = _defineComponent({
|
|
@@ -108,7 +108,7 @@ import { ref, reactive, watch, provide } from 'vue';
|
|
|
108
108
|
import SaveHistory from './SaveHistory.js';
|
|
109
109
|
import History from './History.js';
|
|
110
110
|
import { compatibleOldTerms, getTermTypeFn, handleQData, hasExpand, termsParamsFormat, termsToValue, } from '../util';
|
|
111
|
-
import { Select, Button, Form, FormItemRest } from 'ant-design-vue';
|
|
111
|
+
import { Select, Button, Form, FormItemRest } from 'ant-design-vue/es/';
|
|
112
112
|
import { AIcon } from '../../../';
|
|
113
113
|
import { cloneDeep } from 'lodash-es';
|
|
114
114
|
import { useLocaleReceiver } from "../../LocaleReciver/index";
|
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-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203557670"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
|
@@ -92,7 +92,7 @@ import { typeOptions, termType, componentType, optionsMapKey } from './setting';
|
|
|
92
92
|
import { ref, reactive, nextTick, watch, computed, inject } from 'vue';
|
|
93
93
|
import { cloneDeep, debounce, isArray, isFunction, omit } from 'lodash-es';
|
|
94
94
|
import { filterTreeSelectNode, filterSelectNode, getTermTypeFn, getTermOptions, getTermTypes, } from './util';
|
|
95
|
-
import { TreeSelect, Select, Input, InputNumber, DatePicker, TimePicker, InputPassword, RangePicker, TimeRangePicker, FormItem } from 'ant-design-vue';
|
|
95
|
+
import { TreeSelect, Select, Input, InputNumber, DatePicker, TimePicker, InputPassword, RangePicker, TimeRangePicker, FormItem } from 'ant-design-vue/es/';
|
|
96
96
|
import { isPromise } from '@jetlinks-web/utils';
|
|
97
97
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
|
98
98
|
const __sfc_main__ = _defineComponent({
|
package/es/Search/Search.js
CHANGED
|
@@ -47,7 +47,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
47
47
|
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 } from "vue";
|
|
48
48
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
49
49
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
50
|
-
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
|
50
|
+
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue/es/';
|
|
51
51
|
import { set } from 'lodash-es';
|
|
52
52
|
import { reactive, ref, provide, watch, computed, inject } from 'vue';
|
|
53
53
|
import { termsParamsFormat } from './util';
|
|
@@ -62,7 +62,7 @@ const _hoisted_2 = { style: { "width": "100%", "height": "300px" } };
|
|
|
62
62
|
import { ref, watch, computed } from 'vue';
|
|
63
63
|
import { componentsType } from './util';
|
|
64
64
|
import { MonacoEditor } from '../index';
|
|
65
|
-
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
|
|
65
|
+
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue/es/';
|
|
66
66
|
import { omit } from "lodash-es";
|
|
67
67
|
const __sfc_main__ = _defineComponent({
|
|
68
68
|
...{
|
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
} */
|
|
30
30
|
import { defineComponent as _defineComponent } from 'vue';
|
|
31
31
|
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
32
|
-
import { AutoComplete } from 'ant-design-vue';
|
|
32
|
+
import { AutoComplete } from 'ant-design-vue/lib/';
|
|
33
33
|
import { autoCompleteProps } from 'ant-design-vue/lib/auto-complete';
|
|
34
34
|
import { ref, watch } from 'vue';
|
|
35
35
|
const __sfc_main__ = _defineComponent({
|
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -13,7 +13,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
13
13
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
14
14
|
import { computed, } from 'vue';
|
|
15
15
|
import { getHexColor } from './color';
|
|
16
|
-
import { Badge } from 'ant-design-vue';
|
|
16
|
+
import { Badge } from 'ant-design-vue/lib/';
|
|
17
17
|
const __sfc_main__ = _defineComponent({
|
|
18
18
|
...{
|
|
19
19
|
name: 'JBadgeStatus'
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.configProps = void 0;
|
|
8
8
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
|
-
var _context = require("ant-design-vue/
|
|
9
|
+
var _context = require("ant-design-vue/lib/config-provider/context");
|
|
10
10
|
var configProps = exports.configProps = function configProps() {
|
|
11
11
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (0, _context.configProviderProps)()), {}, {
|
|
12
12
|
IconConfig: {
|
|
@@ -9,7 +9,7 @@ var _vue = require("vue");
|
|
|
9
9
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
10
|
var _context = require("./context");
|
|
11
11
|
var _constants = require("../utils/constants");
|
|
12
|
-
var
|
|
12
|
+
var _lib = require("ant-design-vue/lib/");
|
|
13
13
|
var _index = _interopRequireDefault(require("../LocaleProvider/index.js"));
|
|
14
14
|
var _lodashEs = require("lodash");
|
|
15
15
|
var _Empty = _interopRequireDefault(require("../Empty"));
|
|
@@ -33,7 +33,7 @@ var JConfigProvider = (0, _vue.defineComponent)({
|
|
|
33
33
|
(0, _vue.provide)(_constants.FullPageConfig, _FullPageConfig); // 权限组件
|
|
34
34
|
(0, _vue.provide)(_constants.TableConfig, _TableConfig); // ProTable配置
|
|
35
35
|
return function () {
|
|
36
|
-
return (0, _vue.h)(
|
|
36
|
+
return (0, _vue.h)(_lib.ConfigProvider, (0, _objectSpread2.default)({}, (0, _lodashEs.omit)(props, ['IconConfig', 'MapConfig', 'SearchConfig'])), [(0, _vue.h)(_index.default, {
|
|
37
37
|
locale: props.componentsLocale || _zhCN.default
|
|
38
38
|
}, {
|
|
39
39
|
default: slots.default,
|
|
@@ -45,7 +45,7 @@ var JConfigProvider = (0, _vue.defineComponent)({
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
JConfigProvider.config =
|
|
48
|
+
JConfigProvider.config = _lib.ConfigProvider.config;
|
|
49
49
|
JConfigProvider.install = function (app) {
|
|
50
50
|
app.component(JConfigProvider.name, JConfigProvider);
|
|
51
51
|
};
|
|
@@ -59,7 +59,7 @@ const _hoisted_2 = {
|
|
|
59
59
|
class: "jetlinks-drag-modal-footer"
|
|
60
60
|
};
|
|
61
61
|
import { ref, useSlots, computed, onMounted, watch } from 'vue';
|
|
62
|
-
import { Button } from 'ant-design-vue';
|
|
62
|
+
import { Button } from 'ant-design-vue/lib/';
|
|
63
63
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
|
64
64
|
const __sfc_main__ = _defineComponent({
|
|
65
65
|
...{
|
|
@@ -56,7 +56,7 @@ const _hoisted_2 = {
|
|
|
56
56
|
const _hoisted_3 = ["id"];
|
|
57
57
|
import { onBeforeUnmount, computed, reactive, watch, provide } from "vue";
|
|
58
58
|
import { get, isArray } from 'lodash-es';
|
|
59
|
-
import { useProvideFormItemContext } from 'ant-design-vue/
|
|
59
|
+
import { useProvideFormItemContext } from 'ant-design-vue/lib/form/FormItemContext';
|
|
60
60
|
import { useInjectError, useInjectForm } from "./hooks";
|
|
61
61
|
import { TABLE_FORM_ITEM_ERROR } from "./consts";
|
|
62
62
|
const __sfc_main__ = Object.assign({
|
|
@@ -40,7 +40,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
40
40
|
import { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
41
41
|
import { onMounted, ref, nextTick, } from "vue";
|
|
42
42
|
import { AIcon } from '../../../components';
|
|
43
|
-
import { Menu } from 'ant-design-vue';
|
|
43
|
+
import { Menu } from 'ant-design-vue/lib/';
|
|
44
44
|
import { useLocaleReceiver } from "../../../LocaleReciver";
|
|
45
45
|
const __sfc_main__ = Object.assign({
|
|
46
46
|
name: 'JEditTableContextMenu'
|
|
@@ -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-
|
|
45
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203558680"), 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" };
|
package/lib/EditTable/group.js
CHANGED
|
@@ -57,7 +57,7 @@ const _hoisted_5 = {
|
|
|
57
57
|
};
|
|
58
58
|
const _hoisted_6 = { style: { "color": "#1d2129" } };
|
|
59
59
|
const _hoisted_7 = /*#__PURE__*/ _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* HOISTED */);
|
|
60
|
-
import { Modal } from "ant-design-vue";
|
|
60
|
+
import { Modal } from "ant-design-vue/lib/";
|
|
61
61
|
import { randomNumber } from "@jetlinks-web/utils";
|
|
62
62
|
import { isFullScreen } from "./utils";
|
|
63
63
|
import { useTableGroupError, useTableWrapper } from './context';
|
package/lib/Ellipsis/Ellipsis.js
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"getTooltipDisabled": "setup-const"
|
|
27
27
|
} */
|
|
28
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
|
-
import { Tooltip } from 'ant-design-vue';
|
|
29
|
+
import { Tooltip } from 'ant-design-vue/lib/';
|
|
30
30
|
import { computed, mergeProps, ref, useAttrs } from 'vue';
|
|
31
31
|
const jEllipsis = 'j-ellipsis';
|
|
32
32
|
const jEllipsisCursorClass = 'j-ellipsis-cursor';
|
package/lib/Empty/Empty.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
} */
|
|
17
17
|
import { defineComponent as _defineComponent } from 'vue';
|
|
18
18
|
import { unref as _unref, renderSlot as _renderSlot, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, renderList as _renderList, createSlots as _createSlots, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
19
|
-
import { Empty } from 'ant-design-vue';
|
|
19
|
+
import { Empty } from 'ant-design-vue/lib/';
|
|
20
20
|
import { useSlots } from 'vue';
|
|
21
21
|
import NoData from './image';
|
|
22
22
|
import { omit } from 'lodash-es';
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -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-
|
|
12
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203557108"), 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';
|
|
@@ -12,10 +12,10 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
13
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
14
14
|
var _vue = require("vue");
|
|
15
|
-
var
|
|
15
|
+
var _lib = require("ant-design-vue/lib/");
|
|
16
16
|
require("ant-design-vue/es");
|
|
17
17
|
var _lodashEs = require("lodash");
|
|
18
|
-
var _button = require("ant-design-vue/
|
|
18
|
+
var _button = require("ant-design-vue/lib/button/button");
|
|
19
19
|
var _hooks = require("@jetlinks-web/hooks");
|
|
20
20
|
var _confirm = _interopRequireDefault(require("./confirm"));
|
|
21
21
|
var _constants = require("../utils/constants");
|
|
@@ -99,7 +99,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
99
99
|
danger: buttonProps.danger
|
|
100
100
|
}), context.components);
|
|
101
101
|
} else {
|
|
102
|
-
|
|
102
|
+
_lib.Modal.confirm({
|
|
103
103
|
title: _popConfirm.title,
|
|
104
104
|
content: _popConfirm.content,
|
|
105
105
|
onOk: function onOk() {
|
|
@@ -119,7 +119,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
119
119
|
}, _callee);
|
|
120
120
|
}));
|
|
121
121
|
}
|
|
122
|
-
var button = !slots.button ? (0, _vue.h)(
|
|
122
|
+
var button = !slots.button ? (0, _vue.h)(_lib.Button, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, buttonProps), {}, {
|
|
123
123
|
disabled: isPermission.value
|
|
124
124
|
}), {
|
|
125
125
|
default: function _default() {
|
|
@@ -132,7 +132,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
132
132
|
}
|
|
133
133
|
}) : slots.button();
|
|
134
134
|
// 文字提示
|
|
135
|
-
var _tooltip = tooltip ? (0, _vue.h)(
|
|
135
|
+
var _tooltip = tooltip ? (0, _vue.h)(_lib.Tooltip, (0, _extends2.default)(tooltip, {
|
|
136
136
|
disabled: isPermission.value
|
|
137
137
|
}), {
|
|
138
138
|
default: function _default() {
|
|
@@ -140,7 +140,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
140
140
|
}
|
|
141
141
|
}) : undefined;
|
|
142
142
|
// 无权限
|
|
143
|
-
var noPermissionButton = !permission.value ? (0, _vue.h)(
|
|
143
|
+
var noPermissionButton = !permission.value ? (0, _vue.h)(_lib.Tooltip, {
|
|
144
144
|
title: noPermissionTitle || contextLocale.value.hasPermission
|
|
145
145
|
}, {
|
|
146
146
|
default: function _default() {
|
|
@@ -14,11 +14,11 @@ var _SiderMenu = _interopRequireWildcard(require("../SiderMenu/SiderMenu"));
|
|
|
14
14
|
var _defaultSettings = require("../defaultSettings");
|
|
15
15
|
var _TopHeader = require("../TopHeader");
|
|
16
16
|
var _Header = _interopRequireWildcard(require("./Header"));
|
|
17
|
-
var _useConfigInject2 = _interopRequireDefault(require("ant-design-vue/
|
|
17
|
+
var _useConfigInject2 = _interopRequireDefault(require("ant-design-vue/lib/_util/hooks/useConfigInject"));
|
|
18
18
|
var _lodashEs = require("lodash");
|
|
19
19
|
var _RouteContext = require("../RouteContext");
|
|
20
20
|
var _util = require("../util");
|
|
21
|
-
var
|
|
21
|
+
var _lib = require("ant-design-vue/lib/");
|
|
22
22
|
var _excluded = ["pure", "onCollapse", "onOpenKeys", "onSelect", "onMenuClick"];
|
|
23
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); }
|
|
24
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; }
|
|
@@ -259,13 +259,13 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
259
259
|
var _slots$default2;
|
|
260
260
|
return (0, _vue.createVNode)(_vue.Fragment, null, [(0, _vue.createVNode)("div", {
|
|
261
261
|
"class": className.value
|
|
262
|
-
}, [(0, _vue.createVNode)(
|
|
262
|
+
}, [(0, _vue.createVNode)(_lib.Layout, {
|
|
263
263
|
"style": (0, _objectSpread2.default)({
|
|
264
264
|
minHeight: '100vh'
|
|
265
265
|
}, attrs.style || {})
|
|
266
266
|
}, {
|
|
267
267
|
default: function _default() {
|
|
268
|
-
return [headerDom.value, (0, _vue.createVNode)(
|
|
268
|
+
return [headerDom.value, (0, _vue.createVNode)(_lib.Layout, {
|
|
269
269
|
"style": genLayoutStyle,
|
|
270
270
|
"class": prefixCls.value
|
|
271
271
|
}, {
|
|
@@ -282,7 +282,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
282
282
|
"onSelect": onSelect,
|
|
283
283
|
"onOpenKeys": onOpenKeys,
|
|
284
284
|
"onMenuClick": onMenuClick
|
|
285
|
-
}), null), (0, _vue.createVNode)(
|
|
285
|
+
}), null), (0, _vue.createVNode)(_lib.Layout, null, _isSlot(_slot = (0, _vue.createVNode)(_lib.LayoutContent, null, {
|
|
286
286
|
default: function _default() {
|
|
287
287
|
return [(_slots$default2 = slots.default) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)];
|
|
288
288
|
}
|
|
@@ -299,7 +299,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
299
299
|
var _slots$default3;
|
|
300
300
|
return (0, _vue.createVNode)("div", {
|
|
301
301
|
"class": className.value
|
|
302
|
-
}, [(0, _vue.createVNode)(
|
|
302
|
+
}, [(0, _vue.createVNode)(_lib.Layout, {
|
|
303
303
|
"style": (0, _objectSpread2.default)({
|
|
304
304
|
minHeight: '100vh'
|
|
305
305
|
}, attrs.style || {})
|
|
@@ -319,12 +319,12 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
319
319
|
"onSelect": onSelect,
|
|
320
320
|
"onOpenKeys": onOpenKeys,
|
|
321
321
|
"onMenuClick": onMenuClick
|
|
322
|
-
}), null), (0, _vue.createVNode)(
|
|
322
|
+
}), null), (0, _vue.createVNode)(_lib.Layout, {
|
|
323
323
|
"style": genLayoutStyle,
|
|
324
324
|
"class": prefixCls.value
|
|
325
325
|
}, {
|
|
326
326
|
default: function _default() {
|
|
327
|
-
return [headerDom.value, (0, _vue.createVNode)(
|
|
327
|
+
return [headerDom.value, (0, _vue.createVNode)(_lib.LayoutContent, null, {
|
|
328
328
|
default: function _default() {
|
|
329
329
|
return [(_slots$default3 = slots.default) === null || _slots$default3 === void 0 ? void 0 : _slots$default3.call(slots)];
|
|
330
330
|
}
|
|
@@ -338,7 +338,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
338
338
|
var _slot2, _slot3;
|
|
339
339
|
return (0, _vue.createVNode)(_vue.Fragment, null, [(0, _vue.createVNode)("div", {
|
|
340
340
|
"class": className.value
|
|
341
|
-
}, [(0, _vue.createVNode)(
|
|
341
|
+
}, [(0, _vue.createVNode)(_lib.Layout, null, {
|
|
342
342
|
default: function _default() {
|
|
343
343
|
return [(0, _vue.createVNode)(_SiderMenu.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, restProps), {}, {
|
|
344
344
|
"logo": logoRender || restProps.logo,
|
|
@@ -355,15 +355,15 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
355
355
|
"onOpenKeys": onOpenKeys,
|
|
356
356
|
"onMenuClick": onMenuClick,
|
|
357
357
|
"onAppMenuClick": onAppMenuClick
|
|
358
|
-
}), null), (0, _vue.createVNode)(
|
|
358
|
+
}), null), (0, _vue.createVNode)(_lib.Layout, null, {
|
|
359
359
|
default: function _default() {
|
|
360
|
-
return [(0, _vue.createVNode)(
|
|
360
|
+
return [(0, _vue.createVNode)(_lib.Layout.Header, {
|
|
361
361
|
"style": (0, _objectSpread2.default)({
|
|
362
362
|
background: 'transparent',
|
|
363
363
|
padding: 0,
|
|
364
364
|
height: '40px'
|
|
365
365
|
}, props.pageHeaderStyle || {})
|
|
366
|
-
}, _isSlot(_slot2 = (0, _vue.createVNode)(
|
|
366
|
+
}, _isSlot(_slot2 = (0, _vue.createVNode)(_lib.Tabs, {
|
|
367
367
|
"hide-add": true,
|
|
368
368
|
"type": "editable-card",
|
|
369
369
|
"class": "history-tabs",
|
|
@@ -378,7 +378,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
378
378
|
}, {
|
|
379
379
|
default: function _default() {
|
|
380
380
|
return [historyRender ? historyRender() : props.historyRoutes.map(function (item) {
|
|
381
|
-
return (0, _vue.createVNode)(
|
|
381
|
+
return (0, _vue.createVNode)(_lib.Tabs.TabPane, {
|
|
382
382
|
"key": item.name,
|
|
383
383
|
"tab": item.label,
|
|
384
384
|
"closable": true
|
|
@@ -389,7 +389,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
389
389
|
default: function _default() {
|
|
390
390
|
return [_slot2];
|
|
391
391
|
}
|
|
392
|
-
}), (0, _vue.createVNode)(
|
|
392
|
+
}), (0, _vue.createVNode)(_lib.LayoutContent, {
|
|
393
393
|
"style": {
|
|
394
394
|
flex: '1 1 0',
|
|
395
395
|
overflow: 'auto'
|
|
@@ -398,11 +398,11 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
398
398
|
default: function _default() {
|
|
399
399
|
return [(_slots$default4 = slots.default) === null || _slots$default4 === void 0 ? void 0 : _slots$default4.call(slots)];
|
|
400
400
|
}
|
|
401
|
-
}), (0, _vue.createVNode)(
|
|
401
|
+
}), (0, _vue.createVNode)(_lib.Layout.Footer, {
|
|
402
402
|
"style": (0, _objectSpread2.default)({
|
|
403
403
|
padding: '11px 24px'
|
|
404
404
|
}, props.pageFooterStyle || {})
|
|
405
|
-
}, _isSlot(_slot3 = (0, _vue.createVNode)(
|
|
405
|
+
}, _isSlot(_slot3 = (0, _vue.createVNode)(_lib.Breadcrumb, {
|
|
406
406
|
"routes": breadcrumb.value.routes
|
|
407
407
|
}, {
|
|
408
408
|
itemRender: breadcrumb.value.itemRender
|
|
@@ -9,9 +9,9 @@ var _vue = require("vue");
|
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
11
11
|
var _TopHeader = require("../TopHeader");
|
|
12
|
-
var _vueTypes = _interopRequireDefault(require("ant-design-vue/
|
|
12
|
+
var _vueTypes = _interopRequireDefault(require("ant-design-vue/lib/_util/vue-types"));
|
|
13
13
|
var _RouteContext = require("../RouteContext");
|
|
14
|
-
var
|
|
14
|
+
var _lib = require("ant-design-vue/lib/");
|
|
15
15
|
var _defaultSettings = require("../defaultSettings");
|
|
16
16
|
function _isSlot(s) {
|
|
17
17
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
|
|
@@ -84,13 +84,13 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
84
84
|
});
|
|
85
85
|
return function () {
|
|
86
86
|
var _slot;
|
|
87
|
-
return (0, _vue.createVNode)(_vue.Fragment, null, [needFixedHeader.value && (0, _vue.createVNode)(
|
|
87
|
+
return (0, _vue.createVNode)(_vue.Fragment, null, [needFixedHeader.value && (0, _vue.createVNode)(_lib.Layout.Header, {
|
|
88
88
|
"style": {
|
|
89
89
|
height: "".concat(headerHeight.value, "px"),
|
|
90
90
|
lineHeight: "".concat(headerHeight.value, "px"),
|
|
91
91
|
background: 'transparent'
|
|
92
92
|
}
|
|
93
|
-
}, null), (0, _vue.createVNode)(
|
|
93
|
+
}, null), (0, _vue.createVNode)(_lib.Layout.Header, {
|
|
94
94
|
"style": {
|
|
95
95
|
padding: 0,
|
|
96
96
|
height: "".concat(headerHeight.value, "px"),
|
|
@@ -10,12 +10,12 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
10
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
11
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
12
12
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
13
|
-
var _type = require("ant-design-vue/
|
|
14
|
-
var
|
|
15
|
-
var _pageHeader = require("ant-design-vue/
|
|
13
|
+
var _type = require("ant-design-vue/lib/_util/type");
|
|
14
|
+
var _lib = require("ant-design-vue/lib/");
|
|
15
|
+
var _pageHeader = require("ant-design-vue/lib/page-header");
|
|
16
16
|
var _RouteContext = require("../RouteContext");
|
|
17
17
|
var _util = require("../util");
|
|
18
|
-
require("ant-design-vue/
|
|
18
|
+
require("ant-design-vue/lib/_util/vue-types");
|
|
19
19
|
var _defaultSettings = require("../defaultSettings");
|
|
20
20
|
var _LocaleReciver = require("../../LocaleReciver");
|
|
21
21
|
var _excluded = ["title", "tabList", "tabActiveKey", "content", "pageHeaderRender", "header", "extraContent", "prefixedClassName", "prefixCls", "fixedHeader", "showBack"];
|
|
@@ -158,7 +158,7 @@ var renderFooter = function renderFooter(props) {
|
|
|
158
158
|
};
|
|
159
159
|
if (tabList && tabList.length) {
|
|
160
160
|
var _slot;
|
|
161
|
-
return (0, _vue.createVNode)(
|
|
161
|
+
return (0, _vue.createVNode)(_lib.Tabs, (0, _objectSpread2.default)({
|
|
162
162
|
"class": "page-container-tabs",
|
|
163
163
|
"activeKey": tabActiveKey,
|
|
164
164
|
"onChange": function onChange(key) {
|
|
@@ -168,7 +168,7 @@ var renderFooter = function renderFooter(props) {
|
|
|
168
168
|
},
|
|
169
169
|
"tabBarExtraContent": tabBarExtraContent
|
|
170
170
|
}, tabProps), _isSlot(_slot = tabList.map(function (item) {
|
|
171
|
-
return (0, _vue.createVNode)(
|
|
171
|
+
return (0, _vue.createVNode)(_lib.Tabs.TabPane, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, item), {}, {
|
|
172
172
|
"tab": tabPane(item),
|
|
173
173
|
"key": item.key
|
|
174
174
|
}), null);
|
|
@@ -235,7 +235,7 @@ var ProPageHeader = function ProPageHeader(props) {
|
|
|
235
235
|
var backProps = {};
|
|
236
236
|
if (showBack) {
|
|
237
237
|
// @ts-ignore
|
|
238
|
-
backProps.backIcon = (0, _vue.createVNode)(
|
|
238
|
+
backProps.backIcon = (0, _vue.createVNode)(_lib.Button, null, {
|
|
239
239
|
default: function _default() {
|
|
240
240
|
return [contextLocale.value.pageContainer.back];
|
|
241
241
|
}
|
|
@@ -250,7 +250,7 @@ var ProPageHeader = function ProPageHeader(props) {
|
|
|
250
250
|
} : {};
|
|
251
251
|
return (0, _vue.createVNode)("div", {
|
|
252
252
|
"class": "".concat(prefixedClassName, "-wrap")
|
|
253
|
-
}, [(0, _vue.createVNode)(
|
|
253
|
+
}, [(0, _vue.createVNode)(_lib.PageHeader, (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
254
254
|
"style": styles
|
|
255
255
|
}, backProps), restProps), {}, {
|
|
256
256
|
"title": pageHeaderTitle,
|
|
@@ -315,7 +315,7 @@ var PageContainer = (0, _vue.defineComponent)({
|
|
|
315
315
|
}, [(_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)]) : (0, _vue.createVNode)("div", {
|
|
316
316
|
"class": classNames.value,
|
|
317
317
|
"style": (0, _objectSpread2.default)({}, attrs.style || {})
|
|
318
|
-
}, [fixedHeader && headerDom.value ? (0, _vue.createVNode)(
|
|
318
|
+
}, [fixedHeader && headerDom.value ? (0, _vue.createVNode)(_lib.Affix, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, affixProps.value), {}, {
|
|
319
319
|
"offsetTop": value.hasHeader && value.fixedHeader ? value.headerHeight : 0
|
|
320
320
|
}), {
|
|
321
321
|
default: function _default() {
|
|
@@ -323,7 +323,7 @@ var PageContainer = (0, _vue.defineComponent)({
|
|
|
323
323
|
}
|
|
324
324
|
}) : headerDom.value, (0, _vue.createVNode)("div", {
|
|
325
325
|
"class": "".concat(prefixedClassName.value, "-grid-content")
|
|
326
|
-
}, [loading.value ? (0, _vue.createVNode)(
|
|
326
|
+
}, [loading.value ? (0, _vue.createVNode)(_lib.Spin, null, null) : slots.default ? (0, _vue.createVNode)("div", null, [(0, _vue.createVNode)("div", {
|
|
327
327
|
"class": "".concat(prefixedClassName.value, "-children-content ").concat(childrenFullHeight.value ? 'children-full-height' : ''),
|
|
328
328
|
"style": (0, _objectSpread2.default)({}, props.contentStyle || {})
|
|
329
329
|
}, [slots.default()]), value.hasFooterToolbar && (0, _vue.createVNode)("div", {
|
|
@@ -15,9 +15,8 @@ var _defaultSettings = require("../defaultSettings");
|
|
|
15
15
|
var _RouteContext = require("../RouteContext");
|
|
16
16
|
var _Icon = _interopRequireDefault(require("../../Icon"));
|
|
17
17
|
var _utils = require("@jetlinks-web/utils");
|
|
18
|
-
var
|
|
18
|
+
var _lib = require("ant-design-vue/lib/");
|
|
19
19
|
var _iconsVue = require("@ant-design/icons-vue/lib/icons");
|
|
20
|
-
require("ant-design-vue/es/_util/vue-types");
|
|
21
20
|
function _isSlot(s) {
|
|
22
21
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
|
|
23
22
|
}
|
|
@@ -153,7 +152,7 @@ var MenuUtil = /*#__PURE__*/(0, _createClass2.default)(function MenuUtil(_props,
|
|
|
153
152
|
return [menuTitle];
|
|
154
153
|
}
|
|
155
154
|
});
|
|
156
|
-
return (0, _vue.createVNode)(
|
|
155
|
+
return (0, _vue.createVNode)(_lib.Menu.SubMenu, {
|
|
157
156
|
"title": defaultTitle,
|
|
158
157
|
"key": item.path,
|
|
159
158
|
"popupClassName": "".concat(prefixCls, "-menu-popup"),
|
|
@@ -176,7 +175,7 @@ var MenuUtil = /*#__PURE__*/(0, _createClass2.default)(function MenuUtil(_props,
|
|
|
176
175
|
item: item,
|
|
177
176
|
title: title,
|
|
178
177
|
icon: icon
|
|
179
|
-
}) || (0, _vue.createVNode)(
|
|
178
|
+
}) || (0, _vue.createVNode)(_lib.Menu.Item, {
|
|
180
179
|
"disabled": (_item$meta7 = item.meta) === null || _item$meta7 === void 0 ? void 0 : _item$meta7.disabled,
|
|
181
180
|
"danger": (_item$meta8 = item.meta) === null || _item$meta8 === void 0 ? void 0 : _item$meta8.danger,
|
|
182
181
|
"key": item.path
|
|
@@ -269,7 +268,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
269
268
|
};
|
|
270
269
|
return function () {
|
|
271
270
|
var _slot3;
|
|
272
|
-
return (0, _vue.createVNode)(
|
|
271
|
+
return (0, _vue.createVNode)(_lib.Menu, (0, _objectSpread2.default)({
|
|
273
272
|
"key": "Menu",
|
|
274
273
|
"inlineIndent": 16,
|
|
275
274
|
"mode": props.mode,
|
|
@@ -10,10 +10,10 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _vue = require("vue");
|
|
12
12
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
13
|
-
var
|
|
13
|
+
var _lib = require("ant-design-vue/lib/");
|
|
14
14
|
var _BaseMenu = _interopRequireWildcard(require("./BaseMenu"));
|
|
15
15
|
var _defaultSettings = require("../defaultSettings");
|
|
16
|
-
var _vueTypes = _interopRequireDefault(require("ant-design-vue/
|
|
16
|
+
var _vueTypes = _interopRequireDefault(require("ant-design-vue/lib/_util/vue-types"));
|
|
17
17
|
var _Icon = _interopRequireDefault(require("../../Icon"));
|
|
18
18
|
var _RouteContext = require("../RouteContext");
|
|
19
19
|
require("../typings");
|
|
@@ -105,7 +105,7 @@ var defaultRenderLogo = exports.defaultRenderLogo = function defaultRenderLogo(l
|
|
|
105
105
|
return logo();
|
|
106
106
|
}
|
|
107
107
|
if (typeof logo === 'string') {
|
|
108
|
-
return application.length ? (0, _vue.createVNode)(
|
|
108
|
+
return application.length ? (0, _vue.createVNode)(_lib.Tooltip, {
|
|
109
109
|
"placement": "rightTop",
|
|
110
110
|
"color": "#fff",
|
|
111
111
|
"arrowPointAtCenter": true
|
|
@@ -260,7 +260,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
260
260
|
minWidth: "".concat(sSideWidth.value, "px"),
|
|
261
261
|
transition: "background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
262
262
|
}
|
|
263
|
-
}, null), (0, _vue.createVNode)(
|
|
263
|
+
}, null), (0, _vue.createVNode)(_lib.LayoutSider, {
|
|
264
264
|
"collapsible": true,
|
|
265
265
|
"trigger": null,
|
|
266
266
|
"collapsed": collapsed,
|
|
@@ -300,7 +300,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
300
300
|
"style": "flex: 1; overflow: hidden auto;"
|
|
301
301
|
}, [props.layoutType !== _defaultSettings.LayoutType.CARD ? menuContentRender && menuContentRender(props, defaultMenuDom) || defaultMenuDom : null]), (0, _vue.createVNode)("div", {
|
|
302
302
|
"class": "".concat(baseClassName, "-links")
|
|
303
|
-
}, [linksRender ? linksRender() : collapsedButtonRender !== false ? (0, _vue.createVNode)(
|
|
303
|
+
}, [linksRender ? linksRender() : collapsedButtonRender !== false ? (0, _vue.createVNode)(_lib.Menu, {
|
|
304
304
|
"class": "".concat(baseClassName, "-link-menu"),
|
|
305
305
|
"inlineIndent": 16,
|
|
306
306
|
"theme": theme,
|
|
@@ -312,7 +312,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
312
312
|
props.onCollapse(!props.collapsed);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
}, _isSlot(_slot = (0, _vue.createVNode)(
|
|
315
|
+
}, _isSlot(_slot = (0, _vue.createVNode)(_lib.Menu.Item, {
|
|
316
316
|
"key": 'collapsed-button',
|
|
317
317
|
"class": "".concat(baseClassName, "-collapsed-button"),
|
|
318
318
|
"title": false
|
|
@@ -9,9 +9,9 @@ var _vue = require("vue");
|
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
12
|
-
var _vcResizeObserver = _interopRequireDefault(require("ant-design-vue/
|
|
12
|
+
var _vcResizeObserver = _interopRequireDefault(require("ant-design-vue/lib/vc-resize-observer"));
|
|
13
13
|
var _SiderMenu = require("../SiderMenu/SiderMenu");
|
|
14
|
-
var _vueTypes = _interopRequireDefault(require("ant-design-vue/
|
|
14
|
+
var _vueTypes = _interopRequireDefault(require("ant-design-vue/lib/_util/vue-types"));
|
|
15
15
|
var _defaultSettings = require("../defaultSettings");
|
|
16
16
|
var _RouteContext = require("../RouteContext");
|
|
17
17
|
var _BaseMenu = _interopRequireDefault(require("../SiderMenu/BaseMenu"));
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.defaultSettings = exports.defaultSettingProps = exports.LayoutType = void 0;
|
|
8
8
|
require("vue");
|
|
9
|
-
var _vueTypes = _interopRequireDefault(require("ant-design-vue/
|
|
9
|
+
var _vueTypes = _interopRequireDefault(require("ant-design-vue/lib/_util/vue-types"));
|
|
10
10
|
var defaultSettings = exports.defaultSettings = {
|
|
11
11
|
theme: 'light',
|
|
12
12
|
layout: 'mix',
|
package/lib/ProTable/Alert.js
CHANGED
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
import { defineComponent as _defineComponent } from 'vue';
|
|
30
30
|
import { renderSlot as _renderSlot, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
31
31
|
const _hoisted_1 = { class: "jtable-alert" };
|
|
32
|
-
import { Alert, Button } from 'ant-design-vue';
|
|
32
|
+
import { Alert, Button } from 'ant-design-vue/lib/';
|
|
33
33
|
import { computed } from "vue";
|
|
34
34
|
import { _alertProps } from "./setting";
|
|
35
35
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
package/lib/ProTable/Content.js
CHANGED
|
@@ -41,7 +41,7 @@ const _hoisted_3 = {
|
|
|
41
41
|
};
|
|
42
42
|
import { useSlots, computed } from 'vue';
|
|
43
43
|
import { _contentProps } from "./setting";
|
|
44
|
-
import { Table } from 'ant-design-vue';
|
|
44
|
+
import { Table } from 'ant-design-vue/lib/';
|
|
45
45
|
import { get } from 'lodash-es';
|
|
46
46
|
import Empty from '../Empty';
|
|
47
47
|
const __sfc_main__ = _defineComponent({
|
package/lib/ProTable/Header.js
CHANGED
|
@@ -16,7 +16,7 @@ const _hoisted_4 = {
|
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "table-body-header-right-button"
|
|
18
18
|
};
|
|
19
|
-
import { RadioGroup, RadioButton } from 'ant-design-vue';
|
|
19
|
+
import { RadioGroup, RadioButton } from 'ant-design-vue/lib/';
|
|
20
20
|
import AIcon from '../Icon';
|
|
21
21
|
import { _headerProps } from './setting';
|
|
22
22
|
const __sfc_main__ = _defineComponent({
|
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
import { defineComponent as _defineComponent } from 'vue';
|
|
30
30
|
import { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
31
31
|
const _hoisted_1 = { class: "jtable-pagination" };
|
|
32
|
-
import { Pagination } from 'ant-design-vue';
|
|
32
|
+
import { Pagination } from 'ant-design-vue/lib/';
|
|
33
33
|
import { _paginationProps } from "./setting";
|
|
34
34
|
import { computed } from 'vue';
|
|
35
35
|
import { useLocaleReceiver } from "../LocaleReciver";
|
package/lib/ProTable/ProTable.js
CHANGED
|
@@ -63,7 +63,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
63
63
|
import { renderSlot as _renderSlot, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, normalizeProps as _normalizeProps, mergeProps as _mergeProps, renderList as _renderList, createSlots as _createSlots, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
|
64
64
|
const _hoisted_1 = { class: "jtable-body" };
|
|
65
65
|
import { proTableProps } from "./setting";
|
|
66
|
-
import { Spin } from 'ant-design-vue';
|
|
66
|
+
import { Spin } from 'ant-design-vue/lib/';
|
|
67
67
|
import Header from './Header.js';
|
|
68
68
|
import Alert from './Alert.js';
|
|
69
69
|
import Content from './Content.js';
|
package/lib/ProTable/setting.js
CHANGED
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.proTableProps = exports._paginationProps = exports._headerProps = exports._contentProps = exports._alertProps = void 0;
|
|
8
8
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
|
-
var _Table = require("ant-design-vue/
|
|
9
|
+
var _Table = require("ant-design-vue/lib/table/Table");
|
|
10
10
|
require("vue");
|
|
11
|
-
require("ant-design-vue/
|
|
12
|
-
var _Pagination = require("ant-design-vue/
|
|
11
|
+
require("ant-design-vue/lib/table");
|
|
12
|
+
var _Pagination = require("ant-design-vue/lib/pagination/Pagination");
|
|
13
13
|
var _lodashEs = require("lodash");
|
|
14
14
|
var _headerProps = exports._headerProps = {
|
|
15
15
|
mode: {
|
|
@@ -43,7 +43,7 @@ const _hoisted_5 = {
|
|
|
43
43
|
import { computed, ref } from 'vue';
|
|
44
44
|
import { isFunction } from 'lodash-es';
|
|
45
45
|
import { AIcon, Empty, Ellipsis } from '../../../';
|
|
46
|
-
import { Popconfirm, Button, FormItemRest, Popover, message } from 'ant-design-vue';
|
|
46
|
+
import { Popconfirm, Button, FormItemRest, Popover, message } from 'ant-design-vue/lib/';
|
|
47
47
|
import { useLocaleReceiver } from "../../LocaleReciver";
|
|
48
48
|
const __sfc_main__ = _defineComponent({
|
|
49
49
|
props: {
|
|
@@ -23,13 +23,13 @@
|
|
|
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-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203558447"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
|
30
30
|
};
|
|
31
31
|
import { ref, reactive } from 'vue';
|
|
32
|
-
import { Form, Button, FormItem, Popover, Textarea, message } from 'ant-design-vue';
|
|
32
|
+
import { Form, Button, FormItem, Popover, Textarea, message } from 'ant-design-vue/lib/';
|
|
33
33
|
import { isFunction } from 'lodash-es';
|
|
34
34
|
import { useLocaleReceiver } from "../../LocaleReciver";
|
|
35
35
|
const __sfc_main__ = _defineComponent({
|
|
@@ -108,7 +108,7 @@ import { ref, reactive, watch, provide } from 'vue';
|
|
|
108
108
|
import SaveHistory from './SaveHistory.js';
|
|
109
109
|
import History from './History.js';
|
|
110
110
|
import { compatibleOldTerms, getTermTypeFn, handleQData, hasExpand, termsParamsFormat, termsToValue, } from '../util';
|
|
111
|
-
import { Select, Button, Form, FormItemRest } from 'ant-design-vue';
|
|
111
|
+
import { Select, Button, Form, FormItemRest } from 'ant-design-vue/lib/';
|
|
112
112
|
import { AIcon } from '../../../';
|
|
113
113
|
import { cloneDeep } from 'lodash-es';
|
|
114
114
|
import { useLocaleReceiver } from "../../LocaleReciver/index";
|
package/lib/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-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749203557618"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
|
@@ -92,7 +92,7 @@ import { typeOptions, termType, componentType, optionsMapKey } from './setting';
|
|
|
92
92
|
import { ref, reactive, nextTick, watch, computed, inject } from 'vue';
|
|
93
93
|
import { cloneDeep, debounce, isArray, isFunction, omit } from 'lodash-es';
|
|
94
94
|
import { filterTreeSelectNode, filterSelectNode, getTermTypeFn, getTermOptions, getTermTypes, } from './util';
|
|
95
|
-
import { TreeSelect, Select, Input, InputNumber, DatePicker, TimePicker, InputPassword, RangePicker, TimeRangePicker, FormItem } from 'ant-design-vue';
|
|
95
|
+
import { TreeSelect, Select, Input, InputNumber, DatePicker, TimePicker, InputPassword, RangePicker, TimeRangePicker, FormItem } from 'ant-design-vue/lib/';
|
|
96
96
|
import { isPromise } from '@jetlinks-web/utils';
|
|
97
97
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
|
98
98
|
const __sfc_main__ = _defineComponent({
|
package/lib/Search/Search.js
CHANGED
|
@@ -47,7 +47,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
47
47
|
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 } from "vue";
|
|
48
48
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
49
49
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
50
|
-
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
|
50
|
+
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue/lib/';
|
|
51
51
|
import { set } from 'lodash-es';
|
|
52
52
|
import { reactive, ref, provide, watch, computed, inject } from 'vue';
|
|
53
53
|
import { termsParamsFormat } from './util';
|
|
@@ -62,7 +62,7 @@ const _hoisted_2 = { style: { "width": "100%", "height": "300px" } };
|
|
|
62
62
|
import { ref, watch, computed } from 'vue';
|
|
63
63
|
import { componentsType } from './util';
|
|
64
64
|
import { MonacoEditor } from '../index';
|
|
65
|
-
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
|
|
65
|
+
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue/lib/';
|
|
66
66
|
import { omit } from "lodash-es";
|
|
67
67
|
const __sfc_main__ = _defineComponent({
|
|
68
68
|
...{
|
package/lib/style/variable.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"monaco-editor": "^0.51.0",
|
|
45
45
|
"resize-observer-polyfill": "^1.5.1",
|
|
46
46
|
"sortablejs": "^1.15.2",
|
|
47
|
+
"@jetlinks-web/utils": "^1.2.12",
|
|
47
48
|
"@jetlinks-web/constants": "^1.0.9",
|
|
48
|
-
"@jetlinks-web/hooks": "^1.0.29"
|
|
49
|
-
"@jetlinks-web/utils": "^1.2.12"
|
|
49
|
+
"@jetlinks-web/hooks": "^1.0.29"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@babel/cli": "^7.8.4",
|