first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../common/props.js"),o={...e.baseProps,customInputClass:e.makeStringProp(""),customLabelClass:e.makeStringProp(""),placeholder:String,placeholderStyle:String,placeholderClass:e.makeStringProp(""),cursorSpacing:e.makeNumberProp(0),cursor:e.makeNumberProp(-1),selectionStart:e.makeNumberProp(-1),selectionEnd:e.makeNumberProp(-1),adjustPosition:e.makeBooleanProp(!0),holdKeyboard:e.makeBooleanProp(!1),confirmType:e.makeStringProp("done"),confirmHold:e.makeBooleanProp(!1),focus:e.makeBooleanProp(!1),type:e.makeStringProp("text"),maxlength:{type:Number,default:-1},disabled:e.makeBooleanProp(!1),alwaysEmbed:e.makeBooleanProp(!1),alignRight:e.makeBooleanProp(!1),modelValue:e.makeNumericProp(""),showPassword:e.makeBooleanProp(!1),clearable:e.makeBooleanProp(!1),readonly:e.makeBooleanProp(!1),prefixIcon:String,suffixIcon:String,showWordLimit:e.makeBooleanProp(!1),label:String,labelWidth:e.makeStringProp(""),size:String,error:e.makeBooleanProp(!1),center:e.makeBooleanProp(!1),noBorder:e.makeBooleanProp(!1),required:e.makeBooleanProp(!1),prop:String,rules:e.makeArrayProp(),clearTrigger:e.makeStringProp("always"),focusWhenClear:e.makeBooleanProp(!0),ignoreCompositionEvent:e.makeBooleanProp(!0),inputmode:e.makeStringProp("text"),markerSide:e.makeStringProp("before")};exports.inputProps=o;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"wd-icon": "../wd-icon/wd-icon"
}
}

View File

@@ -0,0 +1 @@
<view class="{{['data-v-21702c63', am]}}" style="{{an}}" bindtap="{{ao}}"><view wx:if="{{a}}" class="{{['data-v-21702c63', k]}}" style="{{l}}"><text wx:if="{{b}}" class="wd-input__required wd-input__required--left data-v-21702c63">*</text><view wx:if="{{c}}" class="wd-input__prefix data-v-21702c63"><wd-icon wx:if="{{d}}" class="data-v-21702c63" bindclick="{{e}}" u-i="21702c63-0" bind:__l="__l" u-p="{{f}}"/><slot wx:else name="prefix"></slot></view><view class="wd-input__label-inner data-v-21702c63"><text wx:if="{{g}}" class="data-v-21702c63">{{h}}</text><slot wx:elif="{{i}}" name="label"></slot></view><text wx:if="{{j}}" class="wd-input__required data-v-21702c63">*</text></view><view class="wd-input__body data-v-21702c63"><view class="wd-input__value data-v-21702c63"><view wx:if="{{m}}" class="wd-input__prefix data-v-21702c63"><wd-icon wx:if="{{n}}" class="data-v-21702c63" bindclick="{{o}}" u-i="21702c63-1" bind:__l="__l" u-p="{{p}}"/><slot wx:else name="prefix"></slot></view><block wx:if="{{r0}}"><input class="{{['data-v-21702c63', 'wd-input__inner', q, r, s, t]}}" type="{{v}}" password="{{w}}" placeholder="{{x}}" disabled="{{y}}" maxlength="{{z}}" focus="{{A}}" confirm-type="{{B}}" confirm-hold="{{C}}" cursor="{{D}}" cursor-spacing="{{E}}" placeholder-style="{{F}}" selection-start="{{G}}" selection-end="{{H}}" adjust-position="{{I}}" hold-keyboard="{{J}}" always-embed="{{K}}" placeholder-class="{{L}}" ignoreCompositionEvent="{{M}}" inputmode="{{N}}" bindinput="{{O}}" bindfocus="{{P}}" bindblur="{{Q}}" bindconfirm="{{R}}" bindkeyboardheightchange="{{S}}" value="{{T}}"/></block><view wx:if="{{U}}" class="wd-input__readonly-mask data-v-21702c63"/><view wx:if="{{V}}" class="wd-input__suffix data-v-21702c63"><wd-icon wx:if="{{W}}" class="data-v-21702c63" bindclick="{{X}}" u-i="21702c63-2" bind:__l="__l" u-p="{{Y}}"/><wd-icon wx:if="{{Z}}" class="data-v-21702c63" bindclick="{{aa}}" u-i="21702c63-3" bind:__l="__l" u-p="{{ab}}"/><view wx:if="{{ac}}" class="wd-input__count data-v-21702c63"><text class="{{['data-v-21702c63', ae, af]}}">{{ad}}</text> /{{ag}}</view><wd-icon wx:if="{{ah}}" class="data-v-21702c63" bindclick="{{ai}}" u-i="21702c63-4" bind:__l="__l" u-p="{{aj}}"/><slot wx:else name="suffix"></slot></view></view><view wx:if="{{ak}}" class="wd-input__error-message data-v-21702c63">{{al}}</view></view></view>

File diff suppressed because one or more lines are too long