@stratusjs/angular 0.3.7 → 0.3.9
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/package.json +1 -1
- package/src/editor/editor.component.js +3 -2
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/editor.component.min.js +1 -1
- package/src/editor/editor.component.ts +3 -2
- package/src/editor/link-dialog.component.css +218 -0
- package/src/editor/link-dialog.component.css.map +1 -1
- package/src/editor/link-dialog.component.html +108 -195
- package/src/editor/link-dialog.component.js +62 -17
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/link-dialog.component.min.css +1 -1
- package/src/editor/link-dialog.component.min.html +1 -7
- package/src/editor/link-dialog.component.min.js +1 -1
- package/src/editor/link-dialog.component.scss +253 -0
- package/src/editor/link-dialog.component.ts +85 -24
- package/src/froala/plugins/inputButton.js.map +1 -1
- package/src/froala/plugins/inputButton.ts +170 -0
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-dialog.component.ts +5 -0
|
@@ -131,6 +131,8 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
|
|
|
131
131
|
// AutoComplete Data
|
|
132
132
|
filteredContent: Array<ContentEntity>
|
|
133
133
|
dialogContentForm: FormGroup
|
|
134
|
+
|
|
135
|
+
// maybe make all of these public...
|
|
134
136
|
isContentLoading = false
|
|
135
137
|
isContentLoaded = false
|
|
136
138
|
lastContentSelectorQuery: string
|
|
@@ -210,6 +212,7 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
|
|
|
210
212
|
if (_.isString(value)) {
|
|
211
213
|
this.lastContentSelectorQuery = `${this.basicContentSelectorQuery}${value}`
|
|
212
214
|
} else {
|
|
215
|
+
// console.log('switchMap value is not a string:', value)
|
|
213
216
|
this.data.content = value
|
|
214
217
|
this.data.url = null
|
|
215
218
|
}
|
|
@@ -325,6 +328,7 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
|
|
|
325
328
|
// }
|
|
326
329
|
|
|
327
330
|
private handleContent(response:HttpResponse<Convoy<ContentEntity>>) {
|
|
331
|
+
// console.log('response handled!')
|
|
328
332
|
if (!response.ok || response.status !== 200 || _.isEmpty(response.body)) {
|
|
329
333
|
this.filteredContent = []
|
|
330
334
|
// FIXME: We have to go in this roundabout way to force changes to be detected since the
|
|
@@ -367,6 +371,7 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
|
|
|
367
371
|
}
|
|
368
372
|
|
|
369
373
|
public isSelected(content: ContentEntity) {
|
|
374
|
+
// console.log('isSelected:', content)
|
|
370
375
|
if (!this.data.content) {
|
|
371
376
|
return false
|
|
372
377
|
}
|