@stratusjs/angular 0.10.0 → 0.11.0
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 +89519 -89479
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +3 -4
- package/src/angular.module.js +155 -0
- package/src/angular.module.js.map +1 -0
- package/src/angular.module.min.js +1 -0
- package/src/angular.module.ts +114 -0
- package/src/app.module.js +7 -116
- package/src/app.module.js.map +1 -1
- package/src/app.module.min.js +1 -1
- package/src/app.module.ts +8 -113
- package/src/base/base.component.js +1 -1
- package/src/base/base.component.js.map +1 -1
- package/src/base/base.component.min.js +1 -1
- package/src/base/base.component.ts +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
- package/src/confirm-dialog/confirm-dialog.component.min.js +1 -1
- package/src/confirm-dialog/confirm-dialog.component.ts +1 -1
- package/src/editor/citation-dialog.component.css +2 -1
- package/src/editor/citation-dialog.component.css.map +1 -1
- package/src/editor/citation-dialog.component.js +1 -1
- package/src/editor/citation-dialog.component.js.map +1 -1
- package/src/editor/citation-dialog.component.min.css +1 -1
- package/src/editor/citation-dialog.component.min.js +1 -1
- package/src/editor/citation-dialog.component.scss +2 -1
- package/src/editor/citation-dialog.component.ts +1 -1
- package/src/editor/code-view-dialog.component.js +1 -1
- package/src/editor/code-view-dialog.component.js.map +1 -1
- package/src/editor/code-view-dialog.component.min.js +1 -1
- package/src/editor/code-view-dialog.component.ts +1 -1
- package/src/editor/editor.component.js +7 -3
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/editor.component.min.js +1 -1
- package/src/editor/editor.component.ts +12 -6
- package/src/editor/link-dialog.component.js +1 -1
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/link-dialog.component.min.js +1 -1
- package/src/editor/link-dialog.component.ts +1 -1
- package/src/editor/media-dialog.component.js +1 -1
- package/src/editor/media-dialog.component.js.map +1 -1
- package/src/editor/media-dialog.component.min.js +1 -1
- package/src/editor/media-dialog.component.ts +1 -1
- package/src/{material.js → material.module.js} +1 -1
- package/src/material.module.js.map +1 -0
- package/src/media-selector/media-selector.component.css +12 -0
- package/src/media-selector/media-selector.component.css.map +1 -1
- package/src/media-selector/media-selector.component.js +1 -1
- package/src/media-selector/media-selector.component.js.map +1 -1
- package/src/media-selector/media-selector.component.min.css +1 -1
- package/src/media-selector/media-selector.component.min.js +1 -1
- package/src/media-selector/media-selector.component.scss +2 -0
- package/src/media-selector/media-selector.component.ts +1 -1
- package/src/selector/selector-autocomplete.component.html +4 -4
- package/src/selector/selector-autocomplete.component.min.html +1 -1
- package/src/selector/selector.component.css +60 -19
- package/src/selector/selector.component.css.map +1 -1
- package/src/selector/selector.component.html +12 -12
- package/src/selector/selector.component.js +12 -2
- package/src/selector/selector.component.js.map +1 -1
- package/src/selector/selector.component.min.css +1 -1
- package/src/selector/selector.component.min.html +1 -1
- package/src/selector/selector.component.min.js +1 -1
- package/src/selector/selector.component.scss +6 -2
- package/src/selector/selector.component.ts +13 -1
- package/src/test/test.directive.js +1 -1
- package/src/test/test.directive.js.map +1 -1
- package/src/test/test.directive.min.js +1 -1
- package/src/test/test.directive.ts +1 -1
- package/src/timezone-selector/timezone-selector.component.js +1 -1
- package/src/timezone-selector/timezone-selector.component.js.map +1 -1
- package/src/timezone-selector/timezone-selector.component.min.js +1 -1
- package/src/timezone-selector/timezone-selector.component.ts +1 -1
- package/src/tree/tree-dialog.component.html +293 -210
- package/src/tree/tree-dialog.component.js +5 -1
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-dialog.component.min.html +3 -1
- package/src/tree/tree-dialog.component.min.js +1 -1
- package/src/tree/tree-dialog.component.ts +7 -2
- package/src/tree/tree-node.component.html +2 -2
- package/src/tree/tree-node.component.js +1 -1
- package/src/tree/tree-node.component.js.map +1 -1
- package/src/tree/tree-node.component.min.html +1 -1
- package/src/tree/tree-node.component.min.js +1 -1
- package/src/tree/tree-node.component.ts +1 -1
- package/src/tree/tree.component.css +16 -4
- package/src/tree/tree.component.css.map +1 -1
- package/src/tree/tree.component.html +2 -2
- package/src/tree/tree.component.js +3 -3
- package/src/tree/tree.component.js.map +1 -1
- package/src/tree/tree.component.min.css +1 -1
- package/src/tree/tree.component.min.html +1 -1
- package/src/tree/tree.component.min.js +1 -1
- package/src/tree/tree.component.scss +26 -17
- package/src/tree/tree.component.ts +3 -3
- package/src/angular.modules.js +0 -35
- package/src/angular.modules.js.map +0 -1
- package/src/angular.modules.min.js +0 -1
- package/src/angular.modules.ts +0 -24
- package/src/material.js.map +0 -1
- /package/src/{material.min.js → material.module.min.js} +0 -0
- /package/src/{material.ts → material.module.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stratusjs/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "This is the angular package for StratusJS.",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@mat-datetimepicker/core": "6.0.3",
|
|
29
29
|
"@mat-datetimepicker/moment": "6.0.3",
|
|
30
|
-
"core-js": "^3.19.0",
|
|
31
30
|
"quill": "^1.3.7",
|
|
32
31
|
"quill-autoformat": "^0.1.2",
|
|
33
32
|
"quill-delta": "^4.2.2",
|
|
@@ -57,9 +56,9 @@
|
|
|
57
56
|
"@stratusjs/angularjs": "^0.10.0",
|
|
58
57
|
"@stratusjs/boot": "^1.2.0",
|
|
59
58
|
"@stratusjs/core": "^0.8.0",
|
|
60
|
-
"@stratusjs/map": "^0.6.
|
|
59
|
+
"@stratusjs/map": "^0.6.6",
|
|
61
60
|
"@stratusjs/runtime": "^0.12.1",
|
|
62
|
-
"@stratusjs/stripe": "^1.9.
|
|
61
|
+
"@stratusjs/stripe": "^1.9.1",
|
|
63
62
|
"angular-froala-wysiwyg": "^3.2.7",
|
|
64
63
|
"codemirror": "^6.0.1",
|
|
65
64
|
"froala-editor": "^3.2.7",
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
System.register(["@angular/core", "@angular/material/core", "./material.module", "@angular/common/http", "@angular/flex-layout", "@angular/forms", "@angular/platform-browser", "@angular/platform-browser/animations", "./base/base.component", "./confirm-dialog/confirm-dialog.component", "angular-froala-wysiwyg", "./editor/citation-dialog.component", "./editor/code-view-dialog.component", "./editor/editor.component", "./editor/link-dialog.component", "./editor/media-dialog.component", "./media-selector/media-selector.component", "./selector/selector.component", "./timezone-selector/timezone-selector.component", "./tree/tree.component", "./tree/tree-dialog.component", "./tree/tree-node.component"], function (exports_1, context_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6
|
+
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;
|
|
7
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8
|
+
};
|
|
9
|
+
var core_1, core_2, material_module_1, http_1, flex_layout_1, forms_1, platform_browser_1, animations_1, base_component_1, confirm_dialog_component_1, angular_froala_wysiwyg_1, citation_dialog_component_1, code_view_dialog_component_1, editor_component_1, link_dialog_component_1, media_dialog_component_1, media_selector_component_1, selector_component_1, timezone_selector_component_1, tree_component_1, tree_dialog_component_1, tree_node_component_1, AngularModule, AngularPackage;
|
|
10
|
+
var __moduleName = context_1 && context_1.id;
|
|
11
|
+
return {
|
|
12
|
+
setters: [
|
|
13
|
+
function (core_1_1) {
|
|
14
|
+
core_1 = core_1_1;
|
|
15
|
+
},
|
|
16
|
+
function (core_2_1) {
|
|
17
|
+
core_2 = core_2_1;
|
|
18
|
+
},
|
|
19
|
+
function (material_module_1_1) {
|
|
20
|
+
material_module_1 = material_module_1_1;
|
|
21
|
+
},
|
|
22
|
+
function (http_1_1) {
|
|
23
|
+
http_1 = http_1_1;
|
|
24
|
+
},
|
|
25
|
+
function (flex_layout_1_1) {
|
|
26
|
+
flex_layout_1 = flex_layout_1_1;
|
|
27
|
+
},
|
|
28
|
+
function (forms_1_1) {
|
|
29
|
+
forms_1 = forms_1_1;
|
|
30
|
+
},
|
|
31
|
+
function (platform_browser_1_1) {
|
|
32
|
+
platform_browser_1 = platform_browser_1_1;
|
|
33
|
+
},
|
|
34
|
+
function (animations_1_1) {
|
|
35
|
+
animations_1 = animations_1_1;
|
|
36
|
+
},
|
|
37
|
+
function (base_component_1_1) {
|
|
38
|
+
base_component_1 = base_component_1_1;
|
|
39
|
+
},
|
|
40
|
+
function (confirm_dialog_component_1_1) {
|
|
41
|
+
confirm_dialog_component_1 = confirm_dialog_component_1_1;
|
|
42
|
+
},
|
|
43
|
+
function (angular_froala_wysiwyg_1_1) {
|
|
44
|
+
angular_froala_wysiwyg_1 = angular_froala_wysiwyg_1_1;
|
|
45
|
+
},
|
|
46
|
+
function (citation_dialog_component_1_1) {
|
|
47
|
+
citation_dialog_component_1 = citation_dialog_component_1_1;
|
|
48
|
+
},
|
|
49
|
+
function (code_view_dialog_component_1_1) {
|
|
50
|
+
code_view_dialog_component_1 = code_view_dialog_component_1_1;
|
|
51
|
+
},
|
|
52
|
+
function (editor_component_1_1) {
|
|
53
|
+
editor_component_1 = editor_component_1_1;
|
|
54
|
+
},
|
|
55
|
+
function (link_dialog_component_1_1) {
|
|
56
|
+
link_dialog_component_1 = link_dialog_component_1_1;
|
|
57
|
+
},
|
|
58
|
+
function (media_dialog_component_1_1) {
|
|
59
|
+
media_dialog_component_1 = media_dialog_component_1_1;
|
|
60
|
+
},
|
|
61
|
+
function (media_selector_component_1_1) {
|
|
62
|
+
media_selector_component_1 = media_selector_component_1_1;
|
|
63
|
+
},
|
|
64
|
+
function (selector_component_1_1) {
|
|
65
|
+
selector_component_1 = selector_component_1_1;
|
|
66
|
+
},
|
|
67
|
+
function (timezone_selector_component_1_1) {
|
|
68
|
+
timezone_selector_component_1 = timezone_selector_component_1_1;
|
|
69
|
+
},
|
|
70
|
+
function (tree_component_1_1) {
|
|
71
|
+
tree_component_1 = tree_component_1_1;
|
|
72
|
+
},
|
|
73
|
+
function (tree_dialog_component_1_1) {
|
|
74
|
+
tree_dialog_component_1 = tree_dialog_component_1_1;
|
|
75
|
+
},
|
|
76
|
+
function (tree_node_component_1_1) {
|
|
77
|
+
tree_node_component_1 = tree_node_component_1_1;
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
execute: function () {
|
|
81
|
+
AngularModule = class AngularModule {
|
|
82
|
+
};
|
|
83
|
+
AngularModule = __decorate([
|
|
84
|
+
core_1.NgModule({
|
|
85
|
+
imports: [
|
|
86
|
+
platform_browser_1.BrowserModule,
|
|
87
|
+
animations_1.BrowserAnimationsModule,
|
|
88
|
+
flex_layout_1.FlexLayoutModule,
|
|
89
|
+
forms_1.FormsModule,
|
|
90
|
+
angular_froala_wysiwyg_1.FroalaEditorModule.forRoot(),
|
|
91
|
+
angular_froala_wysiwyg_1.FroalaViewModule.forRoot(),
|
|
92
|
+
http_1.HttpClientModule,
|
|
93
|
+
material_module_1.MaterialModules,
|
|
94
|
+
core_2.MatNativeDateModule,
|
|
95
|
+
forms_1.ReactiveFormsModule,
|
|
96
|
+
],
|
|
97
|
+
declarations: [
|
|
98
|
+
base_component_1.BaseComponent,
|
|
99
|
+
citation_dialog_component_1.CitationDialogComponent,
|
|
100
|
+
code_view_dialog_component_1.CodeViewDialogComponent,
|
|
101
|
+
confirm_dialog_component_1.ConfirmDialogComponent,
|
|
102
|
+
editor_component_1.EditorComponent,
|
|
103
|
+
link_dialog_component_1.LinkDialogComponent,
|
|
104
|
+
media_dialog_component_1.MediaDialogComponent,
|
|
105
|
+
media_selector_component_1.MediaSelectorComponent,
|
|
106
|
+
selector_component_1.SelectorComponent,
|
|
107
|
+
timezone_selector_component_1.TimezoneSelectorComponent,
|
|
108
|
+
tree_component_1.TreeComponent,
|
|
109
|
+
tree_dialog_component_1.TreeDialogComponent,
|
|
110
|
+
tree_node_component_1.TreeNodeComponent,
|
|
111
|
+
],
|
|
112
|
+
entryComponents: [
|
|
113
|
+
base_component_1.BaseComponent,
|
|
114
|
+
citation_dialog_component_1.CitationDialogComponent,
|
|
115
|
+
code_view_dialog_component_1.CodeViewDialogComponent,
|
|
116
|
+
confirm_dialog_component_1.ConfirmDialogComponent,
|
|
117
|
+
editor_component_1.EditorComponent,
|
|
118
|
+
link_dialog_component_1.LinkDialogComponent,
|
|
119
|
+
media_dialog_component_1.MediaDialogComponent,
|
|
120
|
+
media_selector_component_1.MediaSelectorComponent,
|
|
121
|
+
selector_component_1.SelectorComponent,
|
|
122
|
+
timezone_selector_component_1.TimezoneSelectorComponent,
|
|
123
|
+
tree_component_1.TreeComponent,
|
|
124
|
+
tree_dialog_component_1.TreeDialogComponent,
|
|
125
|
+
tree_node_component_1.TreeNodeComponent,
|
|
126
|
+
],
|
|
127
|
+
exports: [
|
|
128
|
+
confirm_dialog_component_1.ConfirmDialogComponent,
|
|
129
|
+
editor_component_1.EditorComponent,
|
|
130
|
+
media_selector_component_1.MediaSelectorComponent,
|
|
131
|
+
selector_component_1.SelectorComponent,
|
|
132
|
+
timezone_selector_component_1.TimezoneSelectorComponent,
|
|
133
|
+
tree_component_1.TreeComponent,
|
|
134
|
+
],
|
|
135
|
+
providers: [
|
|
136
|
+
{ provide: Window, useValue: window }
|
|
137
|
+
]
|
|
138
|
+
})
|
|
139
|
+
], AngularModule);
|
|
140
|
+
exports_1("AngularModule", AngularModule);
|
|
141
|
+
exports_1("AngularPackage", AngularPackage = {
|
|
142
|
+
stratusModule: AngularModule,
|
|
143
|
+
stratusComponents: {
|
|
144
|
+
'sa-editor': editor_component_1.EditorComponent,
|
|
145
|
+
'sa-media-selector': media_selector_component_1.MediaSelectorComponent,
|
|
146
|
+
'sa-selector': selector_component_1.SelectorComponent,
|
|
147
|
+
'sa-timezone-selector': timezone_selector_component_1.TimezoneSelectorComponent,
|
|
148
|
+
'sa-tree': tree_component_1.TreeComponent
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
//# sourceMappingURL=angular.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["angular.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuGa,aAAa,GAAnB,MAAM,aAAa;aAAG,CAAA;YAAhB,aAAa;gBA5DzB,eAAQ,CAAC;oBAEN,OAAO,EAAE;wBACL,gCAAa;wBACb,oCAAuB;wBAEvB,8BAAgB;wBAChB,mBAAW;wBACX,2CAAkB,CAAC,OAAO,EAAE;wBAC5B,yCAAgB,CAAC,OAAO,EAAE;wBAC1B,uBAAgB;wBAChB,iCAAe;wBACf,0BAAmB;wBACnB,2BAAmB;qBAEtB;oBAED,YAAY,EAAE;wBACV,8BAAa;wBACb,mDAAuB;wBACvB,oDAAuB;wBACvB,iDAAsB;wBACtB,kCAAe;wBACf,2CAAmB;wBACnB,6CAAoB;wBACpB,iDAAsB;wBACtB,sCAAiB;wBACjB,uDAAyB;wBACzB,8BAAa;wBACb,2CAAmB;wBACnB,uCAAiB;qBACpB;oBAED,eAAe,EAAE;wBACb,8BAAa;wBACb,mDAAuB;wBACvB,oDAAuB;wBACvB,iDAAsB;wBACtB,kCAAe;wBACf,2CAAmB;wBACnB,6CAAoB;wBACpB,iDAAsB;wBACtB,sCAAiB;wBACjB,uDAAyB;wBACzB,8BAAa;wBACb,2CAAmB;wBACnB,uCAAiB;qBACpB;oBACD,OAAO,EAAE;wBACL,iDAAsB;wBACtB,kCAAe;wBACf,iDAAsB;wBACtB,sCAAiB;wBACjB,uDAAyB;wBACzB,8BAAa;qBAChB;oBACD,SAAS,EAAE;wBACP,EAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAC;qBACtC;iBACJ,CAAC;eACW,aAAa,CAAG;;YAC7B,4BAAa,cAAc,GAAmB;gBAC1C,aAAa,EAAE,aAAa;gBAC5B,iBAAiB,EAAE;oBACf,WAAW,EAAE,kCAAe;oBAC5B,mBAAmB,EAAE,iDAAsB;oBAC3C,aAAa,EAAE,sCAAiB;oBAChC,sBAAsB,EAAE,uDAAyB;oBACjD,SAAS,EAAE,8BAAa;iBAC3B;aACJ,EAAA;QACD,CAAC","file":"angular.module.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["@angular/core","@angular/material/core","./material.module","@angular/common/http","@angular/flex-layout","@angular/forms","@angular/platform-browser","@angular/platform-browser/animations","./base/base.component","./confirm-dialog/confirm-dialog.component","angular-froala-wysiwyg","./editor/citation-dialog.component","./editor/code-view-dialog.component","./editor/editor.component","./editor/link-dialog.component","./editor/media-dialog.component","./media-selector/media-selector.component","./selector/selector.component","./timezone-selector/timezone-selector.component","./tree/tree.component","./tree/tree-dialog.component","./tree/tree-node.component"],function(o,e){"use strict";var n,t,i,r,a,l,c,m,p,u,d,s,C,f,g,M,D,w,S,T,y,v,b,z=this&&this.__decorate||function(o,e,n,t){var i,r=arguments.length,a=r<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,e,n,t);else for(var l=o.length-1;l>=0;l--)(i=o[l])&&(a=(r<3?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a};e&&e.id;return{setters:[function(o){n=o},function(o){t=o},function(o){i=o},function(o){r=o},function(o){a=o},function(o){l=o},function(o){c=o},function(o){m=o},function(o){p=o},function(o){u=o},function(o){d=o},function(o){s=o},function(o){C=o},function(o){f=o},function(o){g=o},function(o){M=o},function(o){D=o},function(o){w=o},function(o){S=o},function(o){T=o},function(o){y=o},function(o){v=o}],execute:function(){b=class{},b=z([n.NgModule({imports:[c.BrowserModule,m.BrowserAnimationsModule,a.FlexLayoutModule,l.FormsModule,d.FroalaEditorModule.forRoot(),d.FroalaViewModule.forRoot(),r.HttpClientModule,i.MaterialModules,t.MatNativeDateModule,l.ReactiveFormsModule],declarations:[p.BaseComponent,s.CitationDialogComponent,C.CodeViewDialogComponent,u.ConfirmDialogComponent,f.EditorComponent,g.LinkDialogComponent,M.MediaDialogComponent,D.MediaSelectorComponent,w.SelectorComponent,S.TimezoneSelectorComponent,T.TreeComponent,y.TreeDialogComponent,v.TreeNodeComponent],entryComponents:[p.BaseComponent,s.CitationDialogComponent,C.CodeViewDialogComponent,u.ConfirmDialogComponent,f.EditorComponent,g.LinkDialogComponent,M.MediaDialogComponent,D.MediaSelectorComponent,w.SelectorComponent,S.TimezoneSelectorComponent,T.TreeComponent,y.TreeDialogComponent,v.TreeNodeComponent],exports:[u.ConfirmDialogComponent,f.EditorComponent,D.MediaSelectorComponent,w.SelectorComponent,S.TimezoneSelectorComponent,T.TreeComponent],providers:[{provide:Window,useValue:window}]})],b),o("AngularModule",b),o("AngularPackage",{stratusModule:b,stratusComponents:{"sa-editor":f.EditorComponent,"sa-media-selector":D.MediaSelectorComponent,"sa-selector":w.SelectorComponent,"sa-timezone-selector":S.TimezoneSelectorComponent,"sa-tree":T.TreeComponent}})}}});
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// TODO we will want to break this off into their own modules/packages
|
|
2
|
+
import {StratusPackage} from './app.module'
|
|
3
|
+
import {NgModule} from '@angular/core'
|
|
4
|
+
|
|
5
|
+
// Material Modules
|
|
6
|
+
import {MatNativeDateModule} from '@angular/material/core'
|
|
7
|
+
import {MaterialModules} from './material.module'
|
|
8
|
+
|
|
9
|
+
// Angular Libraries
|
|
10
|
+
import {HttpClientModule} from '@angular/common/http'
|
|
11
|
+
import {FlexLayoutModule} from '@angular/flex-layout'
|
|
12
|
+
import {FormsModule, ReactiveFormsModule} from '@angular/forms'
|
|
13
|
+
import {BrowserModule} from '@angular/platform-browser'
|
|
14
|
+
import {BrowserAnimationsModule} from '@angular/platform-browser/animations'
|
|
15
|
+
|
|
16
|
+
// Base Components
|
|
17
|
+
import {BaseComponent} from './base/base.component'
|
|
18
|
+
|
|
19
|
+
// Confirm Dialog
|
|
20
|
+
import {ConfirmDialogComponent} from './confirm-dialog/confirm-dialog.component'
|
|
21
|
+
|
|
22
|
+
// Editor
|
|
23
|
+
import {FroalaEditorModule, FroalaViewModule} from 'angular-froala-wysiwyg'
|
|
24
|
+
import {CitationDialogComponent} from './editor/citation-dialog.component'
|
|
25
|
+
import {CodeViewDialogComponent} from './editor/code-view-dialog.component'
|
|
26
|
+
import {EditorComponent} from './editor/editor.component'
|
|
27
|
+
import {LinkDialogComponent} from './editor/link-dialog.component'
|
|
28
|
+
import {MediaDialogComponent} from './editor/media-dialog.component'
|
|
29
|
+
|
|
30
|
+
// Media Selector
|
|
31
|
+
import {MediaSelectorComponent} from './media-selector/media-selector.component'
|
|
32
|
+
|
|
33
|
+
// Selector
|
|
34
|
+
import {SelectorComponent} from './selector/selector.component'
|
|
35
|
+
|
|
36
|
+
// Timezone Selector
|
|
37
|
+
import {TimezoneSelectorComponent} from './timezone-selector/timezone-selector.component'
|
|
38
|
+
|
|
39
|
+
// Tree
|
|
40
|
+
import {TreeComponent} from './tree/tree.component'
|
|
41
|
+
import {TreeDialogComponent} from './tree/tree-dialog.component'
|
|
42
|
+
import {TreeNodeComponent} from './tree/tree-node.component'
|
|
43
|
+
|
|
44
|
+
@NgModule({
|
|
45
|
+
// These are for external libraries (or Angular)
|
|
46
|
+
imports: [
|
|
47
|
+
BrowserModule,
|
|
48
|
+
BrowserAnimationsModule,
|
|
49
|
+
// CodeEditorModule.forRoot(),
|
|
50
|
+
FlexLayoutModule,
|
|
51
|
+
FormsModule,
|
|
52
|
+
FroalaEditorModule.forRoot(),
|
|
53
|
+
FroalaViewModule.forRoot(),
|
|
54
|
+
HttpClientModule,
|
|
55
|
+
MaterialModules,
|
|
56
|
+
MatNativeDateModule,
|
|
57
|
+
ReactiveFormsModule,
|
|
58
|
+
// SelectorComponent.forRoot()
|
|
59
|
+
],
|
|
60
|
+
// These determine what exists as a component within Angular system.
|
|
61
|
+
declarations: [
|
|
62
|
+
BaseComponent,
|
|
63
|
+
CitationDialogComponent,
|
|
64
|
+
CodeViewDialogComponent,
|
|
65
|
+
ConfirmDialogComponent,
|
|
66
|
+
EditorComponent,
|
|
67
|
+
LinkDialogComponent,
|
|
68
|
+
MediaDialogComponent,
|
|
69
|
+
MediaSelectorComponent,
|
|
70
|
+
SelectorComponent,
|
|
71
|
+
TimezoneSelectorComponent,
|
|
72
|
+
TreeComponent,
|
|
73
|
+
TreeDialogComponent,
|
|
74
|
+
TreeNodeComponent,
|
|
75
|
+
],
|
|
76
|
+
// This determines what is accessible via DOM as a component. These must be listed in `declarations`. (required in stratus)
|
|
77
|
+
entryComponents: [
|
|
78
|
+
BaseComponent, // FIXME shouldn't be needed as doesn't load on DOM
|
|
79
|
+
CitationDialogComponent,
|
|
80
|
+
CodeViewDialogComponent,
|
|
81
|
+
ConfirmDialogComponent,
|
|
82
|
+
EditorComponent,
|
|
83
|
+
LinkDialogComponent,
|
|
84
|
+
MediaDialogComponent,
|
|
85
|
+
MediaSelectorComponent,
|
|
86
|
+
SelectorComponent,
|
|
87
|
+
TimezoneSelectorComponent,
|
|
88
|
+
TreeComponent,
|
|
89
|
+
TreeDialogComponent,
|
|
90
|
+
TreeNodeComponent,
|
|
91
|
+
],
|
|
92
|
+
exports: [
|
|
93
|
+
ConfirmDialogComponent,
|
|
94
|
+
EditorComponent,
|
|
95
|
+
MediaSelectorComponent,
|
|
96
|
+
SelectorComponent,
|
|
97
|
+
TimezoneSelectorComponent,
|
|
98
|
+
TreeComponent,
|
|
99
|
+
],
|
|
100
|
+
providers: [
|
|
101
|
+
{provide: Window, useValue: window}
|
|
102
|
+
]
|
|
103
|
+
})
|
|
104
|
+
export class AngularModule {}
|
|
105
|
+
export const AngularPackage: StratusPackage = {
|
|
106
|
+
stratusModule: AngularModule,
|
|
107
|
+
stratusComponents: {
|
|
108
|
+
'sa-editor': EditorComponent,
|
|
109
|
+
'sa-media-selector': MediaSelectorComponent,
|
|
110
|
+
'sa-selector': SelectorComponent,
|
|
111
|
+
'sa-timezone-selector': TimezoneSelectorComponent,
|
|
112
|
+
'sa-tree': TreeComponent
|
|
113
|
+
}
|
|
114
|
+
}
|
package/src/app.module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
System.register(["lodash", "@stratusjs/runtime/stratus", "@angular/
|
|
1
|
+
System.register(["lodash", "@stratusjs/runtime/stratus", "@angular/core", "./angular.module", "../../map/src/map.module", "../../stripe/src/stripe.module"], function (exports_1, context_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4
4
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -9,7 +9,7 @@ System.register(["lodash", "@stratusjs/runtime/stratus", "@angular/common/http",
|
|
|
9
9
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
10
10
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11
11
|
};
|
|
12
|
-
var lodash_1, stratus_1,
|
|
12
|
+
var lodash_1, stratus_1, core_1, angular_module_1, map_module_1, stripe_module_1, ngModuleImports, appModuleComponents, stratusPackages, AppModule;
|
|
13
13
|
var __moduleName = context_1 && context_1.id;
|
|
14
14
|
return {
|
|
15
15
|
setters: [
|
|
@@ -19,131 +19,24 @@ System.register(["lodash", "@stratusjs/runtime/stratus", "@angular/common/http",
|
|
|
19
19
|
function (stratus_1_1) {
|
|
20
20
|
stratus_1 = stratus_1_1;
|
|
21
21
|
},
|
|
22
|
-
function (http_1_1) {
|
|
23
|
-
http_1 = http_1_1;
|
|
24
|
-
},
|
|
25
22
|
function (core_1_1) {
|
|
26
23
|
core_1 = core_1_1;
|
|
27
24
|
},
|
|
28
|
-
function (
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
function (core_2_1) {
|
|
32
|
-
core_2 = core_2_1;
|
|
33
|
-
},
|
|
34
|
-
function (platform_browser_1_1) {
|
|
35
|
-
platform_browser_1 = platform_browser_1_1;
|
|
36
|
-
},
|
|
37
|
-
function (animations_1_1) {
|
|
38
|
-
animations_1 = animations_1_1;
|
|
39
|
-
},
|
|
40
|
-
function (material_1_1) {
|
|
41
|
-
material_1 = material_1_1;
|
|
42
|
-
},
|
|
43
|
-
function (flex_layout_1_1) {
|
|
44
|
-
flex_layout_1 = flex_layout_1_1;
|
|
45
|
-
},
|
|
46
|
-
function (base_component_1_1) {
|
|
47
|
-
base_component_1 = base_component_1_1;
|
|
48
|
-
},
|
|
49
|
-
function (confirm_dialog_component_1_1) {
|
|
50
|
-
confirm_dialog_component_1 = confirm_dialog_component_1_1;
|
|
51
|
-
},
|
|
52
|
-
function (editor_component_1_1) {
|
|
53
|
-
editor_component_1 = editor_component_1_1;
|
|
54
|
-
},
|
|
55
|
-
function (media_selector_component_1_1) {
|
|
56
|
-
media_selector_component_1 = media_selector_component_1_1;
|
|
57
|
-
},
|
|
58
|
-
function (selector_component_1_1) {
|
|
59
|
-
selector_component_1 = selector_component_1_1;
|
|
60
|
-
},
|
|
61
|
-
function (timezone_selector_component_1_1) {
|
|
62
|
-
timezone_selector_component_1 = timezone_selector_component_1_1;
|
|
63
|
-
},
|
|
64
|
-
function (tree_component_1_1) {
|
|
65
|
-
tree_component_1 = tree_component_1_1;
|
|
66
|
-
},
|
|
67
|
-
function (tree_dialog_component_1_1) {
|
|
68
|
-
tree_dialog_component_1 = tree_dialog_component_1_1;
|
|
69
|
-
},
|
|
70
|
-
function (tree_node_component_1_1) {
|
|
71
|
-
tree_node_component_1 = tree_node_component_1_1;
|
|
25
|
+
function (angular_module_1_1) {
|
|
26
|
+
angular_module_1 = angular_module_1_1;
|
|
72
27
|
},
|
|
73
28
|
function (map_module_1_1) {
|
|
74
29
|
map_module_1 = map_module_1_1;
|
|
75
30
|
},
|
|
76
31
|
function (stripe_module_1_1) {
|
|
77
32
|
stripe_module_1 = stripe_module_1_1;
|
|
78
|
-
},
|
|
79
|
-
function (angular_froala_wysiwyg_1_1) {
|
|
80
|
-
angular_froala_wysiwyg_1 = angular_froala_wysiwyg_1_1;
|
|
81
|
-
},
|
|
82
|
-
function (citation_dialog_component_1_1) {
|
|
83
|
-
citation_dialog_component_1 = citation_dialog_component_1_1;
|
|
84
|
-
},
|
|
85
|
-
function (code_view_dialog_component_1_1) {
|
|
86
|
-
code_view_dialog_component_1 = code_view_dialog_component_1_1;
|
|
87
|
-
},
|
|
88
|
-
function (media_dialog_component_1_1) {
|
|
89
|
-
media_dialog_component_1 = media_dialog_component_1_1;
|
|
90
|
-
},
|
|
91
|
-
function (link_dialog_component_1_1) {
|
|
92
|
-
link_dialog_component_1 = link_dialog_component_1_1;
|
|
93
33
|
}
|
|
94
34
|
],
|
|
95
35
|
execute: function () {
|
|
96
|
-
ngModuleImports = [
|
|
97
|
-
|
|
98
|
-
animations_1.BrowserAnimationsModule,
|
|
99
|
-
flex_layout_1.FlexLayoutModule,
|
|
100
|
-
forms_1.FormsModule,
|
|
101
|
-
angular_froala_wysiwyg_1.FroalaEditorModule.forRoot(),
|
|
102
|
-
angular_froala_wysiwyg_1.FroalaViewModule.forRoot(),
|
|
103
|
-
http_1.HttpClientModule,
|
|
104
|
-
material_1.MaterialModules,
|
|
105
|
-
core_2.MatNativeDateModule,
|
|
106
|
-
forms_1.ReactiveFormsModule,
|
|
107
|
-
];
|
|
108
|
-
ngDeclarations = [
|
|
109
|
-
base_component_1.BaseComponent,
|
|
110
|
-
citation_dialog_component_1.CitationDialogComponent,
|
|
111
|
-
code_view_dialog_component_1.CodeViewDialogComponent,
|
|
112
|
-
confirm_dialog_component_1.ConfirmDialogComponent,
|
|
113
|
-
editor_component_1.EditorComponent,
|
|
114
|
-
link_dialog_component_1.LinkDialogComponent,
|
|
115
|
-
media_dialog_component_1.MediaDialogComponent,
|
|
116
|
-
media_selector_component_1.MediaSelectorComponent,
|
|
117
|
-
selector_component_1.SelectorComponent,
|
|
118
|
-
timezone_selector_component_1.TimezoneSelectorComponent,
|
|
119
|
-
tree_component_1.TreeComponent,
|
|
120
|
-
tree_dialog_component_1.TreeDialogComponent,
|
|
121
|
-
tree_node_component_1.TreeNodeComponent,
|
|
122
|
-
];
|
|
123
|
-
ngEntryComponents = [
|
|
124
|
-
base_component_1.BaseComponent,
|
|
125
|
-
citation_dialog_component_1.CitationDialogComponent,
|
|
126
|
-
code_view_dialog_component_1.CodeViewDialogComponent,
|
|
127
|
-
confirm_dialog_component_1.ConfirmDialogComponent,
|
|
128
|
-
editor_component_1.EditorComponent,
|
|
129
|
-
link_dialog_component_1.LinkDialogComponent,
|
|
130
|
-
media_dialog_component_1.MediaDialogComponent,
|
|
131
|
-
media_selector_component_1.MediaSelectorComponent,
|
|
132
|
-
selector_component_1.SelectorComponent,
|
|
133
|
-
timezone_selector_component_1.TimezoneSelectorComponent,
|
|
134
|
-
tree_component_1.TreeComponent,
|
|
135
|
-
tree_dialog_component_1.TreeDialogComponent,
|
|
136
|
-
tree_node_component_1.TreeNodeComponent,
|
|
137
|
-
];
|
|
138
|
-
appModuleComponents = {
|
|
139
|
-
'sa-base': base_component_1.BaseComponent,
|
|
140
|
-
'sa-editor': editor_component_1.EditorComponent,
|
|
141
|
-
'sa-media-selector': media_selector_component_1.MediaSelectorComponent,
|
|
142
|
-
'sa-selector': selector_component_1.SelectorComponent,
|
|
143
|
-
'sa-timezone-selector': timezone_selector_component_1.TimezoneSelectorComponent,
|
|
144
|
-
'sa-tree': tree_component_1.TreeComponent
|
|
145
|
-
};
|
|
36
|
+
ngModuleImports = [];
|
|
37
|
+
appModuleComponents = {};
|
|
146
38
|
stratusPackages = [
|
|
39
|
+
angular_module_1.AngularPackage,
|
|
147
40
|
map_module_1.MapPackage,
|
|
148
41
|
stripe_module_1.StripePackage
|
|
149
42
|
];
|
|
@@ -192,8 +85,6 @@ System.register(["lodash", "@stratusjs/runtime/stratus", "@angular/common/http",
|
|
|
192
85
|
AppModule = __decorate([
|
|
193
86
|
core_1.NgModule({
|
|
194
87
|
imports: ngModuleImports,
|
|
195
|
-
entryComponents: ngEntryComponents,
|
|
196
|
-
declarations: ngDeclarations,
|
|
197
88
|
providers: [
|
|
198
89
|
{ provide: Window, useValue: window }
|
|
199
90
|
]
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuDM,eAAe,GAAU,EAAE,CAAA;YAE3B,mBAAmB,GAAG,EAAE,CAAA;YAGxB,eAAe,GAAqB;gBACtC,+BAAc;gBACd,uBAAU;gBACV,6BAAa;aAChB,CAAA;YACD,eAAe,CAAC,OAAO,CAAC,CAAC,cAAc,EAAE,EAAE;gBACvC,eAAe,CAAC,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,CAAA;gBAClD,IAAI,cAAc,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE;oBACpD,eAAM,CAAC,mBAAmB,EAAE,cAAc,CAAC,iBAAiB,CAAC,CAAA;iBAChE;YACL,CAAC,CAAC,CAAA;YAWW,SAAS,GAAf,MAAM,SAAS;gBAOlB;oBALA,mBAAc,GAAG,IAAI,CAAA;oBACrB,cAAS,GAAG,EAAE,CAAA;oBAEd,YAAO,GAAG,mBAAmB,CAAA;oBAGzB,iBAAO,CAAC,SAAS,CAAC,iBAAQ,CAAC,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAA;gBACxD,CAAC;gBAED,aAAa,CAAC,MAAsB;oBAChC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;gBAC3B,CAAC;gBAGD,kBAAkB,CAAC,KAAc;oBAC7B,IAAI,iBAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE;wBAChD,OAAO,KAAK,CAAA;qBACf;oBAED,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAA;oBAE1C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,GAAG,IAAI,CAAA;oBAEhD,OAAO,cAAc,CAAA;gBACzB,CAAC;gBAED,UAAU,CAAC,MAAsB;oBAC7B,gBAAO,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;wBAIvC,MAAM,QAAQ,GAAG,QAAQ,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAA;wBACxD,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;4BAC/B,OAAM;yBACT;wBACD,gBAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;4BACvB,IAAI,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE;gCACjC,OAAM;6BACT;4BAID,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;wBAClC,CAAC,CAAC,CAAA;oBACN,CAAC,CAAC,CAAA;oBAuBF,UAAU,CAAC,GAAG,EAAE;wBACZ,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;oBAC3B,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAA;gBACrC,CAAC;aACJ,CAAA;YAzEY,SAAS;gBARrB,eAAQ,CAAC;oBAEN,OAAO,EAAE,eAAe;oBAExB,SAAS,EAAE;wBACP,EAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAC;qBACtC;iBACJ,CAAC;;eACW,SAAS,CAyErB;;QACD,CAAC","file":"app.module.js"}
|
package/src/app.module.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["lodash","@stratusjs/runtime/stratus","@angular/
|
|
1
|
+
System.register(["lodash","@stratusjs/runtime/stratus","@angular/core","./angular.module","../../map/src/map.module","../../stripe/src/stripe.module"],function(t,e){"use strict";var i,o,n,s,a,r,u,c,l,f=this&&this.__decorate||function(t,e,i,o){var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e&&e.id;return{setters:[function(t){i=t},function(t){o=t},function(t){n=t},function(t){s=t},function(t){a=t},function(t){r=t}],execute:function(){u=[],c={},[s.AngularPackage,a.MapPackage,r.StripePackage].forEach(t=>{u.push(t.stratusModule),t.hasOwnProperty("stratusComponents")&&i.extend(c,t.stratusComponents)}),l=class{constructor(){this.initialTimeout=1e3,this.instances={},this.modules=c,o.Stratus.Instances[i.uniqueId("sa_app_module_")]=this}ngDoBootstrap(t){this.detectBoot(t)}exponentialTimeout(t){if(i.isNumber(t)&&t<this.initialTimeout)return t;const e=this.initialTimeout;return this.initialTimeout=1.01*this.initialTimeout,e}detectBoot(t){i.forEach(this.modules,(e,o)=>{const n=document.getElementsByTagName(o);n&&n.length&&i.forEach(n,i=>{i.hasAttribute("ng-version")||t.bootstrap(e,i)})}),setTimeout(()=>{this.detectBoot(t)},this.exponentialTimeout(4e3))}},l=f([n.NgModule({imports:u,providers:[{provide:Window,useValue:window}]}),p("design:paramtypes",[])],l),t("AppModule",l)}}});
|