@stratusjs/angular 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular.bundle.js +30609 -2673
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +5 -4
- package/src/angular.modules.js +18 -33
- package/src/angular.modules.js.map +1 -1
- package/src/app.module.js +181 -227
- package/src/app.module.js.map +1 -1
- package/src/app.module.min.js +1 -1
- package/src/app.module.ts +17 -17
- package/src/backend.service.js +66 -87
- package/src/backend.service.js.map +1 -1
- package/src/base/base.component.js +101 -124
- package/src/base/base.component.js.map +1 -1
- package/src/boot.js +42 -55
- package/src/boot.js.map +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js +41 -60
- package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
- package/src/core/base.interface.js +1 -9
- package/src/core/base.interface.js.map +1 -1
- package/src/core/dialog.interface.js.map +1 -0
- package/src/core/refresh.interface.js +1 -9
- package/src/core/refresh.interface.js.map +1 -1
- package/src/core/responsive.component.js +40 -58
- package/src/core/responsive.component.js.map +1 -1
- package/src/core/responsive.interface.js +1 -9
- package/src/core/responsive.interface.js.map +1 -1
- package/src/core/root.component.js +24 -43
- package/src/core/root.component.js.map +1 -1
- package/src/core/trigger.interface.js +1 -9
- package/src/core/trigger.interface.js.map +1 -1
- package/src/data/contact-meta.interface.js +1 -9
- package/src/data/contact-meta.interface.js.map +1 -1
- package/src/data/content.interface.js +1 -9
- package/src/data/content.interface.js.map +1 -1
- package/src/data/convoy.interface.js +1 -9
- package/src/data/convoy.interface.js.map +1 -1
- package/src/editor/citation-dialog.component.js +174 -207
- package/src/editor/citation-dialog.component.js.map +1 -1
- package/src/editor/code-mirror-bridge.js +63 -0
- package/src/editor/code-mirror-bridge.js.map +1 -0
- package/src/editor/code-mirror-bridge.min.js +1 -0
- package/src/editor/code-mirror-bridge.ts +85 -0
- package/src/editor/code-view-dialog.component.js +87 -116
- package/src/editor/code-view-dialog.component.js.map +1 -1
- package/src/editor/editor.component.js +903 -925
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/editor.component.min.js +1 -1
- package/src/editor/editor.component.ts +60 -21
- package/src/editor/link-dialog.component.js +356 -395
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/media-dialog.component.js +270 -303
- package/src/editor/media-dialog.component.js.map +1 -1
- package/src/froala/plugins/citationManager.js +170 -191
- package/src/froala/plugins/citationManager.js.map +1 -1
- package/src/froala/plugins/inputButton.js +122 -138
- package/src/froala/plugins/inputButton.js.map +1 -1
- package/src/froala/plugins/linkManager.js +89 -104
- package/src/froala/plugins/linkManager.js.map +1 -1
- package/src/froala/plugins/mediaManager.js +72 -87
- package/src/froala/plugins/mediaManager.js.map +1 -1
- package/src/froala/plugins/menuButton.js +71 -86
- package/src/froala/plugins/menuButton.js.map +1 -1
- package/src/main.js +13 -33
- package/src/main.js.map +1 -1
- package/src/material.js +99 -194
- package/src/material.js.map +1 -1
- package/src/media-selector/media-selector.component.js +406 -441
- package/src/media-selector/media-selector.component.js.map +1 -1
- package/src/polyfills.js +3 -16
- package/src/polyfills.js.map +1 -1
- package/src/quill-plugins/quill-break-blot.plugin.js +19 -35
- package/src/quill-plugins/quill-break-blot.plugin.js.map +1 -1
- package/src/quill-plugins/quill-html-edit.plugin.js +140 -153
- package/src/quill-plugins/quill-html-edit.plugin.js.map +1 -1
- package/src/quill-plugins/quill-image-format.plugin.js +33 -47
- package/src/quill-plugins/quill-image-format.plugin.js.map +1 -1
- package/src/quill-plugins/quill-input-button.plugin.js +77 -95
- package/src/quill-plugins/quill-input-button.plugin.js.map +1 -1
- package/src/selector/selector.component.js +241 -276
- package/src/selector/selector.component.js.map +1 -1
- package/src/test/test.directive.js +49 -66
- package/src/test/test.directive.js.map +1 -1
- package/src/tree/tree-dialog.component.js +202 -231
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-node.component.js +253 -279
- package/src/tree/tree-node.component.js.map +1 -1
- package/src/tree/tree-node.component.min.js +1 -1
- package/src/tree/tree-node.component.ts +10 -18
- package/src/tree/tree.component.js +531 -568
- package/src/tree/tree.component.js.map +1 -1
- package/src/tree/tree.component.min.js +1 -1
- package/src/tree/tree.component.ts +7 -10
|
@@ -1,282 +1,247 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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 { FormControl } from '@angular/forms';
|
|
12
|
+
import { moveItemInArray } from '@angular/cdk/drag-drop';
|
|
13
|
+
import { Observable, Subject } from 'rxjs';
|
|
14
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
15
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
16
|
+
import { Stratus } from '@stratusjs/runtime/stratus';
|
|
17
|
+
import _ from 'lodash';
|
|
18
|
+
import { cookie } from '@stratusjs/core/environment';
|
|
19
|
+
import { RootComponent } from '../core/root.component';
|
|
20
|
+
import { Registry } from '@stratusjs/angularjs/services/registry';
|
|
21
|
+
import { EventManager } from '@stratusjs/core/events/eventManager';
|
|
22
|
+
const systemDir = '@stratusjs/angular';
|
|
23
|
+
const moduleName = 'selector';
|
|
24
|
+
const min = !cookie('env') ? '.min' : '';
|
|
25
|
+
const localDir = `${Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`].replace(/[^/]*$/, '').replace(/\/dist\/$/, '/src/')}`;
|
|
26
|
+
const has = (object, path) => _.has(object, path) && !_.isEmpty(_.get(object, path));
|
|
27
|
+
let SelectorComponent = class SelectorComponent extends RootComponent {
|
|
28
|
+
constructor(iconRegistry, sanitizer, ref, elementRef) {
|
|
29
|
+
super();
|
|
30
|
+
this.iconRegistry = iconRegistry;
|
|
31
|
+
this.sanitizer = sanitizer;
|
|
32
|
+
this.ref = ref;
|
|
33
|
+
this.elementRef = elementRef;
|
|
34
|
+
this.title = moduleName + '_component';
|
|
35
|
+
this._ = _;
|
|
36
|
+
this.has = has;
|
|
37
|
+
this.log = console.log;
|
|
38
|
+
this.Stratus = Stratus;
|
|
39
|
+
this.selectCtrl = new FormControl();
|
|
40
|
+
this.registry = new Registry();
|
|
41
|
+
this.onChange = new Subject();
|
|
42
|
+
this.svgIcons = {};
|
|
43
|
+
this.styled = false;
|
|
44
|
+
this.empty = false;
|
|
45
|
+
this.uid = _.uniqueId(`sa_${_.snakeCase(moduleName)}_component_`);
|
|
46
|
+
Stratus.Instances[this.uid] = this;
|
|
47
|
+
this.dataSub = new Observable(subscriber => this.dataDefer(subscriber));
|
|
48
|
+
_.forEach({
|
|
49
|
+
selector_delete: `${Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/delete.svg`,
|
|
50
|
+
selector_edit: `${Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/edit.svg`
|
|
51
|
+
}, (value, key) => iconRegistry.addSvgIcon(key, sanitizer.bypassSecurityTrustResourceUrl(value)).getNamedSvgIcon(key));
|
|
52
|
+
Stratus.Internals.CssLoader(`${localDir}${moduleName}/${moduleName}.component${min}.css`)
|
|
53
|
+
.then(() => {
|
|
54
|
+
this.styled = true;
|
|
55
|
+
this.refresh();
|
|
56
|
+
})
|
|
57
|
+
.catch((err) => {
|
|
58
|
+
console.warn('Issue detected in CSS Loader for Component:', this);
|
|
59
|
+
console.error(err);
|
|
60
|
+
this.styled = true;
|
|
61
|
+
this.refresh();
|
|
62
|
+
});
|
|
63
|
+
this.hydrate(elementRef, sanitizer, ["title", "uid", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "type", "property", "endpoint", "_", "has", "log", "Stratus", "selectCtrl", "registry", "fetched", "data", "collection", "model", "dataSub", "onChange", "subscriber", "svgIcons", "styled", "empty", "iconRegistry", "sanitizer", "ref", "elementRef", "drop", "goToUrl", "remove", "fetchData", "dataDefer", "dataRef", "onDataChange", "prioritize", "getSvg", "addSvgIcon", "hydrate", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
|
|
64
|
+
this.fetchData()
|
|
65
|
+
.then(data => {
|
|
66
|
+
if (!data || !(data instanceof EventManager)) {
|
|
67
|
+
console.warn('Unable to bind data from Registry!');
|
|
68
|
+
return;
|
|
51
69
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
moduleName = 'selector';
|
|
56
|
-
min = !environment_1.cookie('env') ? '.min' : '';
|
|
57
|
-
localDir = `${stratus_1.Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`].replace(/[^/]*$/, '').replace(/\/dist\/$/, '/src/')}`;
|
|
58
|
-
has = (object, path) => lodash_1.default.has(object, path) && !lodash_1.default.isEmpty(lodash_1.default.get(object, path));
|
|
59
|
-
SelectorComponent = class SelectorComponent extends root_component_1.RootComponent {
|
|
60
|
-
constructor(iconRegistry, sanitizer, ref, elementRef) {
|
|
61
|
-
super();
|
|
62
|
-
this.iconRegistry = iconRegistry;
|
|
63
|
-
this.sanitizer = sanitizer;
|
|
64
|
-
this.ref = ref;
|
|
65
|
-
this.elementRef = elementRef;
|
|
66
|
-
this.title = moduleName + '_component';
|
|
67
|
-
this._ = lodash_1.default;
|
|
68
|
-
this.has = has;
|
|
69
|
-
this.log = console.log;
|
|
70
|
-
this.Stratus = stratus_1.Stratus;
|
|
71
|
-
this.selectCtrl = new forms_1.FormControl();
|
|
72
|
-
this.registry = new registry_1.Registry();
|
|
73
|
-
this.onChange = new rxjs_1.Subject();
|
|
74
|
-
this.svgIcons = {};
|
|
75
|
-
this.styled = false;
|
|
76
|
-
this.empty = false;
|
|
77
|
-
this.uid = lodash_1.default.uniqueId(`sa_${lodash_1.default.snakeCase(moduleName)}_component_`);
|
|
78
|
-
stratus_1.Stratus.Instances[this.uid] = this;
|
|
79
|
-
this.dataSub = new rxjs_1.Observable(subscriber => this.dataDefer(subscriber));
|
|
80
|
-
lodash_1.default.forEach({
|
|
81
|
-
selector_delete: `${stratus_1.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/delete.svg`,
|
|
82
|
-
selector_edit: `${stratus_1.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/edit.svg`
|
|
83
|
-
}, (value, key) => iconRegistry.addSvgIcon(key, sanitizer.bypassSecurityTrustResourceUrl(value)).getNamedSvgIcon(key));
|
|
84
|
-
stratus_1.Stratus.Internals.CssLoader(`${localDir}${moduleName}/${moduleName}.component${min}.css`)
|
|
85
|
-
.then(() => {
|
|
86
|
-
this.styled = true;
|
|
87
|
-
this.refresh();
|
|
88
|
-
})
|
|
89
|
-
.catch((err) => {
|
|
90
|
-
console.warn('Issue detected in CSS Loader for Component:', this);
|
|
91
|
-
console.error(err);
|
|
92
|
-
this.styled = true;
|
|
93
|
-
this.refresh();
|
|
94
|
-
});
|
|
95
|
-
this.hydrate(elementRef, sanitizer, ["title", "uid", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "type", "property", "endpoint", "_", "has", "log", "Stratus", "selectCtrl", "registry", "fetched", "data", "collection", "model", "dataSub", "onChange", "subscriber", "svgIcons", "styled", "empty", "iconRegistry", "sanitizer", "ref", "elementRef", "drop", "goToUrl", "remove", "fetchData", "dataDefer", "dataRef", "onDataChange", "prioritize", "getSvg", "addSvgIcon", "hydrate", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
|
|
96
|
-
this.fetchData()
|
|
97
|
-
.then(data => {
|
|
98
|
-
if (!data || !(data instanceof eventManager_1.EventManager)) {
|
|
99
|
-
console.warn('Unable to bind data from Registry!');
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
const onDataChange = () => {
|
|
103
|
-
if (!data.completed) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
this.dataDefer(this.subscriber);
|
|
107
|
-
this.prioritize();
|
|
108
|
-
this.refresh();
|
|
109
|
-
};
|
|
110
|
-
data.on('change', onDataChange);
|
|
111
|
-
onDataChange();
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
drop(event) {
|
|
115
|
-
const models = this.dataRef();
|
|
116
|
-
if (!models || !models.length) {
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
drag_drop_1.moveItemInArray(models, event.previousIndex, event.currentIndex);
|
|
120
|
-
let priority = 0;
|
|
121
|
-
lodash_1.default.forEach(models, (model) => model.priority = priority++);
|
|
122
|
-
this.model.trigger('change');
|
|
123
|
-
}
|
|
124
|
-
goToUrl(model) {
|
|
125
|
-
if (!model || !model.contentType) {
|
|
126
|
-
console.error('unable to execute goToUrl() because a valid model content was not provided.');
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
window.open(model.contentType.editUrl + '?id=' + model.id, '_blank');
|
|
130
|
-
}
|
|
131
|
-
remove(model) {
|
|
132
|
-
const models = this.dataRef();
|
|
133
|
-
if (!models || !models.length) {
|
|
134
|
-
console.error('unable to remove model from selection:', models);
|
|
135
|
-
this.refresh();
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
let index = models.indexOf(model);
|
|
139
|
-
if (index === -1) {
|
|
140
|
-
const mirrorModels = models
|
|
141
|
-
.map((m) => model.id === m.id ? m : null)
|
|
142
|
-
.filter((m) => m);
|
|
143
|
-
if (lodash_1.default.isArray(mirrorModels) && mirrorModels.length) {
|
|
144
|
-
index = models.indexOf(lodash_1.default.first(mirrorModels));
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (index === -1) {
|
|
148
|
-
console.error('unable to find model:', model, 'in selection:', models);
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
|
-
models.splice(index, 1);
|
|
152
|
-
this.model.trigger('change');
|
|
153
|
-
}
|
|
154
|
-
fetchData() {
|
|
155
|
-
if (this.fetched) {
|
|
156
|
-
return this.fetched;
|
|
157
|
-
}
|
|
158
|
-
return this.fetched = this.registry.fetch(stratus_1.Stratus.Select(this.elementRef.nativeElement), this);
|
|
159
|
-
}
|
|
160
|
-
dataDefer(subscriber) {
|
|
161
|
-
this.subscriber = this.subscriber || subscriber;
|
|
162
|
-
if (!this.subscriber || !this.model || !this.model.completed) {
|
|
163
|
-
setTimeout(() => {
|
|
164
|
-
this.dataDefer(subscriber);
|
|
165
|
-
}, 500);
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
const models = this.dataRef();
|
|
169
|
-
this.empty = !models.length;
|
|
170
|
-
this.subscriber.next(models);
|
|
171
|
-
this.refresh();
|
|
172
|
-
}
|
|
173
|
-
dataRef() {
|
|
174
|
-
if (!this.model) {
|
|
175
|
-
return [];
|
|
176
|
-
}
|
|
177
|
-
const models = this.model.get(this.property);
|
|
178
|
-
if (!models || !lodash_1.default.isArray(models)) {
|
|
179
|
-
return [];
|
|
180
|
-
}
|
|
181
|
-
return models;
|
|
182
|
-
}
|
|
183
|
-
onDataChange() {
|
|
184
|
-
this.prioritize();
|
|
185
|
-
this.dataDefer(this.subscriber);
|
|
186
|
-
this.refresh();
|
|
187
|
-
}
|
|
188
|
-
prioritize() {
|
|
189
|
-
const models = this.dataRef();
|
|
190
|
-
if (!models || !models.length) {
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
let priority = 0;
|
|
194
|
-
lodash_1.default.forEach(models, (model) => model.priority = priority++);
|
|
195
|
-
}
|
|
196
|
-
getSvg(url, options) {
|
|
197
|
-
const uid = this.addSvgIcon(url, options);
|
|
198
|
-
return new rxjs_1.Observable((subscriber) => {
|
|
199
|
-
this.iconRegistry
|
|
200
|
-
.getNamedSvgIcon(uid)
|
|
201
|
-
.subscribe({
|
|
202
|
-
error(err) {
|
|
203
|
-
console.error(`getSvg(${url}): ${err}`);
|
|
204
|
-
},
|
|
205
|
-
complete() {
|
|
206
|
-
subscriber.next(uid);
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
addSvgIcon(url, options) {
|
|
212
|
-
if (url in this.svgIcons) {
|
|
213
|
-
return this.svgIcons[url];
|
|
214
|
-
}
|
|
215
|
-
if (!options) {
|
|
216
|
-
options = {};
|
|
217
|
-
}
|
|
218
|
-
const uid = this.svgIcons[url] = lodash_1.default.uniqueId('selector_svg');
|
|
219
|
-
this.iconRegistry.addSvgIcon(uid, this.sanitizer.bypassSecurityTrustResourceUrl(url), options);
|
|
220
|
-
return uid;
|
|
70
|
+
const onDataChange = () => {
|
|
71
|
+
if (!data.completed) {
|
|
72
|
+
return;
|
|
221
73
|
}
|
|
74
|
+
this.dataDefer(this.subscriber);
|
|
75
|
+
this.prioritize();
|
|
76
|
+
this.refresh();
|
|
222
77
|
};
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
78
|
+
data.on('change', onDataChange);
|
|
79
|
+
onDataChange();
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
drop(event) {
|
|
83
|
+
const models = this.dataRef();
|
|
84
|
+
if (!models || !models.length) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
moveItemInArray(models, event.previousIndex, event.currentIndex);
|
|
88
|
+
let priority = 0;
|
|
89
|
+
_.forEach(models, (model) => model.priority = priority++);
|
|
90
|
+
this.model.trigger('change');
|
|
91
|
+
}
|
|
92
|
+
goToUrl(model) {
|
|
93
|
+
if (!model || !model.contentType) {
|
|
94
|
+
console.error('unable to execute goToUrl() because a valid model content was not provided.');
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
window.open(model.contentType.editUrl + '?id=' + model.id, '_blank');
|
|
98
|
+
}
|
|
99
|
+
remove(model) {
|
|
100
|
+
const models = this.dataRef();
|
|
101
|
+
if (!models || !models.length) {
|
|
102
|
+
console.error('unable to remove model from selection:', models);
|
|
103
|
+
this.refresh();
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
let index = models.indexOf(model);
|
|
107
|
+
if (index === -1) {
|
|
108
|
+
const mirrorModels = models
|
|
109
|
+
.map((m) => model.id === m.id ? m : null)
|
|
110
|
+
.filter((m) => m);
|
|
111
|
+
if (_.isArray(mirrorModels) && mirrorModels.length) {
|
|
112
|
+
index = models.indexOf(_.first(mirrorModels));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (index === -1) {
|
|
116
|
+
console.error('unable to find model:', model, 'in selection:', models);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
models.splice(index, 1);
|
|
120
|
+
this.model.trigger('change');
|
|
121
|
+
}
|
|
122
|
+
fetchData() {
|
|
123
|
+
if (this.fetched) {
|
|
124
|
+
return this.fetched;
|
|
125
|
+
}
|
|
126
|
+
return this.fetched = this.registry.fetch(Stratus.Select(this.elementRef.nativeElement), this);
|
|
127
|
+
}
|
|
128
|
+
dataDefer(subscriber) {
|
|
129
|
+
this.subscriber = this.subscriber || subscriber;
|
|
130
|
+
if (!this.subscriber || !this.model || !this.model.completed) {
|
|
131
|
+
setTimeout(() => {
|
|
132
|
+
this.dataDefer(subscriber);
|
|
133
|
+
}, 500);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
const models = this.dataRef();
|
|
137
|
+
this.empty = !models.length;
|
|
138
|
+
this.subscriber.next(models);
|
|
139
|
+
this.refresh();
|
|
140
|
+
}
|
|
141
|
+
dataRef() {
|
|
142
|
+
if (!this.model) {
|
|
143
|
+
return [];
|
|
144
|
+
}
|
|
145
|
+
const models = this.model.get(this.property);
|
|
146
|
+
if (!models || !_.isArray(models)) {
|
|
147
|
+
return [];
|
|
148
|
+
}
|
|
149
|
+
return models;
|
|
150
|
+
}
|
|
151
|
+
onDataChange() {
|
|
152
|
+
this.prioritize();
|
|
153
|
+
this.dataDefer(this.subscriber);
|
|
154
|
+
this.refresh();
|
|
155
|
+
}
|
|
156
|
+
prioritize() {
|
|
157
|
+
const models = this.dataRef();
|
|
158
|
+
if (!models || !models.length) {
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
let priority = 0;
|
|
162
|
+
_.forEach(models, (model) => model.priority = priority++);
|
|
163
|
+
}
|
|
164
|
+
getSvg(url, options) {
|
|
165
|
+
const uid = this.addSvgIcon(url, options);
|
|
166
|
+
return new Observable((subscriber) => {
|
|
167
|
+
this.iconRegistry
|
|
168
|
+
.getNamedSvgIcon(uid)
|
|
169
|
+
.subscribe({
|
|
170
|
+
error(err) {
|
|
171
|
+
console.error(`getSvg(${url}): ${err}`);
|
|
172
|
+
},
|
|
173
|
+
complete() {
|
|
174
|
+
subscriber.next(uid);
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
addSvgIcon(url, options) {
|
|
180
|
+
if (url in this.svgIcons) {
|
|
181
|
+
return this.svgIcons[url];
|
|
182
|
+
}
|
|
183
|
+
if (!options) {
|
|
184
|
+
options = {};
|
|
278
185
|
}
|
|
279
|
-
|
|
280
|
-
|
|
186
|
+
const uid = this.svgIcons[url] = _.uniqueId('selector_svg');
|
|
187
|
+
this.iconRegistry.addSvgIcon(uid, this.sanitizer.bypassSecurityTrustResourceUrl(url), options);
|
|
188
|
+
return uid;
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
__decorate([
|
|
192
|
+
Input(),
|
|
193
|
+
__metadata("design:type", String)
|
|
194
|
+
], SelectorComponent.prototype, "target", void 0);
|
|
195
|
+
__decorate([
|
|
196
|
+
Input(),
|
|
197
|
+
__metadata("design:type", String)
|
|
198
|
+
], SelectorComponent.prototype, "targetSuffix", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
Input(),
|
|
201
|
+
__metadata("design:type", Number)
|
|
202
|
+
], SelectorComponent.prototype, "id", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
Input(),
|
|
205
|
+
__metadata("design:type", Boolean)
|
|
206
|
+
], SelectorComponent.prototype, "manifest", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
Input(),
|
|
209
|
+
__metadata("design:type", Boolean)
|
|
210
|
+
], SelectorComponent.prototype, "decouple", void 0);
|
|
211
|
+
__decorate([
|
|
212
|
+
Input(),
|
|
213
|
+
__metadata("design:type", Boolean)
|
|
214
|
+
], SelectorComponent.prototype, "direct", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
Input(),
|
|
217
|
+
__metadata("design:type", Object)
|
|
218
|
+
], SelectorComponent.prototype, "api", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
Input(),
|
|
221
|
+
__metadata("design:type", String)
|
|
222
|
+
], SelectorComponent.prototype, "urlRoot", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
Input(),
|
|
225
|
+
__metadata("design:type", String)
|
|
226
|
+
], SelectorComponent.prototype, "type", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
Input(),
|
|
229
|
+
__metadata("design:type", String)
|
|
230
|
+
], SelectorComponent.prototype, "property", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
Input(),
|
|
233
|
+
__metadata("design:type", String)
|
|
234
|
+
], SelectorComponent.prototype, "endpoint", void 0);
|
|
235
|
+
SelectorComponent = __decorate([
|
|
236
|
+
Component({
|
|
237
|
+
selector: `sa-${moduleName}`,
|
|
238
|
+
templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
|
|
239
|
+
}),
|
|
240
|
+
__metadata("design:paramtypes", [MatIconRegistry,
|
|
241
|
+
DomSanitizer,
|
|
242
|
+
ChangeDetectorRef,
|
|
243
|
+
ElementRef])
|
|
244
|
+
], SelectorComponent);
|
|
245
|
+
export { SelectorComponent };
|
|
281
246
|
|
|
282
247
|
//# sourceMappingURL=selector.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["selector.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["selector.component.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAEH,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,KAAK,GAKR,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAG1C,OAAO,EAAc,eAAe,EAAC,MAAM,wBAAwB,CAAA;AAGnE,OAAO,EACH,UAAU,EACV,OAAO,EAEV,MAAM,MAAM,CAAA;AAIb,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAc,eAAe,EAAC,MAAM,wBAAwB,CAAA;AAKnE,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAClD,OAAO,CAAC,MAAM,QAAQ,CAAA;AAEtB,OAAO,EAAC,MAAM,EAAC,MAAM,6BAA6B,CAAA;AAGlD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAA;AAGpD,OAAO,EAAC,QAAQ,EAAC,MAAM,wCAAwC,CAAA;AAG/D,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAA;AAQhE,MAAM,SAAS,GAAG,oBAAoB,CAAA;AACtC,MAAM,UAAU,GAAG,UAAU,CAAA;AAG7B,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAA;AACxC,MAAM,QAAQ,GAAG,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,SAAS,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,E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