@northdata/fomantic-ui 2.8.722 → 2.9.401

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/lib/semantic-ui/dist/components/accordion.css +62 -69
  2. package/lib/semantic-ui/dist/components/accordion.js +595 -618
  3. package/lib/semantic-ui/dist/components/accordion.min.css +4 -4
  4. package/lib/semantic-ui/dist/components/accordion.min.js +6 -6
  5. package/lib/semantic-ui/dist/components/api.js +1225 -1177
  6. package/lib/semantic-ui/dist/components/api.min.js +6 -6
  7. package/lib/semantic-ui/dist/components/button.css +291 -634
  8. package/lib/semantic-ui/dist/components/button.min.css +4 -4
  9. package/lib/semantic-ui/dist/components/calendar.css +149 -33
  10. package/lib/semantic-ui/dist/components/calendar.js +2045 -1774
  11. package/lib/semantic-ui/dist/components/calendar.min.css +4 -4
  12. package/lib/semantic-ui/dist/components/calendar.min.js +6 -6
  13. package/lib/semantic-ui/dist/components/card.css +147 -537
  14. package/lib/semantic-ui/dist/components/card.min.css +4 -4
  15. package/lib/semantic-ui/dist/components/checkbox.css +215 -405
  16. package/lib/semantic-ui/dist/components/checkbox.js +888 -876
  17. package/lib/semantic-ui/dist/components/checkbox.min.css +4 -4
  18. package/lib/semantic-ui/dist/components/checkbox.min.js +6 -6
  19. package/lib/semantic-ui/dist/components/container.css +20 -21
  20. package/lib/semantic-ui/dist/components/container.min.css +4 -4
  21. package/lib/semantic-ui/dist/components/dimmer.css +76 -184
  22. package/lib/semantic-ui/dist/components/dimmer.js +732 -753
  23. package/lib/semantic-ui/dist/components/dimmer.min.css +4 -4
  24. package/lib/semantic-ui/dist/components/dimmer.min.js +6 -6
  25. package/lib/semantic-ui/dist/components/divider.css +81 -88
  26. package/lib/semantic-ui/dist/components/divider.min.css +4 -4
  27. package/lib/semantic-ui/dist/components/dropdown.css +431 -450
  28. package/lib/semantic-ui/dist/components/dropdown.js +4432 -4238
  29. package/lib/semantic-ui/dist/components/dropdown.min.css +4 -4
  30. package/lib/semantic-ui/dist/components/dropdown.min.js +6 -6
  31. package/lib/semantic-ui/dist/components/feed.css +130 -87
  32. package/lib/semantic-ui/dist/components/feed.min.css +4 -4
  33. package/lib/semantic-ui/dist/components/flag.css +541 -511
  34. package/lib/semantic-ui/dist/components/flag.min.css +4 -4
  35. package/lib/semantic-ui/dist/components/form.css +437 -476
  36. package/lib/semantic-ui/dist/components/form.js +2199 -2033
  37. package/lib/semantic-ui/dist/components/form.min.css +4 -4
  38. package/lib/semantic-ui/dist/components/form.min.js +6 -6
  39. package/lib/semantic-ui/dist/components/grid.css +151 -306
  40. package/lib/semantic-ui/dist/components/grid.min.css +4 -4
  41. package/lib/semantic-ui/dist/components/header.css +82 -99
  42. package/lib/semantic-ui/dist/components/header.min.css +4 -4
  43. package/lib/semantic-ui/dist/components/icon.css +2744 -2706
  44. package/lib/semantic-ui/dist/components/icon.min.css +4 -4
  45. package/lib/semantic-ui/dist/components/image.css +38 -73
  46. package/lib/semantic-ui/dist/components/image.min.css +4 -4
  47. package/lib/semantic-ui/dist/components/input.css +344 -254
  48. package/lib/semantic-ui/dist/components/input.min.css +4 -4
  49. package/lib/semantic-ui/dist/components/item.css +91 -139
  50. package/lib/semantic-ui/dist/components/item.min.css +4 -4
  51. package/lib/semantic-ui/dist/components/label.css +244 -267
  52. package/lib/semantic-ui/dist/components/label.min.css +4 -4
  53. package/lib/semantic-ui/dist/components/list.css +75 -113
  54. package/lib/semantic-ui/dist/components/list.min.css +4 -4
  55. package/lib/semantic-ui/dist/components/loader.css +142 -601
  56. package/lib/semantic-ui/dist/components/loader.min.css +4 -4
  57. package/lib/semantic-ui/dist/components/menu.css +398 -638
  58. package/lib/semantic-ui/dist/components/menu.min.css +9 -1
  59. package/lib/semantic-ui/dist/components/message.css +116 -332
  60. package/lib/semantic-ui/dist/components/message.min.css +4 -4
  61. package/lib/semantic-ui/dist/components/modal.css +149 -138
  62. package/lib/semantic-ui/dist/components/modal.js +1637 -1209
  63. package/lib/semantic-ui/dist/components/modal.min.css +4 -4
  64. package/lib/semantic-ui/dist/components/modal.min.js +6 -6
  65. package/lib/semantic-ui/dist/components/popup.css +284 -277
  66. package/lib/semantic-ui/dist/components/popup.js +1561 -1541
  67. package/lib/semantic-ui/dist/components/popup.min.css +4 -4
  68. package/lib/semantic-ui/dist/components/popup.min.js +6 -6
  69. package/lib/semantic-ui/dist/components/reset.css +12 -17
  70. package/lib/semantic-ui/dist/components/reset.min.css +4 -4
  71. package/lib/semantic-ui/dist/components/search.css +99 -137
  72. package/lib/semantic-ui/dist/components/search.js +1641 -1565
  73. package/lib/semantic-ui/dist/components/search.min.css +4 -4
  74. package/lib/semantic-ui/dist/components/search.min.js +6 -6
  75. package/lib/semantic-ui/dist/components/segment.css +149 -275
  76. package/lib/semantic-ui/dist/components/segment.min.css +4 -4
  77. package/lib/semantic-ui/dist/components/site.css +40 -48
  78. package/lib/semantic-ui/dist/components/site.js +455 -493
  79. package/lib/semantic-ui/dist/components/site.min.css +4 -4
  80. package/lib/semantic-ui/dist/components/site.min.js +6 -6
  81. package/lib/semantic-ui/dist/components/tab.css +16 -20
  82. package/lib/semantic-ui/dist/components/tab.js +967 -1001
  83. package/lib/semantic-ui/dist/components/tab.min.css +4 -4
  84. package/lib/semantic-ui/dist/components/tab.min.js +6 -6
  85. package/lib/semantic-ui/dist/components/table.css +465 -424
  86. package/lib/semantic-ui/dist/components/table.min.css +4 -4
  87. package/lib/semantic-ui/dist/components/transition.css +264 -1282
  88. package/lib/semantic-ui/dist/components/transition.js +1034 -1109
  89. package/lib/semantic-ui/dist/components/transition.min.css +4 -4
  90. package/lib/semantic-ui/dist/components/transition.min.js +6 -6
  91. package/lib/semantic-ui/dist/semantic-packed.css +5610 -6590
  92. package/lib/semantic-ui/dist/semantic.css +8547 -11697
  93. package/lib/semantic-ui/dist/semantic.full.css +14698 -11227
  94. package/lib/semantic-ui/dist/semantic.full.min.css +6 -262
  95. package/lib/semantic-ui/dist/semantic.js +19428 -19253
  96. package/lib/semantic-ui/dist/semantic.min.css +128 -128
  97. package/lib/semantic-ui/dist/semantic.min.js +6 -6
  98. package/lib/semantic-ui/dist/themes/basic/assets/fonts/LICENSE.txt +91 -0
  99. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  100. package/lib/semantic-ui/dist/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
  101. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  102. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  103. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.woff +0 -0
  104. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  105. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  106. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  107. package/lib/semantic-ui/types/fomantic-ui-accordion.d.ts +244 -0
  108. package/lib/semantic-ui/types/fomantic-ui-api.d.ts +561 -0
  109. package/lib/semantic-ui/types/fomantic-ui-calendar.d.ts +867 -0
  110. package/lib/semantic-ui/types/fomantic-ui-checkbox.d.ts +342 -0
  111. package/lib/semantic-ui/types/fomantic-ui-dimmer.d.ts +408 -0
  112. package/lib/semantic-ui/types/fomantic-ui-dropdown.d.ts +1221 -0
  113. package/lib/semantic-ui/types/fomantic-ui-embed.d.ts +343 -0
  114. package/lib/semantic-ui/types/fomantic-ui-flyout.d.ts +539 -0
  115. package/lib/semantic-ui/types/fomantic-ui-form.d.ts +759 -0
  116. package/lib/semantic-ui/types/fomantic-ui-modal.d.ts +567 -0
  117. package/lib/semantic-ui/types/fomantic-ui-nag.d.ts +270 -0
  118. package/lib/semantic-ui/types/fomantic-ui-popup.d.ts +549 -0
  119. package/lib/semantic-ui/types/fomantic-ui-progress.d.ts +465 -0
  120. package/lib/semantic-ui/types/fomantic-ui-rating.d.ts +187 -0
  121. package/lib/semantic-ui/types/fomantic-ui-search.d.ts +612 -0
  122. package/lib/semantic-ui/types/fomantic-ui-shape.d.ts +274 -0
  123. package/lib/semantic-ui/types/fomantic-ui-sidebar.d.ts +402 -0
  124. package/lib/semantic-ui/types/fomantic-ui-slider.d.ts +368 -0
  125. package/lib/semantic-ui/types/fomantic-ui-sticky.d.ts +215 -0
  126. package/lib/semantic-ui/types/fomantic-ui-tab.d.ts +361 -0
  127. package/lib/semantic-ui/types/fomantic-ui-toast.d.ts +526 -0
  128. package/lib/semantic-ui/types/fomantic-ui-transition.d.ts +389 -0
  129. package/lib/semantic-ui/types/fomantic-ui-visibility.d.ts +355 -0
  130. package/lib/semantic-ui/types/index.d.ts +63 -0
  131. package/package.json +19 -8
  132. package/lib/semantic-ui/dist/components/shape.css +0 -160
  133. package/lib/semantic-ui/dist/components/shape.js +0 -848
  134. package/lib/semantic-ui/dist/components/shape.min.css +0 -9
  135. package/lib/semantic-ui/dist/components/shape.min.js +0 -11
  136. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.eot +0 -0
  137. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.svg +0 -450
  138. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.ttf +0 -0
  139. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  140. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.svg +0 -3570
  141. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  142. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.eot +0 -0
  143. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.svg +0 -4938
  144. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.ttf +0 -0
  145. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  146. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.svg +0 -803
  147. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  148. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons-local.ttf +0 -0
  149. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.svg +0 -200
  150. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.ttf +0 -0
  151. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.woff +0 -0
  152. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.eot +0 -0
  153. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.svg +0 -2373
  154. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.ttf +0 -0
  155. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.woff +0 -0
  156. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.woff2 +0 -0
  157. /package/lib/semantic-ui/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
@@ -0,0 +1,526 @@
1
+ declare namespace FomanticUI {
2
+ interface Toast {
3
+ settings: ToastSettings;
4
+
5
+ /**
6
+ * Pauses the display time decrease (and possible progress bar animation)
7
+ */
8
+ (behavior: 'animate pause'): JQuery;
9
+
10
+ /**
11
+ * Continues decreasing display time (and possible progress bar animation)
12
+ */
13
+ (behavior: 'animate continue'): JQuery;
14
+
15
+ /**
16
+ * Show the toast
17
+ */
18
+ (behavior: 'show'): JQuery;
19
+
20
+ /**
21
+ * Closes the toast
22
+ */
23
+ (behavior: 'close'): JQuery;
24
+
25
+ /**
26
+ * Returns all toasts as an array of objects which are visible within the current toast-container
27
+ */
28
+ (behavior: 'get toasts'): object[];
29
+
30
+ /**
31
+ * Returns the remaining time in milliseconds
32
+ */
33
+ (behavior: 'get remainingTime'): number;
34
+
35
+ (behavior: 'refresh' | 'destroy'): JQuery;
36
+ <K extends keyof ToastSettings>(behavior: 'setting', name: K, value?: undefined,): Partial<Pick<ToastSettings, keyof ToastSettings>>;
37
+ <K extends keyof ToastSettings>(behavior: 'setting', name: K, value: ToastSettings[K]): JQuery;
38
+ (behavior: 'setting', value: Partial<Pick<ToastSettings, keyof ToastSettings>>): JQuery;
39
+ (settings?: Partial<Pick<ToastSettings, keyof ToastSettings>>): JQuery;
40
+ }
41
+
42
+ /**
43
+ * @see {@link https://fomantic-ui.com/modules/toast.html#/settings}
44
+ */
45
+ interface ToastSettings {
46
+ // region Toast Settings
47
+
48
+ /**
49
+ * Sets where the toast can be displayed. Can be 'top right', 'top center', 'top left', 'bottom right', 'bottom center' and 'bottom left'.
50
+ *
51
+ * @default 'top right'
52
+ */
53
+ position: string;
54
+
55
+ /**
56
+ * If the toasts should stack horizontal instead of vertical.
57
+ *
58
+ * @default false
59
+ */
60
+ horizontal: boolean;
61
+
62
+ /**
63
+ * Define the class of notification. Can be any existing color definition or 'info', 'success', 'warning' and 'error'.
64
+ * If ui message is used in className.toast option (see below), this option can hold any supported class of the message component.
65
+ *
66
+ * @default 'neutral'
67
+ */
68
+ class: string;
69
+
70
+ /**
71
+ * Can hold a string to be added to the progress bar class, for example a separate color
72
+ *
73
+ * @default false
74
+ */
75
+ classProgress: false | string;
76
+
77
+ /**
78
+ * Can hold a string to be added to the actions class to control its appearance.
79
+ * Usually a combination of 'basic', 'left', 'top', 'bottom', 'vertical' and 'attached'.
80
+ *
81
+ * @default false
82
+ */
83
+ classActions: false | string;
84
+
85
+ /**
86
+ * Can hold a string to be added to the image class. 'mini', 'tiny', 'small' and 'avatar' are supported out of the box.
87
+ *
88
+ * @default 'mini'
89
+ */
90
+ classImage: string;
91
+
92
+ /**
93
+ * Selector or jquery object specifying the area to attach the toast container to.
94
+ *
95
+ * @default 'body'
96
+ */
97
+ context: string | JQuery;
98
+
99
+ /**
100
+ * Set the time (in ms) of the toast appearance. Set '0' to disable the automatic dismissal.
101
+ * Set 'auto' to calculate the time by the given amount of words within the toast.
102
+ *
103
+ * @default 3000
104
+ */
105
+ displayTime: number | 'auto';
106
+
107
+ /**
108
+ * Minimum display time in case displayTime is set to 'auto'.
109
+ *
110
+ * @default 1000
111
+ */
112
+ minDisplayTime: number;
113
+
114
+ /**
115
+ * Base to calculate display time in case displayTime is set to 'auto'.
116
+ *
117
+ * @default 120
118
+ */
119
+ wordsPerMinute: number;
120
+
121
+ /**
122
+ * If an URL to an image is given, that image will be shown to the left of the toast.
123
+ *
124
+ * @default false
125
+ */
126
+ showImage: false | string;
127
+
128
+ /**
129
+ * Alt text for a given showImage.
130
+ *
131
+ * @default false
132
+ */
133
+ alt: false | string;
134
+
135
+ /**
136
+ * Define if the toast should display an icon which matches to a given class.
137
+ * If a string is given, this will be used as icon classname.
138
+ *
139
+ * @default true
140
+ */
141
+ showIcon: boolean | string;
142
+
143
+ /**
144
+ * This will make the toast closable by the top right corner icon instead of clicking anywhere on the toast when set to 'true'.
145
+ * When set to 'left' the closeIcon is shown to the left instead of right.
146
+ *
147
+ * @default false
148
+ */
149
+ closeIcon: boolean | 'left';
150
+
151
+ /**
152
+ * Set to 'false' to avoid closing the toast when it is clicked.
153
+ *
154
+ * @default true
155
+ */
156
+ closeOnClick: boolean;
157
+
158
+ /**
159
+ * If a given DOM-Node should stay reusable by using a clone of it as toast.
160
+ * If set to false the original DOM-Node will be detached and removed from the DOM then the toast is closed.
161
+ *
162
+ * @default true
163
+ */
164
+ cloneModule: boolean;
165
+
166
+ /**
167
+ * Displays a progress bar on 'top' or 'bottom' increasing until 'displayTime' is reached.
168
+ * 'false' won't display any progress bar. If 'displayTime' option is '0', this option is ignored.
169
+ *
170
+ * @default false
171
+ */
172
+ showProgress: boolean | 'top' | 'bottom';
173
+
174
+ /**
175
+ * 'true' Increases the progress bar from 0% to 100%.
176
+ * 'false' Decreases the progress bar from 100% to 0%.
177
+ *
178
+ * @default false
179
+ */
180
+ progressUp: boolean;
181
+
182
+ /**
183
+ * Set to 'false' if the display timer should not pause when the toast is hovered.
184
+ *
185
+ * @default true
186
+ */
187
+ pauseOnHover: boolean;
188
+
189
+ /**
190
+ * 'true' will display the toast in a fixed width, 'false' displays the toast responsively with dynamic width.
191
+ *
192
+ * @default true
193
+ */
194
+ compact: boolean;
195
+
196
+ /**
197
+ * Opacity value of the toast after the show-transition.
198
+ *
199
+ * @default 1
200
+ */
201
+ opacity: number;
202
+
203
+ /**
204
+ * Define if new toasts should be displayed above the others.
205
+ *
206
+ * @default false
207
+ */
208
+ newestOnTop: boolean;
209
+
210
+ /**
211
+ * Whether HTML included in given title, message or actions should be preserved.
212
+ * Set to 'false' in case you work with untrusted 3rd party content.
213
+ *
214
+ * @default true
215
+ */
216
+ preserveHTML: boolean;
217
+
218
+ /**
219
+ * Settings to set the transitions and durations during the show or the hide of a toast.
220
+ */
221
+ transition: Toast.TransitionSettings;
222
+
223
+ // endregion
224
+
225
+ // region Callbacks
226
+
227
+ /**
228
+ * Callback before toast is shown. Returning 'false' from this callback will cancel the toast from showing.
229
+ */
230
+ onShow(this: JQuery): void;
231
+
232
+ /**
233
+ * Callback before toast is shown. Returning false from this callback will cancel the toast from showing..
234
+ */
235
+ onVisible(this: JQuery): void;
236
+
237
+ /**
238
+ * Callback after popup is clicked in
239
+ */
240
+ onClick(this: JQuery): void;
241
+
242
+ /**
243
+ * Callback before toast is hidden. Returning 'false' from this callback will cancel the toast from hiding.
244
+ */
245
+ onHide(this: JQuery): void;
246
+
247
+ /**
248
+ * Callback after toast is hidden.
249
+ */
250
+ onHidden(this: JQuery): void;
251
+
252
+ /**
253
+ * Callback before toast is destroyed.
254
+ */
255
+ onRemove(this: JQuery): void;
256
+
257
+ /**
258
+ * Callback when an existing button with class 'positive' or 'ok' or 'approve' is clicked. Return 'false' to avoid closing the toast.
259
+ */
260
+ onApprove(this: JQuery): void;
261
+
262
+ /**
263
+ * Callback when an existing button with class 'negative' or 'cancel' or 'deny' is clicked. Return 'false' to avoid closing the toast.
264
+ */
265
+ onDeny(this: JQuery): void;
266
+
267
+ // endregion
268
+
269
+ // region Content Settings
270
+
271
+ /**
272
+ * A title for the toast. Leave empty to not display it.
273
+ *
274
+ * @default ''
275
+ */
276
+ title: string;
277
+
278
+ /**
279
+ * Message to display.
280
+ *
281
+ * @default ''
282
+ */
283
+ message: string;
284
+
285
+ /**
286
+ * An array of objects. Each object defines an action with 'properties' 'text', 'class', 'icon' and 'click'.
287
+ */
288
+ actions: Toast.ActionsSettings[];
289
+
290
+ // endregion
291
+
292
+ // region DOM Settings
293
+
294
+ /**
295
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
296
+ * @default 'toast'
297
+ */
298
+ namespace: string;
299
+
300
+ /**
301
+ * DOM Selectors used internally.
302
+ */
303
+ selector: Toast.SelectorSettings;
304
+
305
+ /**
306
+ * Class names used to attach style to state.
307
+ */
308
+ className: Toast.ClassNameSettings;
309
+
310
+ /**
311
+ * Icon names used internally.
312
+ */
313
+ icons: Toast.IconSettings;
314
+
315
+ // endregion
316
+
317
+ // region Debug Settings
318
+
319
+ /**
320
+ * Name used in log statements
321
+ * @default 'Toast'
322
+ */
323
+ name: string;
324
+
325
+ /**
326
+ * Silences all console output including error messages, regardless of other debug settings.
327
+ * @default false
328
+ */
329
+ silent: boolean;
330
+
331
+ /**
332
+ * Debug output to console
333
+ * @default false
334
+ */
335
+ debug: boolean;
336
+
337
+ /**
338
+ * Show console.table output with performance metrics
339
+ * @default true
340
+ */
341
+ performance: boolean;
342
+
343
+ /**
344
+ * Debug output includes all internal behaviors
345
+ * @default false
346
+ */
347
+ verbose: boolean;
348
+
349
+ error: Toast.ErrorSettings;
350
+
351
+ // endregion
352
+ }
353
+
354
+ namespace Toast {
355
+ type TransitionSettings = Partial<Pick<Settings.Transition, keyof Settings.Transition>>;
356
+ type ActionsSettings = Partial<Pick<Settings.Actions, keyof Settings.Actions>>;
357
+ type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
358
+ type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
359
+ type IconSettings = Partial<Pick<Settings.Icons, keyof Settings.Icons>>;
360
+ type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
361
+
362
+ namespace Settings {
363
+ interface Transition {
364
+ /**
365
+ * @default 'scale'
366
+ */
367
+ showMethod: string;
368
+
369
+ /**
370
+ * @default 500
371
+ */
372
+ showDuration: number;
373
+
374
+ /**
375
+ * @default 'scale'
376
+ */
377
+ hideMethod: string;
378
+
379
+ /**
380
+ * @default 500
381
+ */
382
+ hideDuration: number;
383
+
384
+ /**
385
+ * @default 'closeEasing'
386
+ */
387
+ closeEasing: string;
388
+ }
389
+
390
+ interface Actions {
391
+ /**
392
+ * @default 'Wait'
393
+ */
394
+ text: string;
395
+
396
+ /**
397
+ * @default 'red'
398
+ */
399
+ class: string;
400
+
401
+ /**
402
+ * @default 'exclamation'
403
+ */
404
+ icon: string;
405
+
406
+ /**
407
+ * @default function() {}
408
+ */
409
+ click: () => void;
410
+ }
411
+
412
+ interface Selectors {
413
+ /**
414
+ * @default '.ui.toast-container'
415
+ */
416
+ container: string;
417
+
418
+ /**
419
+ * @default '.toast-box'
420
+ */
421
+ box: string;
422
+
423
+ /**
424
+ * @default '.ui.toast'
425
+ */
426
+ toast: string;
427
+
428
+ /**
429
+ * @default 'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown'
430
+ */
431
+ input: string;
432
+
433
+ /**
434
+ * @default '.actions .positive, .actions .approve, .actions .ok'
435
+ */
436
+ approve: string;
437
+
438
+ /**
439
+ * @default '.actions .negative, .actions .deny, .actions .cancel'
440
+ */
441
+ deny: string;
442
+ }
443
+
444
+ interface ClassNames {
445
+ /**
446
+ * @default 'toast-container'
447
+ */
448
+ container: string;
449
+
450
+ /**
451
+ * @default 'toast-box'
452
+ */
453
+ box: string;
454
+
455
+ /**
456
+ * @default 'ui attached active progress'
457
+ */
458
+ progress: string;
459
+
460
+ /**
461
+ * @default 'ui toast'
462
+ */
463
+ toast: string;
464
+
465
+ /**
466
+ * @default 'icon'
467
+ */
468
+ icon: string;
469
+
470
+ /**
471
+ * @default 'visible'
472
+ */
473
+ visible: string;
474
+
475
+ /**
476
+ * @default 'content'
477
+ */
478
+ content: string;
479
+
480
+ /**
481
+ * @default 'header'
482
+ */
483
+ title: string;
484
+ }
485
+
486
+ interface Icons {
487
+ /**
488
+ * @default 'info'
489
+ */
490
+ info: string;
491
+
492
+ /**
493
+ * @default 'checkmark'
494
+ */
495
+ success: string;
496
+
497
+ /**
498
+ * @default 'warning'
499
+ */
500
+ warning: string;
501
+
502
+ /**
503
+ * @default 'times'
504
+ */
505
+ error: string;
506
+ }
507
+
508
+ interface Errors {
509
+ /**
510
+ * @default 'The method you called is not defined.'
511
+ */
512
+ method: string;
513
+
514
+ /**
515
+ * @default 'This module requires ui transitions.'
516
+ */
517
+ noElement: string;
518
+
519
+ /**
520
+ * @default 'Vertical but not attached actions are not supported for card layout.'
521
+ */
522
+ verticalCard: string;
523
+ }
524
+ }
525
+ }
526
+ }