@opentiny/vue-input
Advanced tools
Comparing version 3.18.0 to 3.19.0
@@ -180,2 +180,10 @@ function _extends() { | ||
default: true | ||
}, | ||
/** 输入框的边框模式,当值为underline时,只显示一条底部直线 */ | ||
inputBoxType: { | ||
type: String, | ||
default: "normal", | ||
validator: function validator(value) { | ||
return ["normal", "underline"].includes(value); | ||
} | ||
} | ||
@@ -195,3 +203,3 @@ }); | ||
}); | ||
var version = "3.18.0"; | ||
var version = "3.19.0"; | ||
Input.model = { | ||
@@ -198,0 +206,0 @@ prop: "modelValue", |
@@ -121,3 +121,3 @@ import { renderless as renderless$1, api as api$1 } from '@opentiny/vue-renderless/input/vue'; | ||
}, | ||
props: [].concat(props, ["name", "size", "form", "type", "mask", "label", "modelValue", "height", "resize", "counter", "autosize", "disabled", "readonly", "tabindex", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "validateEvent", "showWordLimit", "customClass", "displayOnly", "displayOnlyContent", "showEmptyValue", "popupMore", "showTooltip", "frontClearIcon", "hoverExpand", "showTooltip"]), | ||
props: [].concat(props, ["name", "size", "form", "type", "mask", "label", "modelValue", "height", "resize", "counter", "autosize", "disabled", "readonly", "tabindex", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "validateEvent", "showWordLimit", "customClass", "displayOnly", "displayOnlyContent", "showEmptyValue", "popupMore", "showTooltip", "frontClearIcon", "hoverExpand"]), | ||
setup: function setup$1(props2, context) { | ||
@@ -436,3 +436,3 @@ return setup({ | ||
ref: "textBox", | ||
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 absolute break-words whitespace-pre-line leading-normal" : "left-0 max-w-full text-ellipsis overflow-hidden break-words whitespace-pre-wrap line-clamp-5"]]), | ||
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"]]), | ||
onClick: _cache[14] || (_cache[14] = function($event) { | ||
@@ -439,0 +439,0 @@ return _ctx.state.showDisplayOnlyBox = true; |
@@ -125,3 +125,3 @@ import { renderless as renderless$1, api as api$1 } from '@opentiny/vue-renderless/input/vue'; | ||
}, | ||
props: [].concat(props, ["name", "size", "form", "type", "mask", "label", "modelValue", "height", "resize", "counter", "autosize", "disabled", "readonly", "tabindex", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "memorySpace", "validateEvent", "showWordLimit", "displayOnly", "displayOnlyContent", "frontClearIcon", "showEmptyValue", "hoverExpand", "popupMore", "showTooltip"]), | ||
props: [].concat(props, ["name", "size", "form", "type", "mask", "label", "modelValue", "height", "resize", "counter", "autosize", "disabled", "readonly", "tabindex", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "memorySpace", "validateEvent", "showWordLimit", "displayOnly", "displayOnlyContent", "frontClearIcon", "showEmptyValue", "hoverExpand", "popupMore", "showTooltip", "inputBoxType"]), | ||
setup: function setup$1(props2, context) { | ||
@@ -236,3 +236,4 @@ return setup({ | ||
"tiny-input-word-limit": _ctx.state.isWordLimitVisible, | ||
"is-display-only": _ctx.state.isDisplayOnly | ||
"is-display-only": _ctx.state.isDisplayOnly, | ||
"tiny-input-underline": _ctx.inputBoxType === "underline" | ||
}]), | ||
@@ -239,0 +240,0 @@ style: normalizeStyle(_ctx.$attrs.style), |
{ | ||
"name": "@opentiny/vue-input", | ||
"version": "3.18.0", | ||
"version": "3.19.0", | ||
"description": "", | ||
@@ -10,11 +10,11 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-action-sheet": "~3.18.0", | ||
"@opentiny/vue-common": "~3.18.0", | ||
"@opentiny/vue-icon": "~3.18.0", | ||
"@opentiny/vue-tooltip": "~3.18.0", | ||
"@opentiny/vue-button": "~3.18.0", | ||
"@opentiny/vue-dialog-box": "~3.18.0", | ||
"@opentiny/vue-renderless": "~3.18.0", | ||
"@opentiny/vue-theme-mobile": "~3.18.0", | ||
"@opentiny/vue-theme": "~3.18.0" | ||
"@opentiny/vue-action-sheet": "~3.19.0", | ||
"@opentiny/vue-common": "~3.19.0", | ||
"@opentiny/vue-icon": "~3.19.0", | ||
"@opentiny/vue-tooltip": "~3.19.0", | ||
"@opentiny/vue-button": "~3.19.0", | ||
"@opentiny/vue-dialog-box": "~3.19.0", | ||
"@opentiny/vue-renderless": "~3.19.0", | ||
"@opentiny/vue-theme-mobile": "~3.19.0", | ||
"@opentiny/vue-theme": "~3.19.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "license": "MIT", |
@@ -203,2 +203,8 @@ /** | ||
}; | ||
/** 输入框的边框模式,当值为underline时,只显示一条底部直线 */ | ||
inputBoxType: { | ||
type: StringConstructor; | ||
default: string; | ||
validator: (value: string) => boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
@@ -382,2 +388,8 @@ tiny_mode_root: BooleanConstructor; | ||
}; | ||
/** 输入框的边框模式,当值为underline时,只显示一条底部直线 */ | ||
inputBoxType: { | ||
type: StringConstructor; | ||
default: string; | ||
validator: (value: string) => boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
@@ -562,2 +574,8 @@ tiny_mode_root: BooleanConstructor; | ||
}; | ||
/** 输入框的边框模式,当值为underline时,只显示一条底部直线 */ | ||
inputBoxType: { | ||
type: StringConstructor; | ||
default: string; | ||
validator: (value: string) => boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
@@ -573,6 +591,6 @@ tiny_mode_root: BooleanConstructor; | ||
ellipsis: boolean; | ||
mask: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
mask: boolean; | ||
contentStyle: Record<string, any>; | ||
@@ -605,3 +623,4 @@ customClass: string; | ||
showTooltip: boolean; | ||
inputBoxType: string; | ||
}, {}>; | ||
export default _default; |
@@ -9,2 +9,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
resize?: any; | ||
mask?: any; | ||
tiny_mode?: any; | ||
@@ -21,3 +22,2 @@ tiny_mode_root?: any; | ||
suffixIcon?: any; | ||
mask?: any; | ||
customClass?: any; | ||
@@ -48,2 +48,3 @@ readonly?: any; | ||
resize?: any; | ||
mask?: any; | ||
tiny_mode?: any; | ||
@@ -60,3 +61,2 @@ tiny_mode_root?: any; | ||
suffixIcon?: any; | ||
mask?: any; | ||
customClass?: any; | ||
@@ -100,2 +100,3 @@ readonly?: any; | ||
readonly resize?: any; | ||
readonly mask?: any; | ||
readonly tiny_mode?: any; | ||
@@ -112,3 +113,2 @@ readonly tiny_mode_root?: any; | ||
readonly suffixIcon?: any; | ||
readonly mask?: any; | ||
readonly customClass?: any; | ||
@@ -115,0 +115,0 @@ readonly readonly?: any; |
@@ -9,2 +9,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
resize?: any; | ||
mask?: any; | ||
tiny_mode?: any; | ||
@@ -21,3 +22,2 @@ tiny_mode_root?: any; | ||
suffixIcon?: any; | ||
mask?: any; | ||
readonly?: any; | ||
@@ -40,2 +40,3 @@ hoverExpand?: any; | ||
showTooltip?: any; | ||
inputBoxType?: any; | ||
}>, { | ||
@@ -57,2 +58,3 @@ t: (this: any, path: any, options?: any) => any; | ||
resize?: any; | ||
mask?: any; | ||
tiny_mode?: any; | ||
@@ -69,3 +71,2 @@ tiny_mode_root?: any; | ||
suffixIcon?: any; | ||
mask?: any; | ||
readonly?: any; | ||
@@ -88,2 +89,3 @@ hoverExpand?: any; | ||
showTooltip?: any; | ||
inputBoxType?: any; | ||
}>>> & { | ||
@@ -110,2 +112,3 @@ onInput?: ((...args: any[]) => any) | undefined; | ||
readonly resize?: any; | ||
readonly mask?: any; | ||
readonly tiny_mode?: any; | ||
@@ -122,3 +125,2 @@ readonly tiny_mode_root?: any; | ||
readonly suffixIcon?: any; | ||
readonly mask?: any; | ||
readonly readonly?: any; | ||
@@ -141,3 +143,4 @@ readonly hoverExpand?: any; | ||
readonly showTooltip?: any; | ||
readonly inputBoxType?: any; | ||
}, {}>; | ||
export default _default; |
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
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
109707
2908
+ Added@opentiny/vue-action-sheet@3.19.0(transitive)
+ Added@opentiny/vue-button@3.19.0(transitive)
+ Added@opentiny/vue-common@3.19.0(transitive)
+ Added@opentiny/vue-dialog-box@3.19.0(transitive)
+ Added@opentiny/vue-drawer@3.19.1(transitive)
+ Added@opentiny/vue-icon@3.19.0(transitive)
+ Added@opentiny/vue-locale@3.19.0(transitive)
+ Added@opentiny/vue-renderless@3.19.3(transitive)
+ Added@opentiny/vue-theme@3.19.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.19.0(transitive)
+ Added@opentiny/vue-tooltip@3.19.0(transitive)
- Removed@opentiny/vue-action-sheet@3.18.0(transitive)
- Removed@opentiny/vue-button@3.18.0(transitive)
- Removed@opentiny/vue-common@3.18.0(transitive)
- Removed@opentiny/vue-dialog-box@3.18.0(transitive)
- Removed@opentiny/vue-drawer@3.18.0(transitive)
- Removed@opentiny/vue-icon@3.18.0(transitive)
- Removed@opentiny/vue-locale@3.18.0(transitive)
- Removed@opentiny/vue-renderless@3.18.6(transitive)
- Removed@opentiny/vue-theme@3.18.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.18.0(transitive)
- Removed@opentiny/vue-tooltip@3.18.0(transitive)
Updated@opentiny/vue-button@~3.19.0
Updated@opentiny/vue-common@~3.19.0
Updated@opentiny/vue-icon@~3.19.0
Updated@opentiny/vue-theme@~3.19.0