unika-components 1.0.21 → 1.0.22

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.
@@ -1,79 +1,14 @@
1
1
 
2
- .slide-guide {
3
- position: absolute;
4
- bottom: 90px;
5
- left: 50%;
6
- transform: translateX(-50%);
7
- }
8
- .slide-guide img {
9
- animation: flowing 2s ease-in-out infinite;
10
- width: 33px;
11
- vertical-align: middle;
12
- border-style: none;
13
- }
14
- body, html {
15
- position: relative;
16
- width: 100%;
17
- height: 100%;
18
- margin: 0px;
19
- }
20
- .swiper-container {
21
- width: 100%;
22
- height: 100%;
23
- }
24
- .swiper-slide {
25
- width: 100%;
26
- height: 100%;
27
- overflow: hidden;
28
- background-size: cover;
29
- background-position: center;
30
- background-repeat: no-repeat;
31
- }
32
- .up-arrow {
33
- width: 2rem;
34
- height: 2rem;
35
- position: fixed;
36
- bottom: 2rem;
37
- left: 50%;
38
- transform: translate3d(-50%, 0, 0);
39
- z-index: 999;
40
- background: none;
41
- border: none;
42
- padding: 0;
43
- animation: upArrowAni 2s infinite linear;
44
- }
45
- .up-arrow img {
46
- width: 2rem;
47
- height: 2rem;
48
- text-align: center;
49
- line-height: 2rem;
50
- color: #fff;
51
- font-size: 1.5rem;
2
+ h2.uni-text-component, p.uni-text-component {
3
+ margin-bottom: 0;
52
4
  }
53
- @keyframes upArrowAni {
54
- 0% {
55
- opacity: 0;
56
- transform: translate3d(-50%, 30%, 0);
57
- }
58
-
59
- 30% {
60
- opacity: 1;
61
- transform: translate3d(-50%, -20%, 0);
62
- }
63
-
64
- 60% {
65
- opacity: 0;
66
- transform: translate3d(-50%, -35%, 0);
67
- }
68
-
69
- 100% {
70
- opacity: 0;
71
- transform: translate3d(-50%, -50%, 0);
72
- }
5
+ button.uni-text-component {
6
+ padding: 5px 10px;
7
+ cursor: pointer;
73
8
  }
74
-
75
- .uni-image-component {
76
- max-width: 100%;
9
+ .uni-text-component {
10
+ box-sizing: border-box;
11
+ white-space: pre-wrap;
77
12
  }
78
13
 
79
14
  #audio {
@@ -171,16 +106,8 @@ body, html {
171
106
  }
172
107
  }
173
108
 
174
- h2.uni-text-component, p.uni-text-component {
175
- margin-bottom: 0;
176
- }
177
- button.uni-text-component {
178
- padding: 5px 10px;
179
- cursor: pointer;
180
- }
181
- .uni-text-component {
182
- box-sizing: border-box;
183
- white-space: pre-wrap;
109
+ .uni-image-component {
110
+ max-width: 100%;
184
111
  }
185
112
 
186
113
  .uni-background-component {
@@ -218,6 +145,79 @@ button.uni-text-component {
218
145
  background-position: center;
219
146
  opacity: 0.1;
220
147
  }
148
+
149
+ .slide-guide {
150
+ position: absolute;
151
+ bottom: 90px;
152
+ left: 50%;
153
+ transform: translateX(-50%);
154
+ }
155
+ .slide-guide img {
156
+ animation: flowing 2s ease-in-out infinite;
157
+ width: 33px;
158
+ vertical-align: middle;
159
+ border-style: none;
160
+ }
161
+ body, html {
162
+ position: relative;
163
+ width: 100%;
164
+ height: 100%;
165
+ margin: 0px;
166
+ }
167
+ .swiper-container {
168
+ width: 100%;
169
+ height: 100%;
170
+ }
171
+ .swiper-slide {
172
+ width: 100%;
173
+ height: 100%;
174
+ overflow: hidden;
175
+ background-size: cover;
176
+ background-position: center;
177
+ background-repeat: no-repeat;
178
+ }
179
+ .up-arrow {
180
+ width: 2rem;
181
+ height: 2rem;
182
+ position: fixed;
183
+ bottom: 2rem;
184
+ left: 50%;
185
+ transform: translate3d(-50%, 0, 0);
186
+ z-index: 999;
187
+ background: none;
188
+ border: none;
189
+ padding: 0;
190
+ animation: upArrowAni 2s infinite linear;
191
+ }
192
+ .up-arrow img {
193
+ width: 2rem;
194
+ height: 2rem;
195
+ text-align: center;
196
+ line-height: 2rem;
197
+ color: #fff;
198
+ font-size: 1.5rem;
199
+ }
200
+ @keyframes upArrowAni {
201
+ 0% {
202
+ opacity: 0;
203
+ transform: translate3d(-50%, 30%, 0);
204
+ }
205
+
206
+ 30% {
207
+ opacity: 1;
208
+ transform: translate3d(-50%, -20%, 0);
209
+ }
210
+
211
+ 60% {
212
+ opacity: 0;
213
+ transform: translate3d(-50%, -35%, 0);
214
+ }
215
+
216
+ 100% {
217
+ opacity: 0;
218
+ transform: translate3d(-50%, -50%, 0);
219
+ }
220
+ }
221
221
 
222
222
  .slot-number {
223
223
  position: absolute;
@@ -885,60 +885,59 @@ button.swiper-pagination-bullet {
885
885
  }
886
886
 
887
887
  .no-animation__card {
888
- font-weight: 500;
889
- font-size: 2rem;
890
- line-height: 1.5;
891
- display: block;
892
- color: v-bind(mainColor);
888
+ font-weight: 500;
889
+ font-size: 2rem;
890
+ line-height: 1.5;
891
+ display: block;
892
+ color: var(--main-color);
893
893
  }
894
894
 
895
895
  .flip-clock {
896
- text-align: center;
897
- perspective: 600px;
898
- margin: 0 auto;
896
+ text-align: center;
897
+ perspective: 600px;
898
+ margin: 0 auto;
899
+ }
899
900
 
900
- *,
901
- *:before,
902
- *:after {
903
- box-sizing: border-box;
904
- }
901
+ .flip-clock *,
902
+ .flip-clock *:before,
903
+ .flip-clock *:after {
904
+ box-sizing: border-box;
905
905
  }
906
906
 
907
907
  .flip-clock__piece {
908
- display: inline-block;
909
- margin: 0 0.2vw;
908
+ display: inline-block;
909
+ margin: 0 0.2vw;
910
+ }
910
911
 
911
- @media (min-width: 1000px) {
912
- margin: 0 5px;
913
- }
912
+ @media (min-width: 1000px) {
913
+ .flip-clock__piece {
914
+ margin: 0 5px;
915
+ }
914
916
  }
915
917
 
916
918
  .flip-clock__slot {
917
- font-size: 1rem;
918
- line-height: 1.5;
919
- display: block;
920
- color: v-bind(labelColor);
919
+ font-size: 1rem;
920
+ line-height: 1.5;
921
+ display: block;
922
+ color: var(--label-color);
921
923
  }
922
924
 
923
- @halfHeight: 0.72em;
924
- @borderRadius: 0.15em;
925
-
926
925
  .flip-card {
927
- display: block;
928
- position: relative;
929
- padding-bottom: @halfHeight;
930
- font-size: 2.25rem;
931
- line-height: 0.95;
926
+ display: block;
927
+ position: relative;
928
+ padding-bottom: 0.72em;
929
+ font-size: 2.25rem;
930
+ line-height: 0.95;
932
931
  }
933
932
 
934
933
  @media (min-width: 1000px) {
935
- .flip-clock__slot {
936
- font-size: 1.2rem;
937
- }
934
+ .flip-clock__slot {
935
+ font-size: 1.2rem;
936
+ }
938
937
 
939
- .flip-card {
940
- font-size: 2rem;
941
- }
938
+ .flip-card {
939
+ font-size: 2rem;
940
+ }
942
941
  }
943
942
 
944
943
  .flip-card__top,
@@ -946,73 +945,17 @@ button.swiper-pagination-bullet {
946
945
  .flip-card__back-bottom,
947
946
  .flip-card__back::before,
948
947
  .flip-card__back::after {
949
- display: block;
950
- height: @halfHeight;
951
- color: v-bind(mainColor);
952
- background: v-bind(mainFlipBackgroundColor);
953
- padding: 0.23em 0.15em 0.4em;
954
- border-radius: @borderRadius @borderRadius 0 0;
955
- backface-visibility: hidden;
956
- -webkit-backface-visibility: hidden;
957
- transform-style: preserve-3d;
958
- width: 2.1em;
959
- height: @halfHeight;
960
- }
961
-
962
- .flip-card__top-4digits,
963
- .flip-card__bottom-4digits,
964
- .flip-card__back-bottom-4digits,
965
- .flip-card__back-4digits::before,
966
- .flip-card__back-4digits::after {
967
- display: block;
968
- height: @halfHeight;
969
- color: v-bind(mainColor);
970
- background: v-bind(mainFlipBackgroundColor);
971
- padding: 0.23em 0.15em 0.4em;
972
- border-radius: @borderRadius @borderRadius 0 0;
973
- backface-visibility: hidden;
974
- -webkit-backface-visibility: hidden;
975
- transform-style: preserve-3d;
976
- width: 2.65em;
977
- height: @halfHeight;
978
- }
979
-
980
- .flip-card__bottom,
981
- .flip-card__back-bottom,
982
- .flip-card__bottom-4digits,
983
- .flip-card__back-bottom-4digits {
984
- color: v-bind(secondFlipColor);
985
- position: absolute;
986
- top: 50%;
987
- left: 0;
988
- border-top: solid 1px #000;
989
- background: v-bind(secondFlipBackgroundColor);
990
- border-radius: 0 0 @borderRadius @borderRadius;
991
- pointer-events: none;
992
- overflow: hidden;
993
- z-index: 2;
994
- }
995
-
996
- .flip-card__back-bottom,
997
- .flip-card__back-bottom-4digits {
998
- z-index: 1;
999
- }
1000
-
1001
- .flip-card__bottom::after,
1002
- .flip-card__back-bottom::after,
1003
- .flip-card__bottom-4digits::after,
1004
- .flip-card__back-bottom-4digits::after {
1005
- display: block;
1006
- margin-top: -@halfHeight;
1007
- }
1008
-
1009
- .flip-card__back::before,
1010
- .flip-card__bottom::after,
1011
- .flip-card__back-bottom::after,
1012
- .flip-card__back-4digits::before,
1013
- .flip-card__bottom-4digits::after,
1014
- .flip-card__back-bottom-4digits::after {
1015
- content: attr(data-value);
948
+ display: block;
949
+ height: 0.72em;
950
+ color: var(--main-color);
951
+ background: var(--main-flip-background-color);
952
+ padding: 0.23em 0.15em 0.4em;
953
+ border-radius: 0.15em 0.15em 0 0;
954
+ backface-visibility: hidden;
955
+ -webkit-backface-visibility: hidden;
956
+ transform-style: preserve-3d;
957
+ width: 2.1em;
958
+ height: 0.72em;
1016
959
  }
1017
960
 
1018
961
  .flip-card__back,
@@ -1051,12 +994,9 @@ button.swiper-pagination-bullet {
1051
994
  transform: rotateX(0deg);
1052
995
  z-index: 2;
1053
996
  }
1054
-
1055
- 0%,
1056
- 99% {
997
+ 0%, 99% {
1057
998
  opacity: 1;
1058
999
  }
1059
-
1060
1000
  100% {
1061
1001
  transform: rotateX(-90deg);
1062
1002
  opacity: 0;
@@ -1064,18 +1004,14 @@ button.swiper-pagination-bullet {
1064
1004
  }
1065
1005
 
1066
1006
  @keyframes flipBottom {
1067
-
1068
- 0%,
1069
- 50% {
1007
+ 0%, 50% {
1070
1008
  z-index: -1;
1071
1009
  transform: rotateX(90deg);
1072
1010
  opacity: 0;
1073
1011
  }
1074
-
1075
1012
  51% {
1076
1013
  opacity: 1;
1077
1014
  }
1078
-
1079
1015
  100% {
1080
1016
  opacity: 1;
1081
1017
  transform: rotateX(0deg);
@@ -1,4 +1,4 @@
1
- import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, normalizeClass, createElementVNode, createCommentVNode, pushScopeId, popScopeId, renderSlot, toRefs, onBeforeMount, onUnmounted, useCssVars, withDirectives, vShow } from 'vue';
1
+ import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, normalizeClass, createElementVNode, createCommentVNode, pushScopeId, popScopeId, renderSlot, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow } from 'vue';
2
2
  import crypto from 'crypto';
3
3
 
4
4
  /** Detect free variable `global` from Node.js. */
@@ -4251,7 +4251,7 @@ const extraProps = {
4251
4251
  };
4252
4252
  const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
4253
4253
  // array that contains style props
4254
- var script$a = defineComponent({
4254
+ var script$b = defineComponent({
4255
4255
  name: 'uni-text',
4256
4256
  props: {
4257
4257
  ...defaultProps$6
@@ -4279,16 +4279,16 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
4279
4279
  }, 8 /* PROPS */, ["onClick", "style"]))
4280
4280
  }
4281
4281
 
4282
- script$a.render = render$b;
4283
- script$a.__scopeId = "data-v-55ed80cb";
4284
- script$a.__file = "src/components/UniText/UniText.vue";
4282
+ script$b.render = render$b;
4283
+ script$b.__scopeId = "data-v-55ed80cb";
4284
+ script$b.__file = "src/components/UniText/UniText.vue";
4285
4285
 
4286
- script$a.install = (app) => {
4287
- app.component(script$a.name, script$a);
4286
+ script$b.install = (app) => {
4287
+ app.component(script$b.name, script$b);
4288
4288
  };
4289
4289
 
4290
4290
  // array that contains style props
4291
- var script$9 = defineComponent({
4291
+ var script$a = defineComponent({
4292
4292
  name: 'uni-image',
4293
4293
  props: transformToComponentProps(componentsDefaultProps['uni-image'].props, isEditingProp),
4294
4294
  setup(props) {
@@ -4313,17 +4313,17 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
4313
4313
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$8))
4314
4314
  }
4315
4315
 
4316
- script$9.render = render$a;
4317
- script$9.__scopeId = "data-v-03caca2f";
4318
- script$9.__file = "src/components/UniImage/UniImage.vue";
4316
+ script$a.render = render$a;
4317
+ script$a.__scopeId = "data-v-03caca2f";
4318
+ script$a.__file = "src/components/UniImage/UniImage.vue";
4319
4319
 
4320
- script$9.install = (app) => {
4321
- app.component(script$9.name, script$9);
4320
+ script$a.install = (app) => {
4321
+ app.component(script$a.name, script$a);
4322
4322
  };
4323
4323
 
4324
4324
  const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
4325
4325
  // array that contains style props
4326
- var script$8 = defineComponent({
4326
+ var script$9 = defineComponent({
4327
4327
  name: 'uni-shape',
4328
4328
  props: {
4329
4329
  ...defaultProps$5
@@ -4347,14 +4347,14 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
4347
4347
  }, null, 4 /* STYLE */))
4348
4348
  }
4349
4349
 
4350
- script$8.render = render$9;
4351
- script$8.__file = "src/components/UniShape/UniShape.vue";
4350
+ script$9.render = render$9;
4351
+ script$9.__file = "src/components/UniShape/UniShape.vue";
4352
4352
 
4353
- script$8.install = (app) => {
4354
- app.component(script$8.name, script$8);
4353
+ script$9.install = (app) => {
4354
+ app.component(script$9.name, script$9);
4355
4355
  };
4356
4356
 
4357
- var script$7 = defineComponent({
4357
+ var script$8 = defineComponent({
4358
4358
  name: 'long-page',
4359
4359
  props: {
4360
4360
  work: {
@@ -4385,12 +4385,12 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
4385
4385
  ], 4 /* STYLE */))
4386
4386
  }
4387
4387
 
4388
- script$7.render = render$8;
4389
- script$7.__file = "src/components/LongPage/LongPage.vue";
4388
+ script$8.render = render$8;
4389
+ script$8.__file = "src/components/LongPage/LongPage.vue";
4390
4390
 
4391
4391
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4392
- script$7.install = (app) => {
4393
- app.component(script$7.name, script$7);
4392
+ script$8.install = (app) => {
4393
+ app.component(script$8.name, script$8);
4394
4394
  };
4395
4395
 
4396
4396
  /**
@@ -11487,7 +11487,7 @@ function getComputedCSSText(style) {
11487
11487
  }
11488
11488
  return cssText;
11489
11489
  }
11490
- var script$6 = defineComponent({
11490
+ var script$7 = defineComponent({
11491
11491
  name: 'swiper-page',
11492
11492
  props: {
11493
11493
  work: {
@@ -11644,17 +11644,17 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
11644
11644
  ]))
11645
11645
  }
11646
11646
 
11647
- script$6.render = render$7;
11648
- script$6.__file = "src/components/SwiperPage/SwiperPage.vue";
11647
+ script$7.render = render$7;
11648
+ script$7.__file = "src/components/SwiperPage/SwiperPage.vue";
11649
11649
 
11650
11650
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11651
- script$6.install = (app) => {
11652
- app.component(script$6.name, script$6);
11651
+ script$7.install = (app) => {
11652
+ app.component(script$7.name, script$7);
11653
11653
  };
11654
11654
 
11655
11655
  const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
11656
11656
  // array that contains style props
11657
- var script$5 = defineComponent({
11657
+ var script$6 = defineComponent({
11658
11658
  name: 'uni-background',
11659
11659
  props: {
11660
11660
  watermark: {
@@ -11702,17 +11702,17 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
11702
11702
  ], 4 /* STYLE */))
11703
11703
  }
11704
11704
 
11705
- script$5.render = render$6;
11706
- script$5.__scopeId = "data-v-04e7238d";
11707
- script$5.__file = "src/components/UniBackground/UniBackground.vue";
11705
+ script$6.render = render$6;
11706
+ script$6.__scopeId = "data-v-04e7238d";
11707
+ script$6.__file = "src/components/UniBackground/UniBackground.vue";
11708
11708
 
11709
- script$5.install = (app) => {
11710
- app.component(script$5.name, script$5);
11709
+ script$6.install = (app) => {
11710
+ app.component(script$6.name, script$6);
11711
11711
  };
11712
11712
 
11713
11713
  const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-music'].props, isEditingProp);
11714
11714
  // array that contains style props
11715
- var script$4 = defineComponent({
11715
+ var script$5 = defineComponent({
11716
11716
  name: 'uni-music',
11717
11717
  props: {
11718
11718
  ...defaultProps$3
@@ -11815,17 +11815,17 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
11815
11815
  ], 4 /* STYLE */))
11816
11816
  }
11817
11817
 
11818
- script$4.render = render$5;
11819
- script$4.__scopeId = "data-v-99922522";
11820
- script$4.__file = "src/components/UniMusic/UniMusic.vue";
11818
+ script$5.render = render$5;
11819
+ script$5.__scopeId = "data-v-99922522";
11820
+ script$5.__file = "src/components/UniMusic/UniMusic.vue";
11821
11821
 
11822
- script$4.install = (app) => {
11823
- app.component(script$4.name, script$4);
11822
+ script$5.install = (app) => {
11823
+ app.component(script$5.name, script$5);
11824
11824
  };
11825
11825
 
11826
11826
  const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
11827
11827
  // array that contains style props
11828
- var script$3 = defineComponent({
11828
+ var script$4 = defineComponent({
11829
11829
  name: 'uni-video',
11830
11830
  props: {
11831
11831
  ...defaultProps$2
@@ -11885,12 +11885,12 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
11885
11885
  ], 4 /* STYLE */))
11886
11886
  }
11887
11887
 
11888
- script$3.render = render$4;
11889
- script$3.__scopeId = "data-v-03ff4e2f";
11890
- script$3.__file = "src/components/UniVideo/UniVideo.vue";
11888
+ script$4.render = render$4;
11889
+ script$4.__scopeId = "data-v-03ff4e2f";
11890
+ script$4.__file = "src/components/UniVideo/UniVideo.vue";
11891
11891
 
11892
- script$3.install = (app) => {
11893
- app.component(script$3.name, script$3);
11892
+ script$4.install = (app) => {
11893
+ app.component(script$4.name, script$4);
11894
11894
  };
11895
11895
 
11896
11896
  function _typeof(o) {
@@ -14314,7 +14314,7 @@ const formattedDate$2 = `${year$2}-${month$2}-${day$2}`;
14314
14314
  // }
14315
14315
  // https://github.com/Tosn/vue-calendar/blob/master/src/App.vue
14316
14316
  // array that contains style props
14317
- var script$2 = defineComponent({
14317
+ var script$3 = defineComponent({
14318
14318
  name: 'calendar',
14319
14319
  props: {
14320
14320
  title: {
@@ -14462,9 +14462,9 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
14462
14462
  ], 2 /* CLASS */))
14463
14463
  }
14464
14464
 
14465
- script$2.render = render$3;
14466
- script$2.__scopeId = "data-v-ef842ea2";
14467
- script$2.__file = "src/components/UniCalendar/Calendar.vue";
14465
+ script$3.render = render$3;
14466
+ script$3.__scopeId = "data-v-ef842ea2";
14467
+ script$3.__file = "src/components/UniCalendar/Calendar.vue";
14468
14468
 
14469
14469
  const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
14470
14470
  // 获取当前日期和时间
@@ -14478,7 +14478,7 @@ const day$1 = String(now$2.getDate()).padStart(2, '0');
14478
14478
  // 拼接成最终的字符串
14479
14479
  const formattedDate$1 = `${year$1}-${month$1}-${day$1}`;
14480
14480
  // array that contains style props
14481
- var script$1 = defineComponent({
14481
+ var script$2 = defineComponent({
14482
14482
  name: 'uni-calendar',
14483
14483
  props: {
14484
14484
  ...defaultProps$1,
@@ -14488,7 +14488,7 @@ var script$1 = defineComponent({
14488
14488
  }
14489
14489
  },
14490
14490
  components: {
14491
- Calendar: script$2
14491
+ Calendar: script$3
14492
14492
  },
14493
14493
  setup(props) {
14494
14494
  // 重用并且简化
@@ -14548,11 +14548,11 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
14548
14548
  ], 4 /* STYLE */))
14549
14549
  }
14550
14550
 
14551
- script$1.render = render$2;
14552
- script$1.__file = "src/components/UniCalendar/UniCalendar.vue";
14551
+ script$2.render = render$2;
14552
+ script$2.__file = "src/components/UniCalendar/UniCalendar.vue";
14553
14553
 
14554
- script$1.install = (app) => {
14555
- app.component(script$1.name, script$1);
14554
+ script$2.install = (app) => {
14555
+ app.component(script$2.name, script$2);
14556
14556
  };
14557
14557
 
14558
14558
  function rng() {
@@ -20272,7 +20272,7 @@ hooks.HTML5_FMT = {
20272
20272
  // https://github.com/coskuncay/vue3-flip-countdown/blob/master/src/Countdown.vue
20273
20273
  const fmt = 'YYYY-MM-DD HH:mm:ss';
20274
20274
 
20275
- const __default__ = {
20275
+ var script$1 = {
20276
20276
  name: 'countdown',
20277
20277
  props: {
20278
20278
  deadline: {
@@ -20568,19 +20568,7 @@ const __default__ = {
20568
20568
  twoDigits
20569
20569
  }
20570
20570
  }
20571
- };
20572
- const __injectCSSVars__ = () => {
20573
- useCssVars(_ctx => ({
20574
- "47d33153-mainColor": (_ctx.mainColor),
20575
- "47d33153-labelColor": (_ctx.labelColor),
20576
- "47d33153-mainFlipBackgroundColor": (_ctx.mainFlipBackgroundColor),
20577
- "47d33153-secondFlipColor": (_ctx.secondFlipColor),
20578
- "47d33153-secondFlipBackgroundColor": (_ctx.secondFlipBackgroundColor)
20579
- }));};
20580
- const __setup__ = __default__.setup;
20581
- __default__.setup = __setup__
20582
- ? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
20583
- : __injectCSSVars__;
20571
+ };
20584
20572
 
20585
20573
  const _hoisted_1 = { class: "flip-clock" };
20586
20574
  const _hoisted_2 = ["id"];
@@ -20638,9 +20626,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
20638
20626
  ]))
20639
20627
  }
20640
20628
 
20641
- __default__.render = render$1;
20642
- __default__.__scopeId = "data-v-47d33153";
20643
- __default__.__file = "src/components/UniCountdown/Countdown.vue";
20629
+ script$1.render = render$1;
20630
+ script$1.__scopeId = "data-v-47d33153";
20631
+ script$1.__file = "src/components/UniCountdown/Countdown.vue";
20644
20632
 
20645
20633
  const defaultProps = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
20646
20634
  // 获取当前日期和时间
@@ -20667,7 +20655,7 @@ var script = defineComponent({
20667
20655
  }
20668
20656
  },
20669
20657
  components: {
20670
- Countdown: __default__
20658
+ Countdown: script$1
20671
20659
  },
20672
20660
  setup(props) {
20673
20661
  // 重用并且简化
@@ -20701,6 +20689,7 @@ script.install = (app) => {
20701
20689
 
20702
20690
  // export { textDefaultProps , textStylePropNames, TextComponentProps,
20703
20691
  const components = [
20692
+ script$b,
20704
20693
  script$a,
20705
20694
  script$9,
20706
20695
  script$8,
@@ -20708,8 +20697,7 @@ const components = [
20708
20697
  script$6,
20709
20698
  script$5,
20710
20699
  script$4,
20711
- script$3,
20712
- script$1,
20700
+ script$2,
20713
20701
  script
20714
20702
  ];
20715
20703
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
@@ -20722,4 +20710,4 @@ var index = {
20722
20710
  install
20723
20711
  };
20724
20712
 
20725
- export { script$7 as LongPage, script$6 as SwiperPage, script$5 as UniBackground, script$1 as UniCalendar, script as UniCountdown, script$9 as UniImage, script$4 as UniMusic, script$8 as UniShape, script$a as UniText, script$3 as UniVideo, index as default, install };
20713
+ export { script$8 as LongPage, script$7 as SwiperPage, script$6 as UniBackground, script$2 as UniCalendar, script as UniCountdown, script$a as UniImage, script$5 as UniMusic, script$9 as UniShape, script$b as UniText, script$4 as UniVideo, index as default, install };
@@ -4258,7 +4258,7 @@
4258
4258
  };
4259
4259
  const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
4260
4260
  // array that contains style props
4261
- var script$a = vue.defineComponent({
4261
+ var script$b = vue.defineComponent({
4262
4262
  name: 'uni-text',
4263
4263
  props: {
4264
4264
  ...defaultProps$6
@@ -4286,16 +4286,16 @@
4286
4286
  }, 8 /* PROPS */, ["onClick", "style"]))
4287
4287
  }
4288
4288
 
4289
- script$a.render = render$b;
4290
- script$a.__scopeId = "data-v-55ed80cb";
4291
- script$a.__file = "src/components/UniText/UniText.vue";
4289
+ script$b.render = render$b;
4290
+ script$b.__scopeId = "data-v-55ed80cb";
4291
+ script$b.__file = "src/components/UniText/UniText.vue";
4292
4292
 
4293
- script$a.install = (app) => {
4294
- app.component(script$a.name, script$a);
4293
+ script$b.install = (app) => {
4294
+ app.component(script$b.name, script$b);
4295
4295
  };
4296
4296
 
4297
4297
  // array that contains style props
4298
- var script$9 = vue.defineComponent({
4298
+ var script$a = vue.defineComponent({
4299
4299
  name: 'uni-image',
4300
4300
  props: transformToComponentProps(componentsDefaultProps['uni-image'].props, isEditingProp),
4301
4301
  setup(props) {
@@ -4320,17 +4320,17 @@
4320
4320
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$8))
4321
4321
  }
4322
4322
 
4323
- script$9.render = render$a;
4324
- script$9.__scopeId = "data-v-03caca2f";
4325
- script$9.__file = "src/components/UniImage/UniImage.vue";
4323
+ script$a.render = render$a;
4324
+ script$a.__scopeId = "data-v-03caca2f";
4325
+ script$a.__file = "src/components/UniImage/UniImage.vue";
4326
4326
 
4327
- script$9.install = (app) => {
4328
- app.component(script$9.name, script$9);
4327
+ script$a.install = (app) => {
4328
+ app.component(script$a.name, script$a);
4329
4329
  };
4330
4330
 
4331
4331
  const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
4332
4332
  // array that contains style props
4333
- var script$8 = vue.defineComponent({
4333
+ var script$9 = vue.defineComponent({
4334
4334
  name: 'uni-shape',
4335
4335
  props: {
4336
4336
  ...defaultProps$5
@@ -4354,14 +4354,14 @@
4354
4354
  }, null, 4 /* STYLE */))
4355
4355
  }
4356
4356
 
4357
- script$8.render = render$9;
4358
- script$8.__file = "src/components/UniShape/UniShape.vue";
4357
+ script$9.render = render$9;
4358
+ script$9.__file = "src/components/UniShape/UniShape.vue";
4359
4359
 
4360
- script$8.install = (app) => {
4361
- app.component(script$8.name, script$8);
4360
+ script$9.install = (app) => {
4361
+ app.component(script$9.name, script$9);
4362
4362
  };
4363
4363
 
4364
- var script$7 = vue.defineComponent({
4364
+ var script$8 = vue.defineComponent({
4365
4365
  name: 'long-page',
4366
4366
  props: {
4367
4367
  work: {
@@ -4392,12 +4392,12 @@
4392
4392
  ], 4 /* STYLE */))
4393
4393
  }
4394
4394
 
4395
- script$7.render = render$8;
4396
- script$7.__file = "src/components/LongPage/LongPage.vue";
4395
+ script$8.render = render$8;
4396
+ script$8.__file = "src/components/LongPage/LongPage.vue";
4397
4397
 
4398
4398
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4399
- script$7.install = (app) => {
4400
- app.component(script$7.name, script$7);
4399
+ script$8.install = (app) => {
4400
+ app.component(script$8.name, script$8);
4401
4401
  };
4402
4402
 
4403
4403
  /**
@@ -11494,7 +11494,7 @@
11494
11494
  }
11495
11495
  return cssText;
11496
11496
  }
11497
- var script$6 = vue.defineComponent({
11497
+ var script$7 = vue.defineComponent({
11498
11498
  name: 'swiper-page',
11499
11499
  props: {
11500
11500
  work: {
@@ -11651,17 +11651,17 @@
11651
11651
  ]))
11652
11652
  }
11653
11653
 
11654
- script$6.render = render$7;
11655
- script$6.__file = "src/components/SwiperPage/SwiperPage.vue";
11654
+ script$7.render = render$7;
11655
+ script$7.__file = "src/components/SwiperPage/SwiperPage.vue";
11656
11656
 
11657
11657
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11658
- script$6.install = (app) => {
11659
- app.component(script$6.name, script$6);
11658
+ script$7.install = (app) => {
11659
+ app.component(script$7.name, script$7);
11660
11660
  };
11661
11661
 
11662
11662
  const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
11663
11663
  // array that contains style props
11664
- var script$5 = vue.defineComponent({
11664
+ var script$6 = vue.defineComponent({
11665
11665
  name: 'uni-background',
11666
11666
  props: {
11667
11667
  watermark: {
@@ -11709,17 +11709,17 @@
11709
11709
  ], 4 /* STYLE */))
11710
11710
  }
11711
11711
 
11712
- script$5.render = render$6;
11713
- script$5.__scopeId = "data-v-04e7238d";
11714
- script$5.__file = "src/components/UniBackground/UniBackground.vue";
11712
+ script$6.render = render$6;
11713
+ script$6.__scopeId = "data-v-04e7238d";
11714
+ script$6.__file = "src/components/UniBackground/UniBackground.vue";
11715
11715
 
11716
- script$5.install = (app) => {
11717
- app.component(script$5.name, script$5);
11716
+ script$6.install = (app) => {
11717
+ app.component(script$6.name, script$6);
11718
11718
  };
11719
11719
 
11720
11720
  const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-music'].props, isEditingProp);
11721
11721
  // array that contains style props
11722
- var script$4 = vue.defineComponent({
11722
+ var script$5 = vue.defineComponent({
11723
11723
  name: 'uni-music',
11724
11724
  props: {
11725
11725
  ...defaultProps$3
@@ -11822,17 +11822,17 @@
11822
11822
  ], 4 /* STYLE */))
11823
11823
  }
11824
11824
 
11825
- script$4.render = render$5;
11826
- script$4.__scopeId = "data-v-99922522";
11827
- script$4.__file = "src/components/UniMusic/UniMusic.vue";
11825
+ script$5.render = render$5;
11826
+ script$5.__scopeId = "data-v-99922522";
11827
+ script$5.__file = "src/components/UniMusic/UniMusic.vue";
11828
11828
 
11829
- script$4.install = (app) => {
11830
- app.component(script$4.name, script$4);
11829
+ script$5.install = (app) => {
11830
+ app.component(script$5.name, script$5);
11831
11831
  };
11832
11832
 
11833
11833
  const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
11834
11834
  // array that contains style props
11835
- var script$3 = vue.defineComponent({
11835
+ var script$4 = vue.defineComponent({
11836
11836
  name: 'uni-video',
11837
11837
  props: {
11838
11838
  ...defaultProps$2
@@ -11892,12 +11892,12 @@
11892
11892
  ], 4 /* STYLE */))
11893
11893
  }
11894
11894
 
11895
- script$3.render = render$4;
11896
- script$3.__scopeId = "data-v-03ff4e2f";
11897
- script$3.__file = "src/components/UniVideo/UniVideo.vue";
11895
+ script$4.render = render$4;
11896
+ script$4.__scopeId = "data-v-03ff4e2f";
11897
+ script$4.__file = "src/components/UniVideo/UniVideo.vue";
11898
11898
 
11899
- script$3.install = (app) => {
11900
- app.component(script$3.name, script$3);
11899
+ script$4.install = (app) => {
11900
+ app.component(script$4.name, script$4);
11901
11901
  };
11902
11902
 
11903
11903
  function _typeof(o) {
@@ -14321,7 +14321,7 @@
14321
14321
  // }
14322
14322
  // https://github.com/Tosn/vue-calendar/blob/master/src/App.vue
14323
14323
  // array that contains style props
14324
- var script$2 = vue.defineComponent({
14324
+ var script$3 = vue.defineComponent({
14325
14325
  name: 'calendar',
14326
14326
  props: {
14327
14327
  title: {
@@ -14469,9 +14469,9 @@
14469
14469
  ], 2 /* CLASS */))
14470
14470
  }
14471
14471
 
14472
- script$2.render = render$3;
14473
- script$2.__scopeId = "data-v-ef842ea2";
14474
- script$2.__file = "src/components/UniCalendar/Calendar.vue";
14472
+ script$3.render = render$3;
14473
+ script$3.__scopeId = "data-v-ef842ea2";
14474
+ script$3.__file = "src/components/UniCalendar/Calendar.vue";
14475
14475
 
14476
14476
  const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
14477
14477
  // 获取当前日期和时间
@@ -14485,7 +14485,7 @@
14485
14485
  // 拼接成最终的字符串
14486
14486
  const formattedDate$1 = `${year$1}-${month$1}-${day$1}`;
14487
14487
  // array that contains style props
14488
- var script$1 = vue.defineComponent({
14488
+ var script$2 = vue.defineComponent({
14489
14489
  name: 'uni-calendar',
14490
14490
  props: {
14491
14491
  ...defaultProps$1,
@@ -14495,7 +14495,7 @@
14495
14495
  }
14496
14496
  },
14497
14497
  components: {
14498
- Calendar: script$2
14498
+ Calendar: script$3
14499
14499
  },
14500
14500
  setup(props) {
14501
14501
  // 重用并且简化
@@ -14555,11 +14555,11 @@
14555
14555
  ], 4 /* STYLE */))
14556
14556
  }
14557
14557
 
14558
- script$1.render = render$2;
14559
- script$1.__file = "src/components/UniCalendar/UniCalendar.vue";
14558
+ script$2.render = render$2;
14559
+ script$2.__file = "src/components/UniCalendar/UniCalendar.vue";
14560
14560
 
14561
- script$1.install = (app) => {
14562
- app.component(script$1.name, script$1);
14561
+ script$2.install = (app) => {
14562
+ app.component(script$2.name, script$2);
14563
14563
  };
14564
14564
 
14565
14565
  function rng() {
@@ -20279,7 +20279,7 @@
20279
20279
  // https://github.com/coskuncay/vue3-flip-countdown/blob/master/src/Countdown.vue
20280
20280
  const fmt = 'YYYY-MM-DD HH:mm:ss';
20281
20281
 
20282
- const __default__ = {
20282
+ var script$1 = {
20283
20283
  name: 'countdown',
20284
20284
  props: {
20285
20285
  deadline: {
@@ -20575,19 +20575,7 @@
20575
20575
  twoDigits
20576
20576
  }
20577
20577
  }
20578
- };
20579
- const __injectCSSVars__ = () => {
20580
- vue.useCssVars(_ctx => ({
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__;
20578
+ };
20591
20579
 
20592
20580
  const _hoisted_1 = { class: "flip-clock" };
20593
20581
  const _hoisted_2 = ["id"];
@@ -20645,9 +20633,9 @@
20645
20633
  ]))
20646
20634
  }
20647
20635
 
20648
- __default__.render = render$1;
20649
- __default__.__scopeId = "data-v-47d33153";
20650
- __default__.__file = "src/components/UniCountdown/Countdown.vue";
20636
+ script$1.render = render$1;
20637
+ script$1.__scopeId = "data-v-47d33153";
20638
+ script$1.__file = "src/components/UniCountdown/Countdown.vue";
20651
20639
 
20652
20640
  const defaultProps = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
20653
20641
  // 获取当前日期和时间
@@ -20674,7 +20662,7 @@
20674
20662
  }
20675
20663
  },
20676
20664
  components: {
20677
- Countdown: __default__
20665
+ Countdown: script$1
20678
20666
  },
20679
20667
  setup(props) {
20680
20668
  // 重用并且简化
@@ -20708,6 +20696,7 @@
20708
20696
 
20709
20697
  // export { textDefaultProps , textStylePropNames, TextComponentProps,
20710
20698
  const components = [
20699
+ script$b,
20711
20700
  script$a,
20712
20701
  script$9,
20713
20702
  script$8,
@@ -20715,8 +20704,7 @@
20715
20704
  script$6,
20716
20705
  script$5,
20717
20706
  script$4,
20718
- script$3,
20719
- script$1,
20707
+ script$2,
20720
20708
  script
20721
20709
  ];
20722
20710
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
@@ -20729,16 +20717,16 @@
20729
20717
  install
20730
20718
  };
20731
20719
 
20732
- exports.LongPage = script$7;
20733
- exports.SwiperPage = script$6;
20734
- exports.UniBackground = script$5;
20735
- exports.UniCalendar = script$1;
20720
+ exports.LongPage = script$8;
20721
+ exports.SwiperPage = script$7;
20722
+ exports.UniBackground = script$6;
20723
+ exports.UniCalendar = script$2;
20736
20724
  exports.UniCountdown = script;
20737
- exports.UniImage = script$9;
20738
- exports.UniMusic = script$4;
20739
- exports.UniShape = script$8;
20740
- exports.UniText = script$a;
20741
- exports.UniVideo = script$3;
20725
+ exports.UniImage = script$a;
20726
+ exports.UniMusic = script$5;
20727
+ exports.UniShape = script$9;
20728
+ exports.UniText = script$b;
20729
+ exports.UniVideo = script$4;
20742
20730
  exports["default"] = index;
20743
20731
  exports.install = install;
20744
20732
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",