@varlet/ui 2.12.1 → 2.12.2

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/lib/varlet.cjs.js CHANGED
@@ -1069,7 +1069,8 @@ var props$1a = {
1069
1069
  default: false
1070
1070
  },
1071
1071
  teleport: {
1072
- type: String
1072
+ type: String,
1073
+ default: "body"
1073
1074
  },
1074
1075
  onOpen: defineListenerProp(),
1075
1076
  onOpened: defineListenerProp(),
@@ -24289,7 +24290,7 @@ function __render__(_ctx, _cache) {
24289
24290
  }),
24290
24291
  128
24291
24292
  /* KEYED_FRAGMENT */
24292
- )), !_ctx.maxlength || _ctx.modelValue.length < _ctx.maxlength ? vue.withDirectives((vue.openBlock(), vue.createElementBlock(
24293
+ )), !_ctx.maxlength || _ctx.modelValue.length < _ctx.toNumber(_ctx.maxlength) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock(
24293
24294
  "div",
24294
24295
  {
24295
24296
  key: 0,
@@ -24629,6 +24630,7 @@ var __sfc__ = vue.defineComponent({
24629
24630
  hovering,
24630
24631
  formDisabled: form == null ? void 0 : form.disabled,
24631
24632
  formReadonly: form == null ? void 0 : form.readonly,
24633
+ toNumber,
24632
24634
  handleHovering,
24633
24635
  isHTMLSupportVideo,
24634
24636
  isHTMLSupportImage,
@@ -24768,9 +24770,9 @@ const skeleton = "";
24768
24770
  const SkeletonSfc = "";
24769
24771
  const slider = "";
24770
24772
  const SliderSfc = "";
24773
+ const SnackbarSfc = "";
24771
24774
  const snackbar = "";
24772
24775
  const coreSfc = "";
24773
- const SnackbarSfc = "";
24774
24776
  const space = "";
24775
24777
  const step = "";
24776
24778
  const StepSfc = "";
@@ -24795,7 +24797,7 @@ const TimePickerSfc = "";
24795
24797
  const TooltipSfc = "";
24796
24798
  const uploader = "";
24797
24799
  const UploaderSfc = "";
24798
- const version = "2.12.1";
24800
+ const version = "2.12.2";
24799
24801
  function install(app) {
24800
24802
  ActionSheet.install && app.use(ActionSheet);
24801
24803
  AppBar.install && app.use(AppBar);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "2.12.1",
3
+ "version": "2.12.2",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -46,9 +46,9 @@
46
46
  "@popperjs/core": "^2.11.6",
47
47
  "dayjs": "^1.10.4",
48
48
  "decimal.js": "^10.2.1",
49
- "@varlet/icons": "2.12.1",
50
- "@varlet/use": "2.12.1",
51
- "@varlet/shared": "2.12.1"
49
+ "@varlet/shared": "2.12.2",
50
+ "@varlet/icons": "2.12.2",
51
+ "@varlet/use": "2.12.2"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@vue/runtime-core": "3.3.4",
@@ -63,8 +63,8 @@
63
63
  "typescript": "^5.1.5",
64
64
  "vue": "3.3.4",
65
65
  "vue-router": "4.2.0",
66
- "@varlet/touch-emulator": "2.12.1",
67
- "@varlet/cli": "2.12.1"
66
+ "@varlet/touch-emulator": "2.12.2",
67
+ "@varlet/cli": "2.12.2"
68
68
  },
69
69
  "browserslist": [
70
70
  "Chrome >= 54",