{ "schemaVersion": 2, "sourceKind": "structured-spec", "confidence": "high", "slug": "passwordinput", "family": "masked-input", "familyRole": "variant", "familyParams": {"masked":true}, "name": "密码输入 PasswordInput", "semanticTypeCandidates": [ "password-input", "input" ], "variantDimensions": [ { "name": "visibilityToggle", "values": [ "support" ] }, { "name": "strength", "values": [ "weak-medium-strong", "none" ] }, { "name": "generate", "values": [ "one-click", "none" ] } ], "representativeVariants": [ { "visibilityToggle": "support", "strength": "weak-medium-strong", "generate": "one-click", "label": "注册密码输入(带强度与生成)" }, { "visibilityToggle": "support", "strength": "none", "generate": "none", "label": "基础密码输入" } ], "anatomy": { "input": "密码输入框(圆点掩码)", "eye": "密码可见切换", "strength-meter": "强度检测提示:弱 / 中 / 强" }, "structurePatterns": { "rules": "强度检测规则可配置" }, "usageHints": [ "密码可见切换", "强度检测(弱/中/强)", "可配置规则", "支持一键生成强密码", "适用于注册、修改密码" ], "doNotInvent": [ "强度指示的配色具体值" ], "unknowns": [ "强度判定的具体规则细节" ] }