snail.vue 2.0.24 → 2.0.25

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.
@@ -1019,12 +1019,12 @@ type ComponentBindOptions<Props = void, Model = void> = {
1019
1019
  */
1020
1020
  type LayoutOptions = {
1021
1021
  /**
1022
- * 布局模式
1022
+ * 布局方向
1023
1023
  * - horizontal 水平布局:左中右
1024
1024
  * - vertical 垂直布局:上中下
1025
1025
  * - 默认为 `horizontal`
1026
1026
  */
1027
- mode?: "horizontal" | "vertical";
1027
+ direction?: "horizontal" | "vertical";
1028
1028
  /**
1029
1029
  * 主内容区域配置
1030
1030
  * - 对应插槽名:main;主要内容显示区域,处于布局中的【中】区域
@@ -2166,7 +2166,15 @@ type ReactiveVar<T> = ShallowRef<T> | Ref<T>;
2166
2166
  /**
2167
2167
  * 开关组件 配置选项
2168
2168
  */
2169
- type SwitchOptions = ReadonlyOptions & {};
2169
+ type SwitchOptions = ReadonlyOptions & {
2170
+ /**
2171
+ * 类型,决定开启/关闭状态的渲染效果
2172
+ * - switch 开关类型,默认效果
2173
+ * - radio 单选框效果,圆角边框
2174
+ * - checkbox 复选框效果,矩形边框
2175
+ */
2176
+ type?: "switch" | "radio" | "checkbox";
2177
+ };
2170
2178
  /**
2171
2179
  * 开关 事件
2172
2180
  */
@@ -3057,11 +3065,15 @@ declare const components: {
3057
3065
  };
3058
3066
  });
3059
3067
  Switch: vue.DefineComponent<ReadonlyOptions & {
3068
+ type?: "switch" | "radio" | "checkbox";
3069
+ } & {
3060
3070
  modelValue?: boolean;
3061
3071
  }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3062
3072
  change: (value: boolean) => any;
3063
3073
  "update:modelValue": (value: boolean) => any;
3064
3074
  }, string, vue.PublicProps, Readonly<ReadonlyOptions & {
3075
+ type?: "switch" | "radio" | "checkbox";
3076
+ } & {
3065
3077
  modelValue?: boolean;
3066
3078
  }> & Readonly<{
3067
3079
  onChange?: (value: boolean) => any;
package/dist/snail.vue.js CHANGED
@@ -1536,7 +1536,7 @@ var _sfc_main$s = defineComponent({
1536
1536
  "use-to": (__props.header ? __props.header.useTo : void 0) || (__props.inPopup ? "dialog" : "page"),
1537
1537
  onClose: _cache[0] || (_cache[0] = $event => emits("cancel"))
1538
1538
  }), null, 16, ["use-to"])) : createCommentVNode("", true), createVNode(_sfc_main$t, mergeProps({
1539
- class: "wrapper-body"
1539
+ class: "wrapper-body flex-1"
1540
1540
  }, __props.content || {
1541
1541
  scroll: "none"
1542
1542
  }), {
@@ -2605,7 +2605,8 @@ var _sfc_main$j = defineComponent({
2605
2605
  props: mergeModels({
2606
2606
  readonly: {
2607
2607
  type: Boolean
2608
- }
2608
+ },
2609
+ type: {}
2609
2610
  }, {
2610
2611
  "modelValue": {
2611
2612
  type: Boolean,
@@ -2632,15 +2633,24 @@ var _sfc_main$j = defineComponent({
2632
2633
  }
2633
2634
  return (_ctx, _cache) => {
2634
2635
  return openBlock(), createElementBlock("div", {
2635
- class: normalizeClass(["snail-switch", [switchModel.value ? "on" : "off", __props.readonly ? "readonly" : ""]]),
2636
+ class: normalizeClass(["snail-switch", [switchModel.value ? "on" : "off", __props.readonly ? "readonly" : ""], __props.type || "switch"]),
2636
2637
  onClick: onSwitchChange
2637
- }, [...(_cache[0] || (_cache[0] = [createElementVNode("div", {
2638
- class: "on"
2639
- }, null, -1), createElementVNode("div", {
2640
- class: "off"
2641
- }, null, -1), createElementVNode("div", {
2638
+ }, [__props.type == "checkbox" || __props.type == "radio" ? (openBlock(), createElementBlock(Fragment, {
2639
+ key: 0
2640
+ }, [switchModel.value ? (openBlock(), createBlock(_sfc_main$E, {
2641
+ key: 0,
2642
+ type: "success",
2643
+ color: "white",
2644
+ size: 16
2645
+ })) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock(Fragment, {
2646
+ key: 1
2647
+ }, [_cache[0] || (_cache[0] = createElementVNode("div", {
2648
+ class: "wh-fill on"
2649
+ }, null, -1)), _cache[1] || (_cache[1] = createElementVNode("div", {
2650
+ class: "wh-fill off"
2651
+ }, null, -1)), _cache[2] || (_cache[2] = createElementVNode("div", {
2642
2652
  class: "status"
2643
- }, null, -1)]))], 2);
2653
+ }, null, -1))], 64))], 2);
2644
2654
  };
2645
2655
  }
2646
2656
  });
@@ -3290,7 +3300,7 @@ var _sfc_main$d = defineComponent({
3290
3300
  var _sfc_main$c = defineComponent({
3291
3301
  __name: "layout",
3292
3302
  props: {
3293
- mode: {},
3303
+ direction: {},
3294
3304
  main: {},
3295
3305
  left: {},
3296
3306
  right: {},
@@ -3306,7 +3316,7 @@ var _sfc_main$c = defineComponent({
3306
3316
  class: buildAreaClass("main-area", props.main),
3307
3317
  style: void 0
3308
3318
  };
3309
- if (props.mode == "vertical") {
3319
+ if (props.direction == "vertical") {
3310
3320
  map.top = {
3311
3321
  scrollable: props.top && props.top.scroll != void 0,
3312
3322
  class: buildAreaClass("top-area", props.top),
@@ -3358,7 +3368,7 @@ var _sfc_main$c = defineComponent({
3358
3368
  }
3359
3369
  return (_ctx, _cache) => {
3360
3370
  return openBlock(), createElementBlock("div", {
3361
- class: normalizeClass(["snail-layout", __props.mode])
3371
+ class: normalizeClass(["snail-layout", __props.direction || "horizontal"])
3362
3372
  }, [(openBlock(), createElementBlock(Fragment, null, renderList(["top", "left", "main", "right", "bottom"], item => {
3363
3373
  return openBlock(), createElementBlock(Fragment, {
3364
3374
  key: item
@@ -4115,7 +4125,7 @@ var _sfc_main$4 = defineComponent({
4115
4125
  class: normalizeClass(["time-picker pc", {
4116
4126
  "second-disabled": unref(format) != "HH:mm:ss"
4117
4127
  }]),
4118
- mode: "vertical"
4128
+ direction: "vertical"
4119
4129
  }, createSlots({
4120
4130
  main: withCtx(() => [createVNode(_sfc_main$w, {
4121
4131
  multiple: "",
@@ -4415,7 +4425,7 @@ var _sfc_main$3 = defineComponent({
4415
4425
  class: normalizeClass(["date-picker pc", {
4416
4426
  "time-now": __props.pinned && __props.pinned.value == true
4417
4427
  }]),
4418
- mode: "vertical",
4428
+ direction: "vertical",
4419
4429
  top: {
4420
4430
  height: "40px"
4421
4431
  },
@@ -1538,7 +1538,7 @@
1538
1538
  "use-to": (__props.header ? __props.header.useTo : void 0) || (__props.inPopup ? "dialog" : "page"),
1539
1539
  onClose: _cache[0] || (_cache[0] = $event => emits("cancel"))
1540
1540
  }), null, 16, ["use-to"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$t, vue.mergeProps({
1541
- class: "wrapper-body"
1541
+ class: "wrapper-body flex-1"
1542
1542
  }, __props.content || {
1543
1543
  scroll: "none"
1544
1544
  }), {
@@ -2607,7 +2607,8 @@
2607
2607
  props: vue.mergeModels({
2608
2608
  readonly: {
2609
2609
  type: Boolean
2610
- }
2610
+ },
2611
+ type: {}
2611
2612
  }, {
2612
2613
  "modelValue": {
2613
2614
  type: Boolean,
@@ -2634,15 +2635,24 @@
2634
2635
  }
2635
2636
  return (_ctx, _cache) => {
2636
2637
  return vue.openBlock(), vue.createElementBlock("div", {
2637
- class: vue.normalizeClass(["snail-switch", [switchModel.value ? "on" : "off", __props.readonly ? "readonly" : ""]]),
2638
+ class: vue.normalizeClass(["snail-switch", [switchModel.value ? "on" : "off", __props.readonly ? "readonly" : ""], __props.type || "switch"]),
2638
2639
  onClick: onSwitchChange
2639
- }, [...(_cache[0] || (_cache[0] = [vue.createElementVNode("div", {
2640
- class: "on"
2641
- }, null, -1), vue.createElementVNode("div", {
2642
- class: "off"
2643
- }, null, -1), vue.createElementVNode("div", {
2640
+ }, [__props.type == "checkbox" || __props.type == "radio" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
2641
+ key: 0
2642
+ }, [switchModel.value ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
2643
+ key: 0,
2644
+ type: "success",
2645
+ color: "white",
2646
+ size: 16
2647
+ })) : vue.createCommentVNode("", true)], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
2648
+ key: 1
2649
+ }, [_cache[0] || (_cache[0] = vue.createElementVNode("div", {
2650
+ class: "wh-fill on"
2651
+ }, null, -1)), _cache[1] || (_cache[1] = vue.createElementVNode("div", {
2652
+ class: "wh-fill off"
2653
+ }, null, -1)), _cache[2] || (_cache[2] = vue.createElementVNode("div", {
2644
2654
  class: "status"
2645
- }, null, -1)]))], 2);
2655
+ }, null, -1))], 64))], 2);
2646
2656
  };
2647
2657
  }
2648
2658
  });
@@ -3292,7 +3302,7 @@
3292
3302
  var _sfc_main$c = vue.defineComponent({
3293
3303
  __name: "layout",
3294
3304
  props: {
3295
- mode: {},
3305
+ direction: {},
3296
3306
  main: {},
3297
3307
  left: {},
3298
3308
  right: {},
@@ -3308,7 +3318,7 @@
3308
3318
  class: buildAreaClass("main-area", props.main),
3309
3319
  style: void 0
3310
3320
  };
3311
- if (props.mode == "vertical") {
3321
+ if (props.direction == "vertical") {
3312
3322
  map.top = {
3313
3323
  scrollable: props.top && props.top.scroll != void 0,
3314
3324
  class: buildAreaClass("top-area", props.top),
@@ -3360,7 +3370,7 @@
3360
3370
  }
3361
3371
  return (_ctx, _cache) => {
3362
3372
  return vue.openBlock(), vue.createElementBlock("div", {
3363
- class: vue.normalizeClass(["snail-layout", __props.mode])
3373
+ class: vue.normalizeClass(["snail-layout", __props.direction || "horizontal"])
3364
3374
  }, [(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(["top", "left", "main", "right", "bottom"], item => {
3365
3375
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
3366
3376
  key: item
@@ -4117,7 +4127,7 @@
4117
4127
  class: vue.normalizeClass(["time-picker pc", {
4118
4128
  "second-disabled": vue.unref(format) != "HH:mm:ss"
4119
4129
  }]),
4120
- mode: "vertical"
4130
+ direction: "vertical"
4121
4131
  }, vue.createSlots({
4122
4132
  main: vue.withCtx(() => [vue.createVNode(_sfc_main$w, {
4123
4133
  multiple: "",
@@ -4417,7 +4427,7 @@
4417
4427
  class: vue.normalizeClass(["date-picker pc", {
4418
4428
  "time-now": __props.pinned && __props.pinned.value == true
4419
4429
  }]),
4420
- mode: "vertical",
4430
+ direction: "vertical",
4421
4431
  top: {
4422
4432
  height: "40px"
4423
4433
  },
@@ -3,7 +3,7 @@
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
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}
6
+ .snail-footer{align-items:center;background-color:#fff;display:flex;flex-shrink:0;gap:20px;height:72px;padding:0 40px;width:100%}.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}
7
7
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/header.vue index:0 */
8
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}
9
9
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/icon.vue index:0 */
@@ -17,7 +17,9 @@
17
17
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/select.vue index:0 */
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
- .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}
20
+ .snail-switch{cursor:pointer;overflow:hidden;position:relative}.snail-switch.readonly{cursor:not-allowed}.snail-switch.switch{border-radius:10px 10px 10px 10px;height:20px!important;width:36px!important}.snail-switch.switch>div.on{background-color:#5ca3ff}.snail-switch.switch>div.off{background-color:#c4c8cc;position:absolute;transition:left .2s ease}.snail-switch.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.switch.on>div.off{left:100%;top:0}.snail-switch.switch.on>div.status{left:calc(100% - 18px)}.snail-switch.switch.off>div.off{left:0;top:0}.snail-switch.switch.off>div.status{left:2px}
21
+ /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/switch.vue index:1 */
22
+ .snail-switch.checkbox,.snail-switch.radio{align-items:center;display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.snail-switch.checkbox.off,.snail-switch.radio.off{border:1px solid #dcdfe6}.snail-switch.checkbox.on,.snail-switch.radio.on{background-color:#4c9aff;border:1px solid #4c9aff}.snail-switch.radio{border-radius:50%}
21
23
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/base/textarea.vue index:0 */
22
24
  textarea.snail-textarea{font-size:14px;line-height:1.5em;overflow-x:hidden;overflow-y:auto;resize:none;width:100%}
23
25
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/action.vue index:0 */
@@ -47,7 +49,7 @@ textarea.snail-textarea{font-size:14px;line-height:1.5em;overflow-x:hidden;overf
47
49
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/tree.vue index:0 */
48
50
  .snail-tree{background-color:#fff;display:flex;flex-direction:column}.snail-tree .snail-search{flex-shrink:0;margin:12px}.snail-tree .snail-scroll{flex:1}
49
51
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/container/wrapper.vue index:0 */
50
- .snail-wrapper{background-color:#fff;display:flex;flex-direction:column}.snail-wrapper>.snail-scroll{flex:1}.snail-wrapper.in-normal{flex:1;height:100%;overflow:hidden;width:100%}.snail-wrapper.in-popup{height:80%;min-width:800px;overflow:hidden;width:60%}
52
+ .snail-wrapper{background-color:#fff;display:flex;flex-direction:column}.snail-wrapper.in-normal{flex:1;height:100%;overflow:hidden;width:100%}.snail-wrapper.in-popup{height:80%;max-height:100%;max-width:100%;min-width:800px;overflow:hidden;width:60%}
51
53
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/other/flash-number.vue index:0 */
52
54
 
53
55
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/picker/date-picker.vue index:0 */
@@ -63,11 +65,11 @@ textarea.snail-textarea{font-size:14px;line-height:1.5em;overflow-x:hidden;overf
63
65
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/confirm-container.vue index:0 */
64
66
  .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}
65
67
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/dialog-container.vue index:0 */
66
- .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>.snail-wrapper{height:-moz-fit-content;height:fit-content;min-width:auto;width:-moz-fit-content;width:fit-content}.snail-dialog>.snail-wrapper>.wrapper-body{padding:0 40px}.snail-dialog.unactive:before{opacity:0}.snail-dialog.unactive>.dialog-body{box-shadow:0 0 4px rgba(0,0,0,.3)}
67
- /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/popup-container.vue index:0 */
68
- .snail-popup{left:0;position:fixed;top:0}
68
+ .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>.snail-wrapper{height:-moz-fit-content;height:fit-content;min-height:auto;min-width:auto;width:-moz-fit-content;width:fit-content}.snail-dialog>.snail-wrapper>.wrapper-body{padding:0 40px}.snail-dialog.unactive:before{opacity:0}.snail-dialog.unactive>.dialog-body{box-shadow:0 0 4px rgba(0,0,0,.3)}
69
69
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/follow-container.vue index:0 */
70
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/popup-container.vue index:0 */
72
+ .snail-popup{left:0;position:fixed;top:0}
71
73
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/popup/components/toast-container.vue index:0 */
72
74
  .snail-toast{background:rgba(0,0,0,.7);border-radius:10px;color:#fff;display:flex;left:50%;max-height:200px;max-width:400px;min-width:200px;overflow:hidden;padding:20px 35px 20px 15px;position:fixed;top:50%;transform:translate(-50%,-50%)}.snail-toast>svg.close-icon{position:absolute;right:10px;top:12px}.snail-toast>div.icon{align-items:center;align-self:center;background:hsla(0,0%,100%,.15);border-radius:50%;display:flex;height:26px;justify-content:center;margin-right:6px;width:26px}.snail-toast>div.icon>svg{background:#fff;border-radius:50%;cursor:none!important;padding:2px}.snail-toast>div.message{flex:1;line-height:24px;overflow:hidden;word-break:break-all}
73
75
  /* src:../../../../../01_snail/snail.js/packages/snail.vue/src/picker/components/time-pc.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.24",
6
+ "version": "2.0.25",
7
7
  "type": "module",
8
8
  "main": "dist/snail.vue.js",
9
9
  "module": "dist/snail.vue.js",