persagy-vant 0.0.24 → 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/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +0 -63
- package/es/action-sheet/index.less +0 -96
- package/es/action-sheet/index.mjs +0 -3
- package/es/action-sheet/style/index.mjs +0 -8
- package/es/action-sheet/style/less.mjs +0 -8
- package/es/background/Background.d.ts +23 -0
- package/es/background/Background.mjs +23 -0
- package/es/background/assets/background-default.png +0 -0
- package/es/background/assets/background-light.png +0 -0
- package/es/background/assets/background-style-1.png +0 -0
- package/es/background/assets/background-style-2.png +0 -0
- package/es/background/assets/background-style-3.png +0 -0
- package/es/background/index.css +1 -0
- package/es/background/index.d.ts +21 -0
- package/es/background/index.less +51 -0
- package/es/background/index.mjs +8 -0
- package/es/background/style/index.d.ts +1 -0
- package/es/background/style/index.mjs +2 -0
- package/es/background/style/less.d.ts +1 -0
- package/es/background/style/less.mjs +2 -0
- package/es/background/types.d.ts +1 -0
- package/es/background/types.mjs +0 -0
- package/es/background/var.css +0 -0
- package/es/background/var.less +6 -0
- package/es/cascader/style/index.mjs +0 -8
- package/es/cascader/style/less.mjs +0 -8
- package/es/{action-sheet/ActionSheetPanel.d.ts → checkbox-panel/CheckboxPanel.d.ts} +11 -26
- package/es/checkbox-panel/CheckboxPanel.mjs +100 -0
- package/es/checkbox-panel/index.css +1 -0
- package/es/checkbox-panel/index.d.ts +58 -0
- package/es/checkbox-panel/index.less +26 -0
- package/es/checkbox-panel/index.mjs +8 -0
- package/es/checkbox-panel/style/index.d.ts +1 -0
- package/es/checkbox-panel/style/index.mjs +16 -0
- package/es/checkbox-panel/style/less.d.ts +1 -0
- package/es/checkbox-panel/style/less.mjs +16 -0
- package/es/coupon-list/style/index.mjs +1 -3
- package/es/coupon-list/style/less.mjs +1 -3
- package/es/datetime-picker/DatetimePicker.mjs +1 -3
- 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/Field.d.ts +17 -4
- package/es/field/Field.mjs +1 -1
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +9 -2
- package/es/field/var.less +1 -1
- package/es/filter-tag/FilterTag.d.ts +14 -0
- package/es/filter-tag/FilterTag.mjs +6 -1
- package/es/filter-tag/index.css +1 -1
- package/es/filter-tag/index.d.ts +10 -1
- package/es/filter-tag/index.less +16 -0
- package/es/filter-tag/var.less +5 -0
- package/es/floor-select/FloorSelect.d.ts +38 -0
- package/es/floor-select/FloorSelect.mjs +237 -0
- package/es/floor-select/index.css +1 -0
- package/es/floor-select/index.d.ts +32 -0
- package/es/floor-select/index.less +58 -0
- package/es/floor-select/index.mjs +8 -0
- package/es/floor-select/style/index.d.ts +1 -0
- package/es/floor-select/style/index.mjs +20 -0
- package/es/floor-select/style/less.d.ts +1 -0
- package/es/floor-select/style/less.mjs +20 -0
- package/es/floor-select/types.d.ts +18 -0
- package/es/floor-select/types.mjs +0 -0
- package/es/form-panel/FormPanel.d.ts +32 -0
- package/es/form-panel/FormPanel.mjs +64 -0
- package/es/form-panel/index.css +1 -0
- package/es/form-panel/index.d.ts +28 -0
- package/es/form-panel/index.less +95 -0
- package/es/form-panel/index.mjs +8 -0
- package/es/form-panel/style/index.d.ts +1 -0
- package/es/form-panel/style/index.mjs +11 -0
- package/es/form-panel/style/less.d.ts +1 -0
- package/es/form-panel/style/less.mjs +11 -0
- package/es/friendly-tip/FriendlyTip.d.ts +86 -0
- package/es/friendly-tip/FriendlyTip.mjs +60 -0
- package/es/friendly-tip/index.css +1 -0
- package/es/friendly-tip/index.d.ts +64 -0
- package/es/friendly-tip/index.less +48 -0
- package/es/friendly-tip/index.mjs +8 -0
- package/es/friendly-tip/style/index.d.ts +1 -0
- package/es/friendly-tip/style/index.mjs +7 -0
- package/es/friendly-tip/style/less.d.ts +1 -0
- package/es/friendly-tip/style/less.mjs +7 -0
- package/es/friendly-tip/var.css +0 -0
- package/es/friendly-tip/var.less +10 -0
- package/es/index.d.ts +8 -1
- package/es/index.mjs +22 -1
- package/es/location-select/style/index.mjs +1 -1
- package/es/location-select/style/less.mjs +1 -1
- package/es/material-add/MaterialAdd.d.ts +14 -1
- package/es/material-add/MaterialAdd.mjs +98 -50
- package/es/material-add/index.d.ts +10 -1
- package/es/material-add/style/index.mjs +1 -1
- package/es/material-add/style/less.mjs +1 -1
- package/es/material-add/types.d.ts +9 -0
- package/es/multi-person-select/MultiPersonSelect.d.ts +1 -1
- package/es/multi-person-select/index.d.ts +1 -1
- package/es/multi-person-select/style/index.mjs +1 -1
- package/es/multi-person-select/style/less.mjs +1 -1
- package/es/notify/index.css +1 -1
- package/es/notify/index.less +10 -0
- package/es/notify/var.less +3 -0
- package/es/object-select/style/index.mjs +1 -1
- package/es/object-select/style/less.mjs +1 -1
- package/es/popover/Popover.mjs +5 -4
- package/es/popover/index.css +1 -1
- package/es/popover/index.less +12 -5
- package/es/popover/var.less +1 -1
- package/es/quantity-input/QuantityInput.d.ts +1 -1
- package/es/quantity-input/index.d.ts +2 -2
- package/es/radio-panel/RadioPanel.d.ts +41 -0
- package/es/radio-panel/RadioPanel.mjs +83 -0
- package/es/radio-panel/index.css +1 -0
- package/es/radio-panel/index.d.ts +31 -0
- package/es/radio-panel/index.less +26 -0
- package/es/radio-panel/index.mjs +8 -0
- package/es/radio-panel/style/index.d.ts +1 -0
- package/es/radio-panel/style/index.mjs +15 -0
- package/es/radio-panel/style/less.d.ts +1 -0
- package/es/radio-panel/style/less.mjs +15 -0
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.mjs +2 -1
- package/es/rate/RateCell.d.ts +196 -0
- package/es/rate/RateCell.mjs +60 -0
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +136 -0
- package/es/rate/index.less +35 -0
- package/es/rate/index.mjs +8 -0
- package/es/rate/style/index.mjs +5 -0
- package/es/rate/style/less.mjs +5 -0
- package/es/rate/var.less +1 -1
- package/es/search/Search.d.ts +13 -3
- package/es/search/index.d.ts +9 -2
- package/es/sidebar-item/SidebarItem.mjs +1 -2
- package/es/single-person-select/style/index.mjs +1 -2
- package/es/single-person-select/style/less.mjs +1 -2
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/css-variables.less +10 -0
- package/es/tab/style/index.mjs +0 -8
- package/es/tab/style/less.mjs +0 -8
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/var.less +1 -1
- package/es/tabs/Tabs.mjs +5 -1
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.less +4 -0
- package/es/tabs/style/index.mjs +0 -8
- package/es/tabs/style/less.mjs +0 -8
- package/es/tag/Tag.d.ts +13 -3
- package/es/tag/Tag.mjs +1 -1
- package/es/tag/index.d.ts +9 -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/es/work-order-filter/style/index.mjs +1 -1
- package/es/work-order-filter/style/less.mjs +1 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +0 -63
- package/lib/action-sheet/index.js +0 -3
- package/lib/action-sheet/index.less +0 -96
- package/lib/action-sheet/style/index.js +0 -8
- package/lib/action-sheet/style/less.js +0 -8
- package/lib/background/Background.d.ts +23 -0
- package/lib/background/Background.js +42 -0
- package/lib/background/assets/background-default.png +0 -0
- package/lib/background/assets/background-light.png +0 -0
- package/lib/background/assets/background-style-1.png +0 -0
- package/lib/background/assets/background-style-2.png +0 -0
- package/lib/background/assets/background-style-3.png +0 -0
- package/lib/background/index.css +1 -0
- package/lib/background/index.d.ts +21 -0
- package/lib/background/index.js +37 -0
- package/lib/background/index.less +51 -0
- package/lib/background/style/index.d.ts +1 -0
- package/lib/background/style/index.js +2 -0
- package/lib/background/style/less.d.ts +1 -0
- package/lib/background/style/less.js +2 -0
- package/lib/background/types.d.ts +1 -0
- package/lib/background/types.js +15 -0
- package/lib/background/var.css +0 -0
- package/lib/background/var.less +6 -0
- package/lib/cascader/style/index.js +0 -8
- package/lib/cascader/style/less.js +0 -8
- package/lib/{action-sheet/ActionSheetPanel.d.ts → checkbox-panel/CheckboxPanel.d.ts} +11 -26
- package/lib/checkbox-panel/CheckboxPanel.js +119 -0
- package/lib/checkbox-panel/index.css +1 -0
- package/lib/checkbox-panel/index.d.ts +58 -0
- package/lib/checkbox-panel/index.js +37 -0
- package/lib/checkbox-panel/index.less +26 -0
- package/lib/checkbox-panel/style/index.d.ts +1 -0
- package/lib/checkbox-panel/style/index.js +16 -0
- package/lib/checkbox-panel/style/less.d.ts +1 -0
- package/lib/checkbox-panel/style/less.js +16 -0
- package/lib/coupon-list/style/index.js +1 -3
- package/lib/coupon-list/style/less.js +1 -3
- package/lib/datetime-picker/DatetimePicker.js +1 -3
- 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/Field.d.ts +17 -4
- package/lib/field/Field.js +1 -1
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +9 -2
- package/lib/field/var.less +1 -1
- package/lib/filter-tag/FilterTag.d.ts +14 -0
- package/lib/filter-tag/FilterTag.js +6 -1
- package/lib/filter-tag/index.css +1 -1
- package/lib/filter-tag/index.d.ts +10 -1
- package/lib/filter-tag/index.less +16 -0
- package/lib/filter-tag/var.less +5 -0
- package/lib/floor-select/FloorSelect.d.ts +38 -0
- package/lib/floor-select/FloorSelect.js +256 -0
- package/lib/floor-select/index.css +1 -0
- package/lib/floor-select/index.d.ts +32 -0
- package/lib/floor-select/index.js +37 -0
- package/lib/floor-select/index.less +58 -0
- package/lib/floor-select/style/index.d.ts +1 -0
- package/lib/floor-select/style/index.js +20 -0
- package/lib/floor-select/style/less.d.ts +1 -0
- package/lib/floor-select/style/less.js +20 -0
- package/lib/floor-select/types.d.ts +18 -0
- package/lib/floor-select/types.js +15 -0
- package/lib/form-panel/FormPanel.d.ts +32 -0
- package/lib/form-panel/FormPanel.js +83 -0
- package/lib/form-panel/index.css +1 -0
- package/lib/form-panel/index.d.ts +28 -0
- package/lib/form-panel/index.js +37 -0
- package/lib/form-panel/index.less +95 -0
- package/lib/form-panel/style/index.d.ts +1 -0
- package/lib/form-panel/style/index.js +11 -0
- package/lib/form-panel/style/less.d.ts +1 -0
- package/lib/form-panel/style/less.js +11 -0
- package/lib/friendly-tip/FriendlyTip.d.ts +86 -0
- package/lib/friendly-tip/FriendlyTip.js +79 -0
- package/lib/friendly-tip/index.css +1 -0
- package/lib/friendly-tip/index.d.ts +64 -0
- package/lib/friendly-tip/index.js +37 -0
- package/lib/friendly-tip/index.less +48 -0
- package/lib/friendly-tip/style/index.d.ts +1 -0
- package/lib/friendly-tip/style/index.js +7 -0
- package/lib/friendly-tip/style/less.d.ts +1 -0
- package/lib/friendly-tip/style/less.js +7 -0
- package/lib/friendly-tip/var.css +0 -0
- package/lib/friendly-tip/var.less +10 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +8 -1
- package/lib/index.js +22 -1
- package/lib/index.less +16 -9
- package/lib/location-select/style/index.js +1 -1
- package/lib/location-select/style/less.js +1 -1
- package/lib/material-add/MaterialAdd.d.ts +14 -1
- package/lib/material-add/MaterialAdd.js +98 -50
- package/lib/material-add/index.d.ts +10 -1
- package/lib/material-add/style/index.js +1 -1
- package/lib/material-add/style/less.js +1 -1
- package/lib/material-add/types.d.ts +9 -0
- package/lib/multi-person-select/MultiPersonSelect.d.ts +1 -1
- package/lib/multi-person-select/index.d.ts +1 -1
- package/lib/multi-person-select/style/index.js +1 -1
- package/lib/multi-person-select/style/less.js +1 -1
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.less +10 -0
- package/lib/notify/var.less +3 -0
- package/lib/object-select/style/index.js +1 -1
- package/lib/object-select/style/less.js +1 -1
- package/lib/popover/Popover.js +5 -4
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.less +12 -5
- package/lib/popover/var.less +1 -1
- package/lib/quantity-input/QuantityInput.d.ts +1 -1
- package/lib/quantity-input/index.d.ts +2 -2
- package/lib/radio-panel/RadioPanel.d.ts +41 -0
- package/lib/radio-panel/RadioPanel.js +102 -0
- package/lib/radio-panel/index.css +1 -0
- package/lib/radio-panel/index.d.ts +31 -0
- package/lib/radio-panel/index.js +37 -0
- package/lib/radio-panel/index.less +26 -0
- package/lib/radio-panel/style/index.d.ts +1 -0
- package/lib/radio-panel/style/index.js +15 -0
- package/lib/radio-panel/style/less.d.ts +1 -0
- package/lib/radio-panel/style/less.js +15 -0
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.js +2 -1
- package/lib/rate/RateCell.d.ts +196 -0
- package/lib/rate/RateCell.js +89 -0
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +136 -0
- package/lib/rate/index.js +8 -0
- package/lib/rate/index.less +35 -0
- package/lib/rate/style/index.js +5 -0
- package/lib/rate/style/less.js +5 -0
- package/lib/rate/var.less +1 -1
- package/lib/search/Search.d.ts +13 -3
- package/lib/search/index.d.ts +9 -2
- package/lib/sidebar-item/SidebarItem.js +1 -2
- package/lib/single-person-select/style/index.js +1 -2
- package/lib/single-person-select/style/less.js +1 -2
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/css-variables.less +10 -0
- package/lib/tab/style/index.js +0 -8
- package/lib/tab/style/less.js +0 -8
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/var.less +1 -1
- package/lib/tabs/Tabs.js +5 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.less +4 -0
- package/lib/tabs/style/index.js +0 -8
- package/lib/tabs/style/less.js +0 -8
- package/lib/tag/Tag.d.ts +13 -3
- package/lib/tag/Tag.js +1 -1
- package/lib/tag/index.d.ts +9 -2
- package/lib/vant.cjs.js +3497 -3138
- package/lib/vant.es.js +3498 -3139
- package/lib/vant.js +5700 -5341
- 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/lib/work-order-filter/style/index.js +1 -1
- package/lib/work-order-filter/style/less.js +1 -1
- package/package.json +2 -2
- package/skills/use-persagy-vant/SKILL.md +8 -7
- 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/design-interaction-baseline.md +71 -0
- package/skills/use-persagy-vant/references/page-recipes.md +22 -5
- package/es/action-sheet/ActionSheetPanel.mjs +0 -145
- package/lib/action-sheet/ActionSheetPanel.js +0 -174
package/es/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import { ActionSheet } from "./action-sheet/index.mjs";
|
|
|
5
5
|
import { AddressEdit } from "./address-edit/index.mjs";
|
|
6
6
|
import { AddressList } from "./address-list/index.mjs";
|
|
7
7
|
import { Area } from "./area/index.mjs";
|
|
8
|
+
import { Background } from "./background/index.mjs";
|
|
8
9
|
import { Badge } from "./badge/index.mjs";
|
|
9
10
|
import { BlueMark } from "./blue-mark/index.mjs";
|
|
10
11
|
import { BottomActionBar } from "./bottom-action-bar/index.mjs";
|
|
@@ -16,6 +17,7 @@ import { Cell } from "./cell/index.mjs";
|
|
|
16
17
|
import { CellGroup } from "./cell-group/index.mjs";
|
|
17
18
|
import { Checkbox } from "./checkbox/index.mjs";
|
|
18
19
|
import { CheckboxGroup } from "./checkbox-group/index.mjs";
|
|
20
|
+
import { CheckboxPanel } from "./checkbox-panel/index.mjs";
|
|
19
21
|
import { Circle } from "./circle/index.mjs";
|
|
20
22
|
import { Col } from "./col/index.mjs";
|
|
21
23
|
import { Collapse } from "./collapse/index.mjs";
|
|
@@ -36,7 +38,10 @@ import { DropdownMenu } from "./dropdown-menu/index.mjs";
|
|
|
36
38
|
import { Empty } from "./empty/index.mjs";
|
|
37
39
|
import { Field } from "./field/index.mjs";
|
|
38
40
|
import { FilterTag } from "./filter-tag/index.mjs";
|
|
41
|
+
import { FloorSelect } from "./floor-select/index.mjs";
|
|
39
42
|
import { Form } from "./form/index.mjs";
|
|
43
|
+
import { FormPanel } from "./form-panel/index.mjs";
|
|
44
|
+
import { FriendlyTip } from "./friendly-tip/index.mjs";
|
|
40
45
|
import { Grid } from "./grid/index.mjs";
|
|
41
46
|
import { GridItem } from "./grid-item/index.mjs";
|
|
42
47
|
import { Icon } from "./icon/index.mjs";
|
|
@@ -66,6 +71,7 @@ import { PullRefresh } from "./pull-refresh/index.mjs";
|
|
|
66
71
|
import { QuantityInput } from "./quantity-input/index.mjs";
|
|
67
72
|
import { Radio } from "./radio/index.mjs";
|
|
68
73
|
import { RadioGroup } from "./radio-group/index.mjs";
|
|
74
|
+
import { RadioPanel } from "./radio-panel/index.mjs";
|
|
69
75
|
import { Rate } from "./rate/index.mjs";
|
|
70
76
|
import { Row } from "./row/index.mjs";
|
|
71
77
|
import { Search } from "./search/index.mjs";
|
|
@@ -94,8 +100,9 @@ import { Toast } from "./toast/index.mjs";
|
|
|
94
100
|
import { TreeSelect } from "./tree-select/index.mjs";
|
|
95
101
|
import { Uploader } from "./uploader/index.mjs";
|
|
96
102
|
import { VideoPreview } from "./video-preview/index.mjs";
|
|
103
|
+
import { WorkOrderCard } from "./work-order-card/index.mjs";
|
|
97
104
|
import { WorkOrderFilter } from "./work-order-filter/index.mjs";
|
|
98
|
-
const version = "0.0.
|
|
105
|
+
const version = "0.0.26";
|
|
99
106
|
function install(app) {
|
|
100
107
|
const components = [
|
|
101
108
|
ActionBar,
|
|
@@ -105,6 +112,7 @@ function install(app) {
|
|
|
105
112
|
AddressEdit,
|
|
106
113
|
AddressList,
|
|
107
114
|
Area,
|
|
115
|
+
Background,
|
|
108
116
|
Badge,
|
|
109
117
|
BlueMark,
|
|
110
118
|
BottomActionBar,
|
|
@@ -116,6 +124,7 @@ function install(app) {
|
|
|
116
124
|
CellGroup,
|
|
117
125
|
Checkbox,
|
|
118
126
|
CheckboxGroup,
|
|
127
|
+
CheckboxPanel,
|
|
119
128
|
Circle,
|
|
120
129
|
Col,
|
|
121
130
|
Collapse,
|
|
@@ -136,7 +145,10 @@ function install(app) {
|
|
|
136
145
|
Empty,
|
|
137
146
|
Field,
|
|
138
147
|
FilterTag,
|
|
148
|
+
FloorSelect,
|
|
139
149
|
Form,
|
|
150
|
+
FormPanel,
|
|
151
|
+
FriendlyTip,
|
|
140
152
|
Grid,
|
|
141
153
|
GridItem,
|
|
142
154
|
Icon,
|
|
@@ -166,6 +178,7 @@ function install(app) {
|
|
|
166
178
|
QuantityInput,
|
|
167
179
|
Radio,
|
|
168
180
|
RadioGroup,
|
|
181
|
+
RadioPanel,
|
|
169
182
|
Rate,
|
|
170
183
|
Row,
|
|
171
184
|
Search,
|
|
@@ -194,6 +207,7 @@ function install(app) {
|
|
|
194
207
|
TreeSelect,
|
|
195
208
|
Uploader,
|
|
196
209
|
VideoPreview,
|
|
210
|
+
WorkOrderCard,
|
|
197
211
|
WorkOrderFilter
|
|
198
212
|
];
|
|
199
213
|
components.forEach((item) => {
|
|
@@ -211,6 +225,7 @@ export * from "./action-sheet/index.mjs";
|
|
|
211
225
|
export * from "./address-edit/index.mjs";
|
|
212
226
|
export * from "./address-list/index.mjs";
|
|
213
227
|
export * from "./area/index.mjs";
|
|
228
|
+
export * from "./background/index.mjs";
|
|
214
229
|
export * from "./badge/index.mjs";
|
|
215
230
|
export * from "./blue-mark/index.mjs";
|
|
216
231
|
export * from "./bottom-action-bar/index.mjs";
|
|
@@ -222,6 +237,7 @@ export * from "./cell/index.mjs";
|
|
|
222
237
|
export * from "./cell-group/index.mjs";
|
|
223
238
|
export * from "./checkbox/index.mjs";
|
|
224
239
|
export * from "./checkbox-group/index.mjs";
|
|
240
|
+
export * from "./checkbox-panel/index.mjs";
|
|
225
241
|
export * from "./circle/index.mjs";
|
|
226
242
|
export * from "./col/index.mjs";
|
|
227
243
|
export * from "./collapse/index.mjs";
|
|
@@ -242,7 +258,10 @@ export * from "./dropdown-menu/index.mjs";
|
|
|
242
258
|
export * from "./empty/index.mjs";
|
|
243
259
|
export * from "./field/index.mjs";
|
|
244
260
|
export * from "./filter-tag/index.mjs";
|
|
261
|
+
export * from "./floor-select/index.mjs";
|
|
245
262
|
export * from "./form/index.mjs";
|
|
263
|
+
export * from "./form-panel/index.mjs";
|
|
264
|
+
export * from "./friendly-tip/index.mjs";
|
|
246
265
|
export * from "./grid/index.mjs";
|
|
247
266
|
export * from "./grid-item/index.mjs";
|
|
248
267
|
export * from "./icon/index.mjs";
|
|
@@ -273,6 +292,7 @@ export * from "./pull-refresh/index.mjs";
|
|
|
273
292
|
export * from "./quantity-input/index.mjs";
|
|
274
293
|
export * from "./radio/index.mjs";
|
|
275
294
|
export * from "./radio-group/index.mjs";
|
|
295
|
+
export * from "./radio-panel/index.mjs";
|
|
276
296
|
export * from "./rate/index.mjs";
|
|
277
297
|
export * from "./row/index.mjs";
|
|
278
298
|
export * from "./search/index.mjs";
|
|
@@ -301,6 +321,7 @@ export * from "./toast/index.mjs";
|
|
|
301
321
|
export * from "./tree-select/index.mjs";
|
|
302
322
|
export * from "./uploader/index.mjs";
|
|
303
323
|
export * from "./video-preview/index.mjs";
|
|
324
|
+
export * from "./work-order-card/index.mjs";
|
|
304
325
|
export * from "./work-order-filter/index.mjs";
|
|
305
326
|
var stdin_default = {
|
|
306
327
|
install,
|
|
@@ -9,6 +9,7 @@ import "../../overlay/index.css";
|
|
|
9
9
|
import "../../popup/index.css";
|
|
10
10
|
import "../../popover/index.css";
|
|
11
11
|
import "../../nav-bar/index.css";
|
|
12
|
+
import "../../action-sheet/index.css";
|
|
12
13
|
import "../../checkbox-group/index.css";
|
|
13
14
|
import "../../checkbox/index.css";
|
|
14
15
|
import "../../radio-group/index.css";
|
|
@@ -18,7 +19,6 @@ import "../../tree-select/index.css";
|
|
|
18
19
|
import "../../field/index.css";
|
|
19
20
|
import "../../search/index.css";
|
|
20
21
|
import "../../dialog/index.css";
|
|
21
|
-
import "../../action-sheet/index.css";
|
|
22
22
|
import "../../sticky/index.css";
|
|
23
23
|
import "../../swipe/index.css";
|
|
24
24
|
import "../../swipe-item/index.css";
|
|
@@ -9,6 +9,7 @@ import "../../overlay/index.less";
|
|
|
9
9
|
import "../../popup/index.less";
|
|
10
10
|
import "../../popover/index.less";
|
|
11
11
|
import "../../nav-bar/index.less";
|
|
12
|
+
import "../../action-sheet/index.less";
|
|
12
13
|
import "../../checkbox-group/index.less";
|
|
13
14
|
import "../../checkbox/index.less";
|
|
14
15
|
import "../../radio-group/index.less";
|
|
@@ -18,7 +19,6 @@ import "../../tree-select/index.less";
|
|
|
18
19
|
import "../../field/index.less";
|
|
19
20
|
import "../../search/index.less";
|
|
20
21
|
import "../../dialog/index.less";
|
|
21
|
-
import "../../action-sheet/index.less";
|
|
22
22
|
import "../../sticky/index.less";
|
|
23
23
|
import "../../swipe/index.less";
|
|
24
24
|
import "../../swipe-item/index.less";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from 'vue';
|
|
2
|
-
import type { MaterialAddItem } from './types';
|
|
2
|
+
import type { MaterialAddCategory, MaterialAddItem } from './types';
|
|
3
3
|
declare const materialAddProps: {
|
|
4
4
|
show: BooleanConstructor;
|
|
5
5
|
modelValue: {
|
|
@@ -10,6 +10,10 @@ declare const materialAddProps: {
|
|
|
10
10
|
type: PropType<MaterialAddItem[]>;
|
|
11
11
|
default: () => MaterialAddItem[];
|
|
12
12
|
};
|
|
13
|
+
categories: {
|
|
14
|
+
type: PropType<MaterialAddCategory[]>;
|
|
15
|
+
default: () => MaterialAddCategory[];
|
|
16
|
+
};
|
|
13
17
|
title: {
|
|
14
18
|
type: PropType<string>;
|
|
15
19
|
default: string;
|
|
@@ -30,6 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
34
|
type: PropType<MaterialAddItem[]>;
|
|
31
35
|
default: () => MaterialAddItem[];
|
|
32
36
|
};
|
|
37
|
+
categories: {
|
|
38
|
+
type: PropType<MaterialAddCategory[]>;
|
|
39
|
+
default: () => MaterialAddCategory[];
|
|
40
|
+
};
|
|
33
41
|
title: {
|
|
34
42
|
type: PropType<string>;
|
|
35
43
|
default: string;
|
|
@@ -48,6 +56,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
56
|
type: PropType<MaterialAddItem[]>;
|
|
49
57
|
default: () => MaterialAddItem[];
|
|
50
58
|
};
|
|
59
|
+
categories: {
|
|
60
|
+
type: PropType<MaterialAddCategory[]>;
|
|
61
|
+
default: () => MaterialAddCategory[];
|
|
62
|
+
};
|
|
51
63
|
title: {
|
|
52
64
|
type: PropType<string>;
|
|
53
65
|
default: string;
|
|
@@ -67,5 +79,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
79
|
show: boolean;
|
|
68
80
|
confirmText: string;
|
|
69
81
|
items: MaterialAddItem[];
|
|
82
|
+
categories: MaterialAddCategory[];
|
|
70
83
|
}>;
|
|
71
84
|
export default _default;
|
|
@@ -176,6 +176,83 @@ const defaultItems = [{
|
|
|
176
176
|
category: "cleaning-tool",
|
|
177
177
|
kind: "tool"
|
|
178
178
|
}];
|
|
179
|
+
const defaultCategories = [{
|
|
180
|
+
id: "material-root",
|
|
181
|
+
text: "\u7EF4\u4FEE\u7269\u8D44",
|
|
182
|
+
kind: "material",
|
|
183
|
+
categories: [{
|
|
184
|
+
value: "air-conditioner",
|
|
185
|
+
text: "\u7A7A\u8C03\u8BBE\u5907"
|
|
186
|
+
}, {
|
|
187
|
+
value: "pipe",
|
|
188
|
+
text: "\u7BA1\u6750\u914D\u4EF6"
|
|
189
|
+
}]
|
|
190
|
+
}, {
|
|
191
|
+
id: "safety-root",
|
|
192
|
+
text: "\u5B89\u5168\u7269\u8D44",
|
|
193
|
+
kind: "material",
|
|
194
|
+
categories: [{
|
|
195
|
+
value: "safety-protection",
|
|
196
|
+
text: "\u52B3\u52A8\u9632\u62A4"
|
|
197
|
+
}, {
|
|
198
|
+
value: "safety-signage",
|
|
199
|
+
text: "\u5B89\u5168\u6807\u8BC6"
|
|
200
|
+
}]
|
|
201
|
+
}, {
|
|
202
|
+
id: "office-root",
|
|
203
|
+
text: "\u529E\u516C\u7269\u8D44",
|
|
204
|
+
kind: "material",
|
|
205
|
+
categories: [{
|
|
206
|
+
value: "office-supply",
|
|
207
|
+
text: "\u529E\u516C\u8017\u6750"
|
|
208
|
+
}, {
|
|
209
|
+
value: "office-records",
|
|
210
|
+
text: "\u8BB0\u5F55\u7528\u54C1"
|
|
211
|
+
}]
|
|
212
|
+
}, {
|
|
213
|
+
id: "other-root",
|
|
214
|
+
text: "\u5176\u4ED6\u7269\u8D44",
|
|
215
|
+
kind: "material",
|
|
216
|
+
categories: [{
|
|
217
|
+
value: "other-cleaning",
|
|
218
|
+
text: "\u6E05\u6D01\u7528\u54C1"
|
|
219
|
+
}, {
|
|
220
|
+
value: "other-consumables",
|
|
221
|
+
text: "\u901A\u7528\u8017\u6750"
|
|
222
|
+
}]
|
|
223
|
+
}, {
|
|
224
|
+
id: "tool-root",
|
|
225
|
+
text: "\u7EF4\u4FEE\u5DE5\u5177",
|
|
226
|
+
kind: "tool",
|
|
227
|
+
categories: [{
|
|
228
|
+
value: "hand-tool",
|
|
229
|
+
text: "\u624B\u52A8\u5DE5\u5177"
|
|
230
|
+
}]
|
|
231
|
+
}, {
|
|
232
|
+
id: "meter-root",
|
|
233
|
+
text: "\u6D4B\u91CF\u5DE5\u5177",
|
|
234
|
+
kind: "tool",
|
|
235
|
+
categories: [{
|
|
236
|
+
value: "meter",
|
|
237
|
+
text: "\u6D4B\u91CF\u4EEA\u8868"
|
|
238
|
+
}]
|
|
239
|
+
}, {
|
|
240
|
+
id: "installation-root",
|
|
241
|
+
text: "\u5B89\u88C5\u5DE5\u5177",
|
|
242
|
+
kind: "tool",
|
|
243
|
+
categories: [{
|
|
244
|
+
value: "installation",
|
|
245
|
+
text: "\u5B89\u88C5\u5DE5\u5177"
|
|
246
|
+
}]
|
|
247
|
+
}, {
|
|
248
|
+
id: "cleaning-tool-root",
|
|
249
|
+
text: "\u6E05\u6D01\u5DE5\u5177",
|
|
250
|
+
kind: "tool",
|
|
251
|
+
categories: [{
|
|
252
|
+
value: "cleaning-tool",
|
|
253
|
+
text: "\u6E05\u6D01\u5DE5\u5177"
|
|
254
|
+
}]
|
|
255
|
+
}];
|
|
179
256
|
const materialAddProps = {
|
|
180
257
|
show: Boolean,
|
|
181
258
|
modelValue: makeArrayProp(),
|
|
@@ -183,6 +260,10 @@ const materialAddProps = {
|
|
|
183
260
|
type: Array,
|
|
184
261
|
default: () => defaultItems
|
|
185
262
|
},
|
|
263
|
+
categories: {
|
|
264
|
+
type: Array,
|
|
265
|
+
default: () => defaultCategories
|
|
266
|
+
},
|
|
186
267
|
title: makeStringProp("\u6DFB\u52A0\u7269\u6599"),
|
|
187
268
|
confirmText: makeStringProp("\u786E\u5B9A")
|
|
188
269
|
};
|
|
@@ -275,44 +356,23 @@ var stdin_default = defineComponent({
|
|
|
275
356
|
"class": bem("empty")
|
|
276
357
|
}, [_createTextVNode("\u6682\u65E0\u5339\u914D\u7269\u6599")])]);
|
|
277
358
|
const renderCatalog = () => {
|
|
278
|
-
const rootGroups =
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
categories:
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
id: "other-root",
|
|
292
|
-
text: "\u5176\u4ED6\u7269\u8D44",
|
|
293
|
-
categories: ["other-cleaning", "other-consumables"]
|
|
294
|
-
}] : [{
|
|
295
|
-
id: "tool-root",
|
|
296
|
-
text: "\u7EF4\u4FEE\u5DE5\u5177",
|
|
297
|
-
categories: ["hand-tool"]
|
|
298
|
-
}, {
|
|
299
|
-
id: "meter-root",
|
|
300
|
-
text: "\u6D4B\u91CF\u5DE5\u5177",
|
|
301
|
-
categories: ["meter"]
|
|
302
|
-
}, {
|
|
303
|
-
id: "installation-root",
|
|
304
|
-
text: "\u5B89\u88C5\u5DE5\u5177",
|
|
305
|
-
categories: ["installation"]
|
|
306
|
-
}, {
|
|
307
|
-
id: "cleaning-tool-root",
|
|
308
|
-
text: "\u6E05\u6D01\u5DE5\u5177",
|
|
309
|
-
categories: ["cleaning-tool"]
|
|
310
|
-
}];
|
|
311
|
-
const items = rootGroups.map((root) => ({
|
|
359
|
+
const rootGroups = props.categories.filter((category) => category.kind === activeKind.value);
|
|
360
|
+
const configuredValues = new Set(rootGroups.flatMap((group) => group.categories.map((category) => category.value)));
|
|
361
|
+
const ungroupedCategories = [...new Set(props.items.filter((item) => item.kind === activeKind.value && !configuredValues.has(item.category)).map((item) => item.category))];
|
|
362
|
+
const groups = ungroupedCategories.length ? [...rootGroups, {
|
|
363
|
+
id: `${activeKind.value}-other`,
|
|
364
|
+
text: "\u672A\u5206\u7C7B",
|
|
365
|
+
kind: activeKind.value,
|
|
366
|
+
categories: ungroupedCategories.map((value) => ({
|
|
367
|
+
value,
|
|
368
|
+
text: value
|
|
369
|
+
}))
|
|
370
|
+
}] : rootGroups;
|
|
371
|
+
const items = groups.map((root) => ({
|
|
312
372
|
id: root.id,
|
|
313
373
|
text: root.text,
|
|
314
374
|
selectable: false,
|
|
315
|
-
children: props.items.filter((item) => root.categories.
|
|
375
|
+
children: props.items.filter((item) => item.kind === activeKind.value && root.categories.some((category) => category.value === item.category)).map((material) => ({
|
|
316
376
|
id: material.id,
|
|
317
377
|
text: material.name,
|
|
318
378
|
selectable: false,
|
|
@@ -346,21 +406,9 @@ var stdin_default = defineComponent({
|
|
|
346
406
|
const renderDetail = () => {
|
|
347
407
|
const item = detailItem.value;
|
|
348
408
|
const [brand = "-", specification = "-", warehouse = "-"] = item.detail.split("\uFF5C");
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
"safety-protection": "\u5B89\u5168\u7269\u8D44/\u52B3\u52A8\u9632\u62A4",
|
|
353
|
-
"safety-signage": "\u5B89\u5168\u7269\u8D44/\u5B89\u5168\u6807\u8BC6",
|
|
354
|
-
"office-supply": "\u529E\u516C\u7269\u8D44/\u529E\u516C\u8017\u6750",
|
|
355
|
-
"office-records": "\u529E\u516C\u7269\u8D44/\u8BB0\u5F55\u7528\u54C1",
|
|
356
|
-
"other-cleaning": "\u5176\u4ED6\u7269\u8D44/\u6E05\u6D01\u7528\u54C1",
|
|
357
|
-
"other-consumables": "\u5176\u4ED6\u7269\u8D44/\u901A\u7528\u8017\u6750",
|
|
358
|
-
"hand-tool": "\u7EF4\u4FEE\u5DE5\u5177",
|
|
359
|
-
meter: "\u6D4B\u91CF\u5DE5\u5177",
|
|
360
|
-
installation: "\u5B89\u88C5\u5DE5\u5177",
|
|
361
|
-
"cleaning-tool": "\u6E05\u6D01\u5DE5\u5177"
|
|
362
|
-
};
|
|
363
|
-
const infoRows = [["\u7269\u6599\u540D\u79F0", item.name], ["\u53EF\u7533\u8BF7", String(item.available || 0)], ["\u5F85\u5165\u5E93", "12"], ["\u6240\u5C5E\u5206\u7C7B", categoryNames[item.category] || (item.kind === "material" ? "\u7EF4\u4FEE\u7269\u8D44" : "\u7EF4\u4FEE\u5DE5\u5177")], ["\u54C1\u724C", brand], ["\u89C4\u683C", specification], ["\u5355\u4F4D", item.unit], ["\u4F9B\u5E94\u5546", "\u6DF1\u5733\u96C6\u5B89"], ["\u4ED3\u5E93\u540D\u79F0", warehouse], ["\u4ED3\u5E93\u4F4D\u7F6E", "A\u5EA7/B3/\u505C\u8F66\u573A\u5E93\u623F"], ["\u5E93\u7BA1\u5458", "\u674E\u590D\u6052 13880588688\n\u674E\u5175 16885885868"]];
|
|
409
|
+
const categoryGroup = props.categories.find((group) => group.categories.some((category2) => category2.value === item.category));
|
|
410
|
+
const category = categoryGroup == null ? void 0 : categoryGroup.categories.find((entry) => entry.value === item.category);
|
|
411
|
+
const infoRows = [["\u7269\u6599\u540D\u79F0", item.name], ["\u53EF\u7533\u8BF7", String(item.available || 0)], ["\u5F85\u5165\u5E93", "12"], ["\u6240\u5C5E\u5206\u7C7B", category && categoryGroup ? `${categoryGroup.text}/${category.text}` : item.category], ["\u54C1\u724C", brand], ["\u89C4\u683C", specification], ["\u5355\u4F4D", item.unit], ["\u4F9B\u5E94\u5546", "\u6DF1\u5733\u96C6\u5B89"], ["\u4ED3\u5E93\u540D\u79F0", warehouse], ["\u4ED3\u5E93\u4F4D\u7F6E", "A\u5EA7/B3/\u505C\u8F66\u573A\u5E93\u623F"], ["\u5E93\u7BA1\u5458", "\u674E\u590D\u6052 13880588688\n\u674E\u5175 16885885868"]];
|
|
364
412
|
return _createVNode("div", {
|
|
365
413
|
"class": bem("detail-page")
|
|
366
414
|
}, [_createVNode("div", {
|
|
@@ -8,6 +8,10 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
8
8
|
type: import("vue").PropType<import("./types").MaterialAddItem[]>;
|
|
9
9
|
default: () => import("./types").MaterialAddItem[];
|
|
10
10
|
};
|
|
11
|
+
categories: {
|
|
12
|
+
type: import("vue").PropType<import("./types").MaterialAddCategory[]>;
|
|
13
|
+
default: () => import("./types").MaterialAddCategory[];
|
|
14
|
+
};
|
|
11
15
|
title: {
|
|
12
16
|
type: import("vue").PropType<string>;
|
|
13
17
|
default: string;
|
|
@@ -26,6 +30,10 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
26
30
|
type: import("vue").PropType<import("./types").MaterialAddItem[]>;
|
|
27
31
|
default: () => import("./types").MaterialAddItem[];
|
|
28
32
|
};
|
|
33
|
+
categories: {
|
|
34
|
+
type: import("vue").PropType<import("./types").MaterialAddCategory[]>;
|
|
35
|
+
default: () => import("./types").MaterialAddCategory[];
|
|
36
|
+
};
|
|
29
37
|
title: {
|
|
30
38
|
type: import("vue").PropType<string>;
|
|
31
39
|
default: string;
|
|
@@ -45,10 +53,11 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
45
53
|
show: boolean;
|
|
46
54
|
confirmText: string;
|
|
47
55
|
items: import("./types").MaterialAddItem[];
|
|
56
|
+
categories: import("./types").MaterialAddCategory[];
|
|
48
57
|
}>>;
|
|
49
58
|
export default MaterialAdd;
|
|
50
59
|
export type { MaterialAddProps } from './MaterialAdd';
|
|
51
|
-
export type { MaterialAddItem } from './types';
|
|
60
|
+
export type { MaterialAddCategory, MaterialAddItem } from './types';
|
|
52
61
|
declare module 'vue' {
|
|
53
62
|
interface GlobalComponents {
|
|
54
63
|
VanMaterialAdd: typeof MaterialAdd;
|
|
@@ -10,6 +10,7 @@ import "../../overlay/index.css";
|
|
|
10
10
|
import "../../popup/index.css";
|
|
11
11
|
import "../../popover/index.css";
|
|
12
12
|
import "../../nav-bar/index.css";
|
|
13
|
+
import "../../action-sheet/index.css";
|
|
13
14
|
import "../../checkbox-group/index.css";
|
|
14
15
|
import "../../checkbox/index.css";
|
|
15
16
|
import "../../bottom-action-bar/index.css";
|
|
@@ -19,7 +20,6 @@ import "../../cell/index.css";
|
|
|
19
20
|
import "../../tree-select/index.css";
|
|
20
21
|
import "../../field/index.css";
|
|
21
22
|
import "../../search/index.css";
|
|
22
|
-
import "../../action-sheet/index.css";
|
|
23
23
|
import "../../sticky/index.css";
|
|
24
24
|
import "../../swipe/index.css";
|
|
25
25
|
import "../../swipe-item/index.css";
|
|
@@ -10,6 +10,7 @@ import "../../overlay/index.less";
|
|
|
10
10
|
import "../../popup/index.less";
|
|
11
11
|
import "../../popover/index.less";
|
|
12
12
|
import "../../nav-bar/index.less";
|
|
13
|
+
import "../../action-sheet/index.less";
|
|
13
14
|
import "../../checkbox-group/index.less";
|
|
14
15
|
import "../../checkbox/index.less";
|
|
15
16
|
import "../../bottom-action-bar/index.less";
|
|
@@ -19,7 +20,6 @@ import "../../cell/index.less";
|
|
|
19
20
|
import "../../tree-select/index.less";
|
|
20
21
|
import "../../field/index.less";
|
|
21
22
|
import "../../search/index.less";
|
|
22
|
-
import "../../action-sheet/index.less";
|
|
23
23
|
import "../../sticky/index.less";
|
|
24
24
|
import "../../swipe/index.less";
|
|
25
25
|
import "../../swipe-item/index.less";
|
|
@@ -8,3 +8,12 @@ export declare type MaterialAddItem = {
|
|
|
8
8
|
category: string;
|
|
9
9
|
kind: 'material' | 'tool';
|
|
10
10
|
};
|
|
11
|
+
export declare type MaterialAddCategory = {
|
|
12
|
+
id: Numeric;
|
|
13
|
+
text: string;
|
|
14
|
+
kind: 'material' | 'tool';
|
|
15
|
+
categories: Array<{
|
|
16
|
+
value: string;
|
|
17
|
+
text: string;
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
@@ -115,9 +115,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
115
|
title: string;
|
|
116
116
|
modelValue: string[];
|
|
117
117
|
show: boolean;
|
|
118
|
-
confirmText: string;
|
|
119
118
|
expandText: string;
|
|
120
119
|
collapseText: string;
|
|
120
|
+
confirmText: string;
|
|
121
121
|
searchPlaceholder: string;
|
|
122
122
|
clearText: string;
|
|
123
123
|
groups: MultiPersonGroup[];
|
|
@@ -77,9 +77,9 @@ export declare const MultiPersonSelect: import("../utils").WithInstall<import("v
|
|
|
77
77
|
title: string;
|
|
78
78
|
modelValue: string[];
|
|
79
79
|
show: boolean;
|
|
80
|
-
confirmText: string;
|
|
81
80
|
expandText: string;
|
|
82
81
|
collapseText: string;
|
|
82
|
+
confirmText: string;
|
|
83
83
|
searchPlaceholder: string;
|
|
84
84
|
clearText: string;
|
|
85
85
|
groups: import("./types").MultiPersonGroup[];
|
|
@@ -8,6 +8,7 @@ import "../../overlay/index.css";
|
|
|
8
8
|
import "../../popup/index.css";
|
|
9
9
|
import "../../popover/index.css";
|
|
10
10
|
import "../../nav-bar/index.css";
|
|
11
|
+
import "../../action-sheet/index.css";
|
|
11
12
|
import "../../checkbox-group/index.css";
|
|
12
13
|
import "../../checkbox/index.css";
|
|
13
14
|
import "../../bottom-action-bar/index.css";
|
|
@@ -16,5 +17,4 @@ import "../../radio/index.css";
|
|
|
16
17
|
import "../../cell/index.css";
|
|
17
18
|
import "../../field/index.css";
|
|
18
19
|
import "../../search/index.css";
|
|
19
|
-
import "../../action-sheet/index.css";
|
|
20
20
|
import "../index.css";
|
|
@@ -8,6 +8,7 @@ import "../../overlay/index.less";
|
|
|
8
8
|
import "../../popup/index.less";
|
|
9
9
|
import "../../popover/index.less";
|
|
10
10
|
import "../../nav-bar/index.less";
|
|
11
|
+
import "../../action-sheet/index.less";
|
|
11
12
|
import "../../checkbox-group/index.less";
|
|
12
13
|
import "../../checkbox/index.less";
|
|
13
14
|
import "../../bottom-action-bar/index.less";
|
|
@@ -16,5 +17,4 @@ import "../../radio/index.less";
|
|
|
16
17
|
import "../../cell/index.less";
|
|
17
18
|
import "../../field/index.less";
|
|
18
19
|
import "../../search/index.less";
|
|
19
|
-
import "../../action-sheet/index.less";
|
|
20
20
|
import "../index.less";
|
package/es/notify/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background-color: var(--van-primary-color);--van-notify-success-background-color: var(--van-success-color);--van-notify-danger-background-color: var(--van-danger-color);--van-notify-warning-background-color: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background-color)}.van-notify--success{background:var(--van-notify-success-background-color)}.van-notify--danger{background:var(--van-notify-danger-background-color)}.van-notify--warning{background:var(--van-notify-warning-background-color)}
|
|
1
|
+
:root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-top-offset: 8px;--van-notify-horizontal-margin: 16px;--van-notify-border-radius: 8px;--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background-color: var(--van-primary-color);--van-notify-success-background-color: var(--van-success-color);--van-notify-danger-background-color: var(--van-danger-color);--van-notify-warning-background-color: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify.van-popup--top{top:var(--van-notify-top-offset);left:var(--van-notify-horizontal-margin);width:calc(100% - var(--van-notify-horizontal-margin) * 2);border-radius:var(--van-notify-border-radius)}.van-notify--primary{background:var(--van-notify-primary-background-color)}.van-notify--success{background:var(--van-notify-success-background-color)}.van-notify--danger{background:var(--van-notify-danger-background-color)}.van-notify--warning{background:var(--van-notify-warning-background-color)}
|
package/es/notify/index.less
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
:root {
|
|
4
4
|
--van-notify-text-color: @notify-text-color;
|
|
5
5
|
--van-notify-padding: @notify-padding;
|
|
6
|
+
--van-notify-top-offset: @notify-top-offset;
|
|
7
|
+
--van-notify-horizontal-margin: @notify-horizontal-margin;
|
|
8
|
+
--van-notify-border-radius: @notify-border-radius;
|
|
6
9
|
--van-notify-font-size: @notify-font-size;
|
|
7
10
|
--van-notify-line-height: @notify-line-height;
|
|
8
11
|
--van-notify-primary-background-color: @notify-primary-background-color;
|
|
@@ -26,6 +29,13 @@
|
|
|
26
29
|
text-align: center;
|
|
27
30
|
word-wrap: break-word;
|
|
28
31
|
|
|
32
|
+
&.van-popup--top {
|
|
33
|
+
top: var(--van-notify-top-offset);
|
|
34
|
+
left: var(--van-notify-horizontal-margin);
|
|
35
|
+
width: calc(100% - var(--van-notify-horizontal-margin) * 2);
|
|
36
|
+
border-radius: var(--van-notify-border-radius);
|
|
37
|
+
}
|
|
38
|
+
|
|
29
39
|
&--primary {
|
|
30
40
|
background: var(--van-notify-primary-background-color);
|
|
31
41
|
}
|
package/es/notify/var.less
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
@notify-text-color: var(--van-white);
|
|
4
4
|
@notify-padding: var(--van-padding-xs) var(--van-padding-md);
|
|
5
|
+
@notify-top-offset: 8px;
|
|
6
|
+
@notify-horizontal-margin: 16px;
|
|
7
|
+
@notify-border-radius: 8px;
|
|
5
8
|
@notify-font-size: var(--van-font-size-md);
|
|
6
9
|
@notify-line-height: var(--van-line-height-md);
|
|
7
10
|
@notify-primary-background-color: var(--van-primary-color);
|
|
@@ -9,6 +9,7 @@ import "../../overlay/index.css";
|
|
|
9
9
|
import "../../popup/index.css";
|
|
10
10
|
import "../../popover/index.css";
|
|
11
11
|
import "../../nav-bar/index.css";
|
|
12
|
+
import "../../action-sheet/index.css";
|
|
12
13
|
import "../../checkbox-group/index.css";
|
|
13
14
|
import "../../checkbox/index.css";
|
|
14
15
|
import "../../bottom-action-bar/index.css";
|
|
@@ -18,7 +19,6 @@ import "../../cell/index.css";
|
|
|
18
19
|
import "../../tree-select/index.css";
|
|
19
20
|
import "../../field/index.css";
|
|
20
21
|
import "../../search/index.css";
|
|
21
|
-
import "../../action-sheet/index.css";
|
|
22
22
|
import "../../sticky/index.css";
|
|
23
23
|
import "../../swipe/index.css";
|
|
24
24
|
import "../../swipe-item/index.css";
|
|
@@ -9,6 +9,7 @@ import "../../overlay/index.less";
|
|
|
9
9
|
import "../../popup/index.less";
|
|
10
10
|
import "../../popover/index.less";
|
|
11
11
|
import "../../nav-bar/index.less";
|
|
12
|
+
import "../../action-sheet/index.less";
|
|
12
13
|
import "../../checkbox-group/index.less";
|
|
13
14
|
import "../../checkbox/index.less";
|
|
14
15
|
import "../../bottom-action-bar/index.less";
|
|
@@ -18,7 +19,6 @@ import "../../cell/index.less";
|
|
|
18
19
|
import "../../tree-select/index.less";
|
|
19
20
|
import "../../field/index.less";
|
|
20
21
|
import "../../search/index.less";
|
|
21
|
-
import "../../action-sheet/index.less";
|
|
22
22
|
import "../../sticky/index.less";
|
|
23
23
|
import "../../swipe/index.less";
|
|
24
24
|
import "../../swipe-item/index.less";
|
package/es/popover/Popover.mjs
CHANGED
|
@@ -102,11 +102,12 @@ var stdin_default = defineComponent({
|
|
|
102
102
|
index
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
return [action.icon && _createVNode(
|
|
106
|
-
"name": action.icon,
|
|
107
|
-
"classPrefix": props.iconPrefix,
|
|
105
|
+
return [action.icon && _createVNode("div", {
|
|
108
106
|
"class": bem("action-icon")
|
|
109
|
-
},
|
|
107
|
+
}, [_createVNode(Icon, {
|
|
108
|
+
"name": action.icon,
|
|
109
|
+
"classPrefix": props.iconPrefix
|
|
110
|
+
}, null)]), _createVNode("div", {
|
|
110
111
|
"class": [bem("action-text"), BORDER_BOTTOM]
|
|
111
112
|
}, [action.text])];
|
|
112
113
|
};
|
package/es/popover/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--van-popover-arrow-size: 6px;--van-popover-border-radius: var(--van-border-radius-lg);--van-popover-action-width: 128px;--van-popover-action-height: 44px;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size:
|
|
1
|
+
:root{--van-popover-arrow-size: 6px;--van-popover-border-radius: var(--van-border-radius-lg);--van-popover-action-width: 128px;--van-popover-action-height: 44px;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: 18px;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background-color: var(--van-background-color-light);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background-color: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-border-radius)}.van-popover__action{position:relative;display:flex;align-items:flex-start;box-sizing:border-box;width:var(--van-popover-action-width);min-height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-popover-action-line-height);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:flex-start;box-sizing:border-box;justify-content:center;min-height:var(--van-popover-action-height);padding:var(--van-padding-sm) 0}.van-popover__action-icon{display:flex;flex:none;align-items:center;height:var(--van-popover-action-line-height);margin-top:var(--van-padding-sm);margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background-color);box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background-color)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background-color)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background-color)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-animation-timing-function-enter)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-animation-timing-function-leave)}
|