xrk-components 0.3.4 → 0.3.7
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 +38675 -104
- package/lib/index.umd.js +41568 -3000
- package/lib/packages/base/config-provider/index.d.ts +4 -0
- package/lib/packages/base/tool-tip/tool-tip.d.ts +3 -0
- package/lib/packages/index.d.ts +1 -1
- package/lib/packages/types.d.ts +2 -1
- package/lib/tools/use-namespace.d.ts +1 -0
- package/package.json +8 -7
- package/patches/element-plus+2.2.8.patch +25 -0
- package/tsconfig.json +2 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
export declare const BaseConfigProvider: DefineComponent<any, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
}>;
|
|
@@ -7,6 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
trigger: {
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
required: false;
|
|
10
|
+
default: string;
|
|
10
11
|
};
|
|
11
12
|
transition: {
|
|
12
13
|
type: StringConstructor;
|
|
@@ -56,6 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
57
|
trigger: {
|
|
57
58
|
type: StringConstructor;
|
|
58
59
|
required: false;
|
|
60
|
+
default: string;
|
|
59
61
|
};
|
|
60
62
|
transition: {
|
|
61
63
|
type: StringConstructor;
|
|
@@ -96,6 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
98
|
};
|
|
97
99
|
}>>, {
|
|
98
100
|
popperClass: string;
|
|
101
|
+
trigger: string;
|
|
99
102
|
transition: string;
|
|
100
103
|
disabled: boolean;
|
|
101
104
|
enterable: boolean;
|
package/lib/packages/index.d.ts
CHANGED
package/lib/packages/types.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type { BasePaginationProps, PaginationInfoType } from './base/pagination'
|
|
|
10
10
|
export type { BaseFormProps, BaseFormItemProps } from './base/form/';
|
|
11
11
|
export type { BaseTableProps, BaseTableColumnProps } from './base/table/types/type';
|
|
12
12
|
export type { BaseDialogProps, DialogBtnConfigProps } from './base/dialog';
|
|
13
|
-
export type { XrkSearchProps } from './xrk/search';
|
|
13
|
+
export type { XrkSearchProps, XrkSearchRef } from './xrk/search';
|
|
14
14
|
export type { ComponentRender, ResetBtnType, SearchBtnType, SerachColumnType } from './xrk/search/types/type';
|
|
15
15
|
export type { XrkTableProps } from './xrk/table/types/type';
|
|
16
|
+
export type { XrkTableRef } from './xrk/table';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setGlobalNamespace: (namespace?: string) => void;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xrk-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.esm.js",
|
|
6
6
|
"typings": "lib/packages/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "webpack-dev-server --hot --progress --config webpack.conf.js",
|
|
9
|
-
"build:esm-bundle": "rollup --config rollup.config.js"
|
|
9
|
+
"build:esm-bundle": "rollup --config rollup.config.js",
|
|
10
|
+
"postinstall": "patch-package"
|
|
10
11
|
},
|
|
11
12
|
"keywords": [],
|
|
12
13
|
"author": "",
|
|
@@ -23,7 +24,9 @@
|
|
|
23
24
|
"acorn-jsx": "^5.3.2",
|
|
24
25
|
"autoprefixer": "^10.4.7",
|
|
25
26
|
"css-loader": "^6.7.1",
|
|
27
|
+
"element-plus": "^2.2.8",
|
|
26
28
|
"html-webpack-plugin": "^5.5.0",
|
|
29
|
+
"patch-package": "^6.4.7",
|
|
27
30
|
"rollup": "^2.75.7",
|
|
28
31
|
"rollup-plugin-babel": "^4.4.0",
|
|
29
32
|
"rollup-plugin-clear": "^2.0.7",
|
|
@@ -35,16 +38,14 @@
|
|
|
35
38
|
"style-loader": "^3.3.1",
|
|
36
39
|
"ts-loader": "^9.3.1",
|
|
37
40
|
"typescript": "^4.7.4",
|
|
41
|
+
"vue": "^3.2.27",
|
|
38
42
|
"vue-loader": "^17.0.0",
|
|
39
43
|
"webpack": "^5.73.0",
|
|
40
44
|
"webpack-cli": "^4.10.0",
|
|
41
|
-
"webpack-dev-server": "^4.9.3"
|
|
42
|
-
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"element-plus": "^2.2.8",
|
|
45
|
-
"vue": "^3.2.27",
|
|
45
|
+
"webpack-dev-server": "^4.9.3",
|
|
46
46
|
"xrk-tools": "^1.0.27"
|
|
47
47
|
},
|
|
48
|
+
"dependencies": {},
|
|
48
49
|
"browserslist": [
|
|
49
50
|
"defaults",
|
|
50
51
|
"not ie < 8",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
diff --git a/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs b/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs
|
|
2
|
+
index d3c8a7f..72e61b9 100644
|
|
3
|
+
--- a/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs
|
|
4
|
+
+++ b/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs
|
|
5
|
+
@@ -70,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
if (maxDate.value === maxDate_ && minDate.value === minDate_) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
+ emit("calendar-change", [minDate_.toDate(), maxDate_ && maxDate_.toDate()]);
|
|
10
|
+
maxDate.value = maxDate_;
|
|
11
|
+
minDate.value = minDate_;
|
|
12
|
+
if (!close)
|
|
13
|
+
diff --git a/node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs b/node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs
|
|
14
|
+
index 3d722a7..e48b32e 100644
|
|
15
|
+
--- a/node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs
|
|
16
|
+
+++ b/node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs
|
|
17
|
+
@@ -5,7 +5,7 @@ import { buildProps } from '../../../../utils/vue/props/runtime.mjs';
|
|
18
|
+
const panelMonthRangeProps = buildProps({
|
|
19
|
+
...panelRangeSharedProps
|
|
20
|
+
});
|
|
21
|
+
-const panelMonthRangeEmits = ["pick", "set-picker-option"];
|
|
22
|
+
+const panelMonthRangeEmits = ["pick", "calendar-change", "set-picker-option"];
|
|
23
|
+
|
|
24
|
+
export { panelMonthRangeEmits, panelMonthRangeProps };
|
|
25
|
+
//# sourceMappingURL=panel-month-range.mjs.map
|