pb-sxp-ui 1.0.80 → 1.0.82

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.
Files changed (76) hide show
  1. package/dist/index.cjs +400 -145
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +97 -4
  4. package/dist/index.js +401 -146
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +3 -3
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +3 -3
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +400 -145
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +3 -3
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/Pagebuilder/type.d.ts +7 -0
  15. package/es/core/components/Consent/index.d.ts +13 -0
  16. package/es/core/components/Consent/index.js +60 -0
  17. package/es/core/components/SxpPageCore/index.js +2 -2
  18. package/es/core/components/SxpPageRender/Tagbar.js +15 -1
  19. package/es/core/components/SxpPageRender/WaterFall/List.d.ts +1 -1
  20. package/es/core/components/SxpPageRender/WaterFall/List.js +15 -9
  21. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +1 -1
  22. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +18 -12
  23. package/es/core/components/SxpPageRender/WaterFall/index.js +7 -2
  24. package/es/core/components/SxpPageRender/index.d.ts +2 -1
  25. package/es/core/components/SxpPageRender/index.js +30 -10
  26. package/es/core/components/SxpPageRender/typing.d.ts +1 -0
  27. package/es/core/context/EditorDataProvider.d.ts +9 -0
  28. package/es/core/context/EditorDataProvider.js +13 -3
  29. package/es/core/context/SxpDataSourceProvider.d.ts +10 -0
  30. package/es/core/context/SxpDataSourceProvider.js +37 -21
  31. package/es/core/hooks/useEventReport.d.ts +1 -0
  32. package/es/core/hooks/useEventReport.js +13 -1
  33. package/es/core/utils/localStore.d.ts +1 -0
  34. package/es/core/utils/localStore.js +1 -0
  35. package/es/materials/sxp/Consent/index.d.ts +12 -0
  36. package/es/materials/sxp/Consent/index.js +5 -0
  37. package/es/materials/sxp/Consent/material.d.ts +2 -0
  38. package/es/materials/sxp/Consent/material.js +20 -0
  39. package/es/materials/sxp/Consent/settingRender.d.ts +31 -0
  40. package/es/materials/sxp/Consent/settingRender.js +39 -0
  41. package/es/materials/sxp/HashTag/index.d.ts +1 -1
  42. package/es/materials/sxp/HashTag/settingRender.js +1 -1
  43. package/es/materials/sxp/index.d.ts +1 -0
  44. package/es/materials/sxp/index.js +1 -0
  45. package/lib/core/Pagebuilder/type.d.ts +7 -0
  46. package/lib/core/components/Consent/index.d.ts +13 -0
  47. package/lib/core/components/Consent/index.js +63 -0
  48. package/lib/core/components/SxpPageCore/index.js +2 -2
  49. package/lib/core/components/SxpPageRender/Tagbar.js +15 -1
  50. package/lib/core/components/SxpPageRender/WaterFall/List.d.ts +1 -1
  51. package/lib/core/components/SxpPageRender/WaterFall/List.js +15 -9
  52. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +1 -1
  53. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +18 -12
  54. package/lib/core/components/SxpPageRender/WaterFall/index.js +7 -2
  55. package/lib/core/components/SxpPageRender/index.d.ts +2 -1
  56. package/lib/core/components/SxpPageRender/index.js +30 -10
  57. package/lib/core/components/SxpPageRender/typing.d.ts +1 -0
  58. package/lib/core/context/EditorDataProvider.d.ts +9 -0
  59. package/lib/core/context/EditorDataProvider.js +13 -3
  60. package/lib/core/context/SxpDataSourceProvider.d.ts +10 -0
  61. package/lib/core/context/SxpDataSourceProvider.js +36 -20
  62. package/lib/core/hooks/useEventReport.d.ts +1 -0
  63. package/lib/core/hooks/useEventReport.js +13 -1
  64. package/lib/core/utils/localStore.d.ts +1 -0
  65. package/lib/core/utils/localStore.js +2 -1
  66. package/lib/materials/sxp/Consent/index.d.ts +12 -0
  67. package/lib/materials/sxp/Consent/index.js +8 -0
  68. package/lib/materials/sxp/Consent/material.d.ts +2 -0
  69. package/lib/materials/sxp/Consent/material.js +24 -0
  70. package/lib/materials/sxp/Consent/settingRender.d.ts +31 -0
  71. package/lib/materials/sxp/Consent/settingRender.js +41 -0
  72. package/lib/materials/sxp/HashTag/index.d.ts +1 -1
  73. package/lib/materials/sxp/HashTag/settingRender.js +1 -1
  74. package/lib/materials/sxp/index.d.ts +1 -0
  75. package/lib/materials/sxp/index.js +1 -0
  76. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1,3 +1,96 @@
1
+ .consent-bg {
2
+ position: absolute;
3
+ left: 0;
4
+ right: 0;
5
+ top: 0;
6
+ bottom: 0;
7
+ z-index: 999;
8
+ background-color: rgba(0, 0, 0, 0.3);
9
+ }
10
+ .consent {
11
+ margin: 50% auto;
12
+ display: -webkit-box;
13
+ display: -webkit-flex;
14
+ display: -ms-flexbox;
15
+ display: flex;
16
+ -webkit-box-orient: vertical;
17
+ -webkit-box-direction: normal;
18
+ -webkit-flex-direction: column;
19
+ -ms-flex-direction: column;
20
+ flex-direction: column;
21
+ -webkit-box-align: center;
22
+ -webkit-align-items: center;
23
+ -ms-flex-align: center;
24
+ align-items: center;
25
+ -webkit-box-pack: justify;
26
+ -webkit-justify-content: space-between;
27
+ -ms-flex-pack: justify;
28
+ justify-content: space-between;
29
+ overflow: hidden;
30
+ background-color: #fff;
31
+ border-radius: 4px;
32
+ padding: 10px;
33
+ width: 60%;
34
+ border: 1px solid #D1D1D1;
35
+ }
36
+ .consent-col {
37
+ width: 100%;
38
+ display: -webkit-box;
39
+ display: -webkit-flex;
40
+ display: -ms-flexbox;
41
+ display: flex;
42
+ -webkit-box-pack: center;
43
+ -webkit-justify-content: center;
44
+ -ms-flex-pack: center;
45
+ justify-content: center;
46
+ -webkit-box-align: center;
47
+ -webkit-align-items: center;
48
+ -ms-flex-align: center;
49
+ align-items: center;
50
+ -webkit-box-orient: vertical;
51
+ -webkit-box-direction: normal;
52
+ -webkit-flex-direction: column;
53
+ -ms-flex-direction: column;
54
+ flex-direction: column;
55
+ }
56
+ .consent-title {
57
+ font-size: 12px;
58
+ white-space: nowrap;
59
+ overflow: hidden;
60
+ text-overflow: ellipsis;
61
+ text-align: center;
62
+ color: #3D3D3D;
63
+ margin-bottom: 5px;
64
+ }
65
+ .consent-content {
66
+ font-size: 10px;
67
+ line-height: 15px;
68
+ color: #3E3E3C;
69
+ margin-bottom: 10px;
70
+ }
71
+ .consent-btn {
72
+ background-color: #000;
73
+ color: #fff;
74
+ outline: none;
75
+ border: none;
76
+ width: 100%;
77
+ height: 27px;
78
+ line-height: 27px;
79
+ margin-bottom: 6px;
80
+ cursor: pointer;
81
+ background: #494949;
82
+ font-size: 12px;
83
+ }
84
+ .consent-policy {
85
+ color: #000;
86
+ text-decoration: underline;
87
+ font-size: 12px;
88
+ color: #3E3E3C;
89
+ }
90
+ .consent-policy:hover {
91
+ color: #000;
92
+ }
93
+
1
94
  @media screen and (max-width: 575px) {
2
95
  :global .ant-form .ant-form-item .ant-form-item-control,
3
96
  :global .ant-form .ant-form-item .ant-form-item-label {
@@ -257,7 +350,7 @@
257
350
  }
258
351
 
259
352
  /**
260
- * Swiper 11.0.7
353
+ * Swiper 11.1.4
261
354
  * Most modern mobile touch slider and framework with hardware accelerated transitions
262
355
  * https://swiperjs.com
263
356
  *
@@ -265,7 +358,7 @@
265
358
  *
266
359
  * Released under the MIT License
267
360
  *
268
- * Released on: February 27, 2024
361
+ * Released on: May 30, 2024
269
362
  */
270
363
 
271
364
  /* FONT_START */
@@ -955,7 +1048,7 @@
955
1048
  }
956
1049
 
957
1050
  /**
958
- * Swiper 11.0.7
1051
+ * Swiper 11.1.4
959
1052
  * Most modern mobile touch slider and framework with hardware accelerated transitions
960
1053
  * https://swiperjs.com
961
1054
  *
@@ -963,7 +1056,7 @@
963
1056
  *
964
1057
  * Released under the MIT License
965
1058
  *
966
- * Released on: February 27, 2024
1059
+ * Released on: May 30, 2024
967
1060
  */
968
1061
  /* FONT_START */
969
1062
  @font-face {