@osovitny/anatoly 2.14.8 → 2.14.10
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/assets/styles/scss/forms/contactus-form.scss +14 -14
- package/assets/styles/scss/forms/form-validation.scss +56 -0
- package/assets/styles/scss/pnlLoading.scss +20 -0
- package/assets/styles/scss/spinkit/sk-line-material.scss +61 -0
- package/assets/styles/scss/spinner.scss +11 -53
- package/assets/styles/styles.scss +4 -2
- package/esm2020/lib/ui/components/loading/loading.component.mjs +3 -3
- package/esm2020/lib/ui/components/spinner/spinkits.mjs +12 -0
- package/esm2020/lib/ui/components/spinner/spinner.component.mjs +10 -23
- package/fesm2015/osovitny-anatoly.mjs +19 -22
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +19 -22
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/spinner/spinkits.d.ts +11 -0
- package/lib/ui/components/spinner/spinner.component.d.ts +13 -13
- package/package.json +1 -1
|
@@ -3018,12 +3018,24 @@ class LoadingComponent {
|
|
|
3018
3018
|
}
|
|
3019
3019
|
}
|
|
3020
3020
|
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3021
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: LoadingComponent, selector: "anatoly-loading", ngImport: i0, template: "<div *ngIf=\"show\">\r\n <span
|
|
3021
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: LoadingComponent, selector: "anatoly-loading", ngImport: i0, template: "<div id=\"pnlLoading\" *ngIf=\"show\">\r\n <span class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3022
3022
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
3023
3023
|
type: Component,
|
|
3024
|
-
args: [{ selector: 'anatoly-loading', template: "<div *ngIf=\"show\">\r\n <span
|
|
3024
|
+
args: [{ selector: 'anatoly-loading', template: "<div id=\"pnlLoading\" *ngIf=\"show\">\r\n <span class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n" }]
|
|
3025
3025
|
}], ctorParameters: function () { return [{ type: LoadingService }]; } });
|
|
3026
3026
|
|
|
3027
|
+
const Spinkit = {
|
|
3028
|
+
skChasingDots: 'sk-chasing-dots',
|
|
3029
|
+
skCubeGrid: 'sk-cube-grid',
|
|
3030
|
+
skDoubleBounce: 'sk-double-bounce',
|
|
3031
|
+
skRotatingPlane: 'sk-rotationg-plane',
|
|
3032
|
+
skSpinnerPulse: 'sk-spinner-pulse',
|
|
3033
|
+
skThreeBounce: 'sk-three-bounce',
|
|
3034
|
+
skWanderingCubes: 'sk-wandering-cubes',
|
|
3035
|
+
skWave: 'sk-wave',
|
|
3036
|
+
skLine: 'sk-line-material'
|
|
3037
|
+
};
|
|
3038
|
+
|
|
3027
3039
|
/*
|
|
3028
3040
|
<file>
|
|
3029
3041
|
Project:
|
|
@@ -3036,32 +3048,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3036
3048
|
Created:
|
|
3037
3049
|
16 May 2020
|
|
3038
3050
|
|
|
3039
|
-
Version:
|
|
3040
|
-
1.0
|
|
3041
|
-
|
|
3042
3051
|
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3043
3052
|
</file>
|
|
3044
3053
|
*/
|
|
3045
|
-
const SpinnerSpinKit = {
|
|
3046
|
-
spinnerLine: 'spinner-line-material',
|
|
3047
|
-
// ToDo
|
|
3048
|
-
ChasingDots: 'spinner-chasing-dots',
|
|
3049
|
-
CubeGrid: 'spinner-cube-grid',
|
|
3050
|
-
DoubleBounce: 'spinner-double-bounce',
|
|
3051
|
-
RotatingPlane: 'spinner-rotationg-plane',
|
|
3052
|
-
SpinnerPulse: 'spinner-spinner-pulse',
|
|
3053
|
-
ThreeBounce: 'spinner-three-bounce',
|
|
3054
|
-
WanderingCubes: 'spinner-wandering-cubes',
|
|
3055
|
-
Wave: 'spinner-wave'
|
|
3056
|
-
};
|
|
3057
3054
|
class SpinnerComponent {
|
|
3058
3055
|
constructor(router, document) {
|
|
3059
3056
|
this.router = router;
|
|
3060
3057
|
this.document = document;
|
|
3058
|
+
this.backgroundColor = '#2196f3';
|
|
3059
|
+
this.spinner = Spinkit.skLine;
|
|
3061
3060
|
this.isSpinnerVisible = true;
|
|
3062
|
-
this.
|
|
3063
|
-
this.backgroundColor = '#007CB0';
|
|
3064
|
-
this.spinner = SpinnerSpinKit.spinnerLine;
|
|
3061
|
+
this.Spinkit = Spinkit;
|
|
3065
3062
|
this.router.events.subscribe(event => {
|
|
3066
3063
|
if (event instanceof NavigationStart) {
|
|
3067
3064
|
this.isSpinnerVisible = true;
|
|
@@ -3078,10 +3075,10 @@ class SpinnerComponent {
|
|
|
3078
3075
|
}
|
|
3079
3076
|
}
|
|
3080
3077
|
SpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SpinnerComponent, deps: [{ token: i1.Router }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
3081
|
-
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: SpinnerComponent, selector: "spinner", inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, ngImport: i0, template: "<div id=\"
|
|
3078
|
+
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: SpinnerComponent, selector: "anatoly-spinner", inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, ngImport: i0, template: "<div id=\"http-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === Spinkit.skLine\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3082
3079
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
3083
3080
|
type: Component,
|
|
3084
|
-
args: [{ selector: 'spinner', encapsulation: ViewEncapsulation.None, template: "<div id=\"
|
|
3081
|
+
args: [{ selector: 'anatoly-spinner', encapsulation: ViewEncapsulation.None, template: "<div id=\"http-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === Spinkit.skLine\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
3085
3082
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: Document, decorators: [{
|
|
3086
3083
|
type: Inject,
|
|
3087
3084
|
args: [DOCUMENT]
|