y-design-ssr 0.0.28 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/libs/checkbox.js CHANGED
@@ -637,13 +637,13 @@ var setRelation = function setRelation(key) {
637
637
  * @Author: liuwentao
638
638
  * @Date: 2021-05-12 16:55:52
639
639
  * @LastEditors: ruan fei
640
- * @LastEditTime: 2022-08-11 17:47:58
640
+ * @LastEditTime: 2022-08-11 19:27:34
641
641
  * @Description: inject
642
642
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
643
643
  */
644
644
 
645
645
  var useRelation = function useRelation(key) {
646
- var parent = (0,external_vue_.inject)(key);
646
+ var parent = (0,external_vue_.inject)(key, null);
647
647
  var currentInstance = (0,external_vue_.getCurrentInstance)();
648
648
 
649
649
  if (parent && currentInstance) {
@@ -634,13 +634,13 @@ var setRelation = function setRelation(key) {
634
634
  * @Author: liuwentao
635
635
  * @Date: 2021-05-12 16:55:52
636
636
  * @LastEditors: ruan fei
637
- * @LastEditTime: 2022-08-11 17:47:58
637
+ * @LastEditTime: 2022-08-11 19:27:34
638
638
  * @Description: inject
639
639
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
640
640
  */
641
641
 
642
642
  var useRelation = function useRelation(key) {
643
- var parent = inject(key);
643
+ var parent = inject(key, null);
644
644
  var currentInstance = getCurrentInstance();
645
645
 
646
646
  if (parent && currentInstance) {
package/libs/col.js CHANGED
@@ -265,13 +265,13 @@ var setRelation = function setRelation(key) {
265
265
  * @Author: liuwentao
266
266
  * @Date: 2021-05-12 16:55:52
267
267
  * @LastEditors: ruan fei
268
- * @LastEditTime: 2022-08-11 17:47:58
268
+ * @LastEditTime: 2022-08-11 19:27:34
269
269
  * @Description: inject
270
270
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
271
271
  */
272
272
 
273
273
  var useRelation = function useRelation(key) {
274
- var parent = (0,external_vue_.inject)(key);
274
+ var parent = (0,external_vue_.inject)(key, null);
275
275
  var currentInstance = (0,external_vue_.getCurrentInstance)();
276
276
 
277
277
  if (parent && currentInstance) {
@@ -433,7 +433,7 @@ var RowJustify;
433
433
  * @Author: liuwentao
434
434
  * @Date: 2021-05-12 16:55:52
435
435
  * @LastEditors: ruan fei
436
- * @LastEditTime: 2022-08-11 18:20:01
436
+ * @LastEditTime: 2022-08-11 19:18:28
437
437
  * @Description: row component
438
438
  * @FilePath: /yui-vue/packages/row/src/row.tsx
439
439
  */
@@ -499,7 +499,6 @@ var ROW_PROVIDE = name;
499
499
  if (!gutter) return spaces;
500
500
  groupList.value.forEach(function (group) {
501
501
  var averagePadding = gutter * (group.length - 1) / group.length;
502
- console.log('be', averagePadding, gutter, group.length);
503
502
  group.forEach(function (item, index) {
504
503
  if (index === 0) {
505
504
  spaces.push({
package/libs/form.js CHANGED
@@ -317,13 +317,13 @@ var setRelation = function setRelation(key) {
317
317
  * @Author: liuwentao
318
318
  * @Date: 2021-05-12 16:55:52
319
319
  * @LastEditors: ruan fei
320
- * @LastEditTime: 2022-08-11 17:47:58
320
+ * @LastEditTime: 2022-08-11 19:27:34
321
321
  * @Description: inject
322
322
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
323
323
  */
324
324
 
325
325
  var useRelation = function useRelation(key) {
326
- var parent = inject(key);
326
+ var parent = inject(key, null);
327
327
  var currentInstance = getCurrentInstance();
328
328
 
329
329
  if (parent && currentInstance) {
package/libs/formItem.js CHANGED
@@ -469,13 +469,13 @@ var setRelation = function setRelation(key) {
469
469
  * @Author: liuwentao
470
470
  * @Date: 2021-05-12 16:55:52
471
471
  * @LastEditors: ruan fei
472
- * @LastEditTime: 2022-08-11 17:47:58
472
+ * @LastEditTime: 2022-08-11 19:27:34
473
473
  * @Description: inject
474
474
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
475
475
  */
476
476
 
477
477
  var useRelation = function useRelation(key) {
478
- var parent = (0,external_vue_.inject)(key);
478
+ var parent = (0,external_vue_.inject)(key, null);
479
479
  var currentInstance = (0,external_vue_.getCurrentInstance)();
480
480
 
481
481
  if (parent && currentInstance) {
package/libs/row.js CHANGED
@@ -264,13 +264,13 @@ var setRelation = function setRelation(key) {
264
264
  * @Author: liuwentao
265
265
  * @Date: 2021-05-12 16:55:52
266
266
  * @LastEditors: ruan fei
267
- * @LastEditTime: 2022-08-11 17:47:58
267
+ * @LastEditTime: 2022-08-11 19:27:34
268
268
  * @Description: inject
269
269
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
270
270
  */
271
271
 
272
272
  var useRelation = function useRelation(key) {
273
- var parent = inject(key);
273
+ var parent = inject(key, null);
274
274
  var currentInstance = getCurrentInstance();
275
275
 
276
276
  if (parent && currentInstance) {
@@ -430,7 +430,7 @@ var RowJustify;
430
430
  * @Author: liuwentao
431
431
  * @Date: 2021-05-12 16:55:52
432
432
  * @LastEditors: ruan fei
433
- * @LastEditTime: 2022-08-11 18:20:01
433
+ * @LastEditTime: 2022-08-11 19:18:28
434
434
  * @Description: row component
435
435
  * @FilePath: /yui-vue/packages/row/src/row.tsx
436
436
  */
@@ -496,7 +496,6 @@ var ROW_PROVIDE = name;
496
496
  if (!gutter) return spaces;
497
497
  groupList.value.forEach(function (group) {
498
498
  var averagePadding = gutter * (group.length - 1) / group.length;
499
- console.log('be', averagePadding, gutter, group.length);
500
499
  group.forEach(function (item, index) {
501
500
  if (index === 0) {
502
501
  spaces.push({
package/libs/swipe.js CHANGED
@@ -303,13 +303,13 @@ var setRelation = function setRelation(key) {
303
303
  * @Author: liuwentao
304
304
  * @Date: 2021-05-12 16:55:52
305
305
  * @LastEditors: ruan fei
306
- * @LastEditTime: 2022-08-11 17:47:58
306
+ * @LastEditTime: 2022-08-11 19:27:34
307
307
  * @Description: inject
308
308
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
309
309
  */
310
310
 
311
311
  var useRelation = function useRelation(key) {
312
- var parent = (0,external_vue_.inject)(key);
312
+ var parent = (0,external_vue_.inject)(key, null);
313
313
  var currentInstance = (0,external_vue_.getCurrentInstance)();
314
314
 
315
315
  if (parent && currentInstance) {
package/libs/swipeItem.js CHANGED
@@ -303,13 +303,13 @@ var setRelation = function setRelation(key) {
303
303
  * @Author: liuwentao
304
304
  * @Date: 2021-05-12 16:55:52
305
305
  * @LastEditors: ruan fei
306
- * @LastEditTime: 2022-08-11 17:47:58
306
+ * @LastEditTime: 2022-08-11 19:27:34
307
307
  * @Description: inject
308
308
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
309
309
  */
310
310
 
311
311
  var useRelation = function useRelation(key) {
312
- var parent = (0,external_vue_.inject)(key);
312
+ var parent = (0,external_vue_.inject)(key, null);
313
313
  var currentInstance = (0,external_vue_.getCurrentInstance)();
314
314
 
315
315
  if (parent && currentInstance) {
package/libs/tab.js CHANGED
@@ -356,13 +356,13 @@ var setRelation = function setRelation(key) {
356
356
  * @Author: liuwentao
357
357
  * @Date: 2021-05-12 16:55:52
358
358
  * @LastEditors: ruan fei
359
- * @LastEditTime: 2022-08-11 17:47:58
359
+ * @LastEditTime: 2022-08-11 19:27:34
360
360
  * @Description: inject
361
361
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
362
362
  */
363
363
 
364
364
  var useRelation = function useRelation(key) {
365
- var parent = (0,external_vue_.inject)(key);
365
+ var parent = (0,external_vue_.inject)(key, null);
366
366
  var currentInstance = (0,external_vue_.getCurrentInstance)();
367
367
 
368
368
  if (parent && currentInstance) {
package/libs/tabs.js CHANGED
@@ -356,13 +356,13 @@ var setRelation = function setRelation(key) {
356
356
  * @Author: liuwentao
357
357
  * @Date: 2021-05-12 16:55:52
358
358
  * @LastEditors: ruan fei
359
- * @LastEditTime: 2022-08-11 17:47:58
359
+ * @LastEditTime: 2022-08-11 19:27:34
360
360
  * @Description: inject
361
361
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
362
362
  */
363
363
 
364
364
  var useRelation = function useRelation(key) {
365
- var parent = (0,external_vue_.inject)(key);
365
+ var parent = (0,external_vue_.inject)(key, null);
366
366
  var currentInstance = (0,external_vue_.getCurrentInstance)();
367
367
 
368
368
  if (parent && currentInstance) {
package/libs/yui.js CHANGED
@@ -1414,13 +1414,13 @@ var setRelation = function setRelation(key) {
1414
1414
  * @Author: liuwentao
1415
1415
  * @Date: 2021-05-12 16:55:52
1416
1416
  * @LastEditors: ruan fei
1417
- * @LastEditTime: 2022-08-11 17:47:58
1417
+ * @LastEditTime: 2022-08-11 19:27:34
1418
1418
  * @Description: inject
1419
1419
  * @FilePath: /yui-vue/packages/context/relation/inject.ts
1420
1420
  */
1421
1421
 
1422
1422
  var useRelation = function useRelation(key) {
1423
- var parent = (0,external_vue_.inject)(key);
1423
+ var parent = (0,external_vue_.inject)(key, null);
1424
1424
  var currentInstance = (0,external_vue_.getCurrentInstance)();
1425
1425
 
1426
1426
  if (parent && currentInstance) {
@@ -5797,7 +5797,7 @@ var RowJustify;
5797
5797
  * @Author: liuwentao
5798
5798
  * @Date: 2021-05-12 16:55:52
5799
5799
  * @LastEditors: ruan fei
5800
- * @LastEditTime: 2022-08-11 18:20:01
5800
+ * @LastEditTime: 2022-08-11 19:18:28
5801
5801
  * @Description: row component
5802
5802
  * @FilePath: /yui-vue/packages/row/src/row.tsx
5803
5803
  */
@@ -5863,7 +5863,6 @@ var ROW_PROVIDE = name;
5863
5863
  if (!gutter) return spaces;
5864
5864
  groupList.value.forEach(function (group) {
5865
5865
  var averagePadding = gutter * (group.length - 1) / group.length;
5866
- console.log('be', averagePadding, gutter, group.length);
5867
5866
  group.forEach(function (item, index) {
5868
5867
  if (index === 0) {
5869
5868
  spaces.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y-design-ssr",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "SSR component library of YUI with Vue3",
5
5
  "author": "yux-fe",
6
6
  "license": "MIT",