persagy-vant 0.0.54 → 0.0.55

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.
@@ -51,6 +51,7 @@ declare const actionSheetProps: {
51
51
  cancelText: StringConstructor;
52
52
  description: StringConstructor;
53
53
  contentAdaptive: BooleanConstructor;
54
+ maxHeight: (NumberConstructor | StringConstructor)[];
54
55
  closeOnPopstate: {
55
56
  type: BooleanConstructor;
56
57
  default: true;
@@ -104,6 +105,7 @@ declare const _default: import("vue").DefineComponent<{
104
105
  cancelText: StringConstructor;
105
106
  description: StringConstructor;
106
107
  contentAdaptive: BooleanConstructor;
108
+ maxHeight: (NumberConstructor | StringConstructor)[];
107
109
  closeOnPopstate: {
108
110
  type: BooleanConstructor;
109
111
  default: true;
@@ -155,6 +157,7 @@ declare const _default: import("vue").DefineComponent<{
155
157
  cancelText: StringConstructor;
156
158
  description: StringConstructor;
157
159
  contentAdaptive: BooleanConstructor;
160
+ maxHeight: (NumberConstructor | StringConstructor)[];
158
161
  closeOnPopstate: {
159
162
  type: BooleanConstructor;
160
163
  default: true;
@@ -1,5 +1,5 @@
1
1
  import { nextTick, defineComponent, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { pick, extend, truthProp, makeArrayProp, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
2
+ import { pick, extend, addUnit, truthProp, numericProp, makeArrayProp, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
3
3
  import { Icon } from "../icon/index.mjs";
4
4
  import { NavBar } from "../nav-bar/index.mjs";
5
5
  import { Popup } from "../popup/index.mjs";
@@ -14,6 +14,7 @@ const actionSheetProps = extend({}, popupSharedProps, {
14
14
  cancelText: String,
15
15
  description: String,
16
16
  contentAdaptive: Boolean,
17
+ maxHeight: numericProp,
17
18
  closeOnPopstate: truthProp,
18
19
  closeOnClickAction: Boolean,
19
20
  safeAreaInsetBottom: truthProp
@@ -125,6 +126,9 @@ var stdin_default = defineComponent({
125
126
  "class": bem({
126
127
  "content-adaptive": props.contentAdaptive
127
128
  }),
129
+ "style": props.maxHeight !== void 0 ? {
130
+ "--van-action-sheet-max-height": addUnit(props.maxHeight)
131
+ } : void 0,
128
132
  "position": "bottom",
129
133
  "onUpdate:show": updateShow
130
134
  }, pick(props, popupInheritKeys)), {
@@ -1 +1 @@
1
- :root{--van-action-sheet-max-height:calc(100% - 96px);--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-color-light);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background-color);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color);background:var(--van-gray-2)}.van-action-sheet--content-adaptive{height:auto}.van-action-sheet__content{flex:1 auto;display:flex;flex-direction:column;gap:0;padding:0 var(--van-padding-md) var(--van-padding-md);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__action-card{overflow:hidden;background:var(--van-white);border-radius:8px}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:transparent;border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{position:relative;line-height:var(--van-action-sheet-item-line-height);text-align:left}.van-action-sheet__item--selected{font-weight:var(--van-font-weight-bold)}.van-action-sheet__item:not(:last-child):after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;background:transparent}.van-action-sheet__nav-left{display:flex;align-items:center;height:var(--van-nav-bar-height);padding:0 6px 0 var(--van-padding-md)}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}
1
+ :root{--van-action-sheet-max-height: 80vh;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-color-light);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background-color);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color);background:var(--van-gray-2)}.van-action-sheet--content-adaptive{height:auto}.van-action-sheet__content{flex:1 auto;display:flex;flex-direction:column;gap:0;padding:0 var(--van-padding-md) var(--van-padding-md);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__action-card{overflow:hidden;background:var(--van-white);border-radius:8px}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:transparent;border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{position:relative;line-height:var(--van-action-sheet-item-line-height);text-align:left}.van-action-sheet__item--selected{font-weight:var(--van-font-weight-bold)}.van-action-sheet__item:not(:last-child):after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;background:transparent}.van-action-sheet__nav-left{display:flex;align-items:center;height:var(--van-nav-bar-height);padding:0 6px 0 var(--van-padding-md)}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}
@@ -40,6 +40,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
40
40
  cancelText: StringConstructor;
41
41
  description: StringConstructor;
42
42
  contentAdaptive: BooleanConstructor;
43
+ maxHeight: (NumberConstructor | StringConstructor)[];
43
44
  closeOnPopstate: {
44
45
  type: BooleanConstructor;
45
46
  default: true;
@@ -91,6 +92,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
91
92
  cancelText: StringConstructor;
92
93
  description: StringConstructor;
93
94
  contentAdaptive: BooleanConstructor;
95
+ maxHeight: (NumberConstructor | StringConstructor)[];
94
96
  closeOnPopstate: {
95
97
  type: BooleanConstructor;
96
98
  default: true;
@@ -1,6 +1,6 @@
1
1
  @import '../style/var.less';
2
2
 
3
- @action-sheet-max-height: calc(100% - 96px);
3
+ @action-sheet-max-height: 80vh;
4
4
  @action-sheet-header-height: 48px;
5
5
  @action-sheet-header-font-size: var(--van-font-size-lg);
6
6
  @action-sheet-description-color: var(--van-text-color-2);
@@ -387,6 +387,7 @@ var stdin_default = defineComponent({
387
387
  "round": props.round,
388
388
  "position": props.position,
389
389
  "closeable": props.showTitle || props.showSubtitle,
390
+ "closeIconPosition": "top-left",
390
391
  "teleport": props.teleport,
391
392
  "closeOnPopstate": props.closeOnPopstate,
392
393
  "safeAreaInsetTop": props.safeAreaInsetTop,
package/es/index.d.ts CHANGED
@@ -118,4 +118,4 @@ declare namespace _default {
118
118
  }
119
119
  export default _default;
120
120
  export function install(app: any): void;
121
- export const version: "0.0.54";
121
+ export const version: "0.0.55";
package/es/index.mjs CHANGED
@@ -111,7 +111,7 @@ import { Uploader } from "./uploader/index.mjs";
111
111
  import { VideoPreview } from "./video-preview/index.mjs";
112
112
  import { WorkOrderCard } from "./work-order-card/index.mjs";
113
113
  import { WorkOrderFilter } from "./work-order-filter/index.mjs";
114
- const version = "0.0.54";
114
+ const version = "0.0.55";
115
115
  function install(app) {
116
116
  const components = [
117
117
  ActionBar,
@@ -51,6 +51,7 @@ declare const actionSheetProps: {
51
51
  cancelText: StringConstructor;
52
52
  description: StringConstructor;
53
53
  contentAdaptive: BooleanConstructor;
54
+ maxHeight: (NumberConstructor | StringConstructor)[];
54
55
  closeOnPopstate: {
55
56
  type: BooleanConstructor;
56
57
  default: true;
@@ -104,6 +105,7 @@ declare const _default: import("vue").DefineComponent<{
104
105
  cancelText: StringConstructor;
105
106
  description: StringConstructor;
106
107
  contentAdaptive: BooleanConstructor;
108
+ maxHeight: (NumberConstructor | StringConstructor)[];
107
109
  closeOnPopstate: {
108
110
  type: BooleanConstructor;
109
111
  default: true;
@@ -155,6 +157,7 @@ declare const _default: import("vue").DefineComponent<{
155
157
  cancelText: StringConstructor;
156
158
  description: StringConstructor;
157
159
  contentAdaptive: BooleanConstructor;
160
+ maxHeight: (NumberConstructor | StringConstructor)[];
158
161
  closeOnPopstate: {
159
162
  type: BooleanConstructor;
160
163
  default: true;
@@ -36,6 +36,7 @@ const actionSheetProps = (0, import_utils.extend)({}, import_shared.popupSharedP
36
36
  cancelText: String,
37
37
  description: String,
38
38
  contentAdaptive: Boolean,
39
+ maxHeight: import_utils.numericProp,
39
40
  closeOnPopstate: import_utils.truthProp,
40
41
  closeOnClickAction: Boolean,
41
42
  safeAreaInsetBottom: import_utils.truthProp
@@ -147,6 +148,9 @@ var stdin_default = (0, import_vue.defineComponent)({
147
148
  "class": bem({
148
149
  "content-adaptive": props.contentAdaptive
149
150
  }),
151
+ "style": props.maxHeight !== void 0 ? {
152
+ "--van-action-sheet-max-height": (0, import_utils.addUnit)(props.maxHeight)
153
+ } : void 0,
150
154
  "position": "bottom",
151
155
  "onUpdate:show": updateShow
152
156
  }, (0, import_utils.pick)(props, popupInheritKeys)), {
@@ -1 +1 @@
1
- :root{--van-action-sheet-max-height:calc(100% - 96px);--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-color-light);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background-color);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color);background:var(--van-gray-2)}.van-action-sheet--content-adaptive{height:auto}.van-action-sheet__content{flex:1 auto;display:flex;flex-direction:column;gap:0;padding:0 var(--van-padding-md) var(--van-padding-md);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__action-card{overflow:hidden;background:var(--van-white);border-radius:8px}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:transparent;border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{position:relative;line-height:var(--van-action-sheet-item-line-height);text-align:left}.van-action-sheet__item--selected{font-weight:var(--van-font-weight-bold)}.van-action-sheet__item:not(:last-child):after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;background:transparent}.van-action-sheet__nav-left{display:flex;align-items:center;height:var(--van-nav-bar-height);padding:0 6px 0 var(--van-padding-md)}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}
1
+ :root{--van-action-sheet-max-height: 80vh;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-color-light);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background-color);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color);background:var(--van-gray-2)}.van-action-sheet--content-adaptive{height:auto}.van-action-sheet__content{flex:1 auto;display:flex;flex-direction:column;gap:0;padding:0 var(--van-padding-md) var(--van-padding-md);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__action-card{overflow:hidden;background:var(--van-white);border-radius:8px}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:transparent;border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{position:relative;line-height:var(--van-action-sheet-item-line-height);text-align:left}.van-action-sheet__item--selected{font-weight:var(--van-font-weight-bold)}.van-action-sheet__item:not(:last-child):after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;background:transparent}.van-action-sheet__nav-left{display:flex;align-items:center;height:var(--van-nav-bar-height);padding:0 6px 0 var(--van-padding-md)}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}
@@ -40,6 +40,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
40
40
  cancelText: StringConstructor;
41
41
  description: StringConstructor;
42
42
  contentAdaptive: BooleanConstructor;
43
+ maxHeight: (NumberConstructor | StringConstructor)[];
43
44
  closeOnPopstate: {
44
45
  type: BooleanConstructor;
45
46
  default: true;
@@ -91,6 +92,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
91
92
  cancelText: StringConstructor;
92
93
  description: StringConstructor;
93
94
  contentAdaptive: BooleanConstructor;
95
+ maxHeight: (NumberConstructor | StringConstructor)[];
94
96
  closeOnPopstate: {
95
97
  type: BooleanConstructor;
96
98
  default: true;
@@ -1,6 +1,6 @@
1
1
  @import '../style/var.less';
2
2
 
3
- @action-sheet-max-height: calc(100% - 96px);
3
+ @action-sheet-max-height: 80vh;
4
4
  @action-sheet-header-height: 48px;
5
5
  @action-sheet-header-font-size: var(--van-font-size-lg);
6
6
  @action-sheet-description-color: var(--van-text-color-2);
@@ -419,6 +419,7 @@ var stdin_default = (0, import_vue.defineComponent)({
419
419
  "round": props.round,
420
420
  "position": props.position,
421
421
  "closeable": props.showTitle || props.showSubtitle,
422
+ "closeIconPosition": "top-left",
422
423
  "teleport": props.teleport,
423
424
  "closeOnPopstate": props.closeOnPopstate,
424
425
  "safeAreaInsetTop": props.safeAreaInsetTop,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-ea574b22.js");
3
+ const index = require("./index-491e7ee3.js");
4
4
  require("vue");
5
5
  require("@vant/use");
6
6
  require("@vant/popperjs");
@@ -1,4 +1,4 @@
1
- import { a as abortError, w as waitForAbort } from "./index-d68a26ab.mjs";
1
+ import { a as abortError, w as waitForAbort } from "./index-4a9f05ad.mjs";
2
2
  import "vue";
3
3
  import "@vant/use";
4
4
  import "@vant/popperjs";
@@ -1801,6 +1801,7 @@ const actionSheetProps = extend({}, popupSharedProps, {
1801
1801
  cancelText: String,
1802
1802
  description: String,
1803
1803
  contentAdaptive: Boolean,
1804
+ maxHeight: numericProp,
1804
1805
  closeOnPopstate: truthProp,
1805
1806
  closeOnClickAction: Boolean,
1806
1807
  safeAreaInsetBottom: truthProp
@@ -1912,6 +1913,9 @@ var stdin_default$1X = vue.defineComponent({
1912
1913
  "class": bem$1J({
1913
1914
  "content-adaptive": props2.contentAdaptive
1914
1915
  }),
1916
+ "style": props2.maxHeight !== void 0 ? {
1917
+ "--van-action-sheet-max-height": addUnit(props2.maxHeight)
1918
+ } : void 0,
1915
1919
  "position": "bottom",
1916
1920
  "onUpdate:show": updateShow
1917
1921
  }, pick(props2, popupInheritKeys$2)), {
@@ -6717,6 +6721,7 @@ var stdin_default$1v = vue.defineComponent({
6717
6721
  "round": props2.round,
6718
6722
  "position": props2.position,
6719
6723
  "closeable": props2.showTitle || props2.showSubtitle,
6724
+ "closeIconPosition": "top-left",
6720
6725
  "teleport": props2.teleport,
6721
6726
  "closeOnPopstate": props2.closeOnPopstate,
6722
6727
  "safeAreaInsetTop": props2.safeAreaInsetTop,
@@ -17770,7 +17775,7 @@ var stdin_default$p = vue.defineComponent({
17770
17775
  return;
17771
17776
  let decoder;
17772
17777
  try {
17773
- decoder = yield waitForAbort(Promise.resolve().then(() => require("./decoder-03a4b162.js")), signal);
17778
+ decoder = yield waitForAbort(Promise.resolve().then(() => require("./decoder-51de19c7.js")), signal);
17774
17779
  if (!canContinueStartup(id))
17775
17780
  return;
17776
17781
  yield waitForAbort(decoder.prepareDecoder(props2.wasmUrl, signal), signal);
@@ -17831,7 +17836,7 @@ var stdin_default$p = vue.defineComponent({
17831
17836
  } = abortController;
17832
17837
  let imageCanvas;
17833
17838
  try {
17834
- const decoder = yield waitForAbort(Promise.resolve().then(() => require("./decoder-03a4b162.js")), signal);
17839
+ const decoder = yield waitForAbort(Promise.resolve().then(() => require("./decoder-51de19c7.js")), signal);
17835
17840
  if (!isCurrent(id))
17836
17841
  return;
17837
17842
  const image = yield waitForAbort(decoder.loadImage(file, signal), signal);
@@ -22708,7 +22713,7 @@ const Lazyload = {
22708
22713
  });
22709
22714
  }
22710
22715
  };
22711
- const version = "0.0.54";
22716
+ const version = "0.0.55";
22712
22717
  function install(app) {
22713
22718
  const components = [
22714
22719
  ActionBar,
@@ -1800,6 +1800,7 @@ const actionSheetProps = extend({}, popupSharedProps, {
1800
1800
  cancelText: String,
1801
1801
  description: String,
1802
1802
  contentAdaptive: Boolean,
1803
+ maxHeight: numericProp,
1803
1804
  closeOnPopstate: truthProp,
1804
1805
  closeOnClickAction: Boolean,
1805
1806
  safeAreaInsetBottom: truthProp
@@ -1911,6 +1912,9 @@ var stdin_default$1X = defineComponent({
1911
1912
  "class": bem$1J({
1912
1913
  "content-adaptive": props2.contentAdaptive
1913
1914
  }),
1915
+ "style": props2.maxHeight !== void 0 ? {
1916
+ "--van-action-sheet-max-height": addUnit(props2.maxHeight)
1917
+ } : void 0,
1914
1918
  "position": "bottom",
1915
1919
  "onUpdate:show": updateShow
1916
1920
  }, pick(props2, popupInheritKeys$2)), {
@@ -6716,6 +6720,7 @@ var stdin_default$1v = defineComponent({
6716
6720
  "round": props2.round,
6717
6721
  "position": props2.position,
6718
6722
  "closeable": props2.showTitle || props2.showSubtitle,
6723
+ "closeIconPosition": "top-left",
6719
6724
  "teleport": props2.teleport,
6720
6725
  "closeOnPopstate": props2.closeOnPopstate,
6721
6726
  "safeAreaInsetTop": props2.safeAreaInsetTop,
@@ -17769,7 +17774,7 @@ var stdin_default$p = defineComponent({
17769
17774
  return;
17770
17775
  let decoder;
17771
17776
  try {
17772
- decoder = yield waitForAbort(import("./decoder-9637718d.mjs"), signal);
17777
+ decoder = yield waitForAbort(import("./decoder-6b11aad7.mjs"), signal);
17773
17778
  if (!canContinueStartup(id))
17774
17779
  return;
17775
17780
  yield waitForAbort(decoder.prepareDecoder(props2.wasmUrl, signal), signal);
@@ -17830,7 +17835,7 @@ var stdin_default$p = defineComponent({
17830
17835
  } = abortController;
17831
17836
  let imageCanvas;
17832
17837
  try {
17833
- const decoder = yield waitForAbort(import("./decoder-9637718d.mjs"), signal);
17838
+ const decoder = yield waitForAbort(import("./decoder-6b11aad7.mjs"), signal);
17834
17839
  if (!isCurrent(id))
17835
17840
  return;
17836
17841
  const image = yield waitForAbort(decoder.loadImage(file, signal), signal);
@@ -22707,7 +22712,7 @@ const Lazyload = {
22707
22712
  });
22708
22713
  }
22709
22714
  };
22710
- const version = "0.0.54";
22715
+ const version = "0.0.55";
22711
22716
  function install(app) {
22712
22717
  const components = [
22713
22718
  ActionBar,