ra-element 0.1.3 → 0.1.5
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/README.md +8 -1
- package/docs/ra-date-picker.md +1 -0
- package/lib/components/ra-date-picker/index.vue.d.ts +9 -0
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +212 -209
- package/lib/ra-element.umd.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,14 @@ pnpm
|
|
|
14
14
|
2、npm config set registry https://registry.npmjs.org (修改为发版包地址)
|
|
15
15
|
3、npm login
|
|
16
16
|
4、npm publish
|
|
17
|
-
5、npm config set registry http://registry.npmmirror.com/ (
|
|
17
|
+
5、npm config set registry http://registry.npmmirror.com/ (还原阿里源镜像,如果有设置npm代理无需还原)
|
|
18
|
+
|
|
19
|
+
## npm代理
|
|
20
|
+
npm config set proxy http://127.0.0.1:7890
|
|
21
|
+
npm config set https-proxy http://127.0.0.1:7890
|
|
22
|
+
## 取消npm代理
|
|
23
|
+
npm config delete proxy
|
|
24
|
+
npm config delete https-proxy
|
|
18
25
|
|
|
19
26
|
(发布后,引用项目使用镜像源安装不一定能立即下载到,就是官网下载可能都需要等一会才会有新版本)
|
|
20
27
|
|
package/docs/ra-date-picker.md
CHANGED
|
@@ -7,3 +7,4 @@
|
|
|
7
7
|
| type | String as () => 'year' \| 'years' | 'month' | 'months' | 'date' | 'dates' | 'datetime' | 'week' | 'datetimerange' | 'daterange' | 'monthrange' | 'yearrange' | 默认为daterange,并且daterange为自动启动快速选择器 | 'daterange' | |
|
|
8
8
|
| valueFormat | String | 可不传,会根据type自动生成字符串时间格式,如果传了按照传的来 | | |
|
|
9
9
|
| shortcuts | Array<{ text: string; value: Date \| (() => [Date, Date]) }> | 可不传,会根据type自动生成快速选择器,如果传了按照传的来 | | |
|
|
10
|
+
| cssStyle | String | 样式属性,1为通用版基础默认样式,如果是传空走默认样式 | '1' | |
|
|
@@ -60,6 +60,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
readonly [Symbol.species]: ArrayConstructor;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
+
cssStyle: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
63
67
|
}>, {
|
|
64
68
|
component: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
65
69
|
readonly type: {
|
|
@@ -1060,10 +1064,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1060
1064
|
readonly [Symbol.species]: ArrayConstructor;
|
|
1061
1065
|
};
|
|
1062
1066
|
};
|
|
1067
|
+
cssStyle: {
|
|
1068
|
+
type: StringConstructor;
|
|
1069
|
+
default: string;
|
|
1070
|
+
};
|
|
1063
1071
|
}>> & Readonly<{
|
|
1064
1072
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1065
1073
|
}>, {
|
|
1066
1074
|
type: "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
|
1075
|
+
cssStyle: string;
|
|
1067
1076
|
modelValue: string | unknown[];
|
|
1068
1077
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1069
1078
|
componentRef: unknown;
|