@jetlinks-web/components 2.6.21 → 2.6.22

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 (142) hide show
  1. package/es/AMap/Map.js +1 -2
  2. package/es/AutoComplete/AutoComplete.js +0 -1
  3. package/es/BadgeStatus/Badge.js +1 -2
  4. package/es/CardSelect/CardSelect.js +1 -2
  5. package/es/CheckButton/CheckButton.js +1 -2
  6. package/es/DragModal/DragModal.js +0 -1
  7. package/es/Echarts/Echarts.js +1 -2
  8. package/es/EditTable/EditTable.js +4 -6
  9. package/es/EditTable/FormItem.js +0 -1
  10. package/es/EditTable/Header.js +5 -3
  11. package/es/EditTable/components/ContextMenu/Menu.js +1 -2
  12. package/es/EditTable/components/Search/search.js +1 -2
  13. package/es/EditTable/components/Search/sort.js +1 -3
  14. package/es/EditTable/group.js +7 -10
  15. package/es/EditTable/hooks/useValidate.js +1 -1
  16. package/es/FlameGraph/FlameGraph.js +2 -2
  17. package/es/FullPage/FullPage.js +1 -2
  18. package/es/LocaleProvider/index.js +1 -2
  19. package/es/PermissionButton/index.js +3 -4
  20. package/es/ProLayout/Basic/BasicLayout.js +34 -39
  21. package/es/ProLayout/Basic/Header.js +3 -7
  22. package/es/ProLayout/PageContainer/index.js +8 -12
  23. package/es/ProLayout/SiderMenu/BaseMenu.js +13 -36
  24. package/es/ProLayout/SiderMenu/SiderMenu.js +14 -34
  25. package/es/ProLayout/TopHeader/index.js +1 -9
  26. package/es/ProLayout/util.js +5 -5
  27. package/es/ProTable/Content.js +34 -18
  28. package/es/RadioButton/RadioButton.js +0 -1
  29. package/es/Search/Advanced/SaveHistory.js +1 -2
  30. package/es/Search/Item.js +1 -2
  31. package/es/Title/title.js +0 -1
  32. package/lib/AMap/Map.js +1 -2
  33. package/lib/AutoComplete/AutoComplete.js +0 -1
  34. package/lib/BadgeStatus/Badge.js +1 -2
  35. package/lib/CardSelect/CardSelect.js +1 -2
  36. package/lib/CheckButton/CheckButton.js +1 -2
  37. package/lib/DragModal/DragModal.js +0 -1
  38. package/lib/Echarts/Echarts.js +1 -2
  39. package/lib/EditTable/EditTable.js +4 -6
  40. package/lib/EditTable/FormItem.js +0 -1
  41. package/lib/EditTable/Header.js +5 -3
  42. package/lib/EditTable/components/ContextMenu/Menu.js +1 -2
  43. package/lib/EditTable/components/Search/search.js +1 -2
  44. package/lib/EditTable/components/Search/sort.js +1 -3
  45. package/lib/EditTable/group.js +7 -10
  46. package/lib/EditTable/hooks/useValidate.js +1 -1
  47. package/lib/FlameGraph/FlameGraph.js +2 -2
  48. package/lib/FullPage/FullPage.js +1 -2
  49. package/lib/LocaleProvider/index.js +1 -2
  50. package/lib/PermissionButton/index.js +3 -4
  51. package/lib/ProLayout/Basic/BasicLayout.js +33 -38
  52. package/lib/ProLayout/Basic/Header.js +2 -6
  53. package/lib/ProLayout/PageContainer/index.js +7 -11
  54. package/lib/ProLayout/SiderMenu/BaseMenu.js +14 -36
  55. package/lib/ProLayout/SiderMenu/SiderMenu.js +13 -33
  56. package/lib/ProLayout/TopHeader/index.js +2 -9
  57. package/lib/ProLayout/util.js +5 -5
  58. package/lib/ProTable/Content.js +34 -18
  59. package/lib/RadioButton/RadioButton.js +0 -1
  60. package/lib/Search/Advanced/SaveHistory.js +1 -2
  61. package/lib/Search/Item.js +1 -2
  62. package/lib/Title/title.js +0 -1
  63. package/package.json +2 -2
  64. package/es/CardSelect/style/index.css +0 -24
  65. package/es/CardSelect/style/index.less +0 -26
  66. package/es/CheckButton/style/index.css +0 -37
  67. package/es/CheckButton/style/index.less +0 -40
  68. package/es/DragModal/style/index.css +0 -82
  69. package/es/DragModal/style/index.less +0 -97
  70. package/es/EditTable/style/body.less +0 -66
  71. package/es/EditTable/style/form.less +0 -33
  72. package/es/EditTable/style/group.less +0 -32
  73. package/es/EditTable/style/header.less +0 -77
  74. package/es/EditTable/style/index.css +0 -267
  75. package/es/EditTable/style/index.less +0 -41
  76. package/es/EditTable/style/menu.less +0 -25
  77. package/es/EditTable/style/table.less +0 -47
  78. package/es/Ellipsis/style/index.css +0 -17
  79. package/es/Ellipsis/style/index.less +0 -20
  80. package/es/FlameGraph/style/index.css +0 -43
  81. package/es/FlameGraph/style/index.less +0 -52
  82. package/es/MonacoEditor/style/index.css +0 -4
  83. package/es/MonacoEditor/style/index.less +0 -4
  84. package/es/ProLayout/Basic/BasicLayout.less +0 -66
  85. package/es/ProLayout/Basic/Header.less +0 -8
  86. package/es/ProLayout/PageContainer/index.less +0 -103
  87. package/es/ProLayout/SiderMenu/index.less +0 -231
  88. package/es/ProLayout/TopHeader/index.less +0 -174
  89. package/es/ProLayout/style/default.less +0 -4
  90. package/es/ProLayout/style/style.less +0 -7
  91. package/es/ProTable/style/ProTable.less +0 -138
  92. package/es/RadioButton/style/index.css +0 -20
  93. package/es/RadioButton/style/index.less +0 -19
  94. package/es/Scrollbar/style/index.css +0 -65
  95. package/es/Scrollbar/style/index.less +0 -83
  96. package/es/Search/style/Item.less +0 -33
  97. package/es/Search/style/Search.less +0 -179
  98. package/es/Title/style/index.css +0 -23
  99. package/es/Title/style/index.less +0 -25
  100. package/es/style/index.css +0 -5237
  101. package/es/style/variable.css +0 -4
  102. package/es/style/variable.less +0 -4
  103. package/lib/CardSelect/style/index.css +0 -24
  104. package/lib/CardSelect/style/index.less +0 -26
  105. package/lib/CheckButton/style/index.css +0 -37
  106. package/lib/CheckButton/style/index.less +0 -40
  107. package/lib/DragModal/style/index.css +0 -82
  108. package/lib/DragModal/style/index.less +0 -97
  109. package/lib/EditTable/style/body.less +0 -66
  110. package/lib/EditTable/style/form.less +0 -33
  111. package/lib/EditTable/style/group.less +0 -32
  112. package/lib/EditTable/style/header.less +0 -77
  113. package/lib/EditTable/style/index.css +0 -267
  114. package/lib/EditTable/style/index.less +0 -41
  115. package/lib/EditTable/style/menu.less +0 -25
  116. package/lib/EditTable/style/table.less +0 -47
  117. package/lib/Ellipsis/style/index.css +0 -17
  118. package/lib/Ellipsis/style/index.less +0 -20
  119. package/lib/FlameGraph/style/index.css +0 -43
  120. package/lib/FlameGraph/style/index.less +0 -52
  121. package/lib/MonacoEditor/style/index.css +0 -4
  122. package/lib/MonacoEditor/style/index.less +0 -4
  123. package/lib/ProLayout/Basic/BasicLayout.less +0 -66
  124. package/lib/ProLayout/Basic/Header.less +0 -8
  125. package/lib/ProLayout/PageContainer/index.less +0 -103
  126. package/lib/ProLayout/SiderMenu/index.less +0 -231
  127. package/lib/ProLayout/TopHeader/index.less +0 -174
  128. package/lib/ProLayout/style/default.less +0 -4
  129. package/lib/ProLayout/style/style.less +0 -7
  130. package/lib/ProTable/style/ProTable.less +0 -138
  131. package/lib/RadioButton/style/index.css +0 -20
  132. package/lib/RadioButton/style/index.less +0 -19
  133. package/lib/Scrollbar/style/index.css +0 -65
  134. package/lib/Scrollbar/style/index.less +0 -83
  135. package/lib/Search/style/Item.less +0 -33
  136. package/lib/Search/style/Search.less +0 -179
  137. package/lib/Title/style/index.css +0 -23
  138. package/lib/Title/style/index.less +0 -25
  139. package/lib/style/components.less +0 -10
  140. package/lib/style/index.css +0 -5237
  141. package/lib/style/variable.css +0 -4
  142. package/lib/style/variable.less +0 -4
@@ -1,5 +1,4 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
- import { isVNode as _isVNode } from "vue";
3
2
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
3
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
5
4
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
@@ -12,9 +11,6 @@ import IconFont from '../../Icon';
12
11
  import { regular } from '@jetlinks-web/utils';
13
12
  import { Menu } from 'ant-design-vue/es/';
14
13
  import { createFromIconfontCN } from '@ant-design/icons-vue';
15
- function _isSlot(s) {
16
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
17
- }
18
14
  export var baseMenuProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
19
15
  prefixCls: {
20
16
  type: String,
@@ -118,8 +114,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
118
114
  });
119
115
  _defineProperty(this, "getSubMenuOrItem", function (item) {
120
116
  var _item$meta, _item$meta2, _item$meta7, _item$meta8;
121
- if (Array.isArray(item.children) && item.children.length > 0 && !(item === null || item === void 0 ? void 0 : (_item$meta = item.meta) === null || _item$meta === void 0 ? void 0 : _item$meta.hideInMenu) && !(item === null || item === void 0 ? void 0 : (_item$meta2 = item.meta) === null || _item$meta2 === void 0 ? void 0 : _item$meta2.hideChildrenInMenu)) {
122
- var _slot;
117
+ if (Array.isArray(item.children) && item.children.length > 0 && !(item !== null && item !== void 0 && (_item$meta = item.meta) !== null && _item$meta !== void 0 && _item$meta.hideInMenu) && !(item !== null && item !== void 0 && (_item$meta2 = item.meta) !== null && _item$meta2 !== void 0 && _item$meta2.hideChildrenInMenu)) {
123
118
  var _item$meta3, _item$meta4, _item$meta5, _item$meta6;
124
119
  if (_this.props.subMenuItemRender) {
125
120
  var subMenuItemRender = withCtx(_this.props.subMenuItemRender, _this.ctx);
@@ -132,21 +127,13 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
132
127
  prefixCls = _this$props.prefixCls,
133
128
  locale = _this$props.locale;
134
129
  var menuTitle = locale && locale((_item$meta3 = item.meta) === null || _item$meta3 === void 0 ? void 0 : _item$meta3.title) || ((_item$meta4 = item.meta) === null || _item$meta4 === void 0 ? void 0 : _item$meta4.title);
135
- var defaultTitle = ((_item$meta5 = item.meta) === null || _item$meta5 === void 0 ? void 0 : _item$meta5.icon) ? _createVNode("span", {
130
+ var defaultTitle = (_item$meta5 = item.meta) !== null && _item$meta5 !== void 0 && _item$meta5.icon ? _createVNode("span", {
136
131
  "class": "".concat(prefixCls, "-menu-item")
137
132
  }, [_createVNode("span", {
138
133
  "class": "".concat(prefixCls, "-menu-item-title")
139
- }, _isSlot(menuTitle) ? menuTitle : {
140
- default: function _default() {
141
- return [menuTitle];
142
- }
143
- })]) : _createVNode("span", {
134
+ }, [menuTitle])]) : _createVNode("span", {
144
135
  "class": "".concat(prefixCls, "-menu-item")
145
- }, _isSlot(menuTitle) ? menuTitle : {
146
- default: function _default() {
147
- return [menuTitle];
148
- }
149
- });
136
+ }, [menuTitle]);
150
137
  return _createVNode(Menu.SubMenu, {
151
138
  "title": defaultTitle,
152
139
  "key": item.path,
@@ -155,9 +142,9 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
155
142
  "iconUrl": _this.props.iconfontUrl,
156
143
  "icon": (_item$meta6 = item.meta) === null || _item$meta6 === void 0 ? void 0 : _item$meta6.icon
157
144
  }, null)
158
- }, _isSlot(_slot = _this.getNavMenuItems(item.children)) ? _slot : {
145
+ }, {
159
146
  default: function _default() {
160
- return [_slot];
147
+ return [_this.getNavMenuItems(item.children)];
161
148
  }
162
149
  });
163
150
  }
@@ -174,14 +161,13 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
174
161
  "disabled": (_item$meta7 = item.meta) === null || _item$meta7 === void 0 ? void 0 : _item$meta7.disabled,
175
162
  "danger": (_item$meta8 = item.meta) === null || _item$meta8 === void 0 ? void 0 : _item$meta8.danger,
176
163
  "key": item.path
177
- }, _isSlot(title) ? title : {
164
+ }, {
178
165
  default: function _default() {
179
166
  return [title];
180
167
  }
181
168
  });
182
169
  });
183
170
  _defineProperty(this, "getMenuItem", function (item) {
184
- var _slot2;
185
171
  var _item$meta9, _item$meta10, _item$meta11, _item$meta12, _item$meta13;
186
172
  var meta = _objectSpread({}, item.meta);
187
173
  var target = meta.target || null;
@@ -204,27 +190,19 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
204
190
  "icon": (_item$meta10 = item.meta) === null || _item$meta10 === void 0 ? void 0 : _item$meta10.icon
205
191
  }, null) || undefined;
206
192
  var menuTitle = locale && locale((_item$meta11 = item.meta) === null || _item$meta11 === void 0 ? void 0 : _item$meta11.title) || ((_item$meta12 = item.meta) === null || _item$meta12 === void 0 ? void 0 : _item$meta12.title);
207
- var defaultTitle = ((_item$meta13 = item.meta) === null || _item$meta13 === void 0 ? void 0 : _item$meta13.icon) ? _createVNode(CustomTag, _objectSpread(_objectSpread(_objectSpread({}, attrs), props), {}, {
193
+ var defaultTitle = (_item$meta13 = item.meta) !== null && _item$meta13 !== void 0 && _item$meta13.icon ? _createVNode(CustomTag, _objectSpread(_objectSpread(_objectSpread({}, attrs), props), {}, {
208
194
  "class": "".concat(prefixCls, "-menu-item")
209
195
  }), {
210
196
  default: function _default() {
211
197
  return [icon, _createVNode("span", {
212
198
  "class": "".concat(prefixCls, "-menu-item-title")
213
- }, _isSlot(menuTitle) ? menuTitle : {
214
- default: function _default() {
215
- return [menuTitle];
216
- }
217
- })];
199
+ }, [menuTitle])];
218
200
  }
219
201
  }) : _createVNode(CustomTag, _objectSpread(_objectSpread(_objectSpread({}, attrs), props), {}, {
220
202
  "class": "".concat(prefixCls, "-menu-item")
221
- }), _isSlot(_slot2 = _createVNode("span", null, _isSlot(menuTitle) ? menuTitle : {
222
- default: function _default() {
223
- return [menuTitle];
224
- }
225
- })) ? _slot2 : {
203
+ }), {
226
204
  default: function _default() {
227
- return [_slot2];
205
+ return [_createVNode("span", null, [menuTitle])];
228
206
  }
229
207
  });
230
208
  return [defaultTitle, icon];
@@ -262,7 +240,6 @@ export default defineComponent({
262
240
  emit('click', args);
263
241
  };
264
242
  return function () {
265
- var _slot3;
266
243
  return _createVNode(Menu, _objectSpread({
267
244
  "key": "Menu",
268
245
  "inlineIndent": 16,
@@ -273,9 +250,9 @@ export default defineComponent({
273
250
  "onOpenChange": handleOpenChange,
274
251
  "onSelect": handleSelect,
275
252
  "onClick": handleClick
276
- }, props.menuProps), _isSlot(_slot3 = menuUtil.getNavMenuItems(props.menuData)) ? _slot3 : {
253
+ }, props.menuProps), {
277
254
  default: function _default() {
278
- return [_slot3];
255
+ return [menuUtil.getNavMenuItems(props.menuData)];
279
256
  }
280
257
  });
281
258
  };
@@ -1,6 +1,6 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
- import { createVNode as _createVNode, resolveDirective as _resolveDirective, createTextVNode as _createTextVNode, isVNode as _isVNode, Fragment as _Fragment } from "vue";
3
+ import { createVNode as _createVNode, createTextVNode as _createTextVNode, Fragment as _Fragment } from "vue";
4
4
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
5
5
  import { LayoutSider as Sider, Menu, Tooltip } from 'ant-design-vue/es/';
6
6
  import BaseMenu, { baseMenuProps } from './BaseMenu';
@@ -10,9 +10,6 @@ import IconFont from '../../Icon';
10
10
  import { useRouteContext } from '../RouteContext';
11
11
  import { computed, unref } from 'vue';
12
12
  import "../typings";
13
- function _isSlot(s) {
14
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
15
- }
16
13
  export var siderMenuProps = _objectSpread(_objectSpread(_objectSpread({}, defaultSettingProps), baseMenuProps), {}, {
17
14
  logo: {
18
15
  type: [Object, String, Function],
@@ -145,11 +142,7 @@ export var defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props)
145
142
  if (layout === 'mix' && renderFunction === false) {
146
143
  return null;
147
144
  }
148
- var titleDom = _createVNode("h1", null, _isSlot(title) ? title : {
149
- default: function _default() {
150
- return [title];
151
- }
152
- });
145
+ var titleDom = _createVNode("h1", null, [title]);
153
146
  if (renderKey === 'menuHeaderRender') {
154
147
  return null;
155
148
  }
@@ -159,11 +152,7 @@ export var defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props)
159
152
  return renderFunction(logoDom, props.collapsed ? null : titleDom, props);
160
153
  }
161
154
  if (Array.isArray(renderFunction)) {
162
- return _createVNode(_Fragment, null, _isSlot(renderFunction) ? renderFunction : {
163
- default: function _default() {
164
- return [renderFunction];
165
- }
166
- });
155
+ return _createVNode(_Fragment, null, [renderFunction]);
167
156
  }
168
157
  return _createVNode("a", null, [logoDom, props.collapsed ? null : titleDom]);
169
158
  };
@@ -175,7 +164,6 @@ export var defaultRenderCollapsedButton = function defaultRenderCollapsedButton(
175
164
  }, null);
176
165
  };
177
166
  var SiderMenu = function SiderMenu(props) {
178
- var _slot;
179
167
  var collapsed = props.collapsed,
180
168
  siderWidth = props.siderWidth,
181
169
  breakpoint = props.breakpoint,
@@ -276,17 +264,9 @@ var SiderMenu = function SiderMenu(props) {
276
264
  "onClick": props.layout !== 'mix' ? props.onMenuHeaderClick : undefined,
277
265
  "id": "logo",
278
266
  "style": props === null || props === void 0 ? void 0 : props.logoStyle
279
- }, _isSlot(headerDom) ? headerDom : {
280
- default: function _default() {
281
- return [headerDom];
282
- }
283
- }), extraDom && _createVNode("div", {
267
+ }, [headerDom]), extraDom && _createVNode("div", {
284
268
  "class": _defineProperty(_defineProperty({}, "".concat(baseClassName, "-extra"), true), "".concat(baseClassName, "-extra-no-logo"), !headerDom)
285
- }, _isSlot(extraDom) ? extraDom : {
286
- default: function _default() {
287
- return [extraDom];
288
- }
289
- }), _createVNode("div", {
269
+ }, [extraDom]), _createVNode("div", {
290
270
  "class": "".concat(baseClassName, "-body"),
291
271
  "style": "flex: 1; overflow: hidden auto;"
292
272
  }, [props.layoutType !== LayoutType.CARD ? menuContentRender && menuContentRender(props, defaultMenuDom) || defaultMenuDom : null]), _createVNode("div", {
@@ -303,17 +283,17 @@ var SiderMenu = function SiderMenu(props) {
303
283
  props.onCollapse(!props.collapsed);
304
284
  }
305
285
  }
306
- }, _isSlot(_slot = _createVNode(Menu.Item, {
307
- "key": 'collapsed-button',
308
- "class": "".concat(baseClassName, "-collapsed-button"),
309
- "title": false
310
286
  }, {
311
287
  default: function _default() {
312
- return [collapsedButtonRender && typeof collapsedButtonRender === 'function' ? collapsedButtonRender(collapsed) : collapsedButtonRender];
313
- }
314
- })) ? _slot : {
315
- default: function _default() {
316
- return [_slot];
288
+ return [_createVNode(Menu.Item, {
289
+ "key": 'collapsed-button',
290
+ "class": "".concat(baseClassName, "-collapsed-button"),
291
+ "title": false
292
+ }, {
293
+ default: function _default() {
294
+ return [collapsedButtonRender && typeof collapsedButtonRender === 'function' ? collapsedButtonRender(collapsed) : collapsedButtonRender];
295
+ }
296
+ })];
317
297
  }
318
298
  }) : null])];
319
299
  }
@@ -1,4 +1,3 @@
1
- import { isVNode as _isVNode } from "vue";
2
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
2
  import { createVNode as _createVNode } from "vue";
4
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
@@ -12,9 +11,6 @@ import { defaultSettingProps, LayoutType } from '../defaultSettings';
12
11
  import { defaultPrefixCls, useRouteContext } from '../RouteContext';
13
12
  import BaseMenu from '../SiderMenu/BaseMenu';
14
13
  import { clearMenuItem } from '../util';
15
- function _isSlot(s) {
16
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
17
- }
18
14
  export var baseHeaderProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
19
15
  prefixCls: PropTypes.string.def('ant-pro'),
20
16
  collapsed: PropTypes.looseBool,
@@ -141,11 +137,7 @@ export var TopNavHeader = function TopNavHeader(props) {
141
137
  "class": "".concat(prefixCls, "-logo"),
142
138
  "key": "logo",
143
139
  "id": "logo"
144
- }, _isSlot(headerDom) ? headerDom : {
145
- default: function _default() {
146
- return [headerDom];
147
- }
148
- })]), _createVNode("div", {
140
+ }, [headerDom])]), _createVNode("div", {
149
141
  "style": {
150
142
  flex: 1
151
143
  },
@@ -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 ? void 0 : _finalItem$meta.hideInMenu) {
6
+ if ((_finalItem$meta = finalItem.meta) !== null && _finalItem$meta !== void 0 && _finalItem$meta.hideInMenu) {
7
7
  return null;
8
8
  }
9
- if (finalItem && (finalItem === null || finalItem === void 0 ? void 0 : finalItem.children)) {
9
+ if (finalItem && finalItem !== null && finalItem !== void 0 && finalItem.children) {
10
10
  var _finalItem$meta2;
11
- if (!((_finalItem$meta2 = finalItem.meta) === null || _finalItem$meta2 === void 0 ? void 0 : _finalItem$meta2.hideChildInMenu) && finalItem.children.some(function (child) {
11
+ if (!((_finalItem$meta2 = finalItem.meta) !== null && _finalItem$meta2 !== 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 ? void 0 : _child$meta.hideInMenu);
13
+ return child && child.name && !((_child$meta = child.meta) !== null && _child$meta !== 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 ? void 0 : _finalItem$meta3.hideInMenu)) {
30
+ if (!finalItem.name || (_finalItem$meta3 = finalItem.meta) !== null && _finalItem$meta3 !== void 0 && _finalItem$meta3.hideInMenu) {
31
31
  return null;
32
32
  }
33
33
  if (finalItem.children) {
@@ -21,29 +21,36 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
21
21
  "_contentProps": "setup-maybe-ref",
22
22
  "Table": "setup-maybe-ref",
23
23
  "get": "setup-maybe-ref",
24
+ "omit": "setup-maybe-ref",
24
25
  "Empty": "setup-maybe-ref",
26
+ "useTableInject": "setup-maybe-ref",
25
27
  "props": "setup-reactive-const",
26
28
  "slots": "setup-maybe-ref",
29
+ "_rowSelection": "setup-maybe-ref",
27
30
  "_columns": "setup-ref",
31
+ "_slots": "setup-ref",
28
32
  "_scroll": "setup-ref",
29
- "gridTemplateColumns": "setup-ref"
33
+ "gridTemplateColumns": "setup-ref",
34
+ "onClick": "setup-const"
30
35
  } */
31
36
  import { defineComponent as _defineComponent } from 'vue';
32
- 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";
37
+ 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";
33
38
  const _hoisted_1 = { class: "jtable-box" };
34
39
  const _hoisted_2 = {
35
40
  key: 0,
36
41
  class: "jtable-card"
37
42
  };
38
- const _hoisted_3 = {
43
+ const _hoisted_3 = ["onClick"];
44
+ const _hoisted_4 = {
39
45
  key: 1,
40
46
  class: "j-table-empty"
41
47
  };
42
48
  import { useSlots, computed } from 'vue';
43
49
  import { _contentProps } from "./setting";
44
50
  import { Table } from 'ant-design-vue/es/';
45
- import { get } from 'lodash-es';
51
+ import { get, omit } from 'lodash-es';
46
52
  import Empty from '../Empty';
53
+ import { useTableInject } from './hooks';
47
54
  const __sfc_main__ = _defineComponent({
48
55
  ...{
49
56
  name: 'Content'
@@ -58,7 +65,11 @@ const __sfc_main__ = _defineComponent({
58
65
  setup(__props) {
59
66
  const props = __props;
60
67
  const slots = useSlots();
68
+ const _rowSelection = useTableInject();
61
69
  const _columns = computed(() => props.columns.filter((i) => !_optionalChain([i, 'optionalAccess', _2 => _2.hideInTable])));
70
+ const _slots = computed(() => {
71
+ return omit(slots, ['emptyText', 'bodyCell']);
72
+ });
62
73
  const _scroll = computed(() => {
63
74
  if (props.scroll === false) {
64
75
  return {
@@ -74,6 +85,12 @@ const __sfc_main__ = _defineComponent({
74
85
  const gridTemplateColumns = computed(() => {
75
86
  return `repeat(${props.column}, 1fr)`;
76
87
  });
88
+ const onClick = (item) => {
89
+ if (_rowSelection && _rowSelection.value) {
90
+ const _selected = _optionalChain([_rowSelection, 'access', _3 => _3.value, 'access', _4 => _4.selectedRowKeys, 'optionalAccess', _5 => _5.includes, 'call', _6 => _6(item[props.rowKey])]);
91
+ _optionalChain([_rowSelection, 'access', _7 => _7.value, 'access', _8 => _8.onSelect, 'optionalCall', _9 => _9(item, !_selected)]);
92
+ }
93
+ };
77
94
  return (_ctx, _cache) => {
78
95
  return (_openBlock(), _createElementBlock("div", _hoisted_1, [
79
96
  (_ctx.mode === 'CARD')
@@ -87,36 +104,35 @@ const __sfc_main__ = _defineComponent({
87
104
  (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.dataSource, (item) => {
88
105
  return (_openBlock(), _createElementBlock("div", {
89
106
  class: _normalizeClass(['jtable-card-item', props.cardBodyClass]),
90
- key: item[props.rowKey]
107
+ key: item[props.rowKey],
108
+ onClick: ($event) => (onClick(item))
91
109
  }, [
92
- _renderSlot(_ctx.$slots, "card", _normalizeProps(_guardReactiveProps(item)))
93
- ], 2 /* CLASS */));
110
+ _renderSlot(_ctx.$slots, "card", _mergeProps({ ref_for: true }, item))
111
+ ], 10 /* CLASS, PROPS */, _hoisted_3));
94
112
  }), 128 /* KEYED_FRAGMENT */))
95
113
  ], 4 /* STYLE */))
96
- : (_openBlock(), _createElementBlock("div", _hoisted_3, [
114
+ : (_openBlock(), _createElementBlock("div", _hoisted_4, [
97
115
  _renderSlot(_ctx.$slots, "emptyText", {}, () => [
98
116
  _createVNode(_unref(Empty))
99
117
  ])
100
118
  ]))
101
119
  ]))
102
120
  : (_openBlock(), _createBlock(_unref(Table), _mergeProps({ key: 1 }, props, {
121
+ "row-selection": _ctx.rowSelection || _unref(_rowSelection),
103
122
  dataSource: _ctx.dataSource,
104
123
  columns: _columns.value,
105
124
  pagination: false,
106
125
  scroll: _scroll.value,
107
- class: { 'j-table-scroll': !_optionalChain([props, 'access', _3 => _3.scroll, 'optionalAccess', _4 => _4.y]) }
126
+ class: { 'j-table-scroll': !_optionalChain([props, 'access', _10 => _10.scroll, 'optionalAccess', _11 => _11.y]) }
108
127
  }), _createSlots({
109
- headerCell: _withCtx(({ column, title }) => [
110
- _renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
111
- ]),
112
128
  bodyCell: _withCtx(({ column, record, index }) => [
113
- ((_optionalChain([column, 'optionalAccess', _5 => _5.key]) || _optionalChain([column, 'optionalAccess', _6 => _6.dataIndex])) && _optionalChain([column, 'optionalAccess', _7 => _7.scopedSlots]) && (_optionalChain([_unref, 'call', _8 => _8(slots), 'optionalAccess', _9 => _9[_optionalChain([column, 'optionalAccess', _10 => _10.dataIndex])]]) || _optionalChain([_unref, 'call', _11 => _11(slots), 'optionalAccess', _12 => _12[_optionalChain([column, 'optionalAccess', _13 => _13.key])]])))
114
- ? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _14 => _14.key]) || _optionalChain([column, 'optionalAccess', _15 => _15.dataIndex]), _mergeProps({ key: 0 }, record, {
129
+ ((_optionalChain([column, 'optionalAccess', _12 => _12.key]) || _optionalChain([column, 'optionalAccess', _13 => _13.dataIndex])) && _optionalChain([column, 'optionalAccess', _14 => _14.scopedSlots]) && (_optionalChain([_slots, 'access', _15 => _15.value, 'optionalAccess', _16 => _16[_optionalChain([column, 'optionalAccess', _17 => _17.dataIndex])]]) || _optionalChain([_slots, 'access', _18 => _18.value, 'optionalAccess', _19 => _19[_optionalChain([column, 'optionalAccess', _20 => _20.key])]])))
130
+ ? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _21 => _21.key]) || _optionalChain([column, 'optionalAccess', _22 => _22.dataIndex]), _mergeProps({ key: 0 }, record, {
115
131
  index: index,
116
132
  column: column
117
133
  }))
118
134
  : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
119
- _createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _16 => _16.dataIndex]) || _optionalChain([column, 'optionalAccess', _17 => _17.key])) || '--'), 1 /* TEXT */)
135
+ _createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _23 => _23.dataIndex]) || _optionalChain([column, 'optionalAccess', _24 => _24.key])) || '--'), 1 /* TEXT */)
120
136
  ], 64 /* STABLE_FRAGMENT */))
121
137
  ]),
122
138
  emptyText: _withCtx(() => [
@@ -126,17 +142,17 @@ const __sfc_main__ = _defineComponent({
126
142
  ]),
127
143
  _: 2 /* DYNAMIC */
128
144
  }, [
129
- _renderList(_unref(slots), (_, slotKey) => {
145
+ _renderList(_slots.value, (_, slotKey) => {
130
146
  return {
131
147
  name: slotKey,
132
148
  fn: _withCtx((slotProps) => [
133
- (!['headerCell', 'bodyCell', 'emptyText'].includes(slotKey))
149
+ (!((_optionalChain([__props, 'access', _25 => _25.column, 'optionalAccess', _26 => _26.key]) || _optionalChain([__props, 'access', _27 => _27.column, 'optionalAccess', _28 => _28.dataIndex])) && _optionalChain([__props, 'access', _29 => _29.column, 'optionalAccess', _30 => _30.scopedSlots]) && (_optionalChain([_slots, 'access', _31 => _31.value, 'optionalAccess', _32 => _32[_optionalChain([__props, 'access', _33 => _33.column, 'optionalAccess', _34 => _34.dataIndex])]]) || _optionalChain([_slots, 'access', _35 => _35.value, 'optionalAccess', _36 => _36[_optionalChain([__props, 'access', _37 => _37.column, 'optionalAccess', _38 => _38.key])]]))))
134
150
  ? _renderSlot(_ctx.$slots, slotKey, _normalizeProps(_mergeProps({ key: 0 }, slotProps)))
135
151
  : _createCommentVNode("v-if", true)
136
152
  ])
137
153
  };
138
154
  })
139
- ]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["dataSource", "columns", "scroll", "class"]))
155
+ ]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["row-selection", "dataSource", "columns", "scroll", "class"]))
140
156
  ]));
141
157
  };
142
158
  }
@@ -2,7 +2,6 @@
2
2
  "value": "props",
3
3
  "options": "props",
4
4
  "columns": "props",
5
- "defineOptions": "setup-const",
6
5
  "ref": "setup-const",
7
6
  "computed": "setup-const",
8
7
  "watch": "setup-const",
@@ -22,8 +22,7 @@
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, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
26
- const _withScopeId = n => (_pushScopeId("data-v-1749203558435"), n = n(), _popScopeId(), n);
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";
27
26
  const _hoisted_1 = {
28
27
  key: 0,
29
28
  style: { "width": "240px" }
package/es/Search/Item.js CHANGED
@@ -79,8 +79,7 @@ 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, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
83
- const _withScopeId = n => (_pushScopeId("data-v-1749203557670"), n = n(), _popScopeId(), n);
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";
84
83
  const _hoisted_1 = { class: "JSearch-item" };
85
84
  const _hoisted_2 = {
86
85
  key: 0,
package/es/Title/title.js CHANGED
@@ -1,7 +1,6 @@
1
1
  /* Analyzed bindings: {
2
2
  "data": "props",
3
3
  "style": "props",
4
- "defineOptions": "setup-const",
5
4
  "props": "setup-reactive-const"
6
5
  } */
7
6
  import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
package/lib/AMap/Map.js CHANGED
@@ -10,7 +10,6 @@
10
10
  "ref": "setup-const",
11
11
  "computed": "setup-const",
12
12
  "inject": "setup-const",
13
- "defineOptions": "setup-const",
14
13
  "initAMapApiLoader": "setup-maybe-ref",
15
14
  "ElAmap": "setup-maybe-ref",
16
15
  "getAMapUiPromise": "setup-maybe-ref",
@@ -32,7 +31,7 @@
32
31
  } */
33
32
  import { defineComponent as _defineComponent } from 'vue';
34
33
  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";
35
- import { ref, computed, inject, } from 'vue';
34
+ import { ref, computed, inject } from 'vue';
36
35
  import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
37
36
  import { getAMapUiPromise } from '@jetlinks-web/utils';
38
37
  import { MapProps } from './util';
@@ -19,7 +19,6 @@ 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",
23
22
  "watch": "setup-const",
24
23
  "props": "setup-reactive-const",
25
24
  "emit": "setup-const",
@@ -3,7 +3,6 @@
3
3
  "status": "props",
4
4
  "statusNames": "props",
5
5
  "computed": "setup-const",
6
- "defineOptions": "setup-const",
7
6
  "getHexColor": "setup-maybe-ref",
8
7
  "Badge": "setup-maybe-ref",
9
8
  "props": "setup-reactive-const",
@@ -11,7 +10,7 @@
11
10
  } */
12
11
  import { defineComponent as _defineComponent } from 'vue';
13
12
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
14
- import { computed, } from 'vue';
13
+ import { computed } from 'vue';
15
14
  import { getHexColor } from './color';
16
15
  import { Badge } from 'ant-design-vue/lib/';
17
16
  const __sfc_main__ = _defineComponent({
@@ -10,7 +10,6 @@
10
10
  "computed": "setup-const",
11
11
  "ref": "setup-const",
12
12
  "watch": "setup-const",
13
- "defineOptions": "setup-const",
14
13
  "props": "setup-reactive-const",
15
14
  "emit": "setup-const",
16
15
  "selectKeys": "setup-ref",
@@ -24,7 +23,7 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
24
23
  const _hoisted_3 = { class: "j-card-select-title" };
25
24
  const _hoisted_4 = { class: "j-card-select-describe" };
26
25
  import { has } from 'lodash-es';
27
- import { computed, ref, watch, } from 'vue';
26
+ import { computed, ref, watch } from 'vue';
28
27
  const __sfc_main__ = Object.assign({
29
28
  name: 'JCardSelect'
30
29
  }, {
@@ -8,7 +8,6 @@
8
8
  "computed": "setup-const",
9
9
  "ref": "setup-const",
10
10
  "watch": "setup-const",
11
- "defineOptions": "setup-const",
12
11
  "isArray": "setup-maybe-ref",
13
12
  "props": "setup-reactive-const",
14
13
  "emit": "setup-const",
@@ -20,7 +19,7 @@
20
19
  import { defineComponent as _defineComponent } from 'vue';
21
20
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
22
21
  const _hoisted_1 = ["onClick"];
23
- import { computed, ref, watch, } from 'vue';
22
+ import { computed, ref, watch } from 'vue';
24
23
  import { isArray } from '@jetlinks-web/utils';
25
24
  const __sfc_main__ = _defineComponent({
26
25
  ...{
@@ -23,7 +23,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
23
23
  "footer": "props",
24
24
  "ref": "setup-const",
25
25
  "useSlots": "setup-const",
26
- "defineOptions": "setup-const",
27
26
  "computed": "setup-const",
28
27
  "onMounted": "setup-const",
29
28
  "watch": "setup-const",
@@ -4,7 +4,6 @@
4
4
  "nextTick": "setup-const",
5
5
  "ref": "setup-const",
6
6
  "watch": "setup-const",
7
- "defineOptions": "setup-const",
8
7
  "useECharts": "setup-maybe-ref",
9
8
  "props": "setup-reactive-const",
10
9
  "echartsDom": "setup-ref",
@@ -12,7 +11,7 @@
12
11
  } */
13
12
  import { defineComponent as _defineComponent } from 'vue';
14
13
  import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
15
- import { nextTick, ref, watch, } from 'vue';
14
+ import { nextTick, ref, watch } from 'vue';
16
15
  import { useECharts } from '@jetlinks-web/hooks';
17
16
  const __sfc_main__ = _defineComponent({
18
17
  ...{
@@ -41,7 +41,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
41
41
  "useSlots": "setup-const",
42
42
  "ref": "setup-const",
43
43
  "reactive": "setup-const",
44
- "defineOptions": "setup-const",
45
44
  "computed": "setup-const",
46
45
  "watch": "setup-const",
47
46
  "bodyProps": "setup-maybe-ref",
@@ -109,7 +108,6 @@ const _hoisted_3 = {
109
108
  key: 0,
110
109
  class: "jetlinks-table-horizontal-scroll"
111
110
  };
112
- const _hoisted_4 = /*#__PURE__*/ _createElementVNode("div", { style: { "width": "15px", "height": "100%", "overflow-x": "hidden" } }, null, -1 /* HOISTED */);
113
111
  import { FULL_SCREEN, RIGHT_MENU, TABLE_DATA_SOURCE, TABLE_ERROR, TABLE_GROUP_ACTIVE, TABLE_GROUP_ERROR, TABLE_GROUP_OPTIONS, TABLE_H_SCROLL, TABLE_OPEN_GROUP, TABLE_TOOL, TABLE_WRAPPER } from './consts';
114
112
  import { handleColumnsWidth } from './utils';
115
113
  import { useGroup, useResizeObserver, useValidate } from './hooks';
@@ -515,18 +513,18 @@ const __sfc_main__ = Object.assign({
515
513
  class: "jetlinks-table-horizontal-scroll-bar",
516
514
  ref_key: "scrollBarRef",
517
515
  ref: scrollBarRef,
518
- style: _normalizeStyle({
516
+ style: {
519
517
  width: 'calc(100% - 15px)',
520
518
  height: '100%',
521
519
  overflowX: 'scroll'
522
- }),
520
+ },
523
521
  onScroll: onHorizontalScroll
524
522
  }, [
525
523
  _createElementVNode("div", {
526
524
  style: _normalizeStyle({ minWidth: horizontalScrollWidth.value + 'px', maxWidth: horizontalScrollWidth.value + 'px', height: '100%' })
527
525
  }, null, 4 /* STYLE */)
528
- ], 36 /* STYLE, NEED_HYDRATION */),
529
- _hoisted_4
526
+ ], 544 /* NEED_HYDRATION, NEED_PATCH */),
527
+ _cache[1] || (_cache[1] = _createElementVNode("div", { style: { "width": "15px", "height": "100%", "overflow-x": "hidden" } }, null, -1 /* HOISTED */))
530
528
  ]))
531
529
  : _createCommentVNode("v-if", true),
532
530
  (_ctx.dataSource.length && _ctx.openGroup)
@@ -21,7 +21,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
21
21
  "computed": "setup-const",
22
22
  "reactive": "setup-const",
23
23
  "watch": "setup-const",
24
- "defineOptions": "setup-const",
25
24
  "provide": "setup-const",
26
25
  "get": "setup-maybe-ref",
27
26
  "isArray": "setup-maybe-ref",