@jetlinks-web/components 2.6.24 → 2.6.27

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 (86) hide show
  1. package/es/AMap/Map.js +2 -1
  2. package/es/AutoComplete/AutoComplete.js +1 -0
  3. package/es/BadgeStatus/Badge.js +2 -1
  4. package/es/CardSelect/CardSelect.js +7 -1
  5. package/es/CardSelect/style/index.less +26 -26
  6. package/es/CheckButton/CheckButton.js +2 -1
  7. package/es/DragModal/DragModal.js +1 -0
  8. package/es/Echarts/Echarts.js +2 -1
  9. package/es/EditTable/EditTable.js +6 -4
  10. package/es/EditTable/FormItem.js +4 -9
  11. package/es/EditTable/Header.js +3 -5
  12. package/es/EditTable/components/ContextMenu/Menu.js +2 -1
  13. package/es/EditTable/components/Search/search.js +2 -1
  14. package/es/EditTable/components/Search/sort.js +3 -1
  15. package/es/EditTable/group.js +12 -11
  16. package/es/EditTable/hooks/useValidate.js +1 -1
  17. package/es/EditTable/style/form.less +33 -33
  18. package/es/EditTable/style/group.less +32 -32
  19. package/es/EditTable/style/header.less +77 -77
  20. package/es/EditTable/style/menu.less +25 -25
  21. package/es/EditTable/utils.js +30 -3
  22. package/es/Ellipsis/style/index.less +20 -20
  23. package/es/FlameGraph/FlameGraph.js +4 -5
  24. package/es/FullPage/FullPage.js +2 -1
  25. package/es/LocaleProvider/index.js +2 -1
  26. package/es/PermissionButton/index.js +7 -6
  27. package/es/ProLayout/Basic/BasicLayout.js +39 -34
  28. package/es/ProLayout/Basic/Header.js +7 -3
  29. package/es/ProLayout/PageContainer/index.js +12 -8
  30. package/es/ProLayout/SiderMenu/BaseMenu.js +39 -16
  31. package/es/ProLayout/SiderMenu/SiderMenu.js +34 -14
  32. package/es/ProLayout/SiderMenu/index.less +231 -231
  33. package/es/ProLayout/TopHeader/index.js +9 -1
  34. package/es/ProLayout/util.js +5 -5
  35. package/es/ProTable/Content.js +2 -2
  36. package/es/ProTable/hooks/index.js +2 -0
  37. package/es/RadioButton/RadioButton.js +1 -0
  38. package/es/Search/Advanced/SaveHistory.js +2 -1
  39. package/es/Search/Item.js +2 -1
  40. package/es/Title/title.js +1 -0
  41. package/es/style/index.css +1 -1
  42. package/lib/AMap/Map.js +2 -1
  43. package/lib/AutoComplete/AutoComplete.js +1 -0
  44. package/lib/BadgeStatus/Badge.js +2 -1
  45. package/lib/CardSelect/CardSelect.js +7 -1
  46. package/lib/CardSelect/style/index.less +26 -26
  47. package/lib/CheckButton/CheckButton.js +2 -1
  48. package/lib/DragModal/DragModal.js +1 -0
  49. package/lib/Echarts/Echarts.js +2 -1
  50. package/lib/EditTable/EditTable.js +6 -4
  51. package/lib/EditTable/FormItem.js +4 -9
  52. package/lib/EditTable/Header.js +3 -5
  53. package/lib/EditTable/components/ContextMenu/Menu.js +2 -1
  54. package/lib/EditTable/components/Search/search.js +2 -1
  55. package/lib/EditTable/components/Search/sort.js +3 -1
  56. package/lib/EditTable/group.js +12 -11
  57. package/lib/EditTable/hooks/useValidate.js +1 -1
  58. package/lib/EditTable/style/form.less +33 -33
  59. package/lib/EditTable/style/group.less +32 -32
  60. package/lib/EditTable/style/header.less +77 -77
  61. package/lib/EditTable/style/menu.less +25 -25
  62. package/lib/EditTable/utils.js +31 -3
  63. package/lib/Ellipsis/style/index.less +20 -20
  64. package/lib/FlameGraph/FlameGraph.js +4 -5
  65. package/lib/FullPage/FullPage.js +2 -1
  66. package/lib/Icon/icon.js +2 -1
  67. package/lib/LocaleProvider/index.js +2 -1
  68. package/lib/PermissionButton/index.js +7 -6
  69. package/lib/ProLayout/Basic/BasicLayout.js +40 -34
  70. package/lib/ProLayout/Basic/Header.js +6 -2
  71. package/lib/ProLayout/PageContainer/index.js +11 -7
  72. package/lib/ProLayout/SiderMenu/BaseMenu.js +39 -17
  73. package/lib/ProLayout/SiderMenu/SiderMenu.js +35 -14
  74. package/lib/ProLayout/SiderMenu/index.less +231 -231
  75. package/lib/ProLayout/TopHeader/index.js +9 -2
  76. package/lib/ProLayout/util.js +5 -5
  77. package/lib/ProTable/Content.js +2 -2
  78. package/lib/ProTable/hooks/index.js +27 -0
  79. package/lib/RadioButton/RadioButton.js +1 -0
  80. package/lib/Search/Advanced/SaveHistory.js +2 -1
  81. package/lib/Search/Item.js +2 -1
  82. package/lib/Title/title.js +1 -0
  83. package/lib/components.js +2 -1
  84. package/lib/index.js +2 -1
  85. package/lib/style/index.css +1 -1
  86. package/package.json +3 -3
@@ -1,231 +1,231 @@
1
- @import '../style/default.less';
2
-
3
- @pro-layout-sider-menu-prefix-cls: ~'@{ant-prefix}-pro-sider';
4
-
5
- @nav-header-height: @pro-layout-header-height;
6
-
7
- .@{pro-layout-sider-menu-prefix-cls} {
8
- position: relative;
9
- background-color: @layout-sider-background;
10
- border-right: 0;
11
- // FIXME: 临时修正(可能不会做兼容)
12
- z-index: 20;
13
-
14
- // 这里关掉了动画,不然使用无法兼容
15
- .@{ant-prefix}-menu {
16
- background: transparent;
17
- }
18
-
19
- &.@{ant-prefix}-layout-sider-light {
20
- .@{ant-prefix}-menu-item a {
21
- color: @heading-color;
22
- }
23
- .@{ant-prefix}-menu-item-selected a,
24
- .@{ant-prefix}-menu-item a:hover {
25
- color: @primary-color;
26
- }
27
- }
28
-
29
- &-logo {
30
- position: relative;
31
- display: flex;
32
- align-items: center;
33
- padding: 16px 16px;
34
- cursor: pointer;
35
- transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
36
-
37
- > a {
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- min-height: 32px;
42
- }
43
-
44
- img {
45
- display: inline-block;
46
- height: 32px;
47
- vertical-align: middle;
48
- }
49
-
50
- h1 {
51
- display: inline-block;
52
- height: 32px;
53
- margin: 0 0 0 12px;
54
- color: white;
55
- font-weight: 600;
56
- font-size: 18px;
57
- line-height: 32px;
58
- vertical-align: middle;
59
- animation: pro-layout-title-hide 0.3s;
60
- }
61
- }
62
-
63
- &-logo-card {
64
- padding: 16px 0;
65
- justify-content: center;
66
- }
67
-
68
- &-extra {
69
- margin-bottom: 16px;
70
- padding: 0 16px;
71
- &-no-logo {
72
- margin-top: 16px;
73
- }
74
- }
75
-
76
- &-menu {
77
- position: relative;
78
- z-index: 10;
79
- min-height: 100%;
80
- box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
81
- }
82
-
83
- .@{ant-prefix}-layout-sider-children {
84
- display: flex;
85
- flex-direction: column;
86
- height: 100%;
87
-
88
- ::-webkit-scrollbar {
89
- width: 6px;
90
- height: 6px;
91
- }
92
-
93
- ::-webkit-scrollbar-track {
94
- background: rgba(255, 255, 255, 0.15);
95
- border-radius: 3px;
96
- box-shadow: inset 0 0 5px rgba(37, 37, 37, 0.05);
97
- }
98
-
99
- /* 滚动条滑块 */
100
- ::-webkit-scrollbar-thumb {
101
- background: rgba(255, 255, 255, 0.2);
102
- border-radius: 3px;
103
- box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
104
- }
105
- }
106
-
107
- &.@{ant-prefix}-layout-sider-collapsed {
108
- .@{ant-prefix}-menu-inline-collapsed {
109
- width: 48px;
110
- }
111
- .@{pro-layout-sider-menu-prefix-cls} {
112
- &-logo {
113
- padding: 16px 8px;
114
- }
115
- }
116
- }
117
-
118
- &.@{ant-prefix}-layout-sider.@{pro-layout-sider-menu-prefix-cls}-fixed {
119
- position: fixed;
120
- top: 0;
121
- left: 0;
122
- z-index: 99; // react pro-components: z-index: 100;
123
- height: 100%;
124
- overflow: auto;
125
- overflow-x: hidden;
126
- box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
127
- > .@{ant-prefix}-menu-root {
128
- :not(.@{pro-layout-sider-menu-prefix-cls}-link-menu) {
129
- height: ~'calc(100vh - @{nav-header-height})';
130
- overflow-y: auto;
131
- }
132
- }
133
- }
134
-
135
- &-light {
136
- background-color: @component-background;
137
- box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
138
-
139
- .@{ant-prefix}-layout-sider-children {
140
- ::-webkit-scrollbar-track {
141
- background: rgba(0, 0, 0, 0.06);
142
- border-radius: 3px;
143
- box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
144
- }
145
-
146
- /* 滚动条滑块 */
147
- ::-webkit-scrollbar-thumb {
148
- background: rgba(0, 0, 0, 0.12);
149
- border-radius: 3px;
150
- box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
151
- }
152
- }
153
-
154
- .@{pro-layout-sider-menu-prefix-cls}-logo {
155
- h1 {
156
- color: @primary-color;
157
- }
158
- }
159
- .@{ant-prefix}-menu-light {
160
- border-right-color: transparent;
161
- }
162
-
163
- .@{pro-layout-sider-menu-prefix-cls}-collapsed-button {
164
- border-top: @border-width-base @border-style-base
165
- @border-color-split;
166
- }
167
- }
168
-
169
- &-icon {
170
- width: 14px;
171
- vertical-align: baseline;
172
- }
173
-
174
- &-links {
175
- width: 100%;
176
- ul.@{ant-prefix}-menu-root {
177
- height: auto;
178
- }
179
- }
180
-
181
- &-collapsed-button {
182
- border-top: @border-width-base @border-style-base rgba(0, 0, 0, 0.25);
183
- .anticon {
184
- font-size: 16px;
185
- }
186
- }
187
-
188
- .top-nav-menu li.@{ant-prefix}-menu-item {
189
- height: 100%;
190
- line-height: 1;
191
- }
192
- .drawer .drawer-content {
193
- background: @layout-sider-background;
194
- }
195
- }
196
-
197
- // 修正菜单 collapsed 时,icon 与 title 的间距
198
- .@{ant-prefix}-pro-menu-item {
199
- .anticon + .@{ant-prefix}-pro-menu-item-title {
200
- margin-left: 10px;
201
- }
202
- }
203
-
204
- .sider-app-menus {
205
- width: 100px;
206
- background-color: #fff;
207
- cursor: pointer;
208
- padding: 6px;
209
- transition: all .3s;
210
- border-radius: 4px;
211
- color: #333;
212
-
213
- &:hover {
214
- background-color: #efefef;
215
- }
216
- }
217
-
218
- @keyframes pro-layout-title-hide {
219
- 0% {
220
- display: none;
221
- opacity: 0;
222
- }
223
- 80% {
224
- display: none;
225
- opacity: 0;
226
- }
227
- 100% {
228
- display: unset;
229
- opacity: 1;
230
- }
231
- }
1
+ @import '../style/default.less';
2
+
3
+ @pro-layout-sider-menu-prefix-cls: ~'@{ant-prefix}-pro-sider';
4
+
5
+ @nav-header-height: @pro-layout-header-height;
6
+
7
+ .@{pro-layout-sider-menu-prefix-cls} {
8
+ position: relative;
9
+ background-color: @layout-sider-background;
10
+ border-right: 0;
11
+ // FIXME: 临时修正(可能不会做兼容)
12
+ z-index: 20;
13
+
14
+ // 这里关掉了动画,不然使用无法兼容
15
+ .@{ant-prefix}-menu {
16
+ background: transparent;
17
+ }
18
+
19
+ &.@{ant-prefix}-layout-sider-light {
20
+ .@{ant-prefix}-menu-item a {
21
+ color: @heading-color;
22
+ }
23
+ .@{ant-prefix}-menu-item-selected a,
24
+ .@{ant-prefix}-menu-item a:hover {
25
+ color: @primary-color;
26
+ }
27
+ }
28
+
29
+ &-logo {
30
+ position: relative;
31
+ display: flex;
32
+ align-items: center;
33
+ padding: 16px 16px;
34
+ cursor: pointer;
35
+ transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
36
+
37
+ > a {
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ min-height: 32px;
42
+ }
43
+
44
+ img {
45
+ display: inline-block;
46
+ height: 32px;
47
+ vertical-align: middle;
48
+ }
49
+
50
+ h1 {
51
+ display: inline-block;
52
+ height: 32px;
53
+ margin: 0 0 0 12px;
54
+ color: white;
55
+ font-weight: 600;
56
+ font-size: 18px;
57
+ line-height: 32px;
58
+ vertical-align: middle;
59
+ animation: pro-layout-title-hide 0.3s;
60
+ }
61
+ }
62
+
63
+ &-logo-card {
64
+ padding: 16px 0;
65
+ justify-content: center;
66
+ }
67
+
68
+ &-extra {
69
+ margin-bottom: 16px;
70
+ padding: 0 16px;
71
+ &-no-logo {
72
+ margin-top: 16px;
73
+ }
74
+ }
75
+
76
+ &-menu {
77
+ position: relative;
78
+ z-index: 10;
79
+ min-height: 100%;
80
+ box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
81
+ }
82
+
83
+ .@{ant-prefix}-layout-sider-children {
84
+ display: flex;
85
+ flex-direction: column;
86
+ height: 100%;
87
+
88
+ ::-webkit-scrollbar {
89
+ width: 6px;
90
+ height: 6px;
91
+ }
92
+
93
+ ::-webkit-scrollbar-track {
94
+ background: rgba(255, 255, 255, 0.15);
95
+ border-radius: 3px;
96
+ box-shadow: inset 0 0 5px rgba(37, 37, 37, 0.05);
97
+ }
98
+
99
+ /* 滚动条滑块 */
100
+ ::-webkit-scrollbar-thumb {
101
+ background: rgba(255, 255, 255, 0.2);
102
+ border-radius: 3px;
103
+ box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
104
+ }
105
+ }
106
+
107
+ &.@{ant-prefix}-layout-sider-collapsed {
108
+ .@{ant-prefix}-menu-inline-collapsed {
109
+ width: 48px;
110
+ }
111
+ .@{pro-layout-sider-menu-prefix-cls} {
112
+ &-logo {
113
+ padding: 16px 8px;
114
+ }
115
+ }
116
+ }
117
+
118
+ &.@{ant-prefix}-layout-sider.@{pro-layout-sider-menu-prefix-cls}-fixed {
119
+ position: fixed;
120
+ top: 0;
121
+ left: 0;
122
+ z-index: 99; // react pro-components: z-index: 100;
123
+ height: 100%;
124
+ overflow: auto;
125
+ overflow-x: hidden;
126
+ box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
127
+ > .@{ant-prefix}-menu-root {
128
+ :not(.@{pro-layout-sider-menu-prefix-cls}-link-menu) {
129
+ height: ~'calc(100vh - @{nav-header-height})';
130
+ overflow-y: auto;
131
+ }
132
+ }
133
+ }
134
+
135
+ &-light {
136
+ background-color: @component-background;
137
+ box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
138
+
139
+ .@{ant-prefix}-layout-sider-children {
140
+ ::-webkit-scrollbar-track {
141
+ background: rgba(0, 0, 0, 0.06);
142
+ border-radius: 3px;
143
+ box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
144
+ }
145
+
146
+ /* 滚动条滑块 */
147
+ ::-webkit-scrollbar-thumb {
148
+ background: rgba(0, 0, 0, 0.12);
149
+ border-radius: 3px;
150
+ box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
151
+ }
152
+ }
153
+
154
+ .@{pro-layout-sider-menu-prefix-cls}-logo {
155
+ h1 {
156
+ color: @primary-color;
157
+ }
158
+ }
159
+ .@{ant-prefix}-menu-light {
160
+ border-right-color: transparent;
161
+ }
162
+
163
+ .@{pro-layout-sider-menu-prefix-cls}-collapsed-button {
164
+ border-top: @border-width-base @border-style-base
165
+ @border-color-split;
166
+ }
167
+ }
168
+
169
+ &-icon {
170
+ width: 14px;
171
+ vertical-align: baseline;
172
+ }
173
+
174
+ &-links {
175
+ width: 100%;
176
+ ul.@{ant-prefix}-menu-root {
177
+ height: auto;
178
+ }
179
+ }
180
+
181
+ &-collapsed-button {
182
+ border-top: @border-width-base @border-style-base rgba(0, 0, 0, 0.25);
183
+ .anticon {
184
+ font-size: 16px;
185
+ }
186
+ }
187
+
188
+ .top-nav-menu li.@{ant-prefix}-menu-item {
189
+ height: 100%;
190
+ line-height: 1;
191
+ }
192
+ .drawer .drawer-content {
193
+ background: @layout-sider-background;
194
+ }
195
+ }
196
+
197
+ // 修正菜单 collapsed 时,icon 与 title 的间距
198
+ .@{ant-prefix}-pro-menu-item {
199
+ .anticon + .@{ant-prefix}-pro-menu-item-title {
200
+ margin-left: 10px;
201
+ }
202
+ }
203
+
204
+ .sider-app-menus {
205
+ width: 100px;
206
+ background-color: #fff;
207
+ cursor: pointer;
208
+ padding: 6px;
209
+ transition: all .3s;
210
+ border-radius: 4px;
211
+ color: #333;
212
+
213
+ &:hover {
214
+ background-color: #efefef;
215
+ }
216
+ }
217
+
218
+ @keyframes pro-layout-title-hide {
219
+ 0% {
220
+ display: none;
221
+ opacity: 0;
222
+ }
223
+ 80% {
224
+ display: none;
225
+ opacity: 0;
226
+ }
227
+ 100% {
228
+ display: unset;
229
+ opacity: 1;
230
+ }
231
+ }
@@ -1,3 +1,4 @@
1
+ import { isVNode as _isVNode } from "vue";
1
2
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
3
  import { createVNode as _createVNode } from "vue";
3
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
@@ -11,6 +12,9 @@ import { defaultSettingProps, LayoutType } from '../defaultSettings';
11
12
  import { defaultPrefixCls, useRouteContext } from '../RouteContext';
12
13
  import BaseMenu from '../SiderMenu/BaseMenu';
13
14
  import { clearMenuItem } from '../util';
15
+ function _isSlot(s) {
16
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
17
+ }
14
18
  export var baseHeaderProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
15
19
  prefixCls: PropTypes.string.def('ant-pro'),
16
20
  collapsed: PropTypes.looseBool,
@@ -137,7 +141,11 @@ export var TopNavHeader = function TopNavHeader(props) {
137
141
  "class": "".concat(prefixCls, "-logo"),
138
142
  "key": "logo",
139
143
  "id": "logo"
140
- }, [headerDom])]), _createVNode("div", {
144
+ }, _isSlot(headerDom) ? headerDom : {
145
+ default: function _default() {
146
+ return [headerDom];
147
+ }
148
+ })]), _createVNode("div", {
141
149
  "style": {
142
150
  flex: 1
143
151
  },
@@ -3,14 +3,14 @@ export function clearMenuItem(menusData) {
3
3
  return menusData.map(function (item) {
4
4
  var _finalItem$meta;
5
5
  var finalItem = _objectSpread({}, item);
6
- if ((_finalItem$meta = finalItem.meta) !== null && _finalItem$meta !== void 0 && _finalItem$meta.hideInMenu) {
6
+ if ((_finalItem$meta = finalItem.meta) === null || _finalItem$meta === void 0 ? void 0 : _finalItem$meta.hideInMenu) {
7
7
  return null;
8
8
  }
9
- if (finalItem && finalItem !== null && finalItem !== void 0 && finalItem.children) {
9
+ if (finalItem && (finalItem === null || finalItem === void 0 ? void 0 : finalItem.children)) {
10
10
  var _finalItem$meta2;
11
- if (!((_finalItem$meta2 = finalItem.meta) !== null && _finalItem$meta2 !== void 0 && _finalItem$meta2.hideChildInMenu) && finalItem.children.some(function (child) {
11
+ if (!((_finalItem$meta2 = finalItem.meta) === null || _finalItem$meta2 === void 0 ? void 0 : _finalItem$meta2.hideChildInMenu) && finalItem.children.some(function (child) {
12
12
  var _child$meta;
13
- return child && child.name && !((_child$meta = child.meta) !== null && _child$meta !== void 0 && _child$meta.hideInMenu);
13
+ return child && child.name && !((_child$meta = child.meta) === null || _child$meta === void 0 ? void 0 : _child$meta.hideInMenu);
14
14
  })) {
15
15
  return _objectSpread(_objectSpread({}, item), {}, {
16
16
  children: clearMenuItem(finalItem.children)
@@ -27,7 +27,7 @@ export function flatMap(menusData) {
27
27
  return menusData.map(function (item) {
28
28
  var _finalItem$meta3;
29
29
  var finalItem = _objectSpread({}, item);
30
- if (!finalItem.name || (_finalItem$meta3 = finalItem.meta) !== null && _finalItem$meta3 !== void 0 && _finalItem$meta3.hideInMenu) {
30
+ if (!finalItem.name || ((_finalItem$meta3 = finalItem.meta) === null || _finalItem$meta3 === void 0 ? void 0 : _finalItem$meta3.hideInMenu)) {
31
31
  return null;
32
32
  }
33
33
  if (finalItem.children) {
@@ -31,7 +31,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
31
31
  "gridTemplateColumns": "setup-ref"
32
32
  } */
33
33
  import { defineComponent as _defineComponent } from 'vue';
34
- import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, normalizeProps as _normalizeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock } from "vue";
34
+ import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, mergeProps as _mergeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock } from "vue";
35
35
  const _hoisted_1 = { class: "jtable-box" };
36
36
  const _hoisted_2 = {
37
37
  key: 0,
@@ -94,7 +94,7 @@ const __sfc_main__ = _defineComponent({
94
94
  class: _normalizeClass(['jtable-card-item', props.cardBodyClass]),
95
95
  key: item[props.rowKey]
96
96
  }, [
97
- _renderSlot(_ctx.$slots, "card", _mergeProps({ ref_for: true }, item))
97
+ _renderSlot(_ctx.$slots, "card", _normalizeProps(_guardReactiveProps(item)))
98
98
  ], 2 /* CLASS */));
99
99
  }), 128 /* KEYED_FRAGMENT */))
100
100
  ], 4 /* STYLE */))
@@ -0,0 +1,2 @@
1
+ export * from './useTableSelection';
2
+ export * from './useTableInject';
@@ -2,6 +2,7 @@
2
2
  "value": "props",
3
3
  "options": "props",
4
4
  "columns": "props",
5
+ "defineOptions": "setup-const",
5
6
  "ref": "setup-const",
6
7
  "computed": "setup-const",
7
8
  "watch": "setup-const",
@@ -22,7 +22,8 @@
22
22
  "saveHistory": "setup-const"
23
23
  } */
24
24
  import { defineComponent as _defineComponent } from 'vue';
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 } from "vue";
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-1755080512557"), n = n(), _popScopeId(), n);
26
27
  const _hoisted_1 = {
27
28
  key: 0,
28
29
  style: { "width": "240px" }
package/es/Search/Item.js CHANGED
@@ -79,7 +79,8 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
79
79
  "valueChange": "setup-const"
80
80
  } */
81
81
  import { defineComponent as _defineComponent } from 'vue';
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 } from "vue";
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-1755080511831"), n = n(), _popScopeId(), n);
83
84
  const _hoisted_1 = { class: "JSearch-item" };
84
85
  const _hoisted_2 = {
85
86
  key: 0,
package/es/Title/title.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /* Analyzed bindings: {
2
2
  "data": "props",
3
3
  "style": "props",
4
+ "defineOptions": "setup-const",
4
5
  "props": "setup-reactive-const"
5
6
  } */
6
7
  import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
@@ -777,7 +777,7 @@
777
777
  -moz-user-select: none;
778
778
  user-select: none;
779
779
  }
780
- .ant-pagination-options-quick-jumper input:-moz-placeholder {
780
+ .ant-pagination-options-quick-jumper input:-moz-placeholder-shown {
781
781
  text-overflow: ellipsis;
782
782
  }
783
783
  .ant-pagination-options-quick-jumper input:placeholder-shown {
package/lib/AMap/Map.js CHANGED
@@ -10,6 +10,7 @@
10
10
  "ref": "setup-const",
11
11
  "computed": "setup-const",
12
12
  "inject": "setup-const",
13
+ "defineOptions": "setup-const",
13
14
  "initAMapApiLoader": "setup-maybe-ref",
14
15
  "ElAmap": "setup-maybe-ref",
15
16
  "getAMapUiPromise": "setup-maybe-ref",
@@ -31,7 +32,7 @@
31
32
  } */
32
33
  import { defineComponent as _defineComponent } from 'vue';
33
34
  import { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
34
- import { ref, computed, inject } from 'vue';
35
+ import { ref, computed, inject, } from 'vue';
35
36
  import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
36
37
  import { getAMapUiPromise } from '@jetlinks-web/utils';
37
38
  import { MapProps } from './util';
@@ -19,6 +19,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
19
19
  "AutoComplete": "setup-maybe-ref",
20
20
  "autoCompleteProps": "setup-maybe-ref",
21
21
  "ref": "setup-const",
22
+ "defineOptions": "setup-const",
22
23
  "watch": "setup-const",
23
24
  "props": "setup-reactive-const",
24
25
  "emit": "setup-const",
@@ -3,6 +3,7 @@
3
3
  "status": "props",
4
4
  "statusNames": "props",
5
5
  "computed": "setup-const",
6
+ "defineOptions": "setup-const",
6
7
  "getHexColor": "setup-maybe-ref",
7
8
  "Badge": "setup-maybe-ref",
8
9
  "props": "setup-reactive-const",
@@ -10,7 +11,7 @@
10
11
  } */
11
12
  import { defineComponent as _defineComponent } from 'vue';
12
13
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
13
- import { computed } from 'vue';
14
+ import { computed, } from 'vue';
14
15
  import { getHexColor } from './color';
15
16
  import { Badge } from 'ant-design-vue/lib/';
16
17
  const __sfc_main__ = _defineComponent({