unika-components 1.0.167 → 1.0.168

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,38 +1,13 @@
1
+ export declare const defaultStyles: string[];
1
2
  declare const _default: import("vue").DefineComponent<{
2
- svgUrl: {
3
- type: StringConstructor;
4
- required: true;
5
- };
6
- color: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- width: {
11
- type: StringConstructor;
12
- required: true;
13
- };
14
- height: {
15
- type: StringConstructor;
16
- required: true;
17
- };
3
+ [x: string]: any;
18
4
  }, {
19
- coloredSvgContent: import("vue").Ref<string>;
5
+ styleProps: import("vue").ComputedRef<Pick<any, string>>;
6
+ handleClick: () => void;
7
+ svgContent: import("vue").Ref<string>;
20
8
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- svgUrl: {
22
- type: StringConstructor;
23
- required: true;
24
- };
25
- color: {
26
- type: StringConstructor;
27
- required: true;
28
- };
29
- width: {
30
- type: StringConstructor;
31
- required: true;
32
- };
33
- height: {
34
- type: StringConstructor;
35
- required: true;
36
- };
37
- }>>, {}, {}>;
9
+ [x: string]: any;
10
+ }>>, {
11
+ [x: string]: any;
12
+ }, {}>;
38
13
  export default _default;
@@ -2,6 +2,39 @@
2
2
  .uni-image-component {
3
3
  max-width: 100%;
4
4
  }
5
+
6
+ h2.uni-text-component, p.uni-text-component {
7
+ margin-bottom: 0;
8
+ }
9
+ button.uni-text-component {
10
+ padding: 5px 10px;
11
+ cursor: pointer;
12
+ }
13
+ .uni-text-component {
14
+ box-sizing: border-box;
15
+ white-space: pre-wrap;
16
+ }
17
+
18
+ .uni-video-component {
19
+ position: relative;
20
+ text-align: center;
21
+ }
22
+ .play-pause-button {
23
+ position: absolute;
24
+ top: 50%;
25
+ left: 50%;
26
+ transform: translate(-50%, -50%);
27
+ cursor: pointer;
28
+ font-size: 2rem;
29
+ color: #fff;
30
+ background: rgba(0, 0, 0, 0.6);
31
+ border-radius: 50%;
32
+ padding: 10px;
33
+ transition: background 0.3s;
34
+ }
35
+ .play-pause-button:hover {
36
+ background: rgba(0, 0, 0, 0.8);
37
+ }
5
38
 
6
39
 
7
40
  .uni-calendar-component {
@@ -87,39 +120,25 @@ body, html {
87
120
  transform: translate3d(-50%, -50%, 0);
88
121
  }
89
122
  }
90
-
91
- h2.uni-text-component, p.uni-text-component {
92
- margin-bottom: 0;
93
- }
94
- button.uni-text-component {
95
- padding: 5px 10px;
96
- cursor: pointer;
97
- }
98
- .uni-text-component {
99
- box-sizing: border-box;
100
- white-space: pre-wrap;
101
- }
102
123
 
103
- .uni-video-component {
104
- position: relative;
105
- text-align: center;
106
- }
107
- .play-pause-button {
108
- position: absolute;
109
- top: 50%;
110
- left: 50%;
111
- transform: translate(-50%, -50%);
112
- cursor: pointer;
113
- font-size: 2rem;
114
- color: #fff;
115
- background: rgba(0, 0, 0, 0.6);
116
- border-radius: 50%;
117
- padding: 10px;
118
- transition: background 0.3s;
119
- }
120
- .play-pause-button:hover {
121
- background: rgba(0, 0, 0, 0.8);
122
- }
124
+ .effect {
125
+ width: 100%;
126
+ height: 100%;
127
+ }
128
+
129
+ .swiper-warp {
130
+ width: 100%;
131
+ height: 100%;
132
+ }
133
+
134
+ .swiper-slide-component {
135
+ text-align: center;
136
+ }
137
+
138
+ .swiper-slide img {
139
+ max-width: 100%;
140
+ max-height: 100%;
141
+ }
123
142
 
124
143
  .like-button {
125
144
  display: flex;
@@ -143,11 +162,6 @@ button.uni-text-component {
143
162
  color: #333;
144
163
  }
145
164
 
146
- .effect {
147
- width: 100%;
148
- height: 100%;
149
- }
150
-
151
165
  .ant-input-number {
152
166
  box-sizing: border-box;
153
167
  margin: 0;
@@ -185,22 +199,6 @@ button.uni-text-component {
185
199
 
186
200
  .uni-build-up-component {
187
201
  }
188
-
189
- .swiper-warp {
190
- width: 100%;
191
- height: 100%;
192
- }
193
-
194
- .swiper-slide-component {
195
- text-align: center;
196
- }
197
-
198
- .swiper-slide img {
199
- max-width: 100%;
200
- max-height: 100%;
201
- }
202
-
203
- /* 可以根据需要添加样式 */
204
202
  /**
205
203
  * Swiper 6.8.4
206
204
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -5351,9 +5351,9 @@ const transformToComponentProps = (props, extraProps) => {
5351
5351
  }
5352
5352
  };
5353
5353
 
5354
- const defaultStyles$b = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5354
+ const defaultStyles$c = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5355
5355
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
5356
- const useStylePick = (props, pickStyles = defaultStyles$b) => {
5356
+ const useStylePick = (props, pickStyles = defaultStyles$c) => {
5357
5357
  return computed(() => pick$1(props, pickStyles));
5358
5358
  };
5359
5359
 
@@ -5374,12 +5374,12 @@ const extraProps$1 = {
5374
5374
  },
5375
5375
  ...isEditingProp
5376
5376
  };
5377
- const defaultProps$e = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
5377
+ const defaultProps$f = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
5378
5378
  // array that contains style props
5379
5379
  var script$l = defineComponent({
5380
5380
  name: 'uni-text',
5381
5381
  props: {
5382
- ...defaultProps$e
5382
+ ...defaultProps$f
5383
5383
  },
5384
5384
  setup(props) {
5385
5385
  const styleProps = useStylePick(props);
@@ -5446,12 +5446,12 @@ script$k.install = (app) => {
5446
5446
  app.component(script$k.name, script$k);
5447
5447
  };
5448
5448
 
5449
- const defaultProps$d = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5449
+ const defaultProps$e = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5450
5450
  // array that contains style props
5451
5451
  var script$j = defineComponent({
5452
5452
  name: 'uni-shape',
5453
5453
  props: {
5454
- ...defaultProps$d
5454
+ ...defaultProps$e
5455
5455
  },
5456
5456
  setup(props) {
5457
5457
  const styleProps = useStylePick(props);
@@ -13206,16 +13206,16 @@ script$h.install = (app) => {
13206
13206
  app.component(script$h.name, script$h);
13207
13207
  };
13208
13208
 
13209
- const defaultProps$c = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
13210
- const defaultStyles$a = Object.keys(backgroundDefaultProps);
13209
+ const defaultProps$d = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
13210
+ const defaultStyles$b = Object.keys(backgroundDefaultProps);
13211
13211
  // array that contains style props
13212
13212
  var script$g = defineComponent({
13213
13213
  name: 'uni-background',
13214
13214
  props: {
13215
- ...defaultProps$c
13215
+ ...defaultProps$d
13216
13216
  },
13217
13217
  setup(props) {
13218
- const styleProps = useStylePick(props, defaultStyles$a);
13218
+ const styleProps = useStylePick(props, defaultStyles$b);
13219
13219
  const handleClick = useComponentClick(props);
13220
13220
  return {
13221
13221
  styleProps,
@@ -13240,13 +13240,13 @@ script$g.install = (app) => {
13240
13240
  app.component(script$g.name, script$g);
13241
13241
  };
13242
13242
 
13243
- const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
13244
- const defaultStyles$9 = without$1(Object.keys(videoDefaultProps), 'actionType', 'url', 'videoSrc');
13243
+ const defaultProps$c = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
13244
+ const defaultStyles$a = without$1(Object.keys(videoDefaultProps), 'actionType', 'url', 'videoSrc');
13245
13245
  // array that contains style props
13246
13246
  var script$f = defineComponent({
13247
13247
  name: 'uni-video',
13248
13248
  props: {
13249
- ...defaultProps$b,
13249
+ ...defaultProps$c,
13250
13250
  // videoSrc: {
13251
13251
  // type: String,
13252
13252
  // default: ''
@@ -13258,7 +13258,7 @@ var script$f = defineComponent({
13258
13258
  setup(props) {
13259
13259
  // 重用并且简化
13260
13260
  // 抽离并且获得 styleProps
13261
- const styleProps = useStylePick(props, defaultStyles$9);
13261
+ const styleProps = useStylePick(props, defaultStyles$a);
13262
13262
  const handleClick = useComponentClick(props);
13263
13263
  const showButton = ref(true);
13264
13264
  const isPlaying = ref(false);
@@ -16095,8 +16095,8 @@ script$e.render = render$f;
16095
16095
  script$e.__scopeId = "data-v-ef842ea2";
16096
16096
  script$e.__file = "src/components/UniCalendar/Calendar.vue";
16097
16097
 
16098
- const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
16099
- const defaultStyles$8 = without$1(Object.keys(calendarDefaultProps), 'actionType', 'url', 'backgroundColor', 'borderRadius', 'borderColor', 'borderStyle', 'borderWidth', 'date', 'dateColor', 'themeColor', 'heartColor', 'themeStyle', 'language', 'size');
16098
+ const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
16099
+ const defaultStyles$9 = without$1(Object.keys(calendarDefaultProps), 'actionType', 'url', 'backgroundColor', 'borderRadius', 'borderColor', 'borderStyle', 'borderWidth', 'date', 'dateColor', 'themeColor', 'heartColor', 'themeStyle', 'language', 'size');
16100
16100
  // 获取当前日期和时间
16101
16101
  const now$2 = new Date();
16102
16102
  // 添加一天
@@ -16109,7 +16109,7 @@ String(now$2.getDate()).padStart(2, '0');
16109
16109
  var script$d = defineComponent({
16110
16110
  name: 'uni-calendar',
16111
16111
  props: {
16112
- ...defaultProps$a,
16112
+ ...defaultProps$b,
16113
16113
  },
16114
16114
  components: {
16115
16115
  Calendar: script$e
@@ -16117,7 +16117,7 @@ var script$d = defineComponent({
16117
16117
  setup(props) {
16118
16118
  // 重用并且简化
16119
16119
  // 抽离并且获得 styleProps
16120
- const styleProps = useStylePick(props, defaultStyles$8);
16120
+ const styleProps = useStylePick(props, defaultStyles$9);
16121
16121
  const handleClick = useComponentClick(props);
16122
16122
  const dataList = ref([
16123
16123
  { date: '2028-01-31', value: '' }
@@ -22306,8 +22306,8 @@ script$c.render = render$d;
22306
22306
  script$c.__scopeId = "data-v-47d33153";
22307
22307
  script$c.__file = "src/components/UniCountdown/Countdown.vue";
22308
22308
 
22309
- const defaultProps$9 = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
22310
- const defaultStyles$7 = without$1(Object.keys(countdownDefaultProps), 'actionType', 'url', 'mainColor', 'mainFlipBackgroundColor', 'labelColor', 'showLabels', 'language', 'size', 'flipAnimation', 'deadline');
22309
+ const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
22310
+ const defaultStyles$8 = without$1(Object.keys(countdownDefaultProps), 'actionType', 'url', 'mainColor', 'mainFlipBackgroundColor', 'labelColor', 'showLabels', 'language', 'size', 'flipAnimation', 'deadline');
22311
22311
  // 获取当前日期和时间
22312
22312
  const now = new Date();
22313
22313
  // 添加一天
@@ -22323,7 +22323,7 @@ String(now.getSeconds()).padStart(2, '0');
22323
22323
  var script$b = defineComponent({
22324
22324
  name: 'uni-countdown',
22325
22325
  props: {
22326
- ...defaultProps$9,
22326
+ ...defaultProps$a,
22327
22327
  },
22328
22328
  components: {
22329
22329
  Countdown: script$c
@@ -22331,7 +22331,7 @@ var script$b = defineComponent({
22331
22331
  setup(props) {
22332
22332
  // 重用并且简化
22333
22333
  // 抽离并且获得 styleProps
22334
- const styleProps = useStylePick(props, defaultStyles$7);
22334
+ const styleProps = useStylePick(props, defaultStyles$8);
22335
22335
  const handleClick = useComponentClick(props);
22336
22336
  const labelSize = computed(() => {
22337
22337
  if (props.size == 'middle') {
@@ -22415,13 +22415,13 @@ script$b.install = (app) => {
22415
22415
  app.component(script$b.name, script$b);
22416
22416
  };
22417
22417
 
22418
- const defaultProps$8 = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
22419
- const defaultStyles$6 = without$1(Object.keys(mapDefaultProps), 'actionType', 'url', 'mapHtml');
22418
+ const defaultProps$9 = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
22419
+ const defaultStyles$7 = without$1(Object.keys(mapDefaultProps), 'actionType', 'url', 'mapHtml');
22420
22420
  // array that contains style props
22421
22421
  var script$a = defineComponent({
22422
22422
  name: 'uni-map',
22423
22423
  props: {
22424
- ...defaultProps$8,
22424
+ ...defaultProps$9,
22425
22425
  // mapHtml: {
22426
22426
  // type: String,
22427
22427
  // default: '<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3876.6314371481812!2d100.6072045757631!3d13.680160998946826!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e2a10075b91f71%3A0x2f48c448da71ee3d!2z4LmC4LiI4LmK4LiB4Liq4Lii4Liy4LihIOC4quC4suC4guC4siBCVFMg4Lit4Li44LiU4Lih4Liq4Li44LiC!5e0!3m2!1szh-CN!2sth!4v1709194607401!5m2!1szh-CN!2sth" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>'
@@ -22439,7 +22439,7 @@ var script$a = defineComponent({
22439
22439
  setup(props) {
22440
22440
  // 重用并且简化
22441
22441
  // 抽离并且获得 styleProps
22442
- const styleProps = useStylePick(props, defaultStyles$6);
22442
+ const styleProps = useStylePick(props, defaultStyles$7);
22443
22443
  const handleClick = useComponentClick(props);
22444
22444
  // const openMap = () => {
22445
22445
  // // 替换为要拨打的电话号码
@@ -26099,18 +26099,18 @@ var faSquarePhone = {
26099
26099
  };
26100
26100
 
26101
26101
  library$1.add(faSquarePhone);
26102
- const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-call'].props, isEditingProp);
26103
- const defaultStyles$5 = without$1(Object.keys(callDefaultProps), 'actionType', 'url', 'phoneNumber', 'callText');
26102
+ const defaultProps$8 = transformToComponentProps(componentsDefaultProps['uni-call'].props, isEditingProp);
26103
+ const defaultStyles$6 = without$1(Object.keys(callDefaultProps), 'actionType', 'url', 'phoneNumber', 'callText');
26104
26104
  var script$9 = defineComponent({
26105
26105
  name: 'uni-call',
26106
26106
  props: {
26107
- ...defaultProps$7,
26107
+ ...defaultProps$8,
26108
26108
  },
26109
26109
  components: {
26110
26110
  FontAwesomeIcon
26111
26111
  },
26112
26112
  setup(props) {
26113
- const styleProps = useStylePick(props, defaultStyles$5);
26113
+ const styleProps = useStylePick(props, defaultStyles$6);
26114
26114
  const handleClick = useComponentClick(props);
26115
26115
  // const callNumber = () => {
26116
26116
  // window.location.href = `tel:${props.phoneNumber}`;
@@ -26162,13 +26162,13 @@ var faThumbsUp = {
26162
26162
  icon: [512, 512, [128077, 61575], "f164", "M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.2s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z"]
26163
26163
  };
26164
26164
 
26165
- const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-like'].props, isEditingProp);
26165
+ const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-like'].props, isEditingProp);
26166
26166
  library$1.add(faThumbsUp, faHeart, faStar);
26167
26167
  // array that contains style props
26168
26168
  var script$8 = defineComponent({
26169
26169
  name: 'uni-like',
26170
26170
  props: {
26171
- ...defaultProps$6
26171
+ ...defaultProps$7
26172
26172
  },
26173
26173
  components: {
26174
26174
  FontAwesomeIcon
@@ -26235,13 +26235,13 @@ script$8.install = (app) => {
26235
26235
  app.component(script$8.name, script$8);
26236
26236
  };
26237
26237
 
26238
- const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-effect'].props, isEditingProp);
26239
- const defaultStyles$4 = without$1(Object.keys(effectDefaultProps), 'actionType', 'url', 'shape', 'number', 'spead');
26238
+ const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-effect'].props, isEditingProp);
26239
+ const defaultStyles$5 = without$1(Object.keys(effectDefaultProps), 'actionType', 'url', 'shape', 'number', 'spead');
26240
26240
  // array that contains style props
26241
26241
  var script$7 = defineComponent({
26242
26242
  name: 'uni-effect',
26243
26243
  props: {
26244
- ...defaultProps$5,
26244
+ ...defaultProps$6,
26245
26245
  // opacity: {
26246
26246
  // type: Number,
26247
26247
  // default: 1 // explosions side bottom single falling
@@ -26263,7 +26263,7 @@ var script$7 = defineComponent({
26263
26263
  setup(props) {
26264
26264
  // 重用并且简化
26265
26265
  // 抽离并且获得 styleProps
26266
- const styleProps = useStylePick(props, defaultStyles$4);
26266
+ const styleProps = useStylePick(props, defaultStyles$5);
26267
26267
  const handleClick = useComponentClick(props);
26268
26268
  const options = {
26269
26269
  "fullScreen": {
@@ -53636,13 +53636,13 @@ var InputNumber$1 = _extends$1(InputNumber, {
53636
53636
  }
53637
53637
  });
53638
53638
 
53639
- const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-register-form'].props, isEditingProp);
53640
- const defaultStyles$3 = without$1(Object.keys(registerFormDefaultProps), 'actionType', 'url', 'attendanceTimeList', 'isPhoneNumber');
53639
+ const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-register-form'].props, isEditingProp);
53640
+ const defaultStyles$4 = without$1(Object.keys(registerFormDefaultProps), 'actionType', 'url', 'attendanceTimeList', 'isPhoneNumber');
53641
53641
  // array that contains style props
53642
53642
  var script$6 = defineComponent({
53643
53643
  name: 'uni-register-form',
53644
53644
  props: {
53645
- ...defaultProps$4,
53645
+ ...defaultProps$5,
53646
53646
  // attendanceTimeList: {
53647
53647
  // type: Array as PropType<SelectOption[] | []>,
53648
53648
  // default: () => [ {value: 'Morning'}, {value: 'Noon'}, {value: 'Evening'}]
@@ -53671,7 +53671,7 @@ var script$6 = defineComponent({
53671
53671
  setup(props) {
53672
53672
  // 重用并且简化
53673
53673
  // 抽离并且获得 styleProps
53674
- const styleProps = useStylePick(props, defaultStyles$3);
53674
+ const styleProps = useStylePick(props, defaultStyles$4);
53675
53675
  const handleClick = useComponentClick(props);
53676
53676
  const useForm = Form$1.useForm;
53677
53677
  const labelCol = { span: 8 };
@@ -75307,8 +75307,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
75307
75307
  }
75308
75308
  var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
75309
75309
 
75310
- const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-lotties'].props, isEditingProp);
75311
- const defaultStyles$2 = without$1(Object.keys(lottiesDefaultProps), 'actionType', 'url', 'animationLink', 'loop', 'delay', 'pauseAnimation');
75310
+ const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-lotties'].props, isEditingProp);
75311
+ const defaultStyles$3 = without$1(Object.keys(lottiesDefaultProps), 'actionType', 'url', 'animationLink', 'loop', 'delay', 'pauseAnimation');
75312
75312
  // import AstronautJSON from './lotties/carton.json'
75313
75313
  // import zlweddingbai from './lotties/zlweddingbai.json'
75314
75314
  // https://assets10.lottiefiles.com/packages/lf20_soCRuE.json
@@ -75316,7 +75316,7 @@ const defaultStyles$2 = without$1(Object.keys(lottiesDefaultProps), 'actionType'
75316
75316
  var script$5 = defineComponent({
75317
75317
  name: 'uni-lotties',
75318
75318
  props: {
75319
- ...defaultProps$3,
75319
+ ...defaultProps$4,
75320
75320
  // left: {
75321
75321
  // type: String,
75322
75322
  // default: '25px'
@@ -75356,7 +75356,7 @@ var script$5 = defineComponent({
75356
75356
  setup(props) {
75357
75357
  // 重用并且简化
75358
75358
  // 抽离并且获得 styleProps
75359
- const styleProps = useStylePick(props, defaultStyles$2);
75359
+ const styleProps = useStylePick(props, defaultStyles$3);
75360
75360
  const handleClick = useComponentClick(props);
75361
75361
  const lottieAnimation = ref(null);
75362
75362
  const loopC = ref(props.loop);
@@ -75423,13 +75423,13 @@ script$5.install = (app) => {
75423
75423
  app.component(script$5.name, script$5);
75424
75424
  };
75425
75425
 
75426
- const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-swiper'].props, isEditingProp);
75426
+ const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-swiper'].props, isEditingProp);
75427
75427
  SwiperCore.use([Pagination$1, Navigation$1, Autoplay$1]);
75428
75428
  // array that contains style props
75429
75429
  var script$4 = defineComponent({
75430
75430
  name: 'uni-swiper',
75431
75431
  props: {
75432
- ...defaultProps$2,
75432
+ ...defaultProps$3,
75433
75433
  slides: {
75434
75434
  type: (Array),
75435
75435
  default: [
@@ -75503,19 +75503,19 @@ script$4.install = (app) => {
75503
75503
  app.component(script$4.name, script$4);
75504
75504
  };
75505
75505
 
75506
- const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-button'].props, isEditingProp);
75507
- const defaultStyles$1 = without$1(Object.keys(buttonDefaultProps), 'actionType', 'url', 'buttonText');
75506
+ const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-button'].props, isEditingProp);
75507
+ const defaultStyles$2 = without$1(Object.keys(buttonDefaultProps), 'actionType', 'url', 'buttonText');
75508
75508
  // array that contains style props
75509
75509
  var script$3 = defineComponent({
75510
75510
  name: 'uni-button',
75511
75511
  props: {
75512
- ...defaultProps$1,
75512
+ ...defaultProps$2,
75513
75513
  },
75514
75514
  components: {},
75515
75515
  setup(props) {
75516
75516
  // 重用并且简化
75517
75517
  // 抽离并且获得 styleProps
75518
- const styleProps = useStylePick(props, defaultStyles$1);
75518
+ const styleProps = useStylePick(props, defaultStyles$2);
75519
75519
  const handleClick = useComponentClick(props);
75520
75520
  return {
75521
75521
  styleProps,
@@ -75554,19 +75554,19 @@ const extraProps = {
75554
75554
  },
75555
75555
  ...isEditingProp
75556
75556
  };
75557
- const defaultProps = transformToComponentProps(componentsDefaultProps['uni-build-up'].props, extraProps);
75558
- const defaultStyles = without$1(Object.keys(buildUpDefaultProps), 'actionType', 'url');
75557
+ const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-build-up'].props, extraProps);
75558
+ const defaultStyles$1 = without$1(Object.keys(buildUpDefaultProps), 'actionType', 'url');
75559
75559
  // array that contains style props
75560
75560
  var script$2 = defineComponent({
75561
75561
  name: 'uni-build-up',
75562
75562
  props: {
75563
- ...defaultProps,
75563
+ ...defaultProps$1,
75564
75564
  },
75565
75565
  components: {},
75566
75566
  setup(props) {
75567
75567
  // 重用并且简化
75568
75568
  // 抽离并且获得 styleProps
75569
- const styleProps = useStylePick(props, defaultStyles);
75569
+ const styleProps = useStylePick(props, defaultStyles$1);
75570
75570
  const handleClick = useComponentClick(props);
75571
75571
  return {
75572
75572
  styleProps,
@@ -91648,7 +91648,7 @@ var followRedirects = wrap({ http: http, https: https });
91648
91648
  var wrap_1 = wrap;
91649
91649
  followRedirects.wrap = wrap_1;
91650
91650
 
91651
- const VERSION = "1.7.1";
91651
+ const VERSION = "1.7.2";
91652
91652
 
91653
91653
  function parseProtocol(url) {
91654
91654
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -93360,11 +93360,11 @@ const fetchProgressDecorator = (total, fn) => {
93360
93360
  }));
93361
93361
  };
93362
93362
 
93363
- const isFetchSupported = typeof fetch !== 'undefined';
93364
- const isReadableStreamSupported = isFetchSupported && typeof ReadableStream !== 'undefined';
93363
+ const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
93364
+ const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
93365
93365
 
93366
93366
  // used only inside the fetch adapter
93367
- const encodeText = isFetchSupported && (typeof TextEncoder !== 'undefined' ?
93367
+ const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
93368
93368
  ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
93369
93369
  async (str) => new Uint8Array(await new Response(str).arrayBuffer())
93370
93370
  );
@@ -94317,28 +94317,18 @@ axios.default = axios;
94317
94317
  // this module should only have a default export
94318
94318
  var axios$1 = axios;
94319
94319
 
94320
+ const defaultProps = transformToComponentProps(componentsDefaultProps['uni-svg'].props, isEditingProp);
94321
+ const defaultStyles = without$1(Object.keys(svgDefaultProps), 'actionType', 'url', 'color', 'svgSrc');
94322
+ // array that contains style props
94320
94323
  var script = defineComponent({
94321
- name: 'SvgIcon',
94324
+ name: 'uni-svg',
94322
94325
  props: {
94323
- svgUrl: {
94324
- type: String,
94325
- required: true
94326
- },
94327
- color: {
94328
- type: String,
94329
- required: true
94330
- },
94331
- width: {
94332
- type: String,
94333
- required: true
94334
- },
94335
- height: {
94336
- type: String,
94337
- required: true
94338
- }
94326
+ ...defaultProps
94339
94327
  },
94340
94328
  setup(props) {
94341
- const coloredSvgContent = ref('');
94329
+ const styleProps = useStylePick(props, defaultStyles);
94330
+ const handleClick = useComponentClick(props);
94331
+ const svgContent = ref('');
94342
94332
  // Function to fetch SVG content from the URL
94343
94333
  const fetchSvg = async (url) => {
94344
94334
  try {
@@ -94373,15 +94363,16 @@ var script = defineComponent({
94373
94363
  };
94374
94364
  // Function to load and color the SVG
94375
94365
  const loadSvg = async () => {
94376
- const svg = await fetchSvg(props.svgUrl);
94366
+ const svg = await fetchSvg(props.svgSrc);
94377
94367
  if (svg) {
94378
- coloredSvgContent.value = updateSvgColor(svg, props.color, props.width, props.height);
94368
+ svgContent.value = updateSvgColor(svg, props.color, props.width, props.height);
94379
94369
  }
94380
94370
  };
94381
- // Watch for changes in svgUrl, color, width, and height props
94382
- watch([() => props.svgUrl, () => props.color, () => props.width, () => props.height], loadSvg, { immediate: true });
94371
+ watch([() => props.svgSrc, () => props.color, () => props.width, () => props.height], loadSvg, { immediate: true });
94383
94372
  return {
94384
- coloredSvgContent
94373
+ styleProps,
94374
+ handleClick,
94375
+ svgContent
94385
94376
  };
94386
94377
  }
94387
94378
  });
@@ -94390,13 +94381,16 @@ const _hoisted_1 = ["innerHTML"];
94390
94381
 
94391
94382
  function render(_ctx, _cache, $props, $setup, $data, $options) {
94392
94383
  return (openBlock(), createElementBlock("div", {
94393
- innerHTML: _ctx.coloredSvgContent,
94394
- style: normalizeStyle$1({ width: _ctx.props.width, height: _ctx.props.height })
94395
- }, null, 12 /* STYLE, PROPS */, _hoisted_1))
94384
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
94385
+ style: normalizeStyle$1(_ctx.styleProps),
94386
+ class: "uni-svg-component",
94387
+ draggable: false
94388
+ }, [
94389
+ createElementVNode("div", { innerHTML: _ctx.svgContent }, null, 8 /* PROPS */, _hoisted_1)
94390
+ ], 4 /* STYLE */))
94396
94391
  }
94397
94392
 
94398
94393
  script.render = render;
94399
- script.__scopeId = "data-v-42564b0f";
94400
94394
  script.__file = "src/components/UniSvg/UniSvg.vue";
94401
94395
 
94402
94396
  script.install = (app) => {
@@ -5357,9 +5357,9 @@
5357
5357
  }
5358
5358
  };
5359
5359
 
5360
- const defaultStyles$b = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5360
+ const defaultStyles$c = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5361
5361
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
5362
- const useStylePick = (props, pickStyles = defaultStyles$b) => {
5362
+ const useStylePick = (props, pickStyles = defaultStyles$c) => {
5363
5363
  return vue.computed(() => pick$1(props, pickStyles));
5364
5364
  };
5365
5365
 
@@ -5380,12 +5380,12 @@
5380
5380
  },
5381
5381
  ...isEditingProp
5382
5382
  };
5383
- const defaultProps$e = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
5383
+ const defaultProps$f = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
5384
5384
  // array that contains style props
5385
5385
  var script$l = vue.defineComponent({
5386
5386
  name: 'uni-text',
5387
5387
  props: {
5388
- ...defaultProps$e
5388
+ ...defaultProps$f
5389
5389
  },
5390
5390
  setup(props) {
5391
5391
  const styleProps = useStylePick(props);
@@ -5452,12 +5452,12 @@
5452
5452
  app.component(script$k.name, script$k);
5453
5453
  };
5454
5454
 
5455
- const defaultProps$d = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5455
+ const defaultProps$e = transformToComponentProps(componentsDefaultProps['uni-shape'].props, isEditingProp);
5456
5456
  // array that contains style props
5457
5457
  var script$j = vue.defineComponent({
5458
5458
  name: 'uni-shape',
5459
5459
  props: {
5460
- ...defaultProps$d
5460
+ ...defaultProps$e
5461
5461
  },
5462
5462
  setup(props) {
5463
5463
  const styleProps = useStylePick(props);
@@ -13212,16 +13212,16 @@
13212
13212
  app.component(script$h.name, script$h);
13213
13213
  };
13214
13214
 
13215
- const defaultProps$c = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
13216
- const defaultStyles$a = Object.keys(backgroundDefaultProps);
13215
+ const defaultProps$d = transformToComponentProps(componentsDefaultProps['uni-background'].props, isEditingProp);
13216
+ const defaultStyles$b = Object.keys(backgroundDefaultProps);
13217
13217
  // array that contains style props
13218
13218
  var script$g = vue.defineComponent({
13219
13219
  name: 'uni-background',
13220
13220
  props: {
13221
- ...defaultProps$c
13221
+ ...defaultProps$d
13222
13222
  },
13223
13223
  setup(props) {
13224
- const styleProps = useStylePick(props, defaultStyles$a);
13224
+ const styleProps = useStylePick(props, defaultStyles$b);
13225
13225
  const handleClick = useComponentClick(props);
13226
13226
  return {
13227
13227
  styleProps,
@@ -13246,13 +13246,13 @@
13246
13246
  app.component(script$g.name, script$g);
13247
13247
  };
13248
13248
 
13249
- const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
13250
- const defaultStyles$9 = without$1(Object.keys(videoDefaultProps), 'actionType', 'url', 'videoSrc');
13249
+ const defaultProps$c = transformToComponentProps(componentsDefaultProps['uni-video'].props, isEditingProp);
13250
+ const defaultStyles$a = without$1(Object.keys(videoDefaultProps), 'actionType', 'url', 'videoSrc');
13251
13251
  // array that contains style props
13252
13252
  var script$f = vue.defineComponent({
13253
13253
  name: 'uni-video',
13254
13254
  props: {
13255
- ...defaultProps$b,
13255
+ ...defaultProps$c,
13256
13256
  // videoSrc: {
13257
13257
  // type: String,
13258
13258
  // default: ''
@@ -13264,7 +13264,7 @@
13264
13264
  setup(props) {
13265
13265
  // 重用并且简化
13266
13266
  // 抽离并且获得 styleProps
13267
- const styleProps = useStylePick(props, defaultStyles$9);
13267
+ const styleProps = useStylePick(props, defaultStyles$a);
13268
13268
  const handleClick = useComponentClick(props);
13269
13269
  const showButton = vue.ref(true);
13270
13270
  const isPlaying = vue.ref(false);
@@ -16101,8 +16101,8 @@
16101
16101
  script$e.__scopeId = "data-v-ef842ea2";
16102
16102
  script$e.__file = "src/components/UniCalendar/Calendar.vue";
16103
16103
 
16104
- const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
16105
- const defaultStyles$8 = without$1(Object.keys(calendarDefaultProps), 'actionType', 'url', 'backgroundColor', 'borderRadius', 'borderColor', 'borderStyle', 'borderWidth', 'date', 'dateColor', 'themeColor', 'heartColor', 'themeStyle', 'language', 'size');
16104
+ const defaultProps$b = transformToComponentProps(componentsDefaultProps['uni-calendar'].props, isEditingProp);
16105
+ const defaultStyles$9 = without$1(Object.keys(calendarDefaultProps), 'actionType', 'url', 'backgroundColor', 'borderRadius', 'borderColor', 'borderStyle', 'borderWidth', 'date', 'dateColor', 'themeColor', 'heartColor', 'themeStyle', 'language', 'size');
16106
16106
  // 获取当前日期和时间
16107
16107
  const now$2 = new Date();
16108
16108
  // 添加一天
@@ -16115,7 +16115,7 @@
16115
16115
  var script$d = vue.defineComponent({
16116
16116
  name: 'uni-calendar',
16117
16117
  props: {
16118
- ...defaultProps$a,
16118
+ ...defaultProps$b,
16119
16119
  },
16120
16120
  components: {
16121
16121
  Calendar: script$e
@@ -16123,7 +16123,7 @@
16123
16123
  setup(props) {
16124
16124
  // 重用并且简化
16125
16125
  // 抽离并且获得 styleProps
16126
- const styleProps = useStylePick(props, defaultStyles$8);
16126
+ const styleProps = useStylePick(props, defaultStyles$9);
16127
16127
  const handleClick = useComponentClick(props);
16128
16128
  const dataList = vue.ref([
16129
16129
  { date: '2028-01-31', value: '' }
@@ -22312,8 +22312,8 @@
22312
22312
  script$c.__scopeId = "data-v-47d33153";
22313
22313
  script$c.__file = "src/components/UniCountdown/Countdown.vue";
22314
22314
 
22315
- const defaultProps$9 = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
22316
- const defaultStyles$7 = without$1(Object.keys(countdownDefaultProps), 'actionType', 'url', 'mainColor', 'mainFlipBackgroundColor', 'labelColor', 'showLabels', 'language', 'size', 'flipAnimation', 'deadline');
22315
+ const defaultProps$a = transformToComponentProps(componentsDefaultProps['uni-countdown'].props, isEditingProp);
22316
+ const defaultStyles$8 = without$1(Object.keys(countdownDefaultProps), 'actionType', 'url', 'mainColor', 'mainFlipBackgroundColor', 'labelColor', 'showLabels', 'language', 'size', 'flipAnimation', 'deadline');
22317
22317
  // 获取当前日期和时间
22318
22318
  const now = new Date();
22319
22319
  // 添加一天
@@ -22329,7 +22329,7 @@
22329
22329
  var script$b = vue.defineComponent({
22330
22330
  name: 'uni-countdown',
22331
22331
  props: {
22332
- ...defaultProps$9,
22332
+ ...defaultProps$a,
22333
22333
  },
22334
22334
  components: {
22335
22335
  Countdown: script$c
@@ -22337,7 +22337,7 @@
22337
22337
  setup(props) {
22338
22338
  // 重用并且简化
22339
22339
  // 抽离并且获得 styleProps
22340
- const styleProps = useStylePick(props, defaultStyles$7);
22340
+ const styleProps = useStylePick(props, defaultStyles$8);
22341
22341
  const handleClick = useComponentClick(props);
22342
22342
  const labelSize = vue.computed(() => {
22343
22343
  if (props.size == 'middle') {
@@ -22421,13 +22421,13 @@
22421
22421
  app.component(script$b.name, script$b);
22422
22422
  };
22423
22423
 
22424
- const defaultProps$8 = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
22425
- const defaultStyles$6 = without$1(Object.keys(mapDefaultProps), 'actionType', 'url', 'mapHtml');
22424
+ const defaultProps$9 = transformToComponentProps(componentsDefaultProps['uni-map'].props, isEditingProp);
22425
+ const defaultStyles$7 = without$1(Object.keys(mapDefaultProps), 'actionType', 'url', 'mapHtml');
22426
22426
  // array that contains style props
22427
22427
  var script$a = vue.defineComponent({
22428
22428
  name: 'uni-map',
22429
22429
  props: {
22430
- ...defaultProps$8,
22430
+ ...defaultProps$9,
22431
22431
  // mapHtml: {
22432
22432
  // type: String,
22433
22433
  // default: '<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3876.6314371481812!2d100.6072045757631!3d13.680160998946826!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e2a10075b91f71%3A0x2f48c448da71ee3d!2z4LmC4LiI4LmK4LiB4Liq4Lii4Liy4LihIOC4quC4suC4guC4siBCVFMg4Lit4Li44LiU4Lih4Liq4Li44LiC!5e0!3m2!1szh-CN!2sth!4v1709194607401!5m2!1szh-CN!2sth" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>'
@@ -22445,7 +22445,7 @@
22445
22445
  setup(props) {
22446
22446
  // 重用并且简化
22447
22447
  // 抽离并且获得 styleProps
22448
- const styleProps = useStylePick(props, defaultStyles$6);
22448
+ const styleProps = useStylePick(props, defaultStyles$7);
22449
22449
  const handleClick = useComponentClick(props);
22450
22450
  // const openMap = () => {
22451
22451
  // // 替换为要拨打的电话号码
@@ -26105,18 +26105,18 @@
26105
26105
  };
26106
26106
 
26107
26107
  library$1.add(faSquarePhone);
26108
- const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-call'].props, isEditingProp);
26109
- const defaultStyles$5 = without$1(Object.keys(callDefaultProps), 'actionType', 'url', 'phoneNumber', 'callText');
26108
+ const defaultProps$8 = transformToComponentProps(componentsDefaultProps['uni-call'].props, isEditingProp);
26109
+ const defaultStyles$6 = without$1(Object.keys(callDefaultProps), 'actionType', 'url', 'phoneNumber', 'callText');
26110
26110
  var script$9 = vue.defineComponent({
26111
26111
  name: 'uni-call',
26112
26112
  props: {
26113
- ...defaultProps$7,
26113
+ ...defaultProps$8,
26114
26114
  },
26115
26115
  components: {
26116
26116
  FontAwesomeIcon
26117
26117
  },
26118
26118
  setup(props) {
26119
- const styleProps = useStylePick(props, defaultStyles$5);
26119
+ const styleProps = useStylePick(props, defaultStyles$6);
26120
26120
  const handleClick = useComponentClick(props);
26121
26121
  // const callNumber = () => {
26122
26122
  // window.location.href = `tel:${props.phoneNumber}`;
@@ -26168,13 +26168,13 @@
26168
26168
  icon: [512, 512, [128077, 61575], "f164", "M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.2s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z"]
26169
26169
  };
26170
26170
 
26171
- const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-like'].props, isEditingProp);
26171
+ const defaultProps$7 = transformToComponentProps(componentsDefaultProps['uni-like'].props, isEditingProp);
26172
26172
  library$1.add(faThumbsUp, faHeart, faStar);
26173
26173
  // array that contains style props
26174
26174
  var script$8 = vue.defineComponent({
26175
26175
  name: 'uni-like',
26176
26176
  props: {
26177
- ...defaultProps$6
26177
+ ...defaultProps$7
26178
26178
  },
26179
26179
  components: {
26180
26180
  FontAwesomeIcon
@@ -26241,13 +26241,13 @@
26241
26241
  app.component(script$8.name, script$8);
26242
26242
  };
26243
26243
 
26244
- const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-effect'].props, isEditingProp);
26245
- const defaultStyles$4 = without$1(Object.keys(effectDefaultProps), 'actionType', 'url', 'shape', 'number', 'spead');
26244
+ const defaultProps$6 = transformToComponentProps(componentsDefaultProps['uni-effect'].props, isEditingProp);
26245
+ const defaultStyles$5 = without$1(Object.keys(effectDefaultProps), 'actionType', 'url', 'shape', 'number', 'spead');
26246
26246
  // array that contains style props
26247
26247
  var script$7 = vue.defineComponent({
26248
26248
  name: 'uni-effect',
26249
26249
  props: {
26250
- ...defaultProps$5,
26250
+ ...defaultProps$6,
26251
26251
  // opacity: {
26252
26252
  // type: Number,
26253
26253
  // default: 1 // explosions side bottom single falling
@@ -26269,7 +26269,7 @@
26269
26269
  setup(props) {
26270
26270
  // 重用并且简化
26271
26271
  // 抽离并且获得 styleProps
26272
- const styleProps = useStylePick(props, defaultStyles$4);
26272
+ const styleProps = useStylePick(props, defaultStyles$5);
26273
26273
  const handleClick = useComponentClick(props);
26274
26274
  const options = {
26275
26275
  "fullScreen": {
@@ -53642,13 +53642,13 @@ summary tabindex target title type usemap value width wmode wrap`;
53642
53642
  }
53643
53643
  });
53644
53644
 
53645
- const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-register-form'].props, isEditingProp);
53646
- const defaultStyles$3 = without$1(Object.keys(registerFormDefaultProps), 'actionType', 'url', 'attendanceTimeList', 'isPhoneNumber');
53645
+ const defaultProps$5 = transformToComponentProps(componentsDefaultProps['uni-register-form'].props, isEditingProp);
53646
+ const defaultStyles$4 = without$1(Object.keys(registerFormDefaultProps), 'actionType', 'url', 'attendanceTimeList', 'isPhoneNumber');
53647
53647
  // array that contains style props
53648
53648
  var script$6 = vue.defineComponent({
53649
53649
  name: 'uni-register-form',
53650
53650
  props: {
53651
- ...defaultProps$4,
53651
+ ...defaultProps$5,
53652
53652
  // attendanceTimeList: {
53653
53653
  // type: Array as PropType<SelectOption[] | []>,
53654
53654
  // default: () => [ {value: 'Morning'}, {value: 'Noon'}, {value: 'Evening'}]
@@ -53677,7 +53677,7 @@ summary tabindex target title type usemap value width wmode wrap`;
53677
53677
  setup(props) {
53678
53678
  // 重用并且简化
53679
53679
  // 抽离并且获得 styleProps
53680
- const styleProps = useStylePick(props, defaultStyles$3);
53680
+ const styleProps = useStylePick(props, defaultStyles$4);
53681
53681
  const handleClick = useComponentClick(props);
53682
53682
  const useForm = Form$1.useForm;
53683
53683
  const labelCol = { span: 8 };
@@ -75313,8 +75313,8 @@ summary tabindex target title type usemap value width wmode wrap`;
75313
75313
  }
75314
75314
  var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
75315
75315
 
75316
- const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-lotties'].props, isEditingProp);
75317
- const defaultStyles$2 = without$1(Object.keys(lottiesDefaultProps), 'actionType', 'url', 'animationLink', 'loop', 'delay', 'pauseAnimation');
75316
+ const defaultProps$4 = transformToComponentProps(componentsDefaultProps['uni-lotties'].props, isEditingProp);
75317
+ const defaultStyles$3 = without$1(Object.keys(lottiesDefaultProps), 'actionType', 'url', 'animationLink', 'loop', 'delay', 'pauseAnimation');
75318
75318
  // import AstronautJSON from './lotties/carton.json'
75319
75319
  // import zlweddingbai from './lotties/zlweddingbai.json'
75320
75320
  // https://assets10.lottiefiles.com/packages/lf20_soCRuE.json
@@ -75322,7 +75322,7 @@ summary tabindex target title type usemap value width wmode wrap`;
75322
75322
  var script$5 = vue.defineComponent({
75323
75323
  name: 'uni-lotties',
75324
75324
  props: {
75325
- ...defaultProps$3,
75325
+ ...defaultProps$4,
75326
75326
  // left: {
75327
75327
  // type: String,
75328
75328
  // default: '25px'
@@ -75362,7 +75362,7 @@ summary tabindex target title type usemap value width wmode wrap`;
75362
75362
  setup(props) {
75363
75363
  // 重用并且简化
75364
75364
  // 抽离并且获得 styleProps
75365
- const styleProps = useStylePick(props, defaultStyles$2);
75365
+ const styleProps = useStylePick(props, defaultStyles$3);
75366
75366
  const handleClick = useComponentClick(props);
75367
75367
  const lottieAnimation = vue.ref(null);
75368
75368
  const loopC = vue.ref(props.loop);
@@ -75429,13 +75429,13 @@ summary tabindex target title type usemap value width wmode wrap`;
75429
75429
  app.component(script$5.name, script$5);
75430
75430
  };
75431
75431
 
75432
- const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-swiper'].props, isEditingProp);
75432
+ const defaultProps$3 = transformToComponentProps(componentsDefaultProps['uni-swiper'].props, isEditingProp);
75433
75433
  SwiperCore.use([Pagination$1, Navigation$1, Autoplay$1]);
75434
75434
  // array that contains style props
75435
75435
  var script$4 = vue.defineComponent({
75436
75436
  name: 'uni-swiper',
75437
75437
  props: {
75438
- ...defaultProps$2,
75438
+ ...defaultProps$3,
75439
75439
  slides: {
75440
75440
  type: (Array),
75441
75441
  default: [
@@ -75509,19 +75509,19 @@ summary tabindex target title type usemap value width wmode wrap`;
75509
75509
  app.component(script$4.name, script$4);
75510
75510
  };
75511
75511
 
75512
- const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-button'].props, isEditingProp);
75513
- const defaultStyles$1 = without$1(Object.keys(buttonDefaultProps), 'actionType', 'url', 'buttonText');
75512
+ const defaultProps$2 = transformToComponentProps(componentsDefaultProps['uni-button'].props, isEditingProp);
75513
+ const defaultStyles$2 = without$1(Object.keys(buttonDefaultProps), 'actionType', 'url', 'buttonText');
75514
75514
  // array that contains style props
75515
75515
  var script$3 = vue.defineComponent({
75516
75516
  name: 'uni-button',
75517
75517
  props: {
75518
- ...defaultProps$1,
75518
+ ...defaultProps$2,
75519
75519
  },
75520
75520
  components: {},
75521
75521
  setup(props) {
75522
75522
  // 重用并且简化
75523
75523
  // 抽离并且获得 styleProps
75524
- const styleProps = useStylePick(props, defaultStyles$1);
75524
+ const styleProps = useStylePick(props, defaultStyles$2);
75525
75525
  const handleClick = useComponentClick(props);
75526
75526
  return {
75527
75527
  styleProps,
@@ -75560,19 +75560,19 @@ summary tabindex target title type usemap value width wmode wrap`;
75560
75560
  },
75561
75561
  ...isEditingProp
75562
75562
  };
75563
- const defaultProps = transformToComponentProps(componentsDefaultProps['uni-build-up'].props, extraProps);
75564
- const defaultStyles = without$1(Object.keys(buildUpDefaultProps), 'actionType', 'url');
75563
+ const defaultProps$1 = transformToComponentProps(componentsDefaultProps['uni-build-up'].props, extraProps);
75564
+ const defaultStyles$1 = without$1(Object.keys(buildUpDefaultProps), 'actionType', 'url');
75565
75565
  // array that contains style props
75566
75566
  var script$2 = vue.defineComponent({
75567
75567
  name: 'uni-build-up',
75568
75568
  props: {
75569
- ...defaultProps,
75569
+ ...defaultProps$1,
75570
75570
  },
75571
75571
  components: {},
75572
75572
  setup(props) {
75573
75573
  // 重用并且简化
75574
75574
  // 抽离并且获得 styleProps
75575
- const styleProps = useStylePick(props, defaultStyles);
75575
+ const styleProps = useStylePick(props, defaultStyles$1);
75576
75576
  const handleClick = useComponentClick(props);
75577
75577
  return {
75578
75578
  styleProps,
@@ -91654,7 +91654,7 @@ summary tabindex target title type usemap value width wmode wrap`;
91654
91654
  var wrap_1 = wrap;
91655
91655
  followRedirects.wrap = wrap_1;
91656
91656
 
91657
- const VERSION = "1.7.1";
91657
+ const VERSION = "1.7.2";
91658
91658
 
91659
91659
  function parseProtocol(url) {
91660
91660
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -93366,11 +93366,11 @@ summary tabindex target title type usemap value width wmode wrap`;
93366
93366
  }));
93367
93367
  };
93368
93368
 
93369
- const isFetchSupported = typeof fetch !== 'undefined';
93370
- const isReadableStreamSupported = isFetchSupported && typeof ReadableStream !== 'undefined';
93369
+ const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
93370
+ const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
93371
93371
 
93372
93372
  // used only inside the fetch adapter
93373
- const encodeText = isFetchSupported && (typeof TextEncoder !== 'undefined' ?
93373
+ const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
93374
93374
  ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
93375
93375
  async (str) => new Uint8Array(await new Response(str).arrayBuffer())
93376
93376
  );
@@ -94323,28 +94323,18 @@ summary tabindex target title type usemap value width wmode wrap`;
94323
94323
  // this module should only have a default export
94324
94324
  var axios$1 = axios;
94325
94325
 
94326
+ const defaultProps = transformToComponentProps(componentsDefaultProps['uni-svg'].props, isEditingProp);
94327
+ const defaultStyles = without$1(Object.keys(svgDefaultProps), 'actionType', 'url', 'color', 'svgSrc');
94328
+ // array that contains style props
94326
94329
  var script = vue.defineComponent({
94327
- name: 'SvgIcon',
94330
+ name: 'uni-svg',
94328
94331
  props: {
94329
- svgUrl: {
94330
- type: String,
94331
- required: true
94332
- },
94333
- color: {
94334
- type: String,
94335
- required: true
94336
- },
94337
- width: {
94338
- type: String,
94339
- required: true
94340
- },
94341
- height: {
94342
- type: String,
94343
- required: true
94344
- }
94332
+ ...defaultProps
94345
94333
  },
94346
94334
  setup(props) {
94347
- const coloredSvgContent = vue.ref('');
94335
+ const styleProps = useStylePick(props, defaultStyles);
94336
+ const handleClick = useComponentClick(props);
94337
+ const svgContent = vue.ref('');
94348
94338
  // Function to fetch SVG content from the URL
94349
94339
  const fetchSvg = async (url) => {
94350
94340
  try {
@@ -94379,15 +94369,16 @@ summary tabindex target title type usemap value width wmode wrap`;
94379
94369
  };
94380
94370
  // Function to load and color the SVG
94381
94371
  const loadSvg = async () => {
94382
- const svg = await fetchSvg(props.svgUrl);
94372
+ const svg = await fetchSvg(props.svgSrc);
94383
94373
  if (svg) {
94384
- coloredSvgContent.value = updateSvgColor(svg, props.color, props.width, props.height);
94374
+ svgContent.value = updateSvgColor(svg, props.color, props.width, props.height);
94385
94375
  }
94386
94376
  };
94387
- // Watch for changes in svgUrl, color, width, and height props
94388
- vue.watch([() => props.svgUrl, () => props.color, () => props.width, () => props.height], loadSvg, { immediate: true });
94377
+ vue.watch([() => props.svgSrc, () => props.color, () => props.width, () => props.height], loadSvg, { immediate: true });
94389
94378
  return {
94390
- coloredSvgContent
94379
+ styleProps,
94380
+ handleClick,
94381
+ svgContent
94391
94382
  };
94392
94383
  }
94393
94384
  });
@@ -94396,13 +94387,16 @@ summary tabindex target title type usemap value width wmode wrap`;
94396
94387
 
94397
94388
  function render(_ctx, _cache, $props, $setup, $data, $options) {
94398
94389
  return (vue.openBlock(), vue.createElementBlock("div", {
94399
- innerHTML: _ctx.coloredSvgContent,
94400
- style: vue.normalizeStyle({ width: _ctx.props.width, height: _ctx.props.height })
94401
- }, null, 12 /* STYLE, PROPS */, _hoisted_1))
94390
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
94391
+ style: vue.normalizeStyle(_ctx.styleProps),
94392
+ class: "uni-svg-component",
94393
+ draggable: false
94394
+ }, [
94395
+ vue.createElementVNode("div", { innerHTML: _ctx.svgContent }, null, 8 /* PROPS */, _hoisted_1)
94396
+ ], 4 /* STYLE */))
94402
94397
  }
94403
94398
 
94404
94399
  script.render = render;
94405
- script.__scopeId = "data-v-42564b0f";
94406
94400
  script.__file = "src/components/UniSvg/UniSvg.vue";
94407
94401
 
94408
94402
  script.install = (app) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.167",
3
+ "version": "1.0.168",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",
@@ -39,6 +39,7 @@
39
39
  "moment": "^2.29.4",
40
40
  "particles.vue3": "^1.22.0",
41
41
  "swiper-animation": "^1.4.0",
42
+ "text-encoding": "^0.7.0",
42
43
  "vue-baberrage": "^3.2.4",
43
44
  "vue-particles": "^1.0.9"
44
45
  },