unika-components 1.0.21 → 1.0.23
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/UniMap/UniMap.vue.d.ts +17 -0
- package/dist/src/components/UniMap/index.d.ts +2 -0
- package/dist/src/defaultProps.d.ts +42 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/unika-components.css +182 -246
- package/dist/unika-components.esm.js +159 -123
- package/dist/unika-components.umd.js +168 -131
- package/package.json +1 -1
|
@@ -4183,6 +4183,9 @@
|
|
|
4183
4183
|
const countdownDefaultProps = {
|
|
4184
4184
|
...commonDefaultProps
|
|
4185
4185
|
};
|
|
4186
|
+
const mapDefaultProps = {
|
|
4187
|
+
...commonDefaultProps
|
|
4188
|
+
};
|
|
4186
4189
|
// this contains all default props for all the components
|
|
4187
4190
|
// useful for inserting new component into the store
|
|
4188
4191
|
const componentsDefaultProps = {
|
|
@@ -4209,6 +4212,9 @@
|
|
|
4209
4212
|
},
|
|
4210
4213
|
'uni-countdown': {
|
|
4211
4214
|
props: countdownDefaultProps
|
|
4215
|
+
},
|
|
4216
|
+
'uni-map': {
|
|
4217
|
+
props: mapDefaultProps
|
|
4212
4218
|
}
|
|
4213
4219
|
};
|
|
4214
4220
|
const isEditingProp = {
|
|
@@ -4256,12 +4262,12 @@
|
|
|
4256
4262
|
},
|
|
4257
4263
|
...isEditingProp
|
|
4258
4264
|
};
|
|
4259
|
-
const defaultProps$
|
|
4265
|
+
const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
|
|
4260
4266
|
// array that contains style props
|
|
4261
|
-
var script$
|
|
4267
|
+
var script$c = vue.defineComponent({
|
|
4262
4268
|
name: 'uni-text',
|
|
4263
4269
|
props: {
|
|
4264
|
-
...defaultProps$
|
|
4270
|
+
...defaultProps$7
|
|
4265
4271
|
},
|
|
4266
4272
|
setup(props) {
|
|
4267
4273
|
const styleProps = useStylePick(props);
|
|
@@ -4273,7 +4279,7 @@
|
|
|
4273
4279
|
}
|
|
4274
4280
|
});
|
|
4275
4281
|
|
|
4276
|
-
function render$
|
|
4282
|
+
function render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4277
4283
|
return (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
4278
4284
|
onClick: vue.withModifiers(_ctx.handleClick, ["prevent"]),
|
|
4279
4285
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
@@ -4286,16 +4292,16 @@
|
|
|
4286
4292
|
}, 8 /* PROPS */, ["onClick", "style"]))
|
|
4287
4293
|
}
|
|
4288
4294
|
|
|
4289
|
-
script$
|
|
4290
|
-
script$
|
|
4291
|
-
script$
|
|
4295
|
+
script$c.render = render$c;
|
|
4296
|
+
script$c.__scopeId = "data-v-55ed80cb";
|
|
4297
|
+
script$c.__file = "src/components/UniText/UniText.vue";
|
|
4292
4298
|
|
|
4293
|
-
script$
|
|
4294
|
-
app.component(script$
|
|
4299
|
+
script$c.install = (app) => {
|
|
4300
|
+
app.component(script$c.name, script$c);
|
|
4295
4301
|
};
|
|
4296
4302
|
|
|
4297
4303
|
// array that contains style props
|
|
4298
|
-
var script$
|
|
4304
|
+
var script$b = vue.defineComponent({
|
|
4299
4305
|
name: 'uni-image',
|
|
4300
4306
|
props: transformToComponentProps(componentsDefaultProps['uni-image'].props, isEditingProp),
|
|
4301
4307
|
setup(props) {
|
|
@@ -4308,32 +4314,32 @@
|
|
|
4308
4314
|
}
|
|
4309
4315
|
});
|
|
4310
4316
|
|
|
4311
|
-
const _hoisted_1$
|
|
4317
|
+
const _hoisted_1$9 = ["src"];
|
|
4312
4318
|
|
|
4313
|
-
function render$
|
|
4319
|
+
function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4314
4320
|
return (vue.openBlock(), vue.createElementBlock("img", {
|
|
4315
4321
|
src: _ctx.imageSrc,
|
|
4316
4322
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
4317
4323
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
|
|
4318
4324
|
class: "uni-image-component",
|
|
4319
4325
|
draggable: false
|
|
4320
|
-
}, null, 12 /* STYLE, PROPS */, _hoisted_1$
|
|
4326
|
+
}, null, 12 /* STYLE, PROPS */, _hoisted_1$9))
|
|
4321
4327
|
}
|
|
4322
4328
|
|
|
4323
|
-
script$
|
|
4324
|
-
script$
|
|
4325
|
-
script$
|
|
4329
|
+
script$b.render = render$b;
|
|
4330
|
+
script$b.__scopeId = "data-v-03caca2f";
|
|
4331
|
+
script$b.__file = "src/components/UniImage/UniImage.vue";
|
|
4326
4332
|
|
|
4327
|
-
script$
|
|
4328
|
-
app.component(script$
|
|
4333
|
+
script$b.install = (app) => {
|
|
4334
|
+
app.component(script$b.name, script$b);
|
|
4329
4335
|
};
|
|
4330
4336
|
|
|
4331
|
-
const defaultProps$
|
|
4337
|
+
const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
|
|
4332
4338
|
// array that contains style props
|
|
4333
|
-
var script$
|
|
4339
|
+
var script$a = vue.defineComponent({
|
|
4334
4340
|
name: 'uni-shape',
|
|
4335
4341
|
props: {
|
|
4336
|
-
...defaultProps$
|
|
4342
|
+
...defaultProps$6
|
|
4337
4343
|
},
|
|
4338
4344
|
setup(props) {
|
|
4339
4345
|
const styleProps = useStylePick(props);
|
|
@@ -4345,7 +4351,7 @@
|
|
|
4345
4351
|
}
|
|
4346
4352
|
});
|
|
4347
4353
|
|
|
4348
|
-
function render$
|
|
4354
|
+
function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4349
4355
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
4350
4356
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
|
|
4351
4357
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
@@ -4354,14 +4360,14 @@
|
|
|
4354
4360
|
}, null, 4 /* STYLE */))
|
|
4355
4361
|
}
|
|
4356
4362
|
|
|
4357
|
-
script$
|
|
4358
|
-
script$
|
|
4363
|
+
script$a.render = render$a;
|
|
4364
|
+
script$a.__file = "src/components/UniShape/UniShape.vue";
|
|
4359
4365
|
|
|
4360
|
-
script$
|
|
4361
|
-
app.component(script$
|
|
4366
|
+
script$a.install = (app) => {
|
|
4367
|
+
app.component(script$a.name, script$a);
|
|
4362
4368
|
};
|
|
4363
4369
|
|
|
4364
|
-
var script$
|
|
4370
|
+
var script$9 = vue.defineComponent({
|
|
4365
4371
|
name: 'long-page',
|
|
4366
4372
|
props: {
|
|
4367
4373
|
work: {
|
|
@@ -4374,9 +4380,9 @@
|
|
|
4374
4380
|
}
|
|
4375
4381
|
});
|
|
4376
4382
|
|
|
4377
|
-
const _hoisted_1$
|
|
4383
|
+
const _hoisted_1$8 = ["id"];
|
|
4378
4384
|
|
|
4379
|
-
function render$
|
|
4385
|
+
function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4380
4386
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
4381
4387
|
class: "final-page",
|
|
4382
4388
|
style: vue.normalizeStyle(_ctx.work && {width: _ctx.work.width, height: _ctx.work.height} )
|
|
@@ -4387,17 +4393,17 @@
|
|
|
4387
4393
|
id: `component-${item.id}`
|
|
4388
4394
|
}, [
|
|
4389
4395
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.name), vue.normalizeProps(vue.guardReactiveProps(item.props)), null, 16 /* FULL_PROPS */))
|
|
4390
|
-
], 8 /* PROPS */, _hoisted_1$
|
|
4396
|
+
], 8 /* PROPS */, _hoisted_1$8))
|
|
4391
4397
|
}), 128 /* KEYED_FRAGMENT */))
|
|
4392
4398
|
], 4 /* STYLE */))
|
|
4393
4399
|
}
|
|
4394
4400
|
|
|
4395
|
-
script$
|
|
4396
|
-
script$
|
|
4401
|
+
script$9.render = render$9;
|
|
4402
|
+
script$9.__file = "src/components/LongPage/LongPage.vue";
|
|
4397
4403
|
|
|
4398
4404
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4399
|
-
script$
|
|
4400
|
-
app.component(script$
|
|
4405
|
+
script$9.install = (app) => {
|
|
4406
|
+
app.component(script$9.name, script$9);
|
|
4401
4407
|
};
|
|
4402
4408
|
|
|
4403
4409
|
/**
|
|
@@ -11494,7 +11500,7 @@
|
|
|
11494
11500
|
}
|
|
11495
11501
|
return cssText;
|
|
11496
11502
|
}
|
|
11497
|
-
var script$
|
|
11503
|
+
var script$8 = vue.defineComponent({
|
|
11498
11504
|
name: 'swiper-page',
|
|
11499
11505
|
props: {
|
|
11500
11506
|
work: {
|
|
@@ -11589,7 +11595,7 @@
|
|
|
11589
11595
|
}
|
|
11590
11596
|
});
|
|
11591
11597
|
|
|
11592
|
-
const _hoisted_1$
|
|
11598
|
+
const _hoisted_1$7 = { style: {"width":"100%","height":"100%"} };
|
|
11593
11599
|
const _hoisted_2$4 = ["id"];
|
|
11594
11600
|
const _hoisted_3$2 = {
|
|
11595
11601
|
key: 0,
|
|
@@ -11603,11 +11609,11 @@
|
|
|
11603
11609
|
_hoisted_4$2
|
|
11604
11610
|
];
|
|
11605
11611
|
|
|
11606
|
-
function render$
|
|
11612
|
+
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11607
11613
|
const _component_swiper_slide = vue.resolveComponent("swiper-slide");
|
|
11608
11614
|
const _component_swiper = vue.resolveComponent("swiper");
|
|
11609
11615
|
|
|
11610
|
-
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
11616
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
|
|
11611
11617
|
vue.createVNode(_component_swiper, {
|
|
11612
11618
|
class: "swiper-container",
|
|
11613
11619
|
modules: _ctx.modules,
|
|
@@ -11651,24 +11657,24 @@
|
|
|
11651
11657
|
]))
|
|
11652
11658
|
}
|
|
11653
11659
|
|
|
11654
|
-
script$
|
|
11655
|
-
script$
|
|
11660
|
+
script$8.render = render$8;
|
|
11661
|
+
script$8.__file = "src/components/SwiperPage/SwiperPage.vue";
|
|
11656
11662
|
|
|
11657
11663
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11658
|
-
script$
|
|
11659
|
-
app.component(script$
|
|
11664
|
+
script$8.install = (app) => {
|
|
11665
|
+
app.component(script$8.name, script$8);
|
|
11660
11666
|
};
|
|
11661
11667
|
|
|
11662
|
-
const defaultProps$
|
|
11668
|
+
const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
|
|
11663
11669
|
// array that contains style props
|
|
11664
|
-
var script$
|
|
11670
|
+
var script$7 = vue.defineComponent({
|
|
11665
11671
|
name: 'uni-background',
|
|
11666
11672
|
props: {
|
|
11667
11673
|
watermark: {
|
|
11668
11674
|
type: Boolean,
|
|
11669
11675
|
default: false
|
|
11670
11676
|
},
|
|
11671
|
-
...defaultProps$
|
|
11677
|
+
...defaultProps$5
|
|
11672
11678
|
},
|
|
11673
11679
|
components: {},
|
|
11674
11680
|
setup(props) {
|
|
@@ -11684,20 +11690,20 @@
|
|
|
11684
11690
|
}
|
|
11685
11691
|
});
|
|
11686
11692
|
|
|
11687
|
-
const _hoisted_1$
|
|
11693
|
+
const _hoisted_1$6 = {
|
|
11688
11694
|
key: 0,
|
|
11689
11695
|
class: "watermark"
|
|
11690
11696
|
};
|
|
11691
11697
|
const _hoisted_2$3 = ["src"];
|
|
11692
11698
|
|
|
11693
|
-
function render$
|
|
11699
|
+
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11694
11700
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
11695
11701
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
11696
11702
|
class: "uni-background-component"
|
|
11697
11703
|
}, [
|
|
11698
11704
|
vue.createCommentVNode(" <a-watermark v-if=\"watermark\" content=\"Unika\" class=\"watermark\">\r\n <div style=\"\" />\r\n </a-watermark> "),
|
|
11699
11705
|
(_ctx.watermark)
|
|
11700
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
11706
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, "Unika"))
|
|
11701
11707
|
: vue.createCommentVNode("v-if", true),
|
|
11702
11708
|
(_ctx.backgroundImage !== '')
|
|
11703
11709
|
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
@@ -11709,20 +11715,20 @@
|
|
|
11709
11715
|
], 4 /* STYLE */))
|
|
11710
11716
|
}
|
|
11711
11717
|
|
|
11712
|
-
script$
|
|
11713
|
-
script$
|
|
11714
|
-
script$
|
|
11718
|
+
script$7.render = render$7;
|
|
11719
|
+
script$7.__scopeId = "data-v-04e7238d";
|
|
11720
|
+
script$7.__file = "src/components/UniBackground/UniBackground.vue";
|
|
11715
11721
|
|
|
11716
|
-
script$
|
|
11717
|
-
app.component(script$
|
|
11722
|
+
script$7.install = (app) => {
|
|
11723
|
+
app.component(script$7.name, script$7);
|
|
11718
11724
|
};
|
|
11719
11725
|
|
|
11720
|
-
const defaultProps$
|
|
11726
|
+
const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-music'].props, isEditingProp);
|
|
11721
11727
|
// array that contains style props
|
|
11722
|
-
var script$
|
|
11728
|
+
var script$6 = vue.defineComponent({
|
|
11723
11729
|
name: 'uni-music',
|
|
11724
11730
|
props: {
|
|
11725
|
-
...defaultProps$
|
|
11731
|
+
...defaultProps$4
|
|
11726
11732
|
},
|
|
11727
11733
|
setup(props) {
|
|
11728
11734
|
// 重用并且简化
|
|
@@ -11777,7 +11783,7 @@
|
|
|
11777
11783
|
});
|
|
11778
11784
|
|
|
11779
11785
|
const _withScopeId$1 = n => (vue.pushScopeId("data-v-99922522"),n=n(),vue.popScopeId(),n);
|
|
11780
|
-
const _hoisted_1$
|
|
11786
|
+
const _hoisted_1$5 = {
|
|
11781
11787
|
id: "audio",
|
|
11782
11788
|
class: "uni-music-component"
|
|
11783
11789
|
};
|
|
@@ -11792,11 +11798,11 @@
|
|
|
11792
11798
|
};
|
|
11793
11799
|
const _hoisted_5$1 = ["src"];
|
|
11794
11800
|
|
|
11795
|
-
function render$
|
|
11801
|
+
function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11796
11802
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
11797
11803
|
style: vue.normalizeStyle(_ctx.styleProps)
|
|
11798
11804
|
}, [
|
|
11799
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
11805
|
+
vue.createElementVNode("div", _hoisted_1$5, [
|
|
11800
11806
|
vue.createElementVNode("div", {
|
|
11801
11807
|
class: vue.normalizeClass({ mrotate: _ctx.isPlaying, audio: true }),
|
|
11802
11808
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.togglePlay && _ctx.togglePlay(...args)))
|
|
@@ -11822,20 +11828,20 @@
|
|
|
11822
11828
|
], 4 /* STYLE */))
|
|
11823
11829
|
}
|
|
11824
11830
|
|
|
11825
|
-
script$
|
|
11826
|
-
script$
|
|
11827
|
-
script$
|
|
11831
|
+
script$6.render = render$6;
|
|
11832
|
+
script$6.__scopeId = "data-v-99922522";
|
|
11833
|
+
script$6.__file = "src/components/UniMusic/UniMusic.vue";
|
|
11828
11834
|
|
|
11829
|
-
script$
|
|
11830
|
-
app.component(script$
|
|
11835
|
+
script$6.install = (app) => {
|
|
11836
|
+
app.component(script$6.name, script$6);
|
|
11831
11837
|
};
|
|
11832
11838
|
|
|
11833
|
-
const defaultProps$
|
|
11839
|
+
const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
|
|
11834
11840
|
// array that contains style props
|
|
11835
|
-
var script$
|
|
11841
|
+
var script$5 = vue.defineComponent({
|
|
11836
11842
|
name: 'uni-video',
|
|
11837
11843
|
props: {
|
|
11838
|
-
...defaultProps$
|
|
11844
|
+
...defaultProps$3
|
|
11839
11845
|
},
|
|
11840
11846
|
components: {
|
|
11841
11847
|
// FontAwesomeIcon
|
|
@@ -11871,19 +11877,19 @@
|
|
|
11871
11877
|
}
|
|
11872
11878
|
});
|
|
11873
11879
|
|
|
11874
|
-
const _hoisted_1$
|
|
11880
|
+
const _hoisted_1$4 = {
|
|
11875
11881
|
ref: "videoPlayer",
|
|
11876
11882
|
controls: "",
|
|
11877
11883
|
style: {"width":"100%","height":"100%"}
|
|
11878
11884
|
};
|
|
11879
11885
|
const _hoisted_2$1 = ["src"];
|
|
11880
11886
|
|
|
11881
|
-
function render$
|
|
11887
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11882
11888
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
11883
11889
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
11884
11890
|
class: "uni-video-component"
|
|
11885
11891
|
}, [
|
|
11886
|
-
vue.createElementVNode("video", _hoisted_1$
|
|
11892
|
+
vue.createElementVNode("video", _hoisted_1$4, [
|
|
11887
11893
|
vue.createElementVNode("source", {
|
|
11888
11894
|
src: _ctx.videoSrc,
|
|
11889
11895
|
type: "video/mp4"
|
|
@@ -11892,12 +11898,12 @@
|
|
|
11892
11898
|
], 4 /* STYLE */))
|
|
11893
11899
|
}
|
|
11894
11900
|
|
|
11895
|
-
script$
|
|
11896
|
-
script$
|
|
11897
|
-
script$
|
|
11901
|
+
script$5.render = render$5;
|
|
11902
|
+
script$5.__scopeId = "data-v-03ff4e2f";
|
|
11903
|
+
script$5.__file = "src/components/UniVideo/UniVideo.vue";
|
|
11898
11904
|
|
|
11899
|
-
script$
|
|
11900
|
-
app.component(script$
|
|
11905
|
+
script$5.install = (app) => {
|
|
11906
|
+
app.component(script$5.name, script$5);
|
|
11901
11907
|
};
|
|
11902
11908
|
|
|
11903
11909
|
function _typeof(o) {
|
|
@@ -14321,7 +14327,7 @@
|
|
|
14321
14327
|
// }
|
|
14322
14328
|
// https://github.com/Tosn/vue-calendar/blob/master/src/App.vue
|
|
14323
14329
|
// array that contains style props
|
|
14324
|
-
var script$
|
|
14330
|
+
var script$4 = vue.defineComponent({
|
|
14325
14331
|
name: 'calendar',
|
|
14326
14332
|
props: {
|
|
14327
14333
|
title: {
|
|
@@ -14411,9 +14417,9 @@
|
|
|
14411
14417
|
});
|
|
14412
14418
|
|
|
14413
14419
|
const _withScopeId = n => (vue.pushScopeId("data-v-ef842ea2"),n=n(),vue.popScopeId(),n);
|
|
14414
|
-
const _hoisted_1$
|
|
14420
|
+
const _hoisted_1$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("i", { class: "el-icon-arrow-right" }, null, -1 /* HOISTED */));
|
|
14415
14421
|
|
|
14416
|
-
function render$
|
|
14422
|
+
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14417
14423
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
14418
14424
|
class: vue.normalizeClass(`${_ctx.cp}-box`)
|
|
14419
14425
|
}, [
|
|
@@ -14431,7 +14437,7 @@
|
|
|
14431
14437
|
class: vue.normalizeClass(["el-icon-arrow-left", { disabled: _ctx.isFirstMonth }])
|
|
14432
14438
|
}, null, 2 /* CLASS */),
|
|
14433
14439
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.currentYearAndMonth), 1 /* TEXT */),
|
|
14434
|
-
_hoisted_1$
|
|
14440
|
+
_hoisted_1$3
|
|
14435
14441
|
])
|
|
14436
14442
|
], 2 /* CLASS */)
|
|
14437
14443
|
], 2 /* CLASS */),
|
|
@@ -14469,11 +14475,11 @@
|
|
|
14469
14475
|
], 2 /* CLASS */))
|
|
14470
14476
|
}
|
|
14471
14477
|
|
|
14472
|
-
script$
|
|
14473
|
-
script$
|
|
14474
|
-
script$
|
|
14478
|
+
script$4.render = render$4;
|
|
14479
|
+
script$4.__scopeId = "data-v-ef842ea2";
|
|
14480
|
+
script$4.__file = "src/components/UniCalendar/Calendar.vue";
|
|
14475
14481
|
|
|
14476
|
-
const defaultProps$
|
|
14482
|
+
const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
|
|
14477
14483
|
// 获取当前日期和时间
|
|
14478
14484
|
const now$2 = new Date();
|
|
14479
14485
|
// 添加一天
|
|
@@ -14485,17 +14491,17 @@
|
|
|
14485
14491
|
// 拼接成最终的字符串
|
|
14486
14492
|
const formattedDate$1 = `${year$1}-${month$1}-${day$1}`;
|
|
14487
14493
|
// array that contains style props
|
|
14488
|
-
var script$
|
|
14494
|
+
var script$3 = vue.defineComponent({
|
|
14489
14495
|
name: 'uni-calendar',
|
|
14490
14496
|
props: {
|
|
14491
|
-
...defaultProps$
|
|
14497
|
+
...defaultProps$2,
|
|
14492
14498
|
weddingDate: {
|
|
14493
14499
|
type: String,
|
|
14494
14500
|
default: formattedDate$1
|
|
14495
14501
|
}
|
|
14496
14502
|
},
|
|
14497
14503
|
components: {
|
|
14498
|
-
Calendar: script$
|
|
14504
|
+
Calendar: script$4
|
|
14499
14505
|
},
|
|
14500
14506
|
setup(props) {
|
|
14501
14507
|
// 重用并且简化
|
|
@@ -14527,12 +14533,12 @@
|
|
|
14527
14533
|
}
|
|
14528
14534
|
});
|
|
14529
14535
|
|
|
14530
|
-
const _hoisted_1$
|
|
14536
|
+
const _hoisted_1$2 = {
|
|
14531
14537
|
key: 0,
|
|
14532
14538
|
class: "slot-number"
|
|
14533
14539
|
};
|
|
14534
14540
|
|
|
14535
|
-
function render$
|
|
14541
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14536
14542
|
const _component_Calendar = vue.resolveComponent("Calendar");
|
|
14537
14543
|
|
|
14538
14544
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -14547,7 +14553,7 @@
|
|
|
14547
14553
|
}, {
|
|
14548
14554
|
default: vue.withCtx((slotProps) => [
|
|
14549
14555
|
(_ctx.checkItem(slotProps.item.date))
|
|
14550
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
14556
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, vue.toDisplayString(_ctx.getItemNumber(slotProps.item.date)), 1 /* TEXT */))
|
|
14551
14557
|
: vue.createCommentVNode("v-if", true)
|
|
14552
14558
|
]),
|
|
14553
14559
|
_: 1 /* STABLE */
|
|
@@ -14555,11 +14561,11 @@
|
|
|
14555
14561
|
], 4 /* STYLE */))
|
|
14556
14562
|
}
|
|
14557
14563
|
|
|
14558
|
-
script$
|
|
14559
|
-
script$
|
|
14564
|
+
script$3.render = render$3;
|
|
14565
|
+
script$3.__file = "src/components/UniCalendar/UniCalendar.vue";
|
|
14560
14566
|
|
|
14561
|
-
script$
|
|
14562
|
-
app.component(script$
|
|
14567
|
+
script$3.install = (app) => {
|
|
14568
|
+
app.component(script$3.name, script$3);
|
|
14563
14569
|
};
|
|
14564
14570
|
|
|
14565
14571
|
function rng() {
|
|
@@ -20279,7 +20285,7 @@
|
|
|
20279
20285
|
// https://github.com/coskuncay/vue3-flip-countdown/blob/master/src/Countdown.vue
|
|
20280
20286
|
const fmt = 'YYYY-MM-DD HH:mm:ss';
|
|
20281
20287
|
|
|
20282
|
-
|
|
20288
|
+
var script$2 = {
|
|
20283
20289
|
name: 'countdown',
|
|
20284
20290
|
props: {
|
|
20285
20291
|
deadline: {
|
|
@@ -20575,21 +20581,9 @@
|
|
|
20575
20581
|
twoDigits
|
|
20576
20582
|
}
|
|
20577
20583
|
}
|
|
20578
|
-
};
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
"47d33153-mainColor": (_ctx.mainColor),
|
|
20582
|
-
"47d33153-labelColor": (_ctx.labelColor),
|
|
20583
|
-
"47d33153-mainFlipBackgroundColor": (_ctx.mainFlipBackgroundColor),
|
|
20584
|
-
"47d33153-secondFlipColor": (_ctx.secondFlipColor),
|
|
20585
|
-
"47d33153-secondFlipBackgroundColor": (_ctx.secondFlipBackgroundColor)
|
|
20586
|
-
}));};
|
|
20587
|
-
const __setup__ = __default__.setup;
|
|
20588
|
-
__default__.setup = __setup__
|
|
20589
|
-
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
|
|
20590
|
-
: __injectCSSVars__;
|
|
20591
|
-
|
|
20592
|
-
const _hoisted_1 = { class: "flip-clock" };
|
|
20584
|
+
};
|
|
20585
|
+
|
|
20586
|
+
const _hoisted_1$1 = { class: "flip-clock" };
|
|
20593
20587
|
const _hoisted_2 = ["id"];
|
|
20594
20588
|
const _hoisted_3 = { key: 0 };
|
|
20595
20589
|
const _hoisted_4 = { class: "flip-card__top" };
|
|
@@ -20599,8 +20593,8 @@
|
|
|
20599
20593
|
const _hoisted_8 = { key: 1 };
|
|
20600
20594
|
const _hoisted_9 = { class: "no-animation__card" };
|
|
20601
20595
|
|
|
20602
|
-
function render$
|
|
20603
|
-
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
20596
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20597
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
|
|
20604
20598
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($setup.timeData, (data) => {
|
|
20605
20599
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
20606
20600
|
key: data.label,
|
|
@@ -20645,11 +20639,11 @@
|
|
|
20645
20639
|
]))
|
|
20646
20640
|
}
|
|
20647
20641
|
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20642
|
+
script$2.render = render$2;
|
|
20643
|
+
script$2.__scopeId = "data-v-47d33153";
|
|
20644
|
+
script$2.__file = "src/components/UniCountdown/Countdown.vue";
|
|
20651
20645
|
|
|
20652
|
-
const defaultProps = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
|
|
20646
|
+
const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
|
|
20653
20647
|
// 获取当前日期和时间
|
|
20654
20648
|
const now = new Date();
|
|
20655
20649
|
// 添加一天
|
|
@@ -20664,17 +20658,17 @@
|
|
|
20664
20658
|
// 拼接成最终的字符串
|
|
20665
20659
|
const formattedDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
|
20666
20660
|
// array that contains style props
|
|
20667
|
-
var script = vue.defineComponent({
|
|
20661
|
+
var script$1 = vue.defineComponent({
|
|
20668
20662
|
name: 'uni-countdown',
|
|
20669
20663
|
props: {
|
|
20670
|
-
...defaultProps,
|
|
20664
|
+
...defaultProps$1,
|
|
20671
20665
|
deadline: {
|
|
20672
20666
|
type: String,
|
|
20673
20667
|
default: formattedDate
|
|
20674
20668
|
}
|
|
20675
20669
|
},
|
|
20676
20670
|
components: {
|
|
20677
|
-
Countdown:
|
|
20671
|
+
Countdown: script$2
|
|
20678
20672
|
},
|
|
20679
20673
|
setup(props) {
|
|
20680
20674
|
// 重用并且简化
|
|
@@ -20688,7 +20682,7 @@
|
|
|
20688
20682
|
}
|
|
20689
20683
|
});
|
|
20690
20684
|
|
|
20691
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20685
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20692
20686
|
const _component_Countdown = vue.resolveComponent("Countdown");
|
|
20693
20687
|
|
|
20694
20688
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -20699,8 +20693,49 @@
|
|
|
20699
20693
|
], 4 /* STYLE */))
|
|
20700
20694
|
}
|
|
20701
20695
|
|
|
20696
|
+
script$1.render = render$1;
|
|
20697
|
+
script$1.__file = "src/components/UniCountdown/UniCountdown.vue";
|
|
20698
|
+
|
|
20699
|
+
script$1.install = (app) => {
|
|
20700
|
+
app.component(script$1.name, script$1);
|
|
20701
|
+
};
|
|
20702
|
+
|
|
20703
|
+
const defaultProps = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
|
|
20704
|
+
// array that contains style props
|
|
20705
|
+
var script = vue.defineComponent({
|
|
20706
|
+
name: 'uni-map',
|
|
20707
|
+
props: {
|
|
20708
|
+
...defaultProps,
|
|
20709
|
+
iframeHtml: {
|
|
20710
|
+
type: String,
|
|
20711
|
+
default: '<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d124057.13973344355!2d100.5219118!3d13.670796!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e29783d7dce213%3A0x78e987624e691b7a!2sWat%20Chai%20Chimphli!5e0!3m2!1szh-CN!2sth!4v1698893935617!5m2!1szh-CN!2sth" width="160" height="120" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>'
|
|
20712
|
+
}
|
|
20713
|
+
},
|
|
20714
|
+
components: {},
|
|
20715
|
+
setup(props) {
|
|
20716
|
+
// 重用并且简化
|
|
20717
|
+
// 抽离并且获得 styleProps
|
|
20718
|
+
const styleProps = useStylePick(props);
|
|
20719
|
+
const handleClick = useComponentClick(props);
|
|
20720
|
+
return {
|
|
20721
|
+
styleProps,
|
|
20722
|
+
handleClick
|
|
20723
|
+
};
|
|
20724
|
+
}
|
|
20725
|
+
});
|
|
20726
|
+
|
|
20727
|
+
const _hoisted_1 = ["innerHTML"];
|
|
20728
|
+
|
|
20729
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20730
|
+
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
20731
|
+
style: vue.normalizeStyle(_ctx.styleProps),
|
|
20732
|
+
innerHTML: _ctx.iframeHtml,
|
|
20733
|
+
class: "uni-map-component"
|
|
20734
|
+
}, null, 12 /* STYLE, PROPS */, _hoisted_1))
|
|
20735
|
+
}
|
|
20736
|
+
|
|
20702
20737
|
script.render = render;
|
|
20703
|
-
script.__file = "src/components/
|
|
20738
|
+
script.__file = "src/components/UniMap/UniMap.vue";
|
|
20704
20739
|
|
|
20705
20740
|
script.install = (app) => {
|
|
20706
20741
|
app.component(script.name, script);
|
|
@@ -20708,13 +20743,14 @@
|
|
|
20708
20743
|
|
|
20709
20744
|
// export { textDefaultProps , textStylePropNames, TextComponentProps,
|
|
20710
20745
|
const components = [
|
|
20746
|
+
script$c,
|
|
20747
|
+
script$b,
|
|
20711
20748
|
script$a,
|
|
20712
20749
|
script$9,
|
|
20713
20750
|
script$8,
|
|
20714
20751
|
script$7,
|
|
20715
20752
|
script$6,
|
|
20716
20753
|
script$5,
|
|
20717
|
-
script$4,
|
|
20718
20754
|
script$3,
|
|
20719
20755
|
script$1,
|
|
20720
20756
|
script
|
|
@@ -20729,16 +20765,17 @@
|
|
|
20729
20765
|
install
|
|
20730
20766
|
};
|
|
20731
20767
|
|
|
20732
|
-
exports.LongPage = script$
|
|
20733
|
-
exports.SwiperPage = script$
|
|
20734
|
-
exports.UniBackground = script$
|
|
20735
|
-
exports.UniCalendar = script$
|
|
20736
|
-
exports.UniCountdown = script;
|
|
20737
|
-
exports.UniImage = script$
|
|
20738
|
-
exports.
|
|
20739
|
-
exports.
|
|
20740
|
-
exports.
|
|
20741
|
-
exports.
|
|
20768
|
+
exports.LongPage = script$9;
|
|
20769
|
+
exports.SwiperPage = script$8;
|
|
20770
|
+
exports.UniBackground = script$7;
|
|
20771
|
+
exports.UniCalendar = script$3;
|
|
20772
|
+
exports.UniCountdown = script$1;
|
|
20773
|
+
exports.UniImage = script$b;
|
|
20774
|
+
exports.UniMap = script;
|
|
20775
|
+
exports.UniMusic = script$6;
|
|
20776
|
+
exports.UniShape = script$a;
|
|
20777
|
+
exports.UniText = script$c;
|
|
20778
|
+
exports.UniVideo = script$5;
|
|
20742
20779
|
exports["default"] = index;
|
|
20743
20780
|
exports.install = install;
|
|
20744
20781
|
|