@ray-js/ray-ipc-player 2.0.31 → 2.1.0-beta.2

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/lib/index.less CHANGED
@@ -174,6 +174,36 @@
174
174
  background-color: #ffffff; /* 指定颜色 */
175
175
  margin-bottom: 15px;
176
176
  }
177
+ .@{prefix}-err-icon-flow-limit {
178
+ background-image: url('./svg/flowLimit.svg');
179
+ width: 38px;
180
+ height: 38px;
181
+ background-size: contain;
182
+ background-repeat: no-repeat;
183
+ -webkit-mask-image: url('./svg/flowLimit.svg');
184
+ -webkit-mask-repeat: no-repeat;
185
+ -webkit-mask-size: contain;
186
+ mask-image: url('./svg/flowLimit.svg');
187
+ mask-repeat: no-repeat;
188
+ mask-size: contain;
189
+ background-color: #ffffff;
190
+ margin-bottom: 15px;
191
+ }
192
+ .@{prefix}-err-icon-sleep {
193
+ background-image: url('./svg/sleep.svg');
194
+ width: 38px;
195
+ height: 38px;
196
+ background-size: contain;
197
+ background-repeat: no-repeat;
198
+ -webkit-mask-image: url('./svg/sleep.svg');
199
+ -webkit-mask-repeat: no-repeat;
200
+ -webkit-mask-size: contain;
201
+ mask-image: url('./svg/sleep.svg');
202
+ mask-repeat: no-repeat;
203
+ mask-size: contain;
204
+ background-color: #ffffff;
205
+ margin-bottom: 15px;
206
+ }
177
207
  }
178
208
 
179
209
  .@{prefix}-err-text-container {
@@ -211,9 +241,21 @@
211
241
  margin: 0 4px;
212
242
  text-overflow: ellipsis;
213
243
  padding: 8px 16px;
214
- }
215
- .@{prefix}-operator-btn:hover {
216
- opacity: 0.9;
244
+ .@{prefix}-btn-right-arrow {
245
+ background-image: url('./svg/rightArrow.svg');
246
+ width: 12px;
247
+ height: 12px;
248
+ background-size: contain;
249
+ background-repeat: no-repeat;
250
+ -webkit-mask-image: url('./svg/rightArrow.svg');
251
+ -webkit-mask-repeat: no-repeat;
252
+ -webkit-mask-size: contain;
253
+ mask-image: url('./svg/rightArrow.svg');
254
+ mask-repeat: no-repeat;
255
+ mask-size: contain;
256
+ background-color: #ffffff; /* 指定颜色 */
257
+ margin-left: 8rpx;
258
+ }
217
259
  }
218
260
  .@{prefix}-operator-btn:active {
219
261
  opacity: 1;
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="38" height="38" viewBox="0 0 38 38"><defs><clipPath id="master_svg0_18_08224"><rect x="0" y="0" width="38" height="38" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_18_08224)"><rect x="0" y="0" width="38" height="38" rx="0" fill="#FFFFFF" fill-opacity="0"/><g><path d="M25.5,12.249994300000001L25.5,19.5L25.500099,19.5Q25.500099,19.549234,25.509705,19.597524999999997Q25.519308,19.645813,25.538149,19.691301Q25.556992,19.73679,25.584347,19.777728Q25.6117,19.818666,25.646515,19.853482Q25.68133,19.888296,25.722267,19.91565Q25.763206,19.943005,25.808693,19.961846Q25.854183,19.980688,25.902473,19.990294Q25.950764,19.999899,26,19.9999Q26.049236,19.999899,26.097525,19.990294Q26.145813,19.980688,26.191303,19.961845Q26.23679,19.943002999999997,26.277729,19.915649000000002Q26.318666,19.888296,26.353483,19.853481000000002Q26.388298,19.818666,26.415651,19.777727Q26.443005,19.73679,26.461847,19.691301Q26.48069,19.645813,26.490295,19.597524999999997Q26.499901,19.549234,26.499901,19.5L26.5,19.5L26.5,6.986973Q26.5,5.95145124,25.77557,5.22597441Q25.05064,4.5,24.015095,4.5L7.9849049999999995,4.5Q6.94912833,4.5,6.22055769,5.24588773Q5.49999988,5.98357219,5.49999982,7.0189567L5.5,19.500002000000002L5.5,31.981045Q5.5,33.016399,6.21294789,33.752579Q6.93678492,34.500004000000004,7.9726738,34.500004000000004L11.500001000000001,34.5L17,34.5L17,34.499901Q17.049235,34.499901,17.097526000000002,34.490294Q17.145815,34.480688,17.191302999999998,34.461847Q17.23679,34.443005,17.277729,34.415649Q17.318666,34.388296,17.353482,34.353481Q17.388297,34.318664999999996,17.41565,34.277727Q17.443005,34.23679,17.461846,34.191300999999996Q17.480688,34.145813000000004,17.490294,34.097522999999995Q17.499899,34.049234,17.4999,34Q17.499899,33.950764,17.490294,33.902473Q17.480688,33.854183,17.461845,33.808695Q17.443004000000002,33.763206,17.415649000000002,33.722269Q17.388296,33.681332,17.353481000000002,33.646515Q17.318666,33.6117,17.277727,33.584347Q17.23679,33.556992,17.191302,33.538151Q17.145815,33.519310000000004,17.097524999999997,33.509705Q17.049235,33.500099,17,33.500099L17,33.5L11.499999500000001,33.5L7.9726738,33.500004000000004Q7.3604228,33.500004000000004,6.93129861,33.056895999999995Q6.5,32.611542,6.5,31.981045L6.5,19.500002000000002L6.49999985,7.0189567Q6.49999988,6.3909228,6.93591994,5.94464147Q7.3702382,5.5,7.9849049999999995,5.5L24.015095,5.5Q24.636005,5.5,25.067953,5.93257111Q25.5,6.3652424,25.5,6.986973L25.5,12.249994300000001Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M22.42634,13.26102456Q22.4999,13.14087722,22.4999,13Q22.499899,12.950764146,22.490294,12.902474351Q22.480688,12.85418455,22.461845,12.80869657Q22.443004000000002,12.76320857,22.415649000000002,12.72227046Q22.388296,12.68133235,22.353481000000002,12.64651734Q22.318666,12.61170232,22.277729,12.58434838Q22.23679,12.55699441,22.191302,12.53815266Q22.145815,12.51931089,22.097526000000002,12.50970545Q22.049236,12.50010002,22,12.50009999Q21.935823,12.50010005,21.873729,12.51631004Q21.811633999999998,12.53252003,21.75565,12.56388867Q21.699662,12.5952574,21.653415000000003,12.63975048Q21.607168,12.68424353,21.57366,12.73897544L21.573574,12.73892304L19.4307175,16.2389238L17.5993919,19.2300878L17.596930999999998,19.2183466L16.1217093,17.8797197L13.7525201,15.7298999L13.4345398,16.232779999999998Q10.062225565,21.566033400000002,9.58033907,22.728366899999997Q9.50209951,22.8492432,9.500146,22.9932175Q9.5,22.9967117,9.5,23L9.50009999,23Q9.50010002,23.049236,9.50970545,23.097524999999997Q9.51931089,23.145815,9.53815264,23.191302Q9.55699438,23.23679,9.58434835,23.277728Q9.61170232,23.318666,9.64651734,23.353481000000002Q9.68133235,23.388296,9.72227046,23.41565Q9.76320857,23.443005,9.80869657,23.461846Q9.85418455,23.480688,9.902474351,23.490294Q9.950764146,23.499899,10,23.4999Q10.049235854,23.499899,10.097525649,23.490294Q10.14581545,23.480688,10.19130343,23.461845Q10.23679143,23.443005,10.27772954,23.415651Q10.31866765,23.388297,10.35348266,23.353482Q10.38829768,23.318666,10.41565162,23.277728Q10.44300559,23.23679,10.46184734,23.191302Q10.48068911,23.145815,10.49029455,23.097524999999997Q10.49989998,23.049236,10.49990001,23L10.5,23Q10.50000012,22.7557812,13.9619551,17.2702713L15.4497194,18.6202798L16.924941099999998,19.9589067Q17.269510699999998,20.2715716,17.7295561,20.2154922Q18.2040329,20.1576538,18.452243799999998,19.7522411L20.283566999999998,16.7610779L22.426426,13.26107696L22.42634,13.26102456Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><ellipse cx="16" cy="29" rx="1" ry="1" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M33,29Q33,29.1718402,32.991568,29.3434739Q32.983135000000004,29.5151072,32.966291999999996,29.68612Q32.949449,29.8571329,32.924234,30.027113Q32.899018999999996,30.197093000000002,32.865496,30.3656311Q32.83197,30.5341702,32.790217,30.700861Q32.748464,30.8675518,32.698582,31.0319929Q32.648699,31.196434,32.590806,31.358228699999998Q32.532915,31.5200233,32.467155,31.6787834Q32.401393999999996,31.837543500000002,32.327923,31.9928856Q32.254452,32.148228,32.173448,32.299777Q32.092443,32.451326,32.004099,32.598719Q31.915755,32.746111,31.820286,32.88899Q31.724816,33.03187,31.622452,33.169893Q31.520086,33.307918,31.411073000000002,33.440753Q31.302058000000002,33.573587,31.186657,33.700912Q31.071257,33.828238,30.949747000000002,33.949747Q30.828238,34.071257,30.700912000000002,34.186658Q30.573587,34.302058,30.440753,34.411073Q30.307918,34.520086,30.169893000000002,34.622451Q30.031869999999998,34.724816000000004,29.88899,34.820285999999996Q29.746111,34.915755000000004,29.598719,35.004099Q29.451326,35.092443,29.299777,35.173449Q29.148228,35.254454,28.9928856,35.327925Q28.837543500000002,35.401396,28.6787834,35.467155Q28.5200233,35.532916,28.358228699999998,35.590808Q28.196434,35.648699,28.0319929,35.698583Q27.8675518,35.748464999999996,27.700861,35.790217999999996Q27.5341702,35.831970999999996,27.3656311,35.865496Q27.197093000000002,35.899018999999996,27.027113,35.924234Q26.8571329,35.94945,26.68612,35.966293Q26.5151072,35.983136,26.3434734,35.991568Q26.1718402,36,26,36Q25.8281598,36,25.6565266,35.991568Q25.4848933,35.983135000000004,25.313880400000002,35.966291999999996Q25.1428671,35.949449,24.9728866,35.924234Q24.802906,35.899018999999996,24.6343675,35.865496Q24.465828899999998,35.83197,24.299138499999998,35.790217Q24.1324482,35.748464,23.9680071,35.698582Q23.803566,35.648699,23.6417708,35.590806Q23.4799757,35.532915,23.321215600000002,35.467155Q23.1624556,35.401393999999996,23.0071144,35.327923Q22.8517723,35.254452,22.700223,35.173448Q22.5486732,35.092443,22.4012804,35.004099Q22.2538881,34.915755000000004,22.1110082,34.820285999999996Q21.9681282,34.724816000000004,21.8301048,34.622451999999996Q21.6920815,34.520086,21.559247,34.411073Q21.4264126,34.302058,21.299087,34.186657Q21.171762,34.071257,21.0502524,33.949747Q20.9287429,33.828238,20.813342,33.700912Q20.6979411,33.573587,20.5889268,33.440753Q20.4799124,33.307918,20.3775473,33.169893Q20.275182,33.03187,20.1797127,32.88899Q20.0842432,32.746111,19.99589968,32.598719Q19.90755606,32.451326,19.82655108,32.299777Q19.74554604,32.148228,19.67207485,31.9928856Q19.59860361,31.837543500000002,19.53284317,31.6787834Q19.46708274,31.5200233,19.40919149,31.358228699999998Q19.35130021,31.196434,19.30141759,31.0319929Q19.25153497,30.8675518,19.20978118,30.700861Q19.16802739,30.5341702,19.13450301,30.3656311Q19.10097862,30.197093000000002,19.075764418,30.027113Q19.0505502,29.8571329,19.033706907,29.68612Q19.016863609,29.5151072,19.0084318044,29.3434734Q19,29.1718402,19,29Q19,28.8281598,19.0084318044,28.6565266Q19.016863609,28.4848933,19.033706907,28.313880400000002Q19.0505502,28.1428671,19.07576441,27.9728866Q19.10097862,27.802906,19.13450301,27.6343675Q19.16802739,27.465828899999998,19.20978117,27.299138499999998Q19.25153497,27.1324482,19.30141759,26.9680071Q19.35130021,26.803566,19.40919146,26.6417708Q19.46708274,26.4799757,19.53284317,26.321215600000002Q19.59860361,26.1624556,19.67207479,26.0071144Q19.74554598,25.8517723,19.82655102,25.700223Q19.90755594,25.5486732,19.99589956,25.4012804Q20.0842431,25.2538881,20.1797125,25.1110082Q20.2751819,24.9681282,20.3775471,24.8301048Q20.4799123,24.6920815,20.5889268,24.559247Q20.6979411,24.4264126,20.8133421,24.299087Q20.9287429,24.171762,21.0502524,24.0502524Q21.171762,23.9287429,21.299087,23.813342Q21.4264126,23.6979411,21.559247,23.5889268Q21.6920815,23.4799124,21.8301048,23.3775473Q21.9681282,23.275182,22.1110082,23.1797127Q22.2538881,23.0842432,22.4012806,22.99589968Q22.5486729,22.90755606,22.7002227,22.82655108Q22.8517723,22.74554604,23.0071139,22.67207485Q23.1624556,22.59860361,23.321215600000002,22.53284317Q23.4799757,22.46708274,23.6417708,22.40919149Q23.803566,22.35130021,23.9680071,22.30141759Q24.1324482,22.25153497,24.299138499999998,22.20978118Q24.465828899999998,22.16802739,24.6343675,22.13450301Q24.802906,22.10097862,24.9728866,22.075764418Q25.1428671,22.0505502,25.31388,22.033706907Q25.4848928,22.016863609,25.6565266,22.0084318044Q25.8281598,22,26,22Q26.1718402,22,26.3434739,22.0084318044Q26.5151072,22.016863609,26.68612,22.033706907Q26.8571329,22.0505502,27.027113,22.07576441Q27.197093000000002,22.10097862,27.3656311,22.13450301Q27.5341702,22.16802739,27.700861,22.20978117Q27.8675518,22.25153497,28.0319929,22.30141759Q28.196434,22.35130021,28.358228699999998,22.40919146Q28.5200233,22.46708274,28.6787834,22.53284317Q28.837543500000002,22.59860361,28.9928856,22.67207479Q29.148228,22.74554598,29.299777,22.82655102Q29.451326,22.90755594,29.598719,22.99589956Q29.746111,23.0842431,29.88899,23.1797125Q30.031869999999998,23.2751819,30.169893000000002,23.3775471Q30.307918,23.4799123,30.440753,23.5889268Q30.573587,23.6979411,30.700912000000002,23.8133421Q30.828238,23.9287429,30.949747000000002,24.0502524Q31.071257,24.171762,31.186658,24.299087Q31.302058000000002,24.4264126,31.411073000000002,24.559247Q31.520086,24.6920815,31.622450999999998,24.8301048Q31.724816,24.9681282,31.820286,25.1110082Q31.915755,25.2538881,32.004099,25.4012806Q32.092443,25.5486729,32.173449,25.7002227Q32.254454,25.8517723,32.327925,26.0071139Q32.401396,26.1624556,32.467155,26.321215600000002Q32.532916,26.4799757,32.590808,26.6417708Q32.648699,26.803566,32.698583,26.9680071Q32.748464999999996,27.1324482,32.790217999999996,27.299138499999998Q32.831970999999996,27.465828899999998,32.865496,27.6343675Q32.899018999999996,27.802906,32.924234,27.9728866Q32.94945,28.1428671,32.966293,28.31388Q32.983136,28.4848928,32.991568,28.6565266Q33,28.8281598,33,29ZM32,29Q32,28.8527079,31.992773,28.7055936Q31.985546,28.558479300000002,31.971109,28.4118977Q31.956671,28.2653151,31.935059000000003,28.1196175Q31.913446,27.9739199,31.88471,27.8294582Q31.855975,27.684996599999998,31.820187,27.5421195Q31.784397,27.3992414,31.741642,27.2582922Q31.698885,27.1173429,31.649262999999998,26.9786611Q31.599642,26.839979200000002,31.543276,26.7038994Q31.48691,26.5678196,31.423935,26.4346695Q31.36096,26.3015194,31.291528,26.1716199Q31.222095,26.0417199,31.146371000000002,25.9153836Q31.070648,25.7890472,30.988816999999997,25.6665785Q30.906986,25.5441098,30.819245000000002,25.4258044Q30.731504,25.3074985,30.638063000000002,25.1936405Q30.544622,25.0797822,30.445705,24.9706461Q30.34679,24.8615103,30.24264,24.7573593Q30.138489,24.6532083,30.029352,24.5542932Q29.920217,24.4553781,29.806359,24.3619373Q29.692501,24.2684965,29.574194,24.1807547Q29.455889,24.0930133,29.33342,24.0111823Q29.210951,23.9293513,29.084615,23.8536283Q28.9582787,23.7779052,28.828379599999998,23.7084724Q28.6984797,23.6390395,28.5653296,23.5760641Q28.4321795,23.5130888,28.2960997,23.4567227Q28.160020799999998,23.4003567,28.021339400000002,23.3507355Q27.882658,23.3011146,27.741708799999998,23.258358Q27.600759500000002,23.2156014,27.4578819,23.1798124Q27.3150043,23.144023400000002,27.170541800000002,23.1152883Q27.0260801,23.0865531,26.880383000000002,23.0649409Q26.7346854,23.0433288,26.5881033,23.0288917Q26.4415202,23.0144545,26.2944059,23.0072273Q26.147291199999998,23,26,23Q25.8527079,23,25.7055936,23.0072272Q25.558479300000002,23.0144545,25.4118977,23.0288917Q25.2653151,23.0433288,25.1196175,23.0649409Q24.9739199,23.0865531,24.8294582,23.1152883Q24.684996599999998,23.144023400000002,24.5421195,23.1798124Q24.3992414,23.2156014,24.2582922,23.258358Q24.1173429,23.3011146,23.9786611,23.3507355Q23.839979200000002,23.4003565,23.7038994,23.4567226Q23.5678196,23.5130887,23.4346695,23.576064Q23.3015194,23.6390393,23.1716199,23.7084723Q23.0417199,23.777905,22.9153836,23.853628Q22.7890472,23.9293511,22.6665785,24.0111821Q22.5441098,24.0930128,22.4258044,24.1807544Q22.3074985,24.268496,22.1936405,24.361937Q22.0797822,24.4553781,21.9706461,24.5542929Q21.8615103,24.653208,21.7573593,24.757359Q21.6532083,24.86151,21.5542932,24.9706459Q21.4553781,25.079782,21.3619373,25.1936402Q21.2684963,25.307498,21.1807547,25.4258039Q21.0930128,25.5441096,21.0111821,25.6665783Q20.9293511,25.7890468,20.853628,25.9153833Q20.777905,26.0417199,20.7084723,26.1716199Q20.6390393,26.3015194,20.5760641,26.4346695Q20.5130887,26.5678196,20.4567226,26.7038994Q20.4003565,26.839979200000002,20.3507355,26.9786611Q20.3011146,27.1173429,20.258358,27.2582922Q20.2156014,27.3992414,20.1798124,27.542119Q20.144023400000002,27.684996599999998,20.1152883,27.8294578Q20.0865531,27.9739189,20.0649408,28.1196165Q20.0433286,28.2653141,20.0288916,28.4118967Q20.0144545,28.558479300000002,20.0072272,28.7055931Q20,28.8527079,20,29Q20,29.147291199999998,20.0072272,29.2944059Q20.0144545,29.4415202,20.0288917,29.5881033Q20.0433288,29.7346854,20.0649408,29.8803825Q20.086553,30.0260801,20.1152881,30.170541800000002Q20.1440233,30.3150043,20.179812300000002,30.4578819Q20.215601200000002,30.600759500000002,20.2583579,30.741708799999998Q20.301114300000002,30.882658,20.3507354,31.021339400000002Q20.4003564,31.160020799999998,20.4567225,31.2960997Q20.5130886,31.4321795,20.576064,31.5653296Q20.6390393,31.6984797,20.7084721,31.828379599999998Q20.777905,31.9582787,20.853628,32.084616Q20.9293511,32.210952,21.0111821,32.333421Q21.0930128,32.455889,21.1807544,32.574195Q21.268496,32.692501,21.361937,32.806359Q21.4553781,32.920218,21.5542929,33.029353Q21.653208,33.138489,21.757359,33.24264Q21.86151,33.346792,21.9706459,33.445707Q22.079782,33.544622000000004,22.1936402,33.638063Q22.307498,33.731503000000004,22.4258039,33.819244Q22.5441096,33.906985,22.6665783,33.988816Q22.7890468,34.070647,22.9153833,34.146371Q23.0417199,34.222094,23.1716199,34.291527Q23.3015194,34.36096,23.4346695,34.423935Q23.5678196,34.48691,23.7038994,34.543276Q23.839979200000002,34.599642,23.9786611,34.649263Q24.1173429,34.698885000000004,24.2582922,34.741642Q24.3992414,34.784397,24.542119,34.820187000000004Q24.684996599999998,34.855975,24.8294578,34.88471Q24.9739189,34.913446,25.1196165,34.935058Q25.2653141,34.956671,25.4118967,34.971108Q25.558479300000002,34.985545,25.7055931,34.992773Q25.8527079,35,26,35Q26.147291199999998,35,26.2944059,34.992773Q26.4415202,34.985546,26.5881033,34.971109Q26.7346854,34.956671,26.8803825,34.935059Q27.0260801,34.913446,27.170541800000002,34.88471Q27.3150043,34.855975,27.4578819,34.820187000000004Q27.600759500000002,34.784397,27.741708799999998,34.741642Q27.882658,34.698885000000004,28.021339400000002,34.649263Q28.160020799999998,34.599642,28.2960997,34.543276Q28.4321795,34.48691,28.5653296,34.423935Q28.6984797,34.36096,28.828379599999998,34.291528Q28.9582787,34.222094999999996,29.084616,34.146371Q29.210952,34.070648,29.333421,33.988817Q29.455889,33.906986,29.574195,33.819245Q29.692501,33.731504,29.806359,33.638063Q29.920218,33.544622000000004,30.029353,33.445705000000004Q30.138489,33.34679,30.24264,33.24264Q30.346792,33.138489,30.445707,33.029352Q30.544622,32.920217,30.638063000000002,32.806359Q30.731503,32.692501,30.819243999999998,32.574194Q30.906985,32.455889,30.988816,32.333420000000004Q31.070647,32.210951,31.146371000000002,32.084615Q31.222094,31.9582787,31.291527000000002,31.828379599999998Q31.36096,31.6984797,31.423935,31.5653296Q31.48691,31.4321795,31.543276,31.2960997Q31.599642,31.160020799999998,31.649262999999998,31.021339400000002Q31.698885,30.882658,31.741642,30.741708799999998Q31.784397,30.600759500000002,31.820187,30.4578819Q31.855975,30.3150043,31.88471,30.170541800000002Q31.913446,30.0260801,31.935057999999998,29.880383000000002Q31.956671,29.7346854,31.971108,29.5881033Q31.985546,29.4415202,31.992773,29.2944059Q32,29.147291199999998,32,29Z" fill="#FFFFFF" fill-opacity="1"/></g><g transform="matrix(0.7071067690849304,0.7071067690849304,-0.7071067690849304,0.7071067690849304,25.999999582767487,-9.012192536788234)"><path d="M23.878679275512695,27.378679275512695L29.878679275512695,27.378679275512695L29.878679275512695,27.378579285512696Q29.927914575512695,27.378579255512694,29.976204375512694,27.368973825512697Q30.024494175512697,27.359368385512695,30.069982575512697,27.340526635512695Q30.115470375512693,27.321684895512696,30.156408775512695,27.294330925512696Q30.197346675512694,27.266976955512696,30.232161975512696,27.232161935512696Q30.266977275512694,27.197346925512694,30.294331075512694,27.156408815512695Q30.321684875512695,27.115470705512696,30.340526575512694,27.069982705512697Q30.359368275512693,27.024494725512696,30.368973775512696,26.976204924512697Q30.378579175512694,26.927915129512694,30.378579175512694,26.878679275512695Q30.378579175512694,26.829443421512696,30.368973775512696,26.781153626512694Q30.359368275512693,26.732863825512695,30.340526075512695,26.687375845512694Q30.321684875512695,26.641887845512695,30.294330575512696,26.600949735512696Q30.266976375512694,26.560011625512697,30.232161475512697,26.525196615512694Q30.197346175512696,26.490381595512694,30.156408275512696,26.463027655512697Q30.115469975512696,26.435673685512697,30.069982075512694,26.416831935512697Q30.024494175512697,26.397990165512695,29.976204375512694,26.388384725512694Q29.927914575512695,26.378779295512697,29.878679275512695,26.378779265512694L29.878679275512695,26.378679275512695L23.878679275512695,26.378679275512695L23.878679275512695,26.378779265512694Q23.829443421512696,26.378779295512697,23.781153626512694,26.388384725512694Q23.732863825512695,26.397990165512695,23.687375845512694,26.416831915512695Q23.641887845512695,26.435673655512694,23.600949735512696,26.463027625512694Q23.560011625512697,26.490381595512694,23.525196615512694,26.525196615512694Q23.490381595512694,26.560011625512697,23.463027655512697,26.600949735512696Q23.435673685512697,26.641887845512695,23.416831935512697,26.687375845512694Q23.397990165512695,26.732863825512695,23.388384725512694,26.781153626512694Q23.378779295512697,26.829443421512696,23.378779265512694,26.878679275512695Q23.378779295512697,26.927915129512694,23.388384725512694,26.976204924512697Q23.397990165512695,27.024494725512696,23.416831915512695,27.069982705512697Q23.435673655512694,27.115470705512696,23.463027625512694,27.156408815512695Q23.490381595512694,27.197346925512694,23.525196615512694,27.232161935512696Q23.560011625512697,27.266976955512696,23.600949735512696,27.294330895512694Q23.641887845512695,27.321684865512694,23.687375845512694,27.340526615512694Q23.732863825512695,27.359368385512695,23.781153626512694,27.368973825512697Q23.829443421512696,27.378579255512694,23.878679275512695,27.378579285512696L23.878679275512695,27.378679275512695Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g transform="matrix(-0.7071068286895752,0.7071067094802856,-0.7071067094802856,-0.7071068286895752,67.01219309822568,26.000002373652706)"><path d="M28.121320724487305,27.378679275512695L34.121320724487305,27.378679275512695L34.121320724487305,27.378579285512696Q34.170556024487304,27.378579255512694,34.2188458244873,27.368973825512697Q34.2671356244873,27.359368385512695,34.312624024487306,27.340526635512695Q34.3581118244873,27.321684895512696,34.399050224487304,27.294330925512696Q34.43998812448731,27.266976955512696,34.474803424487305,27.232161935512696Q34.509618724487304,27.197346925512694,34.536972524487304,27.156408815512695Q34.564326324487304,27.115470705512696,34.58316802448731,27.069982705512697Q34.6020097244873,27.024494725512696,34.6116152244873,26.976204924512697Q34.62122062448731,26.927915129512694,34.62122062448731,26.878679275512695Q34.62122062448731,26.829443421512696,34.6116152244873,26.781153626512694Q34.6020097244873,26.732863825512695,34.58316752448731,26.687375845512694Q34.564326324487304,26.641887845512695,34.536972024487305,26.600949735512696Q34.50961782448731,26.560011625512697,34.47480292448731,26.525196615512694Q34.4399876244873,26.490381595512694,34.399049724487305,26.463027655512697Q34.358111424487305,26.435673685512697,34.31262352448731,26.416831935512697Q34.2671356244873,26.397990165512695,34.2188458244873,26.388384725512694Q34.170556024487304,26.378779295512697,34.121320724487305,26.378779265512694L34.121320724487305,26.378679275512695L28.121320724487305,26.378679275512695L28.121320724487305,26.378779265512694Q28.072084870487306,26.378779295512697,28.023795075487303,26.388384725512694Q27.975505274487304,26.397990165512695,27.930017294487303,26.416831915512695Q27.884529294487304,26.435673655512694,27.843591184487305,26.463027625512694Q27.802653074487306,26.490381595512694,27.767838064487304,26.525196615512694Q27.733023044487304,26.560011625512697,27.705669104487306,26.600949735512696Q27.678315134487306,26.641887845512695,27.659473384487306,26.687375845512694Q27.640631614487305,26.732863825512695,27.631026174487303,26.781153626512694Q27.621420744487306,26.829443421512696,27.621420714487304,26.878679275512695Q27.621420744487306,26.927915129512694,27.631026174487303,26.976204924512697Q27.640631614487305,27.024494725512696,27.659473364487305,27.069982705512697Q27.678315104487304,27.115470705512696,27.705669074487304,27.156408815512695Q27.733023044487304,27.197346925512694,27.767838064487304,27.232161935512696Q27.802653074487306,27.266976955512696,27.843591184487305,27.294330895512694Q27.884529294487304,27.321684865512694,27.930017294487303,27.340526615512694Q27.975505274487304,27.359368385512695,28.023795075487303,27.368973825512697Q28.072084870487306,27.378579255512694,28.121320724487305,27.378579285512696L28.121320724487305,27.378679275512695Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"><g><g><rect x="0" y="0" width="12" height="12" rx="0" fill="#D8D8D8" fill-opacity="0"/></g><g><path d="M3.411998541689453,1.3730784967245484C3.4129981716894533,1.3721173367245483,3.413997681689453,1.3711562467245484,3.414997101689453,1.3701952967245483C3.629645411689453,1.1638027577245484,3.963343861689453,1.1570611597245484,4.177992101689453,1.3634537467245482C5.164874481689453,2.3123791067245483,7.804484381689453,4.850465906724548,8.698863481689454,5.710445306724548C8.859745981689453,5.865140806724549,8.859745981689453,6.134858506724548,8.698862981689453,6.289554006724548C7.804484381689453,7.149534106724548,5.164874681689453,9.687621506724549,4.177992221689453,10.636546506724548C3.963343801689453,10.842939706724549,3.6296454716894533,10.836198206724548,3.414997131689453,10.629805906724549C3.413997681689453,10.628843706724549,3.4129981716894533,10.627883306724549,3.411998541689453,10.626922006724548C3.1851088846894533,10.408757606724548,3.194362774689453,10.043883706724548,3.421252431689453,9.825720206724549C4.522063281689453,8.767247106724549,7.400000081689453,5.999999906724549,7.400000081689453,5.999999906724549C7.400000081689453,5.999999906724549,4.522062981689453,3.2327529067245484,3.4212522516894532,2.1742808867245484C3.194362774689453,1.9561181067245483,3.1851088846894533,1.5912416267245484,3.411998541689453,1.3730784967245484Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="38" height="38" viewBox="0 0 38 38"><defs><clipPath id="master_svg0_18_08256"><rect x="0" y="0" width="38" height="38" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_18_08256)"><g><path d="M30.923954,23.37179245172119Q29.966246,23.500001451721193,29,23.500001451721193Q22.993902,23.500001451721193,18.746951,19.253050451721194Q14.5,15.006099651721192,14.5,9.00000095172119Q14.5,8.033748851721192,14.6282101,7.076045651721191Q14.6716022,6.7519025817211915,14.4442673,6.538470091721192Q14.253211,6.359097841721192,14.0239773,6.449844721721192Q10.186705100000001,7.968910651721192,7.8519998,11.38593535172119Q5.5,14.828269951721191,5.5,19.00000145172119Q5.5,24.59188545172119,9.4540586,28.54594345172119Q13.4081173,32.50000145172119,19,32.50000145172119Q23.17173,32.50000145172119,26.614065,30.148001451721193Q30.03109,27.81329445172119,31.550156,23.97602345172119Q31.640903,23.74679245172119,31.461531,23.555737451721193Q31.248096,23.32840045172119,30.923954,23.37179245172119L30.791267,22.38063545172119Q31.625143,22.269005451721192,32.19058,22.87127445172119Q32.804249,23.52491445172119,32.47995,24.344103451721192Q30.848143,28.46617045172119,27.178213,30.973675451721192Q23.480738,33.50000145172119,19,33.50000145172119Q12.9939022,33.50000145172119,8.7469516,29.25305045172119Q4.5,25.00609845172119,4.5,19.00000145172119Q4.5,14.519262351721192,7.0263257,10.821787851721192Q9.5338316,7.1518583517211916,13.655899,5.520050171721191Q14.475091,5.195755601721191,15.128731,5.809422851721191Q15.730997,6.374858711721191,15.619368,7.208733651721191Q15.5,8.10038495172119,15.5,9.00000095172119Q15.5,14.591884651721191,19.454059,18.545943451721193Q23.408117,22.500001451721193,29,22.500001451721193Q29.899612,22.500001451721193,30.791267,22.38063545172119L30.923954,23.37179245172119Z" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M30.0000005,10.5L33,10.5L33,10.499899899999999Q33.0492353,10.499899899999999,33.0975251,10.490293999999999Q33.1458149,10.4806886,33.1913033,10.4618468Q33.2367911,10.4430046,33.2777295,10.4156513Q33.3186674,10.388297099999999,33.3534827,10.3534822Q33.388298,10.318667399999999,33.4156518,10.277729Q33.4430056,10.2367907,33.4618473,10.191302799999999Q33.480689,10.145814900000001,33.4902945,10.0975256Q33.4998999,10.0492358,33.4998999,10Q33.4998999,9.9507637,33.4902945,9.9024739Q33.480689,9.854184199999999,33.461846800000004,9.808695799999999Q33.4430056,9.763207399999999,33.4156513,9.7222695Q33.3882971,9.6813316,33.3534822,9.6465168Q33.3186669,9.611702000000001,33.277729,9.5843477Q33.2367907,9.5569944,33.1913028,9.538152700000001Q33.1458149,9.519311,33.0975251,9.509705499999999Q33.0492353,9.500100100000001,33,9.500100100000001L33,9.5L28.588992,9.5Q28.5766913,9.5,28.5687445,9.4939208L30.7906191,7.9068666L33.0352812,6.3035365Q33.3252606,6.0964087,33.41186,5.76298308Q33.4898434,5.46273133,33.3757911,5.1639827799999996Q33.122304,4.5,32.4110088,4.49999994L31.000001,4.5L28,4.5L28,4.50009999Q27.95076406,4.50010002,27.90247428,4.50970545Q27.854184449999998,4.51931089,27.80869645,4.53815264Q27.76320845,4.55699438,27.72227037,4.58434835Q27.68133223,4.61170232,27.64651728,4.64651734Q27.61170226,4.68133235,27.58434826,4.72227046Q27.55699432,4.76320857,27.53815258,4.80869657Q27.51931083,4.85418455,27.50970542,4.902474351Q27.50009996,4.950764146,27.50010002,5Q27.50009996,5.049235854,27.50970536,5.097525649Q27.51931083,5.14581545,27.53815258,5.19130343Q27.55699432,5.23679143,27.58434832,5.27772954Q27.61170226,5.31866765,27.64651728,5.35348266Q27.68133223,5.38829768,27.72227031,5.41565162Q27.76320845,5.44300559,27.80869645,5.46184734Q27.854184449999998,5.48068911,27.90247428,5.49029455Q27.95076406,5.49989998,28,5.49990001L28,5.5L31.000001,5.5L32.4110088,5.49999991Q32.4233098,5.49999991,32.4312563,5.50607926L30.2093809,7.0931332000000005L27.96471888,8.6964643Q27.67473906,8.9035923,27.58814013,9.2370181Q27.51015717,9.5372705,27.62420988,9.8360186Q27.87769806,10.5000019,28.588992,10.5L30.0000005,10.5Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M23.5714273,16.5L26.1428571,16.5L26.1428571,16.4998999Q26.1920929,16.4998999,26.240382699999998,16.4902945Q26.2886724,16.480688999999998,26.3341603,16.4618468Q26.3796482,16.4430056,26.4205866,16.4156513Q26.4615245,16.3882971,26.4963393,16.353482200000002Q26.5311542,16.3186674,26.558507900000002,16.277729Q26.5858617,16.236791099999998,26.6047034,16.1913033Q26.6235456,16.1458149,26.6331511,16.0975256Q26.6427565,16.0492353,26.642756900000002,16Q26.6427565,15.9507639,26.6331506,15.9024739Q26.6235452,15.8541842,26.6047029,15.808696Q26.5858612,15.7632079,26.5585074,15.72227Q26.5311537,15.6813321,26.4963388,15.6465173Q26.461524,15.6117022,26.4205861,15.5843482Q26.3796477,15.5569942,26.3341599,15.538152499999999Q26.288672,15.5193107,26.2403822,15.5097053Q26.1920929,15.5000999,26.1428571,15.5000999L26.1428571,15.5L22.6513883,15.5L24.2773504,14.4160249L25.924250100000002,13.3180919Q26.215600000000002,13.1238583,26.321968599999998,12.80243921Q26.4202003,12.50560719,26.3280754,12.20265892Q26.236033,11.89998209,25.9894428,11.70790401Q25.7225351,11.49999994,25.3727679,11.49999994L24.4285715,11.5L21.85714287,11.5L21.85714287,11.50009999Q21.80790699,11.50010002,21.759617210000002,11.50970545Q21.71132731,11.51931089,21.66583931,11.53815264Q21.62035131,11.55699438,21.57941324,11.58434835Q21.53847516,11.61170232,21.50366014,11.64651734Q21.46884513,11.68133235,21.441491159999998,11.72227046Q21.41413718,11.76320857,21.39529544,11.80869657Q21.3764537,11.85418455,21.36684829,11.902474351Q21.35724282,11.950764146,21.35724285,12Q21.35724282,12.049235854,21.36684826,12.097525649Q21.3764537,12.14581545,21.39529544,12.19130343Q21.41413718,12.23679143,21.44149119,12.27772954Q21.46884513,12.31866765,21.50366014,12.35348266Q21.53847516,12.38829768,21.57941329,12.41565162Q21.62035131,12.44300559,21.66583931,12.46184734Q21.71132731,12.48068911,21.75961715,12.49029455Q21.80790699,12.49989998,21.85714287,12.49990001L21.85714287,12.5L24.4285715,12.5L25.3486123,12.49999994L23.7226505,13.5839746L22.07575,14.6819086Q21.78440005,14.8761418,21.67803156,15.1975608Q21.57979959,15.4943933,21.67192423,15.7973411Q21.76396644,16.100018,22.0105571,16.292096100000002Q22.2774647,16.5,22.6272321,16.5L23.5714273,16.5Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -213,7 +213,19 @@ export type IProps = {
213
213
  /**
214
214
  * @description.en Route where the player is located
215
215
  * @description.zh 播放器所在路由
216
- * @default '
216
+ * @default ""
217
217
  */
218
218
  playerRoute?: string;
219
+ /**
220
+ * @description.en Autoplay by default
221
+ * @description.zh 默认是否自动播放
222
+ * @default true
223
+ */
224
+ defaultAutoPlay?: boolean;
225
+ /**
226
+ * @description.en Limit flow for the player
227
+ * @description.zh 播放器是否限流
228
+ * @default false
229
+ */
230
+ limitFlow?: boolean;
219
231
  };
package/lib/utils.js CHANGED
@@ -11,15 +11,16 @@ export const getIsConnected = ipcCtx => {
11
11
  if (typeof (ipcCtx === null || ipcCtx === void 0 ? void 0 : ipcCtx.isConnected) === 'function') {
12
12
  ipcCtx === null || ipcCtx === void 0 || ipcCtx.isConnected({
13
13
  success: res => {
14
- // console.log(res, 'getIsConnected---');
14
+ ipcTTTOperatorLog("VID: ipcCtx.isConnected => ".concat(res));
15
15
  resolve(res);
16
16
  },
17
17
  fail: () => {
18
- // console.error(e, 'getIsConnected---');
18
+ ipcTTTOperatorLog("VID: ipcCtx.isConnected => fail");
19
19
  resolve(false);
20
20
  }
21
21
  });
22
22
  } else {
23
+ ipcTTTOperatorLog("VID: ipcCtx.isConnected => error");
23
24
  resolve(false);
24
25
  }
25
26
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.31",
3
+ "version": "2.1.0-beta.2",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",
@@ -39,13 +39,14 @@
39
39
  "clsx": "^1.2.1",
40
40
  "immer": "^9.0.15",
41
41
  "use-immer": "^0.5.1",
42
- "@ray-js/panel-sdk": "^1.13.1"
42
+ "@ray-js/panel-sdk": "^1.13.1",
43
+ "@ray-js/ray-ipc-utils": "^1.1.10"
43
44
  },
44
45
  "devDependencies": {
45
46
  "@commitlint/cli": "^7.2.1",
46
47
  "@commitlint/config-conventional": "^9.0.1",
47
48
  "@ray-js/cli": "^1.7.14",
48
- "@ray-js/ray": "^1.7.14",
49
+ "@ray-js/ray": "^1.7.60",
49
50
  "@testing-library/react-hooks": "^8.0.1",
50
51
  "@types/jest": "^29.5.14",
51
52
  "core-js": "^3.19.1",