persagy-vant 0.0.25 → 0.0.26
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/background/index.css +1 -1
- package/es/background/index.less +10 -0
- package/es/background/types.d.ts +1 -1
- package/es/empty/Empty.mjs +6 -274
- package/es/empty/assets/default.png +0 -0
- package/es/empty/assets/network.png +0 -0
- package/es/empty/index.css +1 -1
- package/es/empty/index.less +19 -1
- package/es/empty/var.less +6 -5
- package/es/field/index.css +1 -1
- package/es/field/var.less +1 -1
- package/es/floor-select/FloorSelect.mjs +3 -0
- package/es/floor-select/index.css +1 -1
- package/es/floor-select/index.less +4 -3
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/radio-panel/RadioPanel.mjs +25 -13
- package/es/sidebar-item/SidebarItem.mjs +1 -2
- package/es/work-order-card/WorkOrderCard.d.ts +145 -0
- package/es/work-order-card/WorkOrderCard.mjs +121 -0
- package/es/work-order-card/index.css +1 -0
- package/es/work-order-card/index.d.ts +107 -0
- package/es/work-order-card/index.less +34 -0
- package/es/work-order-card/index.mjs +8 -0
- package/es/work-order-card/style/index.d.ts +1 -0
- package/es/work-order-card/style/index.mjs +8 -0
- package/es/work-order-card/style/less.d.ts +1 -0
- package/es/work-order-card/style/less.mjs +8 -0
- package/es/work-order-card/types.d.ts +16 -0
- package/es/work-order-card/types.mjs +0 -0
- package/es/work-order-card/var.css +0 -0
- package/es/work-order-card/var.less +6 -0
- package/lib/background/index.css +1 -1
- package/lib/background/index.less +10 -0
- package/lib/background/types.d.ts +1 -1
- package/lib/empty/Empty.js +6 -274
- package/lib/empty/assets/default.png +0 -0
- package/lib/empty/assets/network.png +0 -0
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.less +19 -1
- package/lib/empty/var.less +6 -5
- package/lib/field/index.css +1 -1
- package/lib/field/var.less +1 -1
- package/lib/floor-select/FloorSelect.js +3 -0
- package/lib/floor-select/index.css +1 -1
- package/lib/floor-select/index.less +4 -3
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/index.less +1 -0
- package/lib/radio-panel/RadioPanel.js +25 -13
- package/lib/sidebar-item/SidebarItem.js +1 -2
- package/lib/vant.cjs.js +1284 -1424
- package/lib/vant.es.js +1284 -1424
- package/lib/vant.js +1284 -1424
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/lib/work-order-card/WorkOrderCard.d.ts +145 -0
- package/lib/work-order-card/WorkOrderCard.js +140 -0
- package/lib/work-order-card/index.css +1 -0
- package/lib/work-order-card/index.d.ts +107 -0
- package/lib/work-order-card/index.js +37 -0
- package/lib/work-order-card/index.less +34 -0
- package/lib/work-order-card/style/index.d.ts +1 -0
- package/lib/work-order-card/style/index.js +8 -0
- package/lib/work-order-card/style/less.d.ts +1 -0
- package/lib/work-order-card/style/less.js +8 -0
- package/lib/work-order-card/types.d.ts +16 -0
- package/lib/work-order-card/types.js +15 -0
- package/lib/work-order-card/var.css +0 -0
- package/lib/work-order-card/var.less +6 -0
- package/package.json +2 -2
- package/skills/use-persagy-vant/SKILL.md +2 -2
- package/skills/use-persagy-vant/references/business-component-catalog.md +5 -0
- package/skills/use-persagy-vant/references/component-catalog.md +7 -4
- package/skills/use-persagy-vant/references/page-recipes.md +11 -1
package/lib/index.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export * from "./toast";
|
|
|
101
101
|
export * from "./tree-select";
|
|
102
102
|
export * from "./uploader";
|
|
103
103
|
export * from "./video-preview";
|
|
104
|
+
export * from "./work-order-card";
|
|
104
105
|
export * from "./work-order-filter";
|
|
105
106
|
declare namespace _default {
|
|
106
107
|
export { install };
|
|
@@ -108,4 +109,4 @@ declare namespace _default {
|
|
|
108
109
|
}
|
|
109
110
|
export default _default;
|
|
110
111
|
export function install(app: any): void;
|
|
111
|
-
export const version: "0.0.
|
|
112
|
+
export const version: "0.0.26";
|
package/lib/index.js
CHANGED
|
@@ -125,6 +125,7 @@ var import_toast = require("./toast");
|
|
|
125
125
|
var import_tree_select = require("./tree-select");
|
|
126
126
|
var import_uploader = require("./uploader");
|
|
127
127
|
var import_video_preview = require("./video-preview");
|
|
128
|
+
var import_work_order_card = require("./work-order-card");
|
|
128
129
|
var import_work_order_filter = require("./work-order-filter");
|
|
129
130
|
__reExport(stdin_exports, require("./action-bar"), module.exports);
|
|
130
131
|
__reExport(stdin_exports, require("./action-bar-button"), module.exports);
|
|
@@ -229,8 +230,9 @@ __reExport(stdin_exports, require("./toast"), module.exports);
|
|
|
229
230
|
__reExport(stdin_exports, require("./tree-select"), module.exports);
|
|
230
231
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
231
232
|
__reExport(stdin_exports, require("./video-preview"), module.exports);
|
|
233
|
+
__reExport(stdin_exports, require("./work-order-card"), module.exports);
|
|
232
234
|
__reExport(stdin_exports, require("./work-order-filter"), module.exports);
|
|
233
|
-
const version = "0.0.
|
|
235
|
+
const version = "0.0.26";
|
|
234
236
|
function install(app) {
|
|
235
237
|
const components = [
|
|
236
238
|
import_action_bar.ActionBar,
|
|
@@ -335,6 +337,7 @@ function install(app) {
|
|
|
335
337
|
import_tree_select.TreeSelect,
|
|
336
338
|
import_uploader.Uploader,
|
|
337
339
|
import_video_preview.VideoPreview,
|
|
340
|
+
import_work_order_card.WorkOrderCard,
|
|
338
341
|
import_work_order_filter.WorkOrderFilter
|
|
339
342
|
];
|
|
340
343
|
components.forEach((item) => {
|
package/lib/index.less
CHANGED
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
@import "./empty/index.less";
|
|
76
76
|
@import "./coupon-list/index.less";
|
|
77
77
|
@import "./divider/index.less";
|
|
78
|
+
@import "./work-order-card/index.less";
|
|
78
79
|
@import "./dropdown-menu/index.less";
|
|
79
80
|
@import "./dropdown-item/index.less";
|
|
80
81
|
@import "./sidebar/index.less";
|
|
@@ -26,6 +26,8 @@ var import_action_sheet = require("../action-sheet");
|
|
|
26
26
|
var import_nav_bar = require("../nav-bar");
|
|
27
27
|
var import_icon = require("../icon");
|
|
28
28
|
var import_cell = require("../cell");
|
|
29
|
+
var import_radio = require("../radio");
|
|
30
|
+
var import_radio_group = require("../radio-group");
|
|
29
31
|
const [name, bem] = (0, import_utils.createNamespace)("radio-panel");
|
|
30
32
|
const radioPanelProps = {
|
|
31
33
|
show: Boolean,
|
|
@@ -71,20 +73,30 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
71
73
|
"class": bem("body")
|
|
72
74
|
}, [(0, import_vue.createVNode)("div", {
|
|
73
75
|
"class": bem("card")
|
|
74
|
-
}, [
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
"onClick": () => select(option)
|
|
76
|
+
}, [(0, import_vue.createVNode)(import_radio_group.RadioGroup, {
|
|
77
|
+
"modelValue": props.modelValue,
|
|
78
|
+
"onUpdate:modelValue": (value) => {
|
|
79
|
+
const option = props.options.find((item) => item.value === value);
|
|
80
|
+
if (option)
|
|
81
|
+
select(option);
|
|
82
|
+
}
|
|
82
83
|
}, {
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
default: () => [props.options.map((option) => (0, import_vue.createVNode)(import_cell.Cell, {
|
|
85
|
+
"key": option.value,
|
|
86
|
+
"clickable": !option.disabled,
|
|
87
|
+
"title": option.label,
|
|
88
|
+
"titleStyle": {
|
|
89
|
+
color: props.modelValue === option.value ? "var(--van-primary-color)" : void 0
|
|
90
|
+
},
|
|
91
|
+
"onClick": () => select(option)
|
|
92
|
+
}, {
|
|
93
|
+
"right-icon": () => (0, import_vue.createVNode)(import_radio.Radio, {
|
|
94
|
+
"name": option.value,
|
|
95
|
+
"disabled": option.disabled,
|
|
96
|
+
"onClick": (event) => event.stopPropagation()
|
|
97
|
+
}, null)
|
|
98
|
+
}))]
|
|
99
|
+
})])])])]
|
|
88
100
|
});
|
|
89
101
|
}
|
|
90
102
|
});
|
|
@@ -81,8 +81,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
81
81
|
}, [(0, import_vue.createVNode)(import_badge.Badge, (0, import_vue.mergeProps)({
|
|
82
82
|
"dot": dot,
|
|
83
83
|
"class": bem("text"),
|
|
84
|
-
"content": badge
|
|
85
|
-
"color": "var(--van-primary-color)"
|
|
84
|
+
"content": badge
|
|
86
85
|
}, props.badgeProps), {
|
|
87
86
|
default: () => [slots.title ? slots.title() : title]
|
|
88
87
|
})]);
|