unika-components 1.0.235 → 1.0.236

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,74 +1,12 @@
1
1
  import 'swiper/swiper-bundle.css';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- slides: {
4
- type: {
5
- (arrayLength: number): {
6
- image: string;
7
- }[];
8
- (...items: {
9
- image: string;
10
- }[]): {
11
- image: string;
12
- }[];
13
- new (arrayLength: number): {
14
- image: string;
15
- }[];
16
- new (...items: {
17
- image: string;
18
- }[]): {
19
- image: string;
20
- }[];
21
- isArray(arg: any): arg is any[];
22
- readonly prototype: any[];
23
- from<T>(arrayLike: ArrayLike<T>): T[];
24
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
25
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
26
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
27
- of<T_4>(...items: T_4[]): T_4[];
28
- readonly [Symbol.species]: ArrayConstructor;
29
- };
30
- default: {
31
- image: string;
32
- }[];
33
- };
3
+ [x: string]: any;
34
4
  }, {
35
5
  styleProps: import("vue").ComputedRef<Pick<any, string>>;
36
6
  handleClick: () => void;
37
7
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
- slides: {
39
- type: {
40
- (arrayLength: number): {
41
- image: string;
42
- }[];
43
- (...items: {
44
- image: string;
45
- }[]): {
46
- image: string;
47
- }[];
48
- new (arrayLength: number): {
49
- image: string;
50
- }[];
51
- new (...items: {
52
- image: string;
53
- }[]): {
54
- image: string;
55
- }[];
56
- isArray(arg: any): arg is any[];
57
- readonly prototype: any[];
58
- from<T>(arrayLike: ArrayLike<T>): T[];
59
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
60
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
61
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
62
- of<T_4>(...items: T_4[]): T_4[];
63
- readonly [Symbol.species]: ArrayConstructor;
64
- };
65
- default: {
66
- image: string;
67
- }[];
68
- };
8
+ [x: string]: any;
69
9
  }>>, {
70
- slides: {
71
- image: string;
72
- }[];
10
+ [x: string]: any;
73
11
  }, {}>;
74
12
  export default _default;
@@ -407,13 +407,14 @@ export declare const swiperDefaultProps: {
407
407
  left: string;
408
408
  top: string;
409
409
  width: string;
410
+ position: string;
410
411
  transform: string;
411
412
  backgroundColor: string;
412
413
  height: string;
413
414
  opacity: number;
414
- slides: {
415
- image: string;
416
- }[];
415
+ slideImage1: string;
416
+ slideImage2: string;
417
+ slideImage3: string;
417
418
  };
418
419
  export declare const danmuDefaultProps: {
419
420
  left: string;
@@ -732,13 +733,14 @@ export declare const componentsDefaultProps: {
732
733
  left: string;
733
734
  top: string;
734
735
  width: string;
736
+ position: string;
735
737
  transform: string;
736
738
  backgroundColor: string;
737
739
  height: string;
738
740
  opacity: number;
739
- slides: {
740
- image: string;
741
- }[];
741
+ slideImage1: string;
742
+ slideImage2: string;
743
+ slideImage3: string;
742
744
  };
743
745
  };
744
746
  'uni-button': {
@@ -1,4 +1,8 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+
2
6
  .slide-guide {
3
7
  position: absolute;
4
8
  bottom: 90px;
@@ -71,18 +75,6 @@ body, html {
71
75
  transform: translate3d(-50%, -50%, 0);
72
76
  }
73
77
  }
74
-
75
- h2.uni-text-component, p.uni-text-component {
76
- margin-bottom: 0;
77
- }
78
- button.uni-text-component {
79
- padding: 5px 10px;
80
- cursor: pointer;
81
- }
82
- .uni-text-component {
83
- box-sizing: border-box;
84
- white-space: pre-wrap;
85
- }
86
78
 
87
79
  .uni-video-component {
88
80
  position: relative;
@@ -105,20 +97,38 @@ button.uni-text-component {
105
97
  background: rgba(0, 0, 0, 0.8);
106
98
  }
107
99
 
108
- .uni-image-component {
109
- max-width: 100%;
100
+ h2.uni-text-component, p.uni-text-component {
101
+ margin-bottom: 0;
102
+ }
103
+ button.uni-text-component {
104
+ padding: 5px 10px;
105
+ cursor: pointer;
106
+ }
107
+ .uni-text-component {
108
+ box-sizing: border-box;
109
+ white-space: pre-wrap;
110
110
  }
111
111
 
112
+ .like-button {
113
+ display: flex;
114
+ flex-direction: column;
115
+ align-items: center;
116
+ cursor: pointer;
117
+ }
112
118
 
113
- .uni-calendar-component {
119
+ .icon-heart {
120
+ font-size: 24px;
121
+ color: #e74c3c;
122
+ }
114
123
 
124
+ .liked {
125
+ color: #f00; /* 更改颜色以示已赞 */
115
126
  }
116
- .slot-number {
117
- position: absolute;
118
- bottom: 2px;
119
- left: 7px;
120
- font-size: 12px;
121
- color: #666
127
+
128
+ .like-count {
129
+ margin-top: 4px;
130
+ font-size: 16px;
131
+ color: #333;
122
132
  }
123
133
 
124
134
  .swiper-warp {
@@ -135,26 +145,21 @@ button.uni-text-component {
135
145
  max-height: 100%;
136
146
  }
137
147
 
138
- .like-button {
139
- display: flex;
140
- flex-direction: column;
141
- align-items: center;
142
- cursor: pointer;
143
- }
144
148
 
145
- .icon-heart {
146
- font-size: 24px;
147
- color: #e74c3c;
148
- }
149
+ .uni-calendar-component {
149
150
 
150
- .liked {
151
- color: #f00; /* 更改颜色以示已赞 */
151
+ }
152
+ .slot-number {
153
+ position: absolute;
154
+ bottom: 2px;
155
+ left: 7px;
156
+ font-size: 12px;
157
+ color: #666
152
158
  }
153
159
 
154
- .like-count {
155
- margin-top: 4px;
156
- font-size: 16px;
157
- color: #333;
160
+ .effect {
161
+ width: 100%;
162
+ height: 100%;
158
163
  }
159
164
 
160
165
  .ant-input-number {
@@ -192,17 +197,12 @@ button.uni-text-component {
192
197
  vertical-align: top;
193
198
  }
194
199
 
195
- .effect {
196
- width: 100%;
197
- height: 100%;
198
- }
200
+ .uni-build-up-component {
201
+ }
199
202
 
200
203
  .uni-svg-component {
201
204
  display: inline-block;
202
205
  }
203
-
204
- .uni-build-up-component {
205
- }
206
206
  /**
207
207
  * Swiper 6.8.4
208
208
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -5234,14 +5234,19 @@ const swiperDefaultProps = {
5234
5234
  left: '57px',
5235
5235
  top: '147px',
5236
5236
  width: '200px',
5237
+ position: 'absolute',
5237
5238
  transform: 'rotate(0deg)',
5238
5239
  backgroundColor: 'rgb(33, 147, 255)',
5239
5240
  height: '300px',
5240
5241
  opacity: 1,
5241
- slides: [
5242
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
5243
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' }
5244
- ]
5242
+ slideImage1: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564',
5243
+ slideImage2: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564',
5244
+ slideImage3: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564'
5245
+ // slides: [
5246
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
5247
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' },
5248
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' }
5249
+ // ]
5245
5250
  };
5246
5251
  const danmuDefaultProps = {
5247
5252
  left: '57px',
@@ -53964,8 +53969,8 @@ var script$6 = defineComponent({
53964
53969
  const styleProps = useStylePick(props, defaultStyles$4);
53965
53970
  const handleClick = useComponentClick(props);
53966
53971
  const useForm = Form$1.useForm;
53967
- const labelCol = { span: 8 };
53968
- const wrapperCol = { span: 14 };
53972
+ const labelCol = { span: 24 };
53973
+ const wrapperCol = { span: 24 };
53969
53974
  const modelRef = reactive({
53970
53975
  name: '',
53971
53976
  phoneNumber: '',
@@ -75662,20 +75667,21 @@ script$5.install = (app) => {
75662
75667
  };
75663
75668
 
75664
75669
  const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-swiper'].props, isEditingProp);
75670
+ without$1(Object.keys(svgDefaultProps), 'actionType', 'url', 'slideImage1', 'slideImage2', 'slideImage3');
75665
75671
  SwiperCore.use([Pagination$1, Navigation$1, Autoplay$1]);
75666
75672
  // array that contains style props
75667
75673
  var script$4 = defineComponent({
75668
75674
  name: 'uni-swiper',
75669
75675
  props: {
75670
75676
  ...defaultProps$3,
75671
- slides: {
75672
- type: (Array),
75673
- default: [
75674
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
75675
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' },
75676
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_RESB9GMD/M_RESB9GMD_v1.jpg?x-oss-process=image/resize,w_564' }
75677
- ]
75678
- }
75677
+ // slides: {
75678
+ // type: Array<{'image': string;}>,
75679
+ // default: [
75680
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
75681
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' },
75682
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_RESB9GMD/M_RESB9GMD_v1.jpg?x-oss-process=image/resize,w_564' }
75683
+ // ]
75684
+ // }
75679
75685
  },
75680
75686
  components: {
75681
75687
  Swiper,
@@ -75713,15 +75719,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
75713
75719
  pagination: { "clickable": true }
75714
75720
  }, {
75715
75721
  default: withCtx(() => [
75716
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.slides, (slide, index) => {
75722
+ (openBlock(true), createElementBlock(Fragment, null, renderList([_ctx.slideImage1, _ctx.slideImage2, _ctx.slideImage3], (slide, index) => {
75717
75723
  return (openBlock(), createBlock(_component_swiper_slide, {
75718
75724
  class: normalizeClass(`swiper-slide slide-${index}`),
75719
75725
  key: index
75720
75726
  }, {
75721
75727
  default: withCtx(() => [
75722
75728
  createElementVNode("img", {
75723
- src: slide.image,
75724
- alt: "Slide Image"
75729
+ src: slide,
75730
+ alt: "Unika Slide Image"
75725
75731
  }, null, 8 /* PROPS */, _hoisted_1$2)
75726
75732
  ]),
75727
75733
  _: 2 /* DYNAMIC */
@@ -5241,14 +5241,19 @@
5241
5241
  left: '57px',
5242
5242
  top: '147px',
5243
5243
  width: '200px',
5244
+ position: 'absolute',
5244
5245
  transform: 'rotate(0deg)',
5245
5246
  backgroundColor: 'rgb(33, 147, 255)',
5246
5247
  height: '300px',
5247
5248
  opacity: 1,
5248
- slides: [
5249
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
5250
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' }
5251
- ]
5249
+ slideImage1: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564',
5250
+ slideImage2: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564',
5251
+ slideImage3: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564'
5252
+ // slides: [
5253
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
5254
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' },
5255
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' }
5256
+ // ]
5252
5257
  };
5253
5258
  const danmuDefaultProps = {
5254
5259
  left: '57px',
@@ -53971,8 +53976,8 @@ summary tabindex target title type usemap value width wmode wrap`;
53971
53976
  const styleProps = useStylePick(props, defaultStyles$4);
53972
53977
  const handleClick = useComponentClick(props);
53973
53978
  const useForm = Form$1.useForm;
53974
- const labelCol = { span: 8 };
53975
- const wrapperCol = { span: 14 };
53979
+ const labelCol = { span: 24 };
53980
+ const wrapperCol = { span: 24 };
53976
53981
  const modelRef = vue.reactive({
53977
53982
  name: '',
53978
53983
  phoneNumber: '',
@@ -75669,20 +75674,21 @@ summary tabindex target title type usemap value width wmode wrap`;
75669
75674
  };
75670
75675
 
75671
75676
  const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-swiper'].props, isEditingProp);
75677
+ without$1(Object.keys(svgDefaultProps), 'actionType', 'url', 'slideImage1', 'slideImage2', 'slideImage3');
75672
75678
  SwiperCore.use([Pagination$1, Navigation$1, Autoplay$1]);
75673
75679
  // array that contains style props
75674
75680
  var script$4 = vue.defineComponent({
75675
75681
  name: 'uni-swiper',
75676
75682
  props: {
75677
75683
  ...defaultProps$3,
75678
- slides: {
75679
- type: (Array),
75680
- default: [
75681
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
75682
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' },
75683
- { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_RESB9GMD/M_RESB9GMD_v1.jpg?x-oss-process=image/resize,w_564' }
75684
- ]
75685
- }
75684
+ // slides: {
75685
+ // type: Array<{'image': string;}>,
75686
+ // default: [
75687
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_8DZHHVC2/M_8DZHHVC2_v1.png?x-oss-process=image/resize,w_564' },
75688
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_61VRKZNU/M_61VRKZNU_v1.jpg?x-oss-process=image/resize,w_564' },
75689
+ // { image: 'https://img1.maka.im/materialStore/beijingshejia/tupianbeijinga/9/M_RESB9GMD/M_RESB9GMD_v1.jpg?x-oss-process=image/resize,w_564' }
75690
+ // ]
75691
+ // }
75686
75692
  },
75687
75693
  components: {
75688
75694
  Swiper,
@@ -75720,15 +75726,15 @@ summary tabindex target title type usemap value width wmode wrap`;
75720
75726
  pagination: { "clickable": true }
75721
75727
  }, {
75722
75728
  default: vue.withCtx(() => [
75723
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.slides, (slide, index) => {
75729
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList([_ctx.slideImage1, _ctx.slideImage2, _ctx.slideImage3], (slide, index) => {
75724
75730
  return (vue.openBlock(), vue.createBlock(_component_swiper_slide, {
75725
75731
  class: vue.normalizeClass(`swiper-slide slide-${index}`),
75726
75732
  key: index
75727
75733
  }, {
75728
75734
  default: vue.withCtx(() => [
75729
75735
  vue.createElementVNode("img", {
75730
- src: slide.image,
75731
- alt: "Slide Image"
75736
+ src: slide,
75737
+ alt: "Unika Slide Image"
75732
75738
  }, null, 8 /* PROPS */, _hoisted_1$2)
75733
75739
  ]),
75734
75740
  _: 2 /* DYNAMIC */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.235",
3
+ "version": "1.0.236",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",