Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-input

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-input - npm Package Compare versions

Comparing version 3.5.0 to 3.6.0-alpha.0

0

index.d.ts

@@ -0,0 +0,0 @@ /**

2

lib/index.js

@@ -176,4 +176,4 @@ import { $prefix, $props, $setup } from '@opentiny/vue-common';

};
Input.version = '3.5.0';
Input.version = '3.6.0-alpha.0';
export { Input as default };

@@ -43,3 +43,3 @@ import { renderless, api } from '@opentiny/vue-renderless/input/vue';

},
props: [].concat(_toConsumableArray(props), ['name', 'form', 'selectMenu', 'labelWidth', 'mobileTips', 'vertical', 'isSelect', 'type', 'label', 'modelValue', 'disabled', 'readonly', 'clearable', 'maxlength', 'suffixIcon', 'prefixIcon', 'autocomplete', 'showPassword', 'validateEvent', 'showWordLimit', 'showTitle', 'textareaTitle', 'counter', 'autosize', 'tabindex']),
props: [].concat(_toConsumableArray(props), ['name', 'form', 'selectMenu', 'labelWidth', 'mobileTips', 'isSelect', 'type', 'label', 'modelValue', 'disabled', 'readonly', 'clearable', 'maxlength', 'suffixIcon', 'prefixIcon', 'autocomplete', 'showPassword', 'validateEvent', 'showWordLimit', 'showTitle', 'textareaTitle', 'counter', 'autosize', 'tabindex']),
setup: function setup$1(props, context) {

@@ -82,18 +82,21 @@ return setup({

};
var _hoisted_9 = ["disabled", "value", "name", "aria-label", "tabindex"];
var _hoisted_10 = ["type", "name", "tabindex", "disabled", "readonly", "aria-label"];
var _hoisted_11 = {
var _hoisted_9 = {
class: "tiny-mobile-input-form"
};
var _hoisted_10 = ["disabled", "value", "name", "aria-label", "tabindex"];
var _hoisted_11 = ["type", "name", "tabindex", "disabled", "readonly", "aria-label"];
var _hoisted_12 = {
key: 0,
class: "tiny-mobile-input-form__tips"
};
var _hoisted_12 = {
var _hoisted_13 = {
key: 2,
class: "tiny-mobile-textarea__title"
};
var _hoisted_13 = {
var _hoisted_14 = {
key: 3,
class: "tiny-mobile-textarea__content"
};
var _hoisted_14 = ["name", "tabindex", "disabled", "readonly", "autocomplete", "aria-label"];
var _hoisted_15 = {
var _hoisted_15 = ["name", "tabindex", "disabled", "readonly", "autocomplete", "aria-label"];
var _hoisted_16 = {
key: 5,

@@ -183,11 +186,3 @@ class: "tiny-mobile-textarea__count"

key: 1
}, [createElementVNode("div", {
class: normalizeClass(["tiny-mobile-input-form", {
isVertical: $props.vertical
}]),
style: normalizeStyle({
flexDirection: $props.vertical ? 'column' : '',
alignItems: $props.vertical ? 'flex-start' : 'center'
})
}, [$props.isSelect ? (openBlock(), createElementBlock("div", {
}, [createElementVNode("div", _hoisted_9, [$props.isSelect ? (openBlock(), createElementBlock("div", {
key: 0,

@@ -214,3 +209,3 @@ class: "tiny-mobile-input-form__select",

tabindex: $props.tabindex
}), null, 16, _hoisted_9), createElementVNode("div", {
}), null, 16, _hoisted_10), createElementVNode("div", {
class: "tiny-mobile-input-form__icon",

@@ -251,8 +246,4 @@ style: normalizeStyle({

}),
"aria-label": $props.label,
style: {
textAlign: $props.vertical ? '' : 'right',
padding: $props.vertical ? '0px 16px 0 16px' : ''
}
}), null, 16, _hoisted_10)), createVNode(_component_tiny_action_sheet, {
"aria-label": $props.label
}), null, 16, _hoisted_11)), createVNode(_component_tiny_action_sheet, {
modelValue: _ctx.state.sheetvalue,

@@ -268,3 +259,3 @@ "onUpdate:modelValue": _cache[18] || (_cache[18] = function ($event) {

})
}, null, 8, ["modelValue", "menus", "visible"])], 6), $props.mobileTips ? (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString($props.mobileTips), 1)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), $props.showTitle && $props.type === 'textarea' ? (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($props.textareaTitle), 1)) : createCommentVNode("", true), _ctx.slots.content && $props.type === 'textarea' ? (openBlock(), createElementBlock("div", _hoisted_13, [renderSlot(_ctx.$slots, "content")])) : createCommentVNode("", true), $props.type === 'textarea' ? (openBlock(), createElementBlock("textarea", mergeProps({
}, null, 8, ["modelValue", "menus", "visible"])]), $props.mobileTips ? (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($props.mobileTips), 1)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), $props.showTitle && $props.type === 'textarea' ? (openBlock(), createElementBlock("div", _hoisted_13, toDisplayString($props.textareaTitle), 1)) : createCommentVNode("", true), _ctx.slots.content && $props.type === 'textarea' ? (openBlock(), createElementBlock("div", _hoisted_14, [renderSlot(_ctx.$slots, "content")])) : createCommentVNode("", true), $props.type === 'textarea' ? (openBlock(), createElementBlock("textarea", mergeProps({
key: 4,

@@ -302,3 +293,3 @@ ref: "textarea",

"aria-label": $props.label
}), "\n ", 16, _hoisted_14)) : createCommentVNode("", true), _ctx.state.isWordLimitVisible && $props.type === 'textarea' ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(_ctx.state.showWordLimit ? "".concat(_ctx.state.textLength, "/").concat(_ctx.state.upperLimit) : _ctx.state.textLength), 1)) : createCommentVNode("", true)], 34);
}), "\r\n ", 16, _hoisted_15)) : createCommentVNode("", true), _ctx.state.isWordLimitVisible && $props.type === 'textarea' ? (openBlock(), createElementBlock("span", _hoisted_16, toDisplayString(_ctx.state.showWordLimit ? "".concat(_ctx.state.textLength, "/").concat(_ctx.state.upperLimit) : _ctx.state.textLength), 1)) : createCommentVNode("", true)], 34);
}

@@ -305,0 +296,0 @@

@@ -304,3 +304,3 @@ import { renderless as renderless$1, api as api$1 } from '@opentiny/vue-renderless/input/vue';

"aria-label": $props.label
}), "\n ", 16, _hoisted_10)), _ctx.state.isWordLimitVisible && $props.type === 'textarea' ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(_ctx.state.showWordLimit ? "".concat(_ctx.state.textLength, "/").concat(_ctx.state.upperLimit) : _ctx.state.textLength), 1)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 38);
}), "\r\n ", 16, _hoisted_10)), _ctx.state.isWordLimitVisible && $props.type === 'textarea' ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(_ctx.state.showWordLimit ? "".concat(_ctx.state.textLength, "/").concat(_ctx.state.upperLimit) : _ctx.state.textLength), 1)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 38);
}

@@ -307,0 +307,0 @@

{
"name": "@opentiny/vue-input",
"version": "3.5.0",
"version": "3.6.0-alpha.0",
"description": "",

@@ -12,8 +12,8 @@ "main": "lib/index.js",

"dependencies": {
"@opentiny/vue-action-sheet": "~3.5.0",
"@opentiny/vue-common": "~3.5.0",
"@opentiny/vue-icon": "~3.5.0",
"@opentiny/vue-renderless": "~3.5.0",
"@opentiny/vue-theme": "~3.5.0",
"@opentiny/vue-theme-mobile": "~3.5.0"
"@opentiny/vue-action-sheet": "~3.6.0-alpha.0",
"@opentiny/vue-common": "~3.6.0-alpha.0",
"@opentiny/vue-icon": "~3.6.0-alpha.0",
"@opentiny/vue-renderless": "~3.6.0",
"@opentiny/vue-theme": "~3.6.0",
"@opentiny/vue-theme-mobile": "~3.6.0"
},

@@ -20,0 +20,0 @@ "license": "MIT",

@@ -0,0 +0,0 @@ declare const _default: import("vue").DefineComponent<{

@@ -0,0 +0,0 @@ import '@opentiny/vue-theme-mobile/input/index.css';

@@ -0,0 +0,0 @@ import '@opentiny/vue-theme/input/index.css';

@@ -0,0 +0,0 @@ import '@opentiny/vue-theme/tall-storage/index.css';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc