|
1 | | -import OneSignalEvent from '../../shared/services/OneSignalEvent'; |
| 1 | +import { SERVER_CONFIG_DEFAULTS_SLIDEDOWN } from '../../shared/config/constants'; |
| 2 | +import { Utils } from '../../shared/context/Utils'; |
2 | 3 | import MainHelper from '../../shared/helpers/MainHelper'; |
| 4 | +import PromptsHelper from '../../shared/helpers/PromptsHelper'; |
| 5 | +import { |
| 6 | + DelayedPromptType, |
| 7 | + SlidedownPromptOptions, |
| 8 | +} from '../../shared/models/Prompts'; |
| 9 | +import OneSignalEvent from '../../shared/services/OneSignalEvent'; |
| 10 | +import { |
| 11 | + COLORS, |
| 12 | + SLIDEDOWN_CSS_CLASSES, |
| 13 | + SLIDEDOWN_CSS_IDS, |
| 14 | +} from '../../shared/slidedown/constants'; |
| 15 | +import { bowserCastle } from '../../shared/utils/bowserCastle'; |
3 | 16 | import { |
4 | 17 | addCssClass, |
5 | 18 | addDomElement, |
| 19 | + getDomElementOrStub, |
6 | 20 | getPlatformNotificationIcon, |
7 | 21 | once, |
8 | | - removeDomElement, |
9 | 22 | removeCssClass, |
10 | | - getDomElementOrStub, |
| 23 | + removeDomElement, |
11 | 24 | } from '../../shared/utils/utils'; |
12 | | -import { SERVER_CONFIG_DEFAULTS_SLIDEDOWN } from '../../shared/config/constants'; |
| 25 | +import { InvalidChannelInputField } from '../errors/ChannelCaptureError'; |
| 26 | +import { TagCategory } from '../models/Tags'; |
| 27 | +import type { NotificationIcons } from '../types'; |
| 28 | +import ChannelCaptureContainer from './ChannelCaptureContainer'; |
13 | 29 | import { getLoadingIndicatorWithColor } from './LoadingIndicator'; |
14 | 30 | import { getRetryIndicator } from './RetryIndicator'; |
15 | | -import { |
16 | | - SLIDEDOWN_CSS_CLASSES, |
17 | | - SLIDEDOWN_CSS_IDS, |
18 | | - COLORS, |
19 | | -} from '../../shared/slidedown/constants'; |
20 | | -import { TagCategory } from '../models/Tags'; |
21 | 31 | import { getSlidedownElement } from './SlidedownElement'; |
22 | | -import { Utils } from '../../shared/context/Utils'; |
23 | | -import ChannelCaptureContainer from './ChannelCaptureContainer'; |
24 | | -import PromptsHelper from '../../shared/helpers/PromptsHelper'; |
25 | | -import { |
26 | | - SlidedownPromptOptions, |
27 | | - DelayedPromptType, |
28 | | -} from '../../shared/models/Prompts'; |
29 | | -import { InvalidChannelInputField } from '../errors/ChannelCaptureError'; |
30 | | -import { bowserCastle } from '../../shared/utils/bowserCastle'; |
31 | 32 |
|
32 | 33 | export default class Slidedown { |
33 | 34 | public options: SlidedownPromptOptions; |
|
0 commit comments