orion-design 0.1.20 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/components/Form/NumberInput/NumberInput.d.ts +19 -0
- package/dist/components/Form/NumberInput/NumberInput.js +2 -0
- package/dist/components/Form/NumberInput/NumberInput.js.map +1 -0
- package/dist/components/Form/NumberInput/NumberInput.vue.d.ts +3 -0
- package/dist/components/Form/NumberInput/index.d.ts +1 -0
- package/dist/components/Form/NumberInput/index.js +2 -0
- package/dist/components/Form/NumberInput/index.js.map +1 -0
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/index.js +318 -247
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +20 -2
- package/dist/components/LovTable/LovQuerytable.vue.d.ts +20 -2
- package/dist/components/LovTable/index.d.ts +20 -2
- package/dist/components/Pagetable/Pagetable.d.ts +4 -1
- package/dist/components/Pagetable/index.d.ts +4 -1
- package/dist/components/Pagetable/index.js +258 -243
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Querytable/Querytable.d.ts +4 -1
- package/dist/components/Querytable/index.d.ts +4 -1
- package/dist/components/Querytable/index.js +166 -151
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/_util/arrays.js.map +1 -1
- package/dist/components/_util/browser.js.map +1 -1
- package/dist/components/_util/dom/aria.js.map +1 -1
- package/dist/components/_util/dom/element.js.map +1 -1
- package/dist/components/_util/dom/event.js.map +1 -1
- package/dist/components/_util/dom/position.js.map +1 -1
- package/dist/components/_util/dom/scroll.js.map +1 -1
- package/dist/components/_util/dom/style.js.map +1 -1
- package/dist/components/_util/easings.js.map +1 -1
- package/dist/components/_util/error.js.map +1 -1
- package/dist/components/_util/i18n.js.map +1 -1
- package/dist/components/_util/objects.js.map +1 -1
- package/dist/components/_util/raf.js.map +1 -1
- package/dist/components/_util/rand.js.map +1 -1
- package/dist/components/_util/strings.js.map +1 -1
- package/dist/components/_util/throttleByRaf.js.map +1 -1
- package/dist/components/_util/types.js.map +1 -1
- package/dist/components/_util/typescript.js.map +1 -1
- package/dist/components/_util/vue/global-node.js.map +1 -1
- package/dist/components/_util/vue/icon.js.map +1 -1
- package/dist/components/_util/vue/install.js.map +1 -1
- package/dist/components/_util/vue/props/runtime.js.map +1 -1
- package/dist/components/_util/vue/refs.js.map +1 -1
- package/dist/components/_util/vue/size.js.map +1 -1
- package/dist/components/_util/vue/validator.js.map +1 -1
- package/dist/components/_util/vue/vnode.js.map +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import { difference as ae, isEmpty as oe, isDate as re, isString as
|
2
|
-
import { defineComponent as c, useTemplateRef as
|
3
|
-
import { withInstall as
|
4
|
-
import { ElForm as
|
5
|
-
import { formContextKey as
|
6
|
-
import
|
7
|
-
import { useFormItemSpan as v, useFormItemRules as V, useFormItemStringModel as z, useFormItemDisabled as Q, useFormItemCode as
|
8
|
-
import { getSingleCodeContent as
|
9
|
-
import { S as
|
10
|
-
import { g as
|
11
|
-
import { lovContextKey as
|
12
|
-
import { default as
|
13
|
-
const
|
1
|
+
import { difference as ae, isEmpty as oe, isDate as re, isString as A, isNumber as te, toNumber as ne } from "lodash-es";
|
2
|
+
import { defineComponent as c, useTemplateRef as G, provide as T, reactive as j, toRef as R, openBlock as p, createBlock as f, unref as e, withCtx as d, createVNode as b, renderSlot as $, isRef as S, computed as F, createElementBlock as D, Fragment as E, renderList as I, createTextVNode as de, toDisplayString as ue, watch as ie, ref as Y, onMounted as se, normalizeStyle as pe } from "vue";
|
3
|
+
import { withInstall as me } from "../_util/vue/install.js";
|
4
|
+
import { ElForm as be, ElRow as fe, ElCol as y, ElFormItem as w, ElInput as O, ElSelect as H, ElOption as K, ElRadioGroup as he, ElRadio as ce, ElCheckboxGroup as ye, ElCheckbox as J, ElSwitch as ve, dayjs as L, ElTimePicker as we, ElDatePicker as ge, ElDropdown as Ve, ElInputNumber as Se } from "element-plus";
|
5
|
+
import { formContextKey as qe } from "./Form.js";
|
6
|
+
import C from "../../error/OrionError.js";
|
7
|
+
import { useFormItemSpan as v, useFormItemRules as V, useFormItemStringModel as z, useFormItemDisabled as Q, useFormItemCode as U, useFormItemMultiModel as X, useFormContext as N, useFormItemBooleanModel as Z } from "./hooks/index.js";
|
8
|
+
import { getSingleCodeContent as Me, getMultiCodeContent as Be } from "./utils/index.js";
|
9
|
+
import { S as Fe } from "../../index-BbsXWo7C.js";
|
10
|
+
import { g as Oe } from "../../index-C6P_0wAy.js";
|
11
|
+
import { lovContextKey as ze } from "./LovInput/LovInput.js";
|
12
|
+
import { default as nl } from "./LovInput/hooks/useLov.js";
|
13
|
+
const Ce = /* @__PURE__ */ c({
|
14
14
|
name: "OForm",
|
15
15
|
inheritAttrs: !1,
|
16
16
|
__name: "Form",
|
@@ -22,40 +22,40 @@ const Fe = /* @__PURE__ */ c({
|
|
22
22
|
modelValue: {}
|
23
23
|
},
|
24
24
|
emits: ["update:modelValue"],
|
25
|
-
setup(
|
26
|
-
const o = i, l = (
|
27
|
-
if (!Object.keys(
|
28
|
-
throw new
|
29
|
-
o("update:modelValue", { ...
|
30
|
-
},
|
31
|
-
const
|
32
|
-
if (!oe(
|
33
|
-
throw new
|
34
|
-
o("update:modelValue", { ...
|
35
|
-
}, u =
|
25
|
+
setup(t, { expose: s, emit: i }) {
|
26
|
+
const o = i, l = (r, h) => {
|
27
|
+
if (!Object.keys(t.modelValue).includes(r))
|
28
|
+
throw new C(`modelValue中不存在[${r}]`);
|
29
|
+
o("update:modelValue", { ...t.modelValue, [r]: h });
|
30
|
+
}, a = (r) => {
|
31
|
+
const h = Object.keys(t.modelValue), g = Object.keys(r), W = ae(g, h);
|
32
|
+
if (!oe(W))
|
33
|
+
throw new C(`modelValue中不存在[${W.join(",")}]`);
|
34
|
+
o("update:modelValue", { ...t.modelValue, ...r });
|
35
|
+
}, u = G("form");
|
36
36
|
return s({
|
37
37
|
validate: async () => await u.value.validate()
|
38
|
-
}),
|
39
|
-
|
40
|
-
|
41
|
-
modelValue:
|
38
|
+
}), T(
|
39
|
+
qe,
|
40
|
+
j({
|
41
|
+
modelValue: R(() => t.modelValue),
|
42
42
|
updateModelValue: l,
|
43
|
-
updateModelValueMulti:
|
44
|
-
rules:
|
45
|
-
itemSpan:
|
46
|
-
disabled:
|
43
|
+
updateModelValueMulti: a,
|
44
|
+
rules: R(() => t.rules),
|
45
|
+
itemSpan: R(() => t.itemSpan),
|
46
|
+
disabled: R(() => t.disabled)
|
47
47
|
})
|
48
|
-
), (
|
48
|
+
), (r, h) => (p(), f(e(be), {
|
49
49
|
ref: "form",
|
50
|
-
model:
|
51
|
-
rules:
|
52
|
-
"label-width":
|
53
|
-
disabled:
|
50
|
+
model: r.modelValue,
|
51
|
+
rules: r.rules,
|
52
|
+
"label-width": r.itemLabelWidth,
|
53
|
+
disabled: r.disabled
|
54
54
|
}, {
|
55
55
|
default: d(() => [
|
56
|
-
|
56
|
+
b(e(fe), { gutter: 16 }, {
|
57
57
|
default: d(() => [
|
58
|
-
|
58
|
+
$(r.$slots, "default")
|
59
59
|
]),
|
60
60
|
_: 3
|
61
61
|
})
|
@@ -63,7 +63,7 @@ const Fe = /* @__PURE__ */ c({
|
|
63
63
|
_: 3
|
64
64
|
}, 8, ["model", "rules", "label-width", "disabled"]));
|
65
65
|
}
|
66
|
-
}),
|
66
|
+
}), We = /* @__PURE__ */ c({
|
67
67
|
name: "OFormString",
|
68
68
|
inheritAttrs: !1,
|
69
69
|
__name: "StringInput",
|
@@ -79,11 +79,11 @@ const Fe = /* @__PURE__ */ c({
|
|
79
79
|
disabled: { type: Boolean },
|
80
80
|
readonly: { type: Boolean }
|
81
81
|
},
|
82
|
-
setup(
|
82
|
+
setup(t) {
|
83
83
|
const s = v(), i = V(), o = z();
|
84
|
-
return (l,
|
84
|
+
return (l, a) => (p(), f(e(y), { span: e(s) }, {
|
85
85
|
default: d(() => [
|
86
|
-
|
86
|
+
b(e(w), {
|
87
87
|
prop: l.name,
|
88
88
|
label: l.label,
|
89
89
|
"label-width": l.labelWidth,
|
@@ -91,9 +91,9 @@ const Fe = /* @__PURE__ */ c({
|
|
91
91
|
rules: e(i)
|
92
92
|
}, {
|
93
93
|
default: d(() => [
|
94
|
-
|
94
|
+
b(e(O), {
|
95
95
|
modelValue: e(o),
|
96
|
-
"onUpdate:modelValue":
|
96
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => S(o) ? o.value = u : null),
|
97
97
|
maxlength: l.maxlength,
|
98
98
|
placeholder: l.placeholder,
|
99
99
|
disabled: l.disabled,
|
@@ -106,7 +106,7 @@ const Fe = /* @__PURE__ */ c({
|
|
106
106
|
_: 1
|
107
107
|
}, 8, ["span"]));
|
108
108
|
}
|
109
|
-
}),
|
109
|
+
}), ke = /* @__PURE__ */ c({
|
110
110
|
name: "OFormPassword",
|
111
111
|
inheritAttrs: !1,
|
112
112
|
__name: "PasswordInput",
|
@@ -122,11 +122,11 @@ const Fe = /* @__PURE__ */ c({
|
|
122
122
|
disabled: { type: Boolean },
|
123
123
|
readonly: { type: Boolean }
|
124
124
|
},
|
125
|
-
setup(
|
125
|
+
setup(t) {
|
126
126
|
const s = v(), i = V(), o = z();
|
127
|
-
return (l,
|
127
|
+
return (l, a) => (p(), f(e(y), { span: e(s) }, {
|
128
128
|
default: d(() => [
|
129
|
-
|
129
|
+
b(e(w), {
|
130
130
|
prop: l.name,
|
131
131
|
label: l.label,
|
132
132
|
"label-width": l.labelWidth,
|
@@ -134,9 +134,9 @@ const Fe = /* @__PURE__ */ c({
|
|
134
134
|
rules: e(i)
|
135
135
|
}, {
|
136
136
|
default: d(() => [
|
137
|
-
|
137
|
+
b(e(O), {
|
138
138
|
modelValue: e(o),
|
139
|
-
"onUpdate:modelValue":
|
139
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => S(o) ? o.value = u : null),
|
140
140
|
maxlength: l.maxlength,
|
141
141
|
placeholder: l.placeholder,
|
142
142
|
disabled: l.disabled,
|
@@ -150,7 +150,7 @@ const Fe = /* @__PURE__ */ c({
|
|
150
150
|
_: 1
|
151
151
|
}, 8, ["span"]));
|
152
152
|
}
|
153
|
-
}),
|
153
|
+
}), Re = /* @__PURE__ */ c({
|
154
154
|
name: "OFormTextarea",
|
155
155
|
inheritAttrs: !1,
|
156
156
|
__name: "Textarea",
|
@@ -167,11 +167,11 @@ const Fe = /* @__PURE__ */ c({
|
|
167
167
|
readonly: { type: Boolean },
|
168
168
|
rows: {}
|
169
169
|
},
|
170
|
-
setup(
|
170
|
+
setup(t) {
|
171
171
|
const s = v(), i = V(), o = z();
|
172
|
-
return (l,
|
172
|
+
return (l, a) => (p(), f(e(y), { span: e(s) }, {
|
173
173
|
default: d(() => [
|
174
|
-
|
174
|
+
b(e(w), {
|
175
175
|
prop: l.name,
|
176
176
|
label: l.label,
|
177
177
|
"label-width": l.labelWidth,
|
@@ -179,9 +179,9 @@ const Fe = /* @__PURE__ */ c({
|
|
179
179
|
rules: e(i)
|
180
180
|
}, {
|
181
181
|
default: d(() => [
|
182
|
-
|
182
|
+
b(e(O), {
|
183
183
|
modelValue: e(o),
|
184
|
-
"onUpdate:modelValue":
|
184
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => S(o) ? o.value = u : null),
|
185
185
|
maxlength: l.maxlength,
|
186
186
|
placeholder: l.placeholder,
|
187
187
|
disabled: l.disabled,
|
@@ -197,7 +197,7 @@ const Fe = /* @__PURE__ */ c({
|
|
197
197
|
_: 1
|
198
198
|
}, 8, ["span"]));
|
199
199
|
}
|
200
|
-
}),
|
200
|
+
}), Ae = /* @__PURE__ */ c({
|
201
201
|
name: "OFormSingleselect",
|
202
202
|
inheritAttrs: !1,
|
203
203
|
__name: "SingleSelect",
|
@@ -214,11 +214,11 @@ const Fe = /* @__PURE__ */ c({
|
|
214
214
|
clearable: { type: Boolean },
|
215
215
|
filterable: { type: Boolean }
|
216
216
|
},
|
217
|
-
setup(
|
218
|
-
const s = v(), i = V(), o = Q(), l =
|
219
|
-
return (n,
|
217
|
+
setup(t) {
|
218
|
+
const s = v(), i = V(), o = Q(), l = U(), a = z(), u = F(() => Me(l.value, a.value));
|
219
|
+
return (n, r) => (p(), f(e(y), { span: e(s) }, {
|
220
220
|
default: d(() => [
|
221
|
-
|
221
|
+
b(e(w), {
|
222
222
|
prop: n.name,
|
223
223
|
label: n.label,
|
224
224
|
"label-width": n.labelWidth,
|
@@ -226,25 +226,25 @@ const Fe = /* @__PURE__ */ c({
|
|
226
226
|
rules: e(i)
|
227
227
|
}, {
|
228
228
|
default: d(() => [
|
229
|
-
e(o) ? (
|
229
|
+
e(o) ? (p(), f(e(O), {
|
230
230
|
key: 0,
|
231
231
|
"model-value": u.value,
|
232
232
|
placeholder: n.placeholder,
|
233
233
|
disabled: !0,
|
234
234
|
readonly: !0
|
235
|
-
}, null, 8, ["model-value", "placeholder"])) : (
|
235
|
+
}, null, 8, ["model-value", "placeholder"])) : (p(), f(e(H), {
|
236
236
|
key: 1,
|
237
|
-
modelValue: e(
|
238
|
-
"onUpdate:modelValue":
|
237
|
+
modelValue: e(a),
|
238
|
+
"onUpdate:modelValue": r[0] || (r[0] = (h) => S(a) ? a.value = h : null),
|
239
239
|
placeholder: n.placeholder,
|
240
240
|
clearable: n.clearable,
|
241
241
|
filterable: n.filterable
|
242
242
|
}, {
|
243
243
|
default: d(() => [
|
244
|
-
(
|
245
|
-
key:
|
246
|
-
label:
|
247
|
-
value:
|
244
|
+
(p(!0), D(E, null, I(e(l), (h) => (p(), f(e(K), {
|
245
|
+
key: h.value,
|
246
|
+
label: h.content,
|
247
|
+
value: h.value
|
248
248
|
}, null, 8, ["label", "value"]))), 128))
|
249
249
|
]),
|
250
250
|
_: 1
|
@@ -256,7 +256,7 @@ const Fe = /* @__PURE__ */ c({
|
|
256
256
|
_: 1
|
257
257
|
}, 8, ["span"]));
|
258
258
|
}
|
259
|
-
}),
|
259
|
+
}), $e = /* @__PURE__ */ c({
|
260
260
|
name: "OFormMultiselect",
|
261
261
|
inheritAttrs: !1,
|
262
262
|
__name: "MultiSelect",
|
@@ -271,33 +271,33 @@ const Fe = /* @__PURE__ */ c({
|
|
271
271
|
disabled: { type: Boolean },
|
272
272
|
code: {}
|
273
273
|
},
|
274
|
-
setup(
|
275
|
-
const s = v(), i = V(), o = Q(), l =
|
276
|
-
return (
|
274
|
+
setup(t) {
|
275
|
+
const s = v(), i = V(), o = Q(), l = U(), a = X(), u = N(), n = F(() => Be(l.value, u.modelValue[t.name]));
|
276
|
+
return (r, h) => (p(), f(e(y), { span: e(s) }, {
|
277
277
|
default: d(() => [
|
278
|
-
|
279
|
-
prop:
|
280
|
-
label:
|
281
|
-
"label-width":
|
282
|
-
required:
|
278
|
+
b(e(w), {
|
279
|
+
prop: r.name,
|
280
|
+
label: r.label,
|
281
|
+
"label-width": r.labelWidth,
|
282
|
+
required: r.required,
|
283
283
|
rules: e(i)
|
284
284
|
}, {
|
285
285
|
default: d(() => [
|
286
|
-
e(o) ? (
|
286
|
+
e(o) ? (p(), f(e(O), {
|
287
287
|
key: 0,
|
288
288
|
"model-value": n.value,
|
289
|
-
placeholder:
|
289
|
+
placeholder: r.placeholder,
|
290
290
|
disabled: !0,
|
291
291
|
readonly: !0
|
292
|
-
}, null, 8, ["model-value", "placeholder"])) : (
|
292
|
+
}, null, 8, ["model-value", "placeholder"])) : (p(), f(e(H), {
|
293
293
|
key: 1,
|
294
|
-
modelValue: e(
|
295
|
-
"onUpdate:modelValue":
|
296
|
-
placeholder:
|
294
|
+
modelValue: e(a),
|
295
|
+
"onUpdate:modelValue": h[0] || (h[0] = (g) => S(a) ? a.value = g : null),
|
296
|
+
placeholder: r.placeholder,
|
297
297
|
multiple: ""
|
298
298
|
}, {
|
299
299
|
default: d(() => [
|
300
|
-
(
|
300
|
+
(p(!0), D(E, null, I(e(l), (g) => (p(), f(e(K), {
|
301
301
|
key: g.value,
|
302
302
|
label: g.content,
|
303
303
|
value: g.value
|
@@ -312,7 +312,7 @@ const Fe = /* @__PURE__ */ c({
|
|
312
312
|
_: 1
|
313
313
|
}, 8, ["span"]));
|
314
314
|
}
|
315
|
-
}),
|
315
|
+
}), De = /* @__PURE__ */ c({
|
316
316
|
name: "OFormRadiogroup",
|
317
317
|
inheritAttrs: !1,
|
318
318
|
__name: "RadioGroup",
|
@@ -326,30 +326,30 @@ const Fe = /* @__PURE__ */ c({
|
|
326
326
|
disabled: { type: Boolean },
|
327
327
|
code: {}
|
328
328
|
},
|
329
|
-
setup(
|
330
|
-
const s = v(), i = V(), o =
|
331
|
-
return (
|
329
|
+
setup(t) {
|
330
|
+
const s = v(), i = V(), o = U(), l = z();
|
331
|
+
return (a, u) => (p(), f(e(y), { span: e(s) }, {
|
332
332
|
default: d(() => [
|
333
|
-
|
334
|
-
prop:
|
335
|
-
label:
|
336
|
-
"label-width":
|
337
|
-
required:
|
333
|
+
b(e(w), {
|
334
|
+
prop: a.name,
|
335
|
+
label: a.label,
|
336
|
+
"label-width": a.labelWidth,
|
337
|
+
required: a.required,
|
338
338
|
rules: e(i)
|
339
339
|
}, {
|
340
340
|
default: d(() => [
|
341
|
-
|
341
|
+
b(e(he), {
|
342
342
|
modelValue: e(l),
|
343
343
|
"onUpdate:modelValue": u[0] || (u[0] = (n) => S(l) ? l.value = n : null),
|
344
|
-
disabled:
|
344
|
+
disabled: a.disabled
|
345
345
|
}, {
|
346
346
|
default: d(() => [
|
347
|
-
(
|
347
|
+
(p(!0), D(E, null, I(e(o), (n) => (p(), f(e(ce), {
|
348
348
|
key: n.value,
|
349
349
|
value: n.value
|
350
350
|
}, {
|
351
351
|
default: d(() => [
|
352
|
-
|
352
|
+
de(ue(n.content), 1)
|
353
353
|
]),
|
354
354
|
_: 2
|
355
355
|
}, 1032, ["value"]))), 128))
|
@@ -363,7 +363,7 @@ const Fe = /* @__PURE__ */ c({
|
|
363
363
|
_: 1
|
364
364
|
}, 8, ["span"]));
|
365
365
|
}
|
366
|
-
}),
|
366
|
+
}), Ee = /* @__PURE__ */ c({
|
367
367
|
name: "OFormCheckboxgroup",
|
368
368
|
inheritAttrs: !1,
|
369
369
|
__name: "CheckboxGroup",
|
@@ -377,25 +377,25 @@ const Fe = /* @__PURE__ */ c({
|
|
377
377
|
disabled: { type: Boolean },
|
378
378
|
code: {}
|
379
379
|
},
|
380
|
-
setup(
|
381
|
-
const s = v(), i = V(), o =
|
382
|
-
return (
|
380
|
+
setup(t) {
|
381
|
+
const s = v(), i = V(), o = U(), l = X();
|
382
|
+
return (a, u) => (p(), f(e(y), { span: e(s) }, {
|
383
383
|
default: d(() => [
|
384
|
-
|
385
|
-
prop:
|
386
|
-
label:
|
387
|
-
"label-width":
|
388
|
-
required:
|
384
|
+
b(e(w), {
|
385
|
+
prop: a.name,
|
386
|
+
label: a.label,
|
387
|
+
"label-width": a.labelWidth,
|
388
|
+
required: a.required,
|
389
389
|
rules: e(i)
|
390
390
|
}, {
|
391
391
|
default: d(() => [
|
392
|
-
|
392
|
+
b(e(ye), {
|
393
393
|
modelValue: e(l),
|
394
394
|
"onUpdate:modelValue": u[0] || (u[0] = (n) => S(l) ? l.value = n : null),
|
395
|
-
disabled:
|
395
|
+
disabled: a.disabled
|
396
396
|
}, {
|
397
397
|
default: d(() => [
|
398
|
-
(
|
398
|
+
(p(!0), D(E, null, I(e(o), (n) => (p(), f(e(J), {
|
399
399
|
key: n.value,
|
400
400
|
label: n.content,
|
401
401
|
value: n.value
|
@@ -410,7 +410,7 @@ const Fe = /* @__PURE__ */ c({
|
|
410
410
|
_: 1
|
411
411
|
}, 8, ["span"]));
|
412
412
|
}
|
413
|
-
}),
|
413
|
+
}), Ie = /* @__PURE__ */ c({
|
414
414
|
name: "OFormCheckbox",
|
415
415
|
inheritAttrs: !1,
|
416
416
|
__name: "Checkbox",
|
@@ -422,20 +422,20 @@ const Fe = /* @__PURE__ */ c({
|
|
422
422
|
rules: {},
|
423
423
|
disabled: { type: Boolean }
|
424
424
|
},
|
425
|
-
setup(
|
425
|
+
setup(t) {
|
426
426
|
const s = v(), i = Z();
|
427
|
-
return (o, l) => (
|
427
|
+
return (o, l) => (p(), f(e(y), { span: e(s) }, {
|
428
428
|
default: d(() => [
|
429
|
-
|
429
|
+
b(e(w), {
|
430
430
|
prop: o.name,
|
431
431
|
label: o.label,
|
432
432
|
"label-width": o.labelWidth,
|
433
433
|
rules: o.rules
|
434
434
|
}, {
|
435
435
|
default: d(() => [
|
436
|
-
|
436
|
+
b(e(J), {
|
437
437
|
modelValue: e(i),
|
438
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
438
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => S(i) ? i.value = a : null),
|
439
439
|
disabled: o.disabled
|
440
440
|
}, null, 8, ["modelValue", "disabled"])
|
441
441
|
]),
|
@@ -445,7 +445,7 @@ const Fe = /* @__PURE__ */ c({
|
|
445
445
|
_: 1
|
446
446
|
}, 8, ["span"]));
|
447
447
|
}
|
448
|
-
}),
|
448
|
+
}), Ue = /* @__PURE__ */ c({
|
449
449
|
name: "OFormSwitch",
|
450
450
|
inheritAttrs: !1,
|
451
451
|
__name: "Switch",
|
@@ -457,20 +457,20 @@ const Fe = /* @__PURE__ */ c({
|
|
457
457
|
rules: {},
|
458
458
|
disabled: { type: Boolean }
|
459
459
|
},
|
460
|
-
setup(
|
460
|
+
setup(t) {
|
461
461
|
const s = v(), i = Z();
|
462
|
-
return (o, l) => (
|
462
|
+
return (o, l) => (p(), f(e(y), { span: e(s) }, {
|
463
463
|
default: d(() => [
|
464
|
-
|
464
|
+
b(e(w), {
|
465
465
|
prop: o.name,
|
466
466
|
label: o.label,
|
467
467
|
"label-width": o.labelWidth,
|
468
468
|
rules: o.rules
|
469
469
|
}, {
|
470
470
|
default: d(() => [
|
471
|
-
|
471
|
+
b(e(ve), {
|
472
472
|
modelValue: e(i),
|
473
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
473
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => S(i) ? i.value = a : null),
|
474
474
|
disabled: o.disabled
|
475
475
|
}, null, 8, ["modelValue", "disabled"])
|
476
476
|
]),
|
@@ -480,7 +480,7 @@ const Fe = /* @__PURE__ */ c({
|
|
480
480
|
_: 1
|
481
481
|
}, 8, ["span"]));
|
482
482
|
}
|
483
|
-
}),
|
483
|
+
}), Ne = /* @__PURE__ */ c({
|
484
484
|
name: "OFormDate",
|
485
485
|
inheritAttrs: !1,
|
486
486
|
__name: "DateInput",
|
@@ -495,66 +495,66 @@ const Fe = /* @__PURE__ */ c({
|
|
495
495
|
placeholder: {},
|
496
496
|
disabled: { type: Boolean },
|
497
497
|
readonly: { type: Boolean },
|
498
|
-
editable: { type: Boolean },
|
499
|
-
clearable: { type: Boolean },
|
498
|
+
editable: { type: Boolean, default: !0 },
|
499
|
+
clearable: { type: Boolean, default: !0 },
|
500
500
|
format: { default: "YYYY-MM-DD" },
|
501
501
|
sourceFormat: {}
|
502
502
|
},
|
503
|
-
setup(
|
504
|
-
const s = v(), i = V(), o = F(() =>
|
505
|
-
let
|
506
|
-
return (
|
507
|
-
}), u =
|
503
|
+
setup(t) {
|
504
|
+
const s = v(), i = V(), o = F(() => t.format.startsWith("H") || t.format.startsWith("h") || t.format.startsWith("m") || t.format.startsWith("s")), l = F(() => t.sourceFormat ? t.sourceFormat : o.value ? "HH:mm:ss" : "YYYY-MM-DD"), a = F(() => {
|
505
|
+
let r = "date";
|
506
|
+
return (t.format.indexOf("y") > -1 || t.format.indexOf("Y") > -1) && (r = "year"), t.format.indexOf("M") > -1 && (r = "month"), (t.format.indexOf("d") > -1 || t.format.indexOf("D") > -1) && (r = "date"), (t.format.indexOf("H") > -1 || t.format.indexOf("h") > -1 || t.format.indexOf("k") > -1 || t.format.indexOf("m") > -1 || t.format.indexOf("s") > -1 || t.format.indexOf("S") > -1) && (r = "datetime"), r;
|
507
|
+
}), u = N(), n = F({
|
508
508
|
get: () => {
|
509
|
-
const
|
510
|
-
if (
|
511
|
-
if (re(
|
512
|
-
return
|
513
|
-
if (
|
514
|
-
const
|
515
|
-
if (!
|
516
|
-
throw new
|
517
|
-
return
|
509
|
+
const r = u.modelValue[t.name];
|
510
|
+
if (r) {
|
511
|
+
if (re(r))
|
512
|
+
return r;
|
513
|
+
if (A(r)) {
|
514
|
+
const h = L(r, l.value, !0);
|
515
|
+
if (!h.isValid())
|
516
|
+
throw new C(`日期输入框的值无效,不符合${l.value}格式`);
|
517
|
+
return h.toDate();
|
518
518
|
} else
|
519
|
-
throw new
|
519
|
+
throw new C("日期输入框的值只能为字符串或日期类型");
|
520
520
|
}
|
521
521
|
},
|
522
|
-
set: (
|
523
|
-
|
522
|
+
set: (r) => {
|
523
|
+
t.sourceFormat ? r ? u.updateModelValue(t.name, L(r).format(l.value)) : u.updateModelValue(t.name, "") : r ? u.updateModelValue(t.name, r) : u.updateModelValue(t.name, void 0);
|
524
524
|
}
|
525
525
|
});
|
526
|
-
return (
|
526
|
+
return (r, h) => (p(), f(e(y), { span: e(s) }, {
|
527
527
|
default: d(() => [
|
528
|
-
|
529
|
-
prop:
|
530
|
-
label:
|
531
|
-
"label-width":
|
532
|
-
required:
|
528
|
+
b(e(w), {
|
529
|
+
prop: r.name,
|
530
|
+
label: r.label,
|
531
|
+
"label-width": r.labelWidth,
|
532
|
+
required: r.required,
|
533
533
|
rules: e(i)
|
534
534
|
}, {
|
535
535
|
default: d(() => [
|
536
|
-
o.value ? (
|
536
|
+
o.value ? (p(), f(e(we), {
|
537
537
|
key: 0,
|
538
538
|
modelValue: n.value,
|
539
|
-
"onUpdate:modelValue":
|
540
|
-
placeholder:
|
541
|
-
disabled:
|
542
|
-
readonly:
|
543
|
-
editable:
|
544
|
-
clearable:
|
539
|
+
"onUpdate:modelValue": h[0] || (h[0] = (g) => n.value = g),
|
540
|
+
placeholder: r.placeholder,
|
541
|
+
disabled: r.disabled,
|
542
|
+
readonly: r.readonly,
|
543
|
+
editable: r.editable,
|
544
|
+
clearable: r.clearable,
|
545
545
|
format: l.value,
|
546
546
|
"arrow-control": "",
|
547
547
|
style: { width: "100%" }
|
548
|
-
}, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "editable", "clearable", "format"])) : (
|
548
|
+
}, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "editable", "clearable", "format"])) : (p(), f(e(ge), {
|
549
549
|
key: 1,
|
550
550
|
modelValue: n.value,
|
551
|
-
"onUpdate:modelValue":
|
552
|
-
placeholder:
|
553
|
-
disabled:
|
554
|
-
readonly:
|
555
|
-
editable:
|
556
|
-
clearable:
|
557
|
-
type:
|
551
|
+
"onUpdate:modelValue": h[1] || (h[1] = (g) => n.value = g),
|
552
|
+
placeholder: r.placeholder,
|
553
|
+
disabled: r.disabled,
|
554
|
+
readonly: r.readonly,
|
555
|
+
editable: r.editable,
|
556
|
+
clearable: r.clearable,
|
557
|
+
type: a.value,
|
558
558
|
format: l.value,
|
559
559
|
style: { width: "100%" }
|
560
560
|
}, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "editable", "clearable", "type", "format"]))
|
@@ -565,7 +565,7 @@ const Fe = /* @__PURE__ */ c({
|
|
565
565
|
_: 1
|
566
566
|
}, 8, ["span"]));
|
567
567
|
}
|
568
|
-
}),
|
568
|
+
}), Pe = /* @__PURE__ */ c({
|
569
569
|
name: "OFormFile",
|
570
570
|
inheritAttrs: !1,
|
571
571
|
__name: "FileInput",
|
@@ -578,20 +578,20 @@ const Fe = /* @__PURE__ */ c({
|
|
578
578
|
rules: {},
|
579
579
|
disabled: { type: Boolean }
|
580
580
|
},
|
581
|
-
setup(
|
581
|
+
setup(t) {
|
582
582
|
const s = v(), i = V(), o = z();
|
583
|
-
|
583
|
+
ie(o, () => {
|
584
584
|
o.value || (l.value = "");
|
585
585
|
});
|
586
|
-
const l =
|
587
|
-
return
|
588
|
-
|
586
|
+
const l = Y(""), a = G("inputRef");
|
587
|
+
return se(() => {
|
588
|
+
a.value.input.onchange = (u) => {
|
589
589
|
var n;
|
590
590
|
o.value = (n = u == null ? void 0 : u.target) == null ? void 0 : n.files[0];
|
591
591
|
}, l.value = "";
|
592
|
-
}), (u, n) => (
|
592
|
+
}), (u, n) => (p(), f(e(y), { span: e(s) }, {
|
593
593
|
default: d(() => [
|
594
|
-
|
594
|
+
b(e(w), {
|
595
595
|
prop: u.name,
|
596
596
|
label: u.label,
|
597
597
|
"label-width": u.labelWidth,
|
@@ -599,10 +599,10 @@ const Fe = /* @__PURE__ */ c({
|
|
599
599
|
rules: e(i)
|
600
600
|
}, {
|
601
601
|
default: d(() => [
|
602
|
-
|
602
|
+
b(e(O), {
|
603
603
|
ref: "inputRef",
|
604
604
|
modelValue: l.value,
|
605
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
605
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => l.value = r),
|
606
606
|
disabled: u.disabled,
|
607
607
|
type: "file",
|
608
608
|
"validate-event": !1
|
@@ -614,7 +614,7 @@ const Fe = /* @__PURE__ */ c({
|
|
614
614
|
_: 1
|
615
615
|
}, 8, ["span"]));
|
616
616
|
}
|
617
|
-
}),
|
617
|
+
}), Ye = /* @__PURE__ */ c({
|
618
618
|
name: "OFormButtongroup",
|
619
619
|
inheritAttrs: !1,
|
620
620
|
__name: "ButtonGroup",
|
@@ -623,21 +623,21 @@ const Fe = /* @__PURE__ */ c({
|
|
623
623
|
gutter: { type: [Boolean, String] },
|
624
624
|
align: { default: "right" }
|
625
625
|
},
|
626
|
-
setup(
|
626
|
+
setup(t) {
|
627
627
|
const s = F(() => ({
|
628
|
-
textAlign:
|
628
|
+
textAlign: t.align
|
629
629
|
})), i = v();
|
630
|
-
return (o, l) => (
|
630
|
+
return (o, l) => (p(), f(e(y), {
|
631
631
|
span: e(i),
|
632
|
-
style:
|
632
|
+
style: pe(s.value)
|
633
633
|
}, {
|
634
634
|
default: d(() => [
|
635
|
-
|
635
|
+
b(e(Fe), {
|
636
636
|
gutter: o.gutter,
|
637
637
|
style: { "margin-bottom": "18px" }
|
638
638
|
}, {
|
639
639
|
default: d(() => [
|
640
|
-
|
640
|
+
$(o.$slots, "default")
|
641
641
|
]),
|
642
642
|
_: 3
|
643
643
|
}, 8, ["gutter"])
|
@@ -645,7 +645,7 @@ const Fe = /* @__PURE__ */ c({
|
|
645
645
|
_: 3
|
646
646
|
}, 8, ["span", "style"]));
|
647
647
|
}
|
648
|
-
}),
|
648
|
+
}), Ge = /* @__PURE__ */ c({
|
649
649
|
name: "OFormDiy",
|
650
650
|
inheritAttrs: !1,
|
651
651
|
__name: "DiyItem",
|
@@ -657,11 +657,11 @@ const Fe = /* @__PURE__ */ c({
|
|
657
657
|
required: { type: Boolean },
|
658
658
|
rules: {}
|
659
659
|
},
|
660
|
-
setup(
|
660
|
+
setup(t) {
|
661
661
|
const s = v(), i = V();
|
662
|
-
return (o, l) => (
|
662
|
+
return (o, l) => (p(), f(e(y), { span: e(s) }, {
|
663
663
|
default: d(() => [
|
664
|
-
|
664
|
+
b(e(w), {
|
665
665
|
prop: o.name,
|
666
666
|
label: o.label,
|
667
667
|
"label-width": o.labelWidth,
|
@@ -669,7 +669,7 @@ const Fe = /* @__PURE__ */ c({
|
|
669
669
|
rules: e(i)
|
670
670
|
}, {
|
671
671
|
default: d(() => [
|
672
|
-
|
672
|
+
$(o.$slots, "default")
|
673
673
|
]),
|
674
674
|
_: 3
|
675
675
|
}, 8, ["prop", "label", "label-width", "required", "rules"])
|
@@ -677,7 +677,7 @@ const Fe = /* @__PURE__ */ c({
|
|
677
677
|
_: 3
|
678
678
|
}, 8, ["span"]));
|
679
679
|
}
|
680
|
-
}),
|
680
|
+
}), Le = /* @__PURE__ */ c({
|
681
681
|
name: "OFormLov",
|
682
682
|
inheritAttrs: !1,
|
683
683
|
__name: "LovInput",
|
@@ -694,79 +694,79 @@ const Fe = /* @__PURE__ */ c({
|
|
694
694
|
readonly: { type: Boolean },
|
695
695
|
fillMapping: { type: [String, Function] }
|
696
696
|
},
|
697
|
-
setup(
|
698
|
-
const s = v(), i = V(), o = z(), l =
|
699
|
-
|
700
|
-
}, n =
|
701
|
-
var
|
702
|
-
n.value || (n.value = !0),
|
697
|
+
setup(t) {
|
698
|
+
const s = v(), i = V(), o = z(), l = N(), a = Y(!1), u = (m) => {
|
699
|
+
a.value = m;
|
700
|
+
}, n = Y(!1), r = () => {
|
701
|
+
var m;
|
702
|
+
n.value || (n.value = !0), a.value || (m = P.value) == null || m.handleOpen();
|
703
703
|
};
|
704
|
-
let
|
705
|
-
const g = (
|
706
|
-
|
707
|
-
},
|
704
|
+
let h;
|
705
|
+
const g = (m) => {
|
706
|
+
h = m;
|
707
|
+
}, W = (m) => {
|
708
708
|
var B;
|
709
|
-
["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Enter", "Space"].indexOf(
|
709
|
+
["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Enter", "Space"].indexOf(m.code) > -1 && (a.value && h && h(m.code), m.stopPropagation()), ["ArrowUp", "ArrowDown"].indexOf(m.code) > -1 && !a.value && ((B = P.value) == null || B.handleOpen());
|
710
710
|
}, x = () => {
|
711
|
-
if (n.value &&
|
712
|
-
const
|
711
|
+
if (n.value && A(t.fillMapping)) {
|
712
|
+
const m = {}, q = t.fillMapping.split(",");
|
713
713
|
for (let M = 0; M < q.length; M++) {
|
714
714
|
const B = q[M].split(":")[0].trim();
|
715
|
-
|
715
|
+
m[B] = void 0;
|
716
716
|
}
|
717
|
-
l.updateModelValueMulti(
|
717
|
+
l.updateModelValueMulti(m);
|
718
718
|
}
|
719
|
-
},
|
720
|
-
return
|
721
|
-
|
722
|
-
|
719
|
+
}, P = G("dropdown");
|
720
|
+
return T(
|
721
|
+
ze,
|
722
|
+
j({
|
723
723
|
lovValue: o,
|
724
|
-
backfill: (
|
724
|
+
backfill: (m) => {
|
725
725
|
var q;
|
726
|
-
if ((q =
|
727
|
-
const M = {}, B =
|
728
|
-
for (let
|
729
|
-
const _ = B[
|
726
|
+
if ((q = P.value) == null || q.handleClose(), A(t.fillMapping)) {
|
727
|
+
const M = {}, B = t.fillMapping.split(",");
|
728
|
+
for (let k = 0; k < B.length; k++) {
|
729
|
+
const _ = B[k].split(":")[0].trim(), ee = B[k].split(":")[1].trim(), le = m[ee];
|
730
730
|
M[_] = le;
|
731
731
|
}
|
732
732
|
l.updateModelValueMulti(M);
|
733
733
|
} else
|
734
|
-
|
734
|
+
t.fillMapping && t.fillMapping(m);
|
735
735
|
n.value && (n.value = !1);
|
736
736
|
},
|
737
737
|
registerKeydownHandler: g
|
738
738
|
})
|
739
|
-
), (
|
739
|
+
), (m, q) => (p(), f(e(y), { span: e(s) }, {
|
740
740
|
default: d(() => [
|
741
|
-
|
742
|
-
prop:
|
743
|
-
label:
|
744
|
-
"label-width":
|
745
|
-
required:
|
741
|
+
b(e(w), {
|
742
|
+
prop: m.name,
|
743
|
+
label: m.label,
|
744
|
+
"label-width": m.labelWidth,
|
745
|
+
required: m.required,
|
746
746
|
rules: e(i)
|
747
747
|
}, {
|
748
748
|
default: d(() => [
|
749
|
-
|
749
|
+
b(e(Ve), {
|
750
750
|
ref: "dropdown",
|
751
751
|
trigger: "click",
|
752
752
|
onVisibleChange: u,
|
753
753
|
style: { width: "100%" }
|
754
754
|
}, {
|
755
755
|
dropdown: d(() => [
|
756
|
-
|
756
|
+
$(m.$slots, "default")
|
757
757
|
]),
|
758
758
|
default: d(() => [
|
759
|
-
|
759
|
+
b(e(O), {
|
760
760
|
modelValue: e(o),
|
761
761
|
"onUpdate:modelValue": q[0] || (q[0] = (M) => S(o) ? o.value = M : null),
|
762
|
-
maxlength:
|
763
|
-
placeholder:
|
764
|
-
disabled:
|
765
|
-
readonly:
|
766
|
-
onInput:
|
767
|
-
onKeydown:
|
762
|
+
maxlength: m.maxlength,
|
763
|
+
placeholder: m.placeholder,
|
764
|
+
disabled: m.disabled,
|
765
|
+
readonly: m.readonly,
|
766
|
+
onInput: r,
|
767
|
+
onKeydown: W,
|
768
768
|
onChange: x,
|
769
|
-
"suffix-icon": e(
|
769
|
+
"suffix-icon": e(Oe)
|
770
770
|
}, null, 8, ["modelValue", "maxlength", "placeholder", "disabled", "readonly", "suffix-icon"])
|
771
771
|
]),
|
772
772
|
_: 3
|
@@ -778,26 +778,97 @@ const Fe = /* @__PURE__ */ c({
|
|
778
778
|
_: 3
|
779
779
|
}, 8, ["span"]));
|
780
780
|
}
|
781
|
-
}),
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
781
|
+
}), Te = /* @__PURE__ */ c({
|
782
|
+
name: "OFormNumber",
|
783
|
+
inheritAttrs: !1,
|
784
|
+
__name: "NumberInput",
|
785
|
+
props: {
|
786
|
+
name: {},
|
787
|
+
label: {},
|
788
|
+
span: {},
|
789
|
+
labelWidth: {},
|
790
|
+
required: { type: Boolean },
|
791
|
+
rules: {},
|
792
|
+
placeholder: {},
|
793
|
+
disabled: { type: Boolean },
|
794
|
+
readonly: { type: Boolean },
|
795
|
+
min: {},
|
796
|
+
max: {},
|
797
|
+
step: {},
|
798
|
+
stepStrictly: { type: Boolean },
|
799
|
+
precision: {},
|
800
|
+
controls: { type: Boolean, default: !0 },
|
801
|
+
controlsPosition: {}
|
802
|
+
},
|
803
|
+
setup(t) {
|
804
|
+
const s = v(), i = V(), o = N(), l = F({
|
805
|
+
get: () => {
|
806
|
+
const a = o.modelValue[t.name];
|
807
|
+
if (a) {
|
808
|
+
if (te(a))
|
809
|
+
return a;
|
810
|
+
if (A(a))
|
811
|
+
return ne(a);
|
812
|
+
throw new C("数字输入框的值只能为字符串或数字类型");
|
813
|
+
}
|
814
|
+
},
|
815
|
+
set: (a) => {
|
816
|
+
a ? o.updateModelValue(t.name, a) : o.updateModelValue(t.name, void 0);
|
817
|
+
}
|
818
|
+
});
|
819
|
+
return (a, u) => (p(), f(e(y), { span: e(s) }, {
|
820
|
+
default: d(() => [
|
821
|
+
b(e(w), {
|
822
|
+
prop: a.name,
|
823
|
+
label: a.label,
|
824
|
+
"label-width": a.labelWidth,
|
825
|
+
required: a.required,
|
826
|
+
rules: e(i)
|
827
|
+
}, {
|
828
|
+
default: d(() => [
|
829
|
+
b(e(Se), {
|
830
|
+
modelValue: l.value,
|
831
|
+
"onUpdate:modelValue": u[0] || (u[0] = (n) => l.value = n),
|
832
|
+
placeholder: a.placeholder,
|
833
|
+
disabled: a.disabled,
|
834
|
+
readonly: a.readonly,
|
835
|
+
min: a.min,
|
836
|
+
max: a.max,
|
837
|
+
step: a.step,
|
838
|
+
"step-strictly": a.stepStrictly,
|
839
|
+
precision: a.precision,
|
840
|
+
controls: a.controls,
|
841
|
+
"controls-position": a.controlsPosition,
|
842
|
+
style: { width: "100%" }
|
843
|
+
}, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "min", "max", "step", "step-strictly", "precision", "controls", "controls-position"])
|
844
|
+
]),
|
845
|
+
_: 1
|
846
|
+
}, 8, ["prop", "label", "label-width", "required", "rules"])
|
847
|
+
]),
|
848
|
+
_: 1
|
849
|
+
}, 8, ["span"]));
|
850
|
+
}
|
851
|
+
}), ol = me(Ce, {
|
852
|
+
StringInput: We,
|
853
|
+
PasswordInput: ke,
|
854
|
+
Textarea: Re,
|
855
|
+
SingleSelect: Ae,
|
856
|
+
MultiSelect: $e,
|
857
|
+
RadioGroup: De,
|
858
|
+
CheckboxGroup: Ee,
|
859
|
+
Checkbox: Ie,
|
860
|
+
Switch: Ue,
|
861
|
+
DateInput: Ne,
|
862
|
+
FileInput: Pe,
|
863
|
+
ButtonGroup: Ye,
|
864
|
+
DiyItem: Ge,
|
865
|
+
LovInput: Le,
|
866
|
+
NumberInput: Te
|
796
867
|
});
|
797
868
|
export {
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
869
|
+
ol as default,
|
870
|
+
qe as formContextKey,
|
871
|
+
ze as lovContextKey,
|
872
|
+
nl as useLov
|
802
873
|
};
|
803
874
|
//# sourceMappingURL=index.js.map
|