@web-utils/form-ui 1.0.0-beta16 → 1.0.0-beta18
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/base.css +1 -1
- package/chunks/53gSZ624.mjs +41 -0
- package/chunks/7Desvoh-.mjs +222 -0
- package/chunks/7vQ29mMd.mjs +53 -0
- package/chunks/8ORg8rrN.mjs +108 -0
- package/chunks/B4LDPAZu.mjs +98 -0
- package/chunks/B5B9au3z.mjs +180 -0
- package/chunks/BVzpe2oN.mjs +76 -0
- package/chunks/Bb5BT11-.mjs +26 -0
- package/chunks/Bh_CMUlo.mjs +12 -0
- package/chunks/Bj5l6sFx.mjs +73 -0
- package/chunks/BsbfEk0E.mjs +26 -0
- package/chunks/C1DlzLpD.mjs +222 -0
- package/chunks/CFwUzdTu.mjs +95 -0
- package/chunks/CKw_uzPc.mjs +108 -0
- package/chunks/D2WviyxF.mjs +166 -0
- package/chunks/D9GcEl6r.mjs +8 -0
- package/chunks/DCKxvrCR.mjs +189 -0
- package/chunks/DH1_fmkX.mjs +26 -0
- package/chunks/DUDm42gn.mjs +100 -0
- package/chunks/DgbDpRQg.mjs +51 -0
- package/chunks/DkqF25wT.mjs +106 -0
- package/chunks/DynLjTwi.mjs +17 -0
- package/chunks/Q9EsFJ4H.mjs +88 -0
- package/chunks/wfL1FAwc.mjs +1360 -0
- package/constants.d.ts +26 -1
- package/constants.mjs +2 -2
- package/element-dialog/index.d.ts +58 -15
- package/element-dialog/index.mjs +2 -94
- package/form-cascader/index.d.ts +2 -0
- package/form-cascader/index.mjs +10 -0
- package/form-check-box-group/index.d.ts +196 -22
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +188 -24
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +307 -20
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +92 -21
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +138 -20
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +281 -40
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +215 -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 +279 -21
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +279 -21
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +228 -24
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +279 -21
- package/form-input-phone-number/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +3 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +46 -30
- package/form-item-x/index.d.ts +124 -15
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +196 -22
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +232 -18
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +455 -22
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +261 -18
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +238 -20
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +144 -20
- package/form-text/index.mjs +1 -1
- package/index.d.ts +4 -1
- package/index.mjs +37 -60
- package/month-calendar/index.mjs +312 -2
- package/month-calendar/style.css +1 -1
- package/package.json +3 -1
- 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/year-calendar/index.mjs +2 -1
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BDhGvPmU.mjs +0 -32
- package/chunks/BXOvvlL2.mjs +0 -35
- package/chunks/C6tYoDfK.mjs +0 -43
- package/chunks/CAYDWMXC.mjs +0 -47
- package/chunks/CXHvVx2H.mjs +0 -54
- package/chunks/CykRgGj0.mjs +0 -90
- package/chunks/D4SiGR5u.mjs +0 -28
- package/chunks/DAEpRn3D.mjs +0 -28
- package/chunks/DK2YoEOD.mjs +0 -167
- package/chunks/DL4ovOwO.mjs +0 -36
- package/chunks/DXrQ5tWJ.mjs +0 -35
- package/chunks/Xww4oyW1.mjs +0 -47
- package/chunks/ciEWoJ1U.mjs +0 -23
- package/chunks/dwnrVqcq.mjs +0 -315
- package/chunks/jpMiw_3M.mjs +0 -74
- package/chunks/vlkluoXb.mjs +0 -32
- package/chunks/wo0ekOcp.mjs +0 -28
- /package/chunks/{CI_28Uw4.mjs → 98bTmBOR.mjs} +0 -0
package/month-calendar/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.c-wrapper[data-v-
|
|
1
|
+
.c-wrapper[data-v-2a7f150d]{padding:10px}.calendar[data-v-2a7f150d]{text-align:center;color:#353c46cc;background-color:#fff;border-radius:2px;min-width:0;min-height:295px;text-decoration:none;transition:transform .3s;position:relative;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.calendar[data-v-2a7f150d]:hover{z-index:2}@media (min-width:1024px){.calendar[data-v-2a7f150d]:hover{transform:scale(1.15);box-shadow:0 7px 21px #0000001a}}.calendar .calendar__title[data-v-2a7f150d]{cursor:pointer;border-bottom:1px solid #c4c4c44d;flex:100%;justify-content:center;align-items:center;height:50px;margin-bottom:12px;font-size:18px;font-weight:700;display:flex}.calendar .calendar__body[data-v-2a7f150d]{flex-wrap:wrap;place-content:flex-start;min-width:194px;padding:0 20px;display:flex}.calendar .calendar__day[data-v-2a7f150d]{color:#5db3d4;flex:14.28%;justify-content:center;align-items:center;height:31px;font-size:16px;display:flex}.calendar .day__weektitle[data-v-2a7f150d]{color:#353c46cc}.calendar .day[data-v-2a7f150d]{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:5px;justify-content:center;align-items:center;width:22px;height:22px;font-size:14px;display:flex;position:relative}.calendar .day[data-v-2a7f150d]:after{content:"";z-index:1;background-color:#0000;border-radius:50%;width:10px;height:10px;display:block;position:absolute;top:-5px;right:-5px}.calendar .day.calendar--active[data-v-2a7f150d]:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20fill='%23FF6060'%20d='M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm5%2011H7v-2h10v2z'/%3e%3c/svg%3e");background-size:100% 100%}.calendar .day[data-v-2a7f150d]:not(.calendar__day--otherMonth):hover{background-color:#6666661a;border-radius:5px}.calendar .day.calendar--active[data-v-2a7f150d]{color:#bcbcbc;background-color:#ffbaba80}.calendar .day.calendar--active.info[data-v-2a7f150d]{color:#fff;background-color:#17a2b8cc}.calendar .day.calendar--active.info[data-v-2a7f150d]:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%2317a2b8'%20d='M0%200h24v24H0V0z'/%3e%3cpath%20fill='white'%20d='M11%207h2v2h-2zm0%204h2v6h-2zm1-9C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm0%2018c-4.41%200-8-3.59-8-8s3.59-8%208-8%208%203.59%208%208-3.59%208-8%208z'/%3e%3c/svg%3e");background-size:100% 100%}.calendar .day.calendar--active.warning[data-v-2a7f150d]{color:#fff;background-color:#ffc107b3}.calendar .day.calendar--active.warning[data-v-2a7f150d]:after{background-color:#eaeaea4d;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23ffc107'%20d='M4.47%2021h15.06c1.54%200%202.5-1.67%201.73-3L13.73%204.99c-.77-1.33-2.69-1.33-3.46%200L2.74%2018c-.77%201.33.19%203%201.73%203zM12%2014c-.55%200-1-.45-1-1v-2c0-.55.45-1%201-1s1%20.45%201%201v2c0%20.55-.45%201-1%201zm1%204h-2v-2h2v2z'/%3e%3c/svg%3e");background-size:100% 100%}.calendar .calendar__day--otherMonth[data-v-2a7f150d]{color:#eaeaea;cursor:auto}
|
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-beta18",
|
|
5
5
|
"author": "Simple",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@web-utils/core": "^6.0.0-beta05",
|
|
29
|
+
"@web-utils/integrations": "6.0.0-beta05",
|
|
30
|
+
"cronosjs": "^1.7.1",
|
|
29
31
|
"dayjs": "^1.11.20",
|
|
30
32
|
"element-plus": "^2.13.7",
|
|
31
33
|
"vue": "^3.5.32"
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
data: ObjectConstructor;
|
|
3
|
+
expression: StringConstructor;
|
|
4
|
+
runsParser: FunctionConstructor;
|
|
5
|
+
quartz: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {
|
|
10
|
+
currentYear: number;
|
|
11
|
+
exps: {
|
|
12
|
+
type: string;
|
|
13
|
+
expression: null;
|
|
14
|
+
}[];
|
|
15
|
+
second: {
|
|
16
|
+
cronEvery: null;
|
|
17
|
+
incrementStart: number;
|
|
18
|
+
incrementIncrement: number;
|
|
19
|
+
rangeStart: null;
|
|
20
|
+
rangeEnd: null;
|
|
21
|
+
specificSpecific: never[];
|
|
22
|
+
};
|
|
23
|
+
minute: {
|
|
24
|
+
cronEvery: null;
|
|
25
|
+
incrementStart: number;
|
|
26
|
+
incrementIncrement: number;
|
|
27
|
+
rangeStart: null;
|
|
28
|
+
rangeEnd: null;
|
|
29
|
+
specificSpecific: never[];
|
|
30
|
+
};
|
|
31
|
+
hour: {
|
|
32
|
+
cronEvery: null;
|
|
33
|
+
incrementStart: number;
|
|
34
|
+
incrementIncrement: number;
|
|
35
|
+
rangeStart: null;
|
|
36
|
+
rangeEnd: null;
|
|
37
|
+
specificSpecific: never[];
|
|
38
|
+
};
|
|
39
|
+
day: {
|
|
40
|
+
cronEvery: null;
|
|
41
|
+
incrementStart: number;
|
|
42
|
+
incrementIncrement: number;
|
|
43
|
+
rangeStart: null;
|
|
44
|
+
rangeEnd: null;
|
|
45
|
+
specificSpecific: never[];
|
|
46
|
+
cronDaysBeforeEomMinus: null;
|
|
47
|
+
cronDaysNearestWeekday: null;
|
|
48
|
+
};
|
|
49
|
+
week: {
|
|
50
|
+
cronEvery: null;
|
|
51
|
+
incrementStart: number;
|
|
52
|
+
incrementIncrement: number;
|
|
53
|
+
specificSpecific: never[];
|
|
54
|
+
cronLastSpecificDomDay: number;
|
|
55
|
+
cronNthDayDay: number;
|
|
56
|
+
cronNthDayNth: number;
|
|
57
|
+
};
|
|
58
|
+
month: {
|
|
59
|
+
cronEvery: null;
|
|
60
|
+
incrementStart: number;
|
|
61
|
+
incrementIncrement: number;
|
|
62
|
+
rangeStart: null;
|
|
63
|
+
rangeEnd: null;
|
|
64
|
+
specificSpecific: never[];
|
|
65
|
+
};
|
|
66
|
+
year: {
|
|
67
|
+
cronEvery: null;
|
|
68
|
+
incrementStart: number;
|
|
69
|
+
incrementIncrement: number;
|
|
70
|
+
rangeStart: null;
|
|
71
|
+
rangeEnd: null;
|
|
72
|
+
specificSpecific: never[];
|
|
73
|
+
};
|
|
74
|
+
output: {
|
|
75
|
+
second: null;
|
|
76
|
+
minute: null;
|
|
77
|
+
hour: null;
|
|
78
|
+
day: null;
|
|
79
|
+
month: null;
|
|
80
|
+
week: null;
|
|
81
|
+
year: null;
|
|
82
|
+
};
|
|
83
|
+
runs: never[];
|
|
84
|
+
defaultStr: string;
|
|
85
|
+
weekOptions: {
|
|
86
|
+
value: string;
|
|
87
|
+
label: string;
|
|
88
|
+
}[];
|
|
89
|
+
}, {
|
|
90
|
+
text(): {
|
|
91
|
+
Seconds: {
|
|
92
|
+
name: string;
|
|
93
|
+
every: string;
|
|
94
|
+
interval: string[];
|
|
95
|
+
specific: string;
|
|
96
|
+
cycle: string[];
|
|
97
|
+
};
|
|
98
|
+
Minutes: {
|
|
99
|
+
name: string;
|
|
100
|
+
every: string;
|
|
101
|
+
interval: string[];
|
|
102
|
+
specific: string;
|
|
103
|
+
cycle: string[];
|
|
104
|
+
};
|
|
105
|
+
Hours: {
|
|
106
|
+
name: string;
|
|
107
|
+
every: string;
|
|
108
|
+
interval: string[];
|
|
109
|
+
specific: string;
|
|
110
|
+
cycle: string[];
|
|
111
|
+
};
|
|
112
|
+
Day: {
|
|
113
|
+
name: string;
|
|
114
|
+
every: string;
|
|
115
|
+
intervalDay: string[];
|
|
116
|
+
specificDay: string;
|
|
117
|
+
lastDay: string;
|
|
118
|
+
lastWorkday: string;
|
|
119
|
+
beforeEndMonth: string[];
|
|
120
|
+
nearestWorkday: string[];
|
|
121
|
+
};
|
|
122
|
+
Week: {
|
|
123
|
+
name: string;
|
|
124
|
+
every: string;
|
|
125
|
+
intervalWeek: string[];
|
|
126
|
+
specificWeek: string;
|
|
127
|
+
lastWeek: string[];
|
|
128
|
+
someWeekday: string[];
|
|
129
|
+
};
|
|
130
|
+
Month: {
|
|
131
|
+
name: string;
|
|
132
|
+
every: string;
|
|
133
|
+
interval: string[];
|
|
134
|
+
specific: string;
|
|
135
|
+
cycle: string[];
|
|
136
|
+
};
|
|
137
|
+
Year: {
|
|
138
|
+
name: string;
|
|
139
|
+
every: string;
|
|
140
|
+
interval: string[];
|
|
141
|
+
specific: string;
|
|
142
|
+
cycle: string[];
|
|
143
|
+
};
|
|
144
|
+
Save: string;
|
|
145
|
+
Close: string;
|
|
146
|
+
};
|
|
147
|
+
secondsText(): string;
|
|
148
|
+
minutesText(): string;
|
|
149
|
+
hoursText(): string;
|
|
150
|
+
daysText(): string;
|
|
151
|
+
weeksText(): string;
|
|
152
|
+
weeksTextQuartz(): string;
|
|
153
|
+
monthsText(): string;
|
|
154
|
+
yearsText(): string;
|
|
155
|
+
cron(): string;
|
|
156
|
+
}, {
|
|
157
|
+
copyCron(): void;
|
|
158
|
+
getValue(): string;
|
|
159
|
+
change(): void;
|
|
160
|
+
close(): void;
|
|
161
|
+
rest(data: any): void;
|
|
162
|
+
resolveExpression(): void;
|
|
163
|
+
commonParser(expressionType: any, str: any): void;
|
|
164
|
+
resolveWeek(str: any): void;
|
|
165
|
+
resolveDay(str: any): void;
|
|
166
|
+
resolveStar(expressionObj: any, type?: string): void;
|
|
167
|
+
resolveSlash(expressionObj: any, expression: any, type?: string): void;
|
|
168
|
+
resolveLine(expressionObj: any, expression: any, type?: string): void;
|
|
169
|
+
resolveComma(expressionObj: any, expression: any, type?: string): void;
|
|
170
|
+
setSecond(val: any): void;
|
|
171
|
+
setMinute(val: any): void;
|
|
172
|
+
setHour(val: any): void;
|
|
173
|
+
setMonth(val: any): void;
|
|
174
|
+
setYear(val: any): void;
|
|
175
|
+
setDay(val: any): void;
|
|
176
|
+
setWeek(val: any): void;
|
|
177
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "change")[], "close" | "change", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
178
|
+
data: ObjectConstructor;
|
|
179
|
+
expression: StringConstructor;
|
|
180
|
+
runsParser: FunctionConstructor;
|
|
181
|
+
quartz: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
}>> & Readonly<{
|
|
186
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
}>, {
|
|
189
|
+
quartz: boolean;
|
|
190
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
191
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vue-cron{min-width:600px}.vue-cron .el-tabs{margin-bottom:30px}.vue-cron .language{z-index:1;position:absolute;right:25px}.vue-cron .el-tabs{box-shadow:none}.vue-cron .el-tabs .el-tabs__content{padding:0 14px}.vue-cron .tabBody{display:block}.vue-cron .tabBody .long .el-select{width:200px}.vue-cron .tabBody .el-input-number{width:110px}.vue-cron .tabBody .el-radio{margin-top:10px;display:block}.vue-cron .tabBody .el-radio:last-child{margin-bottom:10px}.vue-cron .bottom{text-align:center;width:100%;margin-top:5px;position:relative}.vue-cron .cron-expression{border:1px solid #ccc;border-radius:4px;margin-top:20px;padding:14px;position:relative}.vue-cron .cron-expression .title{background:#fff;padding:10px 40px;position:absolute;top:-50%;left:50%;transform:translate(-50%,60%)}.vue-cron .cron-expression .field-name{text-align:center;margin-bottom:6px}.vue-cron .cron-expression .field-value{text-align:center;border:1px solid #ccc;border-radius:4px;min-width:20px;padding:6px}.vue-cron .cron-expression .field-value.highlight{color:#ff8100;border-color:#ff8100}.vue-cron .cron-expression .field{justify-content:center;align-items:center;padding-left:10px;padding-right:10px}
|