ll-plus 2.6.19 → 2.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/input/index.d.ts +7 -1
- package/es/components/input/src/input.d.ts +1 -0
- package/es/components/input/src/input.vue.d.ts +7 -1
- package/es/packages/components/input/src/input.mjs +7 -0
- package/es/packages/components/input/src/input.mjs.map +1 -1
- package/es/packages/components/input/src/input.vue2.mjs +4 -2
- package/es/packages/components/input/src/input.vue2.mjs.map +1 -1
- package/es/utils/props/runtime.d.ts +2 -2
- package/index.full.js +11 -2
- package/index.full.min.js +1 -1
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +1 -1
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +11 -2
- package/lib/components/input/index.d.ts +7 -1
- package/lib/components/input/src/input.d.ts +1 -0
- package/lib/components/input/src/input.vue.d.ts +7 -1
- package/lib/packages/components/input/src/input.js +7 -0
- package/lib/packages/components/input/src/input.js.map +1 -1
- package/lib/packages/components/input/src/input.vue2.js +4 -2
- package/lib/packages/components/input/src/input.vue2.js.map +1 -1
- package/lib/utils/props/runtime.d.ts +2 -2
- package/package.json +1 -1
- package/types/packages/components/input/index.d.ts +7 -1
- package/types/packages/components/input/src/input.d.ts +1 -0
- package/types/packages/components/input/src/input.vue.d.ts +7 -1
- package/types/packages/utils/props/runtime.d.ts +2 -2
package/index.full.mjs
CHANGED
|
@@ -62795,6 +62795,13 @@ const inputProps = buildProps({
|
|
|
62795
62795
|
*/
|
|
62796
62796
|
showPassword: {
|
|
62797
62797
|
type: Boolean
|
|
62798
|
+
},
|
|
62799
|
+
/**
|
|
62800
|
+
* @description 是否显示密码框
|
|
62801
|
+
*/
|
|
62802
|
+
allowClear: {
|
|
62803
|
+
type: Boolean,
|
|
62804
|
+
default: true
|
|
62798
62805
|
}
|
|
62799
62806
|
});
|
|
62800
62807
|
|
|
@@ -62827,7 +62834,9 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
62827
62834
|
ref_key: "inputRef",
|
|
62828
62835
|
ref: inputRef,
|
|
62829
62836
|
class: unref(bem).b()
|
|
62830
|
-
}, computedAttrs.value
|
|
62837
|
+
}, computedAttrs.value, {
|
|
62838
|
+
"allow-clear": props.allowClear
|
|
62839
|
+
}), createSlots({
|
|
62831
62840
|
_: 2
|
|
62832
62841
|
/* DYNAMIC */
|
|
62833
62842
|
}, [
|
|
@@ -62859,7 +62868,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
62859
62868
|
]),
|
|
62860
62869
|
key: "1"
|
|
62861
62870
|
} : void 0
|
|
62862
|
-
]), 1040, ["class"]);
|
|
62871
|
+
]), 1040, ["class", "allow-clear"]);
|
|
62863
62872
|
};
|
|
62864
62873
|
}
|
|
62865
62874
|
});
|
|
@@ -24,6 +24,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
24
24
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
25
|
__epPropKey: true;
|
|
26
26
|
};
|
|
27
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
27
28
|
}, {
|
|
28
29
|
bem: {
|
|
29
30
|
b: (blockSuffix?: string) => string;
|
|
@@ -36,6 +37,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
36
37
|
is: (name?: string) => string;
|
|
37
38
|
};
|
|
38
39
|
props: import("@vue/shared").LooseRequired<{
|
|
40
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
41
|
readonly value?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
40
42
|
readonly suffixIcon?: string | undefined;
|
|
41
43
|
readonly prefixIcon?: string | undefined;
|
|
@@ -1305,6 +1307,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1305
1307
|
visibilityToggle: boolean;
|
|
1306
1308
|
}, {}>;
|
|
1307
1309
|
computedAttrs: import("vue").ComputedRef<{
|
|
1310
|
+
allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1308
1311
|
value: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
1309
1312
|
suffixIcon: string | undefined;
|
|
1310
1313
|
prefixIcon: string | undefined;
|
|
@@ -1336,7 +1339,10 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1336
1339
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1337
1340
|
__epPropKey: true;
|
|
1338
1341
|
};
|
|
1339
|
-
|
|
1342
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1343
|
+
}>>, {
|
|
1344
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1345
|
+
}, {}>>;
|
|
1340
1346
|
export default LlInput;
|
|
1341
1347
|
export * from './src/input';
|
|
1342
1348
|
declare module 'vue' {
|
|
@@ -26,6 +26,7 @@ export declare const inputProps: {
|
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
29
30
|
};
|
|
30
31
|
export type InputProps = ExtractPropTypes<typeof inputProps>;
|
|
31
32
|
export type InputValue = AntInputProps['value'];
|
|
@@ -23,6 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
24
|
__epPropKey: true;
|
|
25
25
|
};
|
|
26
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
27
|
}, {
|
|
27
28
|
bem: {
|
|
28
29
|
b: (blockSuffix?: string) => string;
|
|
@@ -35,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
36
|
is: (name?: string) => string;
|
|
36
37
|
};
|
|
37
38
|
props: import("@vue/shared").LooseRequired<{
|
|
39
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
38
40
|
readonly value?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
39
41
|
readonly suffixIcon?: string | undefined;
|
|
40
42
|
readonly prefixIcon?: string | undefined;
|
|
@@ -1304,6 +1306,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1304
1306
|
visibilityToggle: boolean;
|
|
1305
1307
|
}, {}>;
|
|
1306
1308
|
computedAttrs: import("vue").ComputedRef<{
|
|
1309
|
+
allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1307
1310
|
value: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
1308
1311
|
suffixIcon: string | undefined;
|
|
1309
1312
|
prefixIcon: string | undefined;
|
|
@@ -1335,5 +1338,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1335
1338
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1336
1339
|
__epPropKey: true;
|
|
1337
1340
|
};
|
|
1338
|
-
|
|
1341
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1342
|
+
}>>, {
|
|
1343
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1344
|
+
}, {}>;
|
|
1339
1345
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { InputProps as AntInputProps } from 'ant-design-vue'\nimport type Input from './input.vue'\n\nexport const inputProps = buildProps({\n /**\n * @description input的value\n */\n value: {\n type: definePropType<AntInputProps['value']>(String)\n },\n /**\n * @description 带有前缀图标的 input\n */\n prefixIcon: {\n type: String\n },\n /**\n * @description 带有后缀图标的 input\n */\n suffixIcon: {\n type: String\n },\n /**\n * @description 是否显示密码框\n */\n showPassword: {\n type: Boolean\n }\n} as const)\n\n// props\nexport type InputProps = ExtractPropTypes<typeof inputProps> // ExtractPropTypes和defineCpmponent类似\nexport type InputValue = AntInputProps['value']\n\n// instance\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;AAMO,MAAM,aAAaA,kBAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAInC,KAAO,EAAA;AAAA,IACL,IAAA,EAAMC,uBAAuC,MAAM,CAAA;AAAA,GACrD;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,OAAA;AAAA,GACR;AACF,CAAU;;;;"}
|
|
1
|
+
{"version":3,"file":"input.js","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { InputProps as AntInputProps } from 'ant-design-vue'\nimport type Input from './input.vue'\n\nexport const inputProps = buildProps({\n /**\n * @description input的value\n */\n value: {\n type: definePropType<AntInputProps['value']>(String)\n },\n /**\n * @description 带有前缀图标的 input\n */\n prefixIcon: {\n type: String\n },\n /**\n * @description 带有后缀图标的 input\n */\n suffixIcon: {\n type: String\n },\n /**\n * @description 是否显示密码框\n */\n showPassword: {\n type: Boolean\n },\n /**\n * @description 是否显示密码框\n */\n allowClear: {\n type: Boolean,\n default: true\n }\n} as const)\n\n// props\nexport type InputProps = ExtractPropTypes<typeof inputProps> // ExtractPropTypes和defineCpmponent类似\nexport type InputValue = AntInputProps['value']\n\n// instance\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;AAMO,MAAM,aAAaA,kBAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAInC,KAAO,EAAA;AAAA,IACL,IAAA,EAAMC,uBAAuC,MAAM,CAAA;AAAA,GACrD;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,OAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF,CAAU;;;;"}
|
|
@@ -38,7 +38,9 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
38
|
ref_key: "inputRef",
|
|
39
39
|
ref: inputRef,
|
|
40
40
|
class: vue.unref(bem).b()
|
|
41
|
-
}, computedAttrs.value
|
|
41
|
+
}, computedAttrs.value, {
|
|
42
|
+
"allow-clear": props.allowClear
|
|
43
|
+
}), vue.createSlots({
|
|
42
44
|
_: 2
|
|
43
45
|
/* DYNAMIC */
|
|
44
46
|
}, [
|
|
@@ -70,7 +72,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
70
72
|
]),
|
|
71
73
|
key: "1"
|
|
72
74
|
} : void 0
|
|
73
|
-
]), 1040, ["class"]);
|
|
75
|
+
]), 1040, ["class", "allow-clear"]);
|
|
74
76
|
};
|
|
75
77
|
}
|
|
76
78
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.vue2.js","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <component\n :is=\"componentType\"\n ref=\"inputRef\"\n :class=\"bem.b()\"\n v-bind=\"computedAttrs\"\n >\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n <template v-if=\"prefixIcon\" #prefix>\n <ll-icon :icon-name=\"prefixIcon\" class-name=\"prefix-icon\" />\n </template>\n <template v-if=\"suffixIcon\" #suffix>\n <ll-icon :icon-name=\"suffixIcon\" class-name=\"suffix-icon\" />\n </template>\n </component>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, useAttrs, watchEffect } from 'vue'\nimport { Input } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { InputValue, inputProps } from './input'\n\ndefineOptions({ name: 'LlInput' })\n\nconst bem = createNamespace('input')\n\nconst props = defineProps(inputProps)\n\nconst innerValue = ref<InputValue>('')\n\nconst inputRef = ref()\n\nwatchEffect(() => {\n if (props.value !== innerValue.value) {\n innerValue.value = props.value\n }\n})\n\nconst componentType = props.showPassword ? Input.Password : Input\n\nconst computedAttrs = computed(() => {\n const attrs = { ...useAttrs(), ...props }\n\n return attrs\n})\n\nconst focus = () => {\n inputRef.value.focus()\n}\n\ndefineExpose({ focus })\n</script>\n"],"names":["createNamespace","ref","watchEffect","Input","computed","useAttrs"],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"input.vue2.js","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <component\n :is=\"componentType\"\n ref=\"inputRef\"\n :class=\"bem.b()\"\n v-bind=\"computedAttrs\"\n :allow-clear=\"props.allowClear\"\n >\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n <template v-if=\"prefixIcon\" #prefix>\n <ll-icon :icon-name=\"prefixIcon\" class-name=\"prefix-icon\" />\n </template>\n <template v-if=\"suffixIcon\" #suffix>\n <ll-icon :icon-name=\"suffixIcon\" class-name=\"suffix-icon\" />\n </template>\n </component>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, useAttrs, watchEffect } from 'vue'\nimport { Input } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { InputValue, inputProps } from './input'\n\ndefineOptions({ name: 'LlInput' })\n\nconst bem = createNamespace('input')\n\nconst props = defineProps(inputProps)\n\nconst innerValue = ref<InputValue>('')\n\nconst inputRef = ref()\n\nwatchEffect(() => {\n if (props.value !== innerValue.value) {\n innerValue.value = props.value\n }\n})\n\nconst componentType = props.showPassword ? Input.Password : Input\n\nconst computedAttrs = computed(() => {\n const attrs = { ...useAttrs(), ...props }\n\n return attrs\n})\n\nconst focus = () => {\n inputRef.value.focus()\n}\n\ndefineExpose({ focus })\n</script>\n"],"names":["createNamespace","ref","watchEffect","Input","computed","useAttrs"],"mappings":";;;;;;;;;;;;;;;;AA4BA,IAAM,MAAA,GAAA,GAAMA,gCAAgB,OAAO,CAAA,CAAA;AAEnC,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,UAAA,GAAaC,QAAgB,EAAE,CAAA,CAAA;AAErC,IAAA,MAAM,WAAWA,OAAI,EAAA,CAAA;AAErB,IAAAC,eAAA,CAAY,MAAM;AAChB,MAAI,IAAA,KAAA,CAAM,KAAU,KAAA,UAAA,CAAW,KAAO,EAAA;AACpC,QAAA,UAAA,CAAW,QAAQ,KAAM,CAAA,KAAA,CAAA;AAAA,OAC3B;AAAA,KACD,CAAA,CAAA;AAED,IAAA,MAAM,aAAgB,GAAA,KAAA,CAAM,YAAe,GAAAC,kBAAA,CAAM,QAAW,GAAAA,kBAAA,CAAA;AAE5D,IAAM,MAAA,aAAA,GAAgBC,aAAS,MAAM;AACnC,MAAA,MAAM,QAAQ,EAAE,GAAGC,YAAS,EAAA,EAAG,GAAG,KAAM,EAAA,CAAA;AAExC,MAAO,OAAA,KAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAED,IAAA,MAAM,QAAQ,MAAM;AAClB,MAAA,QAAA,CAAS,MAAM,KAAM,EAAA,CAAA;AAAA,KACvB,CAAA;AAEA,IAAa,QAAA,CAAA,EAAE,OAAO,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -27,6 +27,6 @@ export declare const buildProp: <Type = never, Value = never, Validator = never,
|
|
|
27
27
|
export type TestProps = Record<string, {
|
|
28
28
|
[epPropKey]: true;
|
|
29
29
|
} | NativePropType | EpPropInput<any, any, any, any, any>>;
|
|
30
|
-
export declare const buildProps: <Props extends Record<string, {
|
|
30
|
+
export declare const buildProps: <Props extends Record<string, NativePropType | EpPropInput<any, any, any, any, any> | {
|
|
31
31
|
__epPropKey: true;
|
|
32
|
-
}
|
|
32
|
+
}>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
|
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
24
24
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
25
|
__epPropKey: true;
|
|
26
26
|
};
|
|
27
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
27
28
|
}, {
|
|
28
29
|
bem: {
|
|
29
30
|
b: (blockSuffix?: string) => string;
|
|
@@ -36,6 +37,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
36
37
|
is: (name?: string) => string;
|
|
37
38
|
};
|
|
38
39
|
props: import("@vue/shared").LooseRequired<{
|
|
40
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
41
|
readonly value?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
40
42
|
readonly suffixIcon?: string | undefined;
|
|
41
43
|
readonly prefixIcon?: string | undefined;
|
|
@@ -1305,6 +1307,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1305
1307
|
visibilityToggle: boolean;
|
|
1306
1308
|
}, {}>;
|
|
1307
1309
|
computedAttrs: import("vue").ComputedRef<{
|
|
1310
|
+
allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1308
1311
|
value: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
1309
1312
|
suffixIcon: string | undefined;
|
|
1310
1313
|
prefixIcon: string | undefined;
|
|
@@ -1336,7 +1339,10 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1336
1339
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1337
1340
|
__epPropKey: true;
|
|
1338
1341
|
};
|
|
1339
|
-
|
|
1342
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1343
|
+
}>>, {
|
|
1344
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1345
|
+
}, {}>>;
|
|
1340
1346
|
export default LlInput;
|
|
1341
1347
|
export * from './src/input';
|
|
1342
1348
|
declare module 'vue' {
|
|
@@ -26,6 +26,7 @@ export declare const inputProps: {
|
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
29
30
|
};
|
|
30
31
|
export type InputProps = ExtractPropTypes<typeof inputProps>;
|
|
31
32
|
export type InputValue = AntInputProps['value'];
|
|
@@ -23,6 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
24
|
__epPropKey: true;
|
|
25
25
|
};
|
|
26
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
27
|
}, {
|
|
27
28
|
bem: {
|
|
28
29
|
b: (blockSuffix?: string) => string;
|
|
@@ -35,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
36
|
is: (name?: string) => string;
|
|
36
37
|
};
|
|
37
38
|
props: import("@vue/shared").LooseRequired<{
|
|
39
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
38
40
|
readonly value?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
39
41
|
readonly suffixIcon?: string | undefined;
|
|
40
42
|
readonly prefixIcon?: string | undefined;
|
|
@@ -1304,6 +1306,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1304
1306
|
visibilityToggle: boolean;
|
|
1305
1307
|
}, {}>;
|
|
1306
1308
|
computedAttrs: import("vue").ComputedRef<{
|
|
1309
|
+
allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1307
1310
|
value: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | undefined))[], unknown, unknown>;
|
|
1308
1311
|
suffixIcon: string | undefined;
|
|
1309
1312
|
prefixIcon: string | undefined;
|
|
@@ -1335,5 +1338,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1335
1338
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1336
1339
|
__epPropKey: true;
|
|
1337
1340
|
};
|
|
1338
|
-
|
|
1341
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1342
|
+
}>>, {
|
|
1343
|
+
readonly allowClear: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1344
|
+
}, {}>;
|
|
1339
1345
|
export default _default;
|
|
@@ -27,6 +27,6 @@ export declare const buildProp: <Type = never, Value = never, Validator = never,
|
|
|
27
27
|
export type TestProps = Record<string, {
|
|
28
28
|
[epPropKey]: true;
|
|
29
29
|
} | NativePropType | EpPropInput<any, any, any, any, any>>;
|
|
30
|
-
export declare const buildProps: <Props extends Record<string, {
|
|
30
|
+
export declare const buildProps: <Props extends Record<string, NativePropType | EpPropInput<any, any, any, any, any> | {
|
|
31
31
|
__epPropKey: true;
|
|
32
|
-
}
|
|
32
|
+
}>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
|