fomantic-ui 2.9.3-beta.42 → 2.9.3-beta.44
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/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +53 -53
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- package/package.json +2 -1
- package/types/fomantic-ui-accordion.d.ts +250 -0
- package/types/fomantic-ui-api.d.ts +607 -0
- package/types/fomantic-ui-calendar.d.ts +820 -0
- package/types/fomantic-ui-checkbox.d.ts +378 -0
- package/types/fomantic-ui-dimmer.d.ts +485 -0
- package/types/fomantic-ui-dropdown.d.ts +1402 -0
- package/types/fomantic-ui-embed.d.ts +372 -0
- package/types/fomantic-ui-flyout.d.ts +558 -0
- package/types/fomantic-ui-form.d.ts +780 -0
- package/types/fomantic-ui-modal.d.ts +553 -0
- package/types/fomantic-ui-nag.d.ts +319 -0
- package/types/fomantic-ui-popup.d.ts +619 -0
- package/types/fomantic-ui-progress.d.ts +533 -0
- package/types/fomantic-ui-rating.d.ts +218 -0
- package/types/fomantic-ui-search.d.ts +590 -0
- package/types/fomantic-ui-shape.d.ts +316 -0
- package/types/fomantic-ui-sidebar.d.ts +478 -0
- package/types/fomantic-ui-slider.d.ts +379 -0
- package/types/fomantic-ui-sticky.d.ts +261 -0
- package/types/fomantic-ui-tab.d.ts +427 -0
- package/types/fomantic-ui-tests.ts +23 -0
- package/types/fomantic-ui-toast.d.ts +620 -0
- package/types/fomantic-ui-transition.d.ts +405 -0
- package/types/fomantic-ui-visibility.d.ts +422 -0
- package/types/index.d.ts +64 -0
- package/types/tsconfig.json +23 -0
- package/types/tslint.json +1 -0
@@ -0,0 +1,405 @@
|
|
1
|
+
declare namespace FomanticUI {
|
2
|
+
interface Transition {
|
3
|
+
settings: TransitionSettings;
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Stop current animation and preserve queue.
|
7
|
+
*/
|
8
|
+
(behavior: 'stop'): JQuery;
|
9
|
+
|
10
|
+
/**
|
11
|
+
* Stop current animation and queued animations.
|
12
|
+
*/
|
13
|
+
(behavior: 'stop all'): JQuery;
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Clears all queued animations.
|
17
|
+
*/
|
18
|
+
(behavior: 'clear queue'): JQuery;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Stop current animation and show element.
|
22
|
+
*/
|
23
|
+
(behavior: 'show'): JQuery;
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Stop current animation and hide element.
|
27
|
+
*/
|
28
|
+
(behavior: 'hide'): JQuery;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* Toggles between hide and show.
|
32
|
+
*/
|
33
|
+
(behavior: 'toggle'): JQuery;
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Forces reflow using a more expensive but stable method.
|
37
|
+
*/
|
38
|
+
(behavior: 'force repaint'): JQuery;
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Triggers reflow on element.
|
42
|
+
*/
|
43
|
+
(behavior: 'repaint'): JQuery;
|
44
|
+
|
45
|
+
/**
|
46
|
+
* Resets all conditions changes during transition.
|
47
|
+
*/
|
48
|
+
(behavior: 'reset'): JQuery;
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Enables animation looping.
|
52
|
+
*/
|
53
|
+
(behavior: 'looping'): JQuery;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Removes looping state from element.
|
57
|
+
*/
|
58
|
+
(behavior: 'remove looping'): JQuery;
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Adds disabled state (stops ability to animate).
|
62
|
+
*/
|
63
|
+
(behavior: 'disable'): JQuery;
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Removes disabled state.
|
67
|
+
*/
|
68
|
+
(behavior: 'enable'): JQuery;
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Modifies element animation duration.
|
72
|
+
*/
|
73
|
+
(behavior: 'set duration', duration: number): JQuery;
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Saves all class names and styles to cache to be retrieved after animation.
|
77
|
+
*/
|
78
|
+
(behavior: 'save conditions'): JQuery;
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Adds back cached names and styles to element.
|
82
|
+
*/
|
83
|
+
(behavior: 'restore conditions'): JQuery;
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Returns vendor prefixed animation property for animationname.
|
87
|
+
*/
|
88
|
+
(behavior: 'get animation name'): string;
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Returns vendor prefixed animation property for animationend.
|
92
|
+
*/
|
93
|
+
(behavior: 'get animation event'): string;
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Returns whether element is currently visible.
|
97
|
+
*/
|
98
|
+
(behavior: 'is visible'): boolean;
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Returns whether transition is currently occurring.
|
102
|
+
*/
|
103
|
+
(behavior: 'is animating'): boolean;
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Returns whether animation looping is set.
|
107
|
+
*/
|
108
|
+
(behavior: 'is looping'): boolean;
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Returns whether animations are supported.
|
112
|
+
*/
|
113
|
+
(behavior: 'is supported'): boolean;
|
114
|
+
|
115
|
+
/**
|
116
|
+
* Destroys instance and removes all events.
|
117
|
+
*/
|
118
|
+
(behavior: 'destroy'): JQuery;
|
119
|
+
|
120
|
+
<K extends keyof TransitionSettings>(
|
121
|
+
behavior: 'setting',
|
122
|
+
name: K,
|
123
|
+
value?: undefined,
|
124
|
+
): TransitionSettings._Impl[K];
|
125
|
+
<K extends keyof TransitionSettings>(behavior: 'setting', name: K, value: TransitionSettings._Impl[K]): JQuery;
|
126
|
+
(behavior: 'setting', value: TransitionSettings): JQuery;
|
127
|
+
(settings?: TransitionSettings): JQuery;
|
128
|
+
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* @see {@link https://fomantic-ui.com/modules/transition.html#/settings}
|
132
|
+
*/
|
133
|
+
type TransitionSettings = TransitionSettings.Param;
|
134
|
+
|
135
|
+
namespace TransitionSettings {
|
136
|
+
type Param = (
|
137
|
+
| Pick<_Impl, 'animation'>
|
138
|
+
| Pick<_Impl, 'interval'>
|
139
|
+
| Pick<_Impl, 'reverse'>
|
140
|
+
| Pick<_Impl, 'displayType'>
|
141
|
+
| Pick<_Impl, 'duration'>
|
142
|
+
| Pick<_Impl, 'useFailSafe'>
|
143
|
+
| Pick<_Impl, 'allowRepeats'>
|
144
|
+
| Pick<_Impl, 'queue'>
|
145
|
+
| Pick<_Impl, 'skipInlineHidden'>
|
146
|
+
| Pick<_Impl, 'onShow'>
|
147
|
+
| Pick<_Impl, 'onBeforeShow'>
|
148
|
+
| Pick<_Impl, 'onVisible'>
|
149
|
+
| Pick<_Impl, 'onHide'>
|
150
|
+
| Pick<_Impl, 'onBeforeHide'>
|
151
|
+
| Pick<_Impl, 'onHidden'>
|
152
|
+
| Pick<_Impl, 'onStart'>
|
153
|
+
| Pick<_Impl, 'onComplete'>
|
154
|
+
| Pick<_Impl, 'className'>
|
155
|
+
| Pick<_Impl, 'name'>
|
156
|
+
| Pick<_Impl, 'namespace'>
|
157
|
+
| Pick<_Impl, 'silent'>
|
158
|
+
| Pick<_Impl, 'debug'>
|
159
|
+
| Pick<_Impl, 'performance'>
|
160
|
+
| Pick<_Impl, 'verbose'>
|
161
|
+
| Pick<_Impl, 'errors'>
|
162
|
+
) &
|
163
|
+
Partial<Pick<_Impl, keyof _Impl>>;
|
164
|
+
|
165
|
+
interface _Impl {
|
166
|
+
// region Transition Settings
|
167
|
+
|
168
|
+
/**
|
169
|
+
* Named animation event to used.
|
170
|
+
* Must be defined in CSS.
|
171
|
+
* @default 'fade'
|
172
|
+
*/
|
173
|
+
animation: string;
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Interval in MS between each elements transition.
|
177
|
+
* @default 0
|
178
|
+
*/
|
179
|
+
interval: number;
|
180
|
+
|
181
|
+
/**
|
182
|
+
* When an interval is specified, sets order of animations. 'auto' reverses only animations that are hiding.
|
183
|
+
* @default 'auto'
|
184
|
+
*/
|
185
|
+
reverse: string | boolean;
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Specify the final display type (block, inline-block etc) so that it doesn't have to be calculated.
|
189
|
+
* @default false
|
190
|
+
*/
|
191
|
+
displayType: false | string;
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Specify the final display type (block, inline-block etc) so that it doesn't have to be calculated.
|
195
|
+
* @default '500ms'
|
196
|
+
*/
|
197
|
+
duration: string;
|
198
|
+
|
199
|
+
/**
|
200
|
+
* If enabled a 'timeout' will be added to ensure 'animationend' callback occurs even if element is hidden.
|
201
|
+
* @default true
|
202
|
+
*/
|
203
|
+
useFailSafe: boolean;
|
204
|
+
|
205
|
+
/**
|
206
|
+
* If enabled will allow same animation to be queued while it is already occurring.
|
207
|
+
* @default false
|
208
|
+
*/
|
209
|
+
allowRepeats: boolean;
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Whether to automatically queue animation if another is occurring.
|
213
|
+
* @default true
|
214
|
+
*/
|
215
|
+
queue: boolean;
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Whether initially inline hidden objects should be skipped for transition.
|
219
|
+
* Useful, if you do the transition for child objects also, but want to have inline hidden children (defined by style="display:none;") still kept hidden while the parent gets animated.
|
220
|
+
* Accordion uses this.
|
221
|
+
* @default false
|
222
|
+
*/
|
223
|
+
skipInlineHidden: boolean;
|
224
|
+
|
225
|
+
// endregion
|
226
|
+
|
227
|
+
// region Callbacks
|
228
|
+
|
229
|
+
/**
|
230
|
+
* Callback on each transition that changes visibility to shown.
|
231
|
+
* Returning 'false' from this callback will cancel the transition from showing.
|
232
|
+
*/
|
233
|
+
onShow(this: JQuery): boolean;
|
234
|
+
|
235
|
+
/**
|
236
|
+
* Callback right before the show transition should start.
|
237
|
+
* The 'showFunction' parameter has to be called inside the callback to trigger the transition show
|
238
|
+
*/
|
239
|
+
onBeforeShow(this: JQuery, showFunction: Function): void;
|
240
|
+
|
241
|
+
/**
|
242
|
+
* Callback once the show transition has finished.
|
243
|
+
*/
|
244
|
+
onVisible(this: JQuery): void;
|
245
|
+
|
246
|
+
/**
|
247
|
+
* Callback on each transition that changes visibility to hidden.
|
248
|
+
* Returning 'false' from this callback will cancel the transition from hiding.
|
249
|
+
*/
|
250
|
+
onHide(this: JQuery): boolean;
|
251
|
+
|
252
|
+
/**
|
253
|
+
* Callback right before the hide transition should start.
|
254
|
+
* The 'hideFunction' parameter has to be called inside the callback to trigger the transition hide.
|
255
|
+
*/
|
256
|
+
onBeforeHide(this: JQuery, hideFunction: Function): void;
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Callback once the transition hide has finished.
|
260
|
+
*/
|
261
|
+
onHidden(this: JQuery): void;
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Callback on animation start, useful for queued animations.
|
265
|
+
*/
|
266
|
+
onStart(this: JQuery): void;
|
267
|
+
|
268
|
+
/**
|
269
|
+
* Callback on each transition complete.
|
270
|
+
*/
|
271
|
+
onComplete(this: JQuery): void;
|
272
|
+
|
273
|
+
// endregion
|
274
|
+
|
275
|
+
// region DOM Settings
|
276
|
+
|
277
|
+
/**
|
278
|
+
* Class names used to determine element state.
|
279
|
+
*/
|
280
|
+
className: Transition.ClassNameSettings;
|
281
|
+
|
282
|
+
// endregion
|
283
|
+
|
284
|
+
// region Debug Settings
|
285
|
+
|
286
|
+
/**
|
287
|
+
* Name used in log statements
|
288
|
+
*/
|
289
|
+
name: string;
|
290
|
+
|
291
|
+
/**
|
292
|
+
* Event namespace. Makes sure module teardown does not effect other events attached to an element.
|
293
|
+
*/
|
294
|
+
namespace: string;
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Silences all console output including error messages, regardless of other debug settings.
|
298
|
+
*/
|
299
|
+
silent: boolean;
|
300
|
+
|
301
|
+
/**
|
302
|
+
* Debug output to console
|
303
|
+
*/
|
304
|
+
debug: boolean;
|
305
|
+
|
306
|
+
/**
|
307
|
+
* Show console.table output with performance metrics
|
308
|
+
*/
|
309
|
+
performance: boolean;
|
310
|
+
|
311
|
+
/**
|
312
|
+
* Debug output includes all internal behaviors
|
313
|
+
*/
|
314
|
+
verbose: boolean;
|
315
|
+
|
316
|
+
errors: Transition.ErrorSettings;
|
317
|
+
|
318
|
+
// endregion
|
319
|
+
}
|
320
|
+
|
321
|
+
namespace Transition {
|
322
|
+
type ClassNameSettings = ClassNameSettings.Param;
|
323
|
+
|
324
|
+
namespace ClassNameSettings {
|
325
|
+
type Param = (
|
326
|
+
| Pick<_Impl, 'animating'>
|
327
|
+
| Pick<_Impl, 'disabled'>
|
328
|
+
| Pick<_Impl, 'hidden'>
|
329
|
+
| Pick<_Impl, 'inward'>
|
330
|
+
| Pick<_Impl, 'loading'>
|
331
|
+
| Pick<_Impl, 'looping'>
|
332
|
+
| Pick<_Impl, 'outward'>
|
333
|
+
| Pick<_Impl, 'transition'>
|
334
|
+
| Pick<_Impl, 'visible'>
|
335
|
+
) &
|
336
|
+
Partial<Pick<_Impl, keyof _Impl>>;
|
337
|
+
|
338
|
+
interface _Impl {
|
339
|
+
/**
|
340
|
+
* @default 'animating'
|
341
|
+
*/
|
342
|
+
animating: string;
|
343
|
+
|
344
|
+
/**
|
345
|
+
* @default 'disabled'
|
346
|
+
*/
|
347
|
+
disabled: string;
|
348
|
+
|
349
|
+
/**
|
350
|
+
* @default 'hidden'
|
351
|
+
*/
|
352
|
+
hidden: string;
|
353
|
+
|
354
|
+
/**
|
355
|
+
* @default 'in'
|
356
|
+
*/
|
357
|
+
inward: string;
|
358
|
+
|
359
|
+
/**
|
360
|
+
* @default 'loading'
|
361
|
+
*/
|
362
|
+
loading: string;
|
363
|
+
|
364
|
+
/**
|
365
|
+
* @default 'looping'
|
366
|
+
*/
|
367
|
+
looping: string;
|
368
|
+
|
369
|
+
/**
|
370
|
+
* @default 'out'
|
371
|
+
*/
|
372
|
+
outward: string;
|
373
|
+
|
374
|
+
/**
|
375
|
+
* @default 'transition'
|
376
|
+
*/
|
377
|
+
transition: string;
|
378
|
+
|
379
|
+
/**
|
380
|
+
* @default 'visible'
|
381
|
+
*/
|
382
|
+
visible: string;
|
383
|
+
}
|
384
|
+
}
|
385
|
+
|
386
|
+
type ErrorSettings = ErrorSettings.Param;
|
387
|
+
|
388
|
+
namespace ErrorSettings {
|
389
|
+
type Param = (Pick<_Impl, 'noAnimation'> | Pick<_Impl, 'method'>) & Partial<Pick<_Impl, keyof _Impl>>;
|
390
|
+
|
391
|
+
interface _Impl {
|
392
|
+
/**
|
393
|
+
* @default 'You called a rating action that was not defined'
|
394
|
+
*/
|
395
|
+
noAnimation: string;
|
396
|
+
|
397
|
+
/**
|
398
|
+
* @default 'The method you called is not defined'
|
399
|
+
*/
|
400
|
+
method: string;
|
401
|
+
}
|
402
|
+
}
|
403
|
+
}
|
404
|
+
}
|
405
|
+
}
|