@jetlinks-web/components 2.6.18 → 2.6.20
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 +1 -1
- package/es/BadgeStatus/Badge.js +1 -1
- package/es/ConfigProvider/index.js +1 -1
- package/es/DragModal/DragModal.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 +1 -1
- package/es/ProLayout/Basic/Header.js +1 -1
- package/es/ProLayout/PageContainer/index.js +1 -1
- package/es/ProLayout/SiderMenu/BaseMenu.js +1 -1
- package/es/ProLayout/SiderMenu/SiderMenu.js +1 -2
- package/es/ProTable/Alert.js +1 -1
- package/es/ProTable/Content.js +13 -8
- 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/ProTable/style/ProTable.less +0 -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/es/style/index.css +0 -1
- package/lib/AutoComplete/AutoComplete.js +1 -1
- package/lib/BadgeStatus/Badge.js +1 -1
- package/lib/ConfigProvider/index.js +3 -3
- package/lib/DragModal/DragModal.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/Ellipsis/Ellipsis.js +1 -1
- package/lib/Empty/Empty.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/PermissionButton/index.js +5 -6
- package/lib/ProLayout/Basic/BasicLayout.js +15 -15
- package/lib/ProLayout/Basic/Header.js +3 -3
- package/lib/ProLayout/PageContainer/index.js +7 -7
- package/lib/ProLayout/SiderMenu/BaseMenu.js +4 -4
- package/lib/ProLayout/SiderMenu/SiderMenu.js +5 -6
- package/lib/ProTable/Alert.js +1 -1
- package/lib/ProTable/Content.js +13 -8
- 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 +1 -1
- package/lib/ProTable/style/ProTable.less +0 -1
- 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/index.css +0 -1
- package/package.json +6 -6
|
@@ -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/es';
|
|
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/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
|
...{
|
|
@@ -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-1749199467505"), 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-1749199465829"), 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";
|
|
@@ -12,7 +12,7 @@ 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,7 +6,7 @@ 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
11
|
import { pageHeaderProps } from 'ant-design-vue/es/page-header';
|
|
12
12
|
import { useRouteContext } from '../RouteContext';
|
|
@@ -10,7 +10,7 @@ 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
15
|
import 'ant-design-vue/es/_util/vue-types';
|
|
16
16
|
function _isSlot(s) {
|
|
@@ -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';
|
|
@@ -242,7 +242,6 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
242
242
|
},
|
|
243
243
|
'onUpdate:selectedKeys': handleSelect
|
|
244
244
|
}, null);
|
|
245
|
-
console.log('context', context.fixSiderbar);
|
|
246
245
|
return _createVNode(_Fragment, null, [context.fixSiderbar && _createVNode("div", {
|
|
247
246
|
"style": {
|
|
248
247
|
width: "".concat(sSideWidth.value, "px"),
|
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({
|
|
@@ -60,10 +60,15 @@ const __sfc_main__ = _defineComponent({
|
|
|
60
60
|
const slots = useSlots();
|
|
61
61
|
const _columns = computed(() => props.columns.filter((i) => !_optionalChain([i, 'optionalAccess', _2 => _2.hideInTable])));
|
|
62
62
|
const _scroll = computed(() => {
|
|
63
|
-
|
|
63
|
+
if (props.scroll === false) {
|
|
64
|
+
return {
|
|
65
|
+
x: undefined,
|
|
66
|
+
y: undefined
|
|
67
|
+
};
|
|
68
|
+
}
|
|
64
69
|
return {
|
|
65
|
-
x:
|
|
66
|
-
y
|
|
70
|
+
x: props.scroll.x === false ? undefined : props.scroll.x || '100%',
|
|
71
|
+
y: props.scroll.y === false ? undefined : props.scroll.y || '100%'
|
|
67
72
|
};
|
|
68
73
|
});
|
|
69
74
|
const gridTemplateColumns = computed(() => {
|
|
@@ -99,19 +104,19 @@ const __sfc_main__ = _defineComponent({
|
|
|
99
104
|
columns: _columns.value,
|
|
100
105
|
pagination: false,
|
|
101
106
|
scroll: _scroll.value,
|
|
102
|
-
class: { 'j-table-scroll': !_optionalChain([props, 'access',
|
|
107
|
+
class: { 'j-table-scroll': !_optionalChain([props, 'access', _3 => _3.scroll, 'optionalAccess', _4 => _4.y]) }
|
|
103
108
|
}), _createSlots({
|
|
104
109
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
110
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
111
|
]),
|
|
107
112
|
bodyCell: _withCtx(({ column, record, index }) => [
|
|
108
|
-
((_optionalChain([column, 'optionalAccess',
|
|
109
|
-
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess',
|
|
113
|
+
((_optionalChain([column, 'optionalAccess', _5 => _5.key]) || _optionalChain([column, 'optionalAccess', _6 => _6.dataIndex])) && _optionalChain([column, 'optionalAccess', _7 => _7.scopedSlots]) && (_optionalChain([_unref, 'call', _8 => _8(slots), 'optionalAccess', _9 => _9[_optionalChain([column, 'optionalAccess', _10 => _10.dataIndex])]]) || _optionalChain([_unref, 'call', _11 => _11(slots), 'optionalAccess', _12 => _12[_optionalChain([column, 'optionalAccess', _13 => _13.key])]])))
|
|
114
|
+
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _14 => _14.key]) || _optionalChain([column, 'optionalAccess', _15 => _15.dataIndex]), _mergeProps({ key: 0 }, record, {
|
|
110
115
|
index: index,
|
|
111
116
|
column: column
|
|
112
117
|
}))
|
|
113
118
|
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
114
|
-
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess',
|
|
119
|
+
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _16 => _16.dataIndex]) || _optionalChain([column, 'optionalAccess', _17 => _17.key])) || '--'), 1 /* TEXT */)
|
|
115
120
|
], 64 /* STABLE_FRAGMENT */))
|
|
116
121
|
]),
|
|
117
122
|
emptyText: _withCtx(() => [
|
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
|
@@ -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-1749199467221"), 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-1749199466716"), 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
|
...{
|
package/es/style/index.css
CHANGED
|
@@ -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/es';
|
|
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/es';
|
|
17
17
|
const __sfc_main__ = _defineComponent({
|
|
18
18
|
...{
|
|
19
19
|
name: 'JBadgeStatus'
|
|
@@ -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 _es = require("ant-design-vue/es");
|
|
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)(_es.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 = _es.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/es';
|
|
63
63
|
import { useLocaleReceiver } from "../LocaleReciver/index";
|
|
64
64
|
const __sfc_main__ = _defineComponent({
|
|
65
65
|
...{
|
|
@@ -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-1749199467486"), 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/es";
|
|
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/es';
|
|
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/es';
|
|
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-1749199465818"), 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,8 +12,7 @@ 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
|
|
16
|
-
require("ant-design-vue/es");
|
|
15
|
+
var _es = require("ant-design-vue/es");
|
|
17
16
|
var _lodashEs = require("lodash");
|
|
18
17
|
var _button = require("ant-design-vue/es/button/button");
|
|
19
18
|
var _hooks = require("@jetlinks-web/hooks");
|
|
@@ -99,7 +98,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
99
98
|
danger: buttonProps.danger
|
|
100
99
|
}), context.components);
|
|
101
100
|
} else {
|
|
102
|
-
|
|
101
|
+
_es.Modal.confirm({
|
|
103
102
|
title: _popConfirm.title,
|
|
104
103
|
content: _popConfirm.content,
|
|
105
104
|
onOk: function onOk() {
|
|
@@ -119,7 +118,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
119
118
|
}, _callee);
|
|
120
119
|
}));
|
|
121
120
|
}
|
|
122
|
-
var button = !slots.button ? (0, _vue.h)(
|
|
121
|
+
var button = !slots.button ? (0, _vue.h)(_es.Button, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, buttonProps), {}, {
|
|
123
122
|
disabled: isPermission.value
|
|
124
123
|
}), {
|
|
125
124
|
default: function _default() {
|
|
@@ -132,7 +131,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
132
131
|
}
|
|
133
132
|
}) : slots.button();
|
|
134
133
|
// 文字提示
|
|
135
|
-
var _tooltip = tooltip ? (0, _vue.h)(
|
|
134
|
+
var _tooltip = tooltip ? (0, _vue.h)(_es.Tooltip, (0, _extends2.default)(tooltip, {
|
|
136
135
|
disabled: isPermission.value
|
|
137
136
|
}), {
|
|
138
137
|
default: function _default() {
|
|
@@ -140,7 +139,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
140
139
|
}
|
|
141
140
|
}) : undefined;
|
|
142
141
|
// 无权限
|
|
143
|
-
var noPermissionButton = !permission.value ? (0, _vue.h)(
|
|
142
|
+
var noPermissionButton = !permission.value ? (0, _vue.h)(_es.Tooltip, {
|
|
144
143
|
title: noPermissionTitle || contextLocale.value.hasPermission
|
|
145
144
|
}, {
|
|
146
145
|
default: function _default() {
|
|
@@ -18,7 +18,7 @@ var _useConfigInject2 = _interopRequireDefault(require("ant-design-vue/es/_util/
|
|
|
18
18
|
var _lodashEs = require("lodash");
|
|
19
19
|
var _RouteContext = require("../RouteContext");
|
|
20
20
|
var _util = require("../util");
|
|
21
|
-
var
|
|
21
|
+
var _es = require("ant-design-vue/es");
|
|
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)(_es.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)(_es.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)(_es.Layout, null, _isSlot(_slot = (0, _vue.createVNode)(_es.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)(_es.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)(_es.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)(_es.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)(_es.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)(_es.Layout, null, {
|
|
359
359
|
default: function _default() {
|
|
360
|
-
return [(0, _vue.createVNode)(
|
|
360
|
+
return [(0, _vue.createVNode)(_es.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)(_es.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)(_es.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)(_es.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)(_es.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)(_es.Breadcrumb, {
|
|
406
406
|
"routes": breadcrumb.value.routes
|
|
407
407
|
}, {
|
|
408
408
|
itemRender: breadcrumb.value.itemRender
|
|
@@ -11,7 +11,7 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/obje
|
|
|
11
11
|
var _TopHeader = require("../TopHeader");
|
|
12
12
|
var _vueTypes = _interopRequireDefault(require("ant-design-vue/es/_util/vue-types"));
|
|
13
13
|
var _RouteContext = require("../RouteContext");
|
|
14
|
-
var
|
|
14
|
+
var _es = require("ant-design-vue/es");
|
|
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)(_es.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)(_es.Layout.Header, {
|
|
94
94
|
"style": {
|
|
95
95
|
padding: 0,
|
|
96
96
|
height: "".concat(headerHeight.value, "px"),
|
|
@@ -11,7 +11,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
11
11
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
12
12
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
13
13
|
var _type = require("ant-design-vue/es/_util/type");
|
|
14
|
-
var
|
|
14
|
+
var _es = require("ant-design-vue/es");
|
|
15
15
|
var _pageHeader = require("ant-design-vue/es/page-header");
|
|
16
16
|
var _RouteContext = require("../RouteContext");
|
|
17
17
|
var _util = require("../util");
|
|
@@ -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)(_es.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)(_es.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)(_es.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)(_es.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)(_es.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)(_es.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,7 +15,7 @@ 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 _es = require("ant-design-vue/es");
|
|
19
19
|
var _iconsVue = require("@ant-design/icons-vue/lib/icons");
|
|
20
20
|
require("ant-design-vue/es/_util/vue-types");
|
|
21
21
|
function _isSlot(s) {
|
|
@@ -153,7 +153,7 @@ var MenuUtil = /*#__PURE__*/(0, _createClass2.default)(function MenuUtil(_props,
|
|
|
153
153
|
return [menuTitle];
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
-
return (0, _vue.createVNode)(
|
|
156
|
+
return (0, _vue.createVNode)(_es.Menu.SubMenu, {
|
|
157
157
|
"title": defaultTitle,
|
|
158
158
|
"key": item.path,
|
|
159
159
|
"popupClassName": "".concat(prefixCls, "-menu-popup"),
|
|
@@ -176,7 +176,7 @@ var MenuUtil = /*#__PURE__*/(0, _createClass2.default)(function MenuUtil(_props,
|
|
|
176
176
|
item: item,
|
|
177
177
|
title: title,
|
|
178
178
|
icon: icon
|
|
179
|
-
}) || (0, _vue.createVNode)(
|
|
179
|
+
}) || (0, _vue.createVNode)(_es.Menu.Item, {
|
|
180
180
|
"disabled": (_item$meta7 = item.meta) === null || _item$meta7 === void 0 ? void 0 : _item$meta7.disabled,
|
|
181
181
|
"danger": (_item$meta8 = item.meta) === null || _item$meta8 === void 0 ? void 0 : _item$meta8.danger,
|
|
182
182
|
"key": item.path
|
|
@@ -269,7 +269,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
269
269
|
};
|
|
270
270
|
return function () {
|
|
271
271
|
var _slot3;
|
|
272
|
-
return (0, _vue.createVNode)(
|
|
272
|
+
return (0, _vue.createVNode)(_es.Menu, (0, _objectSpread2.default)({
|
|
273
273
|
"key": "Menu",
|
|
274
274
|
"inlineIndent": 16,
|
|
275
275
|
"mode": props.mode,
|
|
@@ -10,7 +10,7 @@ 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 _es = require("ant-design-vue/es");
|
|
14
14
|
var _BaseMenu = _interopRequireWildcard(require("./BaseMenu"));
|
|
15
15
|
var _defaultSettings = require("../defaultSettings");
|
|
16
16
|
var _vueTypes = _interopRequireDefault(require("ant-design-vue/es/_util/vue-types"));
|
|
@@ -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)(_es.Tooltip, {
|
|
109
109
|
"placement": "rightTop",
|
|
110
110
|
"color": "#fff",
|
|
111
111
|
"arrowPointAtCenter": true
|
|
@@ -251,7 +251,6 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
251
251
|
},
|
|
252
252
|
'onUpdate:selectedKeys': handleSelect
|
|
253
253
|
}, null);
|
|
254
|
-
console.log('context', context.fixSiderbar);
|
|
255
254
|
return (0, _vue.createVNode)(_vue.Fragment, null, [context.fixSiderbar && (0, _vue.createVNode)("div", {
|
|
256
255
|
"style": {
|
|
257
256
|
width: "".concat(sSideWidth.value, "px"),
|
|
@@ -261,7 +260,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
261
260
|
minWidth: "".concat(sSideWidth.value, "px"),
|
|
262
261
|
transition: "background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
263
262
|
}
|
|
264
|
-
}, null), (0, _vue.createVNode)(
|
|
263
|
+
}, null), (0, _vue.createVNode)(_es.LayoutSider, {
|
|
265
264
|
"collapsible": true,
|
|
266
265
|
"trigger": null,
|
|
267
266
|
"collapsed": collapsed,
|
|
@@ -301,7 +300,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
301
300
|
"style": "flex: 1; overflow: hidden auto;"
|
|
302
301
|
}, [props.layoutType !== _defaultSettings.LayoutType.CARD ? menuContentRender && menuContentRender(props, defaultMenuDom) || defaultMenuDom : null]), (0, _vue.createVNode)("div", {
|
|
303
302
|
"class": "".concat(baseClassName, "-links")
|
|
304
|
-
}, [linksRender ? linksRender() : collapsedButtonRender !== false ? (0, _vue.createVNode)(
|
|
303
|
+
}, [linksRender ? linksRender() : collapsedButtonRender !== false ? (0, _vue.createVNode)(_es.Menu, {
|
|
305
304
|
"class": "".concat(baseClassName, "-link-menu"),
|
|
306
305
|
"inlineIndent": 16,
|
|
307
306
|
"theme": theme,
|
|
@@ -313,7 +312,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
313
312
|
props.onCollapse(!props.collapsed);
|
|
314
313
|
}
|
|
315
314
|
}
|
|
316
|
-
}, _isSlot(_slot = (0, _vue.createVNode)(
|
|
315
|
+
}, _isSlot(_slot = (0, _vue.createVNode)(_es.Menu.Item, {
|
|
317
316
|
"key": 'collapsed-button',
|
|
318
317
|
"class": "".concat(baseClassName, "-collapsed-button"),
|
|
319
318
|
"title": false
|
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/es';
|
|
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/es';
|
|
45
45
|
import { get } from 'lodash-es';
|
|
46
46
|
import Empty from '../Empty';
|
|
47
47
|
const __sfc_main__ = _defineComponent({
|
|
@@ -60,10 +60,15 @@ const __sfc_main__ = _defineComponent({
|
|
|
60
60
|
const slots = useSlots();
|
|
61
61
|
const _columns = computed(() => props.columns.filter((i) => !_optionalChain([i, 'optionalAccess', _2 => _2.hideInTable])));
|
|
62
62
|
const _scroll = computed(() => {
|
|
63
|
-
|
|
63
|
+
if (props.scroll === false) {
|
|
64
|
+
return {
|
|
65
|
+
x: undefined,
|
|
66
|
+
y: undefined
|
|
67
|
+
};
|
|
68
|
+
}
|
|
64
69
|
return {
|
|
65
|
-
x:
|
|
66
|
-
y
|
|
70
|
+
x: props.scroll.x === false ? undefined : props.scroll.x || '100%',
|
|
71
|
+
y: props.scroll.y === false ? undefined : props.scroll.y || '100%'
|
|
67
72
|
};
|
|
68
73
|
});
|
|
69
74
|
const gridTemplateColumns = computed(() => {
|
|
@@ -99,19 +104,19 @@ const __sfc_main__ = _defineComponent({
|
|
|
99
104
|
columns: _columns.value,
|
|
100
105
|
pagination: false,
|
|
101
106
|
scroll: _scroll.value,
|
|
102
|
-
class: { 'j-table-scroll': !_optionalChain([props, 'access',
|
|
107
|
+
class: { 'j-table-scroll': !_optionalChain([props, 'access', _3 => _3.scroll, 'optionalAccess', _4 => _4.y]) }
|
|
103
108
|
}), _createSlots({
|
|
104
109
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
110
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
111
|
]),
|
|
107
112
|
bodyCell: _withCtx(({ column, record, index }) => [
|
|
108
|
-
((_optionalChain([column, 'optionalAccess',
|
|
109
|
-
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess',
|
|
113
|
+
((_optionalChain([column, 'optionalAccess', _5 => _5.key]) || _optionalChain([column, 'optionalAccess', _6 => _6.dataIndex])) && _optionalChain([column, 'optionalAccess', _7 => _7.scopedSlots]) && (_optionalChain([_unref, 'call', _8 => _8(slots), 'optionalAccess', _9 => _9[_optionalChain([column, 'optionalAccess', _10 => _10.dataIndex])]]) || _optionalChain([_unref, 'call', _11 => _11(slots), 'optionalAccess', _12 => _12[_optionalChain([column, 'optionalAccess', _13 => _13.key])]])))
|
|
114
|
+
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _14 => _14.key]) || _optionalChain([column, 'optionalAccess', _15 => _15.dataIndex]), _mergeProps({ key: 0 }, record, {
|
|
110
115
|
index: index,
|
|
111
116
|
column: column
|
|
112
117
|
}))
|
|
113
118
|
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
114
|
-
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess',
|
|
119
|
+
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _16 => _16.dataIndex]) || _optionalChain([column, 'optionalAccess', _17 => _17.key])) || '--'), 1 /* TEXT */)
|
|
115
120
|
], 64 /* STABLE_FRAGMENT */))
|
|
116
121
|
]),
|
|
117
122
|
emptyText: _withCtx(() => [
|
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/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/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/es';
|
|
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
|
@@ -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-1749199467210"), 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/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-1749199466662"), 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/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/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
|
...{
|
package/lib/style/index.css
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.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -43,7 +43,10 @@
|
|
|
43
43
|
"markdown-it-toc-done-right": "^4.2.0",
|
|
44
44
|
"monaco-editor": "^0.51.0",
|
|
45
45
|
"resize-observer-polyfill": "^1.5.1",
|
|
46
|
-
"sortablejs": "^1.15.2"
|
|
46
|
+
"sortablejs": "^1.15.2",
|
|
47
|
+
"@jetlinks-web/constants": "^1.0.9",
|
|
48
|
+
"@jetlinks-web/utils": "^1.2.12",
|
|
49
|
+
"@jetlinks-web/hooks": "^1.0.29"
|
|
47
50
|
},
|
|
48
51
|
"devDependencies": {
|
|
49
52
|
"@babel/cli": "^7.8.4",
|
|
@@ -157,10 +160,7 @@
|
|
|
157
160
|
"webpack-cli": "^4.6.0",
|
|
158
161
|
"webpack-dev-server": "^4.0.0",
|
|
159
162
|
"webpack-merge": "^5.0.0",
|
|
160
|
-
"webpackbar": "^5.0.2"
|
|
161
|
-
"@jetlinks-web/constants": "^1.0.9",
|
|
162
|
-
"@jetlinks-web/utils": "^1.2.12",
|
|
163
|
-
"@jetlinks-web/hooks": "^1.0.28"
|
|
163
|
+
"webpackbar": "^5.0.2"
|
|
164
164
|
},
|
|
165
165
|
"publishConfig": {
|
|
166
166
|
"registry": "https://registry.npmjs.org/",
|