@web-utils/form-ui 1.0.0-beta5 → 1.0.0-beta50
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 +60 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -1
- package/chunks/6yfBZFOB.mjs +56 -0
- package/chunks/B-zqRAXo.mjs +69 -0
- package/chunks/B1IPSTA6.mjs +198 -0
- package/chunks/B9gA65rt2.mjs +38 -0
- package/chunks/BA2KEptL.mjs +172 -0
- package/chunks/BBERmTup.mjs +83 -0
- package/chunks/BUGCiCnl.mjs +83 -0
- package/chunks/BbSPWDDZ.mjs +100 -0
- package/chunks/BfxDxIg0.mjs +106 -0
- package/chunks/BqWvBF14.mjs +35 -0
- package/chunks/BsZgAJX_2.mjs +81 -0
- package/chunks/BtcjAHE6.mjs +317 -0
- package/chunks/ByHz4mmh.mjs +87 -0
- package/chunks/C2zgFLYO.mjs +185 -0
- package/chunks/CAd1zK9Q.mjs +25 -0
- package/chunks/CJdkjadi.mjs +17 -0
- package/chunks/CabldOLo.mjs +157 -0
- package/chunks/CkOD-_VV.mjs +8 -0
- package/chunks/Cln3RBAD.mjs +660 -0
- package/chunks/CqoVAnxC2.mjs +93 -0
- package/chunks/CuAoMR3n.mjs +105 -0
- package/chunks/CxTg0r4n.mjs +166 -0
- package/chunks/D0Zg2CV0.mjs +57 -0
- package/chunks/DA7oGHSX.mjs +141 -0
- package/chunks/DOP3aBxf.mjs +93 -0
- package/chunks/DOZRzqlo.mjs +37 -0
- package/chunks/D_qiRmiE.mjs +230 -0
- package/chunks/DcTVYqeJ.mjs +113 -0
- package/chunks/Dkd5BC98.mjs +198 -0
- package/chunks/GI8krYU82.mjs +478 -0
- package/chunks/V2p-PCpL.mjs +176 -0
- package/chunks/bFbPPcdq.mjs +25 -0
- package/chunks/cqIZWDHo.mjs +614 -0
- package/chunks/eae6huQB.mjs +25 -0
- package/chunks/gCeDFHo1.mjs +32 -0
- package/chunks/gLPy4Sus.mjs +164 -0
- package/chunks/hlha6Bhc.mjs +107 -0
- package/chunks/hzaYr6Ud2.mjs +207 -0
- package/chunks/kflKDW4T2.mjs +146 -0
- package/chunks/pIzhYsBe.mjs +93 -0
- package/chunks/vXQf89tS.mjs +1361 -0
- package/chunks/wXeqV-_7.mjs +89 -0
- package/chunks/zwXzk9ff2.mjs +568 -0
- package/confirm-button/index.d.ts +115 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +86 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +53 -0
- package/constants/index.mjs +4 -0
- package/dict-render/index.d.ts +28 -0
- package/dict-render/index.mjs +2 -0
- package/editable-tree/index.d.ts +254 -0
- package/editable-tree/index.mjs +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +337 -16
- package/element-dialog/index.mjs +2 -91
- package/element-resize-observer/index.d.ts +8 -0
- package/element-resize-observer/index.mjs +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.d.ts +2 -2
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +116 -0
- package/form-button/index.mjs +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +472 -0
- package/form-cascader/index.mjs +2 -0
- package/form-checkbox/index.d.ts +236 -16
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +364 -0
- package/form-checkbox-group/index.mjs +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.d.ts +390 -19
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +87 -20
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +145 -13
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +301 -20
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +217 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +307 -16
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +307 -16
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +246 -18
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +307 -16
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +263 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +434 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item-config-provider/index.d.ts +22 -0
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +141 -11
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +303 -16
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +254 -14
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +537 -18
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +283 -16
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +272 -14
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +269 -0
- package/form-table/index.mjs +2 -0
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.mjs +2 -0
- package/form-text/index.d.ts +165 -13
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +319 -0
- package/form-time-select/index.mjs +2 -0
- package/form-view/index.mjs +1 -1
- package/helper/dictionary.d.ts +15 -0
- package/helper/dictionary.mjs +97 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +57 -36
- package/index.mjs +59 -61
- package/package.json +10 -5
- package/pageable-table/index.d.ts +398 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/resolver/index.mjs +29 -0
- package/sub-table/index.d.ts +100 -0
- package/sub-table/index.mjs +472 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.d.ts +97 -0
- package/sub-table-plus/index.mjs +2 -0
- package/sub-table-plus/style.css +1 -0
- package/table-column/index.d.ts +160 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +95 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.d.ts +340 -1
- package/table-view/index.mjs +454 -6
- package/table-view/style.css +1 -0
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.mjs +1 -8
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +228 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/form-check-box-group/index.d.ts +0 -93
- package/form-check-box-group/index.mjs +0 -2
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
package/chunks/jn_iQrVZ.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { i as e, n as t, t as n } from "./B4M_TFeR.mjs";
|
|
2
|
-
import { t as r } from "./BHNKrW1j.mjs";
|
|
3
|
-
import { createVNode as i, isVNode as a, mergeProps as o } from "vue";
|
|
4
|
-
//#region src/components/form/FormInputPhoneNumber.vue?vue&type=script&lang.jsx
|
|
5
|
-
function s(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormInputPhoneNumber.vue
|
|
10
|
-
var c = {
|
|
11
|
-
name: "FormInputPhoneNumber",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...t,
|
|
15
|
-
modelValue: String
|
|
16
|
-
},
|
|
17
|
-
emits: [...n],
|
|
18
|
-
setup(t, { emit: n, slots: a }) {
|
|
19
|
-
let c = (t) => e(n, t);
|
|
20
|
-
return () => i(r, o(t, {
|
|
21
|
-
modelValue: t.modelValue,
|
|
22
|
-
type: "phone",
|
|
23
|
-
"onUpdate:modelValue": c
|
|
24
|
-
}), s(a) ? a : { default: () => [a] });
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { c as t };
|
package/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formHolderKey: unique symbol;
|
package/constants.mjs
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
modelValue: (StringConstructor | ArrayConstructor)[];
|
|
3
|
-
options: ArrayConstructor;
|
|
4
|
-
stringMode: BooleanConstructor;
|
|
5
|
-
delimiter: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
wrapFormItem: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
disabled: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
|
-
col: BooleanConstructor;
|
|
18
|
-
label: StringConstructor;
|
|
19
|
-
prop: StringConstructor;
|
|
20
|
-
required: BooleanConstructor;
|
|
21
|
-
rules: ArrayConstructor;
|
|
22
|
-
span: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
default: number;
|
|
25
|
-
};
|
|
26
|
-
block: BooleanConstructor;
|
|
27
|
-
formItemClass: StringConstructor;
|
|
28
|
-
hideLabel: BooleanConstructor;
|
|
29
|
-
tips: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
};
|
|
32
|
-
tipsAfterLabel: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
labelColspan: (StringConstructor | NumberConstructor)[];
|
|
37
|
-
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
38
|
-
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
39
|
-
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
40
|
-
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, string[], string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
-
modelValue: (StringConstructor | ArrayConstructor)[];
|
|
42
|
-
options: ArrayConstructor;
|
|
43
|
-
stringMode: BooleanConstructor;
|
|
44
|
-
delimiter: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
wrapFormItem: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
disabled: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
col: BooleanConstructor;
|
|
57
|
-
label: StringConstructor;
|
|
58
|
-
prop: StringConstructor;
|
|
59
|
-
required: BooleanConstructor;
|
|
60
|
-
rules: ArrayConstructor;
|
|
61
|
-
span: {
|
|
62
|
-
type: NumberConstructor;
|
|
63
|
-
default: number;
|
|
64
|
-
};
|
|
65
|
-
block: BooleanConstructor;
|
|
66
|
-
formItemClass: StringConstructor;
|
|
67
|
-
hideLabel: BooleanConstructor;
|
|
68
|
-
tips: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
};
|
|
71
|
-
tipsAfterLabel: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
labelColspan: (StringConstructor | NumberConstructor)[];
|
|
76
|
-
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
77
|
-
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
78
|
-
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
79
|
-
}>> & Readonly<{
|
|
80
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
81
|
-
}>, {
|
|
82
|
-
required: boolean;
|
|
83
|
-
span: number;
|
|
84
|
-
block: boolean;
|
|
85
|
-
hideLabel: boolean;
|
|
86
|
-
tipsAfterLabel: boolean;
|
|
87
|
-
disabled: boolean;
|
|
88
|
-
wrapFormItem: boolean;
|
|
89
|
-
col: boolean;
|
|
90
|
-
stringMode: boolean;
|
|
91
|
-
delimiter: string;
|
|
92
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
93
|
-
export default _default;
|
package/input/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.form-item.with-tips .el-form-item__content{flex-wrap:nowrap}.form-item.required.el-form-item.is-required>.el-form-item__label:before,.form-item.required.el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before{display:block!important}.form-item-input-info{color:gray;cursor:help;margin-left:4px;font-size:16px}
|
package/resolver.mjs
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import "./element-dialog/index.mjs";
|
|
2
|
-
import "./empty-view/index.mjs";
|
|
3
|
-
import "./flex-scroll-area/index.mjs";
|
|
4
|
-
import "./form-advice/index.mjs";
|
|
5
|
-
import "./form-cell/index.mjs";
|
|
6
|
-
import "./chunks/B4M_TFeR.mjs";
|
|
7
|
-
import "./chunks/CBcdalMX.mjs";
|
|
8
|
-
import "./chunks/Bxj372sF.mjs";
|
|
9
|
-
import "./chunks/Bsz7y4Xp.mjs";
|
|
10
|
-
import "./form-red-table/index.mjs";
|
|
11
|
-
import "./chunks/B5BIQCcK.mjs";
|
|
12
|
-
import "./chunks/BZ8aOa78.mjs";
|
|
13
|
-
import "./chunks/BHNKrW1j.mjs";
|
|
14
|
-
import "./chunks/C6Li3-l7.mjs";
|
|
15
|
-
import "./chunks/CstztYMu.mjs";
|
|
16
|
-
import "./chunks/CdRsyF0n.mjs";
|
|
17
|
-
import "./chunks/jn_iQrVZ.mjs";
|
|
18
|
-
import "./form-item-group/index.mjs";
|
|
19
|
-
import "./chunks/BO9jWhBl.mjs";
|
|
20
|
-
import "./chunks/DC9b53M6.mjs";
|
|
21
|
-
import "./chunks/DpJQABVD.mjs";
|
|
22
|
-
import "./chunks/ZsLNWI9x.mjs";
|
|
23
|
-
import "./chunks/C33EmJN8.mjs";
|
|
24
|
-
import "./chunks/DDVAgRED.mjs";
|
|
25
|
-
import "./chunks/ClNahmiU.mjs";
|
|
26
|
-
/* empty css */
|
|
27
|
-
import { hyphenate as e } from "@web-utils/core";
|
|
28
|
-
//#region src/components/index.ts
|
|
29
|
-
var t = /* @__PURE__ */ "ElementDialog.EmptyView.FlexScrollArea.FormAdvice.FormCell.FormCheckbox.FormCheckBoxGroup.FormDatePicker.FormHolder.FormImage.FormInput.FormInputEmail.FormInputIdCard.FormInputNumber.FormInputPhoneNumber.FormInputTag.FormInputTime.FormItemGroup.FormItemX.FormRadioGroup.FormRate.FormRedTable.FormRow.FormSelect.FormSlider.FormSwitch.FormText.FormView.TableView.Toolbar.ToolbarButton".split("."), n = [
|
|
30
|
-
"FlexScrollArea",
|
|
31
|
-
"FormAdvice",
|
|
32
|
-
"FormCell",
|
|
33
|
-
"FormCheckbox",
|
|
34
|
-
"FormCheckBoxGroup",
|
|
35
|
-
"FormDatePicker",
|
|
36
|
-
"FormImage",
|
|
37
|
-
"FormInput",
|
|
38
|
-
"FormInputEmail",
|
|
39
|
-
"FormInputIdCard",
|
|
40
|
-
"FormInputNumber",
|
|
41
|
-
"FormInputPhoneNumber",
|
|
42
|
-
"FormInputTag",
|
|
43
|
-
"FormInputTime",
|
|
44
|
-
"FormRadioGroup",
|
|
45
|
-
"FormRate",
|
|
46
|
-
"FormSelect",
|
|
47
|
-
"FormSlider",
|
|
48
|
-
"FormSwitch",
|
|
49
|
-
"FormText",
|
|
50
|
-
"FormView",
|
|
51
|
-
"TableView",
|
|
52
|
-
"Toolbar",
|
|
53
|
-
"ToolbarButton"
|
|
54
|
-
], r = ({ importStyle: r = !1, excludeComponents: a = [] } = {}) => {
|
|
55
|
-
let o = {}, s = {}, c = {};
|
|
56
|
-
return t.forEach((e) => {
|
|
57
|
-
o[e] = !0;
|
|
58
|
-
}), n.forEach((e) => {
|
|
59
|
-
s[e] = !0;
|
|
60
|
-
}), a.forEach((e) => {
|
|
61
|
-
c[e] = !0;
|
|
62
|
-
}), (t) => {
|
|
63
|
-
if (c[t] === !0 || o[t] !== !0) return;
|
|
64
|
-
let n = e(t);
|
|
65
|
-
return {
|
|
66
|
-
from: `@web-utils/form-ui/${n}/index.mjs`,
|
|
67
|
-
sideEffects: i({
|
|
68
|
-
componentName: t,
|
|
69
|
-
name: n,
|
|
70
|
-
importStyle: r,
|
|
71
|
-
noStylesComponentNameMap: s
|
|
72
|
-
})
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
}, i = ({ componentName: e, name: t, importStyle: n = !1, noStylesComponentNameMap: r } = {}) => {
|
|
76
|
-
if (n && r[e] !== !0) return ["@web-utils/form-ui/base.css", `@web-utils/form-ui/${t}/style.css`];
|
|
77
|
-
};
|
|
78
|
-
//#endregion
|
|
79
|
-
export { r as FormUiResolver };
|
|
File without changes
|