@ledvance/ui-biz-bundle 1.1.50 → 1.1.52

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.50",
7
+ "version": "1.1.52",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -23,17 +23,22 @@ import dayjs from 'dayjs'
23
23
 
24
24
  type UseBiorhythmType = (dpKey: string) => [BiorhythmBean, SetBiorhythmType];
25
25
  type SetBiorhythmType = (deviceId: string, biorhythmObj: BiorhythmBean) => Promise<Result<any>>;
26
-
26
+ let rhythmTimer: undefined | number = undefined
27
27
  export const useBiorhythm: UseBiorhythmType = (dpKey: string) => {
28
28
  const [dp] = useDp<string, any>(dpKey)
29
29
  const deviceId = useDeviceId()
30
30
  const [biorhythmState, setBiorhythmState] = useState(dp2Obj(dp))
31
31
  useEffect(() => {
32
- getRemoteBiorhythm(deviceId, biorhythmState).then(res => {
33
- if (res.success && res.data) {
34
- setBiorhythmState(dto2Vo(res.data))
35
- }
36
- })
32
+ rhythmTimer = setTimeout(() =>{
33
+ getRemoteBiorhythm(deviceId, biorhythmState).then(res => {
34
+ if (res.success && res.data) {
35
+ setBiorhythmState(dto2Vo(res.data))
36
+ }
37
+ })
38
+ }, 400)
39
+ return () =>{
40
+ if(rhythmTimer) clearTimeout(rhythmTimer)
41
+ }
37
42
  }, [dp])
38
43
  return [biorhythmState, setBiorhythm(useDispatch(), dpKey)]
39
44
  }
@@ -222,11 +222,7 @@ export function dp2Obj(dp: string, option?: FlagOption): FlagItemInfo | undefine
222
222
 
223
223
  }
224
224
 
225
- interface defFlagOption {
226
- isDef2?: boolean
227
- isDef3?: boolean
228
- }
229
- export async function getRemoteFlag(devId: string, defFlag?: defFlagOption) {
225
+ export async function getRemoteFlag(devId: string) {
230
226
  const res = await NativeApi.getJson(devId, featureId)
231
227
  const isNormalData = Array.isArray(parseJSON(res?.data))
232
228
  if (res.success && isNormalData) {
@@ -236,12 +232,11 @@ export async function getRemoteFlag(devId: string, defFlag?: defFlagOption) {
236
232
  }
237
233
  } else {
238
234
  if (res.msg?.includes('资源未找到') || !isNormalData) {
239
- const flags = defFlag?.isDef2 ? def2FlagList : defFlag?.isDef3 ? def3FlagList : defFlagList
240
- const res = await NativeApi.putJson(devId, featureId, JSON.stringify(flags))
235
+ const res = await NativeApi.putJson(devId, featureId, JSON.stringify(defFlagList))
241
236
  if (res.success) {
242
237
  return {
243
238
  success: true,
244
- data: cloneDeep(flags)
239
+ data: cloneDeep(defFlagList)
245
240
  }
246
241
  }
247
242
  return { success: false }
@@ -26,883 +26,538 @@ export interface FlagUiInfo extends FlagItemInfo{
26
26
  name: string
27
27
  }
28
28
 
29
+ const defFlagConfig = {
30
+ version: 0,
31
+ mode: SceneNodeTransitionMode.Jump,
32
+ speed: 75,
33
+ whiteColors: [
34
+ { brightness: 100, colorTemp: 0 },
35
+ ],
36
+ }
37
+
29
38
  export const defFlagList: FlagUiInfo[] = [
30
39
  {
31
40
  id: 231,
32
- version: 0,
33
- mode: SceneNodeTransitionMode.Jump,
34
- speed: 75,
35
41
  name: I18n.getLang('flag_leverkusen'),
36
- whiteColors: [
37
- { brightness: 100, colorTemp: 0},
38
- ],
39
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 60, s: 100, v: 100}]
42
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 60, s: 100, v: 100 }],
43
+ ...defFlagConfig
40
44
  },
41
45
  {
42
46
  id: 255,
43
- version: 0,
44
- mode: SceneNodeTransitionMode.Jump,
45
- speed: 75,
46
47
  name: I18n.getLang('country_DE'),
47
- whiteColors: [
48
- { brightness: 100, colorTemp: 0},
49
- ],
50
- colors: [
51
- {h: 48, s: 100, v: 100},
52
- {h: 360, s: 100, v: 100},
53
- {h: 0, s: 0, v:0}],
48
+ ...defFlagConfig,
49
+ colors: [{ h: 48, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }],
54
50
  },
55
51
  {
56
52
  id: 254,
57
- version: 0,
58
- mode: SceneNodeTransitionMode.Jump,
59
- speed: 75,
60
53
  name: I18n.getLang('country_BE'),
61
- whiteColors: [
62
- { brightness: 100, colorTemp: 0},
63
- ],
64
- colors: [{h: 360, s: 100, v: 100}, {h: 48, s: 100, v: 100}, {h: 0, s: 0, v: 0}]
54
+ ...defFlagConfig,
55
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 48, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }]
65
56
  },
66
57
  {
67
58
  id: 253,
68
- version: 0,
69
- mode: SceneNodeTransitionMode.Jump,
70
- speed: 75,
71
59
  name: I18n.getLang('country_FR'),
72
- whiteColors: [
73
- { brightness: 100, colorTemp: 0},
74
- ],
75
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 212, s: 100, v: 100}]
60
+ ...defFlagConfig,
61
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 212, s: 100, v: 100 }]
76
62
  },
77
63
  {
78
64
  id: 252,
79
- version: 0,
80
- mode: SceneNodeTransitionMode.Jump,
81
- speed: 75,
82
65
  name: I18n.getLang('country_PT'),
83
- whiteColors: [
84
- { brightness: 100, colorTemp: 0},
85
- ],
86
- colors: [{h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 120, s: 100, v: 100}]
66
+ ...defFlagConfig,
67
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }, { h: 120, s: 100, v: 100 }]
87
68
  },
88
69
  {
89
70
  id: 251,
90
- version: 0,
91
- mode: SceneNodeTransitionMode.Jump,
92
- speed: 75,
93
71
  name: I18n.getLang('country_scotland'),
94
- whiteColors: [
95
- { brightness: 100, colorTemp: 0},
96
- ],
97
- colors: [{h: 209, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 209, s: 100, v: 100}]
72
+ ...defFlagConfig,
73
+ colors: [{ h: 209, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 209, s: 100, v: 100 }]
98
74
  },
99
75
  {
100
76
  id: 250,
101
- version: 0,
102
- mode: SceneNodeTransitionMode.Jump,
103
- speed: 75,
104
77
  name: I18n.getLang('country_ES'),
105
- whiteColors: [
106
- { brightness: 100, colorTemp: 0},
107
- ],
108
- colors: [{h: 360, s: 100, v: 100}, {h: 47, s: 100, v: 100}, {h: 360, s: 100, v: 100}]
78
+ ...defFlagConfig,
79
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 47, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }]
109
80
  },
110
81
  {
111
82
  id: 249,
112
- version: 0,
113
- mode: SceneNodeTransitionMode.Jump,
114
- speed: 75,
115
83
  name: I18n.getLang('country_TR'),
116
- whiteColors: [
117
- { brightness: 100, colorTemp: 0},
118
- ],
119
- colors: [{h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
84
+ ...defFlagConfig,
85
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }]
120
86
  },
121
87
  {
122
88
  id: 248,
123
- version: 0,
124
- mode: SceneNodeTransitionMode.Jump,
125
- speed: 75,
126
89
  name: I18n.getLang('country_AT'),
127
- whiteColors: [
128
- { brightness: 100, colorTemp: 0},
129
- ],
130
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
90
+ ...defFlagConfig,
91
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
131
92
  },
132
93
  {
133
94
  id: 247,
134
- version: 0,
135
- mode: SceneNodeTransitionMode.Jump,
136
- speed: 75,
137
95
  name: I18n.getLang('country_england'),
138
- whiteColors: [
139
- { brightness: 100, colorTemp: 0},
140
- ],
141
- colors: [{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
96
+ ...defFlagConfig,
97
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }]
142
98
  },
143
99
  {
144
100
  id: 246,
145
- version: 0,
146
- mode: SceneNodeTransitionMode.Jump,
147
- speed: 75,
148
101
  name: I18n.getLang('country_HU'),
149
- whiteColors: [
150
- { brightness: 100, colorTemp: 0},
151
- ],
152
- colors: [{h: 120, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
102
+ ...defFlagConfig,
103
+ colors: [{ h: 120, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
153
104
  },
154
105
  {
155
106
  id: 245,
156
- version: 0,
157
- mode: SceneNodeTransitionMode.Jump,
158
- speed: 75,
159
107
  name: I18n.getLang('country_SK'),
160
- whiteColors: [
161
- { brightness: 100, colorTemp: 0},
162
- ],
163
- colors: [{h: 360, s: 100, v: 100}, {h: 213, s: 93, v: 100}, {h: 0, s: 0, v: 100}]
108
+ ...defFlagConfig,
109
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 213, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }]
164
110
  },
165
111
  {
166
112
  id: 244,
167
- version: 0,
168
- mode: SceneNodeTransitionMode.Jump,
169
- speed: 75,
170
113
  name: I18n.getLang('country_AL'),
171
- whiteColors: [
172
- { brightness: 100, colorTemp: 0},
173
- ],
174
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v:0}, {h: 360, s: 100, v: 100}]
114
+ ...defFlagConfig,
115
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 360, s: 100, v: 100 }]
175
116
  },
176
117
  {
177
118
  id: 243,
178
- version: 0,
179
- mode: SceneNodeTransitionMode.Jump,
180
- speed: 75,
181
119
  name: I18n.getLang('country_DK'),
182
- whiteColors: [
183
- { brightness: 100, colorTemp: 0},
184
- ],
185
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v:100}, {h: 360, s: 100, v: 100}]
120
+ ...defFlagConfig,
121
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
186
122
  },
187
123
  {
188
124
  id: 242,
189
- version: 0,
190
- mode: SceneNodeTransitionMode.Jump,
191
- speed: 75,
192
125
  name: I18n.getLang('country_NL'),
193
- whiteColors: [
194
- { brightness: 100, colorTemp: 0},
195
- ],
196
- colors: [{h: 217, s: 100, v: 100}, {h: 0, s: 0, v:100}, {h: 360, s: 100, v: 100}]
126
+ ...defFlagConfig,
127
+ colors: [{ h: 217, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
197
128
  },
198
129
  {
199
130
  id: 241,
200
- version: 0,
201
- mode: SceneNodeTransitionMode.Jump,
202
- speed: 75,
203
131
  name: I18n.getLang('country_RO'),
204
- whiteColors: [
205
- { brightness: 100, colorTemp: 0},
206
- ],
207
- colors: [{h: 360, s: 100, v: 100}, {h: 48, s: 91, v: 100}, {h: 219, s: 100, v: 100}]
132
+ ...defFlagConfig,
133
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 48, s: 91, v: 100 }, { h: 219, s: 100, v: 100 }]
208
134
  },
209
135
  {
210
136
  id: 240,
211
- version: 0,
212
- mode: SceneNodeTransitionMode.Jump,
213
- speed: 75,
214
137
  name: I18n.getLang('country_CH'),
215
- whiteColors: [
216
- { brightness: 100, colorTemp: 0},
217
- ],
218
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
138
+ ...defFlagConfig,
139
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
219
140
  },
220
141
  {
221
142
  id: 239,
222
- version: 0,
223
- mode: SceneNodeTransitionMode.Jump,
224
- speed: 75,
225
143
  name: I18n.getLang('country_RS'),
226
- whiteColors: [
227
- { brightness: 100, colorTemp: 0},
228
- ],
229
- colors: [{h: 0, s: 0, v: 100}, {h: 210, s: 89, v: 100}, {h: 360, s: 100, v: 100}]
144
+ ...defFlagConfig,
145
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 210, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }]
230
146
  },
231
147
  {
232
148
  id: 238,
233
- version: 0,
234
- mode: SceneNodeTransitionMode.Jump,
235
- speed: 75,
236
149
  name: I18n.getLang('country_IT'),
237
- whiteColors: [
238
- { brightness: 100, colorTemp: 0},
239
- ],
240
- colors: [{h: 360, s: 100, v: 100}, {h: 212, s: 4, v: 100}, {h: 120, s: 100, v: 100}]
150
+ ...defFlagConfig,
151
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 212, s: 4, v: 100 }, { h: 120, s: 100, v: 100 }]
241
152
  },
242
153
  {
243
154
  id: 237,
244
- version: 0,
245
- mode: SceneNodeTransitionMode.Jump,
246
- speed: 75,
247
155
  name: I18n.getLang('country_CZ'),
248
- whiteColors: [
249
- { brightness: 100, colorTemp: 0},
250
- ],
251
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 211, s: 86, v: 100}]
156
+ ...defFlagConfig,
157
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 211, s: 100, v: 100 }]
252
158
  },
253
159
  {
254
160
  id: 236,
255
- version: 0,
256
- mode: SceneNodeTransitionMode.Jump,
257
- speed: 75,
258
161
  name: I18n.getLang('country_SI'),
259
- whiteColors: [
260
- { brightness: 100, colorTemp: 0},
261
- ],
262
- colors: [{h: 360, s: 100, v: 100}, {h: 217, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
162
+ ...defFlagConfig,
163
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 217, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }]
263
164
  },
264
165
  {
265
166
  id: 235,
266
- version: 0,
267
- mode: SceneNodeTransitionMode.Jump,
268
- speed: 75,
269
167
  name: I18n.getLang('country_HR'),
270
- whiteColors: [
271
- { brightness: 100, colorTemp: 0},
272
- ],
273
- colors: [{h: 220, s: 89, v: 100},{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
168
+ ...defFlagConfig,
169
+ colors: [{ h: 220, s: 89, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
274
170
  },
275
171
  {
276
172
  id: 234,
277
- version: 0,
278
- mode: SceneNodeTransitionMode.Jump,
279
- speed: 75,
280
173
  name: I18n.getLang('country_SE'),
281
- whiteColors: [
282
- { brightness: 100, colorTemp: 0},
283
- ],
284
- colors: [{h: 201, s: 100, v: 100}, {h: 48, s: 99, v: 100}, {h: 201, s: 100, v: 100}]
174
+ ...defFlagConfig,
175
+ colors: [{ h: 201, s: 100, v: 100 }, { h: 48, s: 99, v: 100 }, { h: 201, s: 100, v: 100 }]
285
176
  },
286
177
  {
287
178
  id: 233,
288
- version: 0,
289
- mode: SceneNodeTransitionMode.Jump,
290
- speed: 75,
291
179
  name: I18n.getLang('country_NO'),
292
- whiteColors: [
293
- { brightness: 100, colorTemp: 0},
294
- ],
295
- colors: [{h: 218, s: 100, v: 100},{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
180
+ ...defFlagConfig,
181
+ colors: [{ h: 218, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
296
182
  },
297
183
  {
298
184
  id: 232,
299
- version: 0,
300
- mode: SceneNodeTransitionMode.Jump,
301
- speed: 75,
302
185
  name: I18n.getLang('country_PL'),
303
- whiteColors: [
304
- { brightness: 100, colorTemp: 0},
305
- ],
306
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
186
+ ...defFlagConfig,
187
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }]
307
188
  },
308
189
  {
309
190
  id: 230,
310
- version: 0,
311
- mode: SceneNodeTransitionMode.Jump,
312
- speed: 75,
313
191
  name: I18n.getLang('country_UA'),
314
- whiteColors: [
315
- { brightness: 100, colorTemp: 0},
316
- ],
317
- colors: [{h: 50, s: 100, v: 100}, {h: 211, s: 100, v: 100}]
192
+ ...defFlagConfig,
193
+ colors: [{ h: 50, s: 100, v: 100 }, { h: 211, s: 100, v: 100 }]
318
194
  },
319
- ]
320
195
 
321
- export const def2Pids = ['k588eygmfkdzmpzm']
322
- // k588eygmfkdzmpzm
323
- export const def2FlagList: FlagUiInfo[] = [
196
+
324
197
  {
325
- id: 231,
326
- version: 0,
327
- mode: SceneNodeTransitionMode.Jump,
328
- speed: 75,
329
- name: I18n.getLang('flag_leverkusen'),
330
- whiteColors: [
331
- { brightness: 100, colorTemp: 0},
332
- ],
333
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}, {h: 60, s: 100, v: 100}]
198
+ id: 229,
199
+ name: I18n.getLang('country_gb'),
200
+ ...defFlagConfig,
201
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 205, s: 100, v: 100 }],
334
202
  },
335
203
  {
336
- id: 255,
337
- version: 0,
338
- mode: SceneNodeTransitionMode.Jump,
339
- speed: 75,
340
- name: I18n.getLang('country_DE'),
341
- whiteColors: [
342
- { brightness: 100, colorTemp: 0},
343
- ],
344
- colors: [
345
- {h: 48, s: 100, v: 100},
346
- {h: 360, s: 100, v: 100},
347
- {h: 0, s: 85, v: 46},
348
- {h: 0, s: 0, v:0}],
204
+ id: 228,
205
+ name: I18n.getLang('country_IE'),
206
+ ...defFlagConfig,
207
+ colors: [{ h: 45, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 100 }],
349
208
  },
350
209
  {
351
- id: 254,
352
- version: 0,
353
- mode: SceneNodeTransitionMode.Jump,
354
- speed: 75,
355
- name: I18n.getLang('country_BE'),
356
- whiteColors: [
357
- { brightness: 100, colorTemp: 0},
358
- ],
359
- colors: [{h: 360, s: 100, v: 100}, {h: 48, s: 100, v: 100}, {h: 48, s: 99, v: 58}, {h: 0, s: 0, v: 0}]
210
+ id: 227,
211
+ name: I18n.getLang('country_IL'),
212
+ ...defFlagConfig,
213
+ colors: [{ h: 210, s: 65, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 210, s: 65, v: 100 }],
360
214
  },
361
215
  {
362
- id: 253,
363
- version: 0,
364
- mode: SceneNodeTransitionMode.Jump,
365
- speed: 75,
366
- name: I18n.getLang('country_FR'),
367
- whiteColors: [
368
- { brightness: 100, colorTemp: 0},
369
- ],
370
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}, {h: 212, s: 100, v: 100}]
216
+ id: 226,
217
+ name: I18n.getLang('country_US'),
218
+ ...defFlagConfig,
219
+ colors: [{ h: 210, s: 78, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 }],
371
220
  },
372
221
  {
373
- id: 252,
374
- version: 0,
375
- mode: SceneNodeTransitionMode.Jump,
376
- speed: 75,
377
- name: I18n.getLang('country_PT'),
378
- whiteColors: [
379
- { brightness: 100, colorTemp: 0},
380
- ],
381
- colors: [{h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 120, s: 100, v: 100}]
222
+ id: 225,
223
+ name: I18n.getLang('country_CA'),
224
+ ...defFlagConfig,
225
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
382
226
  },
383
227
  {
384
- id: 251,
385
- version: 0,
386
- mode: SceneNodeTransitionMode.Jump,
387
- speed: 75,
388
- name: I18n.getLang('country_scotland'),
389
- whiteColors: [
390
- { brightness: 100, colorTemp: 0},
391
- ],
392
- colors: [{h: 209, s: 86, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}, {h: 209, s: 86, v: 100}]
228
+ id: 224,
229
+ name: I18n.getLang('country_MX'),
230
+ ...defFlagConfig,
231
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 103, s: 73, v: 100 },],
393
232
  },
394
233
  {
395
- id: 250,
396
- version: 0,
397
- mode: SceneNodeTransitionMode.Jump,
398
- speed: 75,
399
- name: I18n.getLang('country_ES'),
400
- whiteColors: [
401
- { brightness: 100, colorTemp: 0},
402
- ],
403
- colors: [{h: 360, s: 100, v: 100}, {h: 47, s: 100, v: 100}, {h: 47, s: 100, v: 100}, {h: 360, s: 100, v: 100}]
234
+ id: 223,
235
+ name: I18n.getLang('country_SA'),
236
+ ...defFlagConfig,
237
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 103, s: 73, v: 100 },],
404
238
  },
405
239
  {
406
- id: 249,
407
- version: 0,
408
- mode: SceneNodeTransitionMode.Jump,
409
- speed: 75,
410
- name: I18n.getLang('country_TR'),
411
- whiteColors: [
412
- { brightness: 100, colorTemp: 0},
413
- ],
414
- colors: [{h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
240
+ id: 222,
241
+ name: I18n.getLang('country_AE'),
242
+ ...defFlagConfig,
243
+ colors: [{ h: 0, s: 0, v: 0 }, { h: 0, s: 0, v: 100 }, { h: 103, s: 73, v: 100 }, { h: 0, s: 100, v: 100 },],
415
244
  },
416
245
  {
417
- id: 248,
418
- version: 0,
419
- mode: SceneNodeTransitionMode.Jump,
420
- speed: 75,
421
- name: I18n.getLang('country_AT'),
422
- whiteColors: [
423
- { brightness: 100, colorTemp: 0},
424
- ],
425
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
246
+ id: 221,
247
+ name: I18n.getLang('country_AU'),
248
+ ...defFlagConfig,
249
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 199, s: 84, v: 100 },],
426
250
  },
427
251
  {
428
- id: 247,
429
- version: 0,
430
- mode: SceneNodeTransitionMode.Jump,
431
- speed: 75,
432
- name: I18n.getLang('country_england'),
433
- whiteColors: [
434
- { brightness: 100, colorTemp: 0},
435
- ],
436
- colors: [{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}]
252
+ id: 220,
253
+ name: I18n.getLang('country_JP'),
254
+ ...defFlagConfig,
255
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }],
437
256
  },
438
257
  {
439
- id: 246,
440
- version: 0,
441
- mode: SceneNodeTransitionMode.Jump,
442
- speed: 75,
443
- name: I18n.getLang('country_HU'),
444
- whiteColors: [
445
- { brightness: 100, colorTemp: 0},
446
- ],
447
- colors: [{h: 120, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100},{h: 360, s: 100, v: 100}]
258
+ id: 219,
259
+ name: I18n.getLang('country_BR'),
260
+ ...defFlagConfig,
261
+ colors: [{ h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
448
262
  },
449
263
  {
450
- id: 245,
451
- version: 0,
452
- mode: SceneNodeTransitionMode.Jump,
453
- speed: 75,
454
- name: I18n.getLang('country_SK'),
455
- whiteColors: [
456
- { brightness: 100, colorTemp: 0},
457
- ],
458
- colors: [{h: 360, s: 100, v: 100}, {h: 213, s: 93, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}]
264
+ id: 218,
265
+ name: I18n.getLang('country_AR'),
266
+ ...defFlagConfig,
267
+ colors: [{ h: 210, s: 65, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 210, s: 65, v: 100 },],
459
268
  },
460
269
  {
461
- id: 244,
462
- version: 0,
463
- mode: SceneNodeTransitionMode.Jump,
464
- speed: 75,
465
- name: I18n.getLang('country_AL'),
466
- whiteColors: [
467
- { brightness: 100, colorTemp: 0},
468
- ],
469
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v:0}, {h: 0, s: 0, v:0}, {h: 360, s: 100, v: 100}]
270
+ id: 217,
271
+ name: I18n.getLang('country_AF'),
272
+ ...defFlagConfig,
273
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 0 },],
470
274
  },
471
275
  {
472
- id: 243,
473
- version: 0,
474
- mode: SceneNodeTransitionMode.Jump,
475
- speed: 75,
476
- name: I18n.getLang('country_DK'),
477
- whiteColors: [
478
- { brightness: 100, colorTemp: 0},
479
- ],
480
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v:100}, {h: 0, s: 0, v:100}, {h: 360, s: 100, v: 100}]
276
+ id: 216,
277
+ name: I18n.getLang('country_EG'),
278
+ ...defFlagConfig,
279
+ colors: [{ h: 0, s: 0, v: 0 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
481
280
  },
482
281
  {
483
- id: 242,
484
- version: 0,
485
- mode: SceneNodeTransitionMode.Jump,
486
- speed: 75,
487
- name: I18n.getLang('country_NL'),
488
- whiteColors: [
489
- { brightness: 100, colorTemp: 0},
490
- ],
491
- colors: [{h: 217, s: 100, v: 100}, {h: 0, s: 0, v:100}, {h: 0, s: 0, v:100}, {h: 360, s: 100, v: 100}]
282
+ id: 215,
283
+ name: I18n.getLang('country_ET'),
284
+ ...defFlagConfig,
285
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 100 },],
492
286
  },
493
287
  {
494
- id: 241,
495
- version: 0,
496
- mode: SceneNodeTransitionMode.Jump,
497
- speed: 75,
498
- name: I18n.getLang('country_RO'),
499
- whiteColors: [
500
- { brightness: 100, colorTemp: 0},
501
- ],
502
- colors: [{h: 360, s: 100, v: 100}, {h: 48, s: 91, v: 100}, {h: 219, s: 100, v: 100}]
288
+ id: 214,
289
+ name: I18n.getLang('country_BB'),
290
+ ...defFlagConfig,
291
+ colors: [{ h: 220, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 220, s: 100, v: 100 },],
503
292
  },
504
293
  {
505
- id: 240,
506
- version: 0,
507
- mode: SceneNodeTransitionMode.Jump,
508
- speed: 75,
509
- name: I18n.getLang('country_CH'),
510
- whiteColors: [
511
- { brightness: 100, colorTemp: 0},
512
- ],
513
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
294
+ id: 213,
295
+ name: I18n.getLang('country_BO'),
296
+ ...defFlagConfig,
297
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
514
298
  },
515
299
  {
516
- id: 239,
517
- version: 0,
518
- mode: SceneNodeTransitionMode.Jump,
519
- speed: 75,
520
- name: I18n.getLang('country_RS'),
521
- whiteColors: [
522
- { brightness: 100, colorTemp: 0},
523
- ],
524
- colors: [{h: 360, s: 100, v: 100}, {h: 231, s: 100, v: 100}, {h: 0, s: 0, v: 100},{h: 0, s: 0, v: 100}]
300
+ id: 212,
301
+ name: I18n.getLang('country_CN'),
302
+ ...defFlagConfig,
303
+ colors: [{ h: 60, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
525
304
  },
526
305
  {
527
- id: 238,
528
- version: 0,
529
- mode: SceneNodeTransitionMode.Jump,
530
- speed: 75,
531
- name: I18n.getLang('country_IT'),
532
- whiteColors: [
533
- { brightness: 100, colorTemp: 0},
534
- ],
535
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100},{h: 0, s: 0, v: 100}, {h: 120, s: 100, v: 100}]
306
+ id: 211,
307
+ name: I18n.getLang('country_EC'),
308
+ ...defFlagConfig,
309
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 210, s: 78, v: 100 }, { h: 60, s: 100, v: 100 },],
536
310
  },
537
311
  {
538
- id: 237,
539
- version: 0,
540
- mode: SceneNodeTransitionMode.Jump,
541
- speed: 75,
542
- name: I18n.getLang('country_CZ'),
543
- whiteColors: [
544
- { brightness: 100, colorTemp: 0},
545
- ],
546
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}, {h: 211, s: 99, v: 100}]
312
+ id: 210,
313
+ name: I18n.getLang('country_SV'),
314
+ ...defFlagConfig,
315
+ colors: [{ h: 205, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 205, s: 100, v: 100 },],
547
316
  },
548
317
  {
549
- id: 236,
550
- version: 0,
551
- mode: SceneNodeTransitionMode.Jump,
552
- speed: 75,
553
- name: I18n.getLang('country_SI'),
554
- whiteColors: [
555
- { brightness: 100, colorTemp: 0},
556
- ],
557
- colors: [{h: 360, s: 100, v: 100}, {h: 217, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 0, s: 0, v: 100}]
318
+ id: 209,
319
+ name: I18n.getLang('country_CI'),
320
+ ...defFlagConfig,
321
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
558
322
  },
559
323
  {
560
- id: 235,
561
- version: 0,
562
- mode: SceneNodeTransitionMode.Jump,
563
- speed: 75,
564
- name: I18n.getLang('country_HR'),
565
- whiteColors: [
566
- { brightness: 100, colorTemp: 0},
567
- ],
568
- colors: [{h: 231, s: 100, v: 100}, {h: 0, s: 0, v: 100},{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
324
+ id: 208,
325
+ name: I18n.getLang('country_GH'),
326
+ ...defFlagConfig,
327
+ colors: [{ h: 128, s: 77, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
569
328
  },
570
329
  {
571
- id: 234,
572
- version: 0,
573
- mode: SceneNodeTransitionMode.Jump,
574
- speed: 75,
575
- name: I18n.getLang('country_SE'),
576
- whiteColors: [
577
- { brightness: 100, colorTemp: 0},
578
- ],
579
- colors: [{h: 201, s: 100, v: 100}, {h: 48, s: 99, v: 100},{h: 48, s: 99, v: 100}, {h: 201, s: 100, v: 100}]
330
+ id: 207,
331
+ name: I18n.getLang('country_GL'),
332
+ ...defFlagConfig,
333
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
580
334
  },
581
335
  {
582
- id: 233,
583
- version: 0,
584
- mode: SceneNodeTransitionMode.Jump,
585
- speed: 75,
586
- name: I18n.getLang('country_NO'),
587
- whiteColors: [
588
- { brightness: 100, colorTemp: 0},
589
- ],
590
- colors: [{h: 231, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
336
+ id: 206,
337
+ name: I18n.getLang('country_GT'),
338
+ ...defFlagConfig,
339
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 196, s: 100, v: 100 },],
591
340
  },
592
341
  {
593
- id: 232,
594
- version: 0,
595
- mode: SceneNodeTransitionMode.Jump,
596
- speed: 75,
597
- name: I18n.getLang('country_PL'),
598
- whiteColors: [
599
- { brightness: 100, colorTemp: 0},
600
- ],
601
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
342
+ id: 205,
343
+ name: I18n.getLang('country_HK'),
344
+ ...defFlagConfig,
345
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
602
346
  },
603
347
  {
604
- id: 230,
605
- version: 0,
606
- mode: SceneNodeTransitionMode.Jump,
607
- speed: 75,
608
- name: I18n.getLang('country_UA'),
609
- whiteColors: [
610
- { brightness: 100, colorTemp: 0},
611
- ],
612
- colors: [{h: 50, s: 100, v: 100}, {h: 211, s: 100, v: 100}]
348
+ id: 204,
349
+ name: I18n.getLang('country_IN'),
350
+ ...defFlagConfig,
351
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
613
352
  },
614
- ]
615
-
616
- export const def3Pids = ['uzoammz8zm0onv1i', '85bmfxhxpmwj7exf']
617
- // uzoammz8zm0onv1i 85bmfxhxpmwj7exf
618
- export const def3FlagList: FlagUiInfo[] = [
619
353
  {
620
- id: 231,
621
- version: 0,
622
- mode: SceneNodeTransitionMode.Jump,
623
- speed: 75,
624
- name: I18n.getLang('flag_leverkusen'),
625
- whiteColors: [
626
- { brightness: 100, colorTemp: 0},
627
- ],
628
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 60, s: 100, v: 100}]
354
+ id: 203,
355
+ name: I18n.getLang('country_ID'),
356
+ ...defFlagConfig,
357
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
629
358
  },
630
359
  {
631
- id: 255,
632
- version: 0,
633
- mode: SceneNodeTransitionMode.Jump,
634
- speed: 75,
635
- name: I18n.getLang('country_DE'),
636
- whiteColors: [
637
- { brightness: 100, colorTemp: 0},
638
- ],
639
- colors: [
640
- {h: 48, s: 100, v: 100},
641
- {h: 360, s: 100, v: 100},
642
- {h: 0, s: 0, v:0}],
360
+ id: 202,
361
+ name: I18n.getLang('country_ir'),
362
+ ...defFlagConfig,
363
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 100 },],
643
364
  },
644
365
  {
645
- id: 254,
646
- version: 0,
647
- mode: SceneNodeTransitionMode.Jump,
648
- speed: 75,
649
- name: I18n.getLang('country_BE'),
650
- whiteColors: [
651
- { brightness: 100, colorTemp: 0},
652
- ],
653
- colors: [{h: 360, s: 100, v: 100}, {h: 48, s: 100, v: 100}, {h: 0, s: 0, v: 0}]
366
+ id: 201,
367
+ name: I18n.getLang('country_IS'),
368
+ ...defFlagConfig,
369
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 },],
654
370
  },
655
371
  {
656
- id: 253,
657
- version: 0,
658
- mode: SceneNodeTransitionMode.Jump,
659
- speed: 75,
660
- name: I18n.getLang('country_FR'),
661
- whiteColors: [
662
- { brightness: 100, colorTemp: 0},
663
- ],
664
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 212, s: 100, v: 100}]
372
+ id: 200,
373
+ name: I18n.getLang('country_JM'),
374
+ ...defFlagConfig,
375
+ colors: [{ h: 60, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 147, s: 100, v: 100 },],
665
376
  },
666
377
  {
667
- id: 252,
668
- version: 0,
669
- mode: SceneNodeTransitionMode.Jump,
670
- speed: 75,
671
- name: I18n.getLang('country_PT'),
672
- whiteColors: [
673
- { brightness: 100, colorTemp: 0},
674
- ],
675
- colors: [{h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 120, s: 100, v: 100}]
378
+ id: 199,
379
+ name: I18n.getLang('country_CY'),
380
+ ...defFlagConfig,
381
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
676
382
  },
677
383
  {
678
- id: 251,
679
- version: 0,
680
- mode: SceneNodeTransitionMode.Jump,
681
- speed: 75,
682
- name: I18n.getLang('country_scotland'),
683
- whiteColors: [
684
- { brightness: 100, colorTemp: 0},
685
- ],
686
- colors: [{h: 209, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 209, s: 100, v: 100}]
384
+ id: 198,
385
+ name: I18n.getLang('country_QA'),
386
+ ...defFlagConfig,
387
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
687
388
  },
688
389
  {
689
- id: 250,
690
- version: 0,
691
- mode: SceneNodeTransitionMode.Jump,
692
- speed: 75,
693
- name: I18n.getLang('country_ES'),
694
- whiteColors: [
695
- { brightness: 100, colorTemp: 0},
696
- ],
697
- colors: [{h: 360, s: 100, v: 100}, {h: 47, s: 100, v: 100}, {h: 360, s: 100, v: 100}]
390
+ id: 197,
391
+ name: I18n.getLang('country_KE'),
392
+ ...defFlagConfig,
393
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 0 },],
698
394
  },
699
395
  {
700
- id: 249,
701
- version: 0,
702
- mode: SceneNodeTransitionMode.Jump,
703
- speed: 75,
704
- name: I18n.getLang('country_TR'),
705
- whiteColors: [
706
- { brightness: 100, colorTemp: 0},
707
- ],
708
- colors: [{h: 360, s: 100, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
396
+ id: 196,
397
+ name: I18n.getLang('country_CO'),
398
+ ...defFlagConfig,
399
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 210, s: 78, v: 100 }, { h: 60, s: 100, v: 100 },],
709
400
  },
710
401
  {
711
- id: 248,
712
- version: 0,
713
- mode: SceneNodeTransitionMode.Jump,
714
- speed: 75,
715
- name: I18n.getLang('country_AT'),
716
- whiteColors: [
717
- { brightness: 100, colorTemp: 0},
718
- ],
719
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
402
+ id: 195,
403
+ name: I18n.getLang('country_CG'),
404
+ ...defFlagConfig,
405
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 100 },],
720
406
  },
721
407
  {
722
- id: 247,
723
- version: 0,
724
- mode: SceneNodeTransitionMode.Jump,
725
- speed: 75,
726
- name: I18n.getLang('country_england'),
727
- whiteColors: [
728
- { brightness: 100, colorTemp: 0},
729
- ],
730
- colors: [{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
408
+ id: 194,
409
+ name: I18n.getLang('country_cu'),
410
+ ...defFlagConfig,
411
+ colors: [{ h: 210, s: 78, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
731
412
  },
732
413
  {
733
- id: 246,
734
- version: 0,
735
- mode: SceneNodeTransitionMode.Jump,
736
- speed: 75,
737
- name: I18n.getLang('country_HU'),
738
- whiteColors: [
739
- { brightness: 100, colorTemp: 0},
740
- ],
741
- colors: [{h: 120, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
414
+ id: 193,
415
+ name: I18n.getLang('country_LV'),
416
+ ...defFlagConfig,
417
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
742
418
  },
743
419
  {
744
- id: 245,
745
- version: 0,
746
- mode: SceneNodeTransitionMode.Jump,
747
- speed: 75,
748
- name: I18n.getLang('country_SK'),
749
- whiteColors: [
750
- { brightness: 100, colorTemp: 0},
751
- ],
752
- colors: [{h: 360, s: 100, v: 100}, {h: 213, s: 100, v: 84}, {h: 0, s: 0, v: 100}]
420
+ id: 192,
421
+ name: I18n.getLang('country_LY'),
422
+ ...defFlagConfig,
423
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 0, s: 100, v: 100 },],
753
424
  },
754
425
  {
755
- id: 244,
756
- version: 0,
757
- mode: SceneNodeTransitionMode.Jump,
758
- speed: 75,
759
- name: I18n.getLang('country_AL'),
760
- whiteColors: [
761
- { brightness: 100, colorTemp: 0},
762
- ],
763
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v:0}, {h: 360, s: 100, v: 100}]
426
+ id: 191,
427
+ name: I18n.getLang('country_LT'),
428
+ ...defFlagConfig,
429
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 147, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
764
430
  },
765
431
  {
766
- id: 243,
767
- version: 0,
768
- mode: SceneNodeTransitionMode.Jump,
769
- speed: 75,
770
- name: I18n.getLang('country_DK'),
771
- whiteColors: [
772
- { brightness: 100, colorTemp: 0},
773
- ],
774
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v:100}, {h: 360, s: 100, v: 100}, {h: 0, s: 0, v:100}]
432
+ id: 190,
433
+ name: I18n.getLang('country_LU'),
434
+ ...defFlagConfig,
435
+ colors: [{ h: 196, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
775
436
  },
776
437
  {
777
- id: 242,
778
- version: 0,
779
- mode: SceneNodeTransitionMode.Jump,
780
- speed: 75,
781
- name: I18n.getLang('country_NL'),
782
- whiteColors: [
783
- { brightness: 100, colorTemp: 0},
784
- ],
785
- colors: [{h: 217, s: 100, v: 77}, {h: 0, s: 0, v:100}, {h: 360, s: 100, v: 100}]
438
+ id: 189,
439
+ name: I18n.getLang('country_MG'),
440
+ ...defFlagConfig,
441
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
786
442
  },
787
443
  {
788
- id: 241,
789
- version: 0,
790
- mode: SceneNodeTransitionMode.Jump,
791
- speed: 75,
792
- name: I18n.getLang('country_RO'),
793
- whiteColors: [
794
- { brightness: 100, colorTemp: 0},
795
- ],
796
- colors: [{h: 360, s: 100, v: 100}, {h: 48, s: 91, v: 100}, {h: 219, s: 100, v: 100}]
444
+ id: 188,
445
+ name: I18n.getLang('country_MT'),
446
+ ...defFlagConfig,
447
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
797
448
  },
798
449
  {
799
- id: 240,
800
- version: 0,
801
- mode: SceneNodeTransitionMode.Jump,
802
- speed: 75,
803
- name: I18n.getLang('country_CH'),
804
- whiteColors: [
805
- { brightness: 100, colorTemp: 0},
806
- ],
807
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
450
+ id: 187,
451
+ name: I18n.getLang('country_MA'),
452
+ ...defFlagConfig,
453
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
808
454
  },
809
455
  {
810
- id: 239,
811
- version: 0,
812
- mode: SceneNodeTransitionMode.Jump,
813
- speed: 75,
814
- name: I18n.getLang('country_RS'),
815
- whiteColors: [
816
- { brightness: 100, colorTemp: 0},
817
- ],
818
- colors: [{h: 0, s: 0, v: 100}, {h: 210, s: 100, v: 100}, {h: 360, s: 100, v: 100}]
456
+ id: 186,
457
+ name: I18n.getLang('country_VN'),
458
+ ...defFlagConfig,
459
+ colors: [{ h: 60, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
819
460
  },
820
461
  {
821
- id: 238,
822
- version: 0,
823
- mode: SceneNodeTransitionMode.Jump,
824
- speed: 75,
825
- name: I18n.getLang('country_IT'),
826
- whiteColors: [
827
- { brightness: 100, colorTemp: 0},
828
- ],
829
- colors: [{h: 360, s: 100, v: 100}, {h: 212, s: 4, v: 100}, {h: 120, s: 100, v: 100}]
462
+ id: 185,
463
+ name: I18n.getLang('country_NA'),
464
+ ...defFlagConfig,
465
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 220, s: 100, v: 100 },],
830
466
  },
831
467
  {
832
- id: 237,
833
- version: 0,
834
- mode: SceneNodeTransitionMode.Jump,
835
- speed: 75,
836
- name: I18n.getLang('country_CZ'),
837
- whiteColors: [
838
- { brightness: 100, colorTemp: 0},
839
- ],
840
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 211, s: 100, v: 100}]
468
+ id: 184,
469
+ name: I18n.getLang('country_NZ'),
470
+ ...defFlagConfig,
471
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 220, s: 100, v: 100 },],
841
472
  },
842
473
  {
843
- id: 236,
844
- version: 0,
845
- mode: SceneNodeTransitionMode.Jump,
846
- speed: 75,
847
- name: I18n.getLang('country_SI'),
848
- whiteColors: [
849
- { brightness: 100, colorTemp: 0},
850
- ],
851
- colors: [{h: 360, s: 100, v: 100}, {h: 217, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
474
+ id: 183,
475
+ name: I18n.getLang('country_NG'),
476
+ ...defFlagConfig,
477
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 100 },],
852
478
  },
853
479
  {
854
- id: 235,
855
- version: 0,
856
- mode: SceneNodeTransitionMode.Jump,
857
- speed: 75,
858
- name: I18n.getLang('country_HR'),
859
- whiteColors: [
860
- { brightness: 100, colorTemp: 0},
861
- ],
862
- colors: [{h: 220, s: 89, v: 100},{h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
480
+ id: 182,
481
+ name: I18n.getLang('country_PK'),
482
+ ...defFlagConfig,
483
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
863
484
  },
864
485
  {
865
- id: 234,
866
- version: 0,
867
- mode: SceneNodeTransitionMode.Jump,
868
- speed: 75,
869
- name: I18n.getLang('country_SE'),
870
- whiteColors: [
871
- { brightness: 100, colorTemp: 0},
872
- ],
873
- colors: [{h: 201, s: 100, v: 100}, {h: 48, s: 99, v: 100}, {h: 201, s: 100, v: 100}]
486
+ id: 181,
487
+ name: I18n.getLang('country_PS'),
488
+ ...defFlagConfig,
489
+ colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 0, s: 100, v: 100 },],
874
490
  },
875
491
  {
876
- id: 233,
877
- version: 0,
878
- mode: SceneNodeTransitionMode.Jump,
879
- speed: 75,
880
- name: I18n.getLang('country_NO'),
881
- whiteColors: [
882
- { brightness: 100, colorTemp: 0},
883
- ],
884
- colors: [{h: 218, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 360, s: 100, v: 100}]
492
+ id: 180,
493
+ name: I18n.getLang('country_PY'),
494
+ ...defFlagConfig,
495
+ colors: [{ h: 205, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
885
496
  },
886
497
  {
887
- id: 232,
888
- version: 0,
889
- mode: SceneNodeTransitionMode.Jump,
890
- speed: 75,
891
- name: I18n.getLang('country_PL'),
892
- whiteColors: [
893
- { brightness: 100, colorTemp: 0},
894
- ],
895
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
498
+ id: 179,
499
+ name: I18n.getLang('country_pe'),
500
+ ...defFlagConfig,
501
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
896
502
  },
897
503
  {
898
- id: 230,
899
- version: 0,
900
- mode: SceneNodeTransitionMode.Jump,
901
- speed: 75,
902
- name: I18n.getLang('country_UA'),
903
- whiteColors: [
904
- { brightness: 100, colorTemp: 0},
905
- ],
906
- colors: [{h: 50, s: 100, v: 100}, {h: 211, s: 100, v: 100}]
504
+ id: 178,
505
+ name: I18n.getLang('country_PH'),
506
+ ...defFlagConfig,
507
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
508
+ },
509
+ {
510
+ id: 177,
511
+ name: I18n.getLang('country_PR'),
512
+ ...defFlagConfig,
513
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 205, s: 100, v: 100 },],
907
514
  },
515
+ {
516
+ id: 176,
517
+ name: I18n.getLang('country_RU'),
518
+ ...defFlagConfig,
519
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
520
+ },
521
+ {
522
+ id: 175,
523
+ name: I18n.getLang('country_ZA'),
524
+ ...defFlagConfig,
525
+ colors: [{ h: 205, s: 100, v: 100 }, { h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
526
+ },
527
+ {
528
+ id: 174,
529
+ name: I18n.getLang('country_sy'),
530
+ ...defFlagConfig,
531
+ colors: [{ h: 0, s: 0, v: 0 }, { h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
532
+ },
533
+ {
534
+ id: 173,
535
+ name: I18n.getLang('country_TH'),
536
+ ...defFlagConfig,
537
+ colors: [{ h: 205, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
538
+ },
539
+ {
540
+ id: 172,
541
+ name: I18n.getLang('country_TN'),
542
+ ...defFlagConfig,
543
+ colors: [{ h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
544
+ },
545
+ {
546
+ id: 171,
547
+ name: I18n.getLang('country_UG'),
548
+ ...defFlagConfig,
549
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 0, s: 0, v: 0 },],
550
+ },
551
+ {
552
+ id: 170,
553
+ name: I18n.getLang('country_UY'),
554
+ ...defFlagConfig,
555
+ colors: [{ h: 20, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 205, s: 100, v: 100 },],
556
+ },
557
+ {
558
+ id: 169,
559
+ name: I18n.getLang('country_VE'),
560
+ ...defFlagConfig,
561
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
562
+ }
908
563
  ]
@@ -5,7 +5,7 @@ import { FlatList } from "react-native";
5
5
  import Spacer from "@ledvance/base/src/components/Spacer";
6
6
  import { Utils } from "tuya-panel-kit";
7
7
  import FlagItem from "./FlagItem";
8
- import { FlagUiInfo, def2Pids, def3Pids } from "./FlagInfo";
8
+ import { FlagUiInfo } from "./FlagInfo";
9
9
  import { getRemoteFlag, saveFlag, saveFlagMode, useFlag } from "./FlagActions";
10
10
  import { useRoute, useNavigation } from '@react-navigation/core'
11
11
  import I18n from "@ledvance/base/src/i18n";
@@ -109,9 +109,7 @@ const FlagPage = () => {
109
109
  }, [state.searchText, flags])
110
110
 
111
111
  const getRemoteFlagInfo = async () => {
112
- const isDef2 = def2Pids.includes(devInfo.productId)
113
- const isDef3 = def3Pids.includes(devInfo.productId)
114
- const res = await getRemoteFlag(devInfo.devId, {isDef2, isDef3})
112
+ const res = await getRemoteFlag(devInfo.devId)
115
113
  if (res.success) {
116
114
  let cloneFlag: FlagUiInfo[] = cloneDeep(res.data) || []
117
115
  state.flags = cloneFlag