@stratusjs/angular 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +1 -1
- package/src/angular.modules.js +33 -18
- package/src/angular.modules.js.map +1 -1
- package/src/app.module.js +254 -181
- package/src/app.module.js.map +1 -1
- package/src/backend.service.js +87 -66
- package/src/backend.service.js.map +1 -1
- package/src/base/base.component.js +124 -101
- package/src/base/base.component.js.map +1 -1
- package/src/boot.js +55 -42
- package/src/boot.js.map +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js +60 -41
- package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
- package/src/core/base.interface.js +9 -1
- package/src/core/base.interface.js.map +1 -1
- package/src/core/refresh.interface.js +9 -1
- package/src/core/refresh.interface.js.map +1 -1
- package/src/core/responsive.component.js +58 -40
- package/src/core/responsive.component.js.map +1 -1
- package/src/core/responsive.interface.js +9 -1
- package/src/core/responsive.interface.js.map +1 -1
- package/src/core/root.component.js +43 -24
- package/src/core/root.component.js.map +1 -1
- package/src/core/trigger.interface.js +9 -1
- package/src/core/trigger.interface.js.map +1 -1
- package/src/data/contact-meta.interface.js +9 -1
- package/src/data/contact-meta.interface.js.map +1 -1
- package/src/data/content.interface.js +9 -1
- package/src/data/content.interface.js.map +1 -1
- package/src/data/convoy.interface.js +9 -1
- package/src/data/convoy.interface.js.map +1 -1
- package/src/editor/citation-dialog.component.js +207 -174
- package/src/editor/citation-dialog.component.js.map +1 -1
- package/src/editor/code-mirror-bridge.js +74 -60
- package/src/editor/code-mirror-bridge.js.map +1 -1
- package/src/editor/code-mirror-bridge.min.js +1 -1
- package/src/editor/code-view-dialog.component.js +116 -87
- package/src/editor/code-view-dialog.component.js.map +1 -1
- package/src/editor/editor.component.js +961 -903
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/link-dialog.component.js +395 -356
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/media-dialog.component.js +303 -270
- package/src/editor/media-dialog.component.js.map +1 -1
- package/src/froala/plugins/citationManager.js +191 -170
- package/src/froala/plugins/citationManager.js.map +1 -1
- package/src/froala/plugins/inputButton.js +138 -122
- package/src/froala/plugins/inputButton.js.map +1 -1
- package/src/froala/plugins/linkManager.js +104 -89
- package/src/froala/plugins/linkManager.js.map +1 -1
- package/src/froala/plugins/mediaManager.js +87 -72
- package/src/froala/plugins/mediaManager.js.map +1 -1
- package/src/froala/plugins/menuButton.js +86 -71
- package/src/froala/plugins/menuButton.js.map +1 -1
- package/src/main.js +33 -13
- package/src/main.js.map +1 -1
- package/src/material.js +194 -99
- package/src/material.js.map +1 -1
- package/src/media-selector/media-selector.component.js +441 -406
- package/src/media-selector/media-selector.component.js.map +1 -1
- package/src/polyfills.js +16 -3
- package/src/polyfills.js.map +1 -1
- package/src/quill-plugins/quill-break-blot.plugin.js +35 -19
- package/src/quill-plugins/quill-break-blot.plugin.js.map +1 -1
- package/src/quill-plugins/quill-html-edit.plugin.js +153 -140
- package/src/quill-plugins/quill-html-edit.plugin.js.map +1 -1
- package/src/quill-plugins/quill-image-format.plugin.js +47 -33
- package/src/quill-plugins/quill-image-format.plugin.js.map +1 -1
- package/src/quill-plugins/quill-input-button.plugin.js +95 -77
- package/src/quill-plugins/quill-input-button.plugin.js.map +1 -1
- package/src/selector/selector.component.js +276 -241
- package/src/selector/selector.component.js.map +1 -1
- package/src/test/test.directive.js +66 -49
- package/src/test/test.directive.js.map +1 -1
- package/src/tree/tree-dialog.component.js +231 -202
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-node.component.js +282 -253
- package/src/tree/tree-node.component.js.map +1 -1
- package/src/tree/tree.component.js +561 -531
- package/src/tree/tree.component.js.map +1 -1
|
@@ -1,51 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
1
|
+
System.register(["@angular/core", "@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, stratus_1, lodash_1, moduleName, TestDirective;
|
|
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 (stratus_1_1) {
|
|
20
|
+
stratus_1 = stratus_1_1;
|
|
21
|
+
},
|
|
22
|
+
function (lodash_1_1) {
|
|
23
|
+
lodash_1 = lodash_1_1;
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
execute: function () {
|
|
27
|
+
moduleName = 'test';
|
|
28
|
+
TestDirective = class TestDirective {
|
|
29
|
+
constructor(el) {
|
|
30
|
+
this.el = el;
|
|
31
|
+
this.uid = lodash_1.default.uniqueId(`sa_${moduleName}_directive_`);
|
|
32
|
+
stratus_1.Stratus.Instances[this.uid] = this;
|
|
33
|
+
console.warn(this.uid, 'has been load to', this.el);
|
|
34
|
+
}
|
|
35
|
+
onMouseEnter() {
|
|
36
|
+
this.highlight('yellow');
|
|
37
|
+
}
|
|
38
|
+
onMouseLeave() {
|
|
39
|
+
this.highlight(null);
|
|
40
|
+
}
|
|
41
|
+
highlight(color) {
|
|
42
|
+
this.el.nativeElement.style.backgroundColor = color;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
__decorate([
|
|
46
|
+
core_1.HostListener('mouseenter'),
|
|
47
|
+
__metadata("design:type", Function),
|
|
48
|
+
__metadata("design:paramtypes", []),
|
|
49
|
+
__metadata("design:returntype", void 0)
|
|
50
|
+
], TestDirective.prototype, "onMouseEnter", null);
|
|
51
|
+
__decorate([
|
|
52
|
+
core_1.HostListener('mouseleave'),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", []),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], TestDirective.prototype, "onMouseLeave", null);
|
|
57
|
+
TestDirective = __decorate([
|
|
58
|
+
core_1.Directive({
|
|
59
|
+
selector: `[sa-${moduleName}]`
|
|
60
|
+
}),
|
|
61
|
+
__metadata("design:paramtypes", [core_1.ElementRef])
|
|
62
|
+
], TestDirective);
|
|
63
|
+
exports_1("TestDirective", TestDirective);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
});
|
|
50
67
|
|
|
51
68
|
//# sourceMappingURL=test.directive.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["test.directive.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["test.directive.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;YAgBM,UAAU,GAAG,MAAM,CAAA;YAMZ,aAAa,GAA1B,MAAa,aAAa;gBAKtB,YAAoB,EAAc;oBAAd,OAAE,GAAF,EAAE,CAAY;oBAK9B,IAAI,CAAC,GAAG,GAAG,gBAAC,CAAC,QAAQ,CAAC,MAAM,UAAU,aAAa,CAAC,CAAA;oBACpD,iBAAO,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;oBAElC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;gBAkBvD,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;gBAC5B,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;gBACxB,CAAC;gBAEO,SAAS,CAAC,KAAa;oBAC3B,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,eAAe,GAAG,KAAK,CAAA;gBACvD,CAAC;aACJ,CAAA;YAX+B;gBAA3B,mBAAY,CAAC,YAAY,CAAC;;;;6DAE1B;YAE2B;gBAA3B,mBAAY,CAAC,YAAY,CAAC;;;;6DAE1B;YAvCQ,aAAa;gBAJzB,gBAAS,CAAC;oBACP,QAAQ,EAAE,OAAO,UAAU,GAAG;iBACjC,CAAC;iDAO0B,iBAAU;eALzB,aAAa,CA4CzB;;QACD,CAAC","file":"test.directive.js"}
|
|
@@ -1,208 +1,237 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
this.basicContentQueryAttributes = 'options[isContent]=null&options[isCollection]=null&options[showRoutable]=true&options[showRouting]=true';
|
|
46
|
-
}
|
|
47
|
-
ngOnInit() {
|
|
48
|
-
this.uid = _.uniqueId(`sa_${_.snakeCase(moduleName)}_component_`);
|
|
49
|
-
Stratus.Instances[this.uid] = this;
|
|
50
|
-
Stratus.Internals.CssLoader(`${localDir}/${parentModuleName}/${moduleName}.component${min}.css`)
|
|
51
|
-
.then(() => {
|
|
52
|
-
this.isStyled = true;
|
|
53
|
-
})
|
|
54
|
-
.catch((err) => {
|
|
55
|
-
console.warn('Issue detected in CSS Loader for Component:', this);
|
|
56
|
-
console.error(err);
|
|
57
|
-
this.isStyled = true;
|
|
58
|
-
});
|
|
59
|
-
this.tree = this.data.tree;
|
|
60
|
-
this.treeNode = this.data.treeNode;
|
|
61
|
-
this.backend = this.data.backend;
|
|
62
|
-
this.iconRegistry = this.data.iconRegistry;
|
|
63
|
-
this.dialogContentForm = this.fb.group({
|
|
64
|
-
contentSelectorInput: this.data.content || null
|
|
65
|
-
});
|
|
66
|
-
this.dialogContentForm
|
|
67
|
-
.get('contentSelectorInput')
|
|
68
|
-
.valueChanges
|
|
69
|
-
.pipe(debounceTime(300), tap(() => this.isContentLoading = true), switchMap((value) => {
|
|
70
|
-
if (_.isString(value)) {
|
|
71
|
-
this.lastContentSelectorQuery = this.getQueryUrl(value);
|
|
1
|
+
System.register(["@angular/core", "@angular/forms", "@angular/cdk/drag-drop", "@angular/material/dialog", "rxjs/operators", "lodash", "@stratusjs/runtime/stratus", "@stratusjs/core/environment", "../core/responsive.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 __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
13
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
14
|
+
};
|
|
15
|
+
var core_1, forms_1, drag_drop_1, dialog_1, operators_1, lodash_1, stratus_1, environment_1, responsive_component_1, systemDir, moduleName, parentModuleName, min, localDir, TreeDialogComponent;
|
|
16
|
+
var __moduleName = context_1 && context_1.id;
|
|
17
|
+
return {
|
|
18
|
+
setters: [
|
|
19
|
+
function (core_1_1) {
|
|
20
|
+
core_1 = core_1_1;
|
|
21
|
+
},
|
|
22
|
+
function (forms_1_1) {
|
|
23
|
+
forms_1 = forms_1_1;
|
|
24
|
+
},
|
|
25
|
+
function (drag_drop_1_1) {
|
|
26
|
+
drag_drop_1 = drag_drop_1_1;
|
|
27
|
+
},
|
|
28
|
+
function (dialog_1_1) {
|
|
29
|
+
dialog_1 = dialog_1_1;
|
|
30
|
+
},
|
|
31
|
+
function (operators_1_1) {
|
|
32
|
+
operators_1 = operators_1_1;
|
|
33
|
+
},
|
|
34
|
+
function (lodash_1_1) {
|
|
35
|
+
lodash_1 = lodash_1_1;
|
|
36
|
+
},
|
|
37
|
+
function (stratus_1_1) {
|
|
38
|
+
stratus_1 = stratus_1_1;
|
|
39
|
+
},
|
|
40
|
+
function (environment_1_1) {
|
|
41
|
+
environment_1 = environment_1_1;
|
|
42
|
+
},
|
|
43
|
+
function (responsive_component_1_1) {
|
|
44
|
+
responsive_component_1 = responsive_component_1_1;
|
|
72
45
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
46
|
+
],
|
|
47
|
+
execute: function () {
|
|
48
|
+
systemDir = '@stratusjs/angular';
|
|
49
|
+
moduleName = 'tree-dialog';
|
|
50
|
+
parentModuleName = 'tree';
|
|
51
|
+
min = !environment_1.cookie('env') ? '.min' : '';
|
|
52
|
+
localDir = `${stratus_1.Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`].replace(/[^/]*$/, '').replace(/\/dist\/$/, '/src/')}`;
|
|
53
|
+
TreeDialogComponent = class TreeDialogComponent extends responsive_component_1.ResponsiveComponent {
|
|
54
|
+
constructor(dialogRef, data, fb, ref) {
|
|
55
|
+
super();
|
|
56
|
+
this.dialogRef = dialogRef;
|
|
57
|
+
this.data = data;
|
|
58
|
+
this.fb = fb;
|
|
59
|
+
this.ref = ref;
|
|
60
|
+
this.title = moduleName + '_component';
|
|
61
|
+
this.isInitialized = false;
|
|
62
|
+
this.isDestroyed = false;
|
|
63
|
+
this.isStyled = false;
|
|
64
|
+
this._ = lodash_1.default;
|
|
65
|
+
this.Stratus = stratus_1.Stratus;
|
|
66
|
+
this.apiBase = '/Api/Content';
|
|
67
|
+
this.isSingleContentLoading = false;
|
|
68
|
+
this.limit = 20;
|
|
69
|
+
this.isContentLoading = false;
|
|
70
|
+
this.isContentLoaded = false;
|
|
71
|
+
this.basicContentQueryAttributes = 'options[isContent]=null&options[isCollection]=null&options[showRoutable]=true&options[showRouting]=true';
|
|
96
72
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
73
|
+
ngOnInit() {
|
|
74
|
+
this.uid = lodash_1.default.uniqueId(`sa_${lodash_1.default.snakeCase(moduleName)}_component_`);
|
|
75
|
+
stratus_1.Stratus.Instances[this.uid] = this;
|
|
76
|
+
stratus_1.Stratus.Internals.CssLoader(`${localDir}/${parentModuleName}/${moduleName}.component${min}.css`)
|
|
77
|
+
.then(() => {
|
|
78
|
+
this.isStyled = true;
|
|
79
|
+
})
|
|
80
|
+
.catch((err) => {
|
|
81
|
+
console.warn('Issue detected in CSS Loader for Component:', this);
|
|
82
|
+
console.error(err);
|
|
83
|
+
this.isStyled = true;
|
|
84
|
+
});
|
|
85
|
+
this.tree = this.data.tree;
|
|
86
|
+
this.treeNode = this.data.treeNode;
|
|
87
|
+
this.backend = this.data.backend;
|
|
88
|
+
this.iconRegistry = this.data.iconRegistry;
|
|
89
|
+
this.dialogContentForm = this.fb.group({
|
|
90
|
+
contentSelectorInput: this.data.content || null
|
|
91
|
+
});
|
|
92
|
+
this.dialogContentForm
|
|
93
|
+
.get('contentSelectorInput')
|
|
94
|
+
.valueChanges
|
|
95
|
+
.pipe(operators_1.debounceTime(300), operators_1.tap(() => this.isContentLoading = true), operators_1.switchMap((value) => {
|
|
96
|
+
if (lodash_1.default.isString(value)) {
|
|
97
|
+
this.lastContentSelectorQuery = this.getQueryUrl(value);
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
this.data.content = value;
|
|
101
|
+
this.data.url = null;
|
|
102
|
+
}
|
|
103
|
+
return this.backend.get(this.lastContentSelectorQuery || this.getQueryUrl())
|
|
104
|
+
.pipe(operators_1.finalize(() => {
|
|
105
|
+
this.isContentLoading = false;
|
|
106
|
+
this.isContentLoaded = true;
|
|
107
|
+
}));
|
|
108
|
+
}))
|
|
109
|
+
.subscribe((response) => this.handleContent(response));
|
|
110
|
+
this.backend
|
|
111
|
+
.get(this.getQueryUrl())
|
|
112
|
+
.pipe(operators_1.finalize(() => this.isContentLoading = false))
|
|
113
|
+
.subscribe((response) => this.handleContent(response));
|
|
114
|
+
if (this.data.content && this.data.content.id) {
|
|
115
|
+
this.isSingleContentLoading = true;
|
|
116
|
+
this.backend
|
|
117
|
+
.get(this.getQueryUrl(null, this.data.content.id))
|
|
118
|
+
.pipe(operators_1.finalize(() => this.isSingleContentLoading = false))
|
|
119
|
+
.subscribe((response) => {
|
|
120
|
+
if (!response.ok || response.status !== 200 || lodash_1.default.isEmpty(response.body)) {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
const payload = lodash_1.default.get(response.body, 'payload') || response.body;
|
|
124
|
+
if (lodash_1.default.isEmpty(payload) || Array.isArray(payload) || !lodash_1.default.isObject(payload)) {
|
|
125
|
+
return null;
|
|
126
|
+
}
|
|
127
|
+
this.contentEntity = payload;
|
|
128
|
+
this.isSingleContentLoading = false;
|
|
129
|
+
this.dialogContentForm
|
|
130
|
+
.get('contentSelectorInput')
|
|
131
|
+
.patchValue(this.contentEntity);
|
|
132
|
+
this.refresh();
|
|
133
|
+
return this.contentEntity;
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
this.isInitialized = true;
|
|
100
137
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
138
|
+
ngOnDestroy() {
|
|
139
|
+
this.isDestroyed = true;
|
|
140
|
+
}
|
|
141
|
+
refresh() {
|
|
142
|
+
if (this.isDestroyed) {
|
|
143
|
+
return new Promise(resolve => resolve());
|
|
144
|
+
}
|
|
145
|
+
return super.refresh();
|
|
146
|
+
}
|
|
147
|
+
onCancelClick() {
|
|
148
|
+
this.dialogRef.close();
|
|
149
|
+
}
|
|
150
|
+
onBrowserTargetChange($event) {
|
|
151
|
+
this.data.browserTarget = this.browserTarget ? '_blank' : null;
|
|
152
|
+
}
|
|
153
|
+
displayContentText(content) {
|
|
154
|
+
if (!content) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
const routing = lodash_1.default.get(content, 'routing[0].url');
|
|
158
|
+
const routingText = !lodash_1.default.isUndefined(routing) ? ` (/${routing})` : ' (No route!)';
|
|
159
|
+
const contentId = lodash_1.default.get(content, 'id');
|
|
160
|
+
const contentIdText = !lodash_1.default.isUndefined(contentId) ? `Content: ${contentId}` : null;
|
|
161
|
+
return (lodash_1.default.get(content, 'version.title') || contentIdText) + routingText;
|
|
162
|
+
}
|
|
163
|
+
handleContent(response) {
|
|
164
|
+
if (!response.ok || response.status !== 200 || lodash_1.default.isEmpty(response.body)) {
|
|
165
|
+
this.filteredContent = [];
|
|
166
|
+
return this.filteredContent;
|
|
167
|
+
}
|
|
168
|
+
const payload = lodash_1.default.get(response.body, 'payload') || response.body;
|
|
169
|
+
if (lodash_1.default.isEmpty(payload) || !Array.isArray(payload)) {
|
|
170
|
+
this.filteredContent = [];
|
|
171
|
+
return this.filteredContent;
|
|
172
|
+
}
|
|
173
|
+
this.filteredContent = payload;
|
|
174
|
+
return this.filteredContent;
|
|
175
|
+
}
|
|
176
|
+
destroy() {
|
|
177
|
+
this.treeNode.destroy()
|
|
178
|
+
.afterClosed()
|
|
179
|
+
.subscribe((dialogResult) => {
|
|
180
|
+
if (!dialogResult) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
this.onCancelClick();
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
toggleStatus() {
|
|
187
|
+
this.treeNode.toggleStatus();
|
|
188
|
+
}
|
|
189
|
+
addChild() {
|
|
190
|
+
this.treeNode.addChild();
|
|
191
|
+
}
|
|
192
|
+
isSelected(content) {
|
|
193
|
+
if (!this.data.content) {
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
return this.data.content.id === content.id;
|
|
197
|
+
}
|
|
198
|
+
getSvg(url, options) {
|
|
199
|
+
return this.tree.getSvg(url, options);
|
|
200
|
+
}
|
|
201
|
+
getQueryUrl(query, id) {
|
|
202
|
+
query = (!lodash_1.default.isString(query) || lodash_1.default.isEmpty(query)) ? '' : `"${query}"`;
|
|
203
|
+
id = !lodash_1.default.isString(id) && !lodash_1.default.isNumber(id) ? '' : `/${id}`;
|
|
204
|
+
return `${this.apiBase}${id}?limit=${this.limit}&${this.basicContentQueryAttributes}&q=${query}`;
|
|
205
|
+
}
|
|
206
|
+
selectedOnTop(list, selected) {
|
|
207
|
+
if (!list || !list.length) {
|
|
208
|
+
return list;
|
|
209
|
+
}
|
|
210
|
+
if (!selected || !selected.id) {
|
|
211
|
+
return list;
|
|
212
|
+
}
|
|
213
|
+
const orderedList = lodash_1.default.clone(list);
|
|
214
|
+
const index = list.findIndex((v) => v.id === selected.id);
|
|
215
|
+
if (index === -1) {
|
|
216
|
+
orderedList.unshift(selected);
|
|
217
|
+
return orderedList;
|
|
218
|
+
}
|
|
219
|
+
drag_drop_1.moveItemInArray(orderedList, index, 0);
|
|
220
|
+
return orderedList;
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
TreeDialogComponent = __decorate([
|
|
224
|
+
core_1.Component({
|
|
225
|
+
selector: `sa-${moduleName}`,
|
|
226
|
+
templateUrl: `${localDir}/${parentModuleName}/${moduleName}.component${min}.html`,
|
|
227
|
+
}),
|
|
228
|
+
__param(1, core_1.Inject(dialog_1.MAT_DIALOG_DATA)),
|
|
229
|
+
__metadata("design:paramtypes", [dialog_1.MatDialogRef, Object, forms_1.FormBuilder,
|
|
230
|
+
core_1.ChangeDetectorRef])
|
|
231
|
+
], TreeDialogComponent);
|
|
232
|
+
exports_1("TreeDialogComponent", TreeDialogComponent);
|
|
192
233
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
TreeDialogComponent = __decorate([
|
|
198
|
-
Component({
|
|
199
|
-
selector: `sa-${moduleName}`,
|
|
200
|
-
templateUrl: `${localDir}/${parentModuleName}/${moduleName}.component${min}.html`,
|
|
201
|
-
}),
|
|
202
|
-
__param(1, Inject(MAT_DIALOG_DATA)),
|
|
203
|
-
__metadata("design:paramtypes", [MatDialogRef, Object, FormBuilder,
|
|
204
|
-
ChangeDetectorRef])
|
|
205
|
-
], TreeDialogComponent);
|
|
206
|
-
export { TreeDialogComponent };
|
|
234
|
+
};
|
|
235
|
+
});
|
|
207
236
|
|
|
208
237
|
//# sourceMappingURL=tree-dialog.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tree-dialog.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["tree-dialog.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuFM,SAAS,GAAG,oBAAoB,CAAA;YAChC,UAAU,GAAG,aAAa,CAAA;YAC1B,gBAAgB,GAAG,MAAM,CAAA;YAGzB,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;YAUzH,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,0CAAmB;gBAiDxD,YACW,SAA4C,EACnB,IAAgB,EACxC,EAAe,EAEb,GAAsB;oBAGhC,KAAK,EAAE,CAAA;oBAPA,cAAS,GAAT,SAAS,CAAmC;oBACnB,SAAI,GAAJ,IAAI,CAAY;oBACxC,OA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