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.
@@ -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;
@@ -4,7 +4,7 @@ export * from './components';
4
4
  export * from './functions';
5
5
  export * from './types';
6
6
  declare const _default: {
7
- version: string;
7
+ version: any;
8
8
  install: (app: App<any>) => void;
9
9
  };
10
10
  export default _default;
@@ -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.4",
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
package/tsconfig.json CHANGED
@@ -22,6 +22,8 @@
22
22
  "example/**/*.ts",
23
23
  "example/**/*.tsx",
24
24
  "example/**/*.vue",
25
+ "tools/**/*.ts",
26
+ "tools/**/*.tsx",
25
27
  "typings/**/*.ts"
26
28
  ],
27
29
  "exclude": ["node_modules", "@type/**/*.d.ts"]