persagy-vant 0.0.30 → 0.0.32
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 +11 -12
- package/bin/persagy-vant.mjs +63 -0
- package/es/cell/Cell.d.ts +34 -1
- package/es/cell/Cell.mjs +48 -12
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +20 -1
- package/es/cell/index.less +19 -0
- package/es/cell/var.less +1 -1
- package/es/collapse-item/CollapseItem.d.ts +25 -0
- package/es/collapse-item/index.d.ts +18 -0
- package/es/content-panel/ContentPanel.d.ts +46 -0
- package/es/content-panel/ContentPanel.mjs +72 -0
- package/es/content-panel/index.css +1 -0
- package/es/content-panel/index.d.ts +33 -0
- package/es/content-panel/index.less +54 -0
- package/es/content-panel/index.mjs +8 -0
- package/es/content-panel/style/index.mjs +11 -0
- package/es/content-panel/style/less.mjs +11 -0
- package/es/content-panel/var.css +0 -0
- package/es/content-panel/var.less +3 -0
- package/es/dialog/Dialog.d.ts +4 -0
- package/es/dialog/Dialog.mjs +14 -1
- package/es/dialog/function-call.d.ts +2 -0
- package/es/dialog/types.d.ts +2 -0
- package/es/field/Field.d.ts +25 -0
- package/es/field/Field.mjs +1 -1
- package/es/field/index.d.ts +18 -0
- package/es/index.d.ts +6 -1
- package/es/index.mjs +16 -1
- package/es/info-card/InfoCard.d.ts +1 -0
- package/es/info-card/InfoCard.mjs +1 -0
- package/es/label/Label.d.ts +67 -0
- package/es/label/Label.mjs +22 -7
- package/es/label/index.css +1 -1
- package/es/label/index.d.ts +45 -0
- package/es/label/index.less +19 -0
- package/es/label/var.less +4 -1
- package/es/loading/Loading.mjs +18 -21
- package/es/material-action-bar/MaterialActionBar.d.ts +66 -0
- package/es/material-action-bar/MaterialActionBar.mjs +132 -0
- package/es/material-action-bar/index.css +1 -0
- package/es/material-action-bar/index.d.ts +58 -0
- package/es/material-action-bar/index.less +33 -0
- package/es/material-action-bar/index.mjs +8 -0
- package/es/material-action-bar/style/index.mjs +19 -0
- package/es/material-action-bar/style/less.mjs +19 -0
- package/es/material-add/MaterialAdd.mjs +12 -7
- package/es/material-add/index.css +1 -1
- package/es/material-add/index.less +7 -5
- package/es/material-add/style/index.mjs +7 -0
- package/es/material-add/style/less.mjs +7 -0
- package/es/material-detail/MaterialDetail.d.ts +64 -0
- package/es/material-detail/MaterialDetail.mjs +192 -0
- package/es/material-detail/index.css +1 -0
- package/es/material-detail/index.d.ts +40 -0
- package/es/material-detail/index.less +20 -0
- package/es/material-detail/index.mjs +8 -0
- package/es/material-detail/style/index.mjs +11 -0
- package/es/material-detail/style/less.mjs +11 -0
- package/es/material-display-bar/MaterialDisplayBar.d.ts +159 -0
- package/es/material-display-bar/MaterialDisplayBar.mjs +109 -0
- package/es/material-display-bar/index.css +1 -0
- package/es/material-display-bar/index.d.ts +103 -0
- package/es/material-display-bar/index.less +113 -0
- package/es/material-display-bar/index.mjs +8 -0
- package/es/material-display-bar/style/index.mjs +11 -0
- package/es/material-display-bar/style/less.mjs +11 -0
- package/es/material-display-bar/var.css +0 -0
- package/es/material-display-bar/var.less +12 -0
- package/es/rate/RateCell.mjs +4 -1
- package/es/rate/index.css +1 -1
- package/es/rate/index.less +16 -3
- package/es/search/Search.d.ts +14 -1
- package/es/search/Search.mjs +5 -3
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +9 -0
- package/es/search/index.less +10 -0
- package/es/search/types.d.ts +1 -0
- package/es/step/index.css +1 -1
- package/es/step/var.less +2 -2
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/var.less +1 -1
- package/es/title-bar/TitleBar.d.ts +85 -0
- package/es/title-bar/TitleBar.mjs +62 -0
- package/es/title-bar/index.css +1 -0
- package/es/title-bar/index.d.ts +60 -0
- package/es/title-bar/index.less +25 -0
- package/es/title-bar/index.mjs +8 -0
- package/es/title-bar/style/index.mjs +4 -0
- package/es/title-bar/style/less.mjs +4 -0
- package/es/title-bar/var.css +0 -0
- package/es/title-bar/var.less +6 -0
- package/es/tree-select/TreeSelect.d.ts +13 -0
- package/es/tree-select/TreeSelect.mjs +4 -2
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +9 -0
- package/es/tree-select/index.less +6 -0
- package/lib/cell/Cell.d.ts +34 -1
- package/lib/cell/Cell.js +46 -10
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +20 -1
- package/lib/cell/index.less +19 -0
- package/lib/cell/var.less +1 -1
- package/lib/collapse-item/CollapseItem.d.ts +25 -0
- package/lib/collapse-item/index.d.ts +18 -0
- package/lib/content-panel/ContentPanel.d.ts +46 -0
- package/lib/content-panel/ContentPanel.js +91 -0
- package/lib/content-panel/index.css +1 -0
- package/lib/content-panel/index.d.ts +33 -0
- package/lib/content-panel/index.js +37 -0
- package/lib/content-panel/index.less +54 -0
- package/lib/content-panel/style/index.js +11 -0
- package/lib/content-panel/style/less.js +11 -0
- package/lib/content-panel/var.css +0 -0
- package/lib/content-panel/var.less +3 -0
- package/lib/dialog/Dialog.d.ts +4 -0
- package/lib/dialog/Dialog.js +13 -0
- package/lib/dialog/function-call.d.ts +2 -0
- package/lib/dialog/types.d.ts +2 -0
- package/lib/dog1.jpg +0 -0
- package/lib/dog2.jpg +0 -0
- package/lib/dog3.jpg +0 -0
- package/lib/field/Field.d.ts +25 -0
- package/lib/field/Field.js +1 -1
- package/lib/field/index.d.ts +18 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +6 -1
- package/lib/index.js +16 -1
- package/lib/index.less +6 -1
- package/lib/info-card/InfoCard.d.ts +1 -0
- package/lib/info-card/InfoCard.js +1 -0
- package/lib/label/Label.d.ts +67 -0
- package/lib/label/Label.js +21 -6
- package/lib/label/index.css +1 -1
- package/lib/label/index.d.ts +45 -0
- package/lib/label/index.less +19 -0
- package/lib/label/var.less +4 -1
- package/lib/loading/Loading.js +18 -21
- package/lib/material-action-bar/MaterialActionBar.d.ts +66 -0
- package/lib/material-action-bar/MaterialActionBar.js +151 -0
- package/lib/material-action-bar/index.css +1 -0
- package/lib/material-action-bar/index.d.ts +58 -0
- package/lib/material-action-bar/index.js +37 -0
- package/lib/material-action-bar/index.less +33 -0
- package/lib/material-action-bar/style/index.js +19 -0
- package/lib/material-action-bar/style/less.js +19 -0
- package/lib/material-add/MaterialAdd.js +12 -7
- package/lib/material-add/index.css +1 -1
- package/lib/material-add/index.less +7 -5
- package/lib/material-add/style/index.js +7 -0
- package/lib/material-add/style/less.js +7 -0
- package/lib/material-detail/MaterialDetail.d.ts +64 -0
- package/lib/material-detail/MaterialDetail.js +211 -0
- package/lib/material-detail/index.css +1 -0
- package/lib/material-detail/index.d.ts +40 -0
- package/lib/material-detail/index.js +37 -0
- package/lib/material-detail/index.less +20 -0
- package/lib/material-detail/style/index.js +11 -0
- package/lib/material-detail/style/less.js +11 -0
- package/lib/material-display-bar/MaterialDisplayBar.d.ts +159 -0
- package/lib/material-display-bar/MaterialDisplayBar.js +128 -0
- package/lib/material-display-bar/index.css +1 -0
- package/lib/material-display-bar/index.d.ts +103 -0
- package/lib/material-display-bar/index.js +37 -0
- package/lib/material-display-bar/index.less +113 -0
- package/lib/material-display-bar/style/index.js +11 -0
- package/lib/material-display-bar/style/less.js +11 -0
- package/lib/material-display-bar/var.css +0 -0
- package/lib/material-display-bar/var.less +12 -0
- package/lib/rate/RateCell.js +4 -1
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.less +16 -3
- package/lib/search/Search.d.ts +14 -1
- package/lib/search/Search.js +5 -3
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +9 -0
- package/lib/search/index.less +10 -0
- package/lib/search/types.d.ts +1 -0
- package/lib/step/index.css +1 -1
- package/lib/step/var.less +2 -2
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/var.less +1 -1
- package/lib/title-bar/TitleBar.d.ts +85 -0
- package/lib/title-bar/TitleBar.js +81 -0
- package/lib/title-bar/index.css +1 -0
- package/lib/title-bar/index.d.ts +60 -0
- package/lib/title-bar/index.js +37 -0
- package/lib/title-bar/index.less +25 -0
- package/lib/title-bar/style/index.js +4 -0
- package/lib/title-bar/style/less.js +4 -0
- package/lib/title-bar/var.css +0 -0
- package/lib/title-bar/var.less +6 -0
- package/lib/tree-select/TreeSelect.d.ts +13 -0
- package/lib/tree-select/TreeSelect.js +3 -1
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +9 -0
- package/lib/tree-select/index.less +6 -0
- package/lib/vant.cjs.js +1641 -1218
- package/lib/vant.es.js +1641 -1218
- package/lib/vant.js +1641 -1218
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +6 -2
- package/skills/use-persagy-vant/references/business-component-catalog.md +8 -3
- package/skills/use-persagy-vant/references/component-catalog.md +7 -4
- package/skills/use-persagy-vant/references/component-documentation.md +1 -1
- package/skills/use-persagy-vant/references/design-interaction-baseline.md +3 -3
- package/skills/use-persagy-vant/references/page-recipes.md +18 -5
- package/skills/use-persagy-vant/references/reuse-policy.md +1 -1
- package/skills/use-persagy-vant/references/usage-patterns.md +9 -1
package/lib/field/Field.d.ts
CHANGED
|
@@ -53,12 +53,18 @@ declare const fieldProps: {
|
|
|
53
53
|
title: (NumberConstructor | StringConstructor)[];
|
|
54
54
|
value: (NumberConstructor | StringConstructor)[];
|
|
55
55
|
label: (NumberConstructor | StringConstructor)[];
|
|
56
|
+
labelSize: (NumberConstructor | StringConstructor)[];
|
|
56
57
|
avatar: StringConstructor;
|
|
57
58
|
rightAvatar: StringConstructor;
|
|
58
59
|
tags: PropType<import("../utils").Numeric[]>;
|
|
59
60
|
titleIcon: StringConstructor;
|
|
60
61
|
rightIcon: StringConstructor;
|
|
61
62
|
note: (NumberConstructor | StringConstructor)[];
|
|
63
|
+
noteBold: BooleanConstructor;
|
|
64
|
+
noteClickable: BooleanConstructor;
|
|
65
|
+
noteTo: PropType<import("vue-router").RouteLocationRaw>;
|
|
66
|
+
noteUrl: StringConstructor;
|
|
67
|
+
noteReplace: BooleanConstructor;
|
|
62
68
|
badge: (NumberConstructor | StringConstructor)[];
|
|
63
69
|
leftSelect: {
|
|
64
70
|
type: PropType<boolean | undefined>;
|
|
@@ -73,6 +79,7 @@ declare const fieldProps: {
|
|
|
73
79
|
default: string;
|
|
74
80
|
};
|
|
75
81
|
blueMark: BooleanConstructor;
|
|
82
|
+
titleBold: BooleanConstructor;
|
|
76
83
|
center: BooleanConstructor;
|
|
77
84
|
isLink: BooleanConstructor;
|
|
78
85
|
border: {
|
|
@@ -170,12 +177,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
177
|
title: (NumberConstructor | StringConstructor)[];
|
|
171
178
|
value: (NumberConstructor | StringConstructor)[];
|
|
172
179
|
label: (NumberConstructor | StringConstructor)[];
|
|
180
|
+
labelSize: (NumberConstructor | StringConstructor)[];
|
|
173
181
|
avatar: StringConstructor;
|
|
174
182
|
rightAvatar: StringConstructor;
|
|
175
183
|
tags: PropType<import("../utils").Numeric[]>;
|
|
176
184
|
titleIcon: StringConstructor;
|
|
177
185
|
rightIcon: StringConstructor;
|
|
178
186
|
note: (NumberConstructor | StringConstructor)[];
|
|
187
|
+
noteBold: BooleanConstructor;
|
|
188
|
+
noteClickable: BooleanConstructor;
|
|
189
|
+
noteTo: PropType<import("vue-router").RouteLocationRaw>;
|
|
190
|
+
noteUrl: StringConstructor;
|
|
191
|
+
noteReplace: BooleanConstructor;
|
|
179
192
|
badge: (NumberConstructor | StringConstructor)[];
|
|
180
193
|
leftSelect: {
|
|
181
194
|
type: PropType<boolean | undefined>;
|
|
@@ -190,6 +203,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
203
|
default: string;
|
|
191
204
|
};
|
|
192
205
|
blueMark: BooleanConstructor;
|
|
206
|
+
titleBold: BooleanConstructor;
|
|
193
207
|
center: BooleanConstructor;
|
|
194
208
|
isLink: BooleanConstructor;
|
|
195
209
|
border: {
|
|
@@ -285,12 +299,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
285
299
|
title: (NumberConstructor | StringConstructor)[];
|
|
286
300
|
value: (NumberConstructor | StringConstructor)[];
|
|
287
301
|
label: (NumberConstructor | StringConstructor)[];
|
|
302
|
+
labelSize: (NumberConstructor | StringConstructor)[];
|
|
288
303
|
avatar: StringConstructor;
|
|
289
304
|
rightAvatar: StringConstructor;
|
|
290
305
|
tags: PropType<import("../utils").Numeric[]>;
|
|
291
306
|
titleIcon: StringConstructor;
|
|
292
307
|
rightIcon: StringConstructor;
|
|
293
308
|
note: (NumberConstructor | StringConstructor)[];
|
|
309
|
+
noteBold: BooleanConstructor;
|
|
310
|
+
noteClickable: BooleanConstructor;
|
|
311
|
+
noteTo: PropType<import("vue-router").RouteLocationRaw>;
|
|
312
|
+
noteUrl: StringConstructor;
|
|
313
|
+
noteReplace: BooleanConstructor;
|
|
294
314
|
badge: (NumberConstructor | StringConstructor)[];
|
|
295
315
|
leftSelect: {
|
|
296
316
|
type: PropType<boolean | undefined>;
|
|
@@ -305,6 +325,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
325
|
default: string;
|
|
306
326
|
};
|
|
307
327
|
blueMark: BooleanConstructor;
|
|
328
|
+
titleBold: BooleanConstructor;
|
|
308
329
|
center: BooleanConstructor;
|
|
309
330
|
isLink: BooleanConstructor;
|
|
310
331
|
border: {
|
|
@@ -410,10 +431,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
410
431
|
required: boolean;
|
|
411
432
|
center: boolean;
|
|
412
433
|
size: CellSize;
|
|
434
|
+
noteBold: boolean;
|
|
435
|
+
noteClickable: boolean;
|
|
436
|
+
noteReplace: boolean;
|
|
413
437
|
leftSelect: boolean | undefined;
|
|
414
438
|
rightSelect: boolean | undefined;
|
|
415
439
|
selectType: import("../cell").CellSelectType;
|
|
416
440
|
blueMark: boolean;
|
|
441
|
+
titleBold: boolean;
|
|
417
442
|
isLink: boolean;
|
|
418
443
|
border: boolean;
|
|
419
444
|
errorBorder: boolean;
|
package/lib/field/Field.js
CHANGED
|
@@ -42,7 +42,7 @@ const fieldSharedProps = {
|
|
|
42
42
|
formatter: Function,
|
|
43
43
|
clearIcon: (0, import_utils.makeStringProp)("clear"),
|
|
44
44
|
modelValue: (0, import_utils.makeNumericProp)(""),
|
|
45
|
-
inputAlign: (0, import_utils.makeStringProp)("
|
|
45
|
+
inputAlign: (0, import_utils.makeStringProp)("left"),
|
|
46
46
|
placeholder: String,
|
|
47
47
|
autocomplete: String,
|
|
48
48
|
errorMessage: String,
|
package/lib/field/index.d.ts
CHANGED
|
@@ -5,12 +5,18 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
5
5
|
title: (NumberConstructor | StringConstructor)[];
|
|
6
6
|
value: (NumberConstructor | StringConstructor)[];
|
|
7
7
|
label: (NumberConstructor | StringConstructor)[];
|
|
8
|
+
labelSize: (NumberConstructor | StringConstructor)[];
|
|
8
9
|
avatar: StringConstructor;
|
|
9
10
|
rightAvatar: StringConstructor;
|
|
10
11
|
tags: import("vue").PropType<import("../utils").Numeric[]>;
|
|
11
12
|
titleIcon: StringConstructor;
|
|
12
13
|
rightIcon: StringConstructor;
|
|
13
14
|
note: (NumberConstructor | StringConstructor)[];
|
|
15
|
+
noteBold: BooleanConstructor;
|
|
16
|
+
noteClickable: BooleanConstructor;
|
|
17
|
+
noteTo: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
18
|
+
noteUrl: StringConstructor;
|
|
19
|
+
noteReplace: BooleanConstructor;
|
|
14
20
|
badge: (NumberConstructor | StringConstructor)[];
|
|
15
21
|
leftSelect: {
|
|
16
22
|
type: import("vue").PropType<boolean | undefined>;
|
|
@@ -25,6 +31,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
25
31
|
default: string;
|
|
26
32
|
};
|
|
27
33
|
blueMark: BooleanConstructor;
|
|
34
|
+
titleBold: BooleanConstructor;
|
|
28
35
|
center: BooleanConstructor;
|
|
29
36
|
isLink: BooleanConstructor;
|
|
30
37
|
border: {
|
|
@@ -120,12 +127,18 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
120
127
|
title: (NumberConstructor | StringConstructor)[];
|
|
121
128
|
value: (NumberConstructor | StringConstructor)[];
|
|
122
129
|
label: (NumberConstructor | StringConstructor)[];
|
|
130
|
+
labelSize: (NumberConstructor | StringConstructor)[];
|
|
123
131
|
avatar: StringConstructor;
|
|
124
132
|
rightAvatar: StringConstructor;
|
|
125
133
|
tags: import("vue").PropType<import("../utils").Numeric[]>;
|
|
126
134
|
titleIcon: StringConstructor;
|
|
127
135
|
rightIcon: StringConstructor;
|
|
128
136
|
note: (NumberConstructor | StringConstructor)[];
|
|
137
|
+
noteBold: BooleanConstructor;
|
|
138
|
+
noteClickable: BooleanConstructor;
|
|
139
|
+
noteTo: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
140
|
+
noteUrl: StringConstructor;
|
|
141
|
+
noteReplace: BooleanConstructor;
|
|
129
142
|
badge: (NumberConstructor | StringConstructor)[];
|
|
130
143
|
leftSelect: {
|
|
131
144
|
type: import("vue").PropType<boolean | undefined>;
|
|
@@ -140,6 +153,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
140
153
|
default: string;
|
|
141
154
|
};
|
|
142
155
|
blueMark: BooleanConstructor;
|
|
156
|
+
titleBold: BooleanConstructor;
|
|
143
157
|
center: BooleanConstructor;
|
|
144
158
|
isLink: BooleanConstructor;
|
|
145
159
|
border: {
|
|
@@ -245,10 +259,14 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
245
259
|
required: boolean;
|
|
246
260
|
center: boolean;
|
|
247
261
|
size: import("..").CellSize;
|
|
262
|
+
noteBold: boolean;
|
|
263
|
+
noteClickable: boolean;
|
|
264
|
+
noteReplace: boolean;
|
|
248
265
|
leftSelect: boolean | undefined;
|
|
249
266
|
rightSelect: boolean | undefined;
|
|
250
267
|
selectType: import("..").CellSelectType;
|
|
251
268
|
blueMark: boolean;
|
|
269
|
+
titleBold: boolean;
|
|
252
270
|
isLink: boolean;
|
|
253
271
|
border: boolean;
|
|
254
272
|
errorBorder: boolean;
|