xrk-components 2.0.0-beta.66 → 2.0.0-beta.67

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.
package/lib/index.esm.js CHANGED
@@ -76904,7 +76904,7 @@ var script$2 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$2
76904
76904
  renderMenuTop: { type: Function, required: false }
76905
76905
  }, emits: ["menuClick"], setup: function (__props, _a) {
76906
76906
  var _b, _c, _d, _e;
76907
- var emits = _a.emit;
76907
+ var expose = _a.expose, emits = _a.emit;
76908
76908
  var props = __props;
76909
76909
  var ctx = getCurrentInstance();
76910
76910
  var slots = useSlots();
@@ -76959,6 +76959,11 @@ var script$2 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$2
76959
76959
  : '';
76960
76960
  }
76961
76961
  });
76962
+ expose({
76963
+ initCurrentMenu: function () {
76964
+ currentMenu.value = menuBase.value[0];
76965
+ }
76966
+ });
76962
76967
  return function (_ctx, _cache) {
76963
76968
  var _a;
76964
76969
  return (openBlock(), createElementBlock("div", _hoisted_1$1, [
package/lib/index.umd.js CHANGED
@@ -76907,7 +76907,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
76907
76907
  renderMenuTop: { type: Function, required: false }
76908
76908
  }, emits: ["menuClick"], setup: function (__props, _a) {
76909
76909
  var _b, _c, _d, _e;
76910
- var emits = _a.emit;
76910
+ var expose = _a.expose, emits = _a.emit;
76911
76911
  var props = __props;
76912
76912
  var ctx = vue.getCurrentInstance();
76913
76913
  var slots = vue.useSlots();
@@ -76962,6 +76962,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
76962
76962
  : '';
76963
76963
  }
76964
76964
  });
76965
+ expose({
76966
+ initCurrentMenu: function () {
76967
+ currentMenu.value = menuBase.value[0];
76968
+ }
76969
+ });
76965
76970
  return function (_ctx, _cache) {
76966
76971
  var _a;
76967
76972
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "2.0.0-beta.66",
3
+ "version": "2.0.0-beta.67",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",