ll-plus 2.3.19 → 2.4.1
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/advanced-filtering/index.d.ts +40 -32
- package/es/components/advanced-filtering/index.mjs +1 -1
- package/es/components/advanced-filtering/src/advanced-filtering.d.ts +15 -2
- package/es/components/advanced-filtering/src/advanced-filtering.mjs +60 -2
- package/es/components/advanced-filtering/src/advanced-filtering.mjs.map +1 -1
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +22 -18
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs +4 -3
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs.map +1 -1
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +13 -5
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue2.mjs +67 -10
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue2.mjs.map +1 -1
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +5 -9
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.mjs +33 -61
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.mjs.map +1 -1
- package/es/components/api-component/index.d.ts +8 -8
- package/es/components/api-component/src/api-component.vue.d.ts +8 -8
- package/es/components/api-component/src/components/body-component.vue.d.ts +4 -4
- package/es/components/api-component/src/components/params-table-row.vue.d.ts +2 -2
- package/es/components/api-component/src/components/params-table.vue.d.ts +4 -4
- package/es/components/code-editor/index.d.ts +2 -2
- package/es/components/code-editor/src/code-editor.vue.d.ts +2 -2
- package/es/components/drawer/src/components/second-confirmation/index.d.ts +2 -2
- package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +2 -2
- package/es/components/easy-cron/index.d.ts +5 -5
- package/es/components/easy-cron/src/easy-cron.vue.d.ts +5 -5
- package/es/components/form/index.d.ts +2 -0
- package/es/components/form/src/form.vue.d.ts +23 -20
- package/es/components/form/src/form.vue2.mjs +21 -1
- package/es/components/form/src/form.vue2.mjs.map +1 -1
- package/es/components/index.mjs +1 -1
- package/es/components/input/index.d.ts +31 -31
- package/es/components/input/src/input.vue.d.ts +31 -31
- package/es/components/key-value/index.d.ts +26 -11
- package/es/components/key-value/src/components/key-value-item.vue.d.ts +44 -38
- package/es/components/key-value/src/components/key-value-item.vue2.mjs +7 -2
- package/es/components/key-value/src/components/key-value-item.vue2.mjs.map +1 -1
- package/es/components/key-value/src/config/key-value-item.d.ts +1 -0
- package/es/components/key-value/src/config/key-value-item.mjs.map +1 -1
- package/es/components/key-value/src/key-value.vue.d.ts +26 -11
- package/es/components/number-range/index.d.ts +13 -13
- package/es/components/number-range/src/number-range.d.ts +4 -4
- package/es/components/number-range/src/number-range.mjs +1 -1
- package/es/components/number-range/src/number-range.mjs.map +1 -1
- package/es/components/number-range/src/number-range.vue.d.ts +13 -14
- package/es/components/number-range/src/number-range.vue2.mjs +14 -7
- package/es/components/number-range/src/number-range.vue2.mjs.map +1 -1
- package/es/components/select-group/index.d.ts +1 -1
- package/es/components/select-group/src/select-group.vue.d.ts +1 -1
- package/es/components/textarea/index.d.ts +5 -5
- package/es/components/textarea/src/textarea.vue.d.ts +5 -5
- package/es/index.mjs +1 -1
- package/index.full.js +215 -85
- package/index.full.min.js +24 -24
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +24 -24
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +212 -87
- package/lib/components/advanced-filtering/index.d.ts +40 -32
- package/lib/components/advanced-filtering/index.js +5 -0
- package/lib/components/advanced-filtering/index.js.map +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.d.ts +15 -2
- package/lib/components/advanced-filtering/src/advanced-filtering.js +64 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.js.map +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +22 -18
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js +3 -2
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js.map +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +13 -5
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue2.js +65 -8
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue2.js.map +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +5 -9
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.js +33 -61
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.js.map +1 -1
- package/lib/components/api-component/index.d.ts +8 -8
- package/lib/components/api-component/src/api-component.vue.d.ts +8 -8
- package/lib/components/api-component/src/components/body-component.vue.d.ts +4 -4
- package/lib/components/api-component/src/components/params-table-row.vue.d.ts +2 -2
- package/lib/components/api-component/src/components/params-table.vue.d.ts +4 -4
- package/lib/components/code-editor/index.d.ts +2 -2
- package/lib/components/code-editor/src/code-editor.vue.d.ts +2 -2
- package/lib/components/drawer/src/components/second-confirmation/index.d.ts +2 -2
- package/lib/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +2 -2
- package/lib/components/easy-cron/index.d.ts +5 -5
- package/lib/components/easy-cron/src/easy-cron.vue.d.ts +5 -5
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/src/form.vue.d.ts +23 -20
- package/lib/components/form/src/form.vue2.js +21 -1
- package/lib/components/form/src/form.vue2.js.map +1 -1
- package/lib/components/index.js +5 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +31 -31
- package/lib/components/input/src/input.vue.d.ts +31 -31
- package/lib/components/key-value/index.d.ts +26 -11
- package/lib/components/key-value/src/components/key-value-item.vue.d.ts +44 -38
- package/lib/components/key-value/src/components/key-value-item.vue2.js +7 -2
- package/lib/components/key-value/src/components/key-value-item.vue2.js.map +1 -1
- package/lib/components/key-value/src/config/key-value-item.d.ts +1 -0
- package/lib/components/key-value/src/config/key-value-item.js.map +1 -1
- package/lib/components/key-value/src/key-value.vue.d.ts +26 -11
- package/lib/components/number-range/index.d.ts +13 -13
- package/lib/components/number-range/src/number-range.d.ts +4 -4
- package/lib/components/number-range/src/number-range.js +1 -1
- package/lib/components/number-range/src/number-range.js.map +1 -1
- package/lib/components/number-range/src/number-range.vue.d.ts +13 -14
- package/lib/components/number-range/src/number-range.vue2.js +14 -7
- package/lib/components/number-range/src/number-range.vue2.js.map +1 -1
- package/lib/components/select-group/index.d.ts +1 -1
- package/lib/components/select-group/src/select-group.vue.d.ts +1 -1
- package/lib/components/textarea/index.d.ts +5 -5
- package/lib/components/textarea/src/textarea.vue.d.ts +5 -5
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/index.css +1 -1
- package/theme-chalk/css/modal.css +1 -1
- package/theme-chalk/css/operate-icon.css +1 -1
- package/types/packages/components/advanced-filtering/index.d.ts +40 -32
- package/types/packages/components/advanced-filtering/src/advanced-filtering.d.ts +15 -2
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +22 -18
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +13 -5
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +5 -9
- package/types/packages/components/api-component/index.d.ts +8 -8
- package/types/packages/components/api-component/src/api-component.vue.d.ts +8 -8
- package/types/packages/components/api-component/src/components/body-component.vue.d.ts +4 -4
- package/types/packages/components/api-component/src/components/params-table-row.vue.d.ts +2 -2
- package/types/packages/components/api-component/src/components/params-table.vue.d.ts +4 -4
- package/types/packages/components/code-editor/index.d.ts +2 -2
- package/types/packages/components/code-editor/src/code-editor.vue.d.ts +2 -2
- package/types/packages/components/drawer/src/components/second-confirmation/index.d.ts +2 -2
- package/types/packages/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +2 -2
- package/types/packages/components/easy-cron/index.d.ts +5 -5
- package/types/packages/components/easy-cron/src/easy-cron.vue.d.ts +5 -5
- package/types/packages/components/form/index.d.ts +2 -0
- package/types/packages/components/form/src/form.vue.d.ts +23 -20
- package/types/packages/components/input/index.d.ts +31 -31
- package/types/packages/components/input/src/input.vue.d.ts +31 -31
- package/types/packages/components/key-value/index.d.ts +26 -11
- package/types/packages/components/key-value/src/components/key-value-item.vue.d.ts +44 -38
- package/types/packages/components/key-value/src/config/key-value-item.d.ts +1 -0
- package/types/packages/components/key-value/src/key-value.vue.d.ts +26 -11
- package/types/packages/components/number-range/index.d.ts +13 -13
- package/types/packages/components/number-range/src/number-range.d.ts +4 -4
- package/types/packages/components/number-range/src/number-range.vue.d.ts +13 -14
- package/types/packages/components/select-group/index.d.ts +1 -1
- package/types/packages/components/select-group/src/select-group.vue.d.ts +1 -1
- package/types/packages/components/textarea/index.d.ts +5 -5
- package/types/packages/components/textarea/src/textarea.vue.d.ts +5 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type FormColumn } from './config';
|
|
2
|
+
import type { NamePath } from 'ant-design-vue/es/form/interface';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
4
5
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -169,10 +170,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
170
|
};
|
|
170
171
|
rules: {
|
|
171
172
|
type: import("vue").PropType<{
|
|
172
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
173
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
173
174
|
}>;
|
|
174
175
|
default: {
|
|
175
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
176
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
176
177
|
};
|
|
177
178
|
};
|
|
178
179
|
validateMessages: {
|
|
@@ -392,10 +393,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
392
393
|
};
|
|
393
394
|
rules: {
|
|
394
395
|
type: import("vue").PropType<{
|
|
395
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
396
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
396
397
|
}>;
|
|
397
398
|
default: {
|
|
398
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
399
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
399
400
|
};
|
|
400
401
|
};
|
|
401
402
|
validateMessages: {
|
|
@@ -615,10 +616,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
615
616
|
};
|
|
616
617
|
rules: {
|
|
617
618
|
type: import("vue").PropType<{
|
|
618
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
619
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
619
620
|
}>;
|
|
620
621
|
default: {
|
|
621
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
622
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
622
623
|
};
|
|
623
624
|
};
|
|
624
625
|
validateMessages: {
|
|
@@ -838,10 +839,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
838
839
|
};
|
|
839
840
|
rules: {
|
|
840
841
|
type: import("vue").PropType<{
|
|
841
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
842
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
842
843
|
}>;
|
|
843
844
|
default: {
|
|
844
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
845
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
845
846
|
};
|
|
846
847
|
};
|
|
847
848
|
validateMessages: {
|
|
@@ -1255,10 +1256,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1255
1256
|
};
|
|
1256
1257
|
rules: {
|
|
1257
1258
|
type: import("vue").PropType<{
|
|
1258
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
1259
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
1259
1260
|
}>;
|
|
1260
1261
|
default: {
|
|
1261
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
1262
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
1262
1263
|
};
|
|
1263
1264
|
};
|
|
1264
1265
|
validateMessages: {
|
|
@@ -1378,6 +1379,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1378
1379
|
formRef: import("vue").Ref<any>;
|
|
1379
1380
|
validate: () => Promise<any>;
|
|
1380
1381
|
resetFields: () => Promise<any>;
|
|
1382
|
+
clearValidate: (nameList?: NamePath[]) => Promise<any>;
|
|
1383
|
+
scrollToField: (name: NamePath, options?: ScrollOptions) => Promise<any>;
|
|
1381
1384
|
getBindValue: (item: FormColumn) => import("lodash").Omit<any, "label">;
|
|
1382
1385
|
getFormItemClass: (item?: any) => string;
|
|
1383
1386
|
readonly isEmpty: {
|
|
@@ -1596,10 +1599,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1596
1599
|
};
|
|
1597
1600
|
rules: {
|
|
1598
1601
|
type: import("vue").PropType<{
|
|
1599
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
1602
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
1600
1603
|
}>;
|
|
1601
1604
|
default: {
|
|
1602
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
1605
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
1603
1606
|
};
|
|
1604
1607
|
};
|
|
1605
1608
|
validateMessages: {
|
|
@@ -1819,10 +1822,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1819
1822
|
};
|
|
1820
1823
|
rules: {
|
|
1821
1824
|
type: import("vue").PropType<{
|
|
1822
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
1825
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
1823
1826
|
}>;
|
|
1824
1827
|
default: {
|
|
1825
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
1828
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
1826
1829
|
};
|
|
1827
1830
|
};
|
|
1828
1831
|
validateMessages: {
|
|
@@ -2042,10 +2045,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2042
2045
|
};
|
|
2043
2046
|
rules: {
|
|
2044
2047
|
type: import("vue").PropType<{
|
|
2045
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
2048
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
2046
2049
|
}>;
|
|
2047
2050
|
default: {
|
|
2048
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
2051
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
2049
2052
|
};
|
|
2050
2053
|
};
|
|
2051
2054
|
validateMessages: {
|
|
@@ -2265,10 +2268,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2265
2268
|
};
|
|
2266
2269
|
rules: {
|
|
2267
2270
|
type: import("vue").PropType<{
|
|
2268
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
2271
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
2269
2272
|
}>;
|
|
2270
2273
|
default: {
|
|
2271
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
2274
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
2272
2275
|
};
|
|
2273
2276
|
};
|
|
2274
2277
|
validateMessages: {
|
|
@@ -2683,10 +2686,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2683
2686
|
};
|
|
2684
2687
|
rules: {
|
|
2685
2688
|
type: import("vue").PropType<{
|
|
2686
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
2689
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
2687
2690
|
}>;
|
|
2688
2691
|
default: {
|
|
2689
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
2692
|
+
[k: string]: import("ant-design-vue/es/form/interface").RuleObject | import("ant-design-vue/es/form/interface").RuleObject[];
|
|
2690
2693
|
};
|
|
2691
2694
|
};
|
|
2692
2695
|
validateMessages: {
|
|
@@ -24,6 +24,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
const resetFields = async () => {
|
|
25
25
|
return await formRef.value.resetFields();
|
|
26
26
|
};
|
|
27
|
+
const clearValidate = async (nameList) => {
|
|
28
|
+
return await formRef.value.clearValidate(nameList);
|
|
29
|
+
};
|
|
30
|
+
const scrollToField = async (name, options) => {
|
|
31
|
+
return await formRef.value.scrollToField(name, options);
|
|
32
|
+
};
|
|
27
33
|
const getBindValue = (item) => {
|
|
28
34
|
const obj = { ...item };
|
|
29
35
|
return omit(obj, ["label"]);
|
|
@@ -47,9 +53,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
53
|
deep: true
|
|
48
54
|
}
|
|
49
55
|
);
|
|
56
|
+
watch(
|
|
57
|
+
() => props.formData,
|
|
58
|
+
async (val) => {
|
|
59
|
+
for (const i in val) {
|
|
60
|
+
formData[i] = val[i];
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
deep: true,
|
|
65
|
+
immediate: true
|
|
66
|
+
}
|
|
67
|
+
);
|
|
50
68
|
__expose({
|
|
51
69
|
validate,
|
|
52
|
-
resetFields
|
|
70
|
+
resetFields,
|
|
71
|
+
clearValidate,
|
|
72
|
+
scrollToField
|
|
53
73
|
});
|
|
54
74
|
return (_ctx, _cache) => {
|
|
55
75
|
const _component_ll_tooltip = resolveComponent("ll-tooltip");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.vue2.mjs","sources":["../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <a-spin :spinning=\"props.loading\">\n <a-form ref=\"formRef\" v-bind=\"props.formOptions\" :model=\"props.formData\">\n <a-row v-bind=\"props.rowOptions\">\n <a-col\n v-for=\"(item, index) in props.formColumns\"\n :key=\"index\"\n v-bind=\"item?.colOptions ?? {}\"\n :span=\"item?.spanCol ?? 24\"\n >\n <slot name=\"formItem\" :item=\"item\" :index=\"index\">\n <ll-form-item\n :name=\"item?.key ?? index\"\n :class=\"getFormItemClass(item)\"\n v-bind=\"getBindValue(item)\"\n >\n <template #label>\n <slot name=\"label\" :item=\"item\" :index=\"index\">\n <span>{{ item.label }}</span>\n <span v-if=\"item?.tip\" :class=\"bem.e('tooltip-wrapper')\">\n <ll-tooltip\n style=\"margin-left: 8px\"\n :overlay-class-name=\"bem.e('tooltip')\"\n :arrow-point-at-center=\"true\"\n :max-width=\"item?.tipConfig?.maxWidth ?? 406\"\n :placement=\"item?.tipConfig?.placement ?? 'top'\"\n :tip=\"item.tip\"\n :font-size=\"'16px'\"\n v-bind=\"item?.tipConfig\"\n />\n </span>\n </slot>\n </template>\n <slot name=\"content\" :item=\"item\" :index=\"index\">\n <template v-if=\"!isEmpty(item.children)\">\n <a-row :gutter=\"5\" v-bind=\"item.rowOptions\">\n <a-col\n v-for=\"(child, childIndex) in item.children\"\n :key=\"childIndex\"\n :style=\"{\n display: 'flex',\n 'align-items': 'center'\n }\"\n v-bind=\"item?.colOptions ?? {}\"\n >\n <slot name=\"children\" :item=\"child\" :index=\"index\">\n <form-component :item=\"child\" :form-data=\"formData\" />\n </slot>\n </a-col>\n </a-row>\n </template>\n <form-component v-else :item=\"item\" :form-data=\"formData\" />\n </slot>\n </ll-form-item>\n </slot>\n </a-col>\n </a-row>\n </a-form>\n </a-spin>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { reactive, ref, watch } from 'vue'\nimport { omit, isEmpty } from 'lodash-es'\nimport { formProps, formEmits, type FormColumn } from './config'\n\nimport { createNamespace } from '@ll-plus/utils'\n\nimport formComponent from './components/form-component.vue'\n\n// 定义组件名称\ndefineOptions({ name: 'LlForm' })\n\n// Props\nconst props = defineProps(formProps)\n\nconst emits = defineEmits(formEmits)\n\nconst bem = createNamespace('form')\n\nconst formData = reactive(props.formData)\n\nconst formRef = ref()\n\nconst validate = async () => {\n return await formRef.value.validateFields()\n}\n\nconst resetFields = async () => {\n return await formRef.value.resetFields()\n}\n\nconst getBindValue = (item: FormColumn) => {\n const obj = { ...item }\n return omit(obj, ['label'])\n}\n\nconst getFormItemClass = (item = {} as FormColumn) => {\n if (props.formOptions.layout === 'horizontal') {\n if (item?.labelCol) {\n return item.labelCol.span && item.labelCol.span >= 24\n ? bem.is('label-top')\n : bem.is('label-left')\n } else {\n return bem.is('label-left')\n }\n }\n return bem.is('label-top')\n}\n\nwatch(\n () => formData,\n val => {\n emits('change', val)\n },\n {\n deep: true\n }\n)\n\ndefineExpose({\n validate,\n resetFields\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"form.vue2.mjs","sources":["../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <a-spin :spinning=\"props.loading\">\n <a-form ref=\"formRef\" v-bind=\"props.formOptions\" :model=\"props.formData\">\n <a-row v-bind=\"props.rowOptions\">\n <a-col\n v-for=\"(item, index) in props.formColumns\"\n :key=\"index\"\n v-bind=\"item?.colOptions ?? {}\"\n :span=\"item?.spanCol ?? 24\"\n >\n <slot name=\"formItem\" :item=\"item\" :index=\"index\">\n <ll-form-item\n :name=\"item?.key ?? index\"\n :class=\"getFormItemClass(item)\"\n v-bind=\"getBindValue(item)\"\n >\n <template #label>\n <slot name=\"label\" :item=\"item\" :index=\"index\">\n <span>{{ item.label }}</span>\n <span v-if=\"item?.tip\" :class=\"bem.e('tooltip-wrapper')\">\n <ll-tooltip\n style=\"margin-left: 8px\"\n :overlay-class-name=\"bem.e('tooltip')\"\n :arrow-point-at-center=\"true\"\n :max-width=\"item?.tipConfig?.maxWidth ?? 406\"\n :placement=\"item?.tipConfig?.placement ?? 'top'\"\n :tip=\"item.tip\"\n :font-size=\"'16px'\"\n v-bind=\"item?.tipConfig\"\n />\n </span>\n </slot>\n </template>\n <slot name=\"content\" :item=\"item\" :index=\"index\">\n <template v-if=\"!isEmpty(item.children)\">\n <a-row :gutter=\"5\" v-bind=\"item.rowOptions\">\n <a-col\n v-for=\"(child, childIndex) in item.children\"\n :key=\"childIndex\"\n :style=\"{\n display: 'flex',\n 'align-items': 'center'\n }\"\n v-bind=\"item?.colOptions ?? {}\"\n >\n <slot name=\"children\" :item=\"child\" :index=\"index\">\n <form-component :item=\"child\" :form-data=\"formData\" />\n </slot>\n </a-col>\n </a-row>\n </template>\n <form-component v-else :item=\"item\" :form-data=\"formData\" />\n </slot>\n </ll-form-item>\n </slot>\n </a-col>\n </a-row>\n </a-form>\n </a-spin>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { reactive, ref, watch } from 'vue'\nimport { omit, isEmpty } from 'lodash-es'\nimport { formProps, formEmits, type FormColumn } from './config'\n\nimport type { NamePath } from 'ant-design-vue/es/form/interface'\n\nimport { createNamespace } from '@ll-plus/utils'\n\nimport formComponent from './components/form-component.vue'\n\n// 定义组件名称\ndefineOptions({ name: 'LlForm' })\n\n// Props\nconst props = defineProps(formProps)\n\nconst emits = defineEmits(formEmits)\n\nconst bem = createNamespace('form')\n\nconst formData = reactive(props.formData)\n\nconst formRef = ref()\n\nconst validate = async () => {\n return await formRef.value.validateFields()\n}\n\nconst resetFields = async () => {\n return await formRef.value.resetFields()\n}\n\nconst clearValidate = async (nameList?: NamePath[]) => {\n return await formRef.value.clearValidate(nameList)\n}\n\nconst scrollToField = async (name: NamePath, options?: ScrollOptions) => {\n return await formRef.value.scrollToField(name, options)\n}\n\nconst getBindValue = (item: FormColumn) => {\n const obj = { ...item }\n return omit(obj, ['label'])\n}\n\nconst getFormItemClass = (item = {} as FormColumn) => {\n if (props.formOptions.layout === 'horizontal') {\n if (item?.labelCol) {\n return item.labelCol.span && item.labelCol.span >= 24\n ? bem.is('label-top')\n : bem.is('label-left')\n } else {\n return bem.is('label-left')\n }\n }\n return bem.is('label-top')\n}\n\nwatch(\n () => formData,\n val => {\n emits('change', val)\n },\n {\n deep: true\n }\n)\n\nwatch(\n () => props.formData,\n async val => {\n for (const i in val) {\n formData[i] = val[i]\n }\n },\n {\n deep: true,\n immediate: true\n }\n)\n\ndefineExpose({\n validate,\n resetFields,\n clearValidate,\n scrollToField\n})\n</script>\n"],"names":[],"mappings":"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"}
|
package/es/components/index.mjs
CHANGED
|
@@ -45,7 +45,7 @@ export { LlDropdown, LlDropdownButton } from './dropdown/index.mjs';
|
|
|
45
45
|
export { LlUploadDrag } from './upload-drag/index.mjs';
|
|
46
46
|
export { LlUploadImage } from './upload-image/index.mjs';
|
|
47
47
|
export { LlUriInput } from './uri-input/index.mjs';
|
|
48
|
-
export { advancedFilteringEmits, advancedFilteringParamsEmits, advancedFilteringParamsProps, advancedFilteringProps, advancedFilteringTagsEmits } from './advanced-filtering/src/advanced-filtering.mjs';
|
|
48
|
+
export { ALL_VALUE, advancedFilteringEmits, advancedFilteringParamsEmits, advancedFilteringParamsProps, advancedFilteringProps, advancedFilteringTagsEmits, filterAllValue, findLabelByValue, initValue, treeDataFormat } from './advanced-filtering/src/advanced-filtering.mjs';
|
|
49
49
|
export { DEFAULT_METHOD, apiComponentEmits, apiComponentProps, bodyList, requestList } from './api-component/src/config/api-component.mjs';
|
|
50
50
|
export { apiModalEmits, apiModalProps } from './api-component/src/config/api-modal.mjs';
|
|
51
51
|
export { apiUrlEmits, apiUrlProps, methods } from './api-component/src/config/api-url.mjs';
|
|
@@ -50,8 +50,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
50
50
|
};
|
|
51
51
|
autocomplete: StringConstructor;
|
|
52
52
|
type: {
|
|
53
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
54
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
53
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
54
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
55
55
|
};
|
|
56
56
|
name: StringConstructor;
|
|
57
57
|
size: {
|
|
@@ -138,8 +138,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
138
138
|
};
|
|
139
139
|
autocomplete: StringConstructor;
|
|
140
140
|
type: {
|
|
141
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
142
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
141
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
142
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
143
143
|
};
|
|
144
144
|
name: StringConstructor;
|
|
145
145
|
size: {
|
|
@@ -221,7 +221,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
221
221
|
};
|
|
222
222
|
}, "affixWrapperClassName" | "groupClassName" | "wrapperClassName" | "inputClassName">>>, {
|
|
223
223
|
value: string | number;
|
|
224
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
224
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
225
225
|
focused: boolean;
|
|
226
226
|
hidden: boolean;
|
|
227
227
|
disabled: boolean;
|
|
@@ -246,8 +246,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
246
246
|
};
|
|
247
247
|
autocomplete: StringConstructor;
|
|
248
248
|
type: {
|
|
249
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
250
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
249
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
250
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
251
251
|
};
|
|
252
252
|
name: StringConstructor;
|
|
253
253
|
size: {
|
|
@@ -329,7 +329,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
329
329
|
};
|
|
330
330
|
}, "affixWrapperClassName" | "groupClassName" | "wrapperClassName" | "inputClassName">>>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
|
|
331
331
|
value: string | number;
|
|
332
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
332
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
333
333
|
focused: boolean;
|
|
334
334
|
hidden: boolean;
|
|
335
335
|
disabled: boolean;
|
|
@@ -351,8 +351,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
351
351
|
};
|
|
352
352
|
autocomplete: StringConstructor;
|
|
353
353
|
type: {
|
|
354
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
355
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
354
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
355
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
356
356
|
};
|
|
357
357
|
name: StringConstructor;
|
|
358
358
|
size: {
|
|
@@ -434,7 +434,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
434
434
|
};
|
|
435
435
|
}, "affixWrapperClassName" | "groupClassName" | "wrapperClassName" | "inputClassName">>>, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
436
436
|
value: string | number;
|
|
437
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
437
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
438
438
|
focused: boolean;
|
|
439
439
|
hidden: boolean;
|
|
440
440
|
disabled: boolean;
|
|
@@ -482,8 +482,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
482
482
|
};
|
|
483
483
|
name: StringConstructor;
|
|
484
484
|
type: {
|
|
485
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
486
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
485
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
486
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
487
487
|
};
|
|
488
488
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
489
489
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -571,8 +571,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
571
571
|
};
|
|
572
572
|
name: StringConstructor;
|
|
573
573
|
type: {
|
|
574
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
575
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
574
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
575
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
576
576
|
};
|
|
577
577
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
578
578
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -647,7 +647,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
647
647
|
};
|
|
648
648
|
}>>, {
|
|
649
649
|
value: string | number;
|
|
650
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
650
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
651
651
|
focused: boolean;
|
|
652
652
|
hidden: boolean;
|
|
653
653
|
disabled: boolean;
|
|
@@ -691,8 +691,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
691
691
|
};
|
|
692
692
|
name: StringConstructor;
|
|
693
693
|
type: {
|
|
694
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
695
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
694
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
695
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
696
696
|
};
|
|
697
697
|
onFocus: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
698
698
|
onBlur: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
@@ -790,8 +790,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
790
790
|
};
|
|
791
791
|
name: StringConstructor;
|
|
792
792
|
type: {
|
|
793
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
794
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
793
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
794
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
795
795
|
};
|
|
796
796
|
onFocus: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
797
797
|
onBlur: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
@@ -859,7 +859,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
859
859
|
};
|
|
860
860
|
}>>, {
|
|
861
861
|
value: string | number;
|
|
862
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
862
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
863
863
|
focused: boolean;
|
|
864
864
|
hidden: boolean;
|
|
865
865
|
disabled: boolean;
|
|
@@ -899,8 +899,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
899
899
|
};
|
|
900
900
|
name: StringConstructor;
|
|
901
901
|
type: {
|
|
902
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
903
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
902
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
903
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
904
904
|
};
|
|
905
905
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
906
906
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -998,8 +998,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
998
998
|
};
|
|
999
999
|
name: StringConstructor;
|
|
1000
1000
|
type: {
|
|
1001
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1002
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1001
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
1002
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
1003
1003
|
};
|
|
1004
1004
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
1005
1005
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -1073,7 +1073,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1073
1073
|
};
|
|
1074
1074
|
}>>, {
|
|
1075
1075
|
value: string | number;
|
|
1076
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1076
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
1077
1077
|
focused: boolean;
|
|
1078
1078
|
hidden: boolean;
|
|
1079
1079
|
visible: boolean;
|
|
@@ -1114,8 +1114,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1114
1114
|
};
|
|
1115
1115
|
name: StringConstructor;
|
|
1116
1116
|
type: {
|
|
1117
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1118
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1117
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
1118
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
1119
1119
|
};
|
|
1120
1120
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
1121
1121
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -1213,8 +1213,8 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1213
1213
|
};
|
|
1214
1214
|
name: StringConstructor;
|
|
1215
1215
|
type: {
|
|
1216
|
-
type: import("vue").PropType<"number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1217
|
-
default: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1216
|
+
type: import("vue").PropType<"number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel">;
|
|
1217
|
+
default: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
1218
1218
|
};
|
|
1219
1219
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
1220
1220
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -1288,7 +1288,7 @@ export declare const LlInput: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
1288
1288
|
};
|
|
1289
1289
|
}>>, {
|
|
1290
1290
|
value: string | number;
|
|
1291
|
-
type: "number" | "month" | "color" | "search" | "date" | "url" | "email" | "time" | "week" | "
|
|
1291
|
+
type: "number" | "month" | "color" | "hidden" | "search" | "date" | "url" | "email" | "time" | "week" | "text" | "submit" | "button" | "reset" | "checkbox" | "radio" | "image" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
1292
1292
|
focused: boolean;
|
|
1293
1293
|
hidden: boolean;
|
|
1294
1294
|
visible: boolean;
|