@jetlinks-web/components 2.0.4 → 2.0.5

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 (90) hide show
  1. package/es/AMap/Map.js +3 -0
  2. package/es/AMap/index.js +3 -0
  3. package/es/BadgeStatus/Badge.js +3 -0
  4. package/es/BadgeStatus/index.js +3 -0
  5. package/es/CardSelect/CardSelect.js +4 -2
  6. package/es/CardSelect/index.js +3 -0
  7. package/es/CheckButton/CheckButton.js +4 -2
  8. package/es/CheckButton/index.js +3 -0
  9. package/es/CheckButton/style/index.css +37 -0
  10. package/es/CheckButton/style/index.less +40 -0
  11. package/es/ConfigProvider/index.js +3 -0
  12. package/es/Echarts/Echarts.js +3 -0
  13. package/es/Echarts/index.js +3 -0
  14. package/es/Ellipsis/Ellipsis.js +23 -15
  15. package/es/Ellipsis/index.js +3 -0
  16. package/es/Ellipsis/style/index.css +17 -0
  17. package/es/Ellipsis/style/index.less +20 -0
  18. package/es/Empty/Empty.js +3 -0
  19. package/es/Empty/index.js +3 -0
  20. package/es/FullPage/FullPage.js +4 -1
  21. package/es/FullPage/index.js +3 -0
  22. package/es/Icon/index.js +3 -0
  23. package/es/MonacoEditor/Monaco.js +4 -2
  24. package/es/MonacoEditor/index.js +3 -0
  25. package/es/PermissionButton/index.js +4 -1
  26. package/es/ProLayout/PageContainer/index.js +2 -1
  27. package/es/ProLayout/SiderMenu/BaseMenu.js +2 -3
  28. package/es/ProLayout/index.js +3 -0
  29. package/es/ProLayout/style/default.less +4 -4
  30. package/es/ProTable/index.js +4 -1
  31. package/es/Scrollbar/index.js +3 -0
  32. package/es/Search/Advanced/SaveHistory.js +1 -1
  33. package/es/Search/Advanced/index.js +3 -0
  34. package/es/Search/Item.js +1 -1
  35. package/es/Search/Search.js +4 -1
  36. package/es/Search/index.js +3 -0
  37. package/es/ValueItem/ValueItem.js +3 -0
  38. package/es/ValueItem/index.js +3 -0
  39. package/es/components.js +17 -0
  40. package/es/index.js +13 -22
  41. package/es/style/index.css +707 -0
  42. package/es/style/index.less +6 -0
  43. package/es/style.js +2 -0
  44. package/lib/AMap/Map.js +3 -0
  45. package/lib/AMap/index.js +3 -0
  46. package/lib/BadgeStatus/Badge.js +3 -0
  47. package/lib/BadgeStatus/index.js +3 -0
  48. package/lib/CardSelect/CardSelect.js +4 -2
  49. package/lib/CardSelect/index.js +3 -0
  50. package/lib/CheckButton/CheckButton.js +4 -2
  51. package/lib/CheckButton/index.js +3 -0
  52. package/lib/CheckButton/style/index.css +37 -0
  53. package/lib/CheckButton/style/index.less +40 -0
  54. package/lib/ConfigProvider/index.js +3 -0
  55. package/lib/Echarts/Echarts.js +3 -0
  56. package/lib/Echarts/index.js +3 -0
  57. package/lib/Ellipsis/Ellipsis.js +23 -15
  58. package/lib/Ellipsis/index.js +3 -0
  59. package/lib/Ellipsis/style/index.css +17 -0
  60. package/lib/Ellipsis/style/index.less +20 -0
  61. package/lib/Empty/Empty.js +3 -0
  62. package/lib/Empty/index.js +3 -0
  63. package/lib/FullPage/FullPage.js +4 -1
  64. package/lib/FullPage/index.js +3 -0
  65. package/lib/Icon/index.js +3 -0
  66. package/lib/MonacoEditor/Monaco.js +4 -2
  67. package/lib/MonacoEditor/index.js +3 -0
  68. package/lib/PermissionButton/index.js +4 -1
  69. package/lib/ProLayout/PageContainer/index.js +2 -1
  70. package/lib/ProLayout/SiderMenu/BaseMenu.js +2 -3
  71. package/lib/ProLayout/index.js +3 -0
  72. package/lib/ProLayout/style/default.less +4 -4
  73. package/lib/ProTable/index.js +4 -1
  74. package/lib/Scrollbar/index.js +3 -0
  75. package/lib/Search/Advanced/SaveHistory.js +1 -1
  76. package/lib/Search/Advanced/index.js +3 -0
  77. package/lib/Search/Item.js +1 -1
  78. package/lib/Search/Search.js +4 -1
  79. package/lib/Search/index.js +3 -0
  80. package/lib/ValueItem/ValueItem.js +3 -0
  81. package/lib/ValueItem/index.js +3 -0
  82. package/lib/components.js +134 -0
  83. package/lib/index.js +18 -138
  84. package/lib/style/index.css +707 -0
  85. package/lib/style/index.less +6 -0
  86. package/lib/style.js +2 -0
  87. package/package.json +8 -10
  88. package/es/ProTable/style/index.css +0 -65
  89. package/lib/ProTable/style/index.css +0 -65
  90. package/lib/style/components.less +0 -1
package/lib/AMap/index.js CHANGED
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _Map = _interopRequireDefault(require("./Map.js"));
9
+ _Map.default.install = function (app) {
10
+ app.component(_Map.default.name, _Map.default);
11
+ };
9
12
  var _default = exports.default = _Map.default;
@@ -12,6 +12,9 @@ import { resolveComponent as _resolveComponent, openBlock as _openBlock, createB
12
12
  import { computed } from 'vue';
13
13
  import { getHexColor } from './color';
14
14
  const __sfc_main__ = _defineComponent({
15
+ ...{
16
+ name: 'JBadgeStatus'
17
+ },
15
18
  props: {
16
19
  text: {
17
20
  type: String,
@@ -19,4 +19,7 @@ Object.keys(_color).forEach(function (key) {
19
19
  }
20
20
  });
21
21
  });
22
+ _Badge.default.install = function (app) {
23
+ app.component(_Badge.default.name, _Badge.default);
24
+ };
22
25
  var _default = exports.default = _Badge.default;
@@ -20,7 +20,9 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
20
20
  const _hoisted_3 = { class: "j-card-select-title" };
21
21
  const _hoisted_4 = { class: "j-card-select-describe" };
22
22
  import { has } from 'lodash-es';
23
- const __sfc_main__ = {
23
+ const __sfc_main__ = Object.assign({
24
+ name: 'JCardSelect'
25
+ }, {
24
26
  props: {
25
27
  layout: {
26
28
  type: String,
@@ -119,5 +121,5 @@ const __sfc_main__ = {
119
121
  ], 4 /* STYLE */));
120
122
  };
121
123
  }
122
- };
124
+ });
123
125
  export default __sfc_main__;
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _CardSelect = _interopRequireDefault(require("./CardSelect.js"));
9
+ _CardSelect.default.install = function (app) {
10
+ app.component(_CardSelect.default.name, _CardSelect.default);
11
+ };
9
12
  var _default = exports.default = _CardSelect.default;
@@ -19,12 +19,14 @@
19
19
  "selected": "setup-const"
20
20
  } */
21
21
  import { defineComponent as _defineComponent } from 'vue';
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-1712901444786"), n = n(), _popScopeId(), n);
22
+ import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
24
23
  const _hoisted_1 = ["onClick"];
25
24
  import { computed, ref, watch } from 'vue';
26
25
  import { isArray } from '@jetlinks-web/utils';
27
26
  const __sfc_main__ = _defineComponent({
27
+ ...{
28
+ name: 'JCheckButton'
29
+ },
28
30
  props: {
29
31
  value: {
30
32
  type: [String, Array],
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _CheckButton = _interopRequireDefault(require("./CheckButton.js"));
9
+ _CheckButton.default.install = function (app) {
10
+ app.component(_CheckButton.default.name, _CheckButton.default);
11
+ };
9
12
  var _default = exports.default = _CheckButton.default;
@@ -0,0 +1,37 @@
1
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2
+ /* stylelint-disable no-duplicate-selectors */
3
+ /* stylelint-disable */
4
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
+ .j-check-button {
6
+ display: flex;
7
+ gap: 16px;
8
+ width: 100%;
9
+ }
10
+ .j-check-button .j-check-button-item {
11
+ flex: 1;
12
+ min-width: 0;
13
+ padding: 8px;
14
+ border-radius: 2px;
15
+ background-color: #f2f3f5;
16
+ transition: all 0.3s;
17
+ color: #333;
18
+ text-align: center;
19
+ cursor: pointer;
20
+ }
21
+ .j-check-button .j-check-button-item:hover {
22
+ background-color: #1890ff;
23
+ opacity: 0.85;
24
+ color: #fff;
25
+ }
26
+ .j-check-button .j-check-button-item.selected {
27
+ background-color: #1890ff;
28
+ color: #fff;
29
+ }
30
+ .j-check-button .j-check-button-item.disabled {
31
+ cursor: not-allowed;
32
+ color: #00000060;
33
+ }
34
+ .j-check-button .j-check-button-item.disabled:hover {
35
+ background-color: #f2f3f5;
36
+ color: #00000060;
37
+ }
@@ -0,0 +1,40 @@
1
+ @import 'ant-design-vue/es/style/themes/index.less';
2
+
3
+ .j-check-button {
4
+ display: flex;
5
+ gap: 16px;
6
+ width: 100%;
7
+
8
+ .j-check-button-item {
9
+ flex: 1;
10
+ min-width: 0;
11
+ padding: 8px;
12
+ border-radius: @border-radius-base;
13
+ background-color: #f2f3f5;
14
+ transition: all 0.3s;
15
+ color: #333;
16
+ text-align: center;
17
+ cursor: pointer;
18
+
19
+ &:hover {
20
+ background-color: @primary-color;
21
+ opacity: 0.85;
22
+ color: #fff;
23
+ }
24
+
25
+ &.selected {
26
+ background-color: @primary-color;
27
+ color: #fff;
28
+ }
29
+
30
+ &.disabled {
31
+ cursor: not-allowed;
32
+ color: #00000060;
33
+
34
+ &:hover {
35
+ background-color: #f2f3f5;
36
+ color: #00000060;
37
+ }
38
+ }
39
+ }
40
+ }
@@ -34,4 +34,7 @@ var JConfigProvider = (0, _vue.defineComponent)({
34
34
  }
35
35
  });
36
36
  JConfigProvider.config = _antDesignVue.ConfigProvider.config;
37
+ JConfigProvider.install = function (app) {
38
+ app.component(JConfigProvider.name, JConfigProvider);
39
+ };
37
40
  var _default = exports.default = JConfigProvider;
@@ -16,6 +16,9 @@ import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createEleme
16
16
  import { nextTick, ref, watch, } from 'vue';
17
17
  import { useECharts } from '@jetlinks-web/hooks';
18
18
  const __sfc_main__ = _defineComponent({
19
+ ...{
20
+ name: 'JEcharts'
21
+ },
19
22
  props: {
20
23
  options: {
21
24
  type: Object,
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _Echarts = _interopRequireDefault(require("./Echarts.js"));
9
+ _Echarts.default.install = function (app) {
10
+ app.component(_Echarts.default.name, _Echarts.default);
11
+ };
9
12
  var _default = exports.default = _Echarts.default;
@@ -25,14 +25,14 @@
25
25
  "syncCursorStyle": "setup-const",
26
26
  "getTooltipDisabled": "setup-const"
27
27
  } */
28
- import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock } from "vue";
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
29
  import { Tooltip } from 'ant-design-vue';
30
30
  import { computed, mergeProps, ref, useAttrs } from 'vue';
31
31
  const jEllipsis = 'j-ellipsis';
32
32
  const jEllipsisCursorClass = 'j-ellipsis-cursor';
33
33
  const jEllipsisLineClampClass = 'j-ellipsis-line-clamp';
34
34
  const __sfc_main__ = Object.assign({
35
- name: 'Ellipsis',
35
+ name: 'JEllipsis',
36
36
  }, {
37
37
  props: {
38
38
  expandTrigger: {
@@ -154,17 +154,8 @@ const __sfc_main__ = Object.assign({
154
154
  ref_key: "tooltipRef",
155
155
  ref: tooltipRef,
156
156
  placement: "top"
157
- }, __props.tooltip, { visible: visible.value }), {
157
+ }, __props.tooltip, { visible: visible.value }), _createSlots({
158
158
  default: _withCtx(() => [
159
- (__props.tooltip)
160
- ? (_openBlock(), _createElementBlock("div", {
161
- key: 0,
162
- class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
163
- }, [
164
- _renderSlot(_ctx.$slots, "default"),
165
- _renderSlot(_ctx.$slots, "tooltip")
166
- ], 2 /* CLASS */))
167
- : _createCommentVNode("v-if", true),
168
159
  _createElementVNode("span", _mergeProps({
169
160
  ref_key: "triggerRef",
170
161
  ref: triggerRef
@@ -174,10 +165,27 @@ const __sfc_main__ = Object.assign({
174
165
  onMouseenter: _cache[2] || (_cache[2] = $event => (props.expandTrigger === 'click'
175
166
  ? getTooltipDisabled()
176
167
  : showTooltip()))
177
- }), null, 16 /* FULL_PROPS */)
168
+ }), [
169
+ _renderSlot(_ctx.$slots, "default")
170
+ ], 16 /* FULL_PROPS */)
178
171
  ]),
179
- _: 3 /* FORWARDED */
180
- }, 16 /* FULL_PROPS */, ["visible"]));
172
+ _: 2 /* DYNAMIC */
173
+ }, [
174
+ (__props.tooltip)
175
+ ? {
176
+ name: "title",
177
+ fn: _withCtx(() => [
178
+ _createElementVNode("div", {
179
+ class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
180
+ }, [
181
+ _renderSlot(_ctx.$slots, "default"),
182
+ _renderSlot(_ctx.$slots, "tooltip")
183
+ ], 2 /* CLASS */)
184
+ ]),
185
+ key: "0"
186
+ }
187
+ : undefined
188
+ ]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["visible"]));
181
189
  };
182
190
  }
183
191
  });
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _Ellipsis = _interopRequireDefault(require("./Ellipsis.js"));
9
+ _Ellipsis.default.install = function (app) {
10
+ app.component(_Ellipsis.default.name, _Ellipsis.default);
11
+ };
9
12
  var _default = exports.default = _Ellipsis.default;
@@ -0,0 +1,17 @@
1
+ .j-ellipsis {
2
+ overflow: hidden;
3
+ vertical-align: bottom;
4
+ }
5
+ .j-ellipsis-cursor {
6
+ cursor: pointer;
7
+ }
8
+ .j-ellipsis-line-clamp {
9
+ display: -webkit-box;
10
+ -webkit-box-orient: vertical;
11
+ word-break: break-all;
12
+ }
13
+ .j-ellipsis-deep {
14
+ max-height: 380px;
15
+ -webkit-line-clamp: 17;
16
+ text-overflow: ellipsis;
17
+ }
@@ -0,0 +1,20 @@
1
+ .j-ellipsis {
2
+ overflow: hidden;
3
+ vertical-align: bottom;
4
+ }
5
+
6
+ .j-ellipsis-cursor {
7
+ cursor: pointer;
8
+ }
9
+
10
+ .j-ellipsis-line-clamp {
11
+ display: -webkit-box;
12
+ -webkit-box-orient: vertical;
13
+ word-break: break-all;
14
+ }
15
+
16
+ .j-ellipsis-deep {
17
+ max-height: 380px;
18
+ -webkit-line-clamp: 17;
19
+ text-overflow: ellipsis;
20
+ }
@@ -18,6 +18,9 @@ import { useSlots } from 'vue';
18
18
  import NoData from './image';
19
19
  import { omit } from 'lodash-es';
20
20
  const __sfc_main__ = _defineComponent({
21
+ ...{
22
+ name: 'JEmpty'
23
+ },
21
24
  props: {
22
25
  description: {
23
26
  type: String,
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _Empty = _interopRequireDefault(require("./Empty.js"));
9
+ _Empty.default.install = function (app) {
10
+ app.component(_Empty.default.name, _Empty.default);
11
+ };
9
12
  var _default = exports.default = _Empty.default;
@@ -6,11 +6,14 @@
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-1712901447064"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1713253708126"), 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';
13
13
  const __sfc_main__ = _defineComponent({
14
+ ...{
15
+ name: 'JFullPage'
16
+ },
14
17
  setup(__props) {
15
18
  const fullPage = ref(null);
16
19
  const { y } = useElementBounding(fullPage);
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _FullPage = _interopRequireDefault(require("./FullPage.js"));
9
+ _FullPage.default.install = function (app) {
10
+ app.component(_FullPage.default.name, _FullPage.default);
11
+ };
9
12
  var _default = exports.default = _FullPage.default;
package/lib/Icon/index.js CHANGED
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _icon = _interopRequireDefault(require("./icon"));
9
+ _icon.default.install = function (app) {
10
+ app.component(_icon.default.name, _icon.default);
11
+ };
9
12
  var _default = exports.default = _icon.default;
@@ -51,7 +51,9 @@ import { openBlock as _openBlock, createElementBlock as _createElementBlock } fr
51
51
  import { ref, onMounted, watch, onUnmounted, toRaw, nextTick } from 'vue';
52
52
  import * as monaco from 'monaco-editor';
53
53
  import { omit } from 'lodash-es';
54
- const __sfc_main__ = {
54
+ const __sfc_main__ = Object.assign({
55
+ name: 'JMonacoEditor'
56
+ }, {
55
57
  props: {
56
58
  modelValue: [String, Number],
57
59
  theme: { type: String, default: 'vs-dark' },
@@ -234,5 +236,5 @@ const __sfc_main__ = {
234
236
  }, null, 512 /* NEED_PATCH */));
235
237
  };
236
238
  }
237
- };
239
+ });
238
240
  export default __sfc_main__;
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _Monaco = _interopRequireDefault(require("./Monaco.js"));
9
+ _Monaco.default.install = function (app) {
10
+ app.component(_Monaco.default.name, _Monaco.default);
11
+ };
9
12
  var _default = exports.default = _Monaco.default;
@@ -34,7 +34,7 @@ var definedProps = (0, _objectSpread2.default)({
34
34
  }
35
35
  }, (0, _lodashEs.omit)((0, _button.buttonProps)(), 'icon'));
36
36
  var PermissionButton = (0, _vue.defineComponent)({
37
- name: 'PermissionButton',
37
+ name: 'JPermissionButton',
38
38
  // @ts-ignore
39
39
  slots: ['button', 'icon'],
40
40
  props: definedProps,
@@ -121,4 +121,7 @@ var PermissionButton = (0, _vue.defineComponent)({
121
121
  };
122
122
  }
123
123
  });
124
+ PermissionButton.install = function (app) {
125
+ app.component(PermissionButton.name, PermissionButton);
126
+ };
124
127
  var _default2 = exports.default = PermissionButton;
@@ -14,6 +14,7 @@ var _antDesignVue = require("ant-design-vue");
14
14
  var _pageHeader = require("ant-design-vue/es/page-header");
15
15
  var _RouteContext = require("../RouteContext");
16
16
  var _util = require("../util");
17
+ var _vueTypes = _interopRequireDefault(require("ant-design-vue/es/_util/vue-types"));
17
18
  require("./index.less");
18
19
  var _excluded = ["title", "tabList", "tabActiveKey", "content", "pageHeaderRender", "header", "extraContent", "prefixedClassName", "prefixCls", "fixedHeader", "showBack"];
19
20
  function _isSlot(s) {
@@ -62,7 +63,7 @@ var pageHeaderTabConfig = exports.pageHeaderTabConfig = {
62
63
  var pageContainerProps = exports.pageContainerProps = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, pageHeaderTabConfig), _pageHeader.pageHeaderProps), {}, {
63
64
  prefixCls: {
64
65
  type: String,
65
- default: 'ant-pro'
66
+ default: _vueTypes.default.string.def('ant-pro')
66
67
  },
67
68
  title: {
68
69
  type: [Object, String, Boolean, Function],
@@ -17,15 +17,14 @@ var _Icon = _interopRequireDefault(require("../../Icon"));
17
17
  var _utils = require("@jetlinks-web/utils");
18
18
  var _antDesignVue = require("ant-design-vue");
19
19
  var _iconsVue = require("@ant-design/icons-vue/lib/icons");
20
+ require("ant-design-vue/es/_util/vue-types");
20
21
  function _isSlot(s) {
21
22
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
22
23
  }
23
24
  var baseMenuProps = exports.baseMenuProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _defaultSettings.defaultSettingProps), {}, {
24
25
  prefixCls: {
25
26
  type: String,
26
- default: function _default() {
27
- return _RouteContext.defaultPrefixCls;
28
- }
27
+ default: _RouteContext.defaultPrefixCls
29
28
  },
30
29
  locale: {
31
30
  type: [Function, Boolean],
@@ -13,4 +13,7 @@ Object.defineProperty(exports, "PageContainer", {
13
13
  exports.default = void 0;
14
14
  var _BasicLayout = _interopRequireDefault(require("./Basic/BasicLayout"));
15
15
  var _PageContainer = _interopRequireDefault(require("./PageContainer"));
16
+ _BasicLayout.default.install = function (app) {
17
+ app.component(_BasicLayout.default.name, _BasicLayout.default);
18
+ };
16
19
  var _default = exports.default = _BasicLayout.default;
@@ -1,4 +1,4 @@
1
- @import 'ant-design-vue/es/style/themes/index.less';
2
-
3
- @basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
4
- @pro-layout-header-height: 48px;
1
+ @import 'ant-design-vue/es/style/themes/index.less';
2
+
3
+ @basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
4
+ @pro-layout-header-height: 48px;
@@ -117,7 +117,7 @@ var tableProps = function tableProps() {
117
117
  });
118
118
  };
119
119
  var ProTable = (0, _vue.defineComponent)({
120
- name: 'ProTable',
120
+ name: 'JProTable',
121
121
  slots: ['headerTitle', 'card', 'rightExtraRender', 'paginationRender' // 分页
122
122
  ],
123
123
  props: tableProps(),
@@ -414,4 +414,7 @@ var ProTable = (0, _vue.defineComponent)({
414
414
  };
415
415
  }
416
416
  });
417
+ ProTable.install = function (app) {
418
+ app.component(ProTable.name, ProTable);
419
+ };
417
420
  var _default2 = exports.default = ProTable;
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _Scrollbar = _interopRequireDefault(require("./Scrollbar.js"));
9
+ _Scrollbar.default.install = function (app) {
10
+ app.component(_Scrollbar.default.name, _Scrollbar.default);
11
+ };
9
12
  var _default = exports.default = _Scrollbar.default;
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1712901448928"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1713253709627"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
@@ -105,6 +105,9 @@ import { Select, Button, Form, FormItemRest } from 'ant-design-vue';
105
105
  import { AIcon } from '../../../';
106
106
  import { cloneDeep } from 'lodash-es';
107
107
  const __sfc_main__ = _defineComponent({
108
+ ...{
109
+ name: 'JAdvancedSearch',
110
+ },
108
111
  props: {
109
112
  columns: {
110
113
  type: Array,
@@ -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-1712901448230"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1713253708912"), 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-1712901448504"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1713253709078"), 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';
@@ -46,6 +46,9 @@ import { termsParamsFormat } from './util';
46
46
  import SearchItem from './Item.js';
47
47
  import { optionsMapKey } from './setting';
48
48
  const __sfc_main__ = _defineComponent({
49
+ ...{
50
+ name: 'JSearch',
51
+ },
49
52
  props: {
50
53
  columns: {
51
54
  type: Array,
@@ -13,4 +13,7 @@ Object.defineProperty(exports, "AdvancedSearch", {
13
13
  exports.default = void 0;
14
14
  var _index = _interopRequireDefault(require("./Advanced/index.js"));
15
15
  var _Search = _interopRequireDefault(require("./Search.js"));
16
+ _Search.default.install = function (app) {
17
+ app.component(_Search.default.name, _Search.default);
18
+ };
16
19
  var _default = exports.default = _Search.default;
@@ -58,6 +58,9 @@ import { componentsType } from './util';
58
58
  import { MonacoEditor } from '../../';
59
59
  import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
60
60
  const __sfc_main__ = _defineComponent({
61
+ ...{
62
+ name: 'JValueItem',
63
+ },
61
64
  props: {
62
65
  // 组件双向绑定的值
63
66
  modelValue: {
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _ValueItem = _interopRequireDefault(require("./ValueItem.js"));
9
+ _ValueItem.default.install = function (app) {
10
+ app.component(_ValueItem.default.name, _ValueItem.default);
11
+ };
9
12
  var _default = exports.default = _ValueItem.default;