@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.
Files changed (92) hide show
  1. package/dist/angular.bundle.js +30609 -2673
  2. package/dist/angular.bundle.min.js +1 -1
  3. package/package.json +5 -4
  4. package/src/angular.modules.js +18 -33
  5. package/src/angular.modules.js.map +1 -1
  6. package/src/app.module.js +181 -227
  7. package/src/app.module.js.map +1 -1
  8. package/src/app.module.min.js +1 -1
  9. package/src/app.module.ts +17 -17
  10. package/src/backend.service.js +66 -87
  11. package/src/backend.service.js.map +1 -1
  12. package/src/base/base.component.js +101 -124
  13. package/src/base/base.component.js.map +1 -1
  14. package/src/boot.js +42 -55
  15. package/src/boot.js.map +1 -1
  16. package/src/confirm-dialog/confirm-dialog.component.js +41 -60
  17. package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
  18. package/src/core/base.interface.js +1 -9
  19. package/src/core/base.interface.js.map +1 -1
  20. package/src/core/dialog.interface.js.map +1 -0
  21. package/src/core/refresh.interface.js +1 -9
  22. package/src/core/refresh.interface.js.map +1 -1
  23. package/src/core/responsive.component.js +40 -58
  24. package/src/core/responsive.component.js.map +1 -1
  25. package/src/core/responsive.interface.js +1 -9
  26. package/src/core/responsive.interface.js.map +1 -1
  27. package/src/core/root.component.js +24 -43
  28. package/src/core/root.component.js.map +1 -1
  29. package/src/core/trigger.interface.js +1 -9
  30. package/src/core/trigger.interface.js.map +1 -1
  31. package/src/data/contact-meta.interface.js +1 -9
  32. package/src/data/contact-meta.interface.js.map +1 -1
  33. package/src/data/content.interface.js +1 -9
  34. package/src/data/content.interface.js.map +1 -1
  35. package/src/data/convoy.interface.js +1 -9
  36. package/src/data/convoy.interface.js.map +1 -1
  37. package/src/editor/citation-dialog.component.js +174 -207
  38. package/src/editor/citation-dialog.component.js.map +1 -1
  39. package/src/editor/code-mirror-bridge.js +63 -0
  40. package/src/editor/code-mirror-bridge.js.map +1 -0
  41. package/src/editor/code-mirror-bridge.min.js +1 -0
  42. package/src/editor/code-mirror-bridge.ts +85 -0
  43. package/src/editor/code-view-dialog.component.js +87 -116
  44. package/src/editor/code-view-dialog.component.js.map +1 -1
  45. package/src/editor/editor.component.js +903 -925
  46. package/src/editor/editor.component.js.map +1 -1
  47. package/src/editor/editor.component.min.js +1 -1
  48. package/src/editor/editor.component.ts +60 -21
  49. package/src/editor/link-dialog.component.js +356 -395
  50. package/src/editor/link-dialog.component.js.map +1 -1
  51. package/src/editor/media-dialog.component.js +270 -303
  52. package/src/editor/media-dialog.component.js.map +1 -1
  53. package/src/froala/plugins/citationManager.js +170 -191
  54. package/src/froala/plugins/citationManager.js.map +1 -1
  55. package/src/froala/plugins/inputButton.js +122 -138
  56. package/src/froala/plugins/inputButton.js.map +1 -1
  57. package/src/froala/plugins/linkManager.js +89 -104
  58. package/src/froala/plugins/linkManager.js.map +1 -1
  59. package/src/froala/plugins/mediaManager.js +72 -87
  60. package/src/froala/plugins/mediaManager.js.map +1 -1
  61. package/src/froala/plugins/menuButton.js +71 -86
  62. package/src/froala/plugins/menuButton.js.map +1 -1
  63. package/src/main.js +13 -33
  64. package/src/main.js.map +1 -1
  65. package/src/material.js +99 -194
  66. package/src/material.js.map +1 -1
  67. package/src/media-selector/media-selector.component.js +406 -441
  68. package/src/media-selector/media-selector.component.js.map +1 -1
  69. package/src/polyfills.js +3 -16
  70. package/src/polyfills.js.map +1 -1
  71. package/src/quill-plugins/quill-break-blot.plugin.js +19 -35
  72. package/src/quill-plugins/quill-break-blot.plugin.js.map +1 -1
  73. package/src/quill-plugins/quill-html-edit.plugin.js +140 -153
  74. package/src/quill-plugins/quill-html-edit.plugin.js.map +1 -1
  75. package/src/quill-plugins/quill-image-format.plugin.js +33 -47
  76. package/src/quill-plugins/quill-image-format.plugin.js.map +1 -1
  77. package/src/quill-plugins/quill-input-button.plugin.js +77 -95
  78. package/src/quill-plugins/quill-input-button.plugin.js.map +1 -1
  79. package/src/selector/selector.component.js +241 -276
  80. package/src/selector/selector.component.js.map +1 -1
  81. package/src/test/test.directive.js +49 -66
  82. package/src/test/test.directive.js.map +1 -1
  83. package/src/tree/tree-dialog.component.js +202 -231
  84. package/src/tree/tree-dialog.component.js.map +1 -1
  85. package/src/tree/tree-node.component.js +253 -279
  86. package/src/tree/tree-node.component.js.map +1 -1
  87. package/src/tree/tree-node.component.min.js +1 -1
  88. package/src/tree/tree-node.component.ts +10 -18
  89. package/src/tree/tree.component.js +531 -568
  90. package/src/tree/tree.component.js.map +1 -1
  91. package/src/tree/tree.component.min.js +1 -1
  92. 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.0",
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": "^5.65.10",
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.5.5",
68
- "rxjs-compat": "^6.5.5",
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
  }
@@ -1,35 +1,20 @@
1
- System.register(["@angular/core", "./editor/editor.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, editor_component_1, AngularModules;
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 (editor_component_1_1) {
17
- editor_component_1 = editor_component_1_1;
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":";;;;;;;;;;;;;;;;;;;;YAsBa,cAAc,GAA3B,MAAa,cAAc;aAC1B,CAAA;YADY,cAAc;gBAN1B,eAAQ,CAAC;oBACN,OAAO,EAAE;wBACL,kCAAe;qBAElB;iBACJ,CAAC;eACW,cAAc,CAC1B;;QACD,CAAC","file":"angular.modules.js"}
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
- 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 (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 __metadata = (this && this.__metadata) || function (k, v) {
10
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
11
- };
12
- var environment_1, http_1, core_1, forms_1, core_2, platform_browser_1, animations_1, material_1, flex_layout_1, base_component_1, confirm_dialog_component_1, editor_component_1, map_component_1, media_selector_component_1, selector_component_1, tree_component_1, tree_dialog_component_1, tree_node_component_1, lodash_1, stratus_1, google_maps_1, citation_dialog_component_1, code_view_dialog_component_1, media_dialog_component_1, link_dialog_component_1, angular_froala_wysiwyg_1, quillConfig, AppModule;
13
- var __moduleName = context_1 && context_1.id;
14
- return {
15
- setters: [
16
- function (environment_1_1) {
17
- environment_1 = environment_1_1;
18
- },
19
- function (http_1_1) {
20
- http_1 = http_1_1;
21
- },
22
- function (core_1_1) {
23
- core_1 = core_1_1;
24
- },
25
- function (forms_1_1) {
26
- forms_1 = forms_1_1;
27
- },
28
- function (core_2_1) {
29
- core_2 = core_2_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 (material_1_1) {
38
- material_1 = material_1_1;
39
- },
40
- function (flex_layout_1_1) {
41
- flex_layout_1 = flex_layout_1_1;
42
- },
43
- function (base_component_1_1) {
44
- base_component_1 = base_component_1_1;
45
- },
46
- function (confirm_dialog_component_1_1) {
47
- confirm_dialog_component_1 = confirm_dialog_component_1_1;
48
- },
49
- function (editor_component_1_1) {
50
- editor_component_1 = editor_component_1_1;
51
- },
52
- function (map_component_1_1) {
53
- map_component_1 = map_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 (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
- execute: function () {
96
- quillConfig = {
97
- modules: {
98
- syntax: true,
99
- toolbar: [
100
- ['bold', 'italic', 'underline', 'strike'],
101
- [{ script: 'sub' }, { script: 'super' }],
102
- [{ header: [1, 2, 3, 4, 5, 6, false] }],
103
- [{ list: 'ordered' }, { list: 'bullet' }],
104
- ['blockquote', 'code-block'],
105
- [{
106
- align: []
107
- }],
108
- [{ indent: '-1' }, { indent: '+1' }],
109
- ['clean'],
110
- [
111
- 'link',
112
- 'video'
113
- ],
114
- ],
115
- mediaLibrary: {
116
- debug: true,
117
- buttonHTML: '<i class="fas fa-photo-video"></i>',
118
- buttonTitle: 'Media Library',
119
- name: 'mediaLibrary',
120
- eventName: 'media-library'
121
- },
122
- codeView: {
123
- debug: true,
124
- buttonHTML: '<i class="fas fa-file-code"></i>',
125
- buttonTitle: 'Code View',
126
- name: 'codeView',
127
- eventName: 'code-view'
128
- }
129
- }
130
- };
131
- if (environment_1.cookie('env')) {
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
- AppModule = class AppModule {
134
- constructor() {
135
- this.initialTimeout = 1000;
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
- detectBoot(appRef) {
159
- lodash_1.default.forEach(this.modules, (module, selector) => {
160
- const elements = document.getElementsByTagName(selector);
161
- if (!elements || !elements.length) {
162
- return;
163
- }
164
- lodash_1.default.forEach(elements, (node) => {
165
- if (node.hasAttribute('ng-version')) {
166
- return;
167
- }
168
- appRef.bootstrap(module, node);
169
- });
170
- });
171
- setTimeout(() => {
172
- this.detectBoot(appRef);
173
- }, this.exponentialTimeout(4000));
174
- }
175
- };
176
- AppModule = __decorate([
177
- core_1.NgModule({
178
- imports: [
179
- platform_browser_1.BrowserModule,
180
- animations_1.BrowserAnimationsModule,
181
- flex_layout_1.FlexLayoutModule,
182
- forms_1.FormsModule,
183
- angular_froala_wysiwyg_1.FroalaEditorModule.forRoot(),
184
- angular_froala_wysiwyg_1.FroalaViewModule.forRoot(),
185
- google_maps_1.GoogleMapsModule,
186
- http_1.HttpClientModule,
187
- material_1.MaterialModules,
188
- core_2.MatNativeDateModule,
189
- forms_1.ReactiveFormsModule,
190
- ],
191
- entryComponents: [
192
- base_component_1.BaseComponent,
193
- citation_dialog_component_1.CitationDialogComponent,
194
- code_view_dialog_component_1.CodeViewDialogComponent,
195
- confirm_dialog_component_1.ConfirmDialogComponent,
196
- editor_component_1.EditorComponent,
197
- link_dialog_component_1.LinkDialogComponent,
198
- map_component_1.MapComponent,
199
- media_dialog_component_1.MediaDialogComponent,
200
- media_selector_component_1.MediaSelectorComponent,
201
- selector_component_1.SelectorComponent,
202
- tree_component_1.TreeComponent,
203
- tree_dialog_component_1.TreeDialogComponent,
204
- tree_node_component_1.TreeNodeComponent,
205
- ],
206
- declarations: [
207
- base_component_1.BaseComponent,
208
- citation_dialog_component_1.CitationDialogComponent,
209
- code_view_dialog_component_1.CodeViewDialogComponent,
210
- confirm_dialog_component_1.ConfirmDialogComponent,
211
- editor_component_1.EditorComponent,
212
- link_dialog_component_1.LinkDialogComponent,
213
- map_component_1.MapComponent,
214
- media_dialog_component_1.MediaDialogComponent,
215
- media_selector_component_1.MediaSelectorComponent,
216
- selector_component_1.SelectorComponent,
217
- tree_component_1.TreeComponent,
218
- tree_dialog_component_1.TreeDialogComponent,
219
- tree_node_component_1.TreeNodeComponent,
220
- ],
221
- providers: [
222
- { provide: Window, useValue: window }
223
- ]
224
- }),
225
- __metadata("design:paramtypes", [])
226
- ], AppModule);
227
- exports_1("AppModule", AppModule);
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
@@ -1 +1 @@
1
- {"version":3,"sources":["app.module.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BAAmB;YACnB,iBAAiB;SACpB;QAED,SAAS,EAAE;YACP,EAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAC;SACtC;KACJ,CAAC;;GACW,SAAS,CAkFrB;SAlFY,SAAS","file":"app.module.js"}
@@ -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,o){"use strict";var t,n,i,a,r,l,c,s,u,m,d,p,f,g,C,b,M,h,T,y,w,v,D,B,R,k,L,N=this&&this.__decorate||function(e,o,t,n){var i,a=arguments.length,r=a<3?o:null===n?n=Object.getOwnPropertyDescriptor(o,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,o,t,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(r=(a<3?i(r):a>3?i(o,t,r):i(o,t))||r);return a>3&&r&&Object.defineProperty(o,t,r),r},S=this&&this.__metadata||function(e,o){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,o)};o&&o.id;return{setters:[function(e){t=e},function(e){n=e},function(e){i=e},function(e){a=e},function(e){r=e},function(e){l=e},function(e){c=e},function(e){s=e},function(e){u=e},function(e){m=e},function(e){d=e},function(e){p=e},function(e){f=e},function(e){g=e},function(e){C=e},function(e){b=e},function(e){M=e},function(e){h=e},function(e){T=e},function(e){y=e},function(e){w=e},function(e){v=e},function(e){D=e},function(e){B=e},function(e){R=e},function(e){k=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"}}}),t.cookie("env"),L=class{constructor(){this.initialTimeout=1e3,this.instances={},this.modules={"sa-base":m.BaseComponent,"sa-editor":p.EditorComponent,"sa-map":f.MapComponent,"sa-media-selector":g.MediaSelectorComponent,"sa-selector":C.SelectorComponent,"sa-tree":b.TreeComponent},y.Stratus.Instances[T.default.uniqueId("sa_app_module_")]=this}ngDoBootstrap(e){this.detectBoot(e)}exponentialTimeout(e){if(T.default.isNumber(e)&&e<this.initialTimeout)return e;const o=this.initialTimeout;return this.initialTimeout=1.01*this.initialTimeout,o}detectBoot(e){T.default.forEach(this.modules,(o,t)=>{const n=document.getElementsByTagName(t);n&&n.length&&T.default.forEach(n,t=>{t.hasAttribute("ng-version")||e.bootstrap(o,t)})}),setTimeout(()=>{this.detectBoot(e)},this.exponentialTimeout(4e3))}},L=N([i.NgModule({imports:[l.BrowserModule,c.BrowserAnimationsModule,u.FlexLayoutModule,a.FormsModule,k.FroalaEditorModule.forRoot(),k.FroalaViewModule.forRoot(),w.GoogleMapsModule,n.HttpClientModule,s.MaterialModules,r.MatNativeDateModule,a.ReactiveFormsModule],entryComponents:[m.BaseComponent,v.CitationDialogComponent,D.CodeViewDialogComponent,d.ConfirmDialogComponent,p.EditorComponent,R.LinkDialogComponent,f.MapComponent,B.MediaDialogComponent,g.MediaSelectorComponent,C.SelectorComponent,b.TreeComponent,M.TreeDialogComponent,h.TreeNodeComponent],declarations:[m.BaseComponent,v.CitationDialogComponent,D.CodeViewDialogComponent,d.ConfirmDialogComponent,p.EditorComponent,R.LinkDialogComponent,f.MapComponent,B.MediaDialogComponent,g.MediaSelectorComponent,C.SelectorComponent,b.TreeComponent,M.TreeDialogComponent,h.TreeNodeComponent],providers:[{provide:Window,useValue:window}]}),S("design:paramtypes",[])],L),e("AppModule",L)}}});
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)}}});