@jetlinks-web/components 2.0.2-5 → 2.0.2-7

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.
Files changed (38) hide show
  1. package/es/CheckButton/CheckButton.js +1 -1
  2. package/es/ConfigProvider/index.js +1 -1
  3. package/es/FullPage/FullPage.js +1 -1
  4. package/es/Icon/icon.js +1 -2
  5. package/es/ProLayout/Basic/BasicLayout.js +11 -7
  6. package/es/ProLayout/Basic/Header.js +7 -3
  7. package/es/ProLayout/PageContainer/index.js +14 -8
  8. package/es/ProLayout/SiderMenu/BaseMenu.js +37 -14
  9. package/es/ProLayout/SiderMenu/SiderMenu.js +34 -14
  10. package/es/ProLayout/TopHeader/index.js +10 -2
  11. package/es/ProLayout/util.js +5 -5
  12. package/es/ProTable/index.js +140 -135
  13. package/es/Scrollbar/Scrollbar.js +1 -1
  14. package/es/Scrollbar/Thumb.js +189 -10
  15. package/es/Scrollbar/thumbProps.js +10 -0
  16. package/es/Search/Advanced/SaveHistory.js +1 -1
  17. package/es/Search/Item.js +1 -1
  18. package/es/Search/Search.js +1 -1
  19. package/es/style.js +16 -0
  20. package/lib/CheckButton/CheckButton.js +1 -1
  21. package/lib/FullPage/FullPage.js +1 -1
  22. package/lib/Icon/icon.js +1 -1
  23. package/lib/ProLayout/Basic/BasicLayout.js +10 -6
  24. package/lib/ProLayout/Basic/Header.js +6 -2
  25. package/lib/ProLayout/PageContainer/index.js +11 -7
  26. package/lib/ProLayout/SiderMenu/BaseMenu.js +36 -14
  27. package/lib/ProLayout/SiderMenu/SiderMenu.js +34 -14
  28. package/lib/ProLayout/TopHeader/index.js +8 -1
  29. package/lib/ProLayout/util.js +5 -5
  30. package/lib/ProTable/index.js +139 -134
  31. package/lib/Scrollbar/Scrollbar.js +1 -1
  32. package/lib/Scrollbar/Thumb.js +188 -15
  33. package/lib/Scrollbar/thumbProps.js +16 -0
  34. package/lib/Search/Advanced/SaveHistory.js +1 -1
  35. package/lib/Search/Item.js +1 -1
  36. package/lib/Search/Search.js +1 -1
  37. package/lib/style.js +18 -0
  38. package/package.json +3 -3
@@ -1,14 +1,18 @@
1
+ import _typeof from "@babel/runtime/helpers/esm/typeof";
2
+ import { createVNode as _createVNode, isVNode as _isVNode, createTextVNode as _createTextVNode, resolveDirective as _resolveDirective } from "vue";
1
3
  import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
4
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
5
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
- import { resolveDirective as _resolveDirective, createTextVNode as _createTextVNode, createVNode as _createVNode } from "vue";
5
- import _regeneratorRuntime from "@babel/runtime/regenerator";
6
+ 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; }
6
7
  import { Empty, AIcon } from '../index';
7
8
  import { Table, Pagination, Button, Alert, Spin, RadioGroup, RadioButton } from 'ant-design-vue';
8
9
  import { tableProps as _tableProps } from 'ant-design-vue/es/table';
9
10
  import { defineComponent, onMounted, onUnmounted, ref, watch } from 'vue';
10
11
  import { ModelEnum } from './proTableTypes';
11
12
  import { get, debounce, isArray } from 'lodash-es';
13
+ function _isSlot(s) {
14
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
15
+ }
12
16
  var tableProps = function tableProps() {
13
17
  return _objectSpread(_objectSpread({}, _tableProps()), {}, {
14
18
  loading: {
@@ -134,21 +138,21 @@ var ProTable = defineComponent({
134
138
  if (window.innerWidth <= 1440) {
135
139
  var _props$gridColumns;
136
140
  var _column = props.gridColumn && props.gridColumn < 2 ? props.gridColumn : 2;
137
- column.value = (_props$gridColumns = props.gridColumns) !== null && _props$gridColumns !== void 0 && _props$gridColumns[0] ? props.gridColumns[0] : _column;
141
+ column.value = ((_props$gridColumns = props.gridColumns) === null || _props$gridColumns === void 0 ? void 0 : _props$gridColumns[0]) ? props.gridColumns[0] : _column;
138
142
  } else if (window.innerWidth > 1440 && window.innerWidth <= 1600) {
139
143
  var _props$gridColumns2;
140
144
  var _column2 = props.gridColumn && props.gridColumn < 3 ? props.gridColumn : 3;
141
- column.value = (_props$gridColumns2 = props.gridColumns) !== null && _props$gridColumns2 !== void 0 && _props$gridColumns2[1] ? props.gridColumns[1] : _column2;
145
+ column.value = ((_props$gridColumns2 = props.gridColumns) === null || _props$gridColumns2 === void 0 ? void 0 : _props$gridColumns2[1]) ? props.gridColumns[1] : _column2;
142
146
  } else if (window.innerWidth > 1600) {
143
147
  var _props$gridColumns3;
144
148
  var _column3 = props.gridColumn && props.gridColumn < 4 ? props.gridColumn : 4;
145
- column.value = (_props$gridColumns3 = props.gridColumns) !== null && _props$gridColumns3 !== void 0 && _props$gridColumns3[2] ? props.gridColumns[2] : _column3;
149
+ column.value = ((_props$gridColumns3 = props.gridColumns) === null || _props$gridColumns3 === void 0 ? void 0 : _props$gridColumns3[2]) ? props.gridColumns[2] : _column3;
146
150
  }
147
151
  };
148
152
  var handleSearch = /*#__PURE__*/function () {
149
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_params) {
153
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_params) {
150
154
  var _props$defaultParams, resp, _resp$result, _resp$result2, _resp$result3, _resp$result4, _resp$result4$data, _resp$result5, _resp$result6, _resp$result7, _resp$result8;
151
- return _regeneratorRuntime.wrap(function _callee$(_context) {
155
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
152
156
  while (1) switch (_context.prev = _context.next) {
153
157
  case 0:
154
158
  _loading.value = props.loading !== undefined ? props.loading : true;
@@ -171,7 +175,7 @@ var ProTable = defineComponent({
171
175
  if (resp.status === 200) {
172
176
  if (props.type === 'PAGE') {
173
177
  // 判断如果是最后一页且最后一页为空,就跳转到前一页
174
- if (resp !== null && resp !== void 0 && (_resp$result = resp.result) !== null && _resp$result !== void 0 && _resp$result.total && resp !== null && resp !== void 0 && (_resp$result2 = resp.result) !== null && _resp$result2 !== void 0 && _resp$result2.pageSize && resp !== null && resp !== void 0 && (_resp$result3 = resp.result) !== null && _resp$result3 !== void 0 && _resp$result3.pageIndex && (resp === null || resp === void 0 ? void 0 : (_resp$result4 = resp.result) === null || _resp$result4 === void 0 ? void 0 : (_resp$result4$data = _resp$result4.data) === null || _resp$result4$data === void 0 ? void 0 : _resp$result4$data.length) === 0) {
178
+ if ((resp === null || resp === void 0 ? void 0 : (_resp$result = resp.result) === null || _resp$result === void 0 ? void 0 : _resp$result.total) && (resp === null || resp === void 0 ? void 0 : (_resp$result2 = resp.result) === null || _resp$result2 === void 0 ? void 0 : _resp$result2.pageSize) && (resp === null || resp === void 0 ? void 0 : (_resp$result3 = resp.result) === null || _resp$result3 === void 0 ? void 0 : _resp$result3.pageIndex) && (resp === null || resp === void 0 ? void 0 : (_resp$result4 = resp.result) === null || _resp$result4 === void 0 ? void 0 : (_resp$result4$data = _resp$result4.data) === null || _resp$result4$data === void 0 ? void 0 : _resp$result4$data.length) === 0) {
175
179
  pageIndex.value = pageIndex.value > 0 ? pageIndex.value - 1 : 0;
176
180
  handleSearch(_objectSpread(_objectSpread({}, _params), {}, {
177
181
  pageSize: pageSize.value,
@@ -261,143 +265,144 @@ var ProTable = defineComponent({
261
265
  });
262
266
  return function () {
263
267
  var _props$rowSelection, _props$rowSelection$s, _props$rowSelection2, _props$rowSelection2$;
268
+ var _slot, _slot2, _slot3;
264
269
  return _createVNode("div", {
265
270
  "class": "jtable-body-spin",
266
271
  "style": _objectSpread({}, props.bodyStyle)
267
272
  }, [_createVNode(Spin, {
268
273
  "spinning": _loading.value
274
+ }, _isSlot(_slot3 = _createVNode("div", {
275
+ "class": 'jtable-body'
276
+ }, [_createVNode("div", {
277
+ "class": 'jtable-body-header'
278
+ }, [_createVNode("div", {
279
+ "class": 'jtable-body-header-left'
280
+ }, [slots.headerTitle && slots.headerTitle()]), _createVNode("div", {
281
+ "class": 'jtable-body-header-right'
282
+ }, [slots.rightExtraRender && slots.rightExtraRender(), !props.model && _createVNode("div", {
283
+ "class": 'jtable-body-header-right-button'
284
+ }, [_createVNode(RadioGroup, {
285
+ "class": "jtable-body-header-right-button",
286
+ "value": _model.value,
287
+ "onChange": function onChange(e) {
288
+ _model.value = e.target.value;
289
+ emit('update:modelValue', e.target.value);
290
+ emit('modelChange', e.target.value);
291
+ }
269
292
  }, {
270
293
  default: function _default() {
271
- return [_createVNode("div", {
272
- "class": 'jtable-body'
273
- }, [_createVNode("div", {
274
- "class": 'jtable-body-header'
275
- }, [_createVNode("div", {
276
- "class": 'jtable-body-header-left'
277
- }, [slots.headerTitle && slots.headerTitle()]), _createVNode("div", {
278
- "class": 'jtable-body-header-right'
279
- }, [slots.rightExtraRender && slots.rightExtraRender(), !props.model && _createVNode("div", {
280
- "class": 'jtable-body-header-right-button'
281
- }, [_createVNode(RadioGroup, {
282
- "class": "jtable-body-header-right-button",
283
- "value": _model.value,
284
- "onChange": function onChange(e) {
285
- _model.value = e.target.value;
286
- emit('update:modelValue', e.target.value);
287
- emit('modelChange', e.target.value);
288
- }
289
- }, {
294
+ return [_createVNode(RadioButton, {
295
+ "value": ModelEnum.TABLE
296
+ }, _isSlot(_slot = _createVNode(AIcon, {
297
+ "class": 'right-button-icon',
298
+ "type": "UnorderedListOutlined"
299
+ }, null)) ? _slot : {
290
300
  default: function _default() {
291
- return [_createVNode(RadioButton, {
292
- "value": ModelEnum.TABLE
293
- }, {
294
- default: function _default() {
295
- return [_createVNode(AIcon, {
296
- "class": 'right-button-icon',
297
- "type": "UnorderedListOutlined"
298
- }, null)];
299
- }
300
- }), _createVNode(RadioButton, {
301
- "value": ModelEnum.CARD
302
- }, {
303
- default: function _default() {
304
- return [_createVNode(AIcon, {
305
- "class": 'right-button-icon',
306
- "type": "AppstoreOutlined"
307
- }, null)];
308
- }
309
- })];
310
- }
311
- })])])]), _createVNode("div", {
312
- "class": 'jtable-content'
313
- }, [props.alertRender && props !== null && props !== void 0 && props.rowSelection && props !== null && props !== void 0 && (_props$rowSelection = props.rowSelection) !== null && _props$rowSelection !== void 0 && _props$rowSelection.selectedRowKeys && (_props$rowSelection$s = props.rowSelection.selectedRowKeys) !== null && _props$rowSelection$s !== void 0 && _props$rowSelection$s.length ? _createVNode("div", {
314
- "class": 'jtable-alert'
315
- }, [_createVNode(Alert, {
316
- "message": '已选择' + (props === null || props === void 0 ? void 0 : (_props$rowSelection2 = props.rowSelection) === null || _props$rowSelection2 === void 0 ? void 0 : (_props$rowSelection2$ = _props$rowSelection2.selectedRowKeys) === null || _props$rowSelection2$ === void 0 ? void 0 : _props$rowSelection2$.length) + '项',
317
- "type": "info",
318
- "onClose": function onClose() {
319
- var _props$rowSelection3, _props$rowSelection3$, _props$rowSelection4, _props$rowSelection4$;
320
- // if (props.rowSelection?.onSelectNone) {
321
- // // 取消选择清空被选数据
322
- // }
323
- (_props$rowSelection3 = props.rowSelection) === null || _props$rowSelection3 === void 0 ? void 0 : (_props$rowSelection3$ = _props$rowSelection3.onChange) === null || _props$rowSelection3$ === void 0 ? void 0 : _props$rowSelection3$.call(_props$rowSelection3, [], []);
324
- (_props$rowSelection4 = props.rowSelection) === null || _props$rowSelection4 === void 0 ? void 0 : (_props$rowSelection4$ = _props$rowSelection4.onSelectNone) === null || _props$rowSelection4$ === void 0 ? void 0 : _props$rowSelection4$.call(_props$rowSelection4);
325
- },
326
- "closeText": _createVNode(Button, {
327
- "type": "link"
328
- }, {
329
- default: function _default() {
330
- return [_createTextVNode("\u53D6\u6D88\u9009\u62E9")];
331
- }
332
- })
333
- }, null)]) : null, _model.value === ModelEnum.CARD ? _createVNode("div", {
334
- "class": 'jtable-card',
335
- "style": props.scroll && props.scroll.y ? {
336
- maxHeight: props.scroll.y + 'px',
337
- overflow: 'auto'
338
- } : undefined
339
- }, [_dataSource.value.length ? _createVNode("div", {
340
- "class": 'jtable-card-items',
341
- "style": {
342
- gridTemplateColumns: "repeat(".concat(column.value, ", 1fr)")
343
- }
344
- }, [_dataSource.value.map(function (item) {
345
- return slots.card ? _createVNode("div", {
346
- "class": ['jtable-card-item', props.cardBodyClass]
347
- }, [slots.card(item)]) : null;
348
- })]) : _createVNode("div", {
349
- "class": "j-table-empty"
350
- }, [_createVNode(Empty, null, null)])]) : _createVNode("div", null, [_createVNode(Table, _objectSpread(_objectSpread({}, props), {}, {
351
- "dataSource": _dataSource.value,
352
- "columns": props.columns.filter(function (i) {
353
- return !(i !== null && i !== void 0 && i.hideInTable);
354
- }),
355
- "pagination": false,
356
- "rowSelection": props.rowSelection,
357
- "scroll": props.scroll
358
- }), {
359
- headerCell: function headerCell(dt) {
360
- var column = dt.column,
361
- title = dt.title;
362
- if (column !== null && column !== void 0 && column.headerCell) {
363
- return slots === null || slots === void 0 ? void 0 : slots[column === null || column === void 0 ? void 0 : column.headerCell](column.title);
364
- } else {
365
- return title || '';
366
- }
367
- },
368
- bodyCell: function bodyCell(dt) {
369
- var column = dt.column,
370
- record = dt.record;
371
- if ((column !== null && column !== void 0 && column.key || column !== null && column !== void 0 && column.dataIndex) && column !== null && column !== void 0 && column.scopedSlots && (slots !== null && slots !== void 0 && slots[column === null || column === void 0 ? void 0 : column.dataIndex] || slots !== null && slots !== void 0 && slots[column === null || column === void 0 ? void 0 : column.key])) {
372
- var _key = (column === null || column === void 0 ? void 0 : column.key) || (column === null || column === void 0 ? void 0 : column.dataIndex);
373
- return slots === null || slots === void 0 ? void 0 : slots[_key](record);
374
- } else {
375
- var _value = get(record, column === null || column === void 0 ? void 0 : column.dataIndex);
376
- // 获取数据
377
- return _value;
378
- }
379
- },
380
- emptyText: function emptyText() {
381
- return _createVNode(Empty, null, null);
301
+ return [_slot];
382
302
  }
383
- })])]), !!_dataSource.value.length && !props.noPagination && props.type === 'PAGE' && _createVNode("div", {
384
- "class": 'jtable-pagination'
385
- }, [slots !== null && slots !== void 0 && slots.paginationRender ? slots.paginationRender() : _createVNode(Pagination, _objectSpread(_objectSpread({}, props.pagination), {}, {
386
- "total": total.value,
387
- "current": pageIndex.value + 1,
388
- "pageSize": pageSize.value,
389
- "showTotal": function showTotal(num) {
390
- var minSize = pageIndex.value * pageSize.value + 1;
391
- var MaxSize = (pageIndex.value + 1) * pageSize.value;
392
- return "\u7B2C ".concat(minSize, " - ").concat(MaxSize > num ? num : MaxSize, " \u6761/\u603B\u5171 ").concat(num, " \u6761");
393
- },
394
- "onChange": function onChange(page, size) {
395
- handleSearch(_objectSpread(_objectSpread({}, props.params), {}, {
396
- pageSize: size,
397
- pageIndex: pageSize.value === size ? page ? page - 1 : 0 : 0
398
- }));
303
+ }), _createVNode(RadioButton, {
304
+ "value": ModelEnum.CARD
305
+ }, _isSlot(_slot2 = _createVNode(AIcon, {
306
+ "class": 'right-button-icon',
307
+ "type": "AppstoreOutlined"
308
+ }, null)) ? _slot2 : {
309
+ default: function _default() {
310
+ return [_slot2];
399
311
  }
400
- }), null)])])];
312
+ })];
313
+ }
314
+ })])])]), _createVNode("div", {
315
+ "class": 'jtable-content'
316
+ }, [props.alertRender && (props === null || props === void 0 ? void 0 : props.rowSelection) && (props === null || props === void 0 ? void 0 : (_props$rowSelection = props.rowSelection) === null || _props$rowSelection === void 0 ? void 0 : _props$rowSelection.selectedRowKeys) && ((_props$rowSelection$s = props.rowSelection.selectedRowKeys) === null || _props$rowSelection$s === void 0 ? void 0 : _props$rowSelection$s.length) ? _createVNode("div", {
317
+ "class": 'jtable-alert'
318
+ }, [_createVNode(Alert, {
319
+ "message": '已选择' + (props === null || props === void 0 ? void 0 : (_props$rowSelection2 = props.rowSelection) === null || _props$rowSelection2 === void 0 ? void 0 : (_props$rowSelection2$ = _props$rowSelection2.selectedRowKeys) === null || _props$rowSelection2$ === void 0 ? void 0 : _props$rowSelection2$.length) + '项',
320
+ "type": "info",
321
+ "onClose": function onClose() {
322
+ var _props$rowSelection3, _props$rowSelection3$, _props$rowSelection4, _props$rowSelection4$;
323
+ // if (props.rowSelection?.onSelectNone) {
324
+ // // 取消选择清空被选数据
325
+ // }
326
+ (_props$rowSelection3 = props.rowSelection) === null || _props$rowSelection3 === void 0 ? void 0 : (_props$rowSelection3$ = _props$rowSelection3.onChange) === null || _props$rowSelection3$ === void 0 ? void 0 : _props$rowSelection3$.call(_props$rowSelection3, [], []);
327
+ (_props$rowSelection4 = props.rowSelection) === null || _props$rowSelection4 === void 0 ? void 0 : (_props$rowSelection4$ = _props$rowSelection4.onSelectNone) === null || _props$rowSelection4$ === void 0 ? void 0 : _props$rowSelection4$.call(_props$rowSelection4);
328
+ },
329
+ "closeText": _createVNode(Button, {
330
+ "type": "link"
331
+ }, {
332
+ default: function _default() {
333
+ return [_createTextVNode("\u53D6\u6D88\u9009\u62E9")];
334
+ }
335
+ })
336
+ }, null)]) : null, _model.value === ModelEnum.CARD ? _createVNode("div", {
337
+ "class": 'jtable-card',
338
+ "style": props.scroll && props.scroll.y ? {
339
+ maxHeight: props.scroll.y + 'px',
340
+ overflow: 'auto'
341
+ } : undefined
342
+ }, [_dataSource.value.length ? _createVNode("div", {
343
+ "class": 'jtable-card-items',
344
+ "style": {
345
+ gridTemplateColumns: "repeat(".concat(column.value, ", 1fr)")
346
+ }
347
+ }, [_dataSource.value.map(function (item) {
348
+ return slots.card ? _createVNode("div", {
349
+ "class": ['jtable-card-item', props.cardBodyClass]
350
+ }, [slots.card(item)]) : null;
351
+ })]) : _createVNode("div", {
352
+ "class": "j-table-empty"
353
+ }, [_createVNode(Empty, null, null)])]) : _createVNode("div", null, [_createVNode(Table, _objectSpread(_objectSpread({}, props), {}, {
354
+ "dataSource": _dataSource.value,
355
+ "columns": props.columns.filter(function (i) {
356
+ return !(i === null || i === void 0 ? void 0 : i.hideInTable);
357
+ }),
358
+ "pagination": false,
359
+ "rowSelection": props.rowSelection,
360
+ "scroll": props.scroll
361
+ }), {
362
+ headerCell: function headerCell(dt) {
363
+ var column = dt.column,
364
+ title = dt.title;
365
+ if (column === null || column === void 0 ? void 0 : column.headerCell) {
366
+ return slots === null || slots === void 0 ? void 0 : slots[column === null || column === void 0 ? void 0 : column.headerCell](column.title);
367
+ } else {
368
+ return title || '';
369
+ }
370
+ },
371
+ bodyCell: function bodyCell(dt) {
372
+ var column = dt.column,
373
+ record = dt.record;
374
+ if (((column === null || column === void 0 ? void 0 : column.key) || (column === null || column === void 0 ? void 0 : column.dataIndex)) && (column === null || column === void 0 ? void 0 : column.scopedSlots) && ((slots === null || slots === void 0 ? void 0 : slots[column === null || column === void 0 ? void 0 : column.dataIndex]) || (slots === null || slots === void 0 ? void 0 : slots[column === null || column === void 0 ? void 0 : column.key]))) {
375
+ var _key = (column === null || column === void 0 ? void 0 : column.key) || (column === null || column === void 0 ? void 0 : column.dataIndex);
376
+ return slots === null || slots === void 0 ? void 0 : slots[_key](record);
377
+ } else {
378
+ var _value = get(record, column === null || column === void 0 ? void 0 : column.dataIndex);
379
+ // 获取数据
380
+ return _value;
381
+ }
382
+ },
383
+ emptyText: function emptyText() {
384
+ return _createVNode(Empty, null, null);
385
+ }
386
+ })])]), !!_dataSource.value.length && !props.noPagination && props.type === 'PAGE' && _createVNode("div", {
387
+ "class": 'jtable-pagination'
388
+ }, [(slots === null || slots === void 0 ? void 0 : slots.paginationRender) ? slots.paginationRender() : _createVNode(Pagination, _objectSpread(_objectSpread({}, props.pagination), {}, {
389
+ "total": total.value,
390
+ "current": pageIndex.value + 1,
391
+ "pageSize": pageSize.value,
392
+ "showTotal": function showTotal(num) {
393
+ var minSize = pageIndex.value * pageSize.value + 1;
394
+ var MaxSize = (pageIndex.value + 1) * pageSize.value;
395
+ return "\u7B2C ".concat(minSize, " - ").concat(MaxSize > num ? num : MaxSize, " \u6761/\u603B\u5171 ").concat(num, " \u6761");
396
+ },
397
+ "onChange": function onChange(page, size) {
398
+ handleSearch(_objectSpread(_objectSpread({}, props.params), {}, {
399
+ pageSize: size,
400
+ pageIndex: pageSize.value === size ? page ? page - 1 : 0 : 0
401
+ }));
402
+ }
403
+ }), null)])])) ? _slot3 : {
404
+ default: function _default() {
405
+ return [_slot3];
401
406
  }
402
407
  })]);
403
408
  };
@@ -57,7 +57,7 @@ import { useEventListener, useResizeObserver } from '@vueuse/core';
57
57
  import { isNumber, isObject } from '@jetlinks-web/utils';
58
58
  import Bar from './Bar.js';
59
59
  import { scrollbarContextKey } from './constants';
60
- import { scrollbarEmits, scrollbarProps, } from './scrollbar';
60
+ import { scrollbarEmits, scrollbarProps, } from './scrollbarProps';
61
61
  const COMPONENT_NAME = 'JScrollbar';
62
62
  const __sfc_main__ = _defineComponent({
63
63
  ...{
@@ -1,10 +1,189 @@
1
- export var thumbProps = {
2
- vertical: Boolean,
3
- size: String,
4
- move: Number,
5
- ratio: {
6
- type: Number,
7
- required: true
8
- },
9
- always: Boolean
10
- };
1
+ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) {
2
+ const op = ops[i];
3
+ const fn = ops[i + 1];
4
+ i += 2;
5
+ if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
6
+ return undefined;
7
+ }
8
+ if (op === 'access' || op === 'optionalAccess') {
9
+ lastAccessLHS = value;
10
+ value = fn(value);
11
+ }
12
+ else if (op === 'call' || op === 'optionalCall') {
13
+ value = fn((...args) => value.call(lastAccessLHS, ...args));
14
+ lastAccessLHS = undefined;
15
+ }
16
+ } return value; }
17
+ /* Analyzed bindings: {
18
+ "computed": "setup-const",
19
+ "inject": "setup-const",
20
+ "onBeforeUnmount": "setup-const",
21
+ "ref": "setup-const",
22
+ "toRef": "setup-const",
23
+ "useEventListener": "setup-maybe-ref",
24
+ "isClient": "setup-maybe-ref",
25
+ "scrollbarContextKey": "setup-maybe-ref",
26
+ "BAR_MAP": "setup-maybe-ref",
27
+ "renderThumbStyle": "setup-maybe-ref",
28
+ "thumbProps": "setup-maybe-ref",
29
+ "props": "setup-reactive-const",
30
+ "scrollbar": "setup-maybe-ref",
31
+ "instance": "setup-ref",
32
+ "thumb": "setup-ref",
33
+ "thumbState": "setup-ref",
34
+ "visible": "setup-ref",
35
+ "cursorDown": "setup-let",
36
+ "cursorLeave": "setup-let",
37
+ "originalOnSelectStart": "setup-let",
38
+ "bar": "setup-ref",
39
+ "thumbStyle": "setup-ref",
40
+ "offsetRatio": "setup-ref",
41
+ "clickThumbHandler": "setup-const",
42
+ "clickTrackHandler": "setup-const",
43
+ "startDrag": "setup-const",
44
+ "mouseMoveDocumentHandler": "setup-const",
45
+ "mouseUpDocumentHandler": "setup-const",
46
+ "mouseMoveScrollbarHandler": "setup-const",
47
+ "mouseLeaveScrollbarHandler": "setup-const",
48
+ "restoreOnselectstart": "setup-const"
49
+ } */
50
+ import { defineComponent as _defineComponent } from 'vue';
51
+ import { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, vShow as _vShow, normalizeClass as _normalizeClass, withDirectives as _withDirectives, Transition as _Transition, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from "vue";
52
+ import { computed, inject, onBeforeUnmount, ref, toRef } from 'vue';
53
+ import { useEventListener } from '@vueuse/core';
54
+ import { isClient } from '@jetlinks-web/utils';
55
+ import { scrollbarContextKey } from './constants';
56
+ import { BAR_MAP, renderThumbStyle } from './util';
57
+ import { thumbProps } from './thumbProps';
58
+ const __sfc_main__ = _defineComponent({
59
+ props: thumbProps,
60
+ setup(__props) {
61
+ const props = __props;
62
+ const scrollbar = inject(scrollbarContextKey);
63
+ if (!scrollbar)
64
+ throw new Error('can not inject scrollbar context');
65
+ const instance = ref();
66
+ const thumb = ref();
67
+ const thumbState = ref({});
68
+ const visible = ref(false);
69
+ let cursorDown = false;
70
+ let cursorLeave = false;
71
+ let originalOnSelectStart = isClient ? document.onselectstart : null;
72
+ const bar = computed(() => BAR_MAP[props.vertical ? 'vertical' : 'horizontal']);
73
+ const thumbStyle = computed(() => renderThumbStyle({
74
+ size: props.size,
75
+ move: props.move,
76
+ bar: bar.value,
77
+ }));
78
+ const offsetRatio = computed(() => instance.value[bar.value.offset] ** 2 /
79
+ scrollbar.wrapElement[bar.value.scrollSize] /
80
+ props.ratio /
81
+ Thumb.value[bar.value.offset]);
82
+ const clickThumbHandler = (e) => {
83
+ // prevent click event of middle and right button
84
+ e.stopPropagation();
85
+ if (e.ctrlKey || [1, 2].includes(e.button))
86
+ return;
87
+ _optionalChain([window, 'access', _2 => _2.getSelection, 'call', _3 => _3(), 'optionalAccess', _4 => _4.removeAllRanges, 'call', _5 => _5()]);
88
+ startDrag(e);
89
+ const el = e.currentTarget;
90
+ if (!el)
91
+ return;
92
+ thumbState.value[bar.value.axis] =
93
+ el[bar.value.offset] -
94
+ (e[bar.value.client] - el.getBoundingClientRect()[bar.value.direction]);
95
+ };
96
+ const clickTrackHandler = (e) => {
97
+ if (!Thumb.value || !instance.value || !scrollbar.wrapElement)
98
+ return;
99
+ const offset = Math.abs((e.target).getBoundingClientRect()[bar.value.direction] -
100
+ e[bar.value.client]);
101
+ const thumbHalf = Thumb.value[bar.value.offset] / 2;
102
+ const thumbPositionPercentage = ((offset - thumbHalf) * 100 * offsetRatio.value) /
103
+ instance.value[bar.value.offset];
104
+ scrollbar.wrapElement[bar.value.scroll] =
105
+ (thumbPositionPercentage * scrollbar.wrapElement[bar.value.scrollSize]) /
106
+ 100;
107
+ };
108
+ const startDrag = (e) => {
109
+ e.stopImmediatePropagation();
110
+ cursorDown = true;
111
+ document.addEventListener('mousemove', mouseMoveDocumentHandler);
112
+ document.addEventListener('mouseup', mouseUpDocumentHandler);
113
+ originalOnSelectStart = document.onselectstart;
114
+ document.onselectstart = () => false;
115
+ };
116
+ const mouseMoveDocumentHandler = (e) => {
117
+ if (!instance.value || !Thumb.value)
118
+ return;
119
+ if (cursorDown === false)
120
+ return;
121
+ const prevPage = thumbState.value[bar.value.axis];
122
+ if (!prevPage)
123
+ return;
124
+ const offset = (instance.value.getBoundingClientRect()[bar.value.direction] -
125
+ e[bar.value.client]) *
126
+ -1;
127
+ const thumbClickPosition = Thumb.value[bar.value.offset] - prevPage;
128
+ const thumbPositionPercentage = ((offset - thumbClickPosition) * 100 * offsetRatio.value) /
129
+ instance.value[bar.value.offset];
130
+ scrollbar.wrapElement[bar.value.scroll] =
131
+ (thumbPositionPercentage * scrollbar.wrapElement[bar.value.scrollSize]) /
132
+ 100;
133
+ };
134
+ const mouseUpDocumentHandler = () => {
135
+ cursorDown = false;
136
+ thumbState.value[bar.value.axis] = 0;
137
+ document.removeEventListener('mousemove', mouseMoveDocumentHandler);
138
+ document.removeEventListener('mouseup', mouseUpDocumentHandler);
139
+ restoreOnselectstart();
140
+ if (cursorLeave)
141
+ visible.value = false;
142
+ };
143
+ const mouseMoveScrollbarHandler = () => {
144
+ cursorLeave = false;
145
+ visible.value = !!props.size;
146
+ };
147
+ const mouseLeaveScrollbarHandler = () => {
148
+ cursorLeave = true;
149
+ visible.value = cursorDown;
150
+ };
151
+ onBeforeUnmount(() => {
152
+ restoreOnselectstart();
153
+ document.removeEventListener('mouseup', mouseUpDocumentHandler);
154
+ });
155
+ const restoreOnselectstart = () => {
156
+ if (document.onselectstart !== originalOnSelectStart)
157
+ document.onselectstart = originalOnSelectStart;
158
+ };
159
+ useEventListener(toRef(scrollbar, 'scrollbarElement'), 'mousemove', mouseMoveScrollbarHandler);
160
+ useEventListener(toRef(scrollbar, 'scrollbarElement'), 'mouseleave', mouseLeaveScrollbarHandler);
161
+ return (_ctx, _cache) => {
162
+ return (_openBlock(), _createBlock(_Transition, {
163
+ name: "j-scrollbar-fade",
164
+ persisted: ""
165
+ }, {
166
+ default: _withCtx(() => [
167
+ _withDirectives(_createElementVNode("div", {
168
+ ref_key: "instance",
169
+ ref: instance,
170
+ class: _normalizeClass(['j-scrollbar__bar', props.vertical ? 'is-vertical' : 'is-horizontal']),
171
+ onMousedown: clickTrackHandler
172
+ }, [
173
+ _createElementVNode("div", {
174
+ ref_key: "thumb",
175
+ ref: thumb,
176
+ class: "j-scrollbar__thumb",
177
+ style: _normalizeStyle(thumbStyle.value),
178
+ onMousedown: clickThumbHandler
179
+ }, null, 36 /* STYLE, NEED_HYDRATION */)
180
+ ], 34 /* CLASS, NEED_HYDRATION */), [
181
+ [_vShow, _ctx.always || visible.value]
182
+ ])
183
+ ]),
184
+ _: 1 /* STABLE */
185
+ }));
186
+ };
187
+ }
188
+ });
189
+ export default __sfc_main__;
@@ -0,0 +1,10 @@
1
+ export var thumbProps = {
2
+ vertical: Boolean,
3
+ size: String,
4
+ move: Number,
5
+ ratio: {
6
+ type: Number,
7
+ required: true
8
+ },
9
+ always: Boolean
10
+ };
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1712541387577"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1712544824102"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
package/es/Search/Item.js CHANGED
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1712541387135"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1712544823429"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1712541387271"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1712544823603"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
package/es/style.js ADDED
@@ -0,0 +1,16 @@
1
+ import './AMap/style';
2
+ import './BadgeStatus/style';
3
+ import './CardSelect/style';
4
+ import './CheckButton/style';
5
+ import './Echarts/style';
6
+ import './Ellipsis/style';
7
+ import './Empty/style';
8
+ import './FullPage/style';
9
+ import './Icon/style';
10
+ import './MonacoEditor/style';
11
+ import './PermissionButton/style';
12
+ import './ProLayout/style';
13
+ import './ProTable/style';
14
+ import './Scrollbar/style';
15
+ import './Search/style';
16
+ import './ValueItem/style';
@@ -20,7 +20,7 @@
20
20
  } */
21
21
  import { defineComponent as _defineComponent } from 'vue';
22
22
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
23
- const _withScopeId = n => (_pushScopeId("data-v-1712541385831"), n = n(), _popScopeId(), n);
23
+ const _withScopeId = n => (_pushScopeId("data-v-1712544821936"), n = n(), _popScopeId(), n);
24
24
  const _hoisted_1 = ["onClick"];
25
25
  import { computed, ref, watch } from 'vue';
26
26
  import { isArray } from '@jetlinks-web/utils';
@@ -6,7 +6,7 @@
6
6
  } */
7
7
  import { defineComponent as _defineComponent } from 'vue';
8
8
  import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
9
- const _withScopeId = n => (_pushScopeId("data-v-1712541386147"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1712544822999"), n = n(), _popScopeId(), n);
10
10
  const _hoisted_1 = { class: "full-page-warp-content" };
11
11
  import { ref } from 'vue';
12
12
  import { useElementBounding } from '@vueuse/core';