unika-components 1.0.97 → 1.0.98

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.
@@ -4,7 +4,6 @@ import UniImage from './components/UniImage';
4
4
  import UniShape from './components/UniShape';
5
5
  import LongPage from './components/LongPage';
6
6
  import SwiperPage from './components/SwiperPage';
7
- import UniBackground from './components/UniBackground';
8
7
  import UniMusic from './components/UniMusic';
9
8
  import UniVideo from './components/UniVideo';
10
9
  import UniCalendar from './components/UniCalendar';
@@ -20,7 +19,7 @@ import UniButton from './components/UniButton';
20
19
  import UniTanmu from './components/UniTanmu';
21
20
  import UniTest from './components/UniTest';
22
21
  declare const install: (app: App) => void;
23
- export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniBackground, UniMusic, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniTanmu, UniTest, install };
22
+ export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniMusic, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniTanmu, UniTest, install };
24
23
  declare const _default: {
25
24
  install: (app: App<any>) => void;
26
25
  };
@@ -1,8 +1,4 @@
1
1
 
2
- .uni-image-component {
3
- max-width: 100%;
4
- }
5
-
6
2
  h2.uni-text-component, p.uni-text-component {
7
3
  margin-bottom: 0;
8
4
  }
@@ -14,79 +10,6 @@ button.uni-text-component {
14
10
  box-sizing: border-box;
15
11
  white-space: pre-wrap;
16
12
  }
17
-
18
- .slide-guide {
19
- position: absolute;
20
- bottom: 90px;
21
- left: 50%;
22
- transform: translateX(-50%);
23
- }
24
- .slide-guide img {
25
- animation: flowing 2s ease-in-out infinite;
26
- width: 33px;
27
- vertical-align: middle;
28
- border-style: none;
29
- }
30
- body, html {
31
- position: relative;
32
- width: 100%;
33
- height: 100%;
34
- margin: 0px;
35
- }
36
- .swiper-container {
37
- width: 100%;
38
- height: 100%;
39
- }
40
- .swiper-slide {
41
- width: 100%;
42
- height: 100%;
43
- overflow: hidden;
44
- background-size: cover;
45
- background-position: center;
46
- background-repeat: no-repeat;
47
- }
48
- .up-arrow {
49
- width: 2rem;
50
- height: 2rem;
51
- position: fixed;
52
- bottom: 2rem;
53
- left: 50%;
54
- transform: translate3d(-50%, 0, 0);
55
- z-index: 999;
56
- background: none;
57
- border: none;
58
- padding: 0;
59
- animation: upArrowAni 2s infinite linear;
60
- }
61
- .up-arrow img {
62
- width: 2rem;
63
- height: 2rem;
64
- text-align: center;
65
- line-height: 2rem;
66
- color: #fff;
67
- font-size: 1.5rem;
68
- }
69
- @keyframes upArrowAni {
70
- 0% {
71
- opacity: 0;
72
- transform: translate3d(-50%, 30%, 0);
73
- }
74
-
75
- 30% {
76
- opacity: 1;
77
- transform: translate3d(-50%, -20%, 0);
78
- }
79
-
80
- 60% {
81
- opacity: 0;
82
- transform: translate3d(-50%, -35%, 0);
83
- }
84
-
85
- 100% {
86
- opacity: 0;
87
- transform: translate3d(-50%, -50%, 0);
88
- }
89
- }
90
13
 
91
14
  #audio {
92
15
  position: absolute;
@@ -176,6 +99,50 @@ body, html {
176
99
  font-size: 12px;
177
100
  color: #666
178
101
  }
102
+
103
+ .uni-image-component {
104
+ max-width: 100%;
105
+ }
106
+
107
+ .effect {
108
+ width: 100%;
109
+ height: 100%;
110
+ }
111
+
112
+ .uni-video-component {
113
+ position: relative;
114
+ text-align: center;
115
+ }
116
+ .play-pause-button {
117
+ position: absolute;
118
+ top: 50%;
119
+ left: 50%;
120
+ transform: translate(-50%, -50%);
121
+ cursor: pointer;
122
+ font-size: 2rem;
123
+ color: #fff;
124
+ background: rgba(0, 0, 0, 0.6);
125
+ border-radius: 50%;
126
+ padding: 10px;
127
+ transition: background 0.3s;
128
+ }
129
+ .play-pause-button:hover {
130
+ background: rgba(0, 0, 0, 0.8);
131
+ }
132
+
133
+ .swiper-warp {
134
+ width: 100%;
135
+ height: 100%;
136
+ }
137
+
138
+ .swiper-slide-component {
139
+ text-align: center;
140
+ }
141
+
142
+ .swiper-slide img {
143
+ max-width: 100%;
144
+ max-height: 100%;
145
+ }
179
146
 
180
147
  .like-button {
181
148
  display: flex;
@@ -198,6 +165,79 @@ body, html {
198
165
  font-size: 16px;
199
166
  color: #333;
200
167
  }
168
+
169
+ .slide-guide {
170
+ position: absolute;
171
+ bottom: 90px;
172
+ left: 50%;
173
+ transform: translateX(-50%);
174
+ }
175
+ .slide-guide img {
176
+ animation: flowing 2s ease-in-out infinite;
177
+ width: 33px;
178
+ vertical-align: middle;
179
+ border-style: none;
180
+ }
181
+ body, html {
182
+ position: relative;
183
+ width: 100%;
184
+ height: 100%;
185
+ margin: 0px;
186
+ }
187
+ .swiper-container {
188
+ width: 100%;
189
+ height: 100%;
190
+ }
191
+ .swiper-slide {
192
+ width: 100%;
193
+ height: 100%;
194
+ overflow: hidden;
195
+ background-size: cover;
196
+ background-position: center;
197
+ background-repeat: no-repeat;
198
+ }
199
+ .up-arrow {
200
+ width: 2rem;
201
+ height: 2rem;
202
+ position: fixed;
203
+ bottom: 2rem;
204
+ left: 50%;
205
+ transform: translate3d(-50%, 0, 0);
206
+ z-index: 999;
207
+ background: none;
208
+ border: none;
209
+ padding: 0;
210
+ animation: upArrowAni 2s infinite linear;
211
+ }
212
+ .up-arrow img {
213
+ width: 2rem;
214
+ height: 2rem;
215
+ text-align: center;
216
+ line-height: 2rem;
217
+ color: #fff;
218
+ font-size: 1.5rem;
219
+ }
220
+ @keyframes upArrowAni {
221
+ 0% {
222
+ opacity: 0;
223
+ transform: translate3d(-50%, 30%, 0);
224
+ }
225
+
226
+ 30% {
227
+ opacity: 1;
228
+ transform: translate3d(-50%, -20%, 0);
229
+ }
230
+
231
+ 60% {
232
+ opacity: 0;
233
+ transform: translate3d(-50%, -35%, 0);
234
+ }
235
+
236
+ 100% {
237
+ opacity: 0;
238
+ transform: translate3d(-50%, -50%, 0);
239
+ }
240
+ }
201
241
 
202
242
  .ant-input-number {
203
243
  box-sizing: border-box;
@@ -234,46 +274,6 @@ body, html {
234
274
  vertical-align: top;
235
275
  }
236
276
 
237
- .effect {
238
- width: 100%;
239
- height: 100%;
240
- }
241
-
242
- .swiper-warp {
243
- width: 100%;
244
- height: 100%;
245
- }
246
-
247
- .swiper-slide-component {
248
- text-align: center;
249
- }
250
-
251
- .swiper-slide img {
252
- max-width: 100%;
253
- max-height: 100%;
254
- }
255
-
256
- .uni-video-component {
257
- position: relative;
258
- text-align: center;
259
- }
260
- .play-pause-button {
261
- position: absolute;
262
- top: 50%;
263
- left: 50%;
264
- transform: translate(-50%, -50%);
265
- cursor: pointer;
266
- font-size: 2rem;
267
- color: #fff;
268
- background: rgba(0, 0, 0, 0.6);
269
- border-radius: 50%;
270
- padding: 10px;
271
- transition: background 0.3s;
272
- }
273
- .play-pause-button:hover {
274
- background: rgba(0, 0, 0, 0.8);
275
- }
276
-
277
277
  .barrage-container {
278
278
  position: fixed;
279
279
  bottom: 0;
@@ -1,4 +1,4 @@
1
- import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$3, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createCommentVNode, createVNode, normalizeClass, createElementVNode, pushScopeId, popScopeId, renderSlot, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, render as render$o, toRef, Teleport, isRef, toRaw, TransitionGroup, mergeProps } from 'vue';
1
+ import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$3, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createCommentVNode, createVNode, normalizeClass, createElementVNode, pushScopeId, popScopeId, renderSlot, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, render as render$n, toRef, Teleport, isRef, toRaw, TransitionGroup, mergeProps } from 'vue';
2
2
  import crypto from 'crypto';
3
3
  import util, { TextEncoder as TextEncoder$1 } from 'util';
4
4
  import stream, { Readable } from 'stream';
@@ -5291,9 +5291,9 @@ const transformToComponentProps = (props, extraProps) => {
5291
5291
  }
5292
5292
  };
5293
5293
 
5294
- const defaultStyles$1 = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5294
+ const defaultStyles = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5295
5295
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
5296
- const useStylePick = (props, pickStyles = defaultStyles$1) => {
5296
+ const useStylePick = (props, pickStyles = defaultStyles) => {
5297
5297
  return computed(() => pick$1(props, pickStyles));
5298
5298
  };
5299
5299
 
@@ -5314,12 +5314,12 @@ const extraProps = {
5314
5314
  },
5315
5315
  ...isEditingProp
5316
5316
  };
5317
- const defaultProps$c = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
5317
+ const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
5318
5318
  // array that contains style props
5319
- var script$m = defineComponent({
5319
+ var script$l = defineComponent({
5320
5320
  name: 'uni-text',
5321
5321
  props: {
5322
- ...defaultProps$c
5322
+ ...defaultProps$b
5323
5323
  },
5324
5324
  setup(props) {
5325
5325
  const styleProps = useStylePick(props);
@@ -5331,7 +5331,7 @@ var script$m = defineComponent({
5331
5331
  }
5332
5332
  });
5333
5333
 
5334
- function render$n(_ctx, _cache, $props, $setup, $data, $options) {
5334
+ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5335
5335
  return (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
5336
5336
  onClick: withModifiers(_ctx.handleClick, ["prevent"]),
5337
5337
  style: normalizeStyle$1(_ctx.styleProps),
@@ -5344,16 +5344,16 @@ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
5344
5344
  }, 8 /* PROPS */, ["onClick", "style"]))
5345
5345
  }
5346
5346
 
5347
- script$m.render = render$n;
5348
- script$m.__scopeId = "data-v-55ed80cb";
5349
- script$m.__file = "src/components/UniText/UniText.vue";
5347
+ script$l.render = render$m;
5348
+ script$l.__scopeId = "data-v-55ed80cb";
5349
+ script$l.__file = "src/components/UniText/UniText.vue";
5350
5350
 
5351
- script$m.install = (app) => {
5352
- app.component(script$m.name, script$m);
5351
+ script$l.install = (app) => {
5352
+ app.component(script$l.name, script$l);
5353
5353
  };
5354
5354
 
5355
5355
  // array that contains style props
5356
- var script$l = defineComponent({
5356
+ var script$k = defineComponent({
5357
5357
  name: 'uni-image',
5358
5358
  props: transformToComponentProps(componentsDefaultProps['uni-image'].props, isEditingProp),
5359
5359
  setup(props) {
@@ -5368,7 +5368,7 @@ var script$l = defineComponent({
5368
5368
 
5369
5369
  const _hoisted_1$e = ["src"];
5370
5370
 
5371
- function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5371
+ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5372
5372
  return (openBlock(), createElementBlock("img", {
5373
5373
  src: _ctx.imageSrc,
5374
5374
  style: normalizeStyle$1(_ctx.styleProps),
@@ -5378,20 +5378,20 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5378
5378
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$e))
5379
5379
  }
5380
5380
 
5381
- script$l.render = render$m;
5382
- script$l.__scopeId = "data-v-03caca2f";
5383
- script$l.__file = "src/components/UniImage/UniImage.vue";
5381
+ script$k.render = render$l;
5382
+ script$k.__scopeId = "data-v-03caca2f";
5383
+ script$k.__file = "src/components/UniImage/UniImage.vue";
5384
5384
 
5385
- script$l.install = (app) => {
5386
- app.component(script$l.name, script$l);
5385
+ script$k.install = (app) => {
5386
+ app.component(script$k.name, script$k);
5387
5387
  };
5388
5388
 
5389
- const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5389
+ const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5390
5390
  // array that contains style props
5391
- var script$k = defineComponent({
5391
+ var script$j = defineComponent({
5392
5392
  name: 'uni-shape',
5393
5393
  props: {
5394
- ...defaultProps$b
5394
+ ...defaultProps$a
5395
5395
  },
5396
5396
  setup(props) {
5397
5397
  const styleProps = useStylePick(props);
@@ -5403,7 +5403,7 @@ var script$k = defineComponent({
5403
5403
  }
5404
5404
  });
5405
5405
 
5406
- function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5406
+ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5407
5407
  return (openBlock(), createElementBlock("div", {
5408
5408
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
5409
5409
  style: normalizeStyle$1(_ctx.styleProps),
@@ -5412,14 +5412,14 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5412
5412
  }, null, 4 /* STYLE */))
5413
5413
  }
5414
5414
 
5415
- script$k.render = render$l;
5416
- script$k.__file = "src/components/UniShape/UniShape.vue";
5415
+ script$j.render = render$k;
5416
+ script$j.__file = "src/components/UniShape/UniShape.vue";
5417
5417
 
5418
- script$k.install = (app) => {
5419
- app.component(script$k.name, script$k);
5418
+ script$j.install = (app) => {
5419
+ app.component(script$j.name, script$j);
5420
5420
  };
5421
5421
 
5422
- var script$j = defineComponent({
5422
+ var script$i = defineComponent({
5423
5423
  name: 'long-page',
5424
5424
  props: {
5425
5425
  work: {
@@ -5434,7 +5434,7 @@ var script$j = defineComponent({
5434
5434
 
5435
5435
  const _hoisted_1$d = ["id"];
5436
5436
 
5437
- function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5437
+ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
5438
5438
  return (openBlock(), createElementBlock("div", {
5439
5439
  class: "final-page",
5440
5440
  style: normalizeStyle$1(_ctx.work && {width: _ctx.work.width, height: _ctx.work.height} )
@@ -5450,12 +5450,12 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5450
5450
  ], 4 /* STYLE */))
5451
5451
  }
5452
5452
 
5453
- script$j.render = render$k;
5454
- script$j.__file = "src/components/LongPage/LongPage.vue";
5453
+ script$i.render = render$j;
5454
+ script$i.__file = "src/components/LongPage/LongPage.vue";
5455
5455
 
5456
5456
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5457
- script$j.install = (app) => {
5458
- app.component(script$j.name, script$j);
5457
+ script$i.install = (app) => {
5458
+ app.component(script$i.name, script$i);
5459
5459
  };
5460
5460
 
5461
5461
  /**
@@ -12966,7 +12966,7 @@ function getComputedCSSText(style) {
12966
12966
  }
12967
12967
  return cssText;
12968
12968
  }
12969
- var script$i = defineComponent({
12969
+ var script$h = defineComponent({
12970
12970
  name: 'swiper-page',
12971
12971
  props: {
12972
12972
  work: {
@@ -13075,7 +13075,7 @@ const _hoisted_5$4 = [
13075
13075
  _hoisted_4$4
13076
13076
  ];
13077
13077
 
13078
- function render$j(_ctx, _cache, $props, $setup, $data, $options) {
13078
+ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
13079
13079
  const _component_swiper_slide = resolveComponent("swiper-slide");
13080
13080
  const _component_swiper = resolveComponent("swiper");
13081
13081
 
@@ -13126,44 +13126,10 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
13126
13126
  ]))
13127
13127
  }
13128
13128
 
13129
- script$i.render = render$j;
13130
- script$i.__file = "src/components/SwiperPage/SwiperPage.vue";
13131
-
13132
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
13133
- script$i.install = (app) => {
13134
- app.component(script$i.name, script$i);
13135
- };
13136
-
13137
- const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
13138
- const defaultStyles = Object.keys(backgroundDefaultProps);
13139
- // array that contains style props
13140
- var script$h = defineComponent({
13141
- name: 'uni-background',
13142
- props: {
13143
- ...defaultProps$a
13144
- },
13145
- setup(props) {
13146
- const styleProps = useStylePick(props, defaultStyles);
13147
- const handleClick = useComponentClick(props);
13148
- return {
13149
- styleProps,
13150
- handleClick
13151
- };
13152
- }
13153
- });
13154
-
13155
- function render$i(_ctx, _cache, $props, $setup, $data, $options) {
13156
- return (openBlock(), createElementBlock("div", {
13157
- onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
13158
- style: normalizeStyle$1(_ctx.styleProps),
13159
- class: "uni-background-component",
13160
- draggable: false
13161
- }, null, 4 /* STYLE */))
13162
- }
13163
-
13164
13129
  script$h.render = render$i;
13165
- script$h.__file = "src/components/UniBackground/UniBackground.vue";
13130
+ script$h.__file = "src/components/SwiperPage/SwiperPage.vue";
13166
13131
 
13132
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13167
13133
  script$h.install = (app) => {
13168
13134
  app.component(script$h.name, script$h);
13169
13135
  };
@@ -34273,7 +34239,7 @@ function cloneElement(vnode) {
34273
34239
  return node;
34274
34240
  }
34275
34241
  function triggerVNodeUpdate(vm, attrs, dom) {
34276
- render$o(cloneVNode(vm, _extends$1({}, attrs)), dom);
34242
+ render$n(cloneVNode(vm, _extends$1({}, attrs)), dom);
34277
34243
  }
34278
34244
 
34279
34245
  var isVisible = (element => {
@@ -44885,7 +44851,7 @@ const WaveEffect = defineComponent({
44885
44851
  var _a;
44886
44852
  const holder = (_a = divRef.value) === null || _a === void 0 ? void 0 : _a.parentElement;
44887
44853
  if (holder) {
44888
- render$o(null, holder);
44854
+ render$n(null, holder);
44889
44855
  if (holder.parentElement) {
44890
44856
  holder.parentElement.removeChild(holder);
44891
44857
  }
@@ -44958,7 +44924,7 @@ function showWaveEffect(node, className) {
44958
44924
  holder.style.left = `0px`;
44959
44925
  holder.style.top = `0px`;
44960
44926
  node === null || node === void 0 ? void 0 : node.insertBefore(holder, node === null || node === void 0 ? void 0 : node.firstChild);
44961
- render$o(createVNode(WaveEffect, {
44927
+ render$n(createVNode(WaveEffect, {
44962
44928
  "target": node,
44963
44929
  "className": className
44964
44930
  }, null), holder);
@@ -51110,7 +51076,7 @@ Notification$1.newInstance = function newNotificationInstance(properties, callba
51110
51076
  (_a = notiRef.value) === null || _a === void 0 ? void 0 : _a.remove(key);
51111
51077
  },
51112
51078
  destroy() {
51113
- render$o(null, div);
51079
+ render$n(null, div);
51114
51080
  if (div.parentNode) {
51115
51081
  div.parentNode.removeChild(div);
51116
51082
  }
@@ -51138,7 +51104,7 @@ Notification$1.newInstance = function newNotificationInstance(properties, callba
51138
51104
  });
51139
51105
  const vm = createVNode(Wrapper, props);
51140
51106
  vm.appContext = appContext || vm.appContext;
51141
- render$o(vm, div);
51107
+ render$n(vm, div);
51142
51108
  };
51143
51109
  var Notification$2 = Notification$1;
51144
51110
 
@@ -57877,7 +57843,7 @@ const confirm = config => {
57877
57843
  function destroy() {
57878
57844
  if (confirmDialogInstance) {
57879
57845
  // destroy
57880
- render$o(null, container);
57846
+ render$n(null, container);
57881
57847
  confirmDialogInstance = null;
57882
57848
  }
57883
57849
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -57945,7 +57911,7 @@ const confirm = config => {
57945
57911
  function render(props) {
57946
57912
  const vm = createVNode(Wrapper, _extends$1({}, props));
57947
57913
  vm.appContext = config.parentContext || config.appContext || vm.appContext;
57948
- render$o(vm, container);
57914
+ render$n(vm, container);
57949
57915
  return vm;
57950
57916
  }
57951
57917
  confirmDialogInstance = render(currentConfig);
@@ -99187,12 +99153,12 @@ script.install = (app) => {
99187
99153
 
99188
99154
  // export { textDefaultProps , textStylePropNames, TextComponentProps,
99189
99155
  const components = [
99190
- script$m,
99191
99156
  script$l,
99192
99157
  script$k,
99193
99158
  script$j,
99194
99159
  script$i,
99195
99160
  script$h,
99161
+ // UniBackground,
99196
99162
  script$g,
99197
99163
  script$f,
99198
99164
  script$d,
@@ -99218,4 +99184,4 @@ var index = {
99218
99184
  install
99219
99185
  };
99220
99186
 
99221
- export { script$j as LongPage, script$i as SwiperPage, script$h as UniBackground, script$3 as UniButton, script$d as UniCalendar, script$9 as UniCall, script$b as UniCountdown, script$7 as UniEffect, script$l as UniImage, script$8 as UniLike, script$5 as UniLotties, script$a as UniMap, script$g as UniMusic, script$6 as UniRegisterForm, script$k as UniShape, script$4 as UniSwiper, script$1 as UniTanmu, script as UniTest, script$m as UniText, script$f as UniVideo, index as default, install };
99187
+ export { script$i as LongPage, script$h as SwiperPage, script$3 as UniButton, script$d as UniCalendar, script$9 as UniCall, script$b as UniCountdown, script$7 as UniEffect, script$k as UniImage, script$8 as UniLike, script$5 as UniLotties, script$a as UniMap, script$g as UniMusic, script$6 as UniRegisterForm, script$j as UniShape, script$4 as UniSwiper, script$1 as UniTanmu, script as UniTest, script$l as UniText, script$f as UniVideo, index as default, install };
@@ -5297,9 +5297,9 @@
5297
5297
  }
5298
5298
  };
5299
5299
 
5300
- const defaultStyles$1 = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5300
+ const defaultStyles = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5301
5301
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
5302
- const useStylePick = (props, pickStyles = defaultStyles$1) => {
5302
+ const useStylePick = (props, pickStyles = defaultStyles) => {
5303
5303
  return vue.computed(() => pick$1(props, pickStyles));
5304
5304
  };
5305
5305
 
@@ -5320,12 +5320,12 @@
5320
5320
  },
5321
5321
  ...isEditingProp
5322
5322
  };
5323
- const defaultProps$c = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
5323
+ const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps);
5324
5324
  // array that contains style props
5325
- var script$m = vue.defineComponent({
5325
+ var script$l = vue.defineComponent({
5326
5326
  name: 'uni-text',
5327
5327
  props: {
5328
- ...defaultProps$c
5328
+ ...defaultProps$b
5329
5329
  },
5330
5330
  setup(props) {
5331
5331
  const styleProps = useStylePick(props);
@@ -5337,7 +5337,7 @@
5337
5337
  }
5338
5338
  });
5339
5339
 
5340
- function render$n(_ctx, _cache, $props, $setup, $data, $options) {
5340
+ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5341
5341
  return (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
5342
5342
  onClick: vue.withModifiers(_ctx.handleClick, ["prevent"]),
5343
5343
  style: vue.normalizeStyle(_ctx.styleProps),
@@ -5350,16 +5350,16 @@
5350
5350
  }, 8 /* PROPS */, ["onClick", "style"]))
5351
5351
  }
5352
5352
 
5353
- script$m.render = render$n;
5354
- script$m.__scopeId = "data-v-55ed80cb";
5355
- script$m.__file = "src/components/UniText/UniText.vue";
5353
+ script$l.render = render$m;
5354
+ script$l.__scopeId = "data-v-55ed80cb";
5355
+ script$l.__file = "src/components/UniText/UniText.vue";
5356
5356
 
5357
- script$m.install = (app) => {
5358
- app.component(script$m.name, script$m);
5357
+ script$l.install = (app) => {
5358
+ app.component(script$l.name, script$l);
5359
5359
  };
5360
5360
 
5361
5361
  // array that contains style props
5362
- var script$l = vue.defineComponent({
5362
+ var script$k = vue.defineComponent({
5363
5363
  name: 'uni-image',
5364
5364
  props: transformToComponentProps(componentsDefaultProps['uni-image'].props, isEditingProp),
5365
5365
  setup(props) {
@@ -5374,7 +5374,7 @@
5374
5374
 
5375
5375
  const _hoisted_1$e = ["src"];
5376
5376
 
5377
- function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5377
+ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5378
5378
  return (vue.openBlock(), vue.createElementBlock("img", {
5379
5379
  src: _ctx.imageSrc,
5380
5380
  style: vue.normalizeStyle(_ctx.styleProps),
@@ -5384,20 +5384,20 @@
5384
5384
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$e))
5385
5385
  }
5386
5386
 
5387
- script$l.render = render$m;
5388
- script$l.__scopeId = "data-v-03caca2f";
5389
- script$l.__file = "src/components/UniImage/UniImage.vue";
5387
+ script$k.render = render$l;
5388
+ script$k.__scopeId = "data-v-03caca2f";
5389
+ script$k.__file = "src/components/UniImage/UniImage.vue";
5390
5390
 
5391
- script$l.install = (app) => {
5392
- app.component(script$l.name, script$l);
5391
+ script$k.install = (app) => {
5392
+ app.component(script$k.name, script$k);
5393
5393
  };
5394
5394
 
5395
- const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5395
+ const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5396
5396
  // array that contains style props
5397
- var script$k = vue.defineComponent({
5397
+ var script$j = vue.defineComponent({
5398
5398
  name: 'uni-shape',
5399
5399
  props: {
5400
- ...defaultProps$b
5400
+ ...defaultProps$a
5401
5401
  },
5402
5402
  setup(props) {
5403
5403
  const styleProps = useStylePick(props);
@@ -5409,7 +5409,7 @@
5409
5409
  }
5410
5410
  });
5411
5411
 
5412
- function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5412
+ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5413
5413
  return (vue.openBlock(), vue.createElementBlock("div", {
5414
5414
  onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
5415
5415
  style: vue.normalizeStyle(_ctx.styleProps),
@@ -5418,14 +5418,14 @@
5418
5418
  }, null, 4 /* STYLE */))
5419
5419
  }
5420
5420
 
5421
- script$k.render = render$l;
5422
- script$k.__file = "src/components/UniShape/UniShape.vue";
5421
+ script$j.render = render$k;
5422
+ script$j.__file = "src/components/UniShape/UniShape.vue";
5423
5423
 
5424
- script$k.install = (app) => {
5425
- app.component(script$k.name, script$k);
5424
+ script$j.install = (app) => {
5425
+ app.component(script$j.name, script$j);
5426
5426
  };
5427
5427
 
5428
- var script$j = vue.defineComponent({
5428
+ var script$i = vue.defineComponent({
5429
5429
  name: 'long-page',
5430
5430
  props: {
5431
5431
  work: {
@@ -5440,7 +5440,7 @@
5440
5440
 
5441
5441
  const _hoisted_1$d = ["id"];
5442
5442
 
5443
- function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5443
+ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
5444
5444
  return (vue.openBlock(), vue.createElementBlock("div", {
5445
5445
  class: "final-page",
5446
5446
  style: vue.normalizeStyle(_ctx.work && {width: _ctx.work.width, height: _ctx.work.height} )
@@ -5456,12 +5456,12 @@
5456
5456
  ], 4 /* STYLE */))
5457
5457
  }
5458
5458
 
5459
- script$j.render = render$k;
5460
- script$j.__file = "src/components/LongPage/LongPage.vue";
5459
+ script$i.render = render$j;
5460
+ script$i.__file = "src/components/LongPage/LongPage.vue";
5461
5461
 
5462
5462
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5463
- script$j.install = (app) => {
5464
- app.component(script$j.name, script$j);
5463
+ script$i.install = (app) => {
5464
+ app.component(script$i.name, script$i);
5465
5465
  };
5466
5466
 
5467
5467
  /**
@@ -12972,7 +12972,7 @@
12972
12972
  }
12973
12973
  return cssText;
12974
12974
  }
12975
- var script$i = vue.defineComponent({
12975
+ var script$h = vue.defineComponent({
12976
12976
  name: 'swiper-page',
12977
12977
  props: {
12978
12978
  work: {
@@ -13081,7 +13081,7 @@
13081
13081
  _hoisted_4$4
13082
13082
  ];
13083
13083
 
13084
- function render$j(_ctx, _cache, $props, $setup, $data, $options) {
13084
+ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
13085
13085
  const _component_swiper_slide = vue.resolveComponent("swiper-slide");
13086
13086
  const _component_swiper = vue.resolveComponent("swiper");
13087
13087
 
@@ -13132,44 +13132,10 @@
13132
13132
  ]))
13133
13133
  }
13134
13134
 
13135
- script$i.render = render$j;
13136
- script$i.__file = "src/components/SwiperPage/SwiperPage.vue";
13137
-
13138
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
13139
- script$i.install = (app) => {
13140
- app.component(script$i.name, script$i);
13141
- };
13142
-
13143
- const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
13144
- const defaultStyles = Object.keys(backgroundDefaultProps);
13145
- // array that contains style props
13146
- var script$h = vue.defineComponent({
13147
- name: 'uni-background',
13148
- props: {
13149
- ...defaultProps$a
13150
- },
13151
- setup(props) {
13152
- const styleProps = useStylePick(props, defaultStyles);
13153
- const handleClick = useComponentClick(props);
13154
- return {
13155
- styleProps,
13156
- handleClick
13157
- };
13158
- }
13159
- });
13160
-
13161
- function render$i(_ctx, _cache, $props, $setup, $data, $options) {
13162
- return (vue.openBlock(), vue.createElementBlock("div", {
13163
- onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
13164
- style: vue.normalizeStyle(_ctx.styleProps),
13165
- class: "uni-background-component",
13166
- draggable: false
13167
- }, null, 4 /* STYLE */))
13168
- }
13169
-
13170
13135
  script$h.render = render$i;
13171
- script$h.__file = "src/components/UniBackground/UniBackground.vue";
13136
+ script$h.__file = "src/components/SwiperPage/SwiperPage.vue";
13172
13137
 
13138
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13173
13139
  script$h.install = (app) => {
13174
13140
  app.component(script$h.name, script$h);
13175
13141
  };
@@ -99193,12 +99159,12 @@ summary tabindex target title type usemap value width wmode wrap`;
99193
99159
 
99194
99160
  // export { textDefaultProps , textStylePropNames, TextComponentProps,
99195
99161
  const components = [
99196
- script$m,
99197
99162
  script$l,
99198
99163
  script$k,
99199
99164
  script$j,
99200
99165
  script$i,
99201
99166
  script$h,
99167
+ // UniBackground,
99202
99168
  script$g,
99203
99169
  script$f,
99204
99170
  script$d,
@@ -99224,25 +99190,24 @@ summary tabindex target title type usemap value width wmode wrap`;
99224
99190
  install
99225
99191
  };
99226
99192
 
99227
- exports.LongPage = script$j;
99228
- exports.SwiperPage = script$i;
99229
- exports.UniBackground = script$h;
99193
+ exports.LongPage = script$i;
99194
+ exports.SwiperPage = script$h;
99230
99195
  exports.UniButton = script$3;
99231
99196
  exports.UniCalendar = script$d;
99232
99197
  exports.UniCall = script$9;
99233
99198
  exports.UniCountdown = script$b;
99234
99199
  exports.UniEffect = script$7;
99235
- exports.UniImage = script$l;
99200
+ exports.UniImage = script$k;
99236
99201
  exports.UniLike = script$8;
99237
99202
  exports.UniLotties = script$5;
99238
99203
  exports.UniMap = script$a;
99239
99204
  exports.UniMusic = script$g;
99240
99205
  exports.UniRegisterForm = script$6;
99241
- exports.UniShape = script$k;
99206
+ exports.UniShape = script$j;
99242
99207
  exports.UniSwiper = script$4;
99243
99208
  exports.UniTanmu = script$1;
99244
99209
  exports.UniTest = script;
99245
- exports.UniText = script$m;
99210
+ exports.UniText = script$l;
99246
99211
  exports.UniVideo = script$f;
99247
99212
  exports["default"] = index;
99248
99213
  exports.install = install;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.97",
3
+ "version": "1.0.98",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",