xrk-components 0.3.3 → 0.3.6

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
@@ -2,6 +2,8 @@ import ElementPlus, { ElButton, ElRadioButton, ElRadioGroup, vLoading, ElRadio,
2
2
  import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, renderSlot, withDirectives, createElementBlock, watch, withKeys, normalizeStyle, createElementVNode, isRef, Fragment, renderList, createVNode, toDisplayString, createTextVNode, createCommentVNode, nextTick, shallowRef, reactive, resolveDynamicComponent, mergeProps, createSlots, withModifiers, onMounted, render, h } from 'vue';
3
3
  import { check, base } from 'xrk-tools';
4
4
 
5
+ var version = "0.3.6";
6
+
5
7
  function getDefaultExportFromCjs (x) {
6
8
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
7
9
  }
@@ -1008,7 +1010,7 @@ var script$c = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$c
1008
1010
  renderSlot(_ctx.$slots, "content")
1009
1011
  ]; }),
1010
1012
  default: withCtx(function () { return [
1011
- (__props.overShow)
1013
+ (__props.trigger === 'hover' && __props.overShow)
1012
1014
  ? (openBlock(), createElementBlock("div", {
1013
1015
  key: 0,
1014
1016
  style: normalizeStyle([{ "width": "100%" }, __props.style]),
@@ -2617,6 +2619,7 @@ var script$1 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$1
2617
2619
  removeSelectionRow: function (rowId) { var _a, _b; return (_b = (_a = XrkTablebaseTableRef.value) === null || _a === void 0 ? void 0 : _a.removeSelectionRow) === null || _b === void 0 ? void 0 : _b.call(_a, rowId); },
2618
2620
  clearSelectionRows: function () { var _a, _b; return (_b = (_a = XrkTablebaseTableRef.value) === null || _a === void 0 ? void 0 : _a.clearSelectionRows) === null || _b === void 0 ? void 0 : _b.call(_a); },
2619
2621
  setSearchValue: function (key, value) { var _a, _b; return (_b = (_a = XrkSearchRef.value) === null || _a === void 0 ? void 0 : _a.setSearchValue) === null || _b === void 0 ? void 0 : _b.call(_a, key, value); },
2622
+ getSearchValue: function () { var _a, _b; return (_b = (_a = XrkSearchRef.value) === null || _a === void 0 ? void 0 : _a.getSearchValue) === null || _b === void 0 ? void 0 : _b.call(_a); },
2620
2623
  initCurrentList: function (customQuery) {
2621
2624
  initSearchQuery();
2622
2625
  getList === null || getList === void 0 ? void 0 : getList(__assign(__assign({}, (customQuery || {})), query.value));
@@ -2895,27 +2898,27 @@ var createDialog = function (config) {
2895
2898
  */
2896
2899
 
2897
2900
  var AllComponents = /*#__PURE__*/Object.freeze({
2898
- __proto__: null,
2899
- BaseButton: BaseButton,
2900
- BaseRadio: BaseRadio,
2901
- BaseRadioGroup: BaseRadioGroup,
2902
- BaseRadioButton: BaseRadioButton,
2903
- BaseCheckbox: BaseCheckbox,
2904
- BaseCheckboxGroup: BaseCheckboxGroup,
2905
- BaseCheckboxButton: BaseCheckboxButton,
2906
- BaseDatePicker: BaseDatePicker,
2907
- BaseInput: BaseInput,
2908
- BaseSelect: BaseSelect,
2909
- BaseSwitch: BaseSwitch,
2910
- BaseTag: BaseTag,
2911
- BaseTagGroup: BaseTagGroup,
2912
- BasePagination: BasePagination,
2913
- BaseForm: BaseForm,
2914
- BaseFormItem: BaseFormItem,
2915
- XrkSearch: XrkSearch,
2916
- BaseTable: BaseTable,
2917
- XrkTable: XrkTable,
2918
- BaseDialog: BaseDialog
2901
+ __proto__: null,
2902
+ BaseButton: BaseButton,
2903
+ BaseRadio: BaseRadio,
2904
+ BaseRadioGroup: BaseRadioGroup,
2905
+ BaseRadioButton: BaseRadioButton,
2906
+ BaseCheckbox: BaseCheckbox,
2907
+ BaseCheckboxGroup: BaseCheckboxGroup,
2908
+ BaseCheckboxButton: BaseCheckboxButton,
2909
+ BaseDatePicker: BaseDatePicker,
2910
+ BaseInput: BaseInput,
2911
+ BaseSelect: BaseSelect,
2912
+ BaseSwitch: BaseSwitch,
2913
+ BaseTag: BaseTag,
2914
+ BaseTagGroup: BaseTagGroup,
2915
+ BasePagination: BasePagination,
2916
+ BaseForm: BaseForm,
2917
+ BaseFormItem: BaseFormItem,
2918
+ XrkSearch: XrkSearch,
2919
+ BaseTable: BaseTable,
2920
+ XrkTable: XrkTable,
2921
+ BaseDialog: BaseDialog
2919
2922
  });
2920
2923
 
2921
2924
  /*
@@ -2960,7 +2963,7 @@ var install = function (app) {
2960
2963
  });
2961
2964
  };
2962
2965
  var index = {
2963
- version: '0.3.3',
2966
+ version: version,
2964
2967
  install: install
2965
2968
  };
2966
2969