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 +26 -23
- package/lib/index.umd.js +2998 -2995
- package/lib/packages/base/button/index.d.ts +3 -0
- package/lib/packages/base/date-picker/index.d.ts +6 -0
- package/lib/packages/base/input/index.d.ts +6 -0
- package/lib/packages/base/radio/index.d.ts +6 -0
- package/lib/packages/base/select/index.d.ts +60 -0
- package/lib/packages/base/table/types/type.d.ts +45 -0
- package/lib/packages/base/tool-tip/index.d.ts +4 -0
- package/lib/packages/types.d.ts +2 -1
- package/lib/packages/xrk/search/index.d.ts +18 -0
- package/lib/packages/xrk/search/types/type.d.ts +42 -1
- package/lib/packages/xrk/table/index.d.ts +34 -0
- package/lib/packages/xrk/table/types/type.d.ts +45 -1
- package/package.json +12 -4
- package/tsconfig.json +4 -0
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
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
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:
|
|
2966
|
+
version: version,
|
|
2964
2967
|
install: install
|
|
2965
2968
|
};
|
|
2966
2969
|
|