xrk-components 0.3.7 → 0.3.10
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 +2 -0
- package/lib/index.umd.js +2 -0
- package/package.json +8 -9
- package/.babelrc +0 -4
- package/patches/element-plus+2.2.8.patch +0 -25
- package/tsconfig.json +0 -30
- package/typings/shims-vue.d.ts +0 -6
package/lib/index.esm.js
CHANGED
|
@@ -39314,10 +39314,12 @@ var script$e = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$e
|
|
|
39314
39314
|
}
|
|
39315
39315
|
};
|
|
39316
39316
|
var handleChange = function (val) {
|
|
39317
|
+
startDt.value = null;
|
|
39317
39318
|
emits('update:modelValue', val);
|
|
39318
39319
|
emits('change', val);
|
|
39319
39320
|
};
|
|
39320
39321
|
var handleVisibleChange = function (visibility) {
|
|
39322
|
+
startDt.value = null;
|
|
39321
39323
|
emits('visibleChange', visibility);
|
|
39322
39324
|
};
|
|
39323
39325
|
var handleCalendarChange = function (val) {
|
package/lib/index.umd.js
CHANGED
|
@@ -39317,10 +39317,12 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
39317
39317
|
}
|
|
39318
39318
|
};
|
|
39319
39319
|
var handleChange = function (val) {
|
|
39320
|
+
startDt.value = null;
|
|
39320
39321
|
emits('update:modelValue', val);
|
|
39321
39322
|
emits('change', val);
|
|
39322
39323
|
};
|
|
39323
39324
|
var handleVisibleChange = function (visibility) {
|
|
39325
|
+
startDt.value = null;
|
|
39324
39326
|
emits('visibleChange', visibility);
|
|
39325
39327
|
};
|
|
39326
39328
|
var handleCalendarChange = function (val) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xrk-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.esm.js",
|
|
6
6
|
"typings": "lib/packages/index.d.ts",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"xrk-components",
|
|
9
|
+
"xrk-tools"
|
|
10
|
+
],
|
|
11
|
+
"author": "xrk",
|
|
14
12
|
"license": "ISC",
|
|
15
13
|
"devDependencies": {
|
|
16
14
|
"@babel/core": "^7.18.6",
|
|
@@ -23,6 +21,7 @@
|
|
|
23
21
|
"@vue/compiler-sfc": "^3.2.37",
|
|
24
22
|
"acorn-jsx": "^5.3.2",
|
|
25
23
|
"autoprefixer": "^10.4.7",
|
|
24
|
+
"axios": "^0.27.2",
|
|
26
25
|
"css-loader": "^6.7.1",
|
|
27
26
|
"element-plus": "^2.2.8",
|
|
28
27
|
"html-webpack-plugin": "^5.5.0",
|
|
@@ -54,4 +53,4 @@
|
|
|
54
53
|
"iOS 7",
|
|
55
54
|
"last 3 iOS versions"
|
|
56
55
|
]
|
|
57
|
-
}
|
|
56
|
+
}
|
package/.babelrc
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": ".",
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"noImplicitAny": false,
|
|
8
|
-
// 严格模式
|
|
9
|
-
"strict": true,
|
|
10
|
-
|
|
11
|
-
"jsx": "preserve",
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"declaration": true,
|
|
15
|
-
"suppressImplicitAnyIndexErrors": true,
|
|
16
|
-
"skipLibCheck": true
|
|
17
|
-
},
|
|
18
|
-
"include": [
|
|
19
|
-
"packages/**/*.ts",
|
|
20
|
-
"packages/**/*.tsx",
|
|
21
|
-
"packages/**/*.vue",
|
|
22
|
-
"example/**/*.ts",
|
|
23
|
-
"example/**/*.tsx",
|
|
24
|
-
"example/**/*.vue",
|
|
25
|
-
"tools/**/*.ts",
|
|
26
|
-
"tools/**/*.tsx",
|
|
27
|
-
"typings/**/*.ts"
|
|
28
|
-
],
|
|
29
|
-
"exclude": ["node_modules", "@type/**/*.d.ts"]
|
|
30
|
-
}
|