@opentiny/vue-input
Advanced tools
Comparing version 3.5.0 to 3.6.0-alpha.0
@@ -0,0 +0,0 @@ /** |
@@ -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'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65842
1227
2
+ Added@better-scroll/core@2.5.0(transitive)
+ Added@better-scroll/shared-utils@2.5.1(transitive)
+ Added@opentiny/vue-action-sheet@3.6.7(transitive)
+ Added@opentiny/vue-common@3.6.7(transitive)
+ Added@opentiny/vue-icon@3.6.7(transitive)
+ Added@opentiny/vue-locale@3.6.7(transitive)
+ Added@opentiny/vue-renderless@3.6.8(transitive)
+ Added@opentiny/vue-theme@3.6.7(transitive)
+ Added@opentiny/vue-theme-mobile@3.6.6(transitive)
- Removed@babel/runtime@7.18.3(transitive)
- Removed@opentiny/vue-action-sheet@3.5.0(transitive)
- Removed@opentiny/vue-common@3.5.0(transitive)
- Removed@opentiny/vue-icon@3.5.2(transitive)
- Removed@opentiny/vue-locale@3.5.0(transitive)
- Removed@opentiny/vue-renderless@3.5.0(transitive)
- Removed@opentiny/vue-theme@3.5.0(transitive)
- Removed@opentiny/vue-theme-mobile@3.5.0(transitive)
- Removedregenerator-runtime@0.13.11(transitive)
Updated@opentiny/vue-theme@~3.6.0