@tmagic/tdesign-vue-next-adapter 1.5.5 → 1.5.6

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.
@@ -127,21 +127,24 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
127
127
  onKeypress: inputHandler,
128
128
  onChange: changeHandler,
129
129
  "onUpdate:modelValue": updateModelValue
130
- }, createSlots({ _: 2 }, [
130
+ }, createSlots({
131
+ _: 2
132
+ /* DYNAMIC */
133
+ }, [
131
134
  _ctx.$slots.prefix ? {
132
135
  name: "prefix-icon",
133
136
  fn: withCtx(() => [
134
137
  renderSlot(_ctx.$slots, "prefix")
135
138
  ]),
136
139
  key: "0"
137
- } : void 0,
140
+ } : undefined,
138
141
  _ctx.$slots.suffix ? {
139
142
  name: "suffix",
140
143
  fn: withCtx(() => [
141
144
  renderSlot(_ctx.$slots, "suffix")
142
145
  ]),
143
146
  key: "1"
144
- } : void 0
147
+ } : undefined
145
148
  ]), 1032, ["modelValue", "size", "clearable", "disabled", "placeholder"]));
146
149
  };
147
150
  }
@@ -315,7 +318,7 @@ const adapter = {
315
318
  size: typeof props.size === "number" ? `${props.size}px` : props.size,
316
319
  closeOnEscKeydown: props.closeOnPressEscape,
317
320
  closeOnOverlayClick: props.closeOnClickModal,
318
- attach: props.appendToBody ? "body" : void 0,
321
+ attach: props.appendToBody ? "body" : undefined,
319
322
  placement: {
320
323
  rtl: "right",
321
324
  ltr: "left",
@@ -1,7 +1,7 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue'), require('tdesign-vue-next')) :
3
3
  typeof define === 'function' && define.amd ? define(['vue', 'tdesign-vue-next'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.TMagicTdesignVueNextAdapter = factory(global.vue, global.tdesignVueNext));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.TMagicTdesignVueNextAdapter = factory(global.Vue, global.tdesignVueNext));
5
5
  })(this, (function (vue, tdesignVueNext) { 'use strict';
6
6
 
7
7
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
@@ -130,21 +130,24 @@
130
130
  onKeypress: inputHandler,
131
131
  onChange: changeHandler,
132
132
  "onUpdate:modelValue": updateModelValue
133
- }, vue.createSlots({ _: 2 }, [
133
+ }, vue.createSlots({
134
+ _: 2
135
+ /* DYNAMIC */
136
+ }, [
134
137
  _ctx.$slots.prefix ? {
135
138
  name: "prefix-icon",
136
139
  fn: vue.withCtx(() => [
137
140
  vue.renderSlot(_ctx.$slots, "prefix")
138
141
  ]),
139
142
  key: "0"
140
- } : void 0,
143
+ } : undefined,
141
144
  _ctx.$slots.suffix ? {
142
145
  name: "suffix",
143
146
  fn: vue.withCtx(() => [
144
147
  vue.renderSlot(_ctx.$slots, "suffix")
145
148
  ]),
146
149
  key: "1"
147
- } : void 0
150
+ } : undefined
148
151
  ]), 1032, ["modelValue", "size", "clearable", "disabled", "placeholder"]));
149
152
  };
150
153
  }
@@ -318,7 +321,7 @@
318
321
  size: typeof props.size === "number" ? `${props.size}px` : props.size,
319
322
  closeOnEscKeydown: props.closeOnPressEscape,
320
323
  closeOnOverlayClick: props.closeOnClickModal,
321
- attach: props.appendToBody ? "body" : void 0,
324
+ attach: props.appendToBody ? "body" : undefined,
322
325
  placement: {
323
326
  rtl: "right",
324
327
  ltr: "left",
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.5",
2
+ "version": "1.5.6",
3
3
  "name": "@tmagic/tdesign-vue-next-adapter",
4
4
  "type": "module",
5
5
  "main": "dist/tmagic-tdesign-vue-next-adapter.umd.cjs",
@@ -34,18 +34,11 @@
34
34
  "vue3",
35
35
  "typescript"
36
36
  ],
37
- "devDependencies": {
38
- "@vitejs/plugin-vue": "^5.2.1",
39
- "@vue/compiler-sfc": "^3.5.12",
40
- "@types/node": "^18.19.0",
41
- "rimraf": "^3.0.2",
42
- "vite": "^6.0.3"
43
- },
44
37
  "peerDependencies": {
45
38
  "tdesign-vue-next": "^1.9.8",
46
39
  "vue": ">=3.5.0",
47
40
  "typescript": "*",
48
- "@tmagic/design": "1.5.5"
41
+ "@tmagic/design": "1.5.6"
49
42
  },
50
43
  "peerDependenciesMeta": {
51
44
  "typescript": {