first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/computed.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/computed.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports.getInputClass=function(t,s,n,o){const r=[`${t}__control`];return n&&r.push(`${t}--${n}`),o&&r.push(`${t}__control--disabled`),r.join(" ")};
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"t-icon": "../icon/icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="{{an}}" class="{{['data-v-6a6baae8', ao]}}" aria-describedby><view class="{{['data-v-6a6baae8', h]}}"><view class="{{['data-v-6a6baae8', d]}}"><slot name="prefix-icon"/><block wx:if="{{a}}" name="icon"><t-icon wx:if="{{c}}" class="data-v-6a6baae8" bindclick="{{b}}" u-i="6a6baae8-0" bind:__l="__l" u-p="{{c}}"/></block></view><view class="{{['data-v-6a6baae8', g]}}" aria-hidden><slot name="label"/><block wx:if="{{e}}">{{f}}</block></view></view><view class="{{['data-v-6a6baae8', am]}}"><view class="{{['data-v-6a6baae8', ah]}}" bindtap="{{ai}}"><block wx:if="{{r0}}"><input class="{{['data-v-6a6baae8', i]}}" maxlength="{{j}}" disabled="{{k}}" placeholder="{{l}}" placeholder-style="{{m}}" placeholder-class="{{n}}" value="{{o}}" password="{{p}}" type="{{q}}" focus="{{r}}" confirm-type="{{s}}" confirm-hold="{{t}}" cursor="{{v}}" cursor-color="{{w}}" cursor-spacing="{{x}}" adjust-position="{{y}}" auto-focus="{{z}}" always-embed="{{A}}" selection-start="{{B}}" selection-end="{{C}}" hold-keyboard="{{D}}" safe-password-cert-path="{{E}}" safe-password-length="{{F}}" safe-password-time-stamp="{{G}}" safe-password-nonce="{{H}}" safe-password-salt="{{I}}" safe-password-custom-hash="{{J}}" aria-role="textbox" aria-label="{{K}}" aria-roledescription="{{L}}" bindinput="{{M}}" bindchange="{{N}}" bindfocus="{{O}}" bindblur="{{P}}" bindconfirm="{{Q}}" bindkeyboardheightchange="{{R}}" bindnicknamereview="{{S}}"></input></block><view wx:if="{{T}}" class="{{['data-v-6a6baae8', W]}}" catchtap="{{X}}"><t-icon wx:if="{{V}}" class="data-v-6a6baae8" bindclick="{{U}}" u-i="6a6baae8-1" bind:__l="__l" u-p="{{V}}"/></view><view class="{{['data-v-6a6baae8', aa]}}" bindtap="{{ab}}"><text wx:if="{{Y}}" class="data-v-6a6baae8">{{Z}}</text><slot name="suffix"/></view><view class="{{['data-v-6a6baae8', af]}}" bindtap="{{ag}}"><slot name="suffix-icon"/><block wx:if="{{ac}}" name="icon"><t-icon wx:if="{{ae}}" class="data-v-6a6baae8" bindclick="{{ad}}" u-i="6a6baae8-2" bind:__l="__l" u-p="{{ae}}"/></block></view></view><view wx:if="{{aj}}" class="{{['data-v-6a6baae8', al]}}">{{ak}}</view><slot name="tips"/></view><slot name="extra"/></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/input.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/tdesign-uniapp/components/input/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e={adjustPosition:{type:Boolean,default:!0},align:{type:String,default:"left",validator:e=>!e||["left","center","right"].includes(e)},allowInputOverMax:Boolean,alwaysEmbed:Boolean,autoFocus:Boolean,borderless:Boolean,clearTrigger:{type:String,default:"always",validator:e=>!e||["always","focus"].includes(e)},clearable:{type:[Boolean,Object],default:!1},confirmHold:Boolean,confirmType:{type:String,default:"done",validator:e=>!e||["send","search","next","go","done"].includes(e)},cursor:{type:Number,default:-1},cursorColor:{type:String,default:"#0052d9"},cursorSpacing:{type:Number,default:0},disabled:{type:Boolean,default:void 0},focus:Boolean,format:{type:Function},holdKeyboard:Boolean,label:{type:String},layout:{type:String,default:"horizontal",validator:e=>!e||["vertical","horizontal"].includes(e)},maxcharacter:{type:Number},maxlength:{type:Number,default:-1},placeholder:{type:String,default:void 0},placeholderClass:{type:String,default:"input-placeholder"},placeholderStyle:{type:String,default:""},prefixIcon:{type:[String,Object]},readonly:{type:Boolean,default:void 0},safePasswordCertPath:{type:String,default:""},safePasswordCustomHash:{type:String,default:""},safePasswordLength:{type:Number},safePasswordNonce:{type:String,default:""},safePasswordSalt:{type:String,default:""},safePasswordTimeStamp:{type:Number},selectionEnd:{type:Number,default:-1},selectionStart:{type:Number,default:-1},status:{type:String,default:"default",validator:e=>!e||["default","success","warning","error"].includes(e)},suffix:{type:String},suffixIcon:{type:[String,Object]},tips:{type:String},type:{type:String,default:"text",validator:e=>!e||["text","number","idcard","digit","safe-password","password","nickname"].includes(e)},value:{type:[String,Number]},onBlur:{type:Function,default:()=>({})},onChange:{type:Function,default:()=>({})},onClear:{type:Function,default:()=>({})},onClick:{type:Function,default:()=>({})},onEnter:{type:Function,default:()=>({})},onFocus:{type:Function,default:()=>({})},onKeyboardheightchange:{type:Function,default:()=>({})},onNicknamereview:{type:Function,default:()=>({})},onValidate:{type:Function,default:()=>({})}};exports.props=e;
|
||||
Reference in New Issue
Block a user