@nethesis/phone-island 0.7.71 → 0.7.73
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/dist/App.js +1 -1
- package/dist/App.js.map +1 -1
- package/dist/components/AlertGuard.js +1 -1
- package/dist/components/AlertGuard.js.map +1 -1
- package/dist/components/AlertView/Alert.js +1 -1
- package/dist/components/AlertView/Alert.js.map +1 -1
- package/dist/components/AlertView/index.js +1 -1
- package/dist/components/AlertView/index.js.map +1 -1
- package/dist/components/AudioBars.d.ts +9 -8
- package/dist/components/AudioBars.js +1 -1
- package/dist/components/AudioBars.js.map +1 -1
- package/dist/components/AudioPlayerView/Avatar.d.ts +6 -0
- package/dist/components/AudioPlayerView/Avatar.js +2 -0
- package/dist/components/AudioPlayerView/Avatar.js.map +1 -0
- package/dist/components/AudioPlayerView/Progress.d.ts +5 -0
- package/dist/components/AudioPlayerView/Progress.js +2 -0
- package/dist/components/AudioPlayerView/Progress.js.map +1 -0
- package/dist/components/AudioPlayerView/index.d.ts +5 -0
- package/dist/components/AudioPlayerView/index.js +2 -0
- package/dist/components/AudioPlayerView/index.js.map +1 -0
- package/dist/components/CallView/Actions.js +1 -1
- package/dist/components/CallView/Actions.js.map +1 -1
- package/dist/components/CallView/Avatar.js +1 -1
- package/dist/components/CallView/Avatar.js.map +1 -1
- package/dist/components/CallView/index.js +1 -1
- package/dist/components/Close.d.ts +3 -0
- package/dist/components/Close.js +2 -0
- package/dist/components/Close.js.map +1 -0
- package/dist/components/Events.js +1 -1
- package/dist/components/Events.js.map +1 -1
- package/dist/components/Island.d.ts +0 -1
- package/dist/components/Island.js +1 -1
- package/dist/components/Island.js.map +1 -1
- package/dist/components/IslandDrag.d.ts +7 -0
- package/dist/components/IslandDrag.js +2 -0
- package/dist/components/IslandDrag.js.map +1 -0
- package/dist/components/IslandMotion.d.ts +6 -0
- package/dist/components/IslandMotion.js +2 -0
- package/dist/components/IslandMotion.js.map +1 -0
- package/dist/components/KeypadView/Actions.js +1 -1
- package/dist/components/KeypadView/Actions.js.map +1 -1
- package/dist/components/Socket.js +1 -1
- package/dist/components/Socket.js.map +1 -1
- package/dist/components/TransferView/TransferActions.js +1 -1
- package/dist/components/TransferView/TransferActions.js.map +1 -1
- package/dist/components/TransferView/TransferList.js +1 -1
- package/dist/components/TransferView/TransferList.js.map +1 -1
- package/dist/components/WebRTC.js +1 -1
- package/dist/components/WebRTC.js.map +1 -1
- package/dist/events/CallEvents.js +1 -1
- package/dist/events/CallEvents.js.map +1 -1
- package/dist/events/PlayerEvents.d.ts +6 -0
- package/dist/events/PlayerEvents.js +2 -0
- package/dist/events/PlayerEvents.js.map +1 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/lib/phone/audio.js +1 -1
- package/dist/lib/phone/audio.js.map +1 -1
- package/dist/lib/phone/call.js +1 -1
- package/dist/lib/phone/call.js.map +1 -1
- package/dist/lib/player/audio.d.ts +16 -0
- package/dist/lib/player/audio.js +2 -0
- package/dist/lib/player/audio.js.map +1 -0
- package/dist/models/audioBars.d.ts +46 -0
- package/dist/models/audioBars.js +2 -0
- package/dist/models/audioBars.js.map +1 -0
- package/dist/models/currentCall.d.ts +1 -1
- package/dist/models/currentCall.js +1 -1
- package/dist/models/currentCall.js.map +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/island.d.ts +8 -8
- package/dist/models/island.js +1 -1
- package/dist/models/island.js.map +1 -1
- package/dist/models/motions.d.ts +280 -0
- package/dist/models/motions.js +2 -0
- package/dist/models/motions.js.map +1 -0
- package/dist/models/player.d.ts +131 -29
- package/dist/models/player.js +1 -1
- package/dist/models/player.js.map +1 -1
- package/dist/node_modules/@nethesis/nethesis-light-svg-icons/index.mjs.js +1 -1
- package/dist/node_modules/@nethesis/nethesis-light-svg-icons/index.mjs.js.map +1 -1
- package/dist/node_modules/@nethesis/nethesis-solid-svg-icons/index.mjs.js +1 -1
- package/dist/node_modules/@nethesis/nethesis-solid-svg-icons/index.mjs.js.map +1 -1
- package/dist/services/history_call.d.ts +8 -0
- package/dist/services/history_call.js +2 -0
- package/dist/services/history_call.js.map +1 -0
- package/dist/services/offhour.d.ts +9 -0
- package/dist/services/offhour.js +2 -0
- package/dist/services/offhour.js.map +1 -0
- package/dist/static/icons/PhoneKeypadLight.js +1 -1
- package/dist/static/icons/PhoneKeypadLight.js.map +1 -1
- package/dist/static/icons/PhoneKeypadSolid.js +1 -1
- package/dist/static/icons/PhoneKeypadSolid.js.map +1 -1
- package/dist/styles/Island.styles.js +1 -1
- package/dist/styles/Island.styles.js.map +1 -1
- package/dist/types/announcements.d.ts +8 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/player.d.ts +7 -0
- package/dist/utils/genericFunctions/player.d.ts +1 -0
- package/dist/utils/genericFunctions/player.js +2 -0
- package/dist/utils/genericFunctions/player.js.map +1 -0
- package/package.json +1 -1
- package/dist/models/animations.d.ts +0 -476
- package/dist/models/animations.js +0 -2
- package/dist/models/animations.js.map +0 -1
|
@@ -1,476 +0,0 @@
|
|
|
1
|
-
import type { RootModel } from '.';
|
|
2
|
-
declare const defaultState: {
|
|
3
|
-
variants: {
|
|
4
|
-
callView: {
|
|
5
|
-
expandedIncoming: {
|
|
6
|
-
width: string;
|
|
7
|
-
height: string;
|
|
8
|
-
borderRadius: string;
|
|
9
|
-
padding: string;
|
|
10
|
-
};
|
|
11
|
-
expandedIncomingWithAlerts: {
|
|
12
|
-
width: string;
|
|
13
|
-
height: string;
|
|
14
|
-
borderRadius: string;
|
|
15
|
-
padding: string;
|
|
16
|
-
};
|
|
17
|
-
expandedAccepted: {
|
|
18
|
-
width: string;
|
|
19
|
-
height: string;
|
|
20
|
-
borderRadius: string;
|
|
21
|
-
padding: string;
|
|
22
|
-
};
|
|
23
|
-
expandedAcceptedWithAlerts: {
|
|
24
|
-
width: string;
|
|
25
|
-
height: string;
|
|
26
|
-
borderRadius: string;
|
|
27
|
-
padding: string;
|
|
28
|
-
};
|
|
29
|
-
collapsed: {
|
|
30
|
-
width: string;
|
|
31
|
-
height: string;
|
|
32
|
-
borderRadius: string;
|
|
33
|
-
padding: string;
|
|
34
|
-
};
|
|
35
|
-
transfer: {
|
|
36
|
-
expanded: {
|
|
37
|
-
width: string;
|
|
38
|
-
height: string;
|
|
39
|
-
borderRadius: string;
|
|
40
|
-
padding: string;
|
|
41
|
-
};
|
|
42
|
-
expandedWithAlerts: {
|
|
43
|
-
width: string;
|
|
44
|
-
height: string;
|
|
45
|
-
borderRadius: string;
|
|
46
|
-
padding: string;
|
|
47
|
-
};
|
|
48
|
-
collapsed: {
|
|
49
|
-
width: string;
|
|
50
|
-
height: string;
|
|
51
|
-
borderRadius: string;
|
|
52
|
-
padding: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
keypadView: {
|
|
57
|
-
expandedWithAlerts: {
|
|
58
|
-
width: string;
|
|
59
|
-
height: string;
|
|
60
|
-
borderRadius: string;
|
|
61
|
-
padding: string;
|
|
62
|
-
};
|
|
63
|
-
expanded: {
|
|
64
|
-
width: string;
|
|
65
|
-
height: string;
|
|
66
|
-
borderRadius: string;
|
|
67
|
-
padding: string;
|
|
68
|
-
};
|
|
69
|
-
collapsed: {
|
|
70
|
-
width: string;
|
|
71
|
-
height: string;
|
|
72
|
-
borderRadius: string;
|
|
73
|
-
padding: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
transferListView: {
|
|
77
|
-
expandedWithAlerts: {
|
|
78
|
-
width: string;
|
|
79
|
-
height: string;
|
|
80
|
-
borderRadius: string;
|
|
81
|
-
padding: string;
|
|
82
|
-
};
|
|
83
|
-
expanded: {
|
|
84
|
-
width: string;
|
|
85
|
-
height: string;
|
|
86
|
-
borderRadius: string;
|
|
87
|
-
padding: string;
|
|
88
|
-
};
|
|
89
|
-
collapsed: {
|
|
90
|
-
width: string;
|
|
91
|
-
height: string;
|
|
92
|
-
borderRadius: string;
|
|
93
|
-
padding: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
transferActionsView: {
|
|
97
|
-
expanded: {
|
|
98
|
-
width: string;
|
|
99
|
-
height: string;
|
|
100
|
-
borderRadius: string;
|
|
101
|
-
padding: string;
|
|
102
|
-
};
|
|
103
|
-
collapsed: {
|
|
104
|
-
width: string;
|
|
105
|
-
height: string;
|
|
106
|
-
borderRadius: string;
|
|
107
|
-
padding: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
expandedWithAlerts: {
|
|
111
|
-
width: string;
|
|
112
|
-
height: string;
|
|
113
|
-
borderRadius: string;
|
|
114
|
-
padding: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
export declare const animations: {
|
|
119
|
-
name?: string | undefined;
|
|
120
|
-
state: {
|
|
121
|
-
variants: {
|
|
122
|
-
callView: {
|
|
123
|
-
expandedIncoming: {
|
|
124
|
-
width: string;
|
|
125
|
-
height: string;
|
|
126
|
-
borderRadius: string;
|
|
127
|
-
padding: string;
|
|
128
|
-
};
|
|
129
|
-
expandedIncomingWithAlerts: {
|
|
130
|
-
width: string;
|
|
131
|
-
height: string;
|
|
132
|
-
borderRadius: string;
|
|
133
|
-
padding: string;
|
|
134
|
-
};
|
|
135
|
-
expandedAccepted: {
|
|
136
|
-
width: string;
|
|
137
|
-
height: string;
|
|
138
|
-
borderRadius: string;
|
|
139
|
-
padding: string;
|
|
140
|
-
};
|
|
141
|
-
expandedAcceptedWithAlerts: {
|
|
142
|
-
width: string;
|
|
143
|
-
height: string;
|
|
144
|
-
borderRadius: string;
|
|
145
|
-
padding: string;
|
|
146
|
-
};
|
|
147
|
-
collapsed: {
|
|
148
|
-
width: string;
|
|
149
|
-
height: string;
|
|
150
|
-
borderRadius: string;
|
|
151
|
-
padding: string;
|
|
152
|
-
};
|
|
153
|
-
transfer: {
|
|
154
|
-
expanded: {
|
|
155
|
-
width: string;
|
|
156
|
-
height: string;
|
|
157
|
-
borderRadius: string;
|
|
158
|
-
padding: string;
|
|
159
|
-
};
|
|
160
|
-
expandedWithAlerts: {
|
|
161
|
-
width: string;
|
|
162
|
-
height: string;
|
|
163
|
-
borderRadius: string;
|
|
164
|
-
padding: string;
|
|
165
|
-
};
|
|
166
|
-
collapsed: {
|
|
167
|
-
width: string;
|
|
168
|
-
height: string;
|
|
169
|
-
borderRadius: string;
|
|
170
|
-
padding: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
keypadView: {
|
|
175
|
-
expandedWithAlerts: {
|
|
176
|
-
width: string;
|
|
177
|
-
height: string;
|
|
178
|
-
borderRadius: string;
|
|
179
|
-
padding: string;
|
|
180
|
-
};
|
|
181
|
-
expanded: {
|
|
182
|
-
width: string;
|
|
183
|
-
height: string;
|
|
184
|
-
borderRadius: string;
|
|
185
|
-
padding: string;
|
|
186
|
-
};
|
|
187
|
-
collapsed: {
|
|
188
|
-
width: string;
|
|
189
|
-
height: string;
|
|
190
|
-
borderRadius: string;
|
|
191
|
-
padding: string;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
transferListView: {
|
|
195
|
-
expandedWithAlerts: {
|
|
196
|
-
width: string;
|
|
197
|
-
height: string;
|
|
198
|
-
borderRadius: string;
|
|
199
|
-
padding: string;
|
|
200
|
-
};
|
|
201
|
-
expanded: {
|
|
202
|
-
width: string;
|
|
203
|
-
height: string;
|
|
204
|
-
borderRadius: string;
|
|
205
|
-
padding: string;
|
|
206
|
-
};
|
|
207
|
-
collapsed: {
|
|
208
|
-
width: string;
|
|
209
|
-
height: string;
|
|
210
|
-
borderRadius: string;
|
|
211
|
-
padding: string;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
transferActionsView: {
|
|
215
|
-
expanded: {
|
|
216
|
-
width: string;
|
|
217
|
-
height: string;
|
|
218
|
-
borderRadius: string;
|
|
219
|
-
padding: string;
|
|
220
|
-
};
|
|
221
|
-
collapsed: {
|
|
222
|
-
width: string;
|
|
223
|
-
height: string;
|
|
224
|
-
borderRadius: string;
|
|
225
|
-
padding: string;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
expandedWithAlerts: {
|
|
229
|
-
width: string;
|
|
230
|
-
height: string;
|
|
231
|
-
borderRadius: string;
|
|
232
|
-
padding: string;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
} & ({} | {
|
|
237
|
-
effects: import("@rematch/core").ModelEffects<RootModel>;
|
|
238
|
-
} | {
|
|
239
|
-
effects: import("@rematch/core").ModelEffectsCreator<RootModel>;
|
|
240
|
-
}) & ({} | {
|
|
241
|
-
reducers: import("@rematch/core").ModelReducers<{
|
|
242
|
-
variants: {
|
|
243
|
-
callView: {
|
|
244
|
-
expandedIncoming: {
|
|
245
|
-
width: string;
|
|
246
|
-
height: string;
|
|
247
|
-
borderRadius: string;
|
|
248
|
-
padding: string;
|
|
249
|
-
};
|
|
250
|
-
expandedIncomingWithAlerts: {
|
|
251
|
-
width: string;
|
|
252
|
-
height: string;
|
|
253
|
-
borderRadius: string;
|
|
254
|
-
padding: string;
|
|
255
|
-
};
|
|
256
|
-
expandedAccepted: {
|
|
257
|
-
width: string;
|
|
258
|
-
height: string;
|
|
259
|
-
borderRadius: string;
|
|
260
|
-
padding: string;
|
|
261
|
-
};
|
|
262
|
-
expandedAcceptedWithAlerts: {
|
|
263
|
-
width: string;
|
|
264
|
-
height: string;
|
|
265
|
-
borderRadius: string;
|
|
266
|
-
padding: string;
|
|
267
|
-
};
|
|
268
|
-
collapsed: {
|
|
269
|
-
width: string;
|
|
270
|
-
height: string;
|
|
271
|
-
borderRadius: string;
|
|
272
|
-
padding: string;
|
|
273
|
-
};
|
|
274
|
-
transfer: {
|
|
275
|
-
expanded: {
|
|
276
|
-
width: string;
|
|
277
|
-
height: string;
|
|
278
|
-
borderRadius: string;
|
|
279
|
-
padding: string;
|
|
280
|
-
};
|
|
281
|
-
expandedWithAlerts: {
|
|
282
|
-
width: string;
|
|
283
|
-
height: string;
|
|
284
|
-
borderRadius: string;
|
|
285
|
-
padding: string;
|
|
286
|
-
};
|
|
287
|
-
collapsed: {
|
|
288
|
-
width: string;
|
|
289
|
-
height: string;
|
|
290
|
-
borderRadius: string;
|
|
291
|
-
padding: string;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
keypadView: {
|
|
296
|
-
expandedWithAlerts: {
|
|
297
|
-
width: string;
|
|
298
|
-
height: string;
|
|
299
|
-
borderRadius: string;
|
|
300
|
-
padding: string;
|
|
301
|
-
};
|
|
302
|
-
expanded: {
|
|
303
|
-
width: string;
|
|
304
|
-
height: string;
|
|
305
|
-
borderRadius: string;
|
|
306
|
-
padding: string;
|
|
307
|
-
};
|
|
308
|
-
collapsed: {
|
|
309
|
-
width: string;
|
|
310
|
-
height: string;
|
|
311
|
-
borderRadius: string;
|
|
312
|
-
padding: string;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
transferListView: {
|
|
316
|
-
expandedWithAlerts: {
|
|
317
|
-
width: string;
|
|
318
|
-
height: string;
|
|
319
|
-
borderRadius: string;
|
|
320
|
-
padding: string;
|
|
321
|
-
};
|
|
322
|
-
expanded: {
|
|
323
|
-
width: string;
|
|
324
|
-
height: string;
|
|
325
|
-
borderRadius: string;
|
|
326
|
-
padding: string;
|
|
327
|
-
};
|
|
328
|
-
collapsed: {
|
|
329
|
-
width: string;
|
|
330
|
-
height: string;
|
|
331
|
-
borderRadius: string;
|
|
332
|
-
padding: string;
|
|
333
|
-
};
|
|
334
|
-
};
|
|
335
|
-
transferActionsView: {
|
|
336
|
-
expanded: {
|
|
337
|
-
width: string;
|
|
338
|
-
height: string;
|
|
339
|
-
borderRadius: string;
|
|
340
|
-
padding: string;
|
|
341
|
-
};
|
|
342
|
-
collapsed: {
|
|
343
|
-
width: string;
|
|
344
|
-
height: string;
|
|
345
|
-
borderRadius: string;
|
|
346
|
-
padding: string;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
expandedWithAlerts: {
|
|
350
|
-
width: string;
|
|
351
|
-
height: string;
|
|
352
|
-
borderRadius: string;
|
|
353
|
-
padding: string;
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
}>;
|
|
357
|
-
}) & ({} | {
|
|
358
|
-
baseReducer: import("redux").Reducer<{
|
|
359
|
-
variants: {
|
|
360
|
-
callView: {
|
|
361
|
-
expandedIncoming: {
|
|
362
|
-
width: string;
|
|
363
|
-
height: string;
|
|
364
|
-
borderRadius: string;
|
|
365
|
-
padding: string;
|
|
366
|
-
};
|
|
367
|
-
expandedIncomingWithAlerts: {
|
|
368
|
-
width: string;
|
|
369
|
-
height: string;
|
|
370
|
-
borderRadius: string;
|
|
371
|
-
padding: string;
|
|
372
|
-
};
|
|
373
|
-
expandedAccepted: {
|
|
374
|
-
width: string;
|
|
375
|
-
height: string;
|
|
376
|
-
borderRadius: string;
|
|
377
|
-
padding: string;
|
|
378
|
-
};
|
|
379
|
-
expandedAcceptedWithAlerts: {
|
|
380
|
-
width: string;
|
|
381
|
-
height: string;
|
|
382
|
-
borderRadius: string;
|
|
383
|
-
padding: string;
|
|
384
|
-
};
|
|
385
|
-
collapsed: {
|
|
386
|
-
width: string;
|
|
387
|
-
height: string;
|
|
388
|
-
borderRadius: string;
|
|
389
|
-
padding: string;
|
|
390
|
-
};
|
|
391
|
-
transfer: {
|
|
392
|
-
expanded: {
|
|
393
|
-
width: string;
|
|
394
|
-
height: string;
|
|
395
|
-
borderRadius: string;
|
|
396
|
-
padding: string;
|
|
397
|
-
};
|
|
398
|
-
expandedWithAlerts: {
|
|
399
|
-
width: string;
|
|
400
|
-
height: string;
|
|
401
|
-
borderRadius: string;
|
|
402
|
-
padding: string;
|
|
403
|
-
};
|
|
404
|
-
collapsed: {
|
|
405
|
-
width: string;
|
|
406
|
-
height: string;
|
|
407
|
-
borderRadius: string;
|
|
408
|
-
padding: string;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
keypadView: {
|
|
413
|
-
expandedWithAlerts: {
|
|
414
|
-
width: string;
|
|
415
|
-
height: string;
|
|
416
|
-
borderRadius: string;
|
|
417
|
-
padding: string;
|
|
418
|
-
};
|
|
419
|
-
expanded: {
|
|
420
|
-
width: string;
|
|
421
|
-
height: string;
|
|
422
|
-
borderRadius: string;
|
|
423
|
-
padding: string;
|
|
424
|
-
};
|
|
425
|
-
collapsed: {
|
|
426
|
-
width: string;
|
|
427
|
-
height: string;
|
|
428
|
-
borderRadius: string;
|
|
429
|
-
padding: string;
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
transferListView: {
|
|
433
|
-
expandedWithAlerts: {
|
|
434
|
-
width: string;
|
|
435
|
-
height: string;
|
|
436
|
-
borderRadius: string;
|
|
437
|
-
padding: string;
|
|
438
|
-
};
|
|
439
|
-
expanded: {
|
|
440
|
-
width: string;
|
|
441
|
-
height: string;
|
|
442
|
-
borderRadius: string;
|
|
443
|
-
padding: string;
|
|
444
|
-
};
|
|
445
|
-
collapsed: {
|
|
446
|
-
width: string;
|
|
447
|
-
height: string;
|
|
448
|
-
borderRadius: string;
|
|
449
|
-
padding: string;
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
transferActionsView: {
|
|
453
|
-
expanded: {
|
|
454
|
-
width: string;
|
|
455
|
-
height: string;
|
|
456
|
-
borderRadius: string;
|
|
457
|
-
padding: string;
|
|
458
|
-
};
|
|
459
|
-
collapsed: {
|
|
460
|
-
width: string;
|
|
461
|
-
height: string;
|
|
462
|
-
borderRadius: string;
|
|
463
|
-
padding: string;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
expandedWithAlerts: {
|
|
467
|
-
width: string;
|
|
468
|
-
height: string;
|
|
469
|
-
borderRadius: string;
|
|
470
|
-
padding: string;
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
}, import("redux").AnyAction>;
|
|
474
|
-
});
|
|
475
|
-
export type AnimationsTypes = typeof defaultState;
|
|
476
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var d={variants:{callView:{expandedIncoming:{width:"418px",height:"96px",borderRadius:"20px",padding:"24px"},expandedIncomingWithAlerts:{width:"418px",height:"224px",borderRadius:"20px",padding:"24px"},expandedAccepted:{width:"348px",height:"236px",borderRadius:"20px",padding:"24px"},expandedAcceptedWithAlerts:{width:"348px",height:"364px",borderRadius:"20px",padding:"24px"},collapsed:{width:"168px",height:"40px",borderRadius:"99px",padding:"8px 16px"},transfer:{expanded:{width:"348px",height:"304px",borderRadius:"20px",padding:"24px"},expandedWithAlerts:{width:"348px",height:"336px",borderRadius:"20px",padding:"24px"},collapsed:{width:"348px",height:"336px",borderRadius:"99px",padding:"8px 16px"}}},keypadView:{expandedWithAlerts:{width:"338px",height:"590px",borderRadius:"20px",padding:"24px"},expanded:{width:"338px",height:"462px",borderRadius:"20px",padding:"24px"},collapsed:{width:"168px",height:"40px",borderRadius:"99px",padding:"8px 16px"}},transferListView:{expandedWithAlerts:{width:"408px",height:"600px",borderRadius:"20px",padding:"24px"},expanded:{width:"408px",height:"472px",borderRadius:"20px",padding:"24px"},collapsed:{width:"168px",height:"40px",borderRadius:"99px",padding:"8px 16px"}},transferActionsView:{expanded:{width:"398px",height:"462px",borderRadius:"20px",padding:"24px"},collapsed:{width:"168px",height:"40px",borderRadius:"99px",padding:"8px 16px"}},expandedWithAlerts:{width:"418px",height:"152px",borderRadius:"20px",padding:"24px"}}},p=require("../node_modules/@rematch/core/dist/core.esm.js").createModel()({state:d});exports.animations=p;
|
|
2
|
-
//# sourceMappingURL=animations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"animations.js","sources":["../../src/models/animations.ts"],"sourcesContent":["// Copyright (C) 2022 Nethesis S.r.l.\n// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { createModel } from '@rematch/core'\nimport type { RootModel } from '.'\n\nconst EXPANDED_PADDING = '24px'\nconst COLLAPSED_PADDING = '8px 16px'\nconst BORDER_RADIUS_EXPANDED = '20px'\nconst BORDER_RADIUS_COLLAPSED = '99px'\n\nconst defaultState = {\n variants: {\n // The animation variants for CallView\n callView: {\n // When there is and incoming call and the island is expanded\n expandedIncoming: {\n width: '418px',\n height: '96px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n // When there is and incoming call and the island is expanded\n expandedIncomingWithAlerts: {\n width: '418px',\n height: '224px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n // When there is an accepted call and the island is expanded\n expandedAccepted: {\n width: '348px',\n height: '236px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n // When there is an accepted call and the island is expanded\n expandedAcceptedWithAlerts: {\n width: '348px',\n height: '364px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n // When the island is collapsed\n collapsed: {\n width: '168px',\n height: '40px',\n borderRadius: BORDER_RADIUS_COLLAPSED,\n padding: COLLAPSED_PADDING,\n },\n // When there is a transfer\n transfer: {\n expanded: {\n width: '348px',\n height: '304px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n expandedWithAlerts: {\n width: '348px',\n height: '336px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n collapsed: {\n width: '348px',\n height: '336px',\n borderRadius: BORDER_RADIUS_COLLAPSED,\n padding: COLLAPSED_PADDING,\n },\n },\n },\n // The animation variant for keypadView\n keypadView: {\n expandedWithAlerts: {\n width: '338px',\n height: '590px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n expanded: {\n width: '338px',\n height: '462px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n collapsed: {\n width: '168px',\n height: '40px',\n borderRadius: BORDER_RADIUS_COLLAPSED,\n padding: COLLAPSED_PADDING,\n },\n },\n // The animation variant for transferListView\n transferListView: {\n expandedWithAlerts: {\n width: '408px',\n height: '600px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n expanded: {\n width: '408px',\n height: '472px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n collapsed: {\n width: '168px',\n height: '40px',\n borderRadius: BORDER_RADIUS_COLLAPSED,\n padding: COLLAPSED_PADDING,\n },\n },\n // The animation variant for transferActionsView\n transferActionsView: {\n expanded: {\n width: '398px',\n height: '462px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n collapsed: {\n width: '168px',\n height: '40px',\n borderRadius: BORDER_RADIUS_COLLAPSED,\n padding: COLLAPSED_PADDING,\n },\n },\n // When theare aren't calls but there are alerts\n expandedWithAlerts: {\n width: '418px',\n height: '152px',\n borderRadius: BORDER_RADIUS_EXPANDED,\n padding: EXPANDED_PADDING,\n },\n },\n}\n\nexport const animations = createModel<RootModel>()({\n state: defaultState,\n})\n\nexport type AnimationsTypes = typeof defaultState"],"names":["defaultState","variants","callView","expandedIncoming","width","height","borderRadius","padding","expandedIncomingWithAlerts","expandedAccepted","expandedAcceptedWithAlerts","collapsed","transfer","expanded","expandedWithAlerts","keypadView","transferListView","transferActionsView","animations","createModel","state"],"mappings":"wEAWMA,EAAe,CACnBC,SAAU,CAERC,SAAU,CAERC,iBAAkB,CAChBC,MAAO,QACPC,OAAQ,OACRC,aAXuB,OAYvBC,QAdiB,QAiBnBC,2BAA4B,CAC1BJ,MAAO,QACPC,OAAQ,QACRC,aAlBuB,OAmBvBC,QArBiB,QAwBnBE,iBAAkB,CAChBL,MAAO,QACPC,OAAQ,QACRC,aAzBuB,OA0BvBC,QA5BiB,QA+BnBG,2BAA4B,CAC1BN,MAAO,QACPC,OAAQ,QACRC,aAhCuB,OAiCvBC,QAnCiB,QAsCnBI,UAAW,CACTP,MAAO,QACPC,OAAQ,OACRC,aAtCwB,OAuCxBC,QAzCkB,YA4CpBK,SAAU,CACRC,SAAU,CACRT,MAAO,QACPC,OAAQ,QACRC,aA/CqB,OAgDrBC,QAlDe,QAoDjBO,mBAAoB,CAClBV,MAAO,QACPC,OAAQ,QACRC,aArDqB,OAsDrBC,QAxDe,QA0DjBI,UAAW,CACTP,MAAO,QACPC,OAAQ,QACRC,aA1DsB,OA2DtBC,QA7DgB,cAkEtBQ,WAAY,CACVD,mBAAoB,CAClBV,MAAO,QACPC,OAAQ,QACRC,aArEuB,OAsEvBC,QAxEiB,QA0EnBM,SAAU,CACRT,MAAO,QACPC,OAAQ,QACRC,aA3EuB,OA4EvBC,QA9EiB,QAgFnBI,UAAW,CACTP,MAAO,QACPC,OAAQ,OACRC,aAhFwB,OAiFxBC,QAnFkB,aAuFtBS,iBAAkB,CAChBF,mBAAoB,CAClBV,MAAO,QACPC,OAAQ,QACRC,aA1FuB,OA2FvBC,QA7FiB,QA+FnBM,SAAU,CACRT,MAAO,QACPC,OAAQ,QACRC,aAhGuB,OAiGvBC,QAnGiB,QAqGnBI,UAAW,CACTP,MAAO,QACPC,OAAQ,OACRC,aArGwB,OAsGxBC,QAxGkB,aA4GtBU,oBAAqB,CACnBJ,SAAU,CACRT,MAAO,QACPC,OAAQ,QACRC,aA/GuB,OAgHvBC,QAlHiB,QAoHnBI,UAAW,CACTP,MAAO,QACPC,OAAQ,OACRC,aApHwB,OAqHxBC,QAvHkB,aA2HtBO,mBAAoB,CAClBV,MAAO,QACPC,OAAQ,QACRC,aA7HyB,OA8HzBC,QAhImB,UAqIZW,4DAAwBC,aAAXA,CAAyB,CACjDC,MAAOpB"}
|