@opentinyvue/vue-input 3.23.0 → 3.25.0

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/index.js CHANGED
@@ -194,7 +194,7 @@ var Input = defineComponent({
194
194
  });
195
195
  }
196
196
  });
197
- var version = "3.23.0";
197
+ var version = "3.undefined";
198
198
  Input.model = {
199
199
  prop: "modelValue",
200
200
  event: "update:modelValue"
@@ -167,7 +167,7 @@ var _hoisted_10 = {
167
167
  class: "h-full inline-flex items-center text-xs sm:text-sm text-color-text-placeholder"
168
168
  };
169
169
  var _hoisted_11 = {
170
- class: "bg-color-bg-1 leading-none inline-block"
170
+ class: "bg-color-bg-1 leading-none inline-block text-xs"
171
171
  };
172
172
  var _hoisted_12 = {
173
173
  key: 4,
@@ -192,7 +192,7 @@ var _hoisted_17 = ["tabindex", "disabled", "readonly", "unselectable", "autocomp
192
192
  var _hoisted_18 = {
193
193
  key: 2,
194
194
  "data-tag": "tiny-input-limit",
195
- class: "bg-color-bg-1 text-color-text-placeholder text-xs sm:text-sm absolute bottom-1 right-3"
195
+ class: "text-color-text-placeholder text-xs leading-5 absolute bottom-0 right-3"
196
196
  };
197
197
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
198
198
  var _component_tiny_tooltip = resolveComponent("tiny-tooltip");
@@ -433,7 +433,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
433
433
  "span",
434
434
  {
435
435
  ref: "textBox",
436
- class: normalizeClass(["text-box max-w-full break-words line-clamp-5 text-sm text-color-text-primary before:content-[''] before:float-right before:h-full before:-mb-4", [_ctx.state.inputSizeMf !== "mini" ? "sm:text-sm" : "sm:text-xs", _ctx.hoverExpand && "relative left-0 max-w-full leading-normal line-clamp-1", _ctx.autosize ? "left-0 max-w-full break-words whitespace-pre-line leading-normal" : "left-0 max-w-full text-ellipsis overflow-hidden break-words whitespace-pre-wrap line-clamp-5"]]),
436
+ class: normalizeClass(["text-box max-w-full break-words line-clamp-5 text-sm text-color-text-primary before:content-[''] before:float-right before:h-full before:-mb-4", [_ctx.state.inputSizeMf !== "mini" ? "sm:text-sm" : "sm:text-xs", _ctx.hoverExpand && "relative left-0 max-w-full leading-5 line-clamp-1", _ctx.autosize ? "left-0 max-w-full break-words whitespace-pre-line leading-5" : "left-0 max-w-full text-ellipsis overflow-hidden break-words whitespace-pre-wrap line-clamp-5"]]),
437
437
  onClick: _cache[14] || (_cache[14] = function($event) {
438
438
  return _ctx.state.showDisplayOnlyBox = true;
439
439
  })
@@ -498,7 +498,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
498
498
  ref: "textarea"
499
499
  }, _ctx.a(_ctx.$attrs, ["type", "class", "style", "^on[A-Z]"]), {
500
500
  tabindex: _ctx.tabindex,
501
- class: ["block w-full border-0 sm:border-solid sm:border-color-border sm:hover:border-color-border-hover sm:focus:border-color-brand-focus sm:disabled:border-color-border outline-0 rounded placeholder:text-color-text-placeholder placeholder:text-sm sm:disabled:placeholder:text-color-text-disabled text-sm text-color-text-primary bg-color-bg-1 disabled:cursor-not-allowed disabled:text-color-text-disabled sm:disabled:text-color-text-disabled sm:disabled:bg-color-bg-6", [_ctx.readonly ? "sm:border-0 px-0 py-0" : "sm:border px-3 ", _ctx.state.isDisplayOnly ? "hidden" : "", _ctx.state.inputSizeMf !== "mini" ? "sm:placeholder:text-sm sm:text-sm" : "sm:placeholder:text-xs sm:text-xs", _ctx.hoverExpand && "min-w-40 absolute h-7 z-[2000] top-0 left-0", _ctx.hoverExpand && _ctx.state.enteredTextarea ? "py-2 leading-normal" : "py-0 leading-[1.625rem]", _ctx.hoverExpand && !_ctx.state.enteredTextarea && "min-h-7 px-2 leading-7 overflow-hidden"]],
501
+ class: ["block w-full border-0 sm:border-solid sm:border-color-border sm:hover:border-color-border-hover sm:focus:border-color-brand-focus sm:disabled:border-color-border outline-0 rounded placeholder:text-color-text-placeholder placeholder:text-sm sm:disabled:placeholder:text-color-text-disabled text-sm text-color-text-primary bg-color-bg-1 disabled:cursor-not-allowed disabled:text-color-text-disabled sm:disabled:text-color-text-disabled sm:disabled:bg-color-bg-6", [_ctx.readonly ? "sm:border-0 px-0 py-0" : "sm:border px-3 ", _ctx.state.isDisplayOnly ? "hidden" : "", _ctx.state.inputSizeMf !== "mini" ? "sm:placeholder:text-sm sm:text-sm" : "sm:placeholder:text-xs sm:text-xs", _ctx.hoverExpand && "min-w-40 absolute h-7 z-[2000] top-0 left-0", _ctx.hoverExpand && _ctx.state.enteredTextarea ? "py-2 leading-normal" : "py-0 leading-5.5", _ctx.hoverExpand && !_ctx.state.enteredTextarea && "min-h-7 px-2 leading-7 overflow-hidden"]],
502
502
  onCompositionstart: _cache[18] || (_cache[18] = function() {
503
503
  return _ctx.handleCompositionStart && _ctx.handleCompositionStart.apply(_ctx, arguments);
504
504
  }),
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-input",
3
3
  "type": "module",
4
- "version": "3.23.0",
4
+ "version": "3.25.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/vue-directive": "~3.23.0",
12
- "@opentinyvue/vue-button": "~3.23.0",
13
- "@opentinyvue/vue-common": "~3.23.0",
14
- "@opentinyvue/vue-dialog-box": "~3.23.0",
15
- "@opentinyvue/vue-icon": "~3.23.0",
16
- "@opentinyvue/vue-renderless": "~3.23.0",
17
- "@opentinyvue/vue-theme": "~3.23.0",
18
- "@opentinyvue/vue-tooltip": "~3.23.0"
11
+ "@opentinyvue/vue-directive": "~3.25.0",
12
+ "@opentinyvue/vue-button": "~3.25.0",
13
+ "@opentinyvue/vue-common": "~3.25.0",
14
+ "@opentinyvue/vue-dialog-box": "~3.25.0",
15
+ "@opentinyvue/vue-icon": "~3.25.0",
16
+ "@opentinyvue/vue-renderless": "~3.25.0",
17
+ "@opentinyvue/vue-theme": "~3.25.0",
18
+ "@opentinyvue/vue-tooltip": "~3.25.0"
19
19
  },
20
20
  "types": "index.d.ts",
21
21
  "scripts": {
package/src/index.d.ts CHANGED
@@ -211,6 +211,7 @@ export declare const inputProps: {
211
211
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
212
212
  tiny_renderless: FunctionConstructor;
213
213
  tiny_theme: StringConstructor;
214
+ tiny_mcp_config: ObjectConstructor;
214
215
  tiny_chart_theme: ObjectConstructor;
215
216
  };
216
217
  declare const _default: import("@vue/runtime-core").DefineComponent<{
@@ -395,6 +396,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
395
396
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
396
397
  tiny_renderless: FunctionConstructor;
397
398
  tiny_theme: StringConstructor;
399
+ tiny_mcp_config: ObjectConstructor;
398
400
  tiny_chart_theme: ObjectConstructor;
399
401
  }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
400
402
  [key: string]: any;
@@ -580,6 +582,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
580
582
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
581
583
  tiny_renderless: FunctionConstructor;
582
584
  tiny_theme: StringConstructor;
585
+ tiny_mcp_config: ObjectConstructor;
583
586
  tiny_chart_theme: ObjectConstructor;
584
587
  }>>, {
585
588
  disabled: boolean;
@@ -16,6 +16,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
16
16
  _constants?: any;
17
17
  tiny_theme?: any;
18
18
  tiny_chart_theme?: any;
19
+ tiny_mcp_config?: any;
19
20
  modelValue?: any;
20
21
  tabindex?: any;
21
22
  suffixIcon?: any;
@@ -53,6 +54,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
53
54
  _constants?: any;
54
55
  tiny_theme?: any;
55
56
  tiny_chart_theme?: any;
57
+ tiny_mcp_config?: any;
56
58
  modelValue?: any;
57
59
  tabindex?: any;
58
60
  suffixIcon?: any;
@@ -103,6 +105,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
103
105
  readonly _constants?: any;
104
106
  readonly tiny_theme?: any;
105
107
  readonly tiny_chart_theme?: any;
108
+ readonly tiny_mcp_config?: any;
106
109
  readonly modelValue?: any;
107
110
  readonly tabindex?: any;
108
111
  readonly suffixIcon?: any;
package/src/pc.vue.d.ts CHANGED
@@ -15,6 +15,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
15
15
  _constants?: any;
16
16
  tiny_theme?: any;
17
17
  tiny_chart_theme?: any;
18
+ tiny_mcp_config?: any;
18
19
  modelValue?: any;
19
20
  tabindex?: any;
20
21
  suffixIcon?: any;
@@ -62,6 +63,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
62
63
  _constants?: any;
63
64
  tiny_theme?: any;
64
65
  tiny_chart_theme?: any;
66
+ tiny_mcp_config?: any;
65
67
  modelValue?: any;
66
68
  tabindex?: any;
67
69
  suffixIcon?: any;
@@ -113,6 +115,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
113
115
  readonly _constants?: any;
114
116
  readonly tiny_theme?: any;
115
117
  readonly tiny_chart_theme?: any;
118
+ readonly tiny_mcp_config?: any;
116
119
  readonly modelValue?: any;
117
120
  readonly tabindex?: any;
118
121
  readonly suffixIcon?: any;