ng-configcat-publicapi-ui 6.0.0 → 6.0.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.
|
@@ -4107,24 +4107,26 @@ function getPredefinedVariationColorIndex(settingType, predefinedVariationValue,
|
|
|
4107
4107
|
|
|
4108
4108
|
class LoaderComponent {
|
|
4109
4109
|
constructor() {
|
|
4110
|
-
this.showLoader = false;
|
|
4111
4110
|
this.skipTimeOut = input(false, /* @ts-ignore */
|
|
4112
4111
|
...(ngDevMode ? [{ debugName: "skipTimeOut" }] : /* istanbul ignore next */ []));
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
}
|
|
4112
|
+
this.skipTimeOutEffect = effect(() => {
|
|
4113
|
+
if (this.skipTimeOut()) {
|
|
4114
|
+
this.showLoader.set(true);
|
|
4115
|
+
}
|
|
4116
|
+
else {
|
|
4117
|
+
setTimeout(() => (this.showLoader.set(true)), 200);
|
|
4118
|
+
}
|
|
4119
|
+
}, /* @ts-ignore */
|
|
4120
|
+
...(ngDevMode ? [{ debugName: "skipTimeOutEffect" }] : /* istanbul ignore next */ []));
|
|
4121
|
+
this.showLoader = signal(false, /* @ts-ignore */
|
|
4122
|
+
...(ngDevMode ? [{ debugName: "showLoader" }] : /* istanbul ignore next */ []));
|
|
4121
4123
|
}
|
|
4122
4124
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: LoaderComponent, isStandalone: true, selector: "app-loader", inputs: { skipTimeOut: { classPropertyName: "skipTimeOut", publicName: "skipTimeOut", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (showLoader) {\n <div class=\"container\">\n <div class=\"bounceball\"></div>\n <div class=\"cat\"></div>\n </div>\n}\n", styles: [".container{display:flex;justify-content:center;align-items:baseline;margin-top:32px;margin-bottom:32px}.container .cat{height:50px;width:60px;margin-left:7px;background-image:url('data:image/svg+xml,<svg id=\"Layer_1\" data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 244.77 210.07\"><defs><style>.cls-1{fill:%23ed1c24;}.cls-2{fill:%23fff;}.cls-3{fill:%23000000;}<\\/style></defs><title>cat</title><path class=\"cls-1\" d=\"M201.57,100V40l-60,60H91.72l-40-40V190a60,60,0,0,0,60,60h90V100Z\" transform=\"translate(-35.62 -40)\"/><rect class=\"cls-2\" x=\"34.22\" y=\"80.48\" width=\"113.76\" height=\"51.71\" rx=\"25.85\" ry=\"25.85\"/><circle class=\"cls-3\" cx=\"119.95\" cy=\"106.33\" r=\"20\"/><path class=\"cls-1\" d=\"M97.52,130.63a16,16,0,1,1-16,16,16,16,0,0,1,16-16m0-4a20,20,0,1,0,20,20,20,20,0,0,0-20-20Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M135.68,187.4a2,2,0,0,0-2.83,0l-6.13,6.13-6.13-6.13a2,2,0,0,0-2.83,2.83l7,7v13.6a2,2,0,0,0,4,0v-13.6l7-7A2,2,0,0,0,135.68,187.4Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M44.76,195.06H85.29a1.5,1.5,0,1,0,0-3H44.76a1.5,1.5,0,1,0,0,3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M92.94,199.3H37.12a1.5,1.5,0,0,0,0,3H92.94a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M85.29,206.54H44.76a1.5,1.5,0,1,0,0,3H85.29a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M168.5,193.57H209a1.5,1.5,0,1,0,0-3H168.5a1.5,1.5,0,0,0,0,3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M216.67,197.8H160.85a1.5,1.5,0,1,0,0,3h55.82a1.5,1.5,0,1,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M209,205H168.5a1.5,1.5,0,0,0,0,3H209a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-1\" d=\"M275.34,139.62l0,0a20.17,20.17,0,1,0-37.5,14.83,65.67,65.67,0,0,1-79.17,85.36A82.1,82.1,0,0,0,275.34,139.62Z\" transform=\"translate(-35.62 -40)\"/></svg>');background-repeat:no-repeat}.container .bounceball{position:relative;display:inline-block;height:37px;width:15px}.container .bounceball:before{position:absolute;content:\"\";display:block;bottom:0;width:15px;height:15px;border-radius:50%;background-color:#fbae17;transform-origin:50%;animation:bounce .5s alternate infinite ease}@keyframes bounce{0%{transform:scale(1.5,.7)}35%{transform:scaleX(1)}to{transform:translateY(-25px)}}\n"], changeDetection: i0.ChangeDetectionStrategy.
|
|
4125
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: LoaderComponent, isStandalone: true, selector: "app-loader", inputs: { skipTimeOut: { classPropertyName: "skipTimeOut", publicName: "skipTimeOut", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (showLoader()) {\n <div class=\"container\">\n <div class=\"bounceball\"></div>\n <div class=\"cat\"></div>\n </div>\n}\n", styles: [".container{display:flex;justify-content:center;align-items:baseline;margin-top:32px;margin-bottom:32px}.container .cat{height:50px;width:60px;margin-left:7px;background-image:url('data:image/svg+xml,<svg id=\"Layer_1\" data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 244.77 210.07\"><defs><style>.cls-1{fill:%23ed1c24;}.cls-2{fill:%23fff;}.cls-3{fill:%23000000;}<\\/style></defs><title>cat</title><path class=\"cls-1\" d=\"M201.57,100V40l-60,60H91.72l-40-40V190a60,60,0,0,0,60,60h90V100Z\" transform=\"translate(-35.62 -40)\"/><rect class=\"cls-2\" x=\"34.22\" y=\"80.48\" width=\"113.76\" height=\"51.71\" rx=\"25.85\" ry=\"25.85\"/><circle class=\"cls-3\" cx=\"119.95\" cy=\"106.33\" r=\"20\"/><path class=\"cls-1\" d=\"M97.52,130.63a16,16,0,1,1-16,16,16,16,0,0,1,16-16m0-4a20,20,0,1,0,20,20,20,20,0,0,0-20-20Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M135.68,187.4a2,2,0,0,0-2.83,0l-6.13,6.13-6.13-6.13a2,2,0,0,0-2.83,2.83l7,7v13.6a2,2,0,0,0,4,0v-13.6l7-7A2,2,0,0,0,135.68,187.4Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M44.76,195.06H85.29a1.5,1.5,0,1,0,0-3H44.76a1.5,1.5,0,1,0,0,3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M92.94,199.3H37.12a1.5,1.5,0,0,0,0,3H92.94a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M85.29,206.54H44.76a1.5,1.5,0,1,0,0,3H85.29a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M168.5,193.57H209a1.5,1.5,0,1,0,0-3H168.5a1.5,1.5,0,0,0,0,3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M216.67,197.8H160.85a1.5,1.5,0,1,0,0,3h55.82a1.5,1.5,0,1,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M209,205H168.5a1.5,1.5,0,0,0,0,3H209a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-1\" d=\"M275.34,139.62l0,0a20.17,20.17,0,1,0-37.5,14.83,65.67,65.67,0,0,1-79.17,85.36A82.1,82.1,0,0,0,275.34,139.62Z\" transform=\"translate(-35.62 -40)\"/></svg>');background-repeat:no-repeat}.container .bounceball{position:relative;display:inline-block;height:37px;width:15px}.container .bounceball:before{position:absolute;content:\"\";display:block;bottom:0;width:15px;height:15px;border-radius:50%;background-color:#fbae17;transform-origin:50%;animation:bounce .5s alternate infinite ease}@keyframes bounce{0%{transform:scale(1.5,.7)}35%{transform:scaleX(1)}to{transform:translateY(-25px)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4124
4126
|
}
|
|
4125
4127
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
4126
4128
|
type: Component,
|
|
4127
|
-
args: [{ selector: "app-loader", changeDetection: ChangeDetectionStrategy.
|
|
4129
|
+
args: [{ selector: "app-loader", changeDetection: ChangeDetectionStrategy.OnPush, imports: [], template: "@if (showLoader()) {\n <div class=\"container\">\n <div class=\"bounceball\"></div>\n <div class=\"cat\"></div>\n </div>\n}\n", styles: [".container{display:flex;justify-content:center;align-items:baseline;margin-top:32px;margin-bottom:32px}.container .cat{height:50px;width:60px;margin-left:7px;background-image:url('data:image/svg+xml,<svg id=\"Layer_1\" data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 244.77 210.07\"><defs><style>.cls-1{fill:%23ed1c24;}.cls-2{fill:%23fff;}.cls-3{fill:%23000000;}<\\/style></defs><title>cat</title><path class=\"cls-1\" d=\"M201.57,100V40l-60,60H91.72l-40-40V190a60,60,0,0,0,60,60h90V100Z\" transform=\"translate(-35.62 -40)\"/><rect class=\"cls-2\" x=\"34.22\" y=\"80.48\" width=\"113.76\" height=\"51.71\" rx=\"25.85\" ry=\"25.85\"/><circle class=\"cls-3\" cx=\"119.95\" cy=\"106.33\" r=\"20\"/><path class=\"cls-1\" d=\"M97.52,130.63a16,16,0,1,1-16,16,16,16,0,0,1,16-16m0-4a20,20,0,1,0,20,20,20,20,0,0,0-20-20Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M135.68,187.4a2,2,0,0,0-2.83,0l-6.13,6.13-6.13-6.13a2,2,0,0,0-2.83,2.83l7,7v13.6a2,2,0,0,0,4,0v-13.6l7-7A2,2,0,0,0,135.68,187.4Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M44.76,195.06H85.29a1.5,1.5,0,1,0,0-3H44.76a1.5,1.5,0,1,0,0,3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M92.94,199.3H37.12a1.5,1.5,0,0,0,0,3H92.94a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M85.29,206.54H44.76a1.5,1.5,0,1,0,0,3H85.29a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M168.5,193.57H209a1.5,1.5,0,1,0,0-3H168.5a1.5,1.5,0,0,0,0,3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M216.67,197.8H160.85a1.5,1.5,0,1,0,0,3h55.82a1.5,1.5,0,1,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-2\" d=\"M209,205H168.5a1.5,1.5,0,0,0,0,3H209a1.5,1.5,0,0,0,0-3Z\" transform=\"translate(-35.62 -40)\"/><path class=\"cls-1\" d=\"M275.34,139.62l0,0a20.17,20.17,0,1,0-37.5,14.83,65.67,65.67,0,0,1-79.17,85.36A82.1,82.1,0,0,0,275.34,139.62Z\" transform=\"translate(-35.62 -40)\"/></svg>');background-repeat:no-repeat}.container .bounceball{position:relative;display:inline-block;height:37px;width:15px}.container .bounceball:before{position:absolute;content:\"\";display:block;bottom:0;width:15px;height:15px;border-radius:50%;background-color:#fbae17;transform-origin:50%;animation:bounce .5s alternate infinite ease}@keyframes bounce{0%{transform:scale(1.5,.7)}35%{transform:scaleX(1)}to{transform:translateY(-25px)}}\n"] }]
|
|
4128
4130
|
}], propDecorators: { skipTimeOut: [{ type: i0.Input, args: [{ isSignal: true, alias: "skipTimeOut", required: false }] }] } });
|
|
4129
4131
|
|
|
4130
4132
|
class PastedDataTrimmerDirective {
|