ng-zenduit 2.2.5 → 2.3.1
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/fesm2022/ng-zenduit.mjs +135 -67
- package/fesm2022/ng-zenduit.mjs.map +1 -1
- package/package.json +2 -2
- package/styles/all.scss +0 -1
- package/types/ng-zenduit.d.ts +49 -12
- package/styles/snackbar.scss +0 -91
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-zenduit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=22.0.0 <23.0.0",
|
|
6
6
|
"@angular/core": ">=22.0.0 <23.0.0",
|
|
7
|
+
"@angular/cdk": ">=22.0.0 <23.0.0",
|
|
7
8
|
"google-libphonenumber": ">=3.2.27",
|
|
8
9
|
"lodash.uniqby": ">=4.7.0",
|
|
9
10
|
"moment": ">=2.29.1",
|
|
@@ -14,7 +15,6 @@
|
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"tslib": "^2.3.0",
|
|
17
|
-
"node-snackbar": "^0.1.16",
|
|
18
18
|
"fabric": "^5.3.0",
|
|
19
19
|
"hls.js": "^1.6.16"
|
|
20
20
|
},
|
package/styles/all.scss
CHANGED
package/types/ng-zenduit.d.ts
CHANGED
|
@@ -1,28 +1,43 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, OnInit, ElementRef, NgZone, TemplateRef, OnChanges, ViewContainerRef, SimpleChanges, Renderer2, InjectionToken, AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i60 from '@angular/cdk/overlay';
|
|
4
4
|
import { Overlay } from '@angular/cdk/overlay';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i62 from '@ngx-translate/core';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i58 from '@angular/cdk/drag-drop';
|
|
8
8
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
9
9
|
import { fabric } from 'fabric';
|
|
10
10
|
import { Transform } from 'fabric/fabric-impl';
|
|
11
11
|
import { BehaviorSubject } from 'rxjs';
|
|
12
12
|
import { HttpClient } from '@angular/common/http';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i57 from '@angular/forms';
|
|
14
14
|
import { ControlValueAccessor } from '@angular/forms';
|
|
15
15
|
import { ChartData, ChartConfiguration } from 'chart.js';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i61 from 'ng2-charts';
|
|
17
17
|
import { BaseChartDirective } from 'ng2-charts';
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
18
|
+
import * as i56 from '@angular/common';
|
|
19
|
+
import * as i59 from '@almothafar/angular-signature-pad';
|
|
20
20
|
|
|
21
21
|
declare class ZenNotifyService {
|
|
22
|
+
private readonly _overlay;
|
|
23
|
+
private readonly _injector;
|
|
24
|
+
/** The currently shown snackbar overlay, if any. */
|
|
25
|
+
private _overlayRef;
|
|
26
|
+
/** Auto-dismiss timer handle for the current snackbar. */
|
|
27
|
+
private _timer;
|
|
22
28
|
info(msg: string, duration?: number, hasDismiss?: boolean): void;
|
|
29
|
+
neutral(msg: string, duration?: number, hasDismiss?: boolean): void;
|
|
23
30
|
success(msg: string, duration?: number, hasDismiss?: boolean): void;
|
|
24
31
|
warn(msg: string, duration?: number, hasDismiss?: boolean): void;
|
|
25
32
|
error(err: unknown, duration?: number, hasDismiss?: boolean): void;
|
|
33
|
+
/**
|
|
34
|
+
* Renders the snackbar through a CDK overlay so it shares the browser top
|
|
35
|
+
* layer with CDK dialogs and always paints above them. Only one snackbar is
|
|
36
|
+
* shown at a time — a new call replaces the previous one.
|
|
37
|
+
*/
|
|
38
|
+
private _show;
|
|
39
|
+
/** Disposes the active snackbar overlay and clears the auto-dismiss timer. */
|
|
40
|
+
private _dismiss;
|
|
26
41
|
private getErrorMessage;
|
|
27
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZenNotifyService, never>;
|
|
28
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZenNotifyService>;
|
|
@@ -1783,7 +1798,12 @@ declare class ZenduDatePickerDropdownComponent implements OnInit, OnChanges, OnD
|
|
|
1783
1798
|
mobileBreakpoint: number;
|
|
1784
1799
|
timePicker: boolean;
|
|
1785
1800
|
autoApply: boolean;
|
|
1786
|
-
|
|
1801
|
+
/**
|
|
1802
|
+
* Hide the built-in trigger button. The popup then anchors to the host
|
|
1803
|
+
* element, so an external control (e.g. a select) can drive it via open().
|
|
1804
|
+
*/
|
|
1805
|
+
hideTrigger: boolean;
|
|
1806
|
+
triggerBtn?: ElementRef;
|
|
1787
1807
|
mobile: boolean;
|
|
1788
1808
|
isOpen: boolean;
|
|
1789
1809
|
dropdownStyle: {
|
|
@@ -1870,7 +1890,7 @@ declare class ZenduDatePickerDropdownComponent implements OnInit, OnChanges, OnD
|
|
|
1870
1890
|
isRangeStart(day: DatePickerDay): boolean;
|
|
1871
1891
|
isRangeEnd(day: DatePickerDay): boolean;
|
|
1872
1892
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZenduDatePickerDropdownComponent, [null, null, { optional: true; }]>;
|
|
1873
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZenduDatePickerDropdownComponent, "zen-date-picker-dropdown", never, { "type": { "alias": "type"; "required": false; }; "date": { "alias": "date"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "presets": { "alias": "presets"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateMarkers": { "alias": "dateMarkers"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "autoApply": { "alias": "autoApply"; "required": false; }; }, { "dateChange": "dateChange"; "startDateChange": "startDateChange"; "endDateChange": "endDateChange"; "rangeChange": "rangeChange"; }, never, never, false, never>;
|
|
1893
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZenduDatePickerDropdownComponent, "zen-date-picker-dropdown", never, { "type": { "alias": "type"; "required": false; }; "date": { "alias": "date"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "presets": { "alias": "presets"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateMarkers": { "alias": "dateMarkers"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "autoApply": { "alias": "autoApply"; "required": false; }; "hideTrigger": { "alias": "hideTrigger"; "required": false; }; }, { "dateChange": "dateChange"; "startDateChange": "startDateChange"; "endDateChange": "endDateChange"; "rangeChange": "rangeChange"; }, never, never, false, never>;
|
|
1874
1894
|
}
|
|
1875
1895
|
|
|
1876
1896
|
interface FileUploadItem {
|
|
@@ -2567,11 +2587,28 @@ declare class ZenStepBaseComponent {
|
|
|
2567
2587
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZenStepBaseComponent, "zen-step-base", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "status": { "alias": "status"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "showConnector": { "alias": "showConnector"; "required": false; }; }, {}, never, never, false, never>;
|
|
2568
2588
|
}
|
|
2569
2589
|
|
|
2590
|
+
type ZenSnackbarType = 'info' | 'neutral' | 'success' | 'warn' | 'error';
|
|
2591
|
+
/**
|
|
2592
|
+
* Presentational card rendered by {@link ZenNotifyService} through a CDK overlay.
|
|
2593
|
+
* It draws the status icon, the message and an optional dismiss button, styled
|
|
2594
|
+
* per the ZenduONE design system (Untitled UI "Alert").
|
|
2595
|
+
*/
|
|
2596
|
+
declare class ZenSnackbarComponent {
|
|
2597
|
+
message: string;
|
|
2598
|
+
type: ZenSnackbarType;
|
|
2599
|
+
hasDismiss: boolean;
|
|
2600
|
+
/** Emitted when the user clicks the dismiss button. */
|
|
2601
|
+
dismiss: EventEmitter<void>;
|
|
2602
|
+
onDismiss(): void;
|
|
2603
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZenSnackbarComponent, never>;
|
|
2604
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZenSnackbarComponent, "zen-snackbar", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "hasDismiss": { "alias": "hasDismiss"; "required": false; }; }, { "dismiss": "dismiss"; }, never, never, false, never>;
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2570
2607
|
declare class NgZenduitModule {
|
|
2571
2608
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgZenduitModule, never>;
|
|
2572
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgZenduitModule, [typeof ZenduCheckboxComponent, typeof ZenduToggleComponent, typeof ZenduToggleSlideComponent, typeof ZenduSearchBoxComponent, typeof ZenduSelectComponent, typeof ZenduSelectOptionDirective, typeof ZenduSelectValueDirective, typeof ZenduDatepickerComponent, typeof ZenduFilterComponent, typeof ZenduGroupsComponent, typeof ZenduPaginationBarComponent, typeof ZenduColumnConfigurationComponent, typeof ZenduSortHeaderComponent, typeof ZenduPhoneInputComponent, typeof ZenduColorPickerComponent, typeof ZenduRadioButtonComponent, typeof ZenduIconComponent, typeof ZenduCardBlockComponent, typeof ZenduMapPreviewComponent, typeof ZenduSpinner, typeof ZenduDocScanner, typeof ZenduMapComponent, typeof ZenduFileUpload, typeof ZenduProgress, typeof ZenduLocationSearch, typeof ZenLiveViewPlayerComponent, typeof ZenHTML5VideoPlayerComponent, typeof ZenFlvPlayerComponent, typeof ZenHlsPlayerComponent, typeof ZenSnapshotPlayerComponent, typeof ZenWebRTCPlayerComponent, typeof ZenduSelectButtonDirective, typeof ZenduTimepickerComponent, typeof ZenduDatePickerDropdownComponent, typeof ZenduFileUploaderComponent, typeof ZenduAvatarComponent, typeof ZenduAvatarGroupComponent, typeof ZenduAvatarLabelGroupComponent, typeof ZenduAvatarProfilePhotoComponent, typeof ZenduSliderComponent, typeof ZenduInputComponent, typeof ZenButtonComponent, typeof ZenDropdownMenuComponent, typeof ZenBadgeComponent, typeof ZenTooltipDirective, typeof ZenTooltipPopupComponent, typeof ZenEldStatusComponent, typeof ZenNavSearchComponent, typeof ZenSubmoduleItemComponent, typeof ZenSubpageItemComponent, typeof ZenModulePopupComponent, typeof ZenChartComponent, typeof ZenProgressStepsComponent, typeof ZenStepBaseComponent], [typeof
|
|
2609
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgZenduitModule, [typeof ZenduCheckboxComponent, typeof ZenduToggleComponent, typeof ZenduToggleSlideComponent, typeof ZenduSearchBoxComponent, typeof ZenduSelectComponent, typeof ZenduSelectOptionDirective, typeof ZenduSelectValueDirective, typeof ZenduDatepickerComponent, typeof ZenduFilterComponent, typeof ZenduGroupsComponent, typeof ZenduPaginationBarComponent, typeof ZenduColumnConfigurationComponent, typeof ZenduSortHeaderComponent, typeof ZenduPhoneInputComponent, typeof ZenduColorPickerComponent, typeof ZenduRadioButtonComponent, typeof ZenduIconComponent, typeof ZenduCardBlockComponent, typeof ZenduMapPreviewComponent, typeof ZenduSpinner, typeof ZenduDocScanner, typeof ZenduMapComponent, typeof ZenduFileUpload, typeof ZenduProgress, typeof ZenduLocationSearch, typeof ZenLiveViewPlayerComponent, typeof ZenHTML5VideoPlayerComponent, typeof ZenFlvPlayerComponent, typeof ZenHlsPlayerComponent, typeof ZenSnapshotPlayerComponent, typeof ZenWebRTCPlayerComponent, typeof ZenduSelectButtonDirective, typeof ZenduTimepickerComponent, typeof ZenduDatePickerDropdownComponent, typeof ZenduFileUploaderComponent, typeof ZenduAvatarComponent, typeof ZenduAvatarGroupComponent, typeof ZenduAvatarLabelGroupComponent, typeof ZenduAvatarProfilePhotoComponent, typeof ZenduSliderComponent, typeof ZenduInputComponent, typeof ZenButtonComponent, typeof ZenDropdownMenuComponent, typeof ZenBadgeComponent, typeof ZenTooltipDirective, typeof ZenTooltipPopupComponent, typeof ZenEldStatusComponent, typeof ZenNavSearchComponent, typeof ZenSubmoduleItemComponent, typeof ZenSubpageItemComponent, typeof ZenModulePopupComponent, typeof ZenChartComponent, typeof ZenProgressStepsComponent, typeof ZenStepBaseComponent, typeof ZenSnackbarComponent], [typeof i56.CommonModule, typeof i57.FormsModule, typeof i58.DragDropModule, typeof i59.SignaturePadComponent, typeof i57.ReactiveFormsModule, typeof i60.OverlayModule, typeof i61.BaseChartDirective, typeof i62.TranslateModule], [typeof ZenduCheckboxComponent, typeof ZenduToggleComponent, typeof ZenduToggleSlideComponent, typeof ZenduSearchBoxComponent, typeof ZenduSelectComponent, typeof ZenduSelectOptionDirective, typeof ZenduSelectValueDirective, typeof ZenduDatepickerComponent, typeof ZenduFilterComponent, typeof ZenduGroupsComponent, typeof ZenduPaginationBarComponent, typeof ZenduColumnConfigurationComponent, typeof ZenduSortHeaderComponent, typeof ZenduPhoneInputComponent, typeof ZenduColorPickerComponent, typeof ZenduRadioButtonComponent, typeof ZenduIconComponent, typeof ZenduCardBlockComponent, typeof ZenduMapPreviewComponent, typeof ZenduSpinner, typeof ZenduDocScanner, typeof ZenduMapComponent, typeof ZenduFileUpload, typeof ZenduProgress, typeof ZenduLocationSearch, typeof ZenLiveViewPlayerComponent, typeof ZenduSelectButtonDirective, typeof ZenduTimepickerComponent, typeof ZenduDatePickerDropdownComponent, typeof ZenduFileUploaderComponent, typeof ZenduAvatarComponent, typeof ZenduAvatarGroupComponent, typeof ZenduAvatarLabelGroupComponent, typeof ZenduAvatarProfilePhotoComponent, typeof ZenduSliderComponent, typeof ZenduInputComponent, typeof ZenButtonComponent, typeof ZenDropdownMenuComponent, typeof ZenBadgeComponent, typeof ZenTooltipDirective, typeof ZenTooltipPopupComponent, typeof ZenEldStatusComponent, typeof ZenNavSearchComponent, typeof ZenSubmoduleItemComponent, typeof ZenSubpageItemComponent, typeof ZenModulePopupComponent, typeof ZenChartComponent, typeof ZenProgressStepsComponent, typeof ZenStepBaseComponent, typeof ZenSnackbarComponent]>;
|
|
2573
2610
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgZenduitModule>;
|
|
2574
2611
|
}
|
|
2575
2612
|
|
|
2576
|
-
export { DATEPICKER_POSITION, NgZenduitModule, ZEN_DATE_PICKER_DEFAULT_PRESETS, ZEN_ICON_CONFIG, ZenBadgeComponent, ZenButtonComponent, ZenChartComponent, ZenDropdownMenuComponent, ZenEldStatusComponent, ZenLiveViewPlayerComponent, ZenModulePopupComponent, ZenNavSearchComponent, ZenNotifyService, ZenProgressStepsComponent, ZenStepBaseComponent, ZenSubmoduleItemComponent, ZenSubpageItemComponent, ZenTooltipDirective, ZenTooltipPopupComponent, ZenduAvatarComponent, ZenduAvatarGroupComponent, ZenduAvatarLabelGroupComponent, ZenduAvatarProfilePhotoComponent, ZenduCardBlockComponent, ZenduCheckboxComponent, ZenduColorPickerComponent, ZenduColumnConfigurationComponent, ZenduDatePickerDropdownComponent, ZenduDatepickerComponent, ZenduDocScanner, ZenduFileUpload, ZenduFileUploaderComponent, ZenduFilterComponent, ZenduGroupsComponent, ZenduIconComponent, ZenduInputComponent, ZenduLocationSearch, ZenduMapComponent, ZenduMapPreviewComponent, ZenduPaginationBarComponent, ZenduPhoneInputComponent, ZenduProgress, ZenduRadioButtonComponent, ZenduSearchBoxComponent, ZenduSelectButtonDirective, ZenduSelectComponent, ZenduSelectOptionDirective, ZenduSelectValueDirective, ZenduSliderComponent, ZenduSortHeaderComponent, ZenduSpinner, ZenduTimepickerComponent, ZenduToggleComponent, ZenduToggleSlideComponent };
|
|
2577
|
-
export type { AddOptionEvent, Cancellation, ColumnState, DataSource, DatePickerDropdownType, DatePickerHint, DatePickerMarker, DatePickerPreset, DateRangeValue, DropdownMenuHeader, DropdownMenuItem, DropdownOption, DropdownTriggerType, FileUploadItem, FileUploaderProgressType, FiltersConfig, FiltersConfigItem, LazyLoaderFunction, LazyLoaderResult, LazyLoaderSearch, LocationAddress, MultiSelectItem, NumberRange, RemoveOptionEvent, SelectOption, TimePickerMode, TimePickerValue, ZenBadgeColor, ZenBadgeGroupBadgePosition, ZenBadgeGroupTheme, ZenBadgeIconDirection, ZenBadgeSize, ZenChartDataset, ZenChartLegend, ZenChartStyle, ZenDevice, ZenEldStatusType, ZenIconColor, ZenIconConfig, ZenIconSize, ZenIconTheme, ZenLiveViewPlayerType, ZenLogRecord, ZenMapTheme, ZenModulePopupItem, ZenModulePopupModule, ZenProgressStepsSize, ZenProgressStepsTheme, ZenProgressStepsType, ZenStep, ZenStepBaseType, ZenStepStatus, ZenSubpageItemState, ZenSubpageItemType, ZenTooltipPosition, ZenTooltipTheme, ZenTrip, ZenduAvatarGroupSize, ZenduAvatarLabelGroupSize, ZenduAvatarProfilePhotoSize, ZenduAvatarSize, ZenduAvatarStatusIcon, ZenduSliderLabel };
|
|
2613
|
+
export { DATEPICKER_POSITION, NgZenduitModule, ZEN_DATE_PICKER_DEFAULT_PRESETS, ZEN_ICON_CONFIG, ZenBadgeComponent, ZenButtonComponent, ZenChartComponent, ZenDropdownMenuComponent, ZenEldStatusComponent, ZenLiveViewPlayerComponent, ZenModulePopupComponent, ZenNavSearchComponent, ZenNotifyService, ZenProgressStepsComponent, ZenSnackbarComponent, ZenStepBaseComponent, ZenSubmoduleItemComponent, ZenSubpageItemComponent, ZenTooltipDirective, ZenTooltipPopupComponent, ZenduAvatarComponent, ZenduAvatarGroupComponent, ZenduAvatarLabelGroupComponent, ZenduAvatarProfilePhotoComponent, ZenduCardBlockComponent, ZenduCheckboxComponent, ZenduColorPickerComponent, ZenduColumnConfigurationComponent, ZenduDatePickerDropdownComponent, ZenduDatepickerComponent, ZenduDocScanner, ZenduFileUpload, ZenduFileUploaderComponent, ZenduFilterComponent, ZenduGroupsComponent, ZenduIconComponent, ZenduInputComponent, ZenduLocationSearch, ZenduMapComponent, ZenduMapPreviewComponent, ZenduPaginationBarComponent, ZenduPhoneInputComponent, ZenduProgress, ZenduRadioButtonComponent, ZenduSearchBoxComponent, ZenduSelectButtonDirective, ZenduSelectComponent, ZenduSelectOptionDirective, ZenduSelectValueDirective, ZenduSliderComponent, ZenduSortHeaderComponent, ZenduSpinner, ZenduTimepickerComponent, ZenduToggleComponent, ZenduToggleSlideComponent };
|
|
2614
|
+
export type { AddOptionEvent, Cancellation, ColumnState, DataSource, DatePickerDropdownType, DatePickerHint, DatePickerMarker, DatePickerPreset, DateRangeValue, DropdownMenuHeader, DropdownMenuItem, DropdownOption, DropdownTriggerType, FileUploadItem, FileUploaderProgressType, FiltersConfig, FiltersConfigItem, LazyLoaderFunction, LazyLoaderResult, LazyLoaderSearch, LocationAddress, MultiSelectItem, NumberRange, RemoveOptionEvent, SelectOption, TimePickerMode, TimePickerValue, ZenBadgeColor, ZenBadgeGroupBadgePosition, ZenBadgeGroupTheme, ZenBadgeIconDirection, ZenBadgeSize, ZenChartDataset, ZenChartLegend, ZenChartStyle, ZenDevice, ZenEldStatusType, ZenIconColor, ZenIconConfig, ZenIconSize, ZenIconTheme, ZenLiveViewPlayerType, ZenLogRecord, ZenMapTheme, ZenModulePopupItem, ZenModulePopupModule, ZenProgressStepsSize, ZenProgressStepsTheme, ZenProgressStepsType, ZenSnackbarType, ZenStep, ZenStepBaseType, ZenStepStatus, ZenSubpageItemState, ZenSubpageItemType, ZenTooltipPosition, ZenTooltipTheme, ZenTrip, ZenduAvatarGroupSize, ZenduAvatarLabelGroupSize, ZenduAvatarProfilePhotoSize, ZenduAvatarSize, ZenduAvatarStatusIcon, ZenduSliderLabel };
|
package/styles/snackbar.scss
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
The MIT License (MIT)
|
|
3
|
-
Original here: https://github.com/polonel/SnackBar/blob/master/LICENSE
|
|
4
|
-
**/
|
|
5
|
-
|
|
6
|
-
.snackbar-container {
|
|
7
|
-
transition: all 0.5s ease;
|
|
8
|
-
transition-property: top, right, bottom, left, opacity;
|
|
9
|
-
font-family: Roboto, sans-serif;
|
|
10
|
-
font-size: 14px;
|
|
11
|
-
min-height: 14px;
|
|
12
|
-
background-color: #070b0e;
|
|
13
|
-
position: fixed;
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
align-items: center;
|
|
17
|
-
color: #fff;
|
|
18
|
-
line-height: 22px;
|
|
19
|
-
padding: 18px 24px;
|
|
20
|
-
bottom: -100px;
|
|
21
|
-
top: -100px;
|
|
22
|
-
opacity: 0;
|
|
23
|
-
z-index: 9999;
|
|
24
|
-
}
|
|
25
|
-
.snackbar-container .action {
|
|
26
|
-
background: inherit;
|
|
27
|
-
display: inline-block;
|
|
28
|
-
border: none;
|
|
29
|
-
font-size: inherit;
|
|
30
|
-
text-transform: uppercase;
|
|
31
|
-
color: #4caf50;
|
|
32
|
-
margin: 0 0 0 24px;
|
|
33
|
-
padding: 0;
|
|
34
|
-
min-width: min-content;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
37
|
-
@media (min-width: 640px) {
|
|
38
|
-
.snackbar-container {
|
|
39
|
-
min-width: 288px;
|
|
40
|
-
max-width: 568px;
|
|
41
|
-
display: inline-flex;
|
|
42
|
-
border-radius: 2px;
|
|
43
|
-
margin: 24px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
@media (max-width: 640px) {
|
|
47
|
-
.snackbar-container {
|
|
48
|
-
left: 0;
|
|
49
|
-
right: 0;
|
|
50
|
-
width: 100%;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.snackbar-pos.bottom-center {
|
|
54
|
-
top: auto !important;
|
|
55
|
-
bottom: 0;
|
|
56
|
-
left: 50%;
|
|
57
|
-
transform: translate(-50%, 0);
|
|
58
|
-
}
|
|
59
|
-
.snackbar-pos.bottom-left {
|
|
60
|
-
top: auto !important;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
}
|
|
64
|
-
.snackbar-pos.bottom-right {
|
|
65
|
-
top: auto !important;
|
|
66
|
-
bottom: 0;
|
|
67
|
-
right: 0;
|
|
68
|
-
}
|
|
69
|
-
.snackbar-pos.top-left {
|
|
70
|
-
bottom: auto !important;
|
|
71
|
-
top: 0;
|
|
72
|
-
left: 0;
|
|
73
|
-
}
|
|
74
|
-
.snackbar-pos.top-center {
|
|
75
|
-
bottom: auto !important;
|
|
76
|
-
top: 0;
|
|
77
|
-
left: 50%;
|
|
78
|
-
transform: translate(-50%, 0);
|
|
79
|
-
}
|
|
80
|
-
.snackbar-pos.top-right {
|
|
81
|
-
bottom: auto !important;
|
|
82
|
-
top: 0;
|
|
83
|
-
right: 0;
|
|
84
|
-
}
|
|
85
|
-
@media (max-width: 640px) {
|
|
86
|
-
.snackbar-pos.bottom-center,
|
|
87
|
-
.snackbar-pos.top-center {
|
|
88
|
-
left: 0;
|
|
89
|
-
transform: none;
|
|
90
|
-
}
|
|
91
|
-
}
|