vant 3.3.2 → 3.3.3-beta.nuxt3
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/es/locale/lang/pt-BR.d.ts +73 -0
- package/es/locale/lang/pt-BR.js +72 -0
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +2 -0
- package/lib/index.css +1 -1
- package/lib/locale/lang/pt-BR.d.ts +73 -0
- package/lib/locale/lang/pt-BR.js +77 -0
- package/lib/ssr.js +7 -0
- package/lib/ssr.mjs +1 -0
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +2 -0
- package/package.json +6 -2
- package/vetur/attributes.json +505 -505
- package/vetur/tags.json +172 -172
- package/vetur/web-types.json +1676 -1676
@@ -0,0 +1,73 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
confirm: string;
|
6
|
+
cancel: string;
|
7
|
+
delete: string;
|
8
|
+
loading: string;
|
9
|
+
noCoupon: string;
|
10
|
+
nameEmpty: string;
|
11
|
+
telInvalid: string;
|
12
|
+
vanCalendar: {
|
13
|
+
end: string;
|
14
|
+
start: string;
|
15
|
+
title: string;
|
16
|
+
startEnd: string;
|
17
|
+
weekdays: string[];
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
20
|
+
};
|
21
|
+
vanCascader: {
|
22
|
+
select: string;
|
23
|
+
};
|
24
|
+
vanContactCard: {
|
25
|
+
addText: string;
|
26
|
+
};
|
27
|
+
vanContactList: {
|
28
|
+
addText: string;
|
29
|
+
};
|
30
|
+
vanPagination: {
|
31
|
+
prev: string;
|
32
|
+
next: string;
|
33
|
+
};
|
34
|
+
vanPullRefresh: {
|
35
|
+
pulling: string;
|
36
|
+
loosing: string;
|
37
|
+
};
|
38
|
+
vanSubmitBar: {
|
39
|
+
label: string;
|
40
|
+
};
|
41
|
+
vanCoupon: {
|
42
|
+
unlimited: string;
|
43
|
+
discount: (discount: number) => string;
|
44
|
+
condition: (condition: number) => string;
|
45
|
+
};
|
46
|
+
vanCouponCell: {
|
47
|
+
title: string;
|
48
|
+
count: (count: number) => string;
|
49
|
+
};
|
50
|
+
vanCouponList: {
|
51
|
+
exchange: string;
|
52
|
+
close: string;
|
53
|
+
enable: string;
|
54
|
+
disabled: string;
|
55
|
+
placeholder: string;
|
56
|
+
};
|
57
|
+
vanAddressEdit: {
|
58
|
+
area: string;
|
59
|
+
postal: string;
|
60
|
+
areaEmpty: string;
|
61
|
+
addressEmpty: string;
|
62
|
+
postalEmpty: string;
|
63
|
+
defaultAddress: string;
|
64
|
+
};
|
65
|
+
vanAddressEditDetail: {
|
66
|
+
label: string;
|
67
|
+
placeholder: string;
|
68
|
+
};
|
69
|
+
vanAddressList: {
|
70
|
+
add: string;
|
71
|
+
};
|
72
|
+
};
|
73
|
+
export default _default;
|
@@ -0,0 +1,77 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
exports.__esModule = true;
|
4
|
+
exports.default = void 0;
|
5
|
+
var _default = {
|
6
|
+
name: 'Nome',
|
7
|
+
tel: 'Fone',
|
8
|
+
save: 'Salvar',
|
9
|
+
confirm: 'Confirmar',
|
10
|
+
cancel: 'Cancelar',
|
11
|
+
delete: 'Excluir',
|
12
|
+
loading: 'Carregando...',
|
13
|
+
noCoupon: 'Nenhum cupom',
|
14
|
+
nameEmpty: 'Por favor, preencha o nome',
|
15
|
+
telInvalid: 'Telefone em formato inválido',
|
16
|
+
vanCalendar: {
|
17
|
+
end: 'Fim',
|
18
|
+
start: 'Início',
|
19
|
+
title: 'Calendário',
|
20
|
+
startEnd: 'Início/Fim',
|
21
|
+
weekdays: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
|
22
|
+
monthTitle: (year, month) => month + "/" + year,
|
23
|
+
rangePrompt: maxRange => "Escolha no m\xE1ximo " + maxRange + " dias"
|
24
|
+
},
|
25
|
+
vanCascader: {
|
26
|
+
select: 'Selecione'
|
27
|
+
},
|
28
|
+
vanContactCard: {
|
29
|
+
addText: 'Adicionar informações de contato'
|
30
|
+
},
|
31
|
+
vanContactList: {
|
32
|
+
addText: 'Adicionar novo contato'
|
33
|
+
},
|
34
|
+
vanPagination: {
|
35
|
+
prev: 'Anterior',
|
36
|
+
next: 'Próximo'
|
37
|
+
},
|
38
|
+
vanPullRefresh: {
|
39
|
+
pulling: 'Puxe para atualizar...',
|
40
|
+
loosing: 'Solte para atualizar...'
|
41
|
+
},
|
42
|
+
vanSubmitBar: {
|
43
|
+
label: 'Total:'
|
44
|
+
},
|
45
|
+
vanCoupon: {
|
46
|
+
unlimited: 'Ilimitado',
|
47
|
+
discount: discount => discount * 10 + "% de desconto",
|
48
|
+
condition: condition => "Pelo menos " + condition
|
49
|
+
},
|
50
|
+
vanCouponCell: {
|
51
|
+
title: 'Cupom',
|
52
|
+
count: count => "Voc\xEA possui " + count + " cupom(ns)"
|
53
|
+
},
|
54
|
+
vanCouponList: {
|
55
|
+
exchange: 'Usar',
|
56
|
+
close: 'Fechar',
|
57
|
+
enable: 'Disponível',
|
58
|
+
disabled: 'Indisponível',
|
59
|
+
placeholder: 'Código do cupom'
|
60
|
+
},
|
61
|
+
vanAddressEdit: {
|
62
|
+
area: 'Área',
|
63
|
+
postal: 'CEP',
|
64
|
+
areaEmpty: 'Por favor, selecione uma área de recebimento',
|
65
|
+
addressEmpty: 'Endereço não pode ser vazio',
|
66
|
+
postalEmpty: 'CEP inválido',
|
67
|
+
defaultAddress: 'Usar como endereço padrão'
|
68
|
+
},
|
69
|
+
vanAddressEditDetail: {
|
70
|
+
label: 'Endereço',
|
71
|
+
placeholder: 'Endereço'
|
72
|
+
},
|
73
|
+
vanAddressList: {
|
74
|
+
add: 'Adicionar novo endereço'
|
75
|
+
}
|
76
|
+
};
|
77
|
+
exports.default = _default;
|
package/lib/ssr.js
ADDED
package/lib/ssr.mjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './index.js';
|
package/lib/swipe/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-swipe-indicator-size:6px;--van-swipe-indicator-margin:var(--van-padding-sm);--van-swipe-indicator-active-opacity:1;--van-swipe-indicator-inactive-opacity:0.3;--van-swipe-indicator-active-background-color:var(--van-primary-color);--van-swipe-indicator-inactive-background-color:var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translateX(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background-color);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-animation-duration-fast),background-color var(--van-animation-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background-color);opacity:var(--van-swipe-indicator-active-opacity)}
|
1
|
+
:root{--van-swipe-indicator-size:6px;--van-swipe-indicator-margin:var(--van-padding-sm);--van-swipe-indicator-active-opacity:1;--van-swipe-indicator-inactive-opacity:0.3;--van-swipe-indicator-active-background-color:var(--van-primary-color);--van-swipe-indicator-inactive-background-color:var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translateX(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background-color);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-animation-duration-fast),background-color var(--van-animation-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background-color);opacity:var(--van-swipe-indicator-active-opacity)}
|
package/lib/swipe/index.less
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.3-beta.nuxt3",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/vant.cjs.js",
|
6
6
|
"module": "lib/vant.es.js",
|
@@ -10,6 +10,10 @@
|
|
10
10
|
"jsdelivr": "lib/vant.min.js",
|
11
11
|
"exports": {
|
12
12
|
".": {
|
13
|
+
"node": {
|
14
|
+
"import": "./lib/ssr.mjs",
|
15
|
+
"require": "./lib/ssr.js"
|
16
|
+
},
|
13
17
|
"import": "./lib/vant.es.js",
|
14
18
|
"require": "./lib/vant.cjs.js",
|
15
19
|
"types": "./lib/index.d.ts"
|
@@ -70,7 +74,7 @@
|
|
70
74
|
"@vue/compiler-sfc": "^3.2.20",
|
71
75
|
"@vue/runtime-core": "^3.2.20",
|
72
76
|
"@vue/test-utils": "^2.0.0-rc.16",
|
73
|
-
"typescript": "4.
|
77
|
+
"typescript": "~4.5.2",
|
74
78
|
"vue": "^3.2.20",
|
75
79
|
"vue-router": "^4.0.12"
|
76
80
|
},
|