@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/src/app.module.ts CHANGED
@@ -43,11 +43,11 @@ import {EditorComponent} from './editor/editor.component'
43
43
  import {MapComponent} from '../../map/src/map.component'
44
44
  import {MediaSelectorComponent} from './media-selector/media-selector.component'
45
45
  import {SelectorComponent} from './selector/selector.component'
46
- // import {StripePaymentMethodComponent} from '@stratusjs/stripe/payment-method.component'
47
- // import {StripePaymentMethodItemComponent} from '@stratusjs/stripe/payment-method-item.component'
48
- // import {StripePaymentMethodListComponent} from '@stratusjs/stripe/payment-method-list.component'
49
- // import {StripePaymentMethodSelectorComponent} from '@stratusjs/stripe/payment-method-selector.component'
50
- // import {StripeSetupIntentComponent} from '@stratusjs/stripe/setup-intent.component'
46
+ import {StripePaymentMethodComponent} from '../../stripe/src/payment-method.component'
47
+ import {StripePaymentMethodItemComponent} from '../../stripe/src/payment-method-item.component'
48
+ import {StripePaymentMethodListComponent} from '../../stripe/src/payment-method-list.component'
49
+ import {StripePaymentMethodSelectorComponent} from '../../stripe/src/payment-method-selector.component'
50
+ import {StripeSetupIntentComponent} from '../../stripe/src/setup-intent.component'
51
51
  import {TreeComponent} from './tree/tree.component'
52
52
  import {TreeDialogComponent} from './tree/tree-dialog.component'
53
53
  import {TreeNodeComponent} from './tree/tree-node.component'
@@ -397,11 +397,11 @@ const monacoConfig: NgxMonacoEditorConfig = {
397
397
  MediaDialogComponent,
398
398
  MediaSelectorComponent,
399
399
  SelectorComponent,
400
- // StripePaymentMethodComponent,
401
- // StripePaymentMethodItemComponent,
402
- // StripePaymentMethodListComponent,
403
- // StripePaymentMethodSelectorComponent,
404
- // StripeSetupIntentComponent,
400
+ StripePaymentMethodComponent,
401
+ StripePaymentMethodItemComponent,
402
+ StripePaymentMethodListComponent,
403
+ StripePaymentMethodSelectorComponent,
404
+ StripeSetupIntentComponent,
405
405
  TreeComponent,
406
406
  TreeDialogComponent,
407
407
  TreeNodeComponent,
@@ -418,11 +418,11 @@ const monacoConfig: NgxMonacoEditorConfig = {
418
418
  MediaDialogComponent,
419
419
  MediaSelectorComponent,
420
420
  SelectorComponent,
421
- // StripePaymentMethodComponent,
422
- // StripePaymentMethodItemComponent,
423
- // StripePaymentMethodListComponent,
424
- // StripePaymentMethodSelectorComponent,
425
- // StripeSetupIntentComponent,
421
+ StripePaymentMethodComponent,
422
+ StripePaymentMethodItemComponent,
423
+ StripePaymentMethodListComponent,
424
+ StripePaymentMethodSelectorComponent,
425
+ StripeSetupIntentComponent,
426
426
  TreeComponent,
427
427
  TreeDialogComponent,
428
428
  TreeNodeComponent,
@@ -443,8 +443,8 @@ export class AppModule {
443
443
  'sa-map': MapComponent,
444
444
  'sa-media-selector': MediaSelectorComponent,
445
445
  'sa-selector': SelectorComponent,
446
- // 'sa-stripe-payment-method-list': StripePaymentMethodListComponent,
447
- // 'sa-stripe-payment-method-selector': StripePaymentMethodSelectorComponent,
446
+ 'sa-stripe-payment-method-list': StripePaymentMethodListComponent,
447
+ 'sa-stripe-payment-method-selector': StripePaymentMethodSelectorComponent,
448
448
  'sa-tree': TreeComponent
449
449
  }
450
450
 
@@ -1,90 +1,69 @@
1
- System.register(["@angular/core", "@angular/common/http", "rxjs", "@stratusjs/runtime/stratus", "lodash"], 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 core_1, http_1, rxjs_1, stratus_1, lodash_1, BackendService;
13
- var __moduleName = context_1 && context_1.id;
14
- return {
15
- setters: [
16
- function (core_1_1) {
17
- core_1 = core_1_1;
18
- },
19
- function (http_1_1) {
20
- http_1 = http_1_1;
21
- },
22
- function (rxjs_1_1) {
23
- rxjs_1 = rxjs_1_1;
24
- },
25
- function (stratus_1_1) {
26
- stratus_1 = stratus_1_1;
27
- },
28
- function (lodash_1_1) {
29
- lodash_1 = lodash_1_1;
30
- }
31
- ],
32
- execute: function () {
33
- BackendService = class BackendService {
34
- constructor(http) {
35
- this.http = http;
36
- this.title = 'backend';
37
- this.uid = lodash_1.default.uniqueId('sa_backend_service_');
38
- stratus_1.Stratus.Instances[this.uid] = this;
39
- this.cache = {};
40
- }
41
- get(url) {
42
- if (!lodash_1.default.isString(url)) {
43
- console.error('url is not a string:', url);
44
- return;
45
- }
46
- if (url in this.cache) {
47
- return this.cache[url].observable;
48
- }
49
- const now = new Date();
50
- const query = this.cache[url] = {
51
- fetched: now.valueOf(),
52
- observable: new rxjs_1.Observable((subscriber) => this.getData(url, subscriber))
53
- };
54
- return query.observable;
55
- }
56
- getData(url, subscriber) {
57
- if (!lodash_1.default.isString(url)) {
58
- console.error('url is not a string:', url);
59
- return;
60
- }
61
- if (!(url in this.cache)) {
62
- return;
63
- }
64
- const query = this.cache[url];
65
- if ('data' in query) {
66
- subscriber.next(query.data);
67
- subscriber.complete();
68
- return;
69
- }
70
- this.http
71
- .get(url, { observe: 'response' })
72
- .subscribe((response) => {
73
- query.data = response;
74
- subscriber.next(response);
75
- subscriber.complete();
76
- });
77
- }
78
- };
79
- BackendService = __decorate([
80
- core_1.Injectable({
81
- providedIn: 'root'
82
- }),
83
- __metadata("design:paramtypes", [http_1.HttpClient])
84
- ], BackendService);
85
- exports_1("BackendService", BackendService);
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 { Injectable } from '@angular/core';
11
+ import { HttpClient } from '@angular/common/http';
12
+ import { Observable } from 'rxjs';
13
+ import { Stratus } from '@stratusjs/runtime/stratus';
14
+ import _ from 'lodash';
15
+ let BackendService = class BackendService {
16
+ constructor(http) {
17
+ this.http = http;
18
+ this.title = 'backend';
19
+ this.uid = _.uniqueId('sa_backend_service_');
20
+ Stratus.Instances[this.uid] = this;
21
+ this.cache = {};
22
+ }
23
+ get(url) {
24
+ if (!_.isString(url)) {
25
+ console.error('url is not a string:', url);
26
+ return;
86
27
  }
87
- };
88
- });
28
+ if (url in this.cache) {
29
+ return this.cache[url].observable;
30
+ }
31
+ const now = new Date();
32
+ const query = this.cache[url] = {
33
+ fetched: now.valueOf(),
34
+ observable: new Observable((subscriber) => this.getData(url, subscriber))
35
+ };
36
+ return query.observable;
37
+ }
38
+ getData(url, subscriber) {
39
+ if (!_.isString(url)) {
40
+ console.error('url is not a string:', url);
41
+ return;
42
+ }
43
+ if (!(url in this.cache)) {
44
+ return;
45
+ }
46
+ const query = this.cache[url];
47
+ if ('data' in query) {
48
+ subscriber.next(query.data);
49
+ subscriber.complete();
50
+ return;
51
+ }
52
+ this.http
53
+ .get(url, { observe: 'response' })
54
+ .subscribe((response) => {
55
+ query.data = response;
56
+ subscriber.next(response);
57
+ subscriber.complete();
58
+ });
59
+ }
60
+ };
61
+ BackendService = __decorate([
62
+ Injectable({
63
+ providedIn: 'root'
64
+ }),
65
+ __metadata("design:paramtypes", [HttpClient])
66
+ ], BackendService);
67
+ export { BackendService };
89
68
 
90
69
  //# sourceMappingURL=backend.service.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["backend.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAsBa,cAAc,GAA3B,MAAa,cAAc;gBASvB,YAAoB,IAAgB;oBAAhB,SAAI,GAAJ,IAAI,CAAY;oBANpC,UAAK,GAAG,SAAS,CAAA;oBAQb,IAAI,CAAC,GAAG,GAAG,gBAAC,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAA;oBAC5C,iBAAO,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;oBAGlC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;gBACnB,CAAC;gBAGD,GAAG,CAAC,GAAW;oBACX,IAAI,CAAC,gBAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;wBAClB,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,GAAG,CAAC,CAAA;wBAC1C,OAAM;qBACT;oBACD,IAAI,GAAG,IAAI,IAAI,CAAC,KAAK,EAAE;wBACnB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,CAAA;qBACpC;oBACD,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;oBACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GA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,EAAE,UAA2B;QACpD,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAClB,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,GAAG,CAAC,CAAA;YAC1C,OAAM;SACT;QAED,IAAI,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE;YACtB,OAAM;SACT;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QAE7B,IAAI,MAAM,IAAI,KAAK,EAAE;YACjB,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;YAC3B,UAAU,CAAC,QAAQ,EAAE,CAAA;YACrB,OAAM;SACT;QAED,IAAI,CAAC,IAAI;aACJ,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;aACjC,SAAS,CAAC,CAAC,QAA2B,EAAE,EAAE;YACvC,KAAK,CAAC,IAAI,GAAG,QAAQ,CAAA;YACrB,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;YACzB,UAAU,CAAC,QAAQ,EAAE,CAAA;QACzB,CAAC,CAAC,CAAA;IACV,CAAC;CACJ,CAAA;AA7DY,cAAc;IAH1B,UAAU,CAAC;QACR,UAAU,EAAE,MAAM;KACrB,CAAC;qCAU4B,UAAU;GAT3B,cAAc,CA6D1B;SA7DY,cAAc","file":"backend.service.js"}
@@ -1,127 +1,104 @@
1
- System.register(["@angular/core", "@angular/platform-browser", "@stratusjs/runtime/stratus", "lodash", "@stratusjs/core/environment", "../core/root.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 __metadata = (this && this.__metadata) || function (k, v) {
10
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
11
- };
12
- var core_1, platform_browser_1, stratus_1, lodash_1, environment_1, root_component_1, systemDir, moduleName, min, localDir, BaseComponent;
13
- var __moduleName = context_1 && context_1.id;
14
- return {
15
- setters: [
16
- function (core_1_1) {
17
- core_1 = core_1_1;
18
- },
19
- function (platform_browser_1_1) {
20
- platform_browser_1 = platform_browser_1_1;
21
- },
22
- function (stratus_1_1) {
23
- stratus_1 = stratus_1_1;
24
- },
25
- function (lodash_1_1) {
26
- lodash_1 = lodash_1_1;
27
- },
28
- function (environment_1_1) {
29
- environment_1 = environment_1_1;
30
- },
31
- function (root_component_1_1) {
32
- root_component_1 = root_component_1_1;
33
- }
34
- ],
35
- execute: function () {
36
- systemDir = '@stratusjs/angular';
37
- moduleName = 'base';
38
- min = !environment_1.cookie('env') ? '.min' : '';
39
- localDir = `${stratus_1.Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`].replace(/[^/]*$/, '').replace(/\/dist\/$/, '/src/')}`;
40
- BaseComponent = class BaseComponent extends root_component_1.RootComponent {
41
- constructor(sanitizer, ref, elementRef) {
42
- super();
43
- this.sanitizer = sanitizer;
44
- this.ref = ref;
45
- this.elementRef = elementRef;
46
- this.title = moduleName + '_component';
47
- stratus_1.Stratus.Instances[lodash_1.default.uniqueId('sa_base_component_')] = this;
48
- this.hydrate(this.elementRef, this.sanitizer, ["title", "uid", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "type", "property", "endpoint", "sanitizer", "ref", "elementRef", "ngOnInit", "ngOnChanges", "hydrate", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
49
- }
50
- ngOnInit() {
51
- console.info('selector.ngOnInit');
52
- }
53
- ngOnChanges() {
54
- if (!environment_1.cookie('env')) {
55
- return;
56
- }
57
- console.log('inputs:', {
58
- target: this.target,
59
- targetSuffix: this.targetSuffix,
60
- id: this.id,
61
- manifest: this.manifest,
62
- decouple: this.decouple,
63
- direct: this.direct,
64
- api: this.api,
65
- urlRoot: this.urlRoot,
66
- });
67
- }
68
- };
69
- __decorate([
70
- core_1.Input(),
71
- __metadata("design:type", String)
72
- ], BaseComponent.prototype, "target", void 0);
73
- __decorate([
74
- core_1.Input(),
75
- __metadata("design:type", String)
76
- ], BaseComponent.prototype, "targetSuffix", void 0);
77
- __decorate([
78
- core_1.Input(),
79
- __metadata("design:type", Number)
80
- ], BaseComponent.prototype, "id", void 0);
81
- __decorate([
82
- core_1.Input(),
83
- __metadata("design:type", Boolean)
84
- ], BaseComponent.prototype, "manifest", void 0);
85
- __decorate([
86
- core_1.Input(),
87
- __metadata("design:type", Boolean)
88
- ], BaseComponent.prototype, "decouple", void 0);
89
- __decorate([
90
- core_1.Input(),
91
- __metadata("design:type", Boolean)
92
- ], BaseComponent.prototype, "direct", void 0);
93
- __decorate([
94
- core_1.Input(),
95
- __metadata("design:type", Object)
96
- ], BaseComponent.prototype, "api", void 0);
97
- __decorate([
98
- core_1.Input(),
99
- __metadata("design:type", String)
100
- ], BaseComponent.prototype, "urlRoot", void 0);
101
- __decorate([
102
- core_1.Input(),
103
- __metadata("design:type", String)
104
- ], BaseComponent.prototype, "type", void 0);
105
- __decorate([
106
- core_1.Input(),
107
- __metadata("design:type", String)
108
- ], BaseComponent.prototype, "property", void 0);
109
- __decorate([
110
- core_1.Input(),
111
- __metadata("design:type", String)
112
- ], BaseComponent.prototype, "endpoint", void 0);
113
- BaseComponent = __decorate([
114
- core_1.Component({
115
- selector: 'sa-base',
116
- templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
117
- }),
118
- __metadata("design:paramtypes", [platform_browser_1.DomSanitizer,
119
- core_1.ChangeDetectorRef,
120
- core_1.ElementRef])
121
- ], BaseComponent);
122
- exports_1("BaseComponent", BaseComponent);
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 { ChangeDetectorRef, Component, ElementRef, Input } from '@angular/core';
11
+ import { DomSanitizer } from '@angular/platform-browser';
12
+ import { Stratus } from '@stratusjs/runtime/stratus';
13
+ import _ from 'lodash';
14
+ import { cookie } from '@stratusjs/core/environment';
15
+ import { RootComponent } from '../core/root.component';
16
+ const systemDir = '@stratusjs/angular';
17
+ const moduleName = 'base';
18
+ const min = !cookie('env') ? '.min' : '';
19
+ const localDir = `${Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`].replace(/[^/]*$/, '').replace(/\/dist\/$/, '/src/')}`;
20
+ let BaseComponent = class BaseComponent extends RootComponent {
21
+ constructor(sanitizer, ref, elementRef) {
22
+ super();
23
+ this.sanitizer = sanitizer;
24
+ this.ref = ref;
25
+ this.elementRef = elementRef;
26
+ this.title = moduleName + '_component';
27
+ Stratus.Instances[_.uniqueId('sa_base_component_')] = this;
28
+ this.hydrate(this.elementRef, this.sanitizer, ["title", "uid", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "type", "property", "endpoint", "sanitizer", "ref", "elementRef", "ngOnInit", "ngOnChanges", "hydrate", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
29
+ }
30
+ ngOnInit() {
31
+ console.info('selector.ngOnInit');
32
+ }
33
+ ngOnChanges() {
34
+ if (!cookie('env')) {
35
+ return;
123
36
  }
124
- };
125
- });
37
+ console.log('inputs:', {
38
+ target: this.target,
39
+ targetSuffix: this.targetSuffix,
40
+ id: this.id,
41
+ manifest: this.manifest,
42
+ decouple: this.decouple,
43
+ direct: this.direct,
44
+ api: this.api,
45
+ urlRoot: this.urlRoot,
46
+ });
47
+ }
48
+ };
49
+ __decorate([
50
+ Input(),
51
+ __metadata("design:type", String)
52
+ ], BaseComponent.prototype, "target", void 0);
53
+ __decorate([
54
+ Input(),
55
+ __metadata("design:type", String)
56
+ ], BaseComponent.prototype, "targetSuffix", void 0);
57
+ __decorate([
58
+ Input(),
59
+ __metadata("design:type", Number)
60
+ ], BaseComponent.prototype, "id", void 0);
61
+ __decorate([
62
+ Input(),
63
+ __metadata("design:type", Boolean)
64
+ ], BaseComponent.prototype, "manifest", void 0);
65
+ __decorate([
66
+ Input(),
67
+ __metadata("design:type", Boolean)
68
+ ], BaseComponent.prototype, "decouple", void 0);
69
+ __decorate([
70
+ Input(),
71
+ __metadata("design:type", Boolean)
72
+ ], BaseComponent.prototype, "direct", void 0);
73
+ __decorate([
74
+ Input(),
75
+ __metadata("design:type", Object)
76
+ ], BaseComponent.prototype, "api", void 0);
77
+ __decorate([
78
+ Input(),
79
+ __metadata("design:type", String)
80
+ ], BaseComponent.prototype, "urlRoot", void 0);
81
+ __decorate([
82
+ Input(),
83
+ __metadata("design:type", String)
84
+ ], BaseComponent.prototype, "type", void 0);
85
+ __decorate([
86
+ Input(),
87
+ __metadata("design:type", String)
88
+ ], BaseComponent.prototype, "property", void 0);
89
+ __decorate([
90
+ Input(),
91
+ __metadata("design:type", String)
92
+ ], BaseComponent.prototype, "endpoint", void 0);
93
+ BaseComponent = __decorate([
94
+ Component({
95
+ selector: 'sa-base',
96
+ templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
97
+ }),
98
+ __metadata("design:paramtypes", [DomSanitizer,
99
+ ChangeDetectorRef,
100
+ ElementRef])
101
+ ], BaseComponent);
102
+ export { BaseComponent };
126
103
 
127
104
  //# sourceMappingURL=base.component.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["base.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuCM,SAAS,GAAG,oBAAoB,CAAA;YAChC,UAAU,GAAG,MAAM,CAAA;YAGnB,GAAG,GAAG,CAAC,oBAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAA;YAClC,QAAQ,GAAG,GAAG,iBAAO,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,SAAS,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAAA;YAczH,aAAa,GAA1B,MAAa,aAAc,SAAQ,8BAAa;gBAqB5C,YACY,SAAuB,EACrB,GAAsB,EACxB,UAAsB;oBAG9B,KAAK,EAAE,CAAA;oBALC,cAAS,GAAT,SAAS,CAAc;oBACrB,QAAG,GAAH,GAAG,CAAmB;oBACxB,eAAU,GAAV,UAAU,CAAY;oBArBlC,UAAK,GAAG,UAAU,GAAG,YAAY,CAAA;oBA0B7B,iBAAO,CAAC,SAAS,CAAC,gBAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,IAAI,CAAA;oBAG1D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,mRAAwB,CAAA;gBACxE,CAAC;gBAED,QAAQ;oBACJ,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;gBACrC,CAAC;gBAED,WAAW;oBAEP,IAAI,CAAC,oBAAM,CAAC,KAAK,CAAC,EAAE;wBAChB,OAAM;qBACT;oBACD,OAAO,CAAC,GA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AC,YAAY;YAC/B,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,OAAO,EAAE,IAAI,CAAC,OAAO;SACxB,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AAhDY;IAAR,KAAK,EAAE;;6CAAe;AACd;IAAR,KAAK,EAAE;;mDAAqB;AACpB;IAAR,KAAK,EAAE;;yCAAW;AACV;IAAR,KAAK,EAAE;;+CAAkB;AACjB;IAAR,KAAK,EAAE;;+CAAkB;AACjB;IAAR,KAAK,EAAE;;6CAAgB;AACf;IAAR,KAAK,EAAE;;0CAAY;AACX;IAAR,KAAK,EAAE;;8CAAgB;AAGf;IAAR,KAAK,EAAE;;2CAAa;AACZ;IAAR,KAAK,EAAE;;+CAAiB;AAChB;IAAR,KAAK,EAAE;;+CAAiB;AAnBhB,aAAa;IATzB,SAAS,CAAC;QACP,QAAQ,EAAE,SAAS;QAEnB,WAAW,EAAE,GAAG,QAAQ,IAAI,UAAU,IAAI,UAAU,aAAa,GAAG,OAAO;KAI9E,CAAC;qCAwByB,YAAY;QAChB,iBAAiB;QACZ,UAAU;GAxBzB,aAAa,CAuDzB;SAvDY,aAAa","file":"base.component.js"}
package/src/boot.js CHANGED
@@ -1,63 +1,50 @@
1
- System.register(["@stratusjs/core/dom"], function (exports_1, context_1) {
2
- "use strict";
3
- var dom_1, initialTimeout, limitTimeout, boot;
4
- var __moduleName = context_1 && context_1.id;
5
- function exponentialTimeout() {
6
- if (initialTimeout > limitTimeout) {
7
- return limitTimeout;
8
- }
9
- const currentTimeout = initialTimeout;
10
- initialTimeout = initialTimeout * 1.2;
11
- return currentTimeout;
1
+ import { DOMComplete } from '@stratusjs/core/dom';
2
+ let initialTimeout = 1000;
3
+ const limitTimeout = 5000;
4
+ function exponentialTimeout() {
5
+ if (initialTimeout > limitTimeout) {
6
+ return limitTimeout;
7
+ }
8
+ const currentTimeout = initialTimeout;
9
+ initialTimeout = initialTimeout * 1.2;
10
+ return currentTimeout;
11
+ }
12
+ let boot = false;
13
+ function angularBoot() {
14
+ if (boot) {
15
+ console.log('stopped angular boot attempt after successful boot.');
16
+ return;
12
17
  }
13
- function angularBoot() {
14
- if (boot) {
15
- console.log('stopped angular boot attempt after successful boot.');
18
+ const sa = [
19
+ 'sa-boot',
20
+ 'sa-editor',
21
+ 'sa-map',
22
+ 'sa-media-selector',
23
+ 'sa-selector',
24
+ 'sa-stripe-payment-method-list',
25
+ 'sa-stripe-payment-method-selector',
26
+ 'sa-tree'
27
+ ];
28
+ let detected = false;
29
+ sa.forEach(component => {
30
+ if (detected) {
16
31
  return;
17
32
  }
18
- const sa = [
19
- 'sa-boot',
20
- 'sa-editor',
21
- 'sa-map',
22
- 'sa-media-selector',
23
- 'sa-selector',
24
- 'sa-stripe-payment-method-list',
25
- 'sa-stripe-payment-method-selector',
26
- 'sa-tree'
27
- ];
28
- let detected = false;
29
- sa.forEach(component => {
30
- if (detected) {
31
- return;
32
- }
33
- const elements = document.getElementsByTagName(component);
34
- if (!elements || !elements.length) {
35
- return;
36
- }
37
- detected = true;
38
- });
39
- if (!detected) {
40
- setTimeout(() => {
41
- angularBoot();
42
- }, exponentialTimeout());
33
+ const elements = document.getElementsByTagName(component);
34
+ if (!elements || !elements.length) {
43
35
  return;
44
36
  }
45
- boot = true;
46
- require('@stratusjs/angular/main');
37
+ detected = true;
38
+ });
39
+ if (!detected) {
40
+ setTimeout(() => {
41
+ angularBoot();
42
+ }, exponentialTimeout());
43
+ return;
47
44
  }
48
- return {
49
- setters: [
50
- function (dom_1_1) {
51
- dom_1 = dom_1_1;
52
- }
53
- ],
54
- execute: function () {
55
- initialTimeout = 1000;
56
- limitTimeout = 5000;
57
- boot = false;
58
- dom_1.DOMComplete().then(() => angularBoot());
59
- }
60
- };
61
- });
45
+ boot = true;
46
+ require('@stratusjs/angular/main');
47
+ }
48
+ DOMComplete().then(() => angularBoot());
62
49
 
63
50
  //# sourceMappingURL=boot.js.map
package/src/boot.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["boot.ts"],"names":[],"mappings":";;;;IAUA,SAAS,kBAAkB;QACvB,IAAI,cAAc,GAAG,YAAY,EAAE;YAC/B,OAAO,YAAY,CAAA;SACtB;QACD,MAAM,cAAc,GAAG,cAAc,CAAA;QACrC,cAAc,GAAG,cAAc,GAAG,GAAG,CAAA;QACrC,OAAO,cAAc,CAAA;IACzB,CAAC;IAKD,SAAS,WAAW;QAEhB,IAAI,IAAI,EAAE;YACN,OAAO,CAAC,GAAG,CAAC,qDAAqD,CAAC,CAAA;YAClE,OAAM;SACT;QAID,MAAM,EAAE,GAAG;YAEP,SAAS;YACT,WAAW;YACX,QAAQ;YACR,mBAAmB;YACnB,aAAa;YACb,+BAA+B;YAC/B,mCAAmC;YACnC,SAAS;SAEZ,CAAA;QAED,IAAI,QAAQ,GAAG,KAAK,CAAA;QACpB,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;YACnB,IAAI,QAAQ,EAAE;gBACV,OAAM;aACT;YACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAA;YACzD,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;gBAC/B,OAAM;aACT;YACD,QAAQ,GAAG,IAAI,CAAA;QACnB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,EAAE;YACX,UAAU,CAAC,GAAG,EAAE;gBAEZ,WAAW,EAAE,CAAA;YACjB,CAAC,EAAE,kBAAkB,EAAE,CAAC,CAAA;YACxB,OAAM;SACT;QAED,IAAI,GAAG,IAAI,CAAA;QAEX,OAAO,CAAC,yBAAyB,CAAC,CAAA;IACtC,CAAC;;;;;;;;YA1DG,cAAc,GAAG,IAAI,CAAA;YACnB,YAAY,GA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