snail.vue 2.0.21 → 2.0.22

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.
@@ -1030,7 +1030,7 @@ type LayoutOptions = {
1030
1030
  * - 对应插槽名:main;主要内容显示区域,处于布局中的【中】区域
1031
1031
  * - 配置主内容区域的滚动条配置
1032
1032
  */
1033
- main?: Pick<LayoutAraeOptions<void>, "scroll">;
1033
+ main?: Pick<LayoutAraeOptions<void>, "scroll" | "class">;
1034
1034
  /**
1035
1035
  * 【左侧】区域配置
1036
1036
  * - 对应插槽名`left` ;`mode` 为 `horizontal` 时生效
@@ -1062,6 +1062,11 @@ type LayoutOptions = {
1062
1062
  * 布局组件子区域 配置选项
1063
1063
  */
1064
1064
  type LayoutAraeOptions<Style extends WidthStyle | HeightStyle | void> = Style & {
1065
+ /**
1066
+ * 子区域自定义类样式
1067
+ * - 多个类样式,使用“ ”隔开
1068
+ */
1069
+ class?: string;
1065
1070
  /**
1066
1071
  * 滚动视图配置
1067
1072
  * - 视图属性:滚动条大小、显示时机
package/dist/snail.vue.js CHANGED
@@ -1,7 +1,7 @@
1
1
  //@ sourceURL=/snail.vue.js
2
2
  import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createTextVNode, shallowRef, computed, mergeProps, unref, createElementVNode, toDisplayString, Fragment, renderList, mergeModels, useModel, normalizeStyle, createCommentVNode, createBlock, nextTick, useTemplateRef, createVNode, watch, withDirectives, isRef, vModelText, withCtx, createApp, resolveDynamicComponent, TransitionGroup, Transition, normalizeProps, guardReactiveProps, ref, onErrorCaptured, createSlots, onMounted, withModifiers, getCurrentInstance, resolveComponent, vShow, onBeforeUnmount, onActivated, getCurrentScope, onScopeDispose } from 'vue';
3
3
  import { throwError, isObject, correctNumber, correctString, useKey, isArray, mountScope, useScopes, throwIfFalse, isPromise, wait, isNumberNotNaN, isStringNotEmpty, hasAny, mustFunction, useScope, removeFromArray, mustObject, isArrayNotEmpty, hasOwnProperty, isString, script, delay, useTimer, defer, useAsyncScope, useHook, newId, throwIfTrue, isFunction, isNullish, getTimeNumber, getDateValue, parseDate, formatDateValue, getDateByValue, parseTimeValue, getTimeValue, padStart, formatTimeValue, parseDateValue, correctDateFormat, isValidTime, getFromArray, onMountScope } from 'snail.core';
4
- import { css, link, useObserver, useScroll, useAnimation } from 'snail.view';
4
+ import { link, css, useObserver, useScroll, useAnimation } from 'snail.view';
5
5
 
6
6
  const _hoisted_1$o = ["title"];
7
7
  var _sfc_main$F = defineComponent({
@@ -25,6 +25,10 @@ var _sfc_main$F = defineComponent({
25
25
  }
26
26
  });
27
27
 
28
+ var addLink = href => setTimeout(link.register, 0, href);
29
+
30
+ addLink("/styles/snail.vue.vue.css");
31
+
28
32
  function getBuiltinIcon(iconType) {
29
33
  switch (iconType) {
30
34
  case "success":
@@ -236,10 +240,6 @@ var _sfc_main$D = defineComponent({
236
240
  }
237
241
  });
238
242
 
239
- var addLink = href => setTimeout(link.register, 0, href);
240
-
241
- addLink("/styles/snail.vue.vue.css");
242
-
243
243
  var _sfc_main$C = defineComponent({
244
244
  ...{
245
245
  name: "Footer",
@@ -2586,7 +2586,9 @@ const _hoisted_1$a = {
2586
2586
  class: "snail-action flex-cross-center",
2587
2587
  ref: "snail-action"
2588
2588
  };
2589
- const _hoisted_2$5 = ["title"];
2589
+ const _hoisted_2$5 = {
2590
+ class: "action-slot flex-cross-center"
2591
+ };
2590
2592
  var _sfc_main$i = defineComponent({
2591
2593
  __name: "action",
2592
2594
  props: {
@@ -2662,10 +2664,7 @@ var _sfc_main$i = defineComponent({
2662
2664
  }
2663
2665
  });
2664
2666
  return (_ctx, _cache) => {
2665
- return openBlock(), createElementBlock("div", _hoisted_1$a, [createElementVNode("div", {
2666
- class: "action-slot flex-cross-center",
2667
- title: String(__props.trigger == "hover")
2668
- }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_2$5), __props.trigger == "hover" ? (openBlock(), createBlock(_sfc_main$E, {
2667
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [createElementVNode("div", _hoisted_2$5, [renderSlot(_ctx.$slots, "default")]), __props.trigger == "hover" ? (openBlock(), createBlock(_sfc_main$E, {
2669
2668
  key: 0,
2670
2669
  class: "hover-tips",
2671
2670
  button: "",
@@ -3203,29 +3202,29 @@ var _sfc_main$d = defineComponent({
3203
3202
  const map = Object.create(null);
3204
3203
  map.main = {
3205
3204
  scrollable: props.main && props.main.scroll != void 0,
3206
- class: "main-area",
3205
+ class: props.main && isStringNotEmpty(props.main.class) ? `main-area ${props.main.class}` : "main-area",
3207
3206
  style: void 0
3208
3207
  };
3209
3208
  if (props.mode == "vertical") {
3210
3209
  map.top = {
3211
3210
  scrollable: props.top && props.top.scroll != void 0,
3212
- class: "top-area",
3211
+ class: props.top && isStringNotEmpty(props.top.class) ? `top-area ${props.top.class}` : "top-area",
3213
3212
  style: buildHeightStyle(props.top)
3214
3213
  };
3215
3214
  map.bottom = {
3216
3215
  scrollable: props.bottom && props.bottom.scroll != void 0,
3217
- class: "bottom-area",
3216
+ class: props.bottom && isStringNotEmpty(props.bottom.class) ? `bottom-area ${props.bottom.class}` : "bottom-area",
3218
3217
  style: buildHeightStyle(props.bottom)
3219
3218
  };
3220
3219
  } else {
3221
3220
  map.left = {
3222
3221
  scrollable: props.left && props.left.scroll != void 0,
3223
- class: "left-area",
3222
+ class: props.left && isStringNotEmpty(props.left.class) ? `left-area ${props.left.class}` : "left-area",
3224
3223
  style: buildWidthStyle(props.left)
3225
3224
  };
3226
3225
  map.right = {
3227
3226
  scrollable: props.right && props.right.scroll != void 0,
3228
- class: "right-area",
3227
+ class: props.right && isStringNotEmpty(props.right.class) ? `right-area ${props.right.class}` : "right-area",
3229
3228
  style: buildWidthStyle(props.right)
3230
3229
  };
3231
3230
  }
@@ -27,6 +27,10 @@
27
27
  }
28
28
  });
29
29
 
30
+ var addLink = href => setTimeout(snail_view.link.register, 0, href);
31
+
32
+ addLink("/styles/snail.vue.vue.css");
33
+
30
34
  function getBuiltinIcon(iconType) {
31
35
  switch (iconType) {
32
36
  case "success":
@@ -238,10 +242,6 @@
238
242
  }
239
243
  });
240
244
 
241
- var addLink = href => setTimeout(snail_view.link.register, 0, href);
242
-
243
- addLink("/styles/snail.vue.vue.css");
244
-
245
245
  var _sfc_main$C = vue.defineComponent({
246
246
  ...{
247
247
  name: "Footer",
@@ -2588,7 +2588,9 @@
2588
2588
  class: "snail-action flex-cross-center",
2589
2589
  ref: "snail-action"
2590
2590
  };
2591
- const _hoisted_2$5 = ["title"];
2591
+ const _hoisted_2$5 = {
2592
+ class: "action-slot flex-cross-center"
2593
+ };
2592
2594
  var _sfc_main$i = vue.defineComponent({
2593
2595
  __name: "action",
2594
2596
  props: {
@@ -2664,10 +2666,7 @@
2664
2666
  }
2665
2667
  });
2666
2668
  return (_ctx, _cache) => {
2667
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [vue.createElementVNode("div", {
2668
- class: "action-slot flex-cross-center",
2669
- title: String(__props.trigger == "hover")
2670
- }, [vue.renderSlot(_ctx.$slots, "default")], 8, _hoisted_2$5), __props.trigger == "hover" ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
2669
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [vue.createElementVNode("div", _hoisted_2$5, [vue.renderSlot(_ctx.$slots, "default")]), __props.trigger == "hover" ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
2671
2670
  key: 0,
2672
2671
  class: "hover-tips",
2673
2672
  button: "",
@@ -3205,29 +3204,29 @@
3205
3204
  const map = Object.create(null);
3206
3205
  map.main = {
3207
3206
  scrollable: props.main && props.main.scroll != void 0,
3208
- class: "main-area",
3207
+ class: props.main && snail_core.isStringNotEmpty(props.main.class) ? `main-area ${props.main.class}` : "main-area",
3209
3208
  style: void 0
3210
3209
  };
3211
3210
  if (props.mode == "vertical") {
3212
3211
  map.top = {
3213
3212
  scrollable: props.top && props.top.scroll != void 0,
3214
- class: "top-area",
3213
+ class: props.top && snail_core.isStringNotEmpty(props.top.class) ? `top-area ${props.top.class}` : "top-area",
3215
3214
  style: buildHeightStyle(props.top)
3216
3215
  };
3217
3216
  map.bottom = {
3218
3217
  scrollable: props.bottom && props.bottom.scroll != void 0,
3219
- class: "bottom-area",
3218
+ class: props.bottom && snail_core.isStringNotEmpty(props.bottom.class) ? `bottom-area ${props.bottom.class}` : "bottom-area",
3220
3219
  style: buildHeightStyle(props.bottom)
3221
3220
  };
3222
3221
  } else {
3223
3222
  map.left = {
3224
3223
  scrollable: props.left && props.left.scroll != void 0,
3225
- class: "left-area",
3224
+ class: props.left && snail_core.isStringNotEmpty(props.left.class) ? `left-area ${props.left.class}` : "left-area",
3226
3225
  style: buildWidthStyle(props.left)
3227
3226
  };
3228
3227
  map.right = {
3229
3228
  scrollable: props.right && props.right.scroll != void 0,
3230
- class: "right-area",
3229
+ class: props.right && snail_core.isStringNotEmpty(props.right.class) ? `right-area ${props.right.class}` : "right-area",
3231
3230
  style: buildWidthStyle(props.right)
3232
3231
  };
3233
3232
  }
@@ -2,12 +2,12 @@
2
2
  .snail-button{align-items:center;border-radius:2px;cursor:pointer;display:flex;display:inline-flex;justify-content:center;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.snail-button.max{height:40px;width:120px}.snail-button.middle{height:32px;width:90px}.snail-button.normal{height:28px;width:54px}.snail-button.small{height:20px;width:30px}.snail-button.primary{background-color:#5ca3ff;color:#fff}.snail-button.default{background-color:#fff;border:1px solid #dddfed;color:#2e2f33}.snail-button.link{color:#4c9aff}
3
3
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/choose.vue index:0 */
4
4
  .snail-choose>div.choose-item{align-items:center;display:flex;flex-shrink:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.snail-choose>div.choose-item:not(.readonly){cursor:pointer}.snail-choose>div.choose-item>input::checkmark{background-color:#2196f3;border-color:#2196f3}.snail-choose>div.choose-item>span{margin-left:4px}.snail-choose>div.choose-item>span.item-des{color:#8a9099}.snail-choose>div.choose-item>.item-text{color:#2e3033}.snail-choose>div.choose-item:after{content:"";height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.snail-choose.horizontal{align-items:center;display:flex;flex-wrap:wrap;overflow-x:hidden}.snail-choose.horizontal>div.choose-item{margin:0 8px}.snail-choose.horizontal>div.choose-item:first-child{margin-left:0}.snail-choose.vertical{display:flex;flex-direction:column;justify-content:center}.snail-choose.beautiful>.choose-item>.status{align-items:center;display:flex;flex-shrink:0;justify-content:center;overflow:hidden}.snail-choose.beautiful>.choose-item>.status.selected{background-color:#4c9aff;border:1px solid #4c9aff}.snail-choose.beautiful>.choose-item>.status:not(.selected){border:1px solid #dcdfe6}.snail-choose.beautiful.radio>.choose-item>.status{border-radius:50%;height:16px;width:16px}.snail-choose.beautiful.checkbox>.choose-item>.status{height:14px;width:14px}.snail-choose.beautiful.readonly>.choose-item>.status.selected{background-color:#d5d7db;border-color:#d5d7db}.snail-choose.beautiful.readonly>.choose-item>.status:not(.selected){opacity:.5}
5
+ /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/footer.vue index:0 */
6
+ .snail-footer{align-items:center;background-color:#fff;display:flex;flex-shrink:0;height:72px;padding:0 40px;width:100%}.snail-footer>.snail-button:nth-child(n+2){margin-left:20px}.snail-footer.start-divider{border-top:1px solid #dddfed}.snail-footer.left{justify-content:flex-start}.snail-footer.center{justify-content:center}.snail-footer.right{justify-content:flex-end}
5
7
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/header.vue index:0 */
6
8
  .snail-header{align-items:center;background-color:#fff;display:flex;flex-shrink:0;position:relative;width:100%}.snail-header>.header-title{color:#2e3033;flex:1;line-height:48px;overflow:hidden;padding:0 30px;text-overflow:ellipsis;white-space:nowrap}.snail-header>.header-title.left{text-align:left}.snail-header>.header-title.center{text-align:center}.snail-header>.header-title.right{text-align:right}.snail-header.start-divider{border-bottom:1px solid #dddfed}.snail-header.page{height:48px}.snail-header.page>.header-title{font-size:16px;font-weight:bold}.snail-header.page>.close-icon{margin-right:18px}.snail-header.dialog{height:64px;padding-top:16px}.snail-header.dialog>.header-title{font-size:20px}.snail-header.dialog>.close-icon{position:absolute;right:8px;top:8px}
7
9
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/icon.vue index:0 */
8
10
  .snail-icon{fill:#8a8099;opacity:1;transition:all .2s linear}.snail-icon.button{cursor:pointer}
9
- /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/footer.vue index:0 */
10
- .snail-footer{align-items:center;background-color:#fff;display:flex;flex-shrink:0;height:72px;padding:0 40px;width:100%}.snail-footer>.snail-button:nth-child(n+2){margin-left:20px}.snail-footer.start-divider{border-top:1px solid #dddfed}.snail-footer.left{justify-content:flex-start}.snail-footer.center{justify-content:center}.snail-footer.right{justify-content:flex-end}
11
11
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/input.vue index:0 */
12
12
  .snail-input{display:inline-flex;min-height:34px}.snail-input>.input-title{flex-shrink:0;padding-top:6px}.snail-input>.input-title>span.text{color:#2e3033}.snail-input>.input-title>span.required{color:#f74b4b;margin-left:2px}.snail-input>.input-body{align-self:start;display:flex;flex:1;height:32px}.snail-input>.input-body>input{flex:1}.snail-input>.input-body>span{background-color:red;flex-shrink:0}
13
13
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/number.vue index:0 */
@@ -18,10 +18,10 @@
18
18
  .snail-select{align-items:center;border:1px solid #dddfed;border-radius:4px;color:#2e3033;display:flex;height:32px;width:100%}.snail-select:not(.readonly){background-color:#fff}.snail-select:not(.readonly,.empty){cursor:pointer}.snail-select>div.select-result{align-items:center;display:flex;flex:1;flex-wrap:nowrap;height:30px;overflow:hidden;padding:0 10px 0 6px}.snail-select>div.placeholder{flex:1;padding:0 10px 0 6px}.snail-select>svg.snail-icon{flex-shrink:0;margin-right:4px}.snail-select>div.no-items{flex:1;padding:0 8px}
19
19
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/switch.vue index:0 */
20
20
  .snail-switch{border-radius:10px 10px 10px 10px;cursor:pointer;height:20px!important;overflow:hidden;position:relative;width:36px!important}.snail-switch>div{height:100%;width:100%}.snail-switch>div.on{background-color:#5ca3ff}.snail-switch>div.off{background-color:#c4c8cc;position:absolute;transition:left .2s ease}.snail-switch>div.status{background:#fff;border-radius:10px 10px 10px 10px;height:16px;position:absolute;top:2px;transition:left .2s ease;width:16px}.snail-switch.on>div.off{left:100%;top:0}.snail-switch.on>div.status{left:calc(100% - 18px)}.snail-switch.off>div.off{left:0;top:0}.snail-switch.off>div.status{left:2px}.snail-switch.readonly{cursor:not-allowed}
21
- /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/action.vue index:0 */
22
- .snail-action,.snail-action *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.snail-action>.action-slot{flex:1;overflow:hidden;position:relative}.snail-action>.hover-tips{display:none;flex-shrink:0}.snail-action:hover>.hover-tips{display:block}
23
21
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/textarea.vue index:0 */
24
22
  textarea.snail-textarea{font-size:14px;line-height:1.5em;overflow-x:hidden;overflow-y:auto;resize:none;width:100%}
23
+ /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/action.vue index:0 */
24
+ .snail-action,.snail-action *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.snail-action>.action-slot{flex:1;overflow:hidden;position:relative}.snail-action>.hover-tips{display:none;flex-shrink:0}.snail-action:hover>.hover-tips{display:block}
25
25
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/dynamic.vue index:0 */
26
26
  .snail-dynamic-error{color:red}.snail-dynamic-error>span{color:gray}
27
27
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/elastic.vue index:0 */
@@ -66,10 +66,10 @@ textarea.snail-textarea{font-size:14px;line-height:1.5em;overflow-x:hidden;overf
66
66
  .snail-layout.date-picker.pc{background-color:#fff;border:1px solid rgba(0,0,0,.12);border-radius:4px;box-shadow:0 0 3px rgba(0,0,0,.12);height:300px!important;overflow:hidden!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:280px!important}.snail-layout.date-picker.pc.time-now:after{background-color:gray;content:"";height:100%;left:0;opacity:.6;position:absolute;top:0;width:100%}.snail-layout.date-picker.pc>.top-area{align-items:center;border-bottom:1px solid #eee;display:flex;flex-wrap:nowrap;padding:0 4px}.snail-layout.date-picker.pc>.top-area>svg{fill:#8a9099;flex-shrink:0}.snail-layout.date-picker.pc>.top-area>svg:hover{fill:#58a4fd}.snail-layout.date-picker.pc>.top-area>div.header-content{align-items:center;display:flex;flex:1;justify-content:center}.snail-layout.date-picker.pc>.top-area>div.header-content>div{align-items:center;display:flex;font-size:16px;height:100%}.snail-layout.date-picker.pc>.top-area>div.header-content>div:nth-child(2){margin-left:8px}.snail-layout.date-picker.pc>.top-area>div.header-content:not(.year)>div:hover{color:#58a4fd;cursor:pointer}.snail-layout.date-picker.pc>.main-area{display:flex;flex-wrap:wrap;justify-content:space-between}.snail-layout.date-picker.pc>.main-area>div{align-items:center;display:flex;flex-shrink:0;font-size:13px;justify-content:center;position:relative}.snail-layout.date-picker.pc>.main-area>div>span{align-items:center;display:flex;height:28px;justify-content:center}.snail-layout.date-picker.pc>.main-area>div>span:hover{background:#f4f4f4;cursor:pointer}.snail-layout.date-picker.pc>.main-area>div.active>span{background-color:#58a4fd;color:#fff!important}.snail-layout.date-picker.pc>.main-area>div.active.disabled{opacity:.6}.snail-layout.date-picker.pc>.main-area>div.disabled>span{color:#aaa;cursor:not-allowed}.snail-layout.date-picker.pc>.main-area>div.day-item{height:30px;width:36px}.snail-layout.date-picker.pc>.main-area>div.day-item.week{font-weight:bold}.snail-layout.date-picker.pc>.main-area>div.day-item.active>span,.snail-layout.date-picker.pc>.main-area>div.day-item:hover>span{border-radius:100%;width:28px}.snail-layout.date-picker.pc>.main-area>div.day-item:not(.now-month)>span{color:#aaa}.snail-layout.date-picker.pc>.main-area>div.month-item,.snail-layout.date-picker.pc>.main-area>div.year-item{width:30%}.snail-layout.date-picker.pc>.main-area>div.month-item.active>span,.snail-layout.date-picker.pc>.main-area>div.month-item:hover>span,.snail-layout.date-picker.pc>.main-area>div.year-item.active>span,.snail-layout.date-picker.pc>.main-area>div.year-item:hover>span{border-radius:15px;padding:0 8px;width:-moz-fit-content;width:fit-content}.snail-layout.date-picker.pc>.bottom-area{align-items:center;border-top:1px solid #eee;display:flex;height:30px;justify-content:flex-end;padding-right:10px}.snail-layout.date-picker.pc>.bottom-area>.time-area{color:#58a4fd;cursor:pointer;font-size:12px;margin-left:10px;margin-right:auto}.snail-layout.date-picker.pc>.bottom-area>.snail-button{color:#999;font-size:12px;margin-left:4px}.snail-layout.date-picker.pc>.bottom-area>.snail-button:hover,.snail-layout.date-picker.pc>.bottom-area>.snail-button:last-child{color:#58a4fd}.snail-layout.date-picker.pc>.bottom-area>.snail-button.disabled{cursor:not-allowed;opacity:.6}
67
67
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/confirm-container.vue index:0 */
68
68
  .snail-confirm{background-color:#fff;border-radius:4px;color:#2e2f33;max-height:350px;max-width:548px;min-width:348px}.snail-confirm>div.confirm-body{flex:1;margin:20px 40px;overflow:auto;word-wrap:break-word}
69
- /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/dialog-container.vue index:0 */
70
- .snail-dialog{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%}.snail-dialog:before{background-color:rgba(24,27,33,.45);content:"";height:100%;opacity:1;position:absolute;transition:opacity .4s ease-in-out;width:100%}.snail-dialog>.dialog-body{background-color:#fff;border-radius:4px;box-shadow:0 0 15px rgba(0,0,0,.3);position:relative}.snail-dialog.unactive:before{opacity:0}.snail-dialog.unactive>.dialog-body{box-shadow:0 0 4px rgba(0,0,0,.3)}
71
69
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/follow-container.vue index:0 */
72
70
  .snail-follow{background-color:#fff;max-height:100%;max-width:100%;position:fixed;transition-duration:.1s;transition-property:left,top;transition-timing-function:ease}.snail-follow.initial{top:100%;transition:none}
71
+ /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/dialog-container.vue index:0 */
72
+ .snail-dialog{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%}.snail-dialog:before{background-color:rgba(24,27,33,.45);content:"";height:100%;opacity:1;position:absolute;transition:opacity .4s ease-in-out;width:100%}.snail-dialog>.dialog-body{background-color:#fff;border-radius:4px;box-shadow:0 0 15px rgba(0,0,0,.3);position:relative}.snail-dialog.unactive:before{opacity:0}.snail-dialog.unactive>.dialog-body{box-shadow:0 0 4px rgba(0,0,0,.3)}
73
73
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/popup-container.vue index:0 */
74
74
  .snail-popup{left:0;position:fixed;top:0}
75
75
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/toast-container.vue index:0 */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "依赖【snail】,基于vue封装常用UI组件",
4
4
  "author": "snail_dev@163.com",
5
5
  "license": "MIT",
6
- "version": "2.0.21",
6
+ "version": "2.0.22",
7
7
  "type": "module",
8
8
  "main": "dist/snail.vue.js",
9
9
  "module": "dist/snail.vue.js",
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "vue": "^3.5.14",
17
17
  "snail.core": ">=2.0.29",
18
- "snail.view": ">=2.0.7",
18
+ "snail.view": ">=2.0.8",
19
19
  "sortablejs": ">=1.15.6"
20
20
  },
21
21
  "devDependencies": {