@stratusjs/angular 0.6.1 → 0.6.3
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/dist/angular.bundle.js +119 -107
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +8 -4
package/dist/angular.bundle.js
CHANGED
|
@@ -127576,14 +127576,26 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
127576
127576
|
this.info = new google.maps.InfoWindow({
|
|
127577
127577
|
maxWidth: 250
|
|
127578
127578
|
});
|
|
127579
|
+
const initialize = () => {
|
|
127580
|
+
if (!this.initialized) {
|
|
127581
|
+
this.updateWidgetSize();
|
|
127582
|
+
this.processProvidedMarkersPath();
|
|
127583
|
+
this.processProvidedCallback();
|
|
127584
|
+
this.initialized = true;
|
|
127585
|
+
this.initializing = false;
|
|
127586
|
+
}
|
|
127587
|
+
};
|
|
127579
127588
|
const stopListeningForIdle = this.map.addListener('idle', () => {
|
|
127580
127589
|
stopListeningForIdle.remove();
|
|
127581
|
-
|
|
127582
|
-
this.processProvidedMarkersPath();
|
|
127583
|
-
this.processProvidedCallback();
|
|
127584
|
-
this.initialized = true;
|
|
127585
|
-
this.initializing = false;
|
|
127590
|
+
initialize();
|
|
127586
127591
|
});
|
|
127592
|
+
setTimeout(() => {
|
|
127593
|
+
if (stopListeningForIdle) {
|
|
127594
|
+
stopListeningForIdle.remove();
|
|
127595
|
+
console.warn(this.uid, 'Google maps may be getting blocked. Forcing initialization anyways.');
|
|
127596
|
+
initialize();
|
|
127597
|
+
}
|
|
127598
|
+
}, 6000);
|
|
127587
127599
|
}
|
|
127588
127600
|
catch (e) {
|
|
127589
127601
|
console.error(this.uid, 'could not Init', e);
|
|
@@ -161438,6 +161450,108 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
161438
161450
|
};
|
|
161439
161451
|
});
|
|
161440
161452
|
|
|
161453
|
+
System.register(["@angular/core"], function (exports_1, context_1) {
|
|
161454
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
161455
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
161456
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
161457
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
161458
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
161459
|
+
};
|
|
161460
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
161461
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
161462
|
+
};
|
|
161463
|
+
var core_1, FroalaViewDirective;
|
|
161464
|
+
context_1 && context_1.id;
|
|
161465
|
+
return {
|
|
161466
|
+
setters: [
|
|
161467
|
+
function (core_1_1) {
|
|
161468
|
+
core_1 = core_1_1;
|
|
161469
|
+
}
|
|
161470
|
+
],
|
|
161471
|
+
execute: function () {
|
|
161472
|
+
FroalaViewDirective = class FroalaViewDirective {
|
|
161473
|
+
constructor(renderer, element) {
|
|
161474
|
+
this.renderer = renderer;
|
|
161475
|
+
this._element = element.nativeElement;
|
|
161476
|
+
}
|
|
161477
|
+
set froalaView(content) {
|
|
161478
|
+
this._element.innerHTML = content;
|
|
161479
|
+
}
|
|
161480
|
+
ngAfterViewInit() {
|
|
161481
|
+
this.renderer.addClass(this._element, 'fr-view');
|
|
161482
|
+
}
|
|
161483
|
+
};
|
|
161484
|
+
__decorate([
|
|
161485
|
+
core_1.Input(),
|
|
161486
|
+
__metadata("design:type", String),
|
|
161487
|
+
__metadata("design:paramtypes", [String])
|
|
161488
|
+
], FroalaViewDirective.prototype, "froalaView", null);
|
|
161489
|
+
FroalaViewDirective = __decorate([
|
|
161490
|
+
core_1.Directive({
|
|
161491
|
+
selector: '[froalaView]'
|
|
161492
|
+
}),
|
|
161493
|
+
__metadata("design:paramtypes", [core_1.Renderer2, core_1.ElementRef])
|
|
161494
|
+
], FroalaViewDirective);
|
|
161495
|
+
exports_1("FroalaViewDirective", FroalaViewDirective);
|
|
161496
|
+
}
|
|
161497
|
+
};
|
|
161498
|
+
});
|
|
161499
|
+
|
|
161500
|
+
System.register(["@angular/core", "@stratusjs/angular/froala/view/froala-view.directive"], function (exports_1, context_1) {
|
|
161501
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
161502
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
161503
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
161504
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
161505
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
161506
|
+
};
|
|
161507
|
+
var FroalaViewModule_1, core_1, froala_view_directive_1, FroalaViewModule;
|
|
161508
|
+
context_1 && context_1.id;
|
|
161509
|
+
return {
|
|
161510
|
+
setters: [
|
|
161511
|
+
function (core_1_1) {
|
|
161512
|
+
core_1 = core_1_1;
|
|
161513
|
+
},
|
|
161514
|
+
function (froala_view_directive_1_1) {
|
|
161515
|
+
froala_view_directive_1 = froala_view_directive_1_1;
|
|
161516
|
+
}
|
|
161517
|
+
],
|
|
161518
|
+
execute: function () {
|
|
161519
|
+
FroalaViewModule = FroalaViewModule_1 = class FroalaViewModule {
|
|
161520
|
+
static forRoot() {
|
|
161521
|
+
return { ngModule: FroalaViewModule_1, providers: [] };
|
|
161522
|
+
}
|
|
161523
|
+
};
|
|
161524
|
+
FroalaViewModule = FroalaViewModule_1 = __decorate([
|
|
161525
|
+
core_1.NgModule({
|
|
161526
|
+
declarations: [froala_view_directive_1.FroalaViewDirective],
|
|
161527
|
+
exports: [froala_view_directive_1.FroalaViewDirective]
|
|
161528
|
+
})
|
|
161529
|
+
], FroalaViewModule);
|
|
161530
|
+
exports_1("FroalaViewModule", FroalaViewModule);
|
|
161531
|
+
}
|
|
161532
|
+
};
|
|
161533
|
+
});
|
|
161534
|
+
|
|
161535
|
+
System.register(["@stratusjs/angular/froala/view/froala-view.directive", "@stratusjs/angular/froala/view/froala-view.module"], function (exports_1, context_1) {
|
|
161536
|
+
context_1 && context_1.id;
|
|
161537
|
+
return {
|
|
161538
|
+
setters: [
|
|
161539
|
+
function (froala_view_directive_1_1) {
|
|
161540
|
+
exports_1({
|
|
161541
|
+
"FroalaViewDirective": froala_view_directive_1_1["FroalaViewDirective"]
|
|
161542
|
+
});
|
|
161543
|
+
},
|
|
161544
|
+
function (froala_view_module_1_1) {
|
|
161545
|
+
exports_1({
|
|
161546
|
+
"FroalaViewModule": froala_view_module_1_1["FroalaViewModule"]
|
|
161547
|
+
});
|
|
161548
|
+
}
|
|
161549
|
+
],
|
|
161550
|
+
execute: function () {
|
|
161551
|
+
}
|
|
161552
|
+
};
|
|
161553
|
+
});
|
|
161554
|
+
|
|
161441
161555
|
/*!
|
|
161442
161556
|
* froala_editor v3.2.3 (https://www.froala.com/wysiwyg-editor)
|
|
161443
161557
|
* License https://froala.com/wysiwyg-editor/terms/
|
|
@@ -161864,108 +161978,6 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
161864
161978
|
undo: true
|
|
161865
161979
|
});
|
|
161866
161980
|
|
|
161867
|
-
System.register(["@angular/core", "@stratusjs/angular/froala/view/froala-view.directive"], function (exports_1, context_1) {
|
|
161868
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
161869
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
161870
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
161871
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
161872
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
161873
|
-
};
|
|
161874
|
-
var FroalaViewModule_1, core_1, froala_view_directive_1, FroalaViewModule;
|
|
161875
|
-
context_1 && context_1.id;
|
|
161876
|
-
return {
|
|
161877
|
-
setters: [
|
|
161878
|
-
function (core_1_1) {
|
|
161879
|
-
core_1 = core_1_1;
|
|
161880
|
-
},
|
|
161881
|
-
function (froala_view_directive_1_1) {
|
|
161882
|
-
froala_view_directive_1 = froala_view_directive_1_1;
|
|
161883
|
-
}
|
|
161884
|
-
],
|
|
161885
|
-
execute: function () {
|
|
161886
|
-
FroalaViewModule = FroalaViewModule_1 = class FroalaViewModule {
|
|
161887
|
-
static forRoot() {
|
|
161888
|
-
return { ngModule: FroalaViewModule_1, providers: [] };
|
|
161889
|
-
}
|
|
161890
|
-
};
|
|
161891
|
-
FroalaViewModule = FroalaViewModule_1 = __decorate([
|
|
161892
|
-
core_1.NgModule({
|
|
161893
|
-
declarations: [froala_view_directive_1.FroalaViewDirective],
|
|
161894
|
-
exports: [froala_view_directive_1.FroalaViewDirective]
|
|
161895
|
-
})
|
|
161896
|
-
], FroalaViewModule);
|
|
161897
|
-
exports_1("FroalaViewModule", FroalaViewModule);
|
|
161898
|
-
}
|
|
161899
|
-
};
|
|
161900
|
-
});
|
|
161901
|
-
|
|
161902
|
-
System.register(["@angular/core"], function (exports_1, context_1) {
|
|
161903
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
161904
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
161905
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
161906
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
161907
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
161908
|
-
};
|
|
161909
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
161910
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
161911
|
-
};
|
|
161912
|
-
var core_1, FroalaViewDirective;
|
|
161913
|
-
context_1 && context_1.id;
|
|
161914
|
-
return {
|
|
161915
|
-
setters: [
|
|
161916
|
-
function (core_1_1) {
|
|
161917
|
-
core_1 = core_1_1;
|
|
161918
|
-
}
|
|
161919
|
-
],
|
|
161920
|
-
execute: function () {
|
|
161921
|
-
FroalaViewDirective = class FroalaViewDirective {
|
|
161922
|
-
constructor(renderer, element) {
|
|
161923
|
-
this.renderer = renderer;
|
|
161924
|
-
this._element = element.nativeElement;
|
|
161925
|
-
}
|
|
161926
|
-
set froalaView(content) {
|
|
161927
|
-
this._element.innerHTML = content;
|
|
161928
|
-
}
|
|
161929
|
-
ngAfterViewInit() {
|
|
161930
|
-
this.renderer.addClass(this._element, 'fr-view');
|
|
161931
|
-
}
|
|
161932
|
-
};
|
|
161933
|
-
__decorate([
|
|
161934
|
-
core_1.Input(),
|
|
161935
|
-
__metadata("design:type", String),
|
|
161936
|
-
__metadata("design:paramtypes", [String])
|
|
161937
|
-
], FroalaViewDirective.prototype, "froalaView", null);
|
|
161938
|
-
FroalaViewDirective = __decorate([
|
|
161939
|
-
core_1.Directive({
|
|
161940
|
-
selector: '[froalaView]'
|
|
161941
|
-
}),
|
|
161942
|
-
__metadata("design:paramtypes", [core_1.Renderer2, core_1.ElementRef])
|
|
161943
|
-
], FroalaViewDirective);
|
|
161944
|
-
exports_1("FroalaViewDirective", FroalaViewDirective);
|
|
161945
|
-
}
|
|
161946
|
-
};
|
|
161947
|
-
});
|
|
161948
|
-
|
|
161949
|
-
System.register(["@stratusjs/angular/froala/view/froala-view.directive", "@stratusjs/angular/froala/view/froala-view.module"], function (exports_1, context_1) {
|
|
161950
|
-
context_1 && context_1.id;
|
|
161951
|
-
return {
|
|
161952
|
-
setters: [
|
|
161953
|
-
function (froala_view_directive_1_1) {
|
|
161954
|
-
exports_1({
|
|
161955
|
-
"FroalaViewDirective": froala_view_directive_1_1["FroalaViewDirective"]
|
|
161956
|
-
});
|
|
161957
|
-
},
|
|
161958
|
-
function (froala_view_module_1_1) {
|
|
161959
|
-
exports_1({
|
|
161960
|
-
"FroalaViewModule": froala_view_module_1_1["FroalaViewModule"]
|
|
161961
|
-
});
|
|
161962
|
-
}
|
|
161963
|
-
],
|
|
161964
|
-
execute: function () {
|
|
161965
|
-
}
|
|
161966
|
-
};
|
|
161967
|
-
});
|
|
161968
|
-
|
|
161969
161981
|
})
|
|
161970
161982
|
};
|
|
161971
161983
|
}));
|