@stratusjs/angular 0.9.2 → 0.9.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 +71 -71
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +4 -3
- package/src/core/responsive.component.js +3 -3
- package/src/core/responsive.component.js.map +1 -1
- package/src/core/responsive.component.min.js +1 -1
- package/src/core/responsive.component.ts +4 -3
package/dist/angular.bundle.js
CHANGED
|
@@ -52461,7 +52461,7 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
52461
52461
|
this.stagger = true;
|
|
52462
52462
|
this.reloading = false;
|
|
52463
52463
|
}
|
|
52464
|
-
refresh() {
|
|
52464
|
+
refresh(timeout = 100) {
|
|
52465
52465
|
return new Promise((resolve, reject) => {
|
|
52466
52466
|
if (this.disableRefresh) {
|
|
52467
52467
|
resolve();
|
|
@@ -52477,9 +52477,9 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
52477
52477
|
console.warn('[flow control] waiting to refresh component:', this.uid);
|
|
52478
52478
|
}
|
|
52479
52479
|
setTimeout(() => {
|
|
52480
|
-
this.refresh()
|
|
52480
|
+
this.refresh(timeout * 2)
|
|
52481
52481
|
.then(() => resolve());
|
|
52482
|
-
},
|
|
52482
|
+
}, timeout);
|
|
52483
52483
|
return;
|
|
52484
52484
|
}
|
|
52485
52485
|
this.reloading = true;
|
|
@@ -161530,6 +161530,54 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
161530
161530
|
};
|
|
161531
161531
|
});
|
|
161532
161532
|
|
|
161533
|
+
System.register(["quill"], function (exports_1, context_1) {
|
|
161534
|
+
var quill_1, BaseImage, ATTRIBUTES, QuillImageFormatPlugin;
|
|
161535
|
+
context_1 && context_1.id;
|
|
161536
|
+
return {
|
|
161537
|
+
setters: [
|
|
161538
|
+
function (quill_1_1) {
|
|
161539
|
+
quill_1 = quill_1_1;
|
|
161540
|
+
}
|
|
161541
|
+
],
|
|
161542
|
+
execute: function () {
|
|
161543
|
+
BaseImage = quill_1.default.import('formats/image');
|
|
161544
|
+
ATTRIBUTES = [
|
|
161545
|
+
'alt',
|
|
161546
|
+
'height',
|
|
161547
|
+
'width',
|
|
161548
|
+
'stratus-src',
|
|
161549
|
+
'stratusSrc'
|
|
161550
|
+
];
|
|
161551
|
+
QuillImageFormatPlugin = class QuillImageFormatPlugin extends BaseImage {
|
|
161552
|
+
constructor() {
|
|
161553
|
+
super(...arguments);
|
|
161554
|
+
this.blotName = 'imageCustom';
|
|
161555
|
+
this.tagName = 'IMG';
|
|
161556
|
+
}
|
|
161557
|
+
format(name, value) {
|
|
161558
|
+
console.log('format:', name, value, this.domNode.getAttribute('src'));
|
|
161559
|
+
if (ATTRIBUTES.indexOf(name) === -1) {
|
|
161560
|
+
super.format(name, value);
|
|
161561
|
+
return;
|
|
161562
|
+
}
|
|
161563
|
+
if (!value) {
|
|
161564
|
+
this.domNode.removeAttribute(name);
|
|
161565
|
+
return;
|
|
161566
|
+
}
|
|
161567
|
+
if (name === 'stratus-src') {
|
|
161568
|
+
console.log('stratus-src:', value);
|
|
161569
|
+
}
|
|
161570
|
+
if (name === 'stratusSrc') {
|
|
161571
|
+
console.log('stratusSrc:', value);
|
|
161572
|
+
}
|
|
161573
|
+
this.domNode.setAttribute(name, value);
|
|
161574
|
+
}
|
|
161575
|
+
};
|
|
161576
|
+
exports_1("QuillImageFormatPlugin", QuillImageFormatPlugin);
|
|
161577
|
+
}
|
|
161578
|
+
};
|
|
161579
|
+
});
|
|
161580
|
+
|
|
161533
161581
|
System.register(["@stratusjs/runtime/stratus", "lodash", "quill"], function (exports_1, context_1) {
|
|
161534
161582
|
var stratus_1, lodash_1, quill_1, QuillInputButtonPlugin;
|
|
161535
161583
|
context_1 && context_1.id;
|
|
@@ -161626,54 +161674,6 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
161626
161674
|
};
|
|
161627
161675
|
});
|
|
161628
161676
|
|
|
161629
|
-
System.register(["quill"], function (exports_1, context_1) {
|
|
161630
|
-
var quill_1, BaseImage, ATTRIBUTES, QuillImageFormatPlugin;
|
|
161631
|
-
context_1 && context_1.id;
|
|
161632
|
-
return {
|
|
161633
|
-
setters: [
|
|
161634
|
-
function (quill_1_1) {
|
|
161635
|
-
quill_1 = quill_1_1;
|
|
161636
|
-
}
|
|
161637
|
-
],
|
|
161638
|
-
execute: function () {
|
|
161639
|
-
BaseImage = quill_1.default.import('formats/image');
|
|
161640
|
-
ATTRIBUTES = [
|
|
161641
|
-
'alt',
|
|
161642
|
-
'height',
|
|
161643
|
-
'width',
|
|
161644
|
-
'stratus-src',
|
|
161645
|
-
'stratusSrc'
|
|
161646
|
-
];
|
|
161647
|
-
QuillImageFormatPlugin = class QuillImageFormatPlugin extends BaseImage {
|
|
161648
|
-
constructor() {
|
|
161649
|
-
super(...arguments);
|
|
161650
|
-
this.blotName = 'imageCustom';
|
|
161651
|
-
this.tagName = 'IMG';
|
|
161652
|
-
}
|
|
161653
|
-
format(name, value) {
|
|
161654
|
-
console.log('format:', name, value, this.domNode.getAttribute('src'));
|
|
161655
|
-
if (ATTRIBUTES.indexOf(name) === -1) {
|
|
161656
|
-
super.format(name, value);
|
|
161657
|
-
return;
|
|
161658
|
-
}
|
|
161659
|
-
if (!value) {
|
|
161660
|
-
this.domNode.removeAttribute(name);
|
|
161661
|
-
return;
|
|
161662
|
-
}
|
|
161663
|
-
if (name === 'stratus-src') {
|
|
161664
|
-
console.log('stratus-src:', value);
|
|
161665
|
-
}
|
|
161666
|
-
if (name === 'stratusSrc') {
|
|
161667
|
-
console.log('stratusSrc:', value);
|
|
161668
|
-
}
|
|
161669
|
-
this.domNode.setAttribute(name, value);
|
|
161670
|
-
}
|
|
161671
|
-
};
|
|
161672
|
-
exports_1("QuillImageFormatPlugin", QuillImageFormatPlugin);
|
|
161673
|
-
}
|
|
161674
|
-
};
|
|
161675
|
-
});
|
|
161676
|
-
|
|
161677
161677
|
System.register(["reflect-metadata", "lodash", "@angular/core"], function (exports_1, context_1) {
|
|
161678
161678
|
var lodash_1, core_1, RootComponent;
|
|
161679
161679
|
context_1 && context_1.id;
|
|
@@ -161715,26 +161715,6 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
161715
161715
|
};
|
|
161716
161716
|
});
|
|
161717
161717
|
|
|
161718
|
-
System.register(["@stratusjs/angular/froala/editor/froala-editor.directive", "@stratusjs/angular/froala/editor/froala-editor.module"], function (exports_1, context_1) {
|
|
161719
|
-
context_1 && context_1.id;
|
|
161720
|
-
return {
|
|
161721
|
-
setters: [
|
|
161722
|
-
function (froala_editor_directive_1_1) {
|
|
161723
|
-
exports_1({
|
|
161724
|
-
"FroalaEditorDirective": froala_editor_directive_1_1["FroalaEditorDirective"]
|
|
161725
|
-
});
|
|
161726
|
-
},
|
|
161727
|
-
function (froala_editor_module_1_1) {
|
|
161728
|
-
exports_1({
|
|
161729
|
-
"FroalaEditorModule": froala_editor_module_1_1["FroalaEditorModule"]
|
|
161730
|
-
});
|
|
161731
|
-
}
|
|
161732
|
-
],
|
|
161733
|
-
execute: function () {
|
|
161734
|
-
}
|
|
161735
|
-
};
|
|
161736
|
-
});
|
|
161737
|
-
|
|
161738
161718
|
System.register(["@angular/forms", "@angular/core", "froala-editor"], function (exports_1, context_1) {
|
|
161739
161719
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
161740
161720
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -162058,6 +162038,26 @@ System.register(['@stratusjs/runtime/stratus', 'lodash', '@stratusjs/core/enviro
|
|
|
162058
162038
|
};
|
|
162059
162039
|
});
|
|
162060
162040
|
|
|
162041
|
+
System.register(["@stratusjs/angular/froala/editor/froala-editor.directive", "@stratusjs/angular/froala/editor/froala-editor.module"], function (exports_1, context_1) {
|
|
162042
|
+
context_1 && context_1.id;
|
|
162043
|
+
return {
|
|
162044
|
+
setters: [
|
|
162045
|
+
function (froala_editor_directive_1_1) {
|
|
162046
|
+
exports_1({
|
|
162047
|
+
"FroalaEditorDirective": froala_editor_directive_1_1["FroalaEditorDirective"]
|
|
162048
|
+
});
|
|
162049
|
+
},
|
|
162050
|
+
function (froala_editor_module_1_1) {
|
|
162051
|
+
exports_1({
|
|
162052
|
+
"FroalaEditorModule": froala_editor_module_1_1["FroalaEditorModule"]
|
|
162053
|
+
});
|
|
162054
|
+
}
|
|
162055
|
+
],
|
|
162056
|
+
execute: function () {
|
|
162057
|
+
}
|
|
162058
|
+
};
|
|
162059
|
+
});
|
|
162060
|
+
|
|
162061
162061
|
System.register(["@angular/core", "@stratusjs/angular/froala/editor/froala-editor.directive"], function (exports_1, context_1) {
|
|
162062
162062
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
162063
162063
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|