@silver-formily/element-plus 2.2.0 → 2.4.0
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/LICENSE +21 -21
- package/README.en-US.md +2 -2
- package/README.md +2 -2
- package/esm/__builtins__/configs/index.mjs.map +1 -1
- package/esm/__builtins__/index.mjs +18 -21
- package/esm/__builtins__/index.mjs.map +1 -1
- package/esm/__builtins__/shared/index.d.ts +0 -1
- package/esm/__builtins__/shared/index.mjs +18 -21
- package/esm/__builtins__/shared/index.mjs.map +1 -1
- package/esm/__builtins__/shared/loading.mjs +5 -5
- package/esm/__builtins__/shared/loading.mjs.map +1 -1
- package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
- package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
- package/esm/__builtins__/shared/use-enter-submit.d.ts +9 -0
- package/esm/__builtins__/shared/use-enter-submit.mjs +25 -0
- package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -0
- package/esm/__builtins__/shared/utils.d.ts +1 -0
- package/esm/__builtins__/shared/utils.mjs +23 -17
- package/esm/__builtins__/shared/utils.mjs.map +1 -1
- package/esm/array-base/index.mjs +56 -52
- package/esm/array-base/index.mjs.map +1 -1
- package/esm/array-base/symbols.mjs.map +1 -1
- package/esm/array-base/utils.d.ts +0 -1
- package/esm/array-base/utils.mjs +45 -46
- package/esm/array-base/utils.mjs.map +1 -1
- package/esm/array-cards/index.mjs +36 -33
- package/esm/array-cards/index.mjs.map +1 -1
- package/esm/array-collapse/index.mjs +39 -37
- package/esm/array-collapse/index.mjs.map +1 -1
- package/esm/array-collapse/utils.mjs +9 -2
- package/esm/array-collapse/utils.mjs.map +1 -1
- package/esm/array-items/index.mjs +38 -34
- package/esm/array-items/index.mjs.map +1 -1
- package/esm/array-list-tabs/index.mjs +38 -36
- package/esm/array-list-tabs/index.mjs.map +1 -1
- package/esm/array-list-tabs/utils.mjs +12 -5
- package/esm/array-list-tabs/utils.mjs.map +1 -1
- package/esm/array-table/index.mjs +63 -60
- package/esm/array-table/index.mjs.map +1 -1
- package/esm/array-table/utils.mjs +18 -11
- package/esm/array-table/utils.mjs.map +1 -1
- package/esm/array-tabs/index.mjs +28 -25
- package/esm/array-tabs/index.mjs.map +1 -1
- package/esm/autocomplete/autocomplete.d.ts +1222 -0
- package/esm/autocomplete/index.d.ts +639 -0
- package/esm/autocomplete/index.mjs +116 -0
- package/esm/autocomplete/index.mjs.map +1 -0
- package/esm/cascader/index.mjs +22 -18
- package/esm/cascader/index.mjs.map +1 -1
- package/esm/checkbox/index.d.ts +42 -42
- package/esm/checkbox/index.mjs +20 -16
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/color-picker/index.d.ts +210 -0
- package/esm/color-picker/index.mjs +17 -0
- package/esm/color-picker/index.mjs.map +1 -0
- package/esm/color-picker-panel/index.d.ts +129 -0
- package/esm/color-picker-panel/index.mjs +25 -0
- package/esm/color-picker-panel/index.mjs.map +1 -0
- package/esm/date-picker/index.mjs +18 -37
- package/esm/date-picker/index.mjs.map +1 -1
- package/esm/date-picker/utils.d.ts +4 -0
- package/esm/date-picker/utils.mjs +27 -0
- package/esm/date-picker/utils.mjs.map +1 -0
- package/esm/date-picker-panel/index.d.ts +143 -0
- package/esm/date-picker-panel/index.mjs +30 -0
- package/esm/date-picker-panel/index.mjs.map +1 -0
- package/esm/editable/editable.d.ts +2 -0
- package/esm/editable/index.d.ts +1 -0
- package/esm/editable/index.mjs +71 -66
- package/esm/editable/index.mjs.map +1 -1
- package/esm/env.d.mjs +2 -0
- package/esm/env.d.mjs.map +1 -0
- package/esm/form/form.mjs +6 -6
- package/esm/form/form.mjs.map +1 -1
- package/esm/form-button-group/form-button-group.d.ts +10 -1
- package/esm/form-button-group/index.d.ts +18 -3
- package/esm/form-button-group/index.mjs +47 -28
- package/esm/form-button-group/index.mjs.map +1 -1
- package/esm/form-button-group/utils.mjs +9 -2
- package/esm/form-button-group/utils.mjs.map +1 -1
- package/esm/form-collapse/index.mjs +21 -18
- package/esm/form-collapse/index.mjs.map +1 -1
- package/esm/form-collapse/utils.mjs.map +1 -1
- package/esm/form-dialog/dialog-content.d.ts +789 -3
- package/esm/form-dialog/index.mjs +97 -86
- package/esm/form-dialog/index.mjs.map +1 -1
- package/esm/form-dialog/types.d.ts +1 -0
- package/esm/form-drawer/drawer-content.d.ts +919 -3
- package/esm/form-drawer/index.mjs +92 -82
- package/esm/form-drawer/index.mjs.map +1 -1
- package/esm/form-drawer/types.d.ts +1 -0
- package/esm/form-grid/hooks.mjs.map +1 -1
- package/esm/form-grid/index.mjs +26 -22
- package/esm/form-grid/index.mjs.map +1 -1
- package/esm/form-item/index.d.ts +1 -0
- package/esm/form-item/index.mjs +102 -99
- package/esm/form-item/index.mjs.map +1 -1
- package/esm/form-item/types.d.ts +4 -0
- package/esm/form-item/utils.mjs.map +1 -1
- package/esm/form-layout/form-layout.mjs +18 -14
- package/esm/form-layout/form-layout.mjs.map +1 -1
- package/esm/form-layout/utils.mjs +23 -23
- package/esm/form-layout/utils.mjs.map +1 -1
- package/esm/form-step/index.mjs +30 -27
- package/esm/form-step/index.mjs.map +1 -1
- package/esm/form-step/utils.mjs.map +1 -1
- package/esm/form-tab/hooks.mjs.map +1 -1
- package/esm/form-tab/index.mjs +24 -22
- package/esm/form-tab/index.mjs.map +1 -1
- package/esm/form-tab/utils.mjs.map +1 -1
- package/esm/index.d.ts +8 -0
- package/esm/index.mjs +90 -74
- package/esm/index.mjs.map +1 -1
- package/esm/input/index.mjs +30 -26
- package/esm/input/index.mjs.map +1 -1
- package/esm/input-number/index.d.ts +21 -21
- package/esm/input-number/index.mjs +11 -8
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/input-tag/index.d.ts +32 -0
- package/esm/input-tag/index.mjs +50 -0
- package/esm/input-tag/index.mjs.map +1 -0
- package/esm/input-tag/input-tag.d.ts +32 -0
- package/esm/mention/index.d.ts +50 -0
- package/esm/mention/index.mjs +97 -0
- package/esm/mention/index.mjs.map +1 -0
- package/esm/mention/mention.d.ts +51 -0
- package/esm/pagination/components/jumper.mjs.map +1 -1
- package/esm/pagination/components/next.mjs.map +1 -1
- package/esm/pagination/components/pager.mjs.map +1 -1
- package/esm/pagination/components/prev.mjs.map +1 -1
- package/esm/pagination/components/total.mjs.map +1 -1
- package/esm/pagination/pagination.mjs.map +1 -1
- package/esm/password/index.mjs.map +1 -1
- package/esm/preview-text/color-picker.d.ts +5 -0
- package/esm/preview-text/index.d.ts +5 -0
- package/esm/preview-text/index.mjs +184 -145
- package/esm/preview-text/index.mjs.map +1 -1
- package/esm/preview-text/utils.mjs.map +1 -1
- package/esm/query-form/default-components.d.ts +5 -0
- package/esm/query-form/default-components.mjs +47 -0
- package/esm/query-form/default-components.mjs.map +1 -0
- package/esm/query-form/hooks.d.ts +25 -0
- package/esm/query-form/hooks.mjs +29 -0
- package/esm/query-form/hooks.mjs.map +1 -0
- package/esm/query-form/index.d.ts +117 -0
- package/esm/query-form/index.mjs +337 -0
- package/esm/query-form/index.mjs.map +1 -0
- package/esm/query-form/query-form-light.d.ts +27 -0
- package/esm/query-form/query-form.d.ts +52 -0
- package/esm/query-form/types.d.ts +44 -0
- package/esm/query-form/types.mjs +2 -0
- package/esm/query-form/types.mjs.map +1 -0
- package/esm/query-form-item/index.d.ts +151 -0
- package/esm/query-form-item/index.mjs +188 -0
- package/esm/query-form-item/index.mjs.map +1 -0
- package/esm/query-form-item/query-form-item.d.ts +96 -0
- package/esm/query-form-item/types.d.ts +46 -0
- package/esm/query-form-item/types.mjs +2 -0
- package/esm/query-form-item/types.mjs.map +1 -0
- package/esm/radio/index.d.ts +36 -36
- package/esm/radio/index.mjs +29 -25
- package/esm/radio/index.mjs.map +1 -1
- package/esm/rate/index.mjs +13 -10
- package/esm/rate/index.mjs.map +1 -1
- package/esm/reset/index.mjs.map +1 -1
- package/esm/segmented/index.mjs +16 -12
- package/esm/segmented/index.mjs.map +1 -1
- package/esm/select/index.mjs +26 -22
- package/esm/select/index.mjs.map +1 -1
- package/esm/select-table/index.mjs +36 -33
- package/esm/select-table/index.mjs.map +1 -1
- package/esm/shared/overlay-elements.d.ts +6 -0
- package/esm/shared/overlay-elements.mjs +19 -0
- package/esm/shared/overlay-elements.mjs.map +1 -0
- package/esm/slider/index.mjs +13 -10
- package/esm/slider/index.mjs.map +1 -1
- package/esm/styles/form-button-group/index.css +1 -1
- package/esm/styles/form-item/index.css +1 -1
- package/esm/styles/preview-text/index.css +1 -1
- package/esm/styles/query-form/index.css +1 -0
- package/esm/styles/query-form-item/index.css +1 -0
- package/esm/submit/index.mjs.map +1 -1
- package/esm/switch/index.d.ts +12 -12
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.mjs +9 -6
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.mjs +9 -6
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.mjs +33 -29
- package/esm/tree/index.mjs.map +1 -1
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.mjs +18 -14
- package/esm/tree-select/index.mjs.map +1 -1
- package/esm/upload/index.d.ts +1 -1
- package/esm/upload/index.mjs +10 -7
- package/esm/upload/index.mjs.map +1 -1
- package/esm/upload/upload.d.ts +2 -2
- package/esm/vendor/lodash.mjs +751 -663
- package/esm/vendor/lodash.mjs.map +1 -1
- package/esm/vendor/sizes.mjs.map +1 -1
- package/package.json +115 -113
- package/esm/__builtins__/shared/hooks.d.ts +0 -7
- package/esm/__builtins__/shared/hooks.mjs +0 -59
- package/esm/__builtins__/shared/hooks.mjs.map +0 -1
package/esm/index.mjs
CHANGED
|
@@ -2,86 +2,102 @@ import { ArrayCards as e } from "./array-cards/index.mjs";
|
|
|
2
2
|
import { ArrayCollapse as t } from "./array-collapse/index.mjs";
|
|
3
3
|
import { ArrayItems as f } from "./array-items/index.mjs";
|
|
4
4
|
import { ArrayListTabs as a } from "./array-list-tabs/index.mjs";
|
|
5
|
-
import { ArrayTable as
|
|
6
|
-
import { ArrayTabs as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
5
|
+
import { ArrayTable as s } from "./array-table/index.mjs";
|
|
6
|
+
import { ArrayTabs as i } from "./array-tabs/index.mjs";
|
|
7
|
+
import { Autocomplete as T } from "./autocomplete/index.mjs";
|
|
8
|
+
import { Cascader as d } from "./cascader/index.mjs";
|
|
9
|
+
import { Checkbox as S } from "./checkbox/index.mjs";
|
|
10
|
+
import { ColorPicker as y } from "./color-picker/index.mjs";
|
|
11
|
+
import { ColorPickerPanel as C } from "./color-picker-panel/index.mjs";
|
|
12
|
+
import { DatePicker as k } from "./date-picker/index.mjs";
|
|
13
|
+
import { DatePickerPanel as w } from "./date-picker-panel/index.mjs";
|
|
14
|
+
import { Editable as g } from "./editable/index.mjs";
|
|
15
|
+
import { _ as h } from "./form/form.mjs";
|
|
16
|
+
import { FormButtonGroup as E } from "./form-button-group/index.mjs";
|
|
17
|
+
import { FormCollapse as L, FormCollapseItem as M } from "./form-collapse/index.mjs";
|
|
18
|
+
import { FormDialog as _ } from "./form-dialog/index.mjs";
|
|
19
|
+
import { FormDrawer as N } from "./form-drawer/index.mjs";
|
|
20
|
+
import { FormGrid as j } from "./form-grid/index.mjs";
|
|
21
|
+
import { FormBaseItem as z, FormItem as H, fieldFeedbackMapper as J } from "./form-item/index.mjs";
|
|
22
|
+
import { _ as O } from "./form-layout/form-layout.mjs";
|
|
23
|
+
import { FormStep as W } from "./form-step/index.mjs";
|
|
24
|
+
import { composeFormTab as Y, composeFormTab as Z } from "./form-tab/index.mjs";
|
|
25
|
+
import { Input as rr } from "./input/index.mjs";
|
|
26
|
+
import { InputNumber as er } from "./input-number/index.mjs";
|
|
27
|
+
import { InputTag as tr } from "./input-tag/index.mjs";
|
|
28
|
+
import { Mention as fr } from "./mention/index.mjs";
|
|
29
|
+
import { Password as ar } from "./password/index.mjs";
|
|
30
|
+
import { PreviewText as sr } from "./preview-text/index.mjs";
|
|
31
|
+
import { QueryForm as ir } from "./query-form/index.mjs";
|
|
32
|
+
import { QueryFormItem as Tr } from "./query-form-item/index.mjs";
|
|
33
|
+
import { Radio as dr } from "./radio/index.mjs";
|
|
34
|
+
import { Rate as Sr } from "./rate/index.mjs";
|
|
35
|
+
import { Reset as yr } from "./reset/index.mjs";
|
|
36
|
+
import { Segmented as Cr } from "./segmented/index.mjs";
|
|
37
|
+
import { Select as kr } from "./select/index.mjs";
|
|
38
|
+
import { SelectTable as wr } from "./select-table/index.mjs";
|
|
39
|
+
import { Slider as gr } from "./slider/index.mjs";
|
|
40
40
|
import { ElSpace as hr } from "element-plus";
|
|
41
|
+
import { Submit as Er } from "./submit/index.mjs";
|
|
42
|
+
import { Switch as Lr } from "./switch/index.mjs";
|
|
43
|
+
import { TimePicker as Qr } from "./time-picker/index.mjs";
|
|
44
|
+
import { TimeSelect as vr } from "./time-select/index.mjs";
|
|
45
|
+
import { Transfer as Ur } from "./transfer/index.mjs";
|
|
46
|
+
import { Tree as qr } from "./tree/index.mjs";
|
|
47
|
+
import { TreeSelect as Hr } from "./tree-select/index.mjs";
|
|
48
|
+
import { Upload as Kr } from "./upload/index.mjs";
|
|
41
49
|
export {
|
|
42
50
|
e as ArrayCards,
|
|
43
51
|
t as ArrayCollapse,
|
|
44
52
|
f as ArrayItems,
|
|
45
53
|
a as ArrayListTabs,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
T as
|
|
49
|
-
d as
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
54
|
+
s as ArrayTable,
|
|
55
|
+
i as ArrayTabs,
|
|
56
|
+
T as Autocomplete,
|
|
57
|
+
d as Cascader,
|
|
58
|
+
S as Checkbox,
|
|
59
|
+
y as ColorPicker,
|
|
60
|
+
C as ColorPickerPanel,
|
|
61
|
+
k as DatePicker,
|
|
62
|
+
w as DatePickerPanel,
|
|
63
|
+
g as Editable,
|
|
64
|
+
h as Form,
|
|
65
|
+
z as FormBaseItem,
|
|
66
|
+
E as FormButtonGroup,
|
|
67
|
+
L as FormCollapse,
|
|
68
|
+
M as FormCollapseItem,
|
|
69
|
+
_ as FormDialog,
|
|
70
|
+
N as FormDrawer,
|
|
71
|
+
j as FormGrid,
|
|
72
|
+
H as FormItem,
|
|
73
|
+
O as FormLayout,
|
|
74
|
+
W as FormStep,
|
|
75
|
+
Y as FormTab,
|
|
76
|
+
rr as Input,
|
|
77
|
+
er as InputNumber,
|
|
78
|
+
tr as InputTag,
|
|
79
|
+
fr as Mention,
|
|
80
|
+
ar as Password,
|
|
81
|
+
sr as PreviewText,
|
|
82
|
+
ir as QueryForm,
|
|
83
|
+
Tr as QueryFormItem,
|
|
84
|
+
dr as Radio,
|
|
85
|
+
Sr as Rate,
|
|
86
|
+
yr as Reset,
|
|
87
|
+
Cr as Segmented,
|
|
88
|
+
kr as Select,
|
|
89
|
+
wr as SelectTable,
|
|
90
|
+
gr as Slider,
|
|
75
91
|
hr as Space,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
92
|
+
Er as Submit,
|
|
93
|
+
Lr as Switch,
|
|
94
|
+
Qr as TimePicker,
|
|
95
|
+
vr as TimeSelect,
|
|
96
|
+
Ur as Transfer,
|
|
97
|
+
qr as Tree,
|
|
98
|
+
Hr as TreeSelect,
|
|
99
|
+
Kr as Upload,
|
|
100
|
+
Z as composeFormTab,
|
|
101
|
+
J as fieldFeedbackMapper
|
|
86
102
|
};
|
|
87
103
|
//# sourceMappingURL=index.mjs.map
|
package/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/esm/input/index.mjs
CHANGED
|
@@ -1,65 +1,69 @@
|
|
|
1
1
|
import { connect as s, mapProps as a } from "@silver-formily/vue";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { ElInput as d } from "element-plus";
|
|
3
|
+
import "@formily/reactive";
|
|
4
|
+
import "@vueuse/core";
|
|
5
|
+
import { defineComponent as l, useSlots as c, createBlock as y, openBlock as x, unref as p, normalizeProps as I, guardReactiveProps as k, createSlots as v, withCtx as r, renderSlot as o } from "vue";
|
|
6
|
+
import { mapReadPretty as i } from "../__builtins__/shared/transform-component.mjs";
|
|
5
7
|
import { useCleanAttrs as P, composeExport as _ } from "../__builtins__/shared/utils.mjs";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
+
import { PreviewText as m } from "../preview-text/index.mjs";
|
|
9
|
+
import "@formily/core";
|
|
10
|
+
import "@silver-formily/reactive-vue";
|
|
11
|
+
const f = /* @__PURE__ */ l({
|
|
8
12
|
name: "FInput",
|
|
9
13
|
inheritAttrs: !1,
|
|
10
14
|
__name: "input",
|
|
11
|
-
setup(
|
|
12
|
-
const e =
|
|
13
|
-
return (
|
|
15
|
+
setup(n) {
|
|
16
|
+
const e = c(), { props: u } = P();
|
|
17
|
+
return (t, A) => (x(), y(p(d), I(k(p(u))), v({ _: 2 }, [
|
|
14
18
|
e.prefix ? {
|
|
15
19
|
name: "prefix",
|
|
16
|
-
fn:
|
|
17
|
-
|
|
20
|
+
fn: r(() => [
|
|
21
|
+
o(t.$slots, "prefix")
|
|
18
22
|
]),
|
|
19
23
|
key: "0"
|
|
20
24
|
} : void 0,
|
|
21
25
|
e.suffix ? {
|
|
22
26
|
name: "suffix",
|
|
23
|
-
fn:
|
|
24
|
-
|
|
27
|
+
fn: r(() => [
|
|
28
|
+
o(t.$slots, "suffix")
|
|
25
29
|
]),
|
|
26
30
|
key: "1"
|
|
27
31
|
} : void 0,
|
|
28
32
|
e.prepend ? {
|
|
29
33
|
name: "prepend",
|
|
30
|
-
fn:
|
|
31
|
-
|
|
34
|
+
fn: r(() => [
|
|
35
|
+
o(t.$slots, "prepend")
|
|
32
36
|
]),
|
|
33
37
|
key: "2"
|
|
34
38
|
} : void 0,
|
|
35
39
|
e.append ? {
|
|
36
40
|
name: "append",
|
|
37
|
-
fn:
|
|
38
|
-
|
|
41
|
+
fn: r(() => [
|
|
42
|
+
o(t.$slots, "append")
|
|
39
43
|
]),
|
|
40
44
|
key: "3"
|
|
41
45
|
} : void 0
|
|
42
46
|
]), 1040));
|
|
43
47
|
}
|
|
44
48
|
}), $ = s(
|
|
45
|
-
|
|
49
|
+
f,
|
|
46
50
|
a({
|
|
47
51
|
readOnly: "readonly"
|
|
48
52
|
}),
|
|
49
|
-
|
|
53
|
+
i(m.Input)
|
|
50
54
|
), h = s(
|
|
51
|
-
|
|
52
|
-
a((
|
|
53
|
-
...
|
|
54
|
-
readonly:
|
|
55
|
+
f,
|
|
56
|
+
a((n) => ({
|
|
57
|
+
...n,
|
|
58
|
+
readonly: n.readOnly,
|
|
55
59
|
type: "textarea"
|
|
56
60
|
})),
|
|
57
|
-
|
|
58
|
-
),
|
|
61
|
+
i(m.Input)
|
|
62
|
+
), F = _($, {
|
|
59
63
|
TextArea: h
|
|
60
64
|
});
|
|
61
65
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
66
|
+
F as Input,
|
|
67
|
+
F as default
|
|
64
68
|
};
|
|
65
69
|
//# sourceMappingURL=index.mjs.map
|
package/esm/input/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/input/input.vue","../../src/input/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/input/input.vue","../../src/input/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ElInput } from 'element-plus'\nimport { useCleanAttrs } from '../__builtins__/index'\n\ndefineOptions({\n name: 'FInput',\n inheritAttrs: false,\n})\n\nconst slots = defineSlots<{\n prefix?: () => any\n suffix?: () => any\n prepend?: () => any\n append?: () => any\n}>()\n\nconst { props: inputProps } = useCleanAttrs()\n</script>\n\n<template>\n <ElInput\n v-bind=\"inputProps\"\n >\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.prepend\" #prepend>\n <slot name=\"prepend\" />\n </template>\n <template v-if=\"slots.append\" #append>\n <slot name=\"append\" />\n </template>\n </ElInput>\n</template>\n","import { connect, mapProps } from '@silver-formily/vue'\nimport { composeExport, mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport FInput from './input.vue'\n\nconst InnerInput = connect<typeof FInput>(\n FInput,\n mapProps({\n readOnly: 'readonly',\n }),\n mapReadPretty(PreviewText.Input),\n)\n\nconst TextArea = connect<typeof FInput>(\n FInput,\n mapProps((props) => {\n return {\n ...props,\n readonly: props.readOnly,\n type: 'textarea',\n }\n }),\n mapReadPretty(PreviewText.Input),\n)\n\nexport const Input = composeExport(InnerInput, {\n TextArea,\n})\n\nexport default Input\n"],"names":["slots","_useSlots","inputProps","useCleanAttrs","_openBlock","_createBlock","_unref","_createSlots","_renderSlot","_ctx","InnerInput","connect","FInput","mapProps","mapReadPretty","PreviewText","TextArea","props","Input","composeExport"],"mappings":";;;;;;;;;;;;;;;AASA,UAAMA,IAAQC,EAAA,GAOR,EAAE,OAAOC,EAAA,IAAeC,EAAA;sBAI5BC,KAAAC,EAeUC,UAdAA,EAAAJ,CAAA,CAAU,CAAA,GAAAK,EAAA,EAAA,GAAA,KAAA;AAAA,MAEFP,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBQ,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;MAETT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;IC5BtBC,IAAaC;AAAA,EACjBC;AAAAA,EACAC,EAAS;AAAA,IACP,UAAU;AAAA,EAAA,CACX;AAAA,EACDC,EAAcC,EAAY,KAAK;AACjC,GAEMC,IAAWL;AAAA,EACfC;AAAAA,EACAC,EAAS,CAACI,OACD;AAAA,IACL,GAAGA;AAAA,IACH,UAAUA,EAAM;AAAA,IAChB,MAAM;AAAA,EAAA,EAET;AAAA,EACDH,EAAcC,EAAY,KAAK;AACjC,GAEaG,IAAQC,EAAcT,GAAY;AAAA,EAC7C,UAAAM;AACF,CAAC;"}
|
|
@@ -9,13 +9,17 @@ export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCW
|
|
|
9
9
|
size: {
|
|
10
10
|
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
type: import('vue').PropType<
|
|
14
|
-
default:
|
|
12
|
+
align: {
|
|
13
|
+
type: import('vue').PropType<"center" | "left" | "right">;
|
|
14
|
+
default: string;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
17
|
type: import('vue').PropType<string>;
|
|
18
18
|
};
|
|
19
|
+
max: {
|
|
20
|
+
type: import('vue').PropType<number>;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
19
23
|
disabled: {
|
|
20
24
|
type: import('vue').PropType<boolean>;
|
|
21
25
|
default: undefined;
|
|
@@ -30,10 +34,6 @@ export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCW
|
|
|
30
34
|
modelValue: {
|
|
31
35
|
type: import('vue').PropType<number>;
|
|
32
36
|
};
|
|
33
|
-
align: {
|
|
34
|
-
type: import('vue').PropType<"center" | "left" | "right">;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
37
|
ariaLabel: {
|
|
38
38
|
type: import('vue').PropType<string>;
|
|
39
39
|
};
|
|
@@ -119,13 +119,17 @@ export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCW
|
|
|
119
119
|
size: {
|
|
120
120
|
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
121
121
|
};
|
|
122
|
-
|
|
123
|
-
type: import('vue').PropType<
|
|
124
|
-
default:
|
|
122
|
+
align: {
|
|
123
|
+
type: import('vue').PropType<"center" | "left" | "right">;
|
|
124
|
+
default: string;
|
|
125
125
|
};
|
|
126
126
|
name: {
|
|
127
127
|
type: import('vue').PropType<string>;
|
|
128
128
|
};
|
|
129
|
+
max: {
|
|
130
|
+
type: import('vue').PropType<number>;
|
|
131
|
+
default: number;
|
|
132
|
+
};
|
|
129
133
|
disabled: {
|
|
130
134
|
type: import('vue').PropType<boolean>;
|
|
131
135
|
default: undefined;
|
|
@@ -140,10 +144,6 @@ export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCW
|
|
|
140
144
|
modelValue: {
|
|
141
145
|
type: import('vue').PropType<number>;
|
|
142
146
|
};
|
|
143
|
-
align: {
|
|
144
|
-
type: import('vue').PropType<"center" | "left" | "right">;
|
|
145
|
-
default: string;
|
|
146
|
-
};
|
|
147
147
|
ariaLabel: {
|
|
148
148
|
type: import('vue').PropType<string>;
|
|
149
149
|
};
|
|
@@ -220,13 +220,17 @@ export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCW
|
|
|
220
220
|
size: {
|
|
221
221
|
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
222
222
|
};
|
|
223
|
-
|
|
224
|
-
type: import('vue').PropType<
|
|
225
|
-
default:
|
|
223
|
+
align: {
|
|
224
|
+
type: import('vue').PropType<"center" | "left" | "right">;
|
|
225
|
+
default: string;
|
|
226
226
|
};
|
|
227
227
|
name: {
|
|
228
228
|
type: import('vue').PropType<string>;
|
|
229
229
|
};
|
|
230
|
+
max: {
|
|
231
|
+
type: import('vue').PropType<number>;
|
|
232
|
+
default: number;
|
|
233
|
+
};
|
|
230
234
|
disabled: {
|
|
231
235
|
type: import('vue').PropType<boolean>;
|
|
232
236
|
default: undefined;
|
|
@@ -241,10 +245,6 @@ export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCW
|
|
|
241
245
|
modelValue: {
|
|
242
246
|
type: import('vue').PropType<number>;
|
|
243
247
|
};
|
|
244
|
-
align: {
|
|
245
|
-
type: import('vue').PropType<"center" | "left" | "right">;
|
|
246
|
-
default: string;
|
|
247
|
-
};
|
|
248
248
|
ariaLabel: {
|
|
249
249
|
type: import('vue').PropType<string>;
|
|
250
250
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { connect as r, mapProps as t } from "@silver-formily/vue";
|
|
2
|
-
import { ElInputNumber as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { ElInputNumber as m } from "element-plus";
|
|
3
|
+
import "@formily/reactive";
|
|
4
|
+
import "@vueuse/core";
|
|
5
|
+
import "vue";
|
|
6
|
+
import { mapReadPretty as p } from "../__builtins__/shared/transform-component.mjs";
|
|
7
|
+
import { PreviewText as e } from "../preview-text/index.mjs";
|
|
8
|
+
const f = r(
|
|
9
|
+
m,
|
|
7
10
|
t(
|
|
8
11
|
{
|
|
9
12
|
readOnly: "readonly"
|
|
@@ -12,10 +15,10 @@ const u = r(
|
|
|
12
15
|
controlsPosition: o.controlsPosition ?? "right"
|
|
13
16
|
})
|
|
14
17
|
),
|
|
15
|
-
|
|
18
|
+
p(e.Input)
|
|
16
19
|
);
|
|
17
20
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
f as InputNumber,
|
|
22
|
+
f as default
|
|
20
23
|
};
|
|
21
24
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/input-number/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/input-number/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElInputNumber } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\n\nexport type InputNumberProps = typeof ElInputNumber\n\nexport const InputNumber = connect<typeof ElInputNumber>(\n ElInputNumber,\n mapProps(\n {\n readOnly: 'readonly',\n },\n (props) => {\n return {\n controlsPosition: props.controlsPosition ?? 'right',\n }\n },\n ),\n mapReadPretty(PreviewText.Input),\n)\n\nexport default InputNumber\n"],"names":["InputNumber","connect","ElInputNumber","mapProps","props","mapReadPretty","PreviewText"],"mappings":";;;;;;;AAOO,MAAMA,IAAcC;AAAA,EACzBC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,OACQ;AAAA,MACL,kBAAkBA,EAAM,oBAAoB;AAAA,IAAA;AAAA,EAEhD;AAAA,EAEFC,EAAcC,EAAY,KAAK;AACjC;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const InputTag: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: Readonly<{
|
|
15
|
+
tag?: (scope: {
|
|
16
|
+
value: string;
|
|
17
|
+
index: number;
|
|
18
|
+
field: import('@formily/core').Field | undefined;
|
|
19
|
+
}) => any;
|
|
20
|
+
prefix?: () => any;
|
|
21
|
+
suffix?: () => any;
|
|
22
|
+
}> & {
|
|
23
|
+
tag?: (scope: {
|
|
24
|
+
value: string;
|
|
25
|
+
index: number;
|
|
26
|
+
field: import('@formily/core').Field | undefined;
|
|
27
|
+
}) => any;
|
|
28
|
+
prefix?: () => any;
|
|
29
|
+
suffix?: () => any;
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
export default InputTag;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { useField as f, connect as l, mapProps as u } from "@silver-formily/vue";
|
|
2
|
+
import { ElInputTag as d } from "element-plus";
|
|
3
|
+
import "@formily/reactive";
|
|
4
|
+
import "@vueuse/core";
|
|
5
|
+
import { defineComponent as c, useSlots as g, createBlock as x, openBlock as y, unref as o, normalizeProps as n, guardReactiveProps as s, createSlots as P, withCtx as r, renderSlot as i } from "vue";
|
|
6
|
+
import { mapReadPretty as _ } from "../__builtins__/shared/transform-component.mjs";
|
|
7
|
+
import { PreviewText as k } from "../preview-text/index.mjs";
|
|
8
|
+
import "@formily/core";
|
|
9
|
+
import "@silver-formily/reactive-vue";
|
|
10
|
+
import { useCleanAttrs as v } from "../__builtins__/shared/utils.mjs";
|
|
11
|
+
const T = /* @__PURE__ */ c({
|
|
12
|
+
name: "FInputTag",
|
|
13
|
+
inheritAttrs: !1,
|
|
14
|
+
__name: "input-tag",
|
|
15
|
+
setup(S) {
|
|
16
|
+
const e = g(), { props: p } = v(), a = f();
|
|
17
|
+
return (t, h) => (y(), x(o(d), n(s(o(p))), P({ _: 2 }, [
|
|
18
|
+
e.tag ? {
|
|
19
|
+
name: "tag",
|
|
20
|
+
fn: r((m) => [
|
|
21
|
+
i(t.$slots, "tag", n(s({ ...m, field: o(a) })))
|
|
22
|
+
]),
|
|
23
|
+
key: "0"
|
|
24
|
+
} : void 0,
|
|
25
|
+
e.prefix ? {
|
|
26
|
+
name: "prefix",
|
|
27
|
+
fn: r(() => [
|
|
28
|
+
i(t.$slots, "prefix")
|
|
29
|
+
]),
|
|
30
|
+
key: "1"
|
|
31
|
+
} : void 0,
|
|
32
|
+
e.suffix ? {
|
|
33
|
+
name: "suffix",
|
|
34
|
+
fn: r(() => [
|
|
35
|
+
i(t.$slots, "suffix")
|
|
36
|
+
]),
|
|
37
|
+
key: "2"
|
|
38
|
+
} : void 0
|
|
39
|
+
]), 1040));
|
|
40
|
+
}
|
|
41
|
+
}), E = l(
|
|
42
|
+
T,
|
|
43
|
+
u({ readOnly: "readonly", disabled: !0 }),
|
|
44
|
+
_(k.Select, { multiple: !0 })
|
|
45
|
+
);
|
|
46
|
+
export {
|
|
47
|
+
E as InputTag,
|
|
48
|
+
E as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/input-tag/input-tag.vue","../../src/input-tag/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Field } from '@formily/core'\nimport { useField } from '@silver-formily/vue'\nimport { ElInputTag } from 'element-plus'\nimport { useCleanAttrs } from '../__builtins__'\n\ndefineOptions({\n name: 'FInputTag',\n inheritAttrs: false,\n})\n\nconst slots = defineSlots<{\n tag?: (scope: { value: string, index: number, field: Field | undefined }) => any\n prefix?: () => any\n suffix?: () => any\n}>()\n\nconst { props: inputTagProps } = useCleanAttrs()\nconst fieldRef = useField<Field>()\n</script>\n\n<template>\n <ElInputTag v-bind=\"inputTagProps\">\n <template v-if=\"slots.tag\" #tag=\"slotProps\">\n <slot name=\"tag\" v-bind=\"{ ...slotProps, field: fieldRef }\" />\n </template>\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n </ElInputTag>\n</template>\n","import { connect, mapProps } from '@silver-formily/vue'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport FInputTag from './input-tag.vue'\n\nexport const InputTag = connect<typeof FInputTag>(\n FInputTag,\n mapProps({ readOnly: 'readonly', disabled: true }),\n mapReadPretty(PreviewText.Select, { multiple: true }),\n)\n\nexport default InputTag\n"],"names":["slots","_useSlots","inputTagProps","useCleanAttrs","fieldRef","useField","_openBlock","_createBlock","_unref","_createSlots","_withCtx","slotProps","_renderSlot","_ctx","_normalizeProps","_guardReactiveProps","InputTag","connect","FInputTag","mapProps","mapReadPretty","PreviewText"],"mappings":";;;;;;;;;;;;;;;AAWA,UAAMA,IAAQC,EAAA,GAMR,EAAE,OAAOC,EAAA,IAAkBC,EAAA,GAC3BC,IAAWC,EAAA;sBAIfC,KAAAC,EAUaC,UAVOA,EAAAN,CAAA,CAAa,CAAA,GAAAO,EAAA,EAAA,GAAA,KAAA;AAAA,MACfT,EAAM;cAAM;AAAA,QAC1B,IAAAU,EAAA,CAD+BC,MAAS;AAAA,UACxCC,EAA8DC,EAAA,QAAA,OAAAC,EAAAC,EAAA,EAAA,GAAhCJ,GAAS,OAASH,EAAAJ,CAAA,EAAA,CAAQ,CAAA,CAAA;AAAA,QAAA;;;MAE1CJ,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBY,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERb,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBY,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;ICzBfG,IAAWC;AAAA,EACtBC;AAAAA,EACAC,EAAS,EAAE,UAAU,YAAY,UAAU,IAAM;AAAA,EACjDC,EAAcC,EAAY,QAAQ,EAAE,UAAU,IAAM;AACtD;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Field } from '@formily/core';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
tag?: (scope: {
|
|
6
|
+
value: string;
|
|
7
|
+
index: number;
|
|
8
|
+
field: Field | undefined;
|
|
9
|
+
}) => any;
|
|
10
|
+
prefix?: () => any;
|
|
11
|
+
suffix?: () => any;
|
|
12
|
+
}> & {
|
|
13
|
+
tag?: (scope: {
|
|
14
|
+
value: string;
|
|
15
|
+
index: number;
|
|
16
|
+
field: Field | undefined;
|
|
17
|
+
}) => any;
|
|
18
|
+
prefix?: () => any;
|
|
19
|
+
suffix?: () => any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: any;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Mention: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: Readonly<{
|
|
15
|
+
label?: (scope: {
|
|
16
|
+
item: import('element-plus').MentionOption;
|
|
17
|
+
index: number;
|
|
18
|
+
field: import('@formily/core').Field | undefined;
|
|
19
|
+
}) => any;
|
|
20
|
+
header?: (scope: {
|
|
21
|
+
field: import('@formily/core').Field | undefined;
|
|
22
|
+
}) => any;
|
|
23
|
+
footer?: (scope: {
|
|
24
|
+
field: import('@formily/core').Field | undefined;
|
|
25
|
+
}) => any;
|
|
26
|
+
loading?: () => any;
|
|
27
|
+
prefix?: () => any;
|
|
28
|
+
suffix?: () => any;
|
|
29
|
+
prepend?: () => any;
|
|
30
|
+
append?: () => any;
|
|
31
|
+
}> & {
|
|
32
|
+
label?: (scope: {
|
|
33
|
+
item: import('element-plus').MentionOption;
|
|
34
|
+
index: number;
|
|
35
|
+
field: import('@formily/core').Field | undefined;
|
|
36
|
+
}) => any;
|
|
37
|
+
header?: (scope: {
|
|
38
|
+
field: import('@formily/core').Field | undefined;
|
|
39
|
+
}) => any;
|
|
40
|
+
footer?: (scope: {
|
|
41
|
+
field: import('@formily/core').Field | undefined;
|
|
42
|
+
}) => any;
|
|
43
|
+
loading?: () => any;
|
|
44
|
+
prefix?: () => any;
|
|
45
|
+
suffix?: () => any;
|
|
46
|
+
prepend?: () => any;
|
|
47
|
+
append?: () => any;
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
export default Mention;
|