@web-utils/form-ui 1.0.0-beta12 → 1.0.0-beta13
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/chunks/{78hGOZc9.mjs → ALt4yf68.mjs} +1 -1
- package/chunks/{BMkPC2kt.mjs → B9ZV4Ei4.mjs} +2 -2
- package/chunks/{pFgf4c4i.mjs → BG_Z3LzE.mjs} +1 -1
- package/chunks/{DAjuA2O6.mjs → BGad3Wff.mjs} +2 -2
- package/chunks/{Bs_IYr3X.mjs → BJCpNo2b.mjs} +1 -1
- package/chunks/BM34G781.mjs +26848 -0
- package/chunks/{1glrRdhD.mjs → BYqiGFdT.mjs} +1 -1
- package/chunks/{BooKKkk0.mjs → Bc4d8vFN.mjs} +1 -1
- package/chunks/{C4JpDEWP.mjs → BouiHKbN.mjs} +1 -1
- package/chunks/{BnycM8aG.mjs → CQowXkhx.mjs} +1 -1
- package/chunks/{GlsJxLiF.mjs → CaHyPp0T.mjs} +1 -1
- package/chunks/{Dywq0t6V.mjs → CmtaSp-T.mjs} +1 -1
- package/chunks/{BeIZhqg_.mjs → Cqm2ahW2.mjs} +1 -1
- package/chunks/{BuZDN2DV.mjs → DZdQxw_s.mjs} +2 -2
- package/chunks/{BID1Rr2O.mjs → DeOt3q3a.mjs} +1 -1
- package/chunks/{BaExlbMY.mjs → Dr0gqiWt.mjs} +1 -1
- package/chunks/{BmQGmui_.mjs → oRDjUjCZ.mjs} +1 -1
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/index.mjs +32 -33
- package/json-editor/index.mjs +1 -1
- package/json-editor/style.css +1 -1
- package/package.json +1 -2
- package/resolver.mjs +12 -64
- package/web-types.json +1 -1
- package/chunks/BPJNSq9M.mjs +0 -4
- package/chunks/DZpWiA3x.mjs +0 -74
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-utils/form-ui",
|
|
3
3
|
"description": "form-ui",
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-beta13",
|
|
5
5
|
"author": "Simple",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@web-utils/core": "^6.0.0-beta05",
|
|
29
29
|
"element-plus": "^2.13.7",
|
|
30
|
-
"jsoneditor": "^10.4.3",
|
|
31
30
|
"vue": "^3.5.32"
|
|
32
31
|
}
|
|
33
32
|
}
|
package/resolver.mjs
CHANGED
|
@@ -1,74 +1,22 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "./form-cell/index.mjs";
|
|
6
|
-
import "./chunks/BeIZhqg_.mjs";
|
|
7
|
-
import "./chunks/C4JpDEWP.mjs";
|
|
8
|
-
import "./chunks/BmQGmui_.mjs";
|
|
9
|
-
import "./chunks/BnycM8aG.mjs";
|
|
10
|
-
import "./form-red-table/index.mjs";
|
|
11
|
-
import "./chunks/6Ukll2os.mjs";
|
|
12
|
-
import "./chunks/GlsJxLiF.mjs";
|
|
13
|
-
import "./chunks/Bs_IYr3X.mjs";
|
|
14
|
-
import "./chunks/BuZDN2DV.mjs";
|
|
15
|
-
import "./chunks/DAjuA2O6.mjs";
|
|
16
|
-
import "./chunks/78hGOZc9.mjs";
|
|
17
|
-
import "./chunks/BMkPC2kt.mjs";
|
|
18
|
-
import "./form-item-config-provider/index.mjs";
|
|
19
|
-
import "./form-item-group/index.mjs";
|
|
20
|
-
import "./chunks/pFgf4c4i.mjs";
|
|
21
|
-
import "./chunks/BID1Rr2O.mjs";
|
|
22
|
-
import "./chunks/Bpox2cVQ.mjs";
|
|
23
|
-
import "./chunks/Dywq0t6V.mjs";
|
|
24
|
-
import "./chunks/BaExlbMY.mjs";
|
|
25
|
-
import "./chunks/BooKKkk0.mjs";
|
|
26
|
-
import "./chunks/1glrRdhD.mjs";
|
|
27
|
-
/* empty css */
|
|
28
|
-
import "./chunks/DZpWiA3x.mjs";
|
|
29
|
-
import { hyphenate as e } from "@web-utils/core";
|
|
30
|
-
//#region src/components/index.ts
|
|
31
|
-
var t = /* @__PURE__ */ "ElementDialog.EmptyView.FlexScrollArea.FormAdvice.FormCell.FormCheckbox.FormCheckBoxGroup.FormDatePicker.FormHolder.FormImage.FormInput.FormInputEmail.FormInputIdCard.FormInputNumber.FormInputPhoneNumber.FormInputTag.FormInputTime.FormItemConfigProvider.FormItemGroup.FormItemX.FormRadioGroup.FormRate.FormRedTable.FormRow.FormSelect.FormSlider.FormSwitch.FormText.FormView.JsonEditor.TableView.Toolbar.ToolbarButton".split("."), n = [
|
|
32
|
-
"FlexScrollArea",
|
|
33
|
-
"FormAdvice",
|
|
34
|
-
"FormCell",
|
|
35
|
-
"FormCheckbox",
|
|
36
|
-
"FormCheckBoxGroup",
|
|
37
|
-
"FormDatePicker",
|
|
38
|
-
"FormImage",
|
|
39
|
-
"FormInputEmail",
|
|
40
|
-
"FormInputIdCard",
|
|
41
|
-
"FormInputNumber",
|
|
42
|
-
"FormInputPhoneNumber",
|
|
43
|
-
"FormInputTag",
|
|
44
|
-
"FormInputTime",
|
|
45
|
-
"FormItemConfigProvider",
|
|
46
|
-
"FormRadioGroup",
|
|
47
|
-
"FormRate",
|
|
48
|
-
"FormSelect",
|
|
49
|
-
"FormSlider",
|
|
50
|
-
"FormSwitch",
|
|
51
|
-
"FormText",
|
|
52
|
-
"FormView",
|
|
53
|
-
"TableView",
|
|
54
|
-
"Toolbar",
|
|
55
|
-
"ToolbarButton"
|
|
56
|
-
], r = ({ importStyle: r = !1, excludeComponents: a = [] } = {}) => {
|
|
1
|
+
import { componentNames as e, noStylesComponents as t } from "./index.mjs";
|
|
2
|
+
import { hyphenate as n } from "@web-utils/core";
|
|
3
|
+
//#region src/components/resolver.ts
|
|
4
|
+
var r = ({ importStyle: r = !1, excludeComponents: a = [] } = {}) => {
|
|
57
5
|
let o = {}, s = {}, c = {};
|
|
58
|
-
return
|
|
6
|
+
return e.forEach((e) => {
|
|
59
7
|
o[e] = !0;
|
|
60
|
-
}),
|
|
8
|
+
}), t.forEach((e) => {
|
|
61
9
|
s[e] = !0;
|
|
62
10
|
}), a.forEach((e) => {
|
|
63
11
|
c[e] = !0;
|
|
64
|
-
}), (
|
|
65
|
-
if (c[
|
|
66
|
-
let
|
|
12
|
+
}), (e) => {
|
|
13
|
+
if (c[e] === !0 || o[e] !== !0) return;
|
|
14
|
+
let t = n(e);
|
|
67
15
|
return {
|
|
68
|
-
from: `@web-utils/form-ui/${
|
|
16
|
+
from: `@web-utils/form-ui/${t}/index.mjs`,
|
|
69
17
|
sideEffects: i({
|
|
70
|
-
componentName:
|
|
71
|
-
name:
|
|
18
|
+
componentName: e,
|
|
19
|
+
name: t,
|
|
72
20
|
importStyle: r,
|
|
73
21
|
noStylesComponentNameMap: s
|
|
74
22
|
})
|