@jetlinks-web/components 2.6.12 → 3.0.1-rc

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 (68) hide show
  1. package/es/EditTable/components/Search/sort.js +1 -1
  2. package/es/FullPage/FullPage.js +1 -1
  3. package/es/ProTable/ProTable.js +8 -4
  4. package/es/Search/Advanced/SaveHistory.js +1 -1
  5. package/es/Search/Item.js +1 -1
  6. package/es/Skeleton/components/DashBoardCard.js +57 -0
  7. package/es/Skeleton/components/DashBoardChart.js +93 -0
  8. package/es/Skeleton/components/Detail.js +104 -0
  9. package/es/Skeleton/components/Drawer.js +82 -0
  10. package/es/Skeleton/components/Item.js +60 -0
  11. package/es/Skeleton/components/List.js +46 -0
  12. package/es/Skeleton/components/ListCard.js +56 -0
  13. package/es/Skeleton/components/ListCardItem.js +87 -0
  14. package/es/Skeleton/components/ListTable.js +67 -0
  15. package/es/Skeleton/components/Page.js +63 -0
  16. package/es/Skeleton/components/Search.js +54 -0
  17. package/es/Skeleton/components/Tree.js +65 -0
  18. package/es/Skeleton/index.js +15 -0
  19. package/es/Skeleton/skeleton.js +49 -0
  20. package/es/Skeleton/style/Skeleton.less +166 -0
  21. package/es/Skeleton/style/index.js +1 -0
  22. package/es/Title/style/index.css +4 -0
  23. package/es/Title/style/index.less +3 -1
  24. package/es/ValueItem/ValueItem.js +9 -57
  25. package/es/components.js +2 -2
  26. package/es/style/index.css +141 -4
  27. package/es/style/index.less +1 -1
  28. package/es/style.js +2 -2
  29. package/lib/EditTable/components/Search/sort.js +1 -1
  30. package/lib/FullPage/FullPage.js +1 -1
  31. package/lib/ProTable/ProTable.js +8 -4
  32. package/lib/Search/Advanced/SaveHistory.js +1 -1
  33. package/lib/Search/Item.js +1 -1
  34. package/lib/Skeleton/components/DashBoardCard.js +57 -0
  35. package/lib/Skeleton/components/DashBoardChart.js +93 -0
  36. package/lib/Skeleton/components/Detail.js +104 -0
  37. package/lib/Skeleton/components/Drawer.js +82 -0
  38. package/lib/Skeleton/components/Item.js +60 -0
  39. package/lib/Skeleton/components/List.js +46 -0
  40. package/lib/Skeleton/components/ListCard.js +56 -0
  41. package/lib/Skeleton/components/ListCardItem.js +87 -0
  42. package/lib/Skeleton/components/ListTable.js +67 -0
  43. package/lib/Skeleton/components/Page.js +63 -0
  44. package/lib/Skeleton/components/Search.js +54 -0
  45. package/lib/Skeleton/components/Tree.js +65 -0
  46. package/lib/Skeleton/index.js +75 -0
  47. package/lib/Skeleton/skeleton.js +49 -0
  48. package/lib/Skeleton/style/Skeleton.less +166 -0
  49. package/lib/Skeleton/style/index.js +3 -0
  50. package/lib/Title/style/index.css +4 -0
  51. package/lib/Title/style/index.less +3 -1
  52. package/lib/ValueItem/ValueItem.js +9 -57
  53. package/lib/components.js +7 -7
  54. package/lib/style/components.less +0 -1
  55. package/lib/style/index.css +141 -4
  56. package/lib/style/index.less +1 -1
  57. package/lib/style.js +2 -2
  58. package/package.json +173 -173
  59. package/es/MonacoEditor/Monaco.js +0 -242
  60. package/es/MonacoEditor/index.js +0 -5
  61. package/es/MonacoEditor/style/index.css +0 -4
  62. package/es/MonacoEditor/style/index.js +0 -1
  63. package/es/MonacoEditor/style/index.less +0 -4
  64. package/lib/MonacoEditor/Monaco.js +0 -242
  65. package/lib/MonacoEditor/index.js +0 -12
  66. package/lib/MonacoEditor/style/index.css +0 -4
  67. package/lib/MonacoEditor/style/index.js +0 -3
  68. package/lib/MonacoEditor/style/index.less +0 -4
@@ -34,7 +34,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
34
34
  "watch": "setup-const",
35
35
  "computed": "setup-const",
36
36
  "componentsType": "setup-maybe-ref",
37
- "MonacoEditor": "setup-maybe-ref",
38
37
  "Select": "setup-maybe-ref",
39
38
  "DatePicker": "setup-maybe-ref",
40
39
  "TimePicker": "setup-maybe-ref",
@@ -42,27 +41,21 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
42
41
  "InputNumber": "setup-maybe-ref",
43
42
  "InputPassword": "setup-maybe-ref",
44
43
  "Upload": "setup-maybe-ref",
45
- "Modal": "setup-maybe-ref",
46
44
  "omit": "setup-maybe-ref",
47
45
  "emit": "setup-const",
48
46
  "props": "setup-reactive-const",
49
47
  "typeMap": "setup-maybe-ref",
50
48
  "myValue": "setup-ref",
51
- "modalVisible": "setup-ref",
52
49
  "objectValue": "setup-ref",
53
50
  "bindProps": "setup-ref",
54
- "handleItemModalSubmit": "setup-const",
55
- "onChange": "setup-const",
56
- "monacoCancel": "setup-const"
51
+ "onChange": "setup-const"
57
52
  } */
58
53
  import { defineComponent as _defineComponent } from 'vue';
59
- import { unref as _unref, mergeProps as _mergeProps, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock } from "vue";
54
+ import { unref as _unref, mergeProps as _mergeProps, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementBlock as _createElementBlock } from "vue";
60
55
  const _hoisted_1 = { class: "value-item-warp" };
61
- const _hoisted_2 = { style: { "width": "100%", "height": "300px" } };
62
56
  import { ref, watch, computed } from 'vue';
63
57
  import { componentsType } from './util';
64
- import { MonacoEditor } from '../index';
65
- import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
58
+ import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, } from 'ant-design-vue';
66
59
  import { omit } from "lodash-es";
67
60
  const __sfc_main__ = _defineComponent({
68
61
  ...{
@@ -106,25 +99,14 @@ const __sfc_main__ = _defineComponent({
106
99
  const props = __props;
107
100
  const typeMap = new Map(Object.entries(componentsType));
108
101
  const myValue = ref(undefined);
109
- const modalVisible = ref(false);
110
102
  const objectValue = ref('');
111
103
  const bindProps = computed(() => {
112
104
  return Object.assign(omit(props, ['extraProps']), props.extraProps);
113
105
  });
114
- const handleItemModalSubmit = () => {
115
- myValue.value = objectValue.value.replace(/[\r\n]\s*/g, '');
116
- modalVisible.value = false;
117
- emit('update:modelValue', objectValue.value);
118
- emit('change', objectValue.value);
119
- };
120
106
  const onChange = (e) => {
121
107
  emit('update:modelValue', myValue.value);
122
108
  emit('change', e && e.target ? e.target.value : e);
123
109
  };
124
- const monacoCancel = () => {
125
- modalVisible.value = false;
126
- objectValue.value = props.modelValue;
127
- };
128
110
  const handleFileChange = async (info) => {
129
111
  if (info.file.status === 'done') {
130
112
  let url = _optionalChain([info, 'access', _2 => _2.file, 'access', _3 => _3.response, 'optionalAccess', _4 => _4.result, 'optionalAccess', _5 => _5.accessUrl]);
@@ -204,22 +186,14 @@ const __sfc_main__ = _defineComponent({
204
186
  ? (_openBlock(), _createBlock(_unref(Input), _mergeProps({
205
187
  key: 6,
206
188
  value: myValue.value,
207
- "onUpdate:value": _cache[8] || (_cache[8] = ($event) => ((myValue).value = $event)),
189
+ "onUpdate:value": _cache[7] || (_cache[7] = ($event) => ((myValue).value = $event)),
208
190
  allowClear: ""
209
- }, bindProps.value, { onChange: onChange }), {
210
- addonAfter: _withCtx(() => [
211
- _createVNode(_component_AIcon, {
212
- type: "FormOutlined",
213
- onClick: _cache[7] || (_cache[7] = ($event) => (modalVisible.value = true))
214
- })
215
- ]),
216
- _: 1 /* STABLE */
217
- }, 16 /* FULL_PROPS */, ["value"]))
191
+ }, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
218
192
  : (_unref(typeMap).get(__props.itemType) === 'file')
219
193
  ? (_openBlock(), _createBlock(_unref(Input), _mergeProps({
220
194
  key: 7,
221
195
  value: myValue.value,
222
- "onUpdate:value": _cache[9] || (_cache[9] = ($event) => ((myValue).value = $event)),
196
+ "onUpdate:value": _cache[8] || (_cache[8] = ($event) => ((myValue).value = $event)),
223
197
  allowClear: "",
224
198
  placeholder: "请输入链接"
225
199
  }, bindProps.value, { onChange: onChange }), {
@@ -243,39 +217,17 @@ const __sfc_main__ = _defineComponent({
243
217
  ? (_openBlock(), _createBlock(_unref(InputPassword), _mergeProps({
244
218
  key: 8,
245
219
  value: myValue.value,
246
- "onUpdate:value": _cache[10] || (_cache[10] = ($event) => ((myValue).value = $event)),
220
+ "onUpdate:value": _cache[9] || (_cache[9] = ($event) => ((myValue).value = $event)),
247
221
  allowClear: "",
248
222
  type: "password"
249
223
  }, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
250
224
  : (_openBlock(), _createBlock(_unref(Input), _mergeProps({
251
225
  key: 9,
252
226
  value: myValue.value,
253
- "onUpdate:value": _cache[11] || (_cache[11] = ($event) => ((myValue).value = $event)),
227
+ "onUpdate:value": _cache[10] || (_cache[10] = ($event) => ((myValue).value = $event)),
254
228
  allowClear: "",
255
229
  type: "text"
256
- }, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"])),
257
- _createCommentVNode(" 代码编辑器弹窗 "),
258
- _createVNode(_unref(Modal), {
259
- visible: modalVisible.value,
260
- "onUpdate:visible": _cache[13] || (_cache[13] = ($event) => ((modalVisible).value = $event)),
261
- zIndex: 1100,
262
- "cancel-text": "取消",
263
- "ok-text": "确认",
264
- title: "编辑",
265
- width: "700px",
266
- onCancel: monacoCancel,
267
- onOk: handleItemModalSubmit
268
- }, {
269
- default: _withCtx(() => [
270
- _createElementVNode("div", _hoisted_2, [
271
- _createVNode(_unref(MonacoEditor), {
272
- modelValue: objectValue.value,
273
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => ((objectValue).value = $event))
274
- }, null, 8 /* PROPS */, ["modelValue"])
275
- ])
276
- ]),
277
- _: 1 /* STABLE */
278
- }, 8 /* PROPS */, ["visible"])
230
+ }, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
279
231
  ]));
280
232
  };
281
233
  }
package/es/components.js CHANGED
@@ -8,7 +8,6 @@ export { default as Ellipsis } from './Ellipsis';
8
8
  export { default as Empty } from './Empty';
9
9
  export { default as FullPage } from './FullPage';
10
10
  export { default as AIcon } from './Icon';
11
- export { default as MonacoEditor } from './MonacoEditor';
12
11
  export { default as PermissionButton } from './PermissionButton';
13
12
  export { default as ProLayout, PageContainer } from './ProLayout';
14
13
  export { default as ProTable } from './ProTable';
@@ -21,4 +20,5 @@ export { default as EditTable } from './EditTable';
21
20
  export { default as Markdown } from './Markdown';
22
21
  export { default as AutoComplete } from './AutoComplete';
23
22
  export { default as Title } from './Title';
24
- export { default as FlameGraph } from './FlameGraph';
23
+ export { default as FlameGraph } from './FlameGraph';
24
+ export { default as Skeleton } from './Skeleton';
@@ -5089,10 +5089,6 @@ span.ant-radio + * {
5089
5089
  height: 100%;
5090
5090
  overflow-x: hidden;
5091
5091
  }
5092
- .j-monaco-editor {
5093
- min-height: 50px;
5094
- height: 100%;
5095
- }
5096
5092
  .j-scrollbar {
5097
5093
  overflow: hidden;
5098
5094
  position: relative;
@@ -5236,3 +5232,144 @@ span.ant-radio + * {
5236
5232
  left: 0;
5237
5233
  width: 200px;
5238
5234
  }
5235
+ .j-skeleton-flex {
5236
+ display: flex;
5237
+ gap: 24px;
5238
+ margin-bottom: 16px;
5239
+ }
5240
+ .j-skeleton-flex-between {
5241
+ display: flex;
5242
+ gap: 24px;
5243
+ margin-bottom: 16px;
5244
+ justify-content: space-between;
5245
+ align-items: center;
5246
+ }
5247
+ .j-skeleton-flex-column {
5248
+ display: flex;
5249
+ gap: 24px;
5250
+ margin-bottom: 16px;
5251
+ justify-content: space-between;
5252
+ }
5253
+ .j-skeleton {
5254
+ height: 100%;
5255
+ }
5256
+ .j-skeleton-item {
5257
+ background: linear-gradient(90deg, #f0f2f5 25%, #e6e8eb 50%, #f0f2f5 75%);
5258
+ background-size: 400% 100%;
5259
+ border-radius: 8px;
5260
+ height: 24px;
5261
+ }
5262
+ .j-skeleton-item-active {
5263
+ animation: wave 1.8s ease-in-out infinite;
5264
+ }
5265
+ .j-skeleton-item-lg {
5266
+ height: 36px;
5267
+ }
5268
+ .j-skeleton-item-sm {
5269
+ height: 16px;
5270
+ }
5271
+ @keyframes wave {
5272
+ 0% {
5273
+ background-position: 200% 0;
5274
+ }
5275
+ 100% {
5276
+ background-position: -200% 0;
5277
+ }
5278
+ }
5279
+ .j-skeleton-dashboard-card {
5280
+ display: flex;
5281
+ gap: 24px;
5282
+ margin-bottom: 16px;
5283
+ border: 4px solid #f0f2f5;
5284
+ border-radius: 8px;
5285
+ height: 100%;
5286
+ padding: 24px;
5287
+ flex-direction: column;
5288
+ }
5289
+ .j-skeleton-tabs {
5290
+ display: flex;
5291
+ gap: 16px;
5292
+ margin: 60px 0 20px 0;
5293
+ border-bottom: 4px solid #f0f2f5;
5294
+ padding: 16px 0;
5295
+ }
5296
+ .j-skeleton-desc {
5297
+ display: flex;
5298
+ flex-direction: column;
5299
+ margin-bottom: 24px;
5300
+ }
5301
+ .j-skeleton-desc-content {
5302
+ display: grid;
5303
+ grid-template-columns: repeat(3, 1fr);
5304
+ gap: 36px;
5305
+ margin-top: 24px;
5306
+ }
5307
+ .j-skeleton-desc-item {
5308
+ display: flex;
5309
+ gap: 16px;
5310
+ }
5311
+ .j-skeleton-box {
5312
+ border-bottom: 4px solid #f0f2f5;
5313
+ padding: 16px 0;
5314
+ }
5315
+ .j-skeleton-table-cell {
5316
+ display: grid;
5317
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) 200px;
5318
+ gap: 24px;
5319
+ padding: 12px 6px;
5320
+ border-radius: 8px;
5321
+ }
5322
+ .j-skeleton-table-header {
5323
+ background-color: lightgrey;
5324
+ }
5325
+ .j-skeleton-table-action {
5326
+ width: 200px;
5327
+ display: grid;
5328
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
5329
+ gap: 24px;
5330
+ }
5331
+ .j-skeleton-cards {
5332
+ display: grid;
5333
+ grid-template-columns: repeat(3, 1fr);
5334
+ gap: 16px;
5335
+ }
5336
+ .j-skeleton-card .j-skeleton-card-content {
5337
+ display: flex;
5338
+ gap: 16px;
5339
+ border: 2px solid #f0f2f5;
5340
+ border-radius: 8px;
5341
+ padding: 24px;
5342
+ margin-bottom: 16px;
5343
+ }
5344
+ .j-skeleton-card .j-skeleton-card-content .j-skeleton-image {
5345
+ width: 100px;
5346
+ height: 100px;
5347
+ }
5348
+ .j-skeleton-card .j-skeleton-card-content .j-skeleton-right {
5349
+ flex: 1;
5350
+ min-width: 200px;
5351
+ }
5352
+ .j-skeleton-card .j-skeleton-card-content .j-skeleton-right .j-skeleton-right-content {
5353
+ display: flex;
5354
+ gap: 16px;
5355
+ margin-top: 16px;
5356
+ }
5357
+ .j-skeleton-card .j-skeleton-card-content .j-skeleton-right .j-skeleton-right-content .j-skeleton-right-content-item {
5358
+ flex: 1;
5359
+ min-width: 100px;
5360
+ display: flex;
5361
+ flex-direction: column;
5362
+ gap: 16px;
5363
+ }
5364
+ .j-skeleton-card .j-skeleton-action {
5365
+ display: flex;
5366
+ justify-content: flex-end;
5367
+ gap: 16px;
5368
+ }
5369
+ .j-skeleton-card .j-skeleton-action .btn {
5370
+ flex: 1;
5371
+ min-width: 100px;
5372
+ }
5373
+ .j-skeleton-card .j-skeleton-action .delete {
5374
+ flex: 0 0 100px;
5375
+ }
@@ -7,8 +7,8 @@
7
7
  @import '../CardSelect/style/index.less';
8
8
  @import '../DragModal/style/index.less';
9
9
  @import "../EditTable/style/index.less";
10
- @import "../MonacoEditor/style/index.less";
11
10
  @import '../Scrollbar/style/index.less';
12
11
  @import '../Title/style/index.less';
13
12
  @import '../RadioButton/style/index.less';
14
13
  @import '../FlameGraph/style/index.less';
14
+ @import '../Skeleton/style/Skeleton.less';
package/es/style.js CHANGED
@@ -6,8 +6,8 @@ import './Search/style';
6
6
  import './CardSelect/style';
7
7
  import './DragModal/style';
8
8
  import './EditTable/style';
9
- import './MonacoEditor/style';
10
9
  import './Scrollbar/style';
11
10
  import './Title/style';
12
11
  import './RadioButton/style';
13
- import './FlameGraph/style';
12
+ import './FlameGraph/style';
13
+ import './Skeketon/style';
@@ -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-1744797585382"), n = n(), _popScopeId(), n);
45
+ const _withScopeId = n => (_pushScopeId("data-v-1747107046068"), 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" };
@@ -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-1744797583803"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1747107044026"), 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';
@@ -22,7 +22,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
22
22
  } return value; }
23
23
  /* Analyzed bindings: {
24
24
  "proTableProps": "setup-maybe-ref",
25
- "Spin": "setup-maybe-ref",
26
25
  "Header": "setup-const",
27
26
  "Alert": "setup-const",
28
27
  "Content": "setup-const",
@@ -37,6 +36,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
37
36
  "inject": "setup-const",
38
37
  "debounce": "setup-maybe-ref",
39
38
  "TableConfig": "setup-maybe-ref",
39
+ "JSkeletonList": "setup-maybe-ref",
40
40
  "tableConfig": "setup-maybe-ref",
41
41
  "props": "setup-reactive-const",
42
42
  "slots": "setup-maybe-ref",
@@ -63,7 +63,6 @@ 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';
67
66
  import Header from './Header.js';
68
67
  import Alert from './Alert.js';
69
68
  import Content from './Content.js';
@@ -71,6 +70,7 @@ import Pagination from './Pagination.js';
71
70
  import { useSlots, watch, onMounted, onUnmounted, computed, ref, reactive, inject } from "vue";
72
71
  import { debounce } from 'lodash-es';
73
72
  import { TableConfig } from "../utils/constants";
73
+ import { JSkeletonList } from "../Skeleton";
74
74
  const __sfc_main__ = _defineComponent({
75
75
  ...{
76
76
  name: 'JProTable'
@@ -260,7 +260,11 @@ const __sfc_main__ = _defineComponent({
260
260
  style: _normalizeStyle(_ctx.bodyStyle),
261
261
  id: "jtable-body-spin"
262
262
  }, [
263
- _createVNode(_unref(Spin), { spinning: loading.value }, {
263
+ _createVNode(_unref(JSkeletonList), {
264
+ loading: loading.value,
265
+ active: true,
266
+ mode: _mode.value
267
+ }, {
264
268
  default: _withCtx(() => [
265
269
  _createElementVNode("div", _hoisted_1, [
266
270
  _createVNode(Header, {
@@ -331,7 +335,7 @@ const __sfc_main__ = _defineComponent({
331
335
  ])
332
336
  ]),
333
337
  _: 3 /* FORWARDED */
334
- }, 8 /* PROPS */, ["spinning"])
338
+ }, 8 /* PROPS */, ["loading", "mode"])
335
339
  ], 4 /* STYLE */));
336
340
  };
337
341
  }
@@ -23,7 +23,7 @@
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-1744797585115"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1747107045920"), n = n(), _popScopeId(), n);
27
27
  const _hoisted_1 = {
28
28
  key: 0,
29
29
  style: { "width": "240px" }
@@ -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-1744797584354"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1747107044842"), n = n(), _popScopeId(), n);
84
84
  const _hoisted_1 = { class: "JSearch-item" };
85
85
  const _hoisted_2 = {
86
86
  key: 0,
@@ -0,0 +1,57 @@
1
+ /* Analyzed bindings: {
2
+ "active": "props",
3
+ "loading": "props",
4
+ "Item": "setup-const",
5
+ "defineOptions": "setup-const",
6
+ "props": "setup-reactive-const"
7
+ } */
8
+ import { renderSlot as _renderSlot, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
9
+ const _hoisted_1 = {
10
+ key: 1,
11
+ class: "j-skeleton"
12
+ };
13
+ const _hoisted_2 = { class: "j-skeleton-dashboard-card" };
14
+ const _hoisted_3 = { style: { "min-height": "0", "flex": "1" } };
15
+ import Item from './Item.js';
16
+ const __sfc_main__ = Object.assign({
17
+ name: 'JSkeletonDashboardCard'
18
+ }, {
19
+ props: {
20
+ active: {
21
+ type: Boolean,
22
+ default: true,
23
+ },
24
+ loading: {
25
+ type: Boolean,
26
+ default: true,
27
+ }
28
+ },
29
+ setup(__props) {
30
+ const props = __props;
31
+ return (_ctx, _cache) => {
32
+ return (!__props.loading)
33
+ ? _renderSlot(_ctx.$slots, "default", { key: 0 })
34
+ : (_openBlock(), _createElementBlock("div", _hoisted_1, [
35
+ _createElementVNode("div", _hoisted_2, [
36
+ _createVNode(Item, {
37
+ active: __props.active,
38
+ width: "50%"
39
+ }, null, 8 /* PROPS */, ["active"]),
40
+ _createElementVNode("div", _hoisted_3, [
41
+ _createVNode(Item, {
42
+ active: __props.active,
43
+ size: "large",
44
+ width: "120px"
45
+ }, null, 8 /* PROPS */, ["active"])
46
+ ]),
47
+ _createVNode(Item, {
48
+ active: __props.active,
49
+ size: "small",
50
+ width: "100%"
51
+ }, null, 8 /* PROPS */, ["active"])
52
+ ])
53
+ ]));
54
+ };
55
+ }
56
+ });
57
+ export default __sfc_main__;
@@ -0,0 +1,93 @@
1
+ /* Analyzed bindings: {
2
+ "active": "props",
3
+ "loading": "props",
4
+ "Item": "setup-const",
5
+ "defineOptions": "setup-const",
6
+ "props": "setup-reactive-const"
7
+ } */
8
+ import { renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
9
+ const _hoisted_1 = {
10
+ key: 1,
11
+ class: "j-skeleton"
12
+ };
13
+ const _hoisted_2 = { class: "j-skeleton-dashboard-card" };
14
+ const _hoisted_3 = { class: "j-skeleton-flex-between" };
15
+ const _hoisted_4 = { style: { "width": "100%", "height": "200px" } };
16
+ const _hoisted_5 = {
17
+ viewBox: "0 0 800 200",
18
+ preserveAspectRatio: "none",
19
+ style: { "width": "100%", "height": "100%", "display": "block" }
20
+ };
21
+ const _hoisted_6 = /*#__PURE__*/ _createElementVNode("path", {
22
+ d: "M0 150 L800 150",
23
+ stroke: "#f0f2f5",
24
+ "stroke-width": "4",
25
+ "stroke-opacity": "0.8"
26
+ }, null, -1 /* HOISTED */);
27
+ const _hoisted_7 = /*#__PURE__*/ _createElementVNode("path", {
28
+ d: "M0 150 L0 50",
29
+ stroke: "#f0f2f5",
30
+ "stroke-width": "4",
31
+ "stroke-opacity": "0.8"
32
+ }, null, -1 /* HOISTED */);
33
+ const _hoisted_8 = /*#__PURE__*/ _createElementVNode("path", {
34
+ d: "M0 100 C200 30, 600 170, 800 100",
35
+ stroke: "#f0f2f5",
36
+ fill: "none",
37
+ "stroke-width": "4"
38
+ }, null, -1 /* HOISTED */);
39
+ const _hoisted_9 = /*#__PURE__*/ _createElementVNode("path", {
40
+ d: "M0 120 C200 60, 600 140, 800 80",
41
+ stroke: "#f0f2f5",
42
+ fill: "none",
43
+ "stroke-width": "4"
44
+ }, null, -1 /* HOISTED */);
45
+ import Item from './Item.js';
46
+ const __sfc_main__ = Object.assign({
47
+ name: 'JSkeletonDashboardChart'
48
+ }, {
49
+ props: {
50
+ active: {
51
+ type: Boolean,
52
+ default: true,
53
+ },
54
+ loading: {
55
+ type: Boolean,
56
+ default: true,
57
+ }
58
+ },
59
+ setup(__props) {
60
+ const props = __props;
61
+ return (_ctx, _cache) => {
62
+ return (!__props.loading)
63
+ ? _renderSlot(_ctx.$slots, "default", { key: 0 })
64
+ : (_openBlock(), _createElementBlock("div", _hoisted_1, [
65
+ _createElementVNode("div", _hoisted_2, [
66
+ _createElementVNode("div", _hoisted_3, [
67
+ _createVNode(Item, {
68
+ active: __props.active,
69
+ width: "200px"
70
+ }, null, 8 /* PROPS */, ["active"]),
71
+ _createVNode(Item, {
72
+ active: __props.active,
73
+ width: "150px"
74
+ }, null, 8 /* PROPS */, ["active"])
75
+ ]),
76
+ _createElementVNode("div", _hoisted_4, [
77
+ (_openBlock(), _createElementBlock("svg", _hoisted_5, [
78
+ _createCommentVNode(" 坐标轴(4px宽度,#f0f2f5颜色) "),
79
+ _hoisted_6,
80
+ _createCommentVNode(" X轴 "),
81
+ _hoisted_7,
82
+ _createCommentVNode(" Y轴 "),
83
+ _createCommentVNode(" 两条曲线 "),
84
+ _hoisted_8,
85
+ _hoisted_9
86
+ ]))
87
+ ])
88
+ ])
89
+ ]));
90
+ };
91
+ }
92
+ });
93
+ export default __sfc_main__;