@stratusjs/angular 0.5.0 → 0.5.2
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 +30609 -2673
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +5 -4
- package/src/angular.modules.js +18 -33
- package/src/angular.modules.js.map +1 -1
- package/src/app.module.js +181 -227
- package/src/app.module.js.map +1 -1
- package/src/app.module.min.js +1 -1
- package/src/app.module.ts +17 -17
- package/src/backend.service.js +66 -87
- package/src/backend.service.js.map +1 -1
- package/src/base/base.component.js +101 -124
- package/src/base/base.component.js.map +1 -1
- package/src/boot.js +42 -55
- package/src/boot.js.map +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js +41 -60
- package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
- package/src/core/base.interface.js +1 -9
- package/src/core/base.interface.js.map +1 -1
- package/src/core/dialog.interface.js.map +1 -0
- package/src/core/refresh.interface.js +1 -9
- package/src/core/refresh.interface.js.map +1 -1
- package/src/core/responsive.component.js +40 -58
- package/src/core/responsive.component.js.map +1 -1
- package/src/core/responsive.interface.js +1 -9
- package/src/core/responsive.interface.js.map +1 -1
- package/src/core/root.component.js +24 -43
- package/src/core/root.component.js.map +1 -1
- package/src/core/trigger.interface.js +1 -9
- package/src/core/trigger.interface.js.map +1 -1
- package/src/data/contact-meta.interface.js +1 -9
- package/src/data/contact-meta.interface.js.map +1 -1
- package/src/data/content.interface.js +1 -9
- package/src/data/content.interface.js.map +1 -1
- package/src/data/convoy.interface.js +1 -9
- package/src/data/convoy.interface.js.map +1 -1
- package/src/editor/citation-dialog.component.js +174 -207
- package/src/editor/citation-dialog.component.js.map +1 -1
- package/src/editor/code-mirror-bridge.js +63 -0
- package/src/editor/code-mirror-bridge.js.map +1 -0
- package/src/editor/code-mirror-bridge.min.js +1 -0
- package/src/editor/code-mirror-bridge.ts +85 -0
- package/src/editor/code-view-dialog.component.js +87 -116
- package/src/editor/code-view-dialog.component.js.map +1 -1
- package/src/editor/editor.component.js +903 -925
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/editor.component.min.js +1 -1
- package/src/editor/editor.component.ts +60 -21
- package/src/editor/link-dialog.component.js +356 -395
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/media-dialog.component.js +270 -303
- package/src/editor/media-dialog.component.js.map +1 -1
- package/src/froala/plugins/citationManager.js +170 -191
- package/src/froala/plugins/citationManager.js.map +1 -1
- package/src/froala/plugins/inputButton.js +122 -138
- package/src/froala/plugins/inputButton.js.map +1 -1
- package/src/froala/plugins/linkManager.js +89 -104
- package/src/froala/plugins/linkManager.js.map +1 -1
- package/src/froala/plugins/mediaManager.js +72 -87
- package/src/froala/plugins/mediaManager.js.map +1 -1
- package/src/froala/plugins/menuButton.js +71 -86
- package/src/froala/plugins/menuButton.js.map +1 -1
- package/src/main.js +13 -33
- package/src/main.js.map +1 -1
- package/src/material.js +99 -194
- package/src/material.js.map +1 -1
- package/src/media-selector/media-selector.component.js +406 -441
- package/src/media-selector/media-selector.component.js.map +1 -1
- package/src/polyfills.js +3 -16
- package/src/polyfills.js.map +1 -1
- package/src/quill-plugins/quill-break-blot.plugin.js +19 -35
- package/src/quill-plugins/quill-break-blot.plugin.js.map +1 -1
- package/src/quill-plugins/quill-html-edit.plugin.js +140 -153
- package/src/quill-plugins/quill-html-edit.plugin.js.map +1 -1
- package/src/quill-plugins/quill-image-format.plugin.js +33 -47
- package/src/quill-plugins/quill-image-format.plugin.js.map +1 -1
- package/src/quill-plugins/quill-input-button.plugin.js +77 -95
- package/src/quill-plugins/quill-input-button.plugin.js.map +1 -1
- package/src/selector/selector.component.js +241 -276
- package/src/selector/selector.component.js.map +1 -1
- package/src/test/test.directive.js +49 -66
- package/src/test/test.directive.js.map +1 -1
- package/src/tree/tree-dialog.component.js +202 -231
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-node.component.js +253 -279
- package/src/tree/tree-node.component.js.map +1 -1
- package/src/tree/tree-node.component.min.js +1 -1
- package/src/tree/tree-node.component.ts +10 -18
- package/src/tree/tree.component.js +531 -568
- package/src/tree/tree.component.js.map +1 -1
- package/src/tree/tree.component.min.js +1 -1
- package/src/tree/tree.component.ts +7 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stratusjs/angular",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "This is the angular package for StratusJS.",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"repository": {
|
|
@@ -54,18 +54,19 @@
|
|
|
54
54
|
"@angular/platform-browser": "^12.2.16",
|
|
55
55
|
"@angular/platform-browser-dynamic": "^12.2.16",
|
|
56
56
|
"@angular/router": "^12.2.16",
|
|
57
|
+
"@codemirror/lang-html": "^6.4.0",
|
|
57
58
|
"@stratusjs/boot": "^0.3.0",
|
|
58
59
|
"@stratusjs/core": "^0.5.0",
|
|
59
60
|
"@stratusjs/map": "^0.5.0",
|
|
60
61
|
"@stratusjs/runtime": "^0.12.0",
|
|
61
62
|
"angular-froala-wysiwyg": "^3.2.7",
|
|
62
|
-
"codemirror": "^
|
|
63
|
+
"codemirror": "^6.0.1",
|
|
63
64
|
"froala-editor": "^3.2.7",
|
|
64
65
|
"hammerjs": "^2.0.8",
|
|
65
66
|
"lodash": "^4.17.21",
|
|
66
67
|
"reflect-metadata": "^0.1.13",
|
|
67
|
-
"rxjs": "^6.
|
|
68
|
-
"rxjs-compat": "^6.
|
|
68
|
+
"rxjs": "^6.6.7",
|
|
69
|
+
"rxjs-compat": "^6.6.7",
|
|
69
70
|
"tslib": "^2.4.0",
|
|
70
71
|
"web-animations-js": "^2.3.2"
|
|
71
72
|
}
|
package/src/angular.modules.js
CHANGED
|
@@ -1,35 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
],
|
|
20
|
-
execute: function () {
|
|
21
|
-
AngularModules = class AngularModules {
|
|
22
|
-
};
|
|
23
|
-
AngularModules = __decorate([
|
|
24
|
-
core_1.NgModule({
|
|
25
|
-
exports: [
|
|
26
|
-
editor_component_1.EditorComponent,
|
|
27
|
-
]
|
|
28
|
-
})
|
|
29
|
-
], AngularModules);
|
|
30
|
-
exports_1("AngularModules", AngularModules);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
});
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { NgModule } from '@angular/core';
|
|
8
|
+
import { EditorComponent } from './editor/editor.component';
|
|
9
|
+
let AngularModules = class AngularModules {
|
|
10
|
+
};
|
|
11
|
+
AngularModules = __decorate([
|
|
12
|
+
NgModule({
|
|
13
|
+
exports: [
|
|
14
|
+
EditorComponent,
|
|
15
|
+
]
|
|
16
|
+
})
|
|
17
|
+
], AngularModules);
|
|
18
|
+
export { AngularModules };
|
|
34
19
|
|
|
35
20
|
//# sourceMappingURL=angular.modules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["angular.modules.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["angular.modules.ts"],"names":[],"mappings":";;;;;;AAGA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;AAGtC,OAAO,EACH,eAAe,EAClB,MAAM,2BAA2B,CAAA;AAclC,IAAa,cAAc,GAA3B,MAAa,cAAc;CAC1B,CAAA;AADY,cAAc;IAN1B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,eAAe;SAElB;KACJ,CAAC;GACW,cAAc,CAC1B;SADY,cAAc","file":"angular.modules.js"}
|
package/src/app.module.js
CHANGED
|
@@ -1,232 +1,186 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
selector_component_1 = selector_component_1_1;
|
|
60
|
-
},
|
|
61
|
-
function (tree_component_1_1) {
|
|
62
|
-
tree_component_1 = tree_component_1_1;
|
|
63
|
-
},
|
|
64
|
-
function (tree_dialog_component_1_1) {
|
|
65
|
-
tree_dialog_component_1 = tree_dialog_component_1_1;
|
|
66
|
-
},
|
|
67
|
-
function (tree_node_component_1_1) {
|
|
68
|
-
tree_node_component_1 = tree_node_component_1_1;
|
|
69
|
-
},
|
|
70
|
-
function (lodash_1_1) {
|
|
71
|
-
lodash_1 = lodash_1_1;
|
|
72
|
-
},
|
|
73
|
-
function (stratus_1_1) {
|
|
74
|
-
stratus_1 = stratus_1_1;
|
|
75
|
-
},
|
|
76
|
-
function (google_maps_1_1) {
|
|
77
|
-
google_maps_1 = google_maps_1_1;
|
|
78
|
-
},
|
|
79
|
-
function (citation_dialog_component_1_1) {
|
|
80
|
-
citation_dialog_component_1 = citation_dialog_component_1_1;
|
|
81
|
-
},
|
|
82
|
-
function (code_view_dialog_component_1_1) {
|
|
83
|
-
code_view_dialog_component_1 = code_view_dialog_component_1_1;
|
|
84
|
-
},
|
|
85
|
-
function (media_dialog_component_1_1) {
|
|
86
|
-
media_dialog_component_1 = media_dialog_component_1_1;
|
|
87
|
-
},
|
|
88
|
-
function (link_dialog_component_1_1) {
|
|
89
|
-
link_dialog_component_1 = link_dialog_component_1_1;
|
|
90
|
-
},
|
|
91
|
-
function (angular_froala_wysiwyg_1_1) {
|
|
92
|
-
angular_froala_wysiwyg_1 = angular_froala_wysiwyg_1_1;
|
|
93
|
-
}
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { cookie } from '@stratusjs/core/environment';
|
|
11
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
12
|
+
import { NgModule } from '@angular/core';
|
|
13
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
14
|
+
import { MatNativeDateModule } from '@angular/material/core';
|
|
15
|
+
import { BrowserModule } from '@angular/platform-browser';
|
|
16
|
+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
17
|
+
import { MaterialModules } from './material';
|
|
18
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
19
|
+
import { BaseComponent } from './base/base.component';
|
|
20
|
+
import { ConfirmDialogComponent } from './confirm-dialog/confirm-dialog.component';
|
|
21
|
+
import { EditorComponent } from './editor/editor.component';
|
|
22
|
+
import { MapComponent } from '../../map/src/map.component';
|
|
23
|
+
import { MediaSelectorComponent } from './media-selector/media-selector.component';
|
|
24
|
+
import { SelectorComponent } from './selector/selector.component';
|
|
25
|
+
import { StripePaymentMethodComponent } from '../../stripe/src/payment-method.component';
|
|
26
|
+
import { StripePaymentMethodItemComponent } from '../../stripe/src/payment-method-item.component';
|
|
27
|
+
import { StripePaymentMethodListComponent } from '../../stripe/src/payment-method-list.component';
|
|
28
|
+
import { StripePaymentMethodSelectorComponent } from '../../stripe/src/payment-method-selector.component';
|
|
29
|
+
import { StripeSetupIntentComponent } from '../../stripe/src/setup-intent.component';
|
|
30
|
+
import { TreeComponent } from './tree/tree.component';
|
|
31
|
+
import { TreeDialogComponent } from './tree/tree-dialog.component';
|
|
32
|
+
import { TreeNodeComponent } from './tree/tree-node.component';
|
|
33
|
+
import _ from 'lodash';
|
|
34
|
+
import { Stratus } from '@stratusjs/runtime/stratus';
|
|
35
|
+
import { GoogleMapsModule } from '@angular/google-maps';
|
|
36
|
+
import { CitationDialogComponent } from './editor/citation-dialog.component';
|
|
37
|
+
import { CodeViewDialogComponent } from './editor/code-view-dialog.component';
|
|
38
|
+
import { MediaDialogComponent } from './editor/media-dialog.component';
|
|
39
|
+
import { LinkDialogComponent } from './editor/link-dialog.component';
|
|
40
|
+
import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
41
|
+
const quillConfig = {
|
|
42
|
+
modules: {
|
|
43
|
+
syntax: true,
|
|
44
|
+
toolbar: [
|
|
45
|
+
['bold', 'italic', 'underline', 'strike'],
|
|
46
|
+
[{ script: 'sub' }, { script: 'super' }],
|
|
47
|
+
[{ header: [1, 2, 3, 4, 5, 6, false] }],
|
|
48
|
+
[{ list: 'ordered' }, { list: 'bullet' }],
|
|
49
|
+
['blockquote', 'code-block'],
|
|
50
|
+
[{
|
|
51
|
+
align: []
|
|
52
|
+
}],
|
|
53
|
+
[{ indent: '-1' }, { indent: '+1' }],
|
|
54
|
+
['clean'],
|
|
55
|
+
[
|
|
56
|
+
'link',
|
|
57
|
+
'video'
|
|
58
|
+
],
|
|
94
59
|
],
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
60
|
+
mediaLibrary: {
|
|
61
|
+
debug: true,
|
|
62
|
+
buttonHTML: '<i class="fas fa-photo-video"></i>',
|
|
63
|
+
buttonTitle: 'Media Library',
|
|
64
|
+
name: 'mediaLibrary',
|
|
65
|
+
eventName: 'media-library'
|
|
66
|
+
},
|
|
67
|
+
codeView: {
|
|
68
|
+
debug: true,
|
|
69
|
+
buttonHTML: '<i class="fas fa-file-code"></i>',
|
|
70
|
+
buttonTitle: 'Code View',
|
|
71
|
+
name: 'codeView',
|
|
72
|
+
eventName: 'code-view'
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
if (cookie('env')) {
|
|
77
|
+
}
|
|
78
|
+
let AppModule = class AppModule {
|
|
79
|
+
constructor() {
|
|
80
|
+
this.initialTimeout = 1000;
|
|
81
|
+
this.instances = {};
|
|
82
|
+
this.modules = {
|
|
83
|
+
'sa-base': BaseComponent,
|
|
84
|
+
'sa-editor': EditorComponent,
|
|
85
|
+
'sa-map': MapComponent,
|
|
86
|
+
'sa-media-selector': MediaSelectorComponent,
|
|
87
|
+
'sa-selector': SelectorComponent,
|
|
88
|
+
'sa-stripe-payment-method-list': StripePaymentMethodListComponent,
|
|
89
|
+
'sa-stripe-payment-method-selector': StripePaymentMethodSelectorComponent,
|
|
90
|
+
'sa-tree': TreeComponent
|
|
91
|
+
};
|
|
92
|
+
Stratus.Instances[_.uniqueId('sa_app_module_')] = this;
|
|
93
|
+
}
|
|
94
|
+
ngDoBootstrap(appRef) {
|
|
95
|
+
this.detectBoot(appRef);
|
|
96
|
+
}
|
|
97
|
+
exponentialTimeout(limit) {
|
|
98
|
+
if (_.isNumber(limit) && limit < this.initialTimeout) {
|
|
99
|
+
return limit;
|
|
100
|
+
}
|
|
101
|
+
const currentTimeout = this.initialTimeout;
|
|
102
|
+
this.initialTimeout = this.initialTimeout * 1.01;
|
|
103
|
+
return currentTimeout;
|
|
104
|
+
}
|
|
105
|
+
detectBoot(appRef) {
|
|
106
|
+
_.forEach(this.modules, (module, selector) => {
|
|
107
|
+
const elements = document.getElementsByTagName(selector);
|
|
108
|
+
if (!elements || !elements.length) {
|
|
109
|
+
return;
|
|
132
110
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
this.instances = {};
|
|
137
|
-
this.modules = {
|
|
138
|
-
'sa-base': base_component_1.BaseComponent,
|
|
139
|
-
'sa-editor': editor_component_1.EditorComponent,
|
|
140
|
-
'sa-map': map_component_1.MapComponent,
|
|
141
|
-
'sa-media-selector': media_selector_component_1.MediaSelectorComponent,
|
|
142
|
-
'sa-selector': selector_component_1.SelectorComponent,
|
|
143
|
-
'sa-tree': tree_component_1.TreeComponent
|
|
144
|
-
};
|
|
145
|
-
stratus_1.Stratus.Instances[lodash_1.default.uniqueId('sa_app_module_')] = this;
|
|
146
|
-
}
|
|
147
|
-
ngDoBootstrap(appRef) {
|
|
148
|
-
this.detectBoot(appRef);
|
|
149
|
-
}
|
|
150
|
-
exponentialTimeout(limit) {
|
|
151
|
-
if (lodash_1.default.isNumber(limit) && limit < this.initialTimeout) {
|
|
152
|
-
return limit;
|
|
153
|
-
}
|
|
154
|
-
const currentTimeout = this.initialTimeout;
|
|
155
|
-
this.initialTimeout = this.initialTimeout * 1.01;
|
|
156
|
-
return currentTimeout;
|
|
111
|
+
_.forEach(elements, (node) => {
|
|
112
|
+
if (node.hasAttribute('ng-version')) {
|
|
113
|
+
return;
|
|
157
114
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
});
|
|
115
|
+
appRef.bootstrap(module, node);
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
setTimeout(() => {
|
|
119
|
+
this.detectBoot(appRef);
|
|
120
|
+
}, this.exponentialTimeout(4000));
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
AppModule = __decorate([
|
|
124
|
+
NgModule({
|
|
125
|
+
imports: [
|
|
126
|
+
BrowserModule,
|
|
127
|
+
BrowserAnimationsModule,
|
|
128
|
+
FlexLayoutModule,
|
|
129
|
+
FormsModule,
|
|
130
|
+
FroalaEditorModule.forRoot(),
|
|
131
|
+
FroalaViewModule.forRoot(),
|
|
132
|
+
GoogleMapsModule,
|
|
133
|
+
HttpClientModule,
|
|
134
|
+
MaterialModules,
|
|
135
|
+
MatNativeDateModule,
|
|
136
|
+
ReactiveFormsModule,
|
|
137
|
+
],
|
|
138
|
+
entryComponents: [
|
|
139
|
+
BaseComponent,
|
|
140
|
+
CitationDialogComponent,
|
|
141
|
+
CodeViewDialogComponent,
|
|
142
|
+
ConfirmDialogComponent,
|
|
143
|
+
EditorComponent,
|
|
144
|
+
LinkDialogComponent,
|
|
145
|
+
MapComponent,
|
|
146
|
+
MediaDialogComponent,
|
|
147
|
+
MediaSelectorComponent,
|
|
148
|
+
SelectorComponent,
|
|
149
|
+
StripePaymentMethodComponent,
|
|
150
|
+
StripePaymentMethodItemComponent,
|
|
151
|
+
StripePaymentMethodListComponent,
|
|
152
|
+
StripePaymentMethodSelectorComponent,
|
|
153
|
+
StripeSetupIntentComponent,
|
|
154
|
+
TreeComponent,
|
|
155
|
+
TreeDialogComponent,
|
|
156
|
+
TreeNodeComponent,
|
|
157
|
+
],
|
|
158
|
+
declarations: [
|
|
159
|
+
BaseComponent,
|
|
160
|
+
CitationDialogComponent,
|
|
161
|
+
CodeViewDialogComponent,
|
|
162
|
+
ConfirmDialogComponent,
|
|
163
|
+
EditorComponent,
|
|
164
|
+
LinkDialogComponent,
|
|
165
|
+
MapComponent,
|
|
166
|
+
MediaDialogComponent,
|
|
167
|
+
MediaSelectorComponent,
|
|
168
|
+
SelectorComponent,
|
|
169
|
+
StripePaymentMethodComponent,
|
|
170
|
+
StripePaymentMethodItemComponent,
|
|
171
|
+
StripePaymentMethodListComponent,
|
|
172
|
+
StripePaymentMethodSelectorComponent,
|
|
173
|
+
StripeSetupIntentComponent,
|
|
174
|
+
TreeComponent,
|
|
175
|
+
TreeDialogComponent,
|
|
176
|
+
TreeNodeComponent,
|
|
177
|
+
],
|
|
178
|
+
providers: [
|
|
179
|
+
{ provide: Window, useValue: window }
|
|
180
|
+
]
|
|
181
|
+
}),
|
|
182
|
+
__metadata("design:paramtypes", [])
|
|
183
|
+
], AppModule);
|
|
184
|
+
export { AppModule };
|
|
231
185
|
|
|
232
186
|
//# sourceMappingURL=app.module.js.map
|
package/src/app.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["app.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["app.module.ts"],"names":[],"mappings":";;;;;;;;;AAMA,OAAO,EAAC,MAAM,EAAC,MAAM,6BAA6B,CAAA;AAGlD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAEH,QAAQ,EACX,MAAM,eAAe,CAAA;AACtB,OAAO,EACH,WAAW,EACX,mBAAmB,EACtB,MAA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SAlFY,SAAS","file":"app.module.js"}
|
package/src/app.module.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["@stratusjs/core/environment","@angular/common/http","@angular/core","@angular/forms","@angular/material/core","@angular/platform-browser","@angular/platform-browser/animations","./material","@angular/flex-layout","./base/base.component","./confirm-dialog/confirm-dialog.component","./editor/editor.component","../../map/src/map.component","./media-selector/media-selector.component","./selector/selector.component","./tree/tree.component","./tree/tree-dialog.component","./tree/tree-node.component","lodash","@stratusjs/runtime/stratus","@angular/google-maps","./editor/citation-dialog.component","./editor/code-view-dialog.component","./editor/media-dialog.component","./editor/link-dialog.component","angular-froala-wysiwyg"],function(e,
|
|
1
|
+
System.register(["@stratusjs/core/environment","@angular/common/http","@angular/core","@angular/forms","@angular/material/core","@angular/platform-browser","@angular/platform-browser/animations","./material","@angular/flex-layout","./base/base.component","./confirm-dialog/confirm-dialog.component","./editor/editor.component","../../map/src/map.component","./media-selector/media-selector.component","./selector/selector.component","../../stripe/src/payment-method.component","../../stripe/src/payment-method-item.component","../../stripe/src/payment-method-list.component","../../stripe/src/payment-method-selector.component","../../stripe/src/setup-intent.component","./tree/tree.component","./tree/tree-dialog.component","./tree/tree-node.component","lodash","@stratusjs/runtime/stratus","@angular/google-maps","./editor/citation-dialog.component","./editor/code-view-dialog.component","./editor/media-dialog.component","./editor/link-dialog.component","angular-froala-wysiwyg"],function(e,t){"use strict";var o,n,i,a,r,m,c,s,p,l,u,d,f,C,g,h,M,y,b,S,T,w,v,D,P,L,B,R,k,N,E,V,_=this&&this.__decorate||function(e,t,o,n){var i,a=arguments.length,r=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,n);else for(var m=e.length-1;m>=0;m--)(i=e[m])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);return a>3&&r&&Object.defineProperty(t,o,r),r},j=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){o=e},function(e){n=e},function(e){i=e},function(e){a=e},function(e){r=e},function(e){m=e},function(e){c=e},function(e){s=e},function(e){p=e},function(e){l=e},function(e){u=e},function(e){d=e},function(e){f=e},function(e){C=e},function(e){g=e},function(e){h=e},function(e){M=e},function(e){y=e},function(e){b=e},function(e){S=e},function(e){T=e},function(e){w=e},function(e){v=e},function(e){D=e},function(e){P=e},function(e){L=e},function(e){B=e},function(e){R=e},function(e){k=e},function(e){N=e},function(e){E=e}],execute:function(){({modules:{syntax:!0,toolbar:[["bold","italic","underline","strike"],[{script:"sub"},{script:"super"}],[{header:[1,2,3,4,5,6,!1]}],[{list:"ordered"},{list:"bullet"}],["blockquote","code-block"],[{align:[]}],[{indent:"-1"},{indent:"+1"}],["clean"],["link","video"]],mediaLibrary:{debug:!0,buttonHTML:'<i class="fas fa-photo-video"></i>',buttonTitle:"Media Library",name:"mediaLibrary",eventName:"media-library"},codeView:{debug:!0,buttonHTML:'<i class="fas fa-file-code"></i>',buttonTitle:"Code View",name:"codeView",eventName:"code-view"}}}),o.cookie("env"),V=class{constructor(){this.initialTimeout=1e3,this.instances={},this.modules={"sa-base":l.BaseComponent,"sa-editor":d.EditorComponent,"sa-map":f.MapComponent,"sa-media-selector":C.MediaSelectorComponent,"sa-selector":g.SelectorComponent,"sa-stripe-payment-method-list":y.StripePaymentMethodListComponent,"sa-stripe-payment-method-selector":b.StripePaymentMethodSelectorComponent,"sa-tree":T.TreeComponent},P.Stratus.Instances[D.default.uniqueId("sa_app_module_")]=this}ngDoBootstrap(e){this.detectBoot(e)}exponentialTimeout(e){if(D.default.isNumber(e)&&e<this.initialTimeout)return e;const t=this.initialTimeout;return this.initialTimeout=1.01*this.initialTimeout,t}detectBoot(e){D.default.forEach(this.modules,(t,o)=>{const n=document.getElementsByTagName(o);n&&n.length&&D.default.forEach(n,o=>{o.hasAttribute("ng-version")||e.bootstrap(t,o)})}),setTimeout(()=>{this.detectBoot(e)},this.exponentialTimeout(4e3))}},V=_([i.NgModule({imports:[m.BrowserModule,c.BrowserAnimationsModule,p.FlexLayoutModule,a.FormsModule,E.FroalaEditorModule.forRoot(),E.FroalaViewModule.forRoot(),L.GoogleMapsModule,n.HttpClientModule,s.MaterialModules,r.MatNativeDateModule,a.ReactiveFormsModule],entryComponents:[l.BaseComponent,B.CitationDialogComponent,R.CodeViewDialogComponent,u.ConfirmDialogComponent,d.EditorComponent,N.LinkDialogComponent,f.MapComponent,k.MediaDialogComponent,C.MediaSelectorComponent,g.SelectorComponent,h.StripePaymentMethodComponent,M.StripePaymentMethodItemComponent,y.StripePaymentMethodListComponent,b.StripePaymentMethodSelectorComponent,S.StripeSetupIntentComponent,T.TreeComponent,w.TreeDialogComponent,v.TreeNodeComponent],declarations:[l.BaseComponent,B.CitationDialogComponent,R.CodeViewDialogComponent,u.ConfirmDialogComponent,d.EditorComponent,N.LinkDialogComponent,f.MapComponent,k.MediaDialogComponent,C.MediaSelectorComponent,g.SelectorComponent,h.StripePaymentMethodComponent,M.StripePaymentMethodItemComponent,y.StripePaymentMethodListComponent,b.StripePaymentMethodSelectorComponent,S.StripeSetupIntentComponent,T.TreeComponent,w.TreeDialogComponent,v.TreeNodeComponent],providers:[{provide:Window,useValue:window}]}),j("design:paramtypes",[])],V),e("AppModule",V)}}});
|