unika-components 1.0.152 → 1.0.154
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/dist/src/components/UniRegisterForm/UniRegisterForm.vue.d.ts +4 -44
- package/dist/src/components/UniVideo/UniVideo.vue.d.ts +5 -10
- package/dist/src/defaultProps.d.ts +14 -4
- package/dist/unika-components.css +40 -40
- package/dist/unika-components.esm.js +51 -42
- package/dist/unika-components.umd.js +51 -42
- package/package.json +1 -1
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
interface SelectOption {
|
|
3
|
-
value: string;
|
|
4
|
-
}
|
|
1
|
+
export declare const defaultStyles: string[];
|
|
5
2
|
declare const _default: import("vue").DefineComponent<{
|
|
6
|
-
|
|
7
|
-
type: PropType<[] | SelectOption[]>;
|
|
8
|
-
default: () => {
|
|
9
|
-
value: string;
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
12
|
-
isPhoneNumber: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
transform: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
opacity: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
3
|
+
[x: string]: any;
|
|
24
4
|
}, {
|
|
25
5
|
styleProps: import("vue").ComputedRef<Pick<any, string>>;
|
|
26
6
|
handleClick: () => void;
|
|
@@ -41,28 +21,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
21
|
onSubmit: () => void;
|
|
42
22
|
resetFields: (newValues?: import("ant-design-vue/es/form/useForm").Props | undefined) => void;
|
|
43
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
|
|
45
|
-
type: PropType<[] | SelectOption[]>;
|
|
46
|
-
default: () => {
|
|
47
|
-
value: string;
|
|
48
|
-
}[];
|
|
49
|
-
};
|
|
50
|
-
isPhoneNumber: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
transform: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
opacity: {
|
|
59
|
-
type: NumberConstructor;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
24
|
+
[x: string]: any;
|
|
62
25
|
}>>, {
|
|
63
|
-
|
|
64
|
-
attendanceTimeList: [] | SelectOption[];
|
|
65
|
-
isPhoneNumber: boolean;
|
|
66
|
-
opacity: number;
|
|
26
|
+
[x: string]: any;
|
|
67
27
|
}, {}>;
|
|
68
28
|
export default _default;
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
+
export declare const defaultStyles: string[];
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
3
|
+
[x: string]: any;
|
|
6
4
|
}, {
|
|
7
5
|
styleProps: import("vue").ComputedRef<Pick<any, string>>;
|
|
8
6
|
isPlaying: import("vue").Ref<boolean>;
|
|
9
7
|
showButton: import("vue").Ref<boolean>;
|
|
10
8
|
handleClick: () => void;
|
|
11
|
-
iframeHtml: import("vue").ComputedRef<
|
|
9
|
+
iframeHtml: import("vue").ComputedRef<any>;
|
|
12
10
|
playOrPauseVideo: () => void;
|
|
13
11
|
isIFrame: import("vue").ComputedRef<boolean>;
|
|
14
12
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
13
|
+
[x: string]: any;
|
|
19
14
|
}>>, {
|
|
20
|
-
|
|
15
|
+
[x: string]: any;
|
|
21
16
|
}, {}>;
|
|
22
17
|
export default _default;
|
|
@@ -229,9 +229,13 @@ export declare const videoDefaultProps: {
|
|
|
229
229
|
left: string;
|
|
230
230
|
top: string;
|
|
231
231
|
width: string;
|
|
232
|
-
transform: string;
|
|
233
|
-
backgroundColor: string;
|
|
234
232
|
height: string;
|
|
233
|
+
position: string;
|
|
234
|
+
transform: string;
|
|
235
|
+
borderRadius: string;
|
|
236
|
+
borderColor: string;
|
|
237
|
+
borderStyle: string;
|
|
238
|
+
borderWidth: string;
|
|
235
239
|
videoSrc: string;
|
|
236
240
|
};
|
|
237
241
|
export declare const calendarDefaultProps: {
|
|
@@ -369,6 +373,7 @@ export declare const registerFormDefaultProps: {
|
|
|
369
373
|
left: string;
|
|
370
374
|
top: string;
|
|
371
375
|
width: string;
|
|
376
|
+
position: string;
|
|
372
377
|
transform: string;
|
|
373
378
|
borderRadius: string;
|
|
374
379
|
borderStyle: string;
|
|
@@ -549,9 +554,13 @@ export declare const componentsDefaultProps: {
|
|
|
549
554
|
left: string;
|
|
550
555
|
top: string;
|
|
551
556
|
width: string;
|
|
552
|
-
transform: string;
|
|
553
|
-
backgroundColor: string;
|
|
554
557
|
height: string;
|
|
558
|
+
position: string;
|
|
559
|
+
transform: string;
|
|
560
|
+
borderRadius: string;
|
|
561
|
+
borderColor: string;
|
|
562
|
+
borderStyle: string;
|
|
563
|
+
borderWidth: string;
|
|
555
564
|
videoSrc: string;
|
|
556
565
|
};
|
|
557
566
|
};
|
|
@@ -683,6 +692,7 @@ export declare const componentsDefaultProps: {
|
|
|
683
692
|
left: string;
|
|
684
693
|
top: string;
|
|
685
694
|
width: string;
|
|
695
|
+
position: string;
|
|
686
696
|
transform: string;
|
|
687
697
|
borderRadius: string;
|
|
688
698
|
borderStyle: string;
|
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
.uni-image-component {
|
|
3
|
-
max-width: 100%;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.uni-video-component {
|
|
7
|
-
position: relative;
|
|
8
|
-
text-align: center;
|
|
9
|
-
}
|
|
10
|
-
.play-pause-button {
|
|
11
|
-
position: absolute;
|
|
12
|
-
top: 50%;
|
|
13
|
-
left: 50%;
|
|
14
|
-
transform: translate(-50%, -50%);
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
font-size: 2rem;
|
|
17
|
-
color: #fff;
|
|
18
|
-
background: rgba(0, 0, 0, 0.6);
|
|
19
|
-
border-radius: 50%;
|
|
20
|
-
padding: 10px;
|
|
21
|
-
transition: background 0.3s;
|
|
22
|
-
}
|
|
23
|
-
.play-pause-button:hover {
|
|
24
|
-
background: rgba(0, 0, 0, 0.8);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
2
|
.slide-guide {
|
|
28
3
|
position: absolute;
|
|
29
4
|
bottom: 90px;
|
|
@@ -97,10 +72,42 @@ body, html {
|
|
|
97
72
|
}
|
|
98
73
|
}
|
|
99
74
|
|
|
100
|
-
.
|
|
101
|
-
|
|
102
|
-
|
|
75
|
+
.uni-video-component {
|
|
76
|
+
position: relative;
|
|
77
|
+
text-align: center;
|
|
78
|
+
}
|
|
79
|
+
.play-pause-button {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 50%;
|
|
82
|
+
left: 50%;
|
|
83
|
+
transform: translate(-50%, -50%);
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
font-size: 2rem;
|
|
86
|
+
color: #fff;
|
|
87
|
+
background: rgba(0, 0, 0, 0.6);
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
padding: 10px;
|
|
90
|
+
transition: background 0.3s;
|
|
91
|
+
}
|
|
92
|
+
.play-pause-button:hover {
|
|
93
|
+
background: rgba(0, 0, 0, 0.8);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
.uni-calendar-component {
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
.slot-number {
|
|
101
|
+
position: absolute;
|
|
102
|
+
bottom: 2px;
|
|
103
|
+
left: 7px;
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
color: #666
|
|
103
106
|
}
|
|
107
|
+
|
|
108
|
+
.uni-image-component {
|
|
109
|
+
max-width: 100%;
|
|
110
|
+
}
|
|
104
111
|
|
|
105
112
|
.like-button {
|
|
106
113
|
display: flex;
|
|
@@ -136,18 +143,6 @@ button.uni-text-component {
|
|
|
136
143
|
white-space: pre-wrap;
|
|
137
144
|
}
|
|
138
145
|
|
|
139
|
-
|
|
140
|
-
.uni-calendar-component {
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
.slot-number {
|
|
144
|
-
position: absolute;
|
|
145
|
-
bottom: 2px;
|
|
146
|
-
left: 7px;
|
|
147
|
-
font-size: 12px;
|
|
148
|
-
color: #666
|
|
149
|
-
}
|
|
150
|
-
|
|
151
146
|
.ant-input-number {
|
|
152
147
|
box-sizing: border-box;
|
|
153
148
|
margin: 0;
|
|
@@ -183,6 +178,11 @@ button.uni-text-component {
|
|
|
183
178
|
vertical-align: top;
|
|
184
179
|
}
|
|
185
180
|
|
|
181
|
+
.effect {
|
|
182
|
+
width: 100%;
|
|
183
|
+
height: 100%;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
186
|
.swiper-warp {
|
|
187
187
|
width: 100%;
|
|
188
188
|
height: 100%;
|
|
@@ -5053,12 +5053,16 @@ const musicDefaultProps = {
|
|
|
5053
5053
|
...commonDefaultProps
|
|
5054
5054
|
};
|
|
5055
5055
|
const videoDefaultProps = {
|
|
5056
|
-
left: '
|
|
5057
|
-
top: '
|
|
5058
|
-
width: '
|
|
5056
|
+
left: '12px',
|
|
5057
|
+
top: '268.5px',
|
|
5058
|
+
width: '350px',
|
|
5059
|
+
height: '197px',
|
|
5060
|
+
position: 'absolute',
|
|
5059
5061
|
transform: 'rotate(0deg)',
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
+
borderRadius: '0rem',
|
|
5063
|
+
borderColor: 'rgb(153, 153, 153)',
|
|
5064
|
+
borderStyle: 'solid',
|
|
5065
|
+
borderWidth: '0rem',
|
|
5062
5066
|
videoSrc: '<iframe width="560" height="315" src="https://www.youtube.com/embed/ZGBVLSRushM?si=lQYb7tIR1h9rAcPc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>',
|
|
5063
5067
|
};
|
|
5064
5068
|
const calendarDefaultProps = {
|
|
@@ -5178,6 +5182,7 @@ const registerFormDefaultProps = {
|
|
|
5178
5182
|
left: '57px',
|
|
5179
5183
|
top: '147px',
|
|
5180
5184
|
width: '220px',
|
|
5185
|
+
position: 'absolute',
|
|
5181
5186
|
transform: 'rotate(0deg)',
|
|
5182
5187
|
borderRadius: '10px',
|
|
5183
5188
|
borderStyle: 'solid',
|
|
@@ -5307,9 +5312,9 @@ const transformToComponentProps = (props, extraProps) => {
|
|
|
5307
5312
|
}
|
|
5308
5313
|
};
|
|
5309
5314
|
|
|
5310
|
-
const defaultStyles$
|
|
5315
|
+
const defaultStyles$a = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
|
|
5311
5316
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
|
5312
|
-
const useStylePick = (props, pickStyles = defaultStyles$
|
|
5317
|
+
const useStylePick = (props, pickStyles = defaultStyles$a) => {
|
|
5313
5318
|
return computed(() => pick$1(props, pickStyles));
|
|
5314
5319
|
};
|
|
5315
5320
|
|
|
@@ -13151,7 +13156,7 @@ script$f.install = (app) => {
|
|
|
13151
13156
|
};
|
|
13152
13157
|
|
|
13153
13158
|
const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
|
|
13154
|
-
const defaultStyles$
|
|
13159
|
+
const defaultStyles$9 = Object.keys(backgroundDefaultProps);
|
|
13155
13160
|
// array that contains style props
|
|
13156
13161
|
var script$e = defineComponent({
|
|
13157
13162
|
name: 'uni-background',
|
|
@@ -13159,7 +13164,7 @@ var script$e = defineComponent({
|
|
|
13159
13164
|
...defaultProps$b
|
|
13160
13165
|
},
|
|
13161
13166
|
setup(props) {
|
|
13162
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
13167
|
+
const styleProps = useStylePick(props, defaultStyles$9);
|
|
13163
13168
|
const handleClick = useComponentClick(props);
|
|
13164
13169
|
return {
|
|
13165
13170
|
styleProps,
|
|
@@ -13185,15 +13190,16 @@ script$e.install = (app) => {
|
|
|
13185
13190
|
};
|
|
13186
13191
|
|
|
13187
13192
|
const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
|
|
13193
|
+
const defaultStyles$8 = without$1(Object.keys(videoDefaultProps), 'actionType', 'url', 'videoSrc');
|
|
13188
13194
|
// array that contains style props
|
|
13189
13195
|
var script$d = defineComponent({
|
|
13190
13196
|
name: 'uni-video',
|
|
13191
13197
|
props: {
|
|
13192
13198
|
...defaultProps$a,
|
|
13193
|
-
videoSrc: {
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
}
|
|
13199
|
+
// videoSrc: {
|
|
13200
|
+
// type: String,
|
|
13201
|
+
// default: ''
|
|
13202
|
+
// }
|
|
13197
13203
|
},
|
|
13198
13204
|
components: {
|
|
13199
13205
|
// FontAwesomeIcon
|
|
@@ -13201,7 +13207,7 @@ var script$d = defineComponent({
|
|
|
13201
13207
|
setup(props) {
|
|
13202
13208
|
// 重用并且简化
|
|
13203
13209
|
// 抽离并且获得 styleProps
|
|
13204
|
-
const styleProps = useStylePick(props);
|
|
13210
|
+
const styleProps = useStylePick(props, defaultStyles$8);
|
|
13205
13211
|
const handleClick = useComponentClick(props);
|
|
13206
13212
|
const showButton = ref(true);
|
|
13207
13213
|
const isPlaying = ref(false);
|
|
@@ -13251,6 +13257,7 @@ const _hoisted_3$2 = ["src"];
|
|
|
13251
13257
|
|
|
13252
13258
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13253
13259
|
return (openBlock(), createElementBlock("div", {
|
|
13260
|
+
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
|
|
13254
13261
|
style: normalizeStyle$1(_ctx.styleProps),
|
|
13255
13262
|
class: "uni-video-component"
|
|
13256
13263
|
}, [
|
|
@@ -16038,7 +16045,7 @@ script$c.__scopeId = "data-v-ef842ea2";
|
|
|
16038
16045
|
script$c.__file = "src/components/UniCalendar/Calendar.vue";
|
|
16039
16046
|
|
|
16040
16047
|
const defaultProps$9 = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
|
|
16041
|
-
const defaultStyles$
|
|
16048
|
+
const defaultStyles$7 = without$1(Object.keys(calendarDefaultProps), 'actionType', 'url', 'backgroundColor', 'borderRadius', 'borderColor', 'borderStyle', 'borderWidth', 'date', 'dateColor', 'themeColor', 'heartColor', 'themeStyle', 'language', 'size');
|
|
16042
16049
|
// 获取当前日期和时间
|
|
16043
16050
|
const now$2 = new Date();
|
|
16044
16051
|
// 添加一天
|
|
@@ -16059,7 +16066,7 @@ var script$b = defineComponent({
|
|
|
16059
16066
|
setup(props) {
|
|
16060
16067
|
// 重用并且简化
|
|
16061
16068
|
// 抽离并且获得 styleProps
|
|
16062
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
16069
|
+
const styleProps = useStylePick(props, defaultStyles$7);
|
|
16063
16070
|
const handleClick = useComponentClick(props);
|
|
16064
16071
|
const dataList = ref([
|
|
16065
16072
|
{ date: '2028-01-31', value: '' }
|
|
@@ -22249,7 +22256,7 @@ script$a.__scopeId = "data-v-47d33153";
|
|
|
22249
22256
|
script$a.__file = "src/components/UniCountdown/Countdown.vue";
|
|
22250
22257
|
|
|
22251
22258
|
const defaultProps$8 = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
|
|
22252
|
-
const defaultStyles$
|
|
22259
|
+
const defaultStyles$6 = without$1(Object.keys(countdownDefaultProps), 'actionType', 'url', 'mainColor', 'mainFlipBackgroundColor', 'labelColor', 'showLabels', 'language', 'size', 'flipAnimation', 'deadline');
|
|
22253
22260
|
// 获取当前日期和时间
|
|
22254
22261
|
const now = new Date();
|
|
22255
22262
|
// 添加一天
|
|
@@ -22273,7 +22280,7 @@ var script$9 = defineComponent({
|
|
|
22273
22280
|
setup(props) {
|
|
22274
22281
|
// 重用并且简化
|
|
22275
22282
|
// 抽离并且获得 styleProps
|
|
22276
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
22283
|
+
const styleProps = useStylePick(props, defaultStyles$6);
|
|
22277
22284
|
const handleClick = useComponentClick(props);
|
|
22278
22285
|
const labelSize = computed(() => {
|
|
22279
22286
|
if (props.size == 'middle') {
|
|
@@ -22358,7 +22365,7 @@ script$9.install = (app) => {
|
|
|
22358
22365
|
};
|
|
22359
22366
|
|
|
22360
22367
|
const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
|
|
22361
|
-
const defaultStyles$
|
|
22368
|
+
const defaultStyles$5 = without$1(Object.keys(mapDefaultProps), 'actionType', 'url', 'mapHtml');
|
|
22362
22369
|
// array that contains style props
|
|
22363
22370
|
var script$8 = defineComponent({
|
|
22364
22371
|
name: 'uni-map',
|
|
@@ -22381,7 +22388,7 @@ var script$8 = defineComponent({
|
|
|
22381
22388
|
setup(props) {
|
|
22382
22389
|
// 重用并且简化
|
|
22383
22390
|
// 抽离并且获得 styleProps
|
|
22384
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
22391
|
+
const styleProps = useStylePick(props, defaultStyles$5);
|
|
22385
22392
|
const handleClick = useComponentClick(props);
|
|
22386
22393
|
// const openMap = () => {
|
|
22387
22394
|
// // 替换为要拨打的电话号码
|
|
@@ -26042,7 +26049,7 @@ var faSquarePhone = {
|
|
|
26042
26049
|
|
|
26043
26050
|
library$1.add(faSquarePhone);
|
|
26044
26051
|
const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-call'].props, isEditingProp);
|
|
26045
|
-
const defaultStyles$
|
|
26052
|
+
const defaultStyles$4 = without$1(Object.keys(callDefaultProps), 'actionType', 'url', 'phoneNumber', 'callText');
|
|
26046
26053
|
var script$7 = defineComponent({
|
|
26047
26054
|
name: 'uni-call',
|
|
26048
26055
|
props: {
|
|
@@ -26076,7 +26083,7 @@ var script$7 = defineComponent({
|
|
|
26076
26083
|
FontAwesomeIcon
|
|
26077
26084
|
},
|
|
26078
26085
|
setup(props) {
|
|
26079
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
26086
|
+
const styleProps = useStylePick(props, defaultStyles$4);
|
|
26080
26087
|
const handleClick = useComponentClick(props);
|
|
26081
26088
|
// const callNumber = () => {
|
|
26082
26089
|
// window.location.href = `tel:${props.phoneNumber}`;
|
|
@@ -26202,7 +26209,7 @@ script$6.install = (app) => {
|
|
|
26202
26209
|
};
|
|
26203
26210
|
|
|
26204
26211
|
const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-effect'].props, isEditingProp);
|
|
26205
|
-
const defaultStyles$
|
|
26212
|
+
const defaultStyles$3 = without$1(Object.keys(effectDefaultProps), 'actionType', 'url', 'shape', 'number', 'spead');
|
|
26206
26213
|
// array that contains style props
|
|
26207
26214
|
var script$5 = defineComponent({
|
|
26208
26215
|
name: 'uni-effect',
|
|
@@ -26229,7 +26236,7 @@ var script$5 = defineComponent({
|
|
|
26229
26236
|
setup(props) {
|
|
26230
26237
|
// 重用并且简化
|
|
26231
26238
|
// 抽离并且获得 styleProps
|
|
26232
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
26239
|
+
const styleProps = useStylePick(props, defaultStyles$3);
|
|
26233
26240
|
const handleClick = useComponentClick(props);
|
|
26234
26241
|
const options = {
|
|
26235
26242
|
"fullScreen": {
|
|
@@ -53603,27 +53610,28 @@ var InputNumber$1 = _extends$1(InputNumber, {
|
|
|
53603
53610
|
});
|
|
53604
53611
|
|
|
53605
53612
|
const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-register-form'].props, isEditingProp);
|
|
53613
|
+
const defaultStyles$2 = without$1(Object.keys(registerFormDefaultProps), 'actionType', 'url', 'attendanceTimeList', 'isPhoneNumber');
|
|
53606
53614
|
// array that contains style props
|
|
53607
53615
|
var script$4 = defineComponent({
|
|
53608
53616
|
name: 'uni-register-form',
|
|
53609
53617
|
props: {
|
|
53610
53618
|
...defaultProps$3,
|
|
53611
|
-
attendanceTimeList: {
|
|
53612
|
-
|
|
53613
|
-
|
|
53614
|
-
},
|
|
53615
|
-
isPhoneNumber: {
|
|
53616
|
-
|
|
53617
|
-
|
|
53618
|
-
},
|
|
53619
|
-
transform: {
|
|
53620
|
-
|
|
53621
|
-
|
|
53622
|
-
},
|
|
53623
|
-
opacity: {
|
|
53624
|
-
|
|
53625
|
-
|
|
53626
|
-
}
|
|
53619
|
+
// attendanceTimeList: {
|
|
53620
|
+
// type: Array as PropType<SelectOption[] | []>,
|
|
53621
|
+
// default: () => [ {value: 'Morning'}, {value: 'Noon'}, {value: 'Evening'}]
|
|
53622
|
+
// },
|
|
53623
|
+
// isPhoneNumber: {
|
|
53624
|
+
// type: Boolean,
|
|
53625
|
+
// default: true
|
|
53626
|
+
// },
|
|
53627
|
+
// transform: {
|
|
53628
|
+
// type: String,
|
|
53629
|
+
// default: 'rotate(0deg)'
|
|
53630
|
+
// },
|
|
53631
|
+
// opacity: {
|
|
53632
|
+
// type: Number,
|
|
53633
|
+
// default: 1 // explosions side bottom single falling
|
|
53634
|
+
// }
|
|
53627
53635
|
},
|
|
53628
53636
|
components: {
|
|
53629
53637
|
'a-form': Form$1,
|
|
@@ -53636,7 +53644,7 @@ var script$4 = defineComponent({
|
|
|
53636
53644
|
setup(props) {
|
|
53637
53645
|
// 重用并且简化
|
|
53638
53646
|
// 抽离并且获得 styleProps
|
|
53639
|
-
const styleProps = useStylePick(props);
|
|
53647
|
+
const styleProps = useStylePick(props, defaultStyles$2);
|
|
53640
53648
|
const handleClick = useComponentClick(props);
|
|
53641
53649
|
const useForm = Form$1.useForm;
|
|
53642
53650
|
const labelCol = { span: 8 };
|
|
@@ -53715,7 +53723,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53715
53723
|
const _component_a_form = resolveComponent("a-form");
|
|
53716
53724
|
|
|
53717
53725
|
return (openBlock(), createElementBlock("div", {
|
|
53718
|
-
|
|
53726
|
+
onClick: _cache[5] || (_cache[5] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
|
|
53727
|
+
style: normalizeStyle$1(_ctx.styleProps),
|
|
53719
53728
|
class: "uni-register-form-component"
|
|
53720
53729
|
}, [
|
|
53721
53730
|
_hoisted_1$2,
|
|
@@ -5060,12 +5060,16 @@
|
|
|
5060
5060
|
...commonDefaultProps
|
|
5061
5061
|
};
|
|
5062
5062
|
const videoDefaultProps = {
|
|
5063
|
-
left: '
|
|
5064
|
-
top: '
|
|
5065
|
-
width: '
|
|
5063
|
+
left: '12px',
|
|
5064
|
+
top: '268.5px',
|
|
5065
|
+
width: '350px',
|
|
5066
|
+
height: '197px',
|
|
5067
|
+
position: 'absolute',
|
|
5066
5068
|
transform: 'rotate(0deg)',
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
+
borderRadius: '0rem',
|
|
5070
|
+
borderColor: 'rgb(153, 153, 153)',
|
|
5071
|
+
borderStyle: 'solid',
|
|
5072
|
+
borderWidth: '0rem',
|
|
5069
5073
|
videoSrc: '<iframe width="560" height="315" src="https://www.youtube.com/embed/ZGBVLSRushM?si=lQYb7tIR1h9rAcPc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>',
|
|
5070
5074
|
};
|
|
5071
5075
|
const calendarDefaultProps = {
|
|
@@ -5185,6 +5189,7 @@
|
|
|
5185
5189
|
left: '57px',
|
|
5186
5190
|
top: '147px',
|
|
5187
5191
|
width: '220px',
|
|
5192
|
+
position: 'absolute',
|
|
5188
5193
|
transform: 'rotate(0deg)',
|
|
5189
5194
|
borderRadius: '10px',
|
|
5190
5195
|
borderStyle: 'solid',
|
|
@@ -5314,9 +5319,9 @@
|
|
|
5314
5319
|
}
|
|
5315
5320
|
};
|
|
5316
5321
|
|
|
5317
|
-
const defaultStyles$
|
|
5322
|
+
const defaultStyles$a = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
|
|
5318
5323
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
|
5319
|
-
const useStylePick = (props, pickStyles = defaultStyles$
|
|
5324
|
+
const useStylePick = (props, pickStyles = defaultStyles$a) => {
|
|
5320
5325
|
return vue.computed(() => pick$1(props, pickStyles));
|
|
5321
5326
|
};
|
|
5322
5327
|
|
|
@@ -13158,7 +13163,7 @@
|
|
|
13158
13163
|
};
|
|
13159
13164
|
|
|
13160
13165
|
const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
|
|
13161
|
-
const defaultStyles$
|
|
13166
|
+
const defaultStyles$9 = Object.keys(backgroundDefaultProps);
|
|
13162
13167
|
// array that contains style props
|
|
13163
13168
|
var script$e = vue.defineComponent({
|
|
13164
13169
|
name: 'uni-background',
|
|
@@ -13166,7 +13171,7 @@
|
|
|
13166
13171
|
...defaultProps$b
|
|
13167
13172
|
},
|
|
13168
13173
|
setup(props) {
|
|
13169
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
13174
|
+
const styleProps = useStylePick(props, defaultStyles$9);
|
|
13170
13175
|
const handleClick = useComponentClick(props);
|
|
13171
13176
|
return {
|
|
13172
13177
|
styleProps,
|
|
@@ -13192,15 +13197,16 @@
|
|
|
13192
13197
|
};
|
|
13193
13198
|
|
|
13194
13199
|
const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
|
|
13200
|
+
const defaultStyles$8 = without$1(Object.keys(videoDefaultProps), 'actionType', 'url', 'videoSrc');
|
|
13195
13201
|
// array that contains style props
|
|
13196
13202
|
var script$d = vue.defineComponent({
|
|
13197
13203
|
name: 'uni-video',
|
|
13198
13204
|
props: {
|
|
13199
13205
|
...defaultProps$a,
|
|
13200
|
-
videoSrc: {
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
}
|
|
13206
|
+
// videoSrc: {
|
|
13207
|
+
// type: String,
|
|
13208
|
+
// default: ''
|
|
13209
|
+
// }
|
|
13204
13210
|
},
|
|
13205
13211
|
components: {
|
|
13206
13212
|
// FontAwesomeIcon
|
|
@@ -13208,7 +13214,7 @@
|
|
|
13208
13214
|
setup(props) {
|
|
13209
13215
|
// 重用并且简化
|
|
13210
13216
|
// 抽离并且获得 styleProps
|
|
13211
|
-
const styleProps = useStylePick(props);
|
|
13217
|
+
const styleProps = useStylePick(props, defaultStyles$8);
|
|
13212
13218
|
const handleClick = useComponentClick(props);
|
|
13213
13219
|
const showButton = vue.ref(true);
|
|
13214
13220
|
const isPlaying = vue.ref(false);
|
|
@@ -13258,6 +13264,7 @@
|
|
|
13258
13264
|
|
|
13259
13265
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13260
13266
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
13267
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
|
|
13261
13268
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
13262
13269
|
class: "uni-video-component"
|
|
13263
13270
|
}, [
|
|
@@ -16045,7 +16052,7 @@
|
|
|
16045
16052
|
script$c.__file = "src/components/UniCalendar/Calendar.vue";
|
|
16046
16053
|
|
|
16047
16054
|
const defaultProps$9 = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
|
|
16048
|
-
const defaultStyles$
|
|
16055
|
+
const defaultStyles$7 = without$1(Object.keys(calendarDefaultProps), 'actionType', 'url', 'backgroundColor', 'borderRadius', 'borderColor', 'borderStyle', 'borderWidth', 'date', 'dateColor', 'themeColor', 'heartColor', 'themeStyle', 'language', 'size');
|
|
16049
16056
|
// 获取当前日期和时间
|
|
16050
16057
|
const now$2 = new Date();
|
|
16051
16058
|
// 添加一天
|
|
@@ -16066,7 +16073,7 @@
|
|
|
16066
16073
|
setup(props) {
|
|
16067
16074
|
// 重用并且简化
|
|
16068
16075
|
// 抽离并且获得 styleProps
|
|
16069
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
16076
|
+
const styleProps = useStylePick(props, defaultStyles$7);
|
|
16070
16077
|
const handleClick = useComponentClick(props);
|
|
16071
16078
|
const dataList = vue.ref([
|
|
16072
16079
|
{ date: '2028-01-31', value: '' }
|
|
@@ -22256,7 +22263,7 @@
|
|
|
22256
22263
|
script$a.__file = "src/components/UniCountdown/Countdown.vue";
|
|
22257
22264
|
|
|
22258
22265
|
const defaultProps$8 = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
|
|
22259
|
-
const defaultStyles$
|
|
22266
|
+
const defaultStyles$6 = without$1(Object.keys(countdownDefaultProps), 'actionType', 'url', 'mainColor', 'mainFlipBackgroundColor', 'labelColor', 'showLabels', 'language', 'size', 'flipAnimation', 'deadline');
|
|
22260
22267
|
// 获取当前日期和时间
|
|
22261
22268
|
const now = new Date();
|
|
22262
22269
|
// 添加一天
|
|
@@ -22280,7 +22287,7 @@
|
|
|
22280
22287
|
setup(props) {
|
|
22281
22288
|
// 重用并且简化
|
|
22282
22289
|
// 抽离并且获得 styleProps
|
|
22283
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
22290
|
+
const styleProps = useStylePick(props, defaultStyles$6);
|
|
22284
22291
|
const handleClick = useComponentClick(props);
|
|
22285
22292
|
const labelSize = vue.computed(() => {
|
|
22286
22293
|
if (props.size == 'middle') {
|
|
@@ -22365,7 +22372,7 @@
|
|
|
22365
22372
|
};
|
|
22366
22373
|
|
|
22367
22374
|
const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
|
|
22368
|
-
const defaultStyles$
|
|
22375
|
+
const defaultStyles$5 = without$1(Object.keys(mapDefaultProps), 'actionType', 'url', 'mapHtml');
|
|
22369
22376
|
// array that contains style props
|
|
22370
22377
|
var script$8 = vue.defineComponent({
|
|
22371
22378
|
name: 'uni-map',
|
|
@@ -22388,7 +22395,7 @@
|
|
|
22388
22395
|
setup(props) {
|
|
22389
22396
|
// 重用并且简化
|
|
22390
22397
|
// 抽离并且获得 styleProps
|
|
22391
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
22398
|
+
const styleProps = useStylePick(props, defaultStyles$5);
|
|
22392
22399
|
const handleClick = useComponentClick(props);
|
|
22393
22400
|
// const openMap = () => {
|
|
22394
22401
|
// // 替换为要拨打的电话号码
|
|
@@ -26049,7 +26056,7 @@
|
|
|
26049
26056
|
|
|
26050
26057
|
library$1.add(faSquarePhone);
|
|
26051
26058
|
const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-call'].props, isEditingProp);
|
|
26052
|
-
const defaultStyles$
|
|
26059
|
+
const defaultStyles$4 = without$1(Object.keys(callDefaultProps), 'actionType', 'url', 'phoneNumber', 'callText');
|
|
26053
26060
|
var script$7 = vue.defineComponent({
|
|
26054
26061
|
name: 'uni-call',
|
|
26055
26062
|
props: {
|
|
@@ -26083,7 +26090,7 @@
|
|
|
26083
26090
|
FontAwesomeIcon
|
|
26084
26091
|
},
|
|
26085
26092
|
setup(props) {
|
|
26086
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
26093
|
+
const styleProps = useStylePick(props, defaultStyles$4);
|
|
26087
26094
|
const handleClick = useComponentClick(props);
|
|
26088
26095
|
// const callNumber = () => {
|
|
26089
26096
|
// window.location.href = `tel:${props.phoneNumber}`;
|
|
@@ -26209,7 +26216,7 @@
|
|
|
26209
26216
|
};
|
|
26210
26217
|
|
|
26211
26218
|
const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-effect'].props, isEditingProp);
|
|
26212
|
-
const defaultStyles$
|
|
26219
|
+
const defaultStyles$3 = without$1(Object.keys(effectDefaultProps), 'actionType', 'url', 'shape', 'number', 'spead');
|
|
26213
26220
|
// array that contains style props
|
|
26214
26221
|
var script$5 = vue.defineComponent({
|
|
26215
26222
|
name: 'uni-effect',
|
|
@@ -26236,7 +26243,7 @@
|
|
|
26236
26243
|
setup(props) {
|
|
26237
26244
|
// 重用并且简化
|
|
26238
26245
|
// 抽离并且获得 styleProps
|
|
26239
|
-
const styleProps = useStylePick(props, defaultStyles$
|
|
26246
|
+
const styleProps = useStylePick(props, defaultStyles$3);
|
|
26240
26247
|
const handleClick = useComponentClick(props);
|
|
26241
26248
|
const options = {
|
|
26242
26249
|
"fullScreen": {
|
|
@@ -53610,27 +53617,28 @@ summary tabindex target title type usemap value width wmode wrap`;
|
|
|
53610
53617
|
});
|
|
53611
53618
|
|
|
53612
53619
|
const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-register-form'].props, isEditingProp);
|
|
53620
|
+
const defaultStyles$2 = without$1(Object.keys(registerFormDefaultProps), 'actionType', 'url', 'attendanceTimeList', 'isPhoneNumber');
|
|
53613
53621
|
// array that contains style props
|
|
53614
53622
|
var script$4 = vue.defineComponent({
|
|
53615
53623
|
name: 'uni-register-form',
|
|
53616
53624
|
props: {
|
|
53617
53625
|
...defaultProps$3,
|
|
53618
|
-
attendanceTimeList: {
|
|
53619
|
-
|
|
53620
|
-
|
|
53621
|
-
},
|
|
53622
|
-
isPhoneNumber: {
|
|
53623
|
-
|
|
53624
|
-
|
|
53625
|
-
},
|
|
53626
|
-
transform: {
|
|
53627
|
-
|
|
53628
|
-
|
|
53629
|
-
},
|
|
53630
|
-
opacity: {
|
|
53631
|
-
|
|
53632
|
-
|
|
53633
|
-
}
|
|
53626
|
+
// attendanceTimeList: {
|
|
53627
|
+
// type: Array as PropType<SelectOption[] | []>,
|
|
53628
|
+
// default: () => [ {value: 'Morning'}, {value: 'Noon'}, {value: 'Evening'}]
|
|
53629
|
+
// },
|
|
53630
|
+
// isPhoneNumber: {
|
|
53631
|
+
// type: Boolean,
|
|
53632
|
+
// default: true
|
|
53633
|
+
// },
|
|
53634
|
+
// transform: {
|
|
53635
|
+
// type: String,
|
|
53636
|
+
// default: 'rotate(0deg)'
|
|
53637
|
+
// },
|
|
53638
|
+
// opacity: {
|
|
53639
|
+
// type: Number,
|
|
53640
|
+
// default: 1 // explosions side bottom single falling
|
|
53641
|
+
// }
|
|
53634
53642
|
},
|
|
53635
53643
|
components: {
|
|
53636
53644
|
'a-form': Form$1,
|
|
@@ -53643,7 +53651,7 @@ summary tabindex target title type usemap value width wmode wrap`;
|
|
|
53643
53651
|
setup(props) {
|
|
53644
53652
|
// 重用并且简化
|
|
53645
53653
|
// 抽离并且获得 styleProps
|
|
53646
|
-
const styleProps = useStylePick(props);
|
|
53654
|
+
const styleProps = useStylePick(props, defaultStyles$2);
|
|
53647
53655
|
const handleClick = useComponentClick(props);
|
|
53648
53656
|
const useForm = Form$1.useForm;
|
|
53649
53657
|
const labelCol = { span: 8 };
|
|
@@ -53722,7 +53730,8 @@ summary tabindex target title type usemap value width wmode wrap`;
|
|
|
53722
53730
|
const _component_a_form = vue.resolveComponent("a-form");
|
|
53723
53731
|
|
|
53724
53732
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
53725
|
-
|
|
53733
|
+
onClick: _cache[5] || (_cache[5] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
|
|
53734
|
+
style: vue.normalizeStyle(_ctx.styleProps),
|
|
53726
53735
|
class: "uni-register-form-component"
|
|
53727
53736
|
}, [
|
|
53728
53737
|
_hoisted_1$2,
|