@avilang/practical-ui 0.4.2 → 0.4.3
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/dist/index.js +11 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36932,6 +36932,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
36932
36932
|
model: { type: Array, default: () => [] },
|
|
36933
36933
|
rules: { type: Object, default: () => {
|
|
36934
36934
|
} },
|
|
36935
|
+
size: { type: String, default: "medium" },
|
|
36935
36936
|
inline: { type: Boolean, default: !1 },
|
|
36936
36937
|
showLabel: { type: Boolean, default: !0 },
|
|
36937
36938
|
labelWidth: { type: [Number, String], default: "auto" },
|
|
@@ -37108,7 +37109,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37108
37109
|
ref: `form-item-${b.field}`,
|
|
37109
37110
|
modelValue: ne(a)[b.field],
|
|
37110
37111
|
"onUpdate:modelValue": (F) => ne(a)[b.field] = F
|
|
37111
|
-
}, { disabled: e.disabled, readonly: e.readonly, ...b.props }, {
|
|
37112
|
+
}, { disabled: e.disabled, readonly: e.readonly, size: e.size, ...b.props }, {
|
|
37112
37113
|
onInput: (F) => g(b.field)
|
|
37113
37114
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])) : b.type === "input-identifier" ? (Ae(), ot(hn(ne(Sl)), Pt({
|
|
37114
37115
|
key: 1,
|
|
@@ -37116,7 +37117,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37116
37117
|
ref: `form-item-${b.field}`,
|
|
37117
37118
|
modelValue: ne(a)[b.field],
|
|
37118
37119
|
"onUpdate:modelValue": (F) => ne(a)[b.field] = F
|
|
37119
|
-
}, { disabled: e.disabled, ...b.props }, {
|
|
37120
|
+
}, { disabled: e.disabled, size: e.size, ...b.props }, {
|
|
37120
37121
|
onInput: (F) => g(b.field)
|
|
37121
37122
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])) : b.type === "switch" ? (Ae(), ot(hn(ne(kl)), Pt({
|
|
37122
37123
|
key: 2,
|
|
@@ -37124,13 +37125,13 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37124
37125
|
ref: `form-item-${b.field}`,
|
|
37125
37126
|
modelValue: ne(a)[b.field],
|
|
37126
37127
|
"onUpdate:modelValue": (F) => ne(a)[b.field] = F
|
|
37127
|
-
}, { disabled: e.disabled, readonly: e.readonly, ...b.props }), null, 16, ["modelValue", "onUpdate:modelValue"])) : b.type === "select" ? (Ae(), ot(hn(ne(ji)), Pt({
|
|
37128
|
+
}, { disabled: e.disabled, readonly: e.readonly, size: e.size, ...b.props }), null, 16, ["modelValue", "onUpdate:modelValue"])) : b.type === "select" ? (Ae(), ot(hn(ne(ji)), Pt({
|
|
37128
37129
|
key: 3,
|
|
37129
37130
|
ref_for: !0,
|
|
37130
37131
|
ref: `form-item-${b.field}`,
|
|
37131
37132
|
modelValue: ne(a)[b.field],
|
|
37132
37133
|
"onUpdate:modelValue": (F) => ne(a)[b.field] = F
|
|
37133
|
-
}, { disabled: e.disabled, ...b.props }, {
|
|
37134
|
+
}, { disabled: e.disabled, size: e.size, ...b.props }, {
|
|
37134
37135
|
onSearch: (F) => y(b, F),
|
|
37135
37136
|
onUpdate: (F) => m(b, F)
|
|
37136
37137
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onSearch", "onUpdate"])) : b.type === "cascader" ? (Ae(), ot(hn(ne(Bl)), Pt({
|
|
@@ -37139,7 +37140,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37139
37140
|
ref: `form-item-${b.field}`,
|
|
37140
37141
|
modelValue: ne(a)[b.field],
|
|
37141
37142
|
"onUpdate:modelValue": (F) => ne(a)[b.field] = F
|
|
37142
|
-
}, { disabled: e.disabled, ...b.props }, {
|
|
37143
|
+
}, { disabled: e.disabled, size: e.size, ...b.props }, {
|
|
37143
37144
|
onInputFilter: (F) => C(b),
|
|
37144
37145
|
onUpdate: (F) => P(b, F)
|
|
37145
37146
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInputFilter", "onUpdate"])) : Dt("", !0)
|
|
@@ -37188,7 +37189,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37188
37189
|
ref: `form-item-${F.field}`,
|
|
37189
37190
|
modelValue: ne(a)[F.field],
|
|
37190
37191
|
"onUpdate:modelValue": (z) => ne(a)[F.field] = z
|
|
37191
|
-
}, { disabled: e.disabled, readonly: e.readonly, ...F.props }, {
|
|
37192
|
+
}, { disabled: e.disabled, readonly: e.readonly, size: e.size, ...F.props }, {
|
|
37192
37193
|
onInput: (z) => g(F.field)
|
|
37193
37194
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])) : F.type === "input-identifier" ? (Ae(), ot(hn(ne(Sl)), Pt({
|
|
37194
37195
|
key: 1,
|
|
@@ -37196,7 +37197,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37196
37197
|
ref: `form-item-${F.field}`,
|
|
37197
37198
|
modelValue: ne(a)[F.field],
|
|
37198
37199
|
"onUpdate:modelValue": (z) => ne(a)[F.field] = z
|
|
37199
|
-
}, { disabled: e.disabled, ...F.props }, {
|
|
37200
|
+
}, { disabled: e.disabled, size: e.size, ...F.props }, {
|
|
37200
37201
|
onInput: (z) => g(F.field)
|
|
37201
37202
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])) : F.type === "switch" ? (Ae(), ot(hn(ne(kl)), Pt({
|
|
37202
37203
|
key: 2,
|
|
@@ -37204,13 +37205,13 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37204
37205
|
ref: `form-item-${F.field}`,
|
|
37205
37206
|
modelValue: ne(a)[F.field],
|
|
37206
37207
|
"onUpdate:modelValue": (z) => ne(a)[F.field] = z
|
|
37207
|
-
}, { disabled: e.disabled, readonly: e.readonly, ...F.props }), null, 16, ["modelValue", "onUpdate:modelValue"])) : F.type === "select" ? (Ae(), ot(hn(ne(ji)), Pt({
|
|
37208
|
+
}, { disabled: e.disabled, readonly: e.readonly, size: e.size, ...F.props }), null, 16, ["modelValue", "onUpdate:modelValue"])) : F.type === "select" ? (Ae(), ot(hn(ne(ji)), Pt({
|
|
37208
37209
|
key: 3,
|
|
37209
37210
|
ref_for: !0,
|
|
37210
37211
|
ref: `form-item-${F.field}`,
|
|
37211
37212
|
modelValue: ne(a)[F.field],
|
|
37212
37213
|
"onUpdate:modelValue": (z) => ne(a)[F.field] = z
|
|
37213
|
-
}, { disabled: e.disabled, ...F.props }, {
|
|
37214
|
+
}, { disabled: e.disabled, size: e.size, ...F.props }, {
|
|
37214
37215
|
onSearch: (z) => y(F, z),
|
|
37215
37216
|
onUpdate: (z) => m(F, z)
|
|
37216
37217
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onSearch", "onUpdate"])) : F.type === "cascader" ? (Ae(), ot(hn(ne(Bl)), Pt({
|
|
@@ -37219,7 +37220,7 @@ const io = /* @__PURE__ */ Object.assign({
|
|
|
37219
37220
|
ref: `form-item-${F.field}`,
|
|
37220
37221
|
modelValue: ne(a)[F.field],
|
|
37221
37222
|
"onUpdate:modelValue": (z) => ne(a)[F.field] = z
|
|
37222
|
-
}, { disabled: e.disabled, ...F.props }, {
|
|
37223
|
+
}, { disabled: e.disabled, size: e.size, ...F.props }, {
|
|
37223
37224
|
onInputFilter: (z) => C(F),
|
|
37224
37225
|
onUpdate: (z) => P(F, z)
|
|
37225
37226
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInputFilter", "onUpdate"])) : Dt("", !0)
|