@web-utils/form-ui 1.0.0-beta97 → 1.0.0-beta99
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/api/index.d.ts +4 -0
- package/api/index.mjs +9 -9
- package/basic-container/index.d.ts +16 -0
- package/basic-container/index.mjs +21 -0
- package/basic-container/style.css +1 -0
- package/biz-loading-view/index.d.ts +18 -0
- package/biz-loading-view/index.mjs +27 -0
- package/biz-loading-view/style.css +1 -0
- package/chunks/{D9IZqJJJ.mjs → B24kbvxB.mjs} +2 -1
- package/chunks/{BZb2YlPT.mjs → BcDeI1ZH.mjs} +1 -1
- package/chunks/{CcucCSvi.mjs → Bglnw37E.mjs} +2 -2
- package/chunks/{BFAXW-0d.mjs → BwPq7wF-.mjs} +3 -3
- package/chunks/{WjZeOWAM.mjs → CP0tXU4m.mjs} +1 -1
- package/chunks/{DYw3AWS9.mjs → CPGrGc4W.mjs} +3 -3
- package/chunks/{CCjeJzFN.mjs → CcW1bkgt.mjs} +1 -1
- package/chunks/{bPnQPTY0.mjs → CdLdGxlD.mjs} +2 -2
- package/chunks/{iNFexWJG.mjs → DQVIughS.mjs} +1 -1
- package/chunks/DptiCPnc.mjs +92 -0
- package/chunks/{BSOrm2U4.mjs → fJ2ezOVH.mjs} +1 -1
- package/data-table-picker/index.mjs +1 -1
- package/dialog-form/index.mjs +2 -2
- package/editable-tree/index.mjs +1 -1
- package/element-dialog/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/form-cascader/index.d.ts +1 -1
- package/form-checkbox/index.d.ts +1 -1
- package/form-checkbox-group/index.d.ts +1 -1
- package/form-date-picker/index.d.ts +1 -1
- package/form-image/index.d.ts +1 -1
- package/form-input/index.d.ts +1 -1
- package/form-input-cron-expression/index.d.ts +1 -1
- package/form-input-email/index.d.ts +1 -1
- package/form-input-id-card/index.d.ts +1 -1
- package/form-input-number/index.d.ts +1 -1
- package/form-input-phone-number/index.d.ts +1 -1
- package/form-input-tag/index.d.ts +1 -1
- package/form-input-time/index.d.ts +1 -1
- package/form-item/index.d.ts +1 -1
- package/form-item-group/index.d.ts +1 -1
- package/form-radio-group/index.d.ts +1 -1
- package/form-rate/index.d.ts +1 -1
- package/form-select/index.d.ts +1 -1
- package/form-slider/index.d.ts +1 -1
- package/form-switch/index.d.ts +1 -1
- package/form-table/index.d.ts +1 -1
- package/form-table-plus/index.d.ts +1 -1
- package/form-text/index.d.ts +1 -1
- package/form-textarea/index.d.ts +1 -1
- package/form-time-select/index.d.ts +1 -1
- package/form-tree-select/index.d.ts +1 -1
- package/form-tree-select-multiple/index.d.ts +1 -1
- package/fy-avatar/index.d.ts +40 -0
- package/fy-avatar/index.mjs +58 -0
- package/fy-avatar/style.css +1 -0
- package/fy-curd/index.mjs +1 -1
- package/fy-dynamic/index.mjs +1 -1
- package/fy-form/index.mjs +1 -1
- package/fy-input-icon/index.mjs +1 -1
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-table/index.mjs +2 -2
- package/fy-tree/index.mjs +2 -2
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +1 -1
- package/index.css +1 -1
- package/index.d.ts +5 -1
- package/index.mjs +149 -145
- package/nav-tab-panel/index.d.ts +30 -0
- package/nav-tab-panel/index.mjs +2 -0
- package/nav-tab-panel/style.css +1 -0
- package/package.json +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/resolver/components.mjs +1 -1
- package/split-pane/index.mjs +1 -1
- package/table-view/index.mjs +9 -9
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- /package/chunks/{CZnwC17w.mjs → B-BmACqv.mjs} +0 -0
- /package/chunks/{CHqxWrj7.mjs → BTDWXFoi.mjs} +0 -0
- /package/chunks/{rkP6k8kb.mjs → BWNDImpw.mjs} +0 -0
- /package/chunks/{BCYFaOiB.mjs → C2bqaC-E.mjs} +0 -0
- /package/chunks/{Cp1olyWc.mjs → D1wwXnEw.mjs} +0 -0
- /package/chunks/{D99-kE8j.mjs → D5twDi0x.mjs} +0 -0
- /package/chunks/{TaNkWyiK.mjs → DG4q844M.mjs} +0 -0
- /package/chunks/{BjccroM8.mjs → tJ_t87kJ.mjs} +0 -0
package/form-select/index.d.ts
CHANGED
|
@@ -552,10 +552,10 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
552
552
|
loading: boolean;
|
|
553
553
|
col: boolean;
|
|
554
554
|
span: number;
|
|
555
|
+
block: boolean;
|
|
555
556
|
confirm: boolean;
|
|
556
557
|
tag: string;
|
|
557
558
|
required: boolean;
|
|
558
|
-
block: boolean;
|
|
559
559
|
pull: number;
|
|
560
560
|
multiple: boolean;
|
|
561
561
|
wrapCol: boolean;
|
package/form-slider/index.d.ts
CHANGED
|
@@ -326,9 +326,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
326
326
|
size: string;
|
|
327
327
|
col: boolean;
|
|
328
328
|
span: number;
|
|
329
|
+
block: boolean;
|
|
329
330
|
tag: string;
|
|
330
331
|
required: boolean;
|
|
331
|
-
block: boolean;
|
|
332
332
|
pull: number;
|
|
333
333
|
max: number;
|
|
334
334
|
wrapCol: boolean;
|
package/form-switch/index.d.ts
CHANGED
|
@@ -319,9 +319,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
319
319
|
loading: boolean;
|
|
320
320
|
col: boolean;
|
|
321
321
|
span: number;
|
|
322
|
+
block: boolean;
|
|
322
323
|
tag: string;
|
|
323
324
|
required: boolean;
|
|
324
|
-
block: boolean;
|
|
325
325
|
pull: number;
|
|
326
326
|
borderColor: string;
|
|
327
327
|
wrapCol: boolean;
|
package/form-table/index.d.ts
CHANGED
|
@@ -274,9 +274,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
274
274
|
offset: number;
|
|
275
275
|
col: boolean;
|
|
276
276
|
span: number;
|
|
277
|
+
block: boolean;
|
|
277
278
|
tag: string;
|
|
278
279
|
required: boolean;
|
|
279
|
-
block: boolean;
|
|
280
280
|
pull: number;
|
|
281
281
|
wrapCol: boolean;
|
|
282
282
|
unwrap: boolean;
|
|
@@ -254,9 +254,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
254
254
|
offset: number;
|
|
255
255
|
col: boolean;
|
|
256
256
|
span: number;
|
|
257
|
+
block: boolean;
|
|
257
258
|
tag: string;
|
|
258
259
|
required: boolean;
|
|
259
|
-
block: boolean;
|
|
260
260
|
index: boolean;
|
|
261
261
|
pull: number;
|
|
262
262
|
wrapCol: boolean;
|
package/form-text/index.d.ts
CHANGED
|
@@ -219,9 +219,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
219
219
|
size: string;
|
|
220
220
|
col: boolean;
|
|
221
221
|
span: number;
|
|
222
|
+
block: boolean;
|
|
222
223
|
tag: string;
|
|
223
224
|
required: boolean;
|
|
224
|
-
block: boolean;
|
|
225
225
|
pull: number;
|
|
226
226
|
wrapCol: boolean;
|
|
227
227
|
unwrap: boolean;
|
package/form-textarea/index.d.ts
CHANGED
|
@@ -327,9 +327,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
327
327
|
autofocus: boolean;
|
|
328
328
|
col: boolean;
|
|
329
329
|
span: number;
|
|
330
|
+
block: boolean;
|
|
330
331
|
tag: string;
|
|
331
332
|
required: boolean;
|
|
332
|
-
block: boolean;
|
|
333
333
|
pull: number;
|
|
334
334
|
readonly: boolean;
|
|
335
335
|
wrapCol: boolean;
|
|
@@ -301,9 +301,9 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
301
301
|
size: string;
|
|
302
302
|
col: boolean;
|
|
303
303
|
span: number;
|
|
304
|
+
block: boolean;
|
|
304
305
|
tag: string;
|
|
305
306
|
required: boolean;
|
|
306
|
-
block: boolean;
|
|
307
307
|
start: string;
|
|
308
308
|
end: string;
|
|
309
309
|
pull: number;
|
|
@@ -652,11 +652,11 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
652
652
|
zIndex: string | number;
|
|
653
653
|
col: boolean;
|
|
654
654
|
span: number;
|
|
655
|
+
block: boolean;
|
|
655
656
|
loadingText: string;
|
|
656
657
|
tag: string;
|
|
657
658
|
appendToBody: boolean;
|
|
658
659
|
required: boolean;
|
|
659
|
-
block: boolean;
|
|
660
660
|
pull: number;
|
|
661
661
|
multiple: boolean;
|
|
662
662
|
readonly: boolean;
|
|
@@ -654,11 +654,11 @@ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractProp
|
|
|
654
654
|
zIndex: string | number;
|
|
655
655
|
col: boolean;
|
|
656
656
|
span: number;
|
|
657
|
+
block: boolean;
|
|
657
658
|
loadingText: string;
|
|
658
659
|
tag: string;
|
|
659
660
|
appendToBody: boolean;
|
|
660
661
|
required: boolean;
|
|
661
|
-
block: boolean;
|
|
662
662
|
pull: number;
|
|
663
663
|
multiple: boolean;
|
|
664
664
|
readonly: boolean;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
src: StringConstructor;
|
|
5
|
+
name: StringConstructor;
|
|
6
|
+
fallback: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
border: BooleanConstructor;
|
|
11
|
+
size: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
radius: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
20
|
+
src: StringConstructor;
|
|
21
|
+
name: StringConstructor;
|
|
22
|
+
fallback: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
border: BooleanConstructor;
|
|
27
|
+
size: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
radius: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
size: string;
|
|
37
|
+
border: boolean;
|
|
38
|
+
fallback: string;
|
|
39
|
+
radius: string;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { getDefaultAvatar as e } from "../api/index.mjs";
|
|
2
|
+
import { computed as t, createElementBlock as n, normalizeClass as r, normalizeStyle as i, openBlock as a, toDisplayString as o, unref as s } from "vue";
|
|
3
|
+
import "./style.css";
|
|
4
|
+
//#region src/components/FyAvatar.vue
|
|
5
|
+
var c = ["src"], l = ["src"], u = {
|
|
6
|
+
__name: "FyAvatar",
|
|
7
|
+
props: {
|
|
8
|
+
src: String,
|
|
9
|
+
name: String,
|
|
10
|
+
fallback: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: e()
|
|
13
|
+
},
|
|
14
|
+
border: Boolean,
|
|
15
|
+
size: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "30px"
|
|
18
|
+
},
|
|
19
|
+
radius: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "100%"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
setup(e) {
|
|
25
|
+
let u = e, d = u.fallback, f = t(() => ({
|
|
26
|
+
borderRadius: u.radius,
|
|
27
|
+
width: u.size,
|
|
28
|
+
height: u.size,
|
|
29
|
+
lineHeight: u.size
|
|
30
|
+
}));
|
|
31
|
+
function p(e) {
|
|
32
|
+
e.target.src = u.fallback;
|
|
33
|
+
}
|
|
34
|
+
return (t, u) => {
|
|
35
|
+
var m;
|
|
36
|
+
return e.src ? (a(), n("img", {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: r(["fy-avatar", { border: e.border }]),
|
|
39
|
+
style: i(s(f)),
|
|
40
|
+
src: e.src,
|
|
41
|
+
alt: "头像",
|
|
42
|
+
onError: p
|
|
43
|
+
}, null, 46, c)) : e.name ? (a(), n("span", {
|
|
44
|
+
key: 1,
|
|
45
|
+
class: r(["fy-avatar", { border: e.border }]),
|
|
46
|
+
style: i(s(f))
|
|
47
|
+
}, o((m = e.name) == null ? void 0 : m.substring(e.name.length - 2, e.name.length)), 7)) : (a(), n("img", {
|
|
48
|
+
key: 2,
|
|
49
|
+
class: r(["fy-avatar", { border: e.border }]),
|
|
50
|
+
style: i(s(f)),
|
|
51
|
+
src: s(d),
|
|
52
|
+
alt: "头像"
|
|
53
|
+
}, null, 14, l));
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { u as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.fy-avatar{object-fit:cover;color:#fff;text-align:center;vertical-align:middle;background:#9aa5c3;font-size:.9em;font-weight:700;display:inline-block}.fy-avatar.border{box-sizing:border-box;border:1px solid #eee;padding:2px}
|
package/fy-curd/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as e } from "../chunks/
|
|
1
|
+
import { r as e } from "../chunks/CdLdGxlD.mjs";
|
|
2
2
|
export { e as default };
|
package/fy-dynamic/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e } from "../chunks/
|
|
1
|
+
import { n as e } from "../chunks/CdLdGxlD.mjs";
|
|
2
2
|
export { e as default };
|
package/fy-form/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CdLdGxlD.mjs";
|
|
2
2
|
export { e as default };
|
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
|
-
import { t } from "../chunks/
|
|
2
|
+
import { t } from "../chunks/B24kbvxB.mjs";
|
|
3
3
|
import { n, t as r } from "../chunks/CX7Oiw5N.mjs";
|
|
4
4
|
import i from "../icon-temp/index.mjs";
|
|
5
5
|
import a from "../fy-tabs/index.mjs";
|
package/fy-input-map/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
|
-
import { t } from "../chunks/
|
|
2
|
+
import { t } from "../chunks/B24kbvxB.mjs";
|
|
3
3
|
import { t as n } from "../chunks/DTeHffqJ.mjs";
|
|
4
4
|
import { n as r, t as i } from "../chunks/CX7Oiw5N.mjs";
|
|
5
5
|
import { ElInput as a } from "element-plus/es";
|
package/fy-input-table/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
|
-
import { t } from "../chunks/
|
|
2
|
+
import { t } from "../chunks/B24kbvxB.mjs";
|
|
3
3
|
import { t as n } from "../chunks/DTeHffqJ.mjs";
|
|
4
|
-
import { r } from "../chunks/
|
|
4
|
+
import { r } from "../chunks/CdLdGxlD.mjs";
|
|
5
5
|
import { n as i, t as a } from "../chunks/CX7Oiw5N.mjs";
|
|
6
6
|
import { ElInput as o } from "element-plus/es";
|
|
7
7
|
import "element-plus/es/components/base/style/css";
|
package/fy-tree/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
|
-
import { t } from "../chunks/
|
|
2
|
+
import { t } from "../chunks/B24kbvxB.mjs";
|
|
3
3
|
import { t as n } from "../chunks/DTeHffqJ.mjs";
|
|
4
|
-
import { i as r, t as i } from "../chunks/
|
|
4
|
+
import { i as r, t as i } from "../chunks/CdLdGxlD.mjs";
|
|
5
5
|
import { C as a, g as o, m as s } from "../chunks/CXHJqvbJ.mjs";
|
|
6
6
|
import { ElInput as c, ElLoadingDirective as l, ElScrollbar as u, ElTree as d } from "element-plus/es";
|
|
7
7
|
import "element-plus/es/components/base/style/css";
|
package/iframe-window/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/B24kbvxB.mjs";
|
|
2
2
|
import { createBlock as t, createElementVNode as n, mergeModels as r, mergeProps as i, openBlock as a, useModel as o, withCtx as s } from "vue";
|
|
3
3
|
import "./style.css";
|
|
4
4
|
//#region src/components/iframe-window/IframeWindow.vue
|
package/image-cropper/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/B24kbvxB.mjs";
|
|
2
2
|
import { t } from "../chunks/DTeHffqJ.mjs";
|
|
3
3
|
import { createBlock as n, createCommentVNode as r, createElementVNode as i, createTextVNode as a, createVNode as o, mergeModels as s, normalizeStyle as c, openBlock as l, ref as u, unref as d, useModel as f, useTemplateRef as p, withCtx as m } from "vue";
|
|
4
4
|
import { dataURLtoFile as h } from "@web-utils/core";
|