@stratusjs/angular 0.2.91 → 0.2.92
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/data/contact-meta.interface.ts +1 -1
- package/src/media-selector/media-selector.component.html +32 -45
- package/src/media-selector/media-selector.component.min.html +1 -1
- package/src/media-selector/media-selector.horizontal.component.html +1 -1
- package/src/selector/selector-autocomplete.component.html +3 -3
- package/src/tree/legacy/tree.nested.component.html +2 -2
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<span class="file-type uppercase"
|
|
92
92
|
[innerText]="_.get(selectedModel, 'extension') || _.get(selectedModel, 'service') || (_.get(selectedModel, '_embedCode') ? 'Embedded Video' : '')">
|
|
93
93
|
</span>
|
|
94
|
-
<!-- TODO: evaluate the possibility of an ng-container here instead -->
|
|
94
|
+
<!-- TODO: evaluate the possibility of an data-ng-container here instead -->
|
|
95
95
|
<span class="delimiter"
|
|
96
96
|
*ngIf="_.get(selectedModel, 'bytesHuman') && _.get(selectedModel, 'bytesHuman') !== 'Empty'"></span>
|
|
97
97
|
<span class="file-size"
|
|
@@ -103,50 +103,37 @@
|
|
|
103
103
|
</p>
|
|
104
104
|
<div class="position-action-area">
|
|
105
105
|
<div class="action-btns">
|
|
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
|
-
href="#"
|
|
138
|
-
matTooltip="Remove selection"
|
|
139
|
-
*ngIf="isSelector">
|
|
140
|
-
<!--<md-tooltip>Remove selection</md-tooltip>-->
|
|
141
|
-
<mat-icon class="clear-icon"
|
|
142
|
-
svgIcon="media_selector_clear"
|
|
143
|
-
aria-hidden="true"
|
|
144
|
-
aria-label="Clear">
|
|
145
|
-
Clear
|
|
146
|
-
</mat-icon>
|
|
147
|
-
</a>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
106
|
+
<span (click)="showDetails(selectedModel)">
|
|
107
|
+
<a class="border-radius-default"
|
|
108
|
+
href="#"
|
|
109
|
+
[matTooltip]="'Show Details - ' + _.get(selectedModel, 'name')">
|
|
110
|
+
<!--<md-tooltip>Show details</md-tooltip>-->
|
|
111
|
+
<mat-icon class="info-icon"
|
|
112
|
+
svgIcon="media_selector_info"
|
|
113
|
+
aria-hidden="true"
|
|
114
|
+
aria-label="Info"></mat-icon>
|
|
115
|
+
</a>
|
|
116
|
+
</span>
|
|
117
|
+
<span (click)="remove(selectedModel)">
|
|
118
|
+
<a class="border-radius-default"
|
|
119
|
+
href="#"
|
|
120
|
+
matTooltip="Permanently Delete from Libary"
|
|
121
|
+
*ngIf="!isSelector">
|
|
122
|
+
<mat-icon class="delete-icon"
|
|
123
|
+
svgIcon="media_selector_delete"
|
|
124
|
+
aria-hidden="true"
|
|
125
|
+
aria-label="Delete"></mat-icon>
|
|
126
|
+
</a>
|
|
127
|
+
<a class="border-radius-default"
|
|
128
|
+
href="#"
|
|
129
|
+
matTooltip="Remove Selection"
|
|
130
|
+
*ngIf="isSelector">
|
|
131
|
+
<mat-icon class="clear-icon"
|
|
132
|
+
svgIcon="media_selector_clear"
|
|
133
|
+
aria-hidden="true"
|
|
134
|
+
aria-label="Clear"></mat-icon>
|
|
135
|
+
</a>
|
|
136
|
+
</span>
|
|
150
137
|
</div>
|
|
151
138
|
</div>
|
|
152
139
|
</div>
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
&& !_.get(selectedModel, 'mime').includes('audio')
|
|
12
12
|
&& !_.get(selectedModel, 'mime').includes('application')
|
|
13
13
|
)
|
|
14
|
-
}" [ngStyle]="{'background': 'url(' + (_.get(selectedModel, '_thumbnailUrl') || _.get(selectedModel, 'bestImage.thumb') || _.get(selectedModel, 'meta.thumbnail_small')) + ') no-repeat center center', 'background-size': 'cover'}"><img class="shapeholder" [src]="Stratus.BaseUrl + 'sitetheorycore/images/shapeholder-square.png'"><div class="thumb-gradient"> </div><h4 *ngIf="!_.get(selectedModel, '_thumbnailUrl') && !_.get(selectedModel, 'bestImage.thumb') && !_.get(selectedModel, 'meta.thumbnail_small')" class="thumb-title position-center" [innerText]="_.get(selectedModel, 'name')"></h4><div class="thumb-icon"><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('image')" svgIcon="media_selector_image" aria-hidden="true" aria-label="Image">Image</mat-icon><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('video')" svgIcon="media_selector_video" aria-hidden="true" aria-label="Video">Video</mat-icon><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('audio')" svgIcon="media_selector_audio" aria-hidden="true" aria-label="Audio">Audio</mat-icon><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('document')" svgIcon="media_selector_document" aria-hidden="true" aria-label="Document">Document</mat-icon></div></div><div class="info-hover-container" (mouseover)="hovering=true" (mouseout)="hovering=false"><div class="border-radius-default image-hover-info" layout="column" layout-align="space-between center"><div class="format-size"><div class="small-all-caps file-details"><span class="file-type uppercase" [innerText]="_.get(selectedModel, 'extension') || _.get(selectedModel, 'service') || (_.get(selectedModel, '_embedCode') ? 'Embedded Video' : '')"></span><span class="delimiter" *ngIf="_.get(selectedModel, 'bytesHuman') && _.get(selectedModel, 'bytesHuman') !== 'Empty'"></span> <span class="file-size" [innerText]="(_.get(selectedModel, 'bytesHuman') && _.get(selectedModel, 'bytesHuman') !== 'Empty') ? _.get(selectedModel, 'bytesHuman') : ''"></span></div></div><p class="font-body image-title" [innerText]="_.get(selectedModel, 'name') || 'No title'"></p><div class="position-action-area"><div class="action-btns"><
|
|
14
|
+
}" [ngStyle]="{'background': 'url(' + (_.get(selectedModel, '_thumbnailUrl') || _.get(selectedModel, 'bestImage.thumb') || _.get(selectedModel, 'meta.thumbnail_small')) + ') no-repeat center center', 'background-size': 'cover'}"><img class="shapeholder" [src]="Stratus.BaseUrl + 'sitetheorycore/images/shapeholder-square.png'"><div class="thumb-gradient"> </div><h4 *ngIf="!_.get(selectedModel, '_thumbnailUrl') && !_.get(selectedModel, 'bestImage.thumb') && !_.get(selectedModel, 'meta.thumbnail_small')" class="thumb-title position-center" [innerText]="_.get(selectedModel, 'name')"></h4><div class="thumb-icon"><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('image')" svgIcon="media_selector_image" aria-hidden="true" aria-label="Image">Image</mat-icon><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('video')" svgIcon="media_selector_video" aria-hidden="true" aria-label="Video">Video</mat-icon><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('audio')" svgIcon="media_selector_audio" aria-hidden="true" aria-label="Audio">Audio</mat-icon><mat-icon *ngIf="_.get(selectedModel, 'mime') && _.get(selectedModel, 'mime').includes('document')" svgIcon="media_selector_document" aria-hidden="true" aria-label="Document">Document</mat-icon></div></div><div class="info-hover-container" (mouseover)="hovering=true" (mouseout)="hovering=false"><div class="border-radius-default image-hover-info" layout="column" layout-align="space-between center"><div class="format-size"><div class="small-all-caps file-details"><span class="file-type uppercase" [innerText]="_.get(selectedModel, 'extension') || _.get(selectedModel, 'service') || (_.get(selectedModel, '_embedCode') ? 'Embedded Video' : '')"></span><span class="delimiter" *ngIf="_.get(selectedModel, 'bytesHuman') && _.get(selectedModel, 'bytesHuman') !== 'Empty'"></span> <span class="file-size" [innerText]="(_.get(selectedModel, 'bytesHuman') && _.get(selectedModel, 'bytesHuman') !== 'Empty') ? _.get(selectedModel, 'bytesHuman') : ''"></span></div></div><p class="font-body image-title" [innerText]="_.get(selectedModel, 'name') || 'No title'"></p><div class="position-action-area"><div class="action-btns"><span (click)="showDetails(selectedModel)"><a class="border-radius-default" href="#" [matTooltip]="'Show Details - ' + _.get(selectedModel, 'name')"><mat-icon class="info-icon" svgIcon="media_selector_info" aria-hidden="true" aria-label="Info"></mat-icon></a></span><span (click)="remove(selectedModel)"><a class="border-radius-default" href="#" matTooltip="Permanently Delete from Libary" *ngIf="!isSelector"><mat-icon class="delete-icon" svgIcon="media_selector_delete" aria-hidden="true" aria-label="Delete"></mat-icon></a><a class="border-radius-default" href="#" matTooltip="Remove Selection" *ngIf="isSelector"><mat-icon class="clear-icon" svgIcon="media_selector_clear" aria-hidden="true" aria-label="Clear"></mat-icon></a></span></div></div></div></div></div></div></div><div class="media-selected-list media-selected-list-grid"><div class="library-toggle media-selected-box media-selected-box-grid"><a class="position-anchor accent-background-hover border-default border-default-all color-primary" [matTooltip]="(libraryDisplay ? 'Open' : 'Close') + ' Media Library'" (click)="toggleLibrary()" [ngClass]="{'library-toggle-open': libraryDisplay}"><div aria-hidden="true"><mat-icon class="position-center" *ngIf="!libraryDisplay" svgIcon="media_selector_add" aria-hidden="false" aria-label="Add">Add</mat-icon><div class="btn-text small-all-caps position-center">Close Library</div><img class="shapeholder" [src]="Stratus.BaseUrl + 'sitetheorycore/images/shapeholder-square.png'"></div></a></div></div></div></div></div>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<span class="file-type uppercase"
|
|
85
85
|
[innerText]="selectedModel.extension || selectedModel.service || (selectedModel._embedCode ? 'Embedded Video' : '')">
|
|
86
86
|
</span>
|
|
87
|
-
<!-- TODO: evaluate the possibility of an ng-container here instead -->
|
|
87
|
+
<!-- TODO: evaluate the possibility of an data-ng-container here instead -->
|
|
88
88
|
<span class="delimiter"
|
|
89
89
|
*ngIf="selectedModel.bytesHuman && selectedModel.bytesHuman !== 'Empty'"></span>
|
|
90
90
|
<span class="file-size"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
due to styling.
|
|
5
5
|
-->
|
|
6
6
|
|
|
7
|
-
<!-- ng-disabled="itemDisabled = isSelected(model)" -->
|
|
7
|
+
<!-- data-ng-disabled="itemDisabled = isSelected(model)" -->
|
|
8
8
|
<div class="autocomplete-option"
|
|
9
9
|
[class]="model.contentType.class"
|
|
10
10
|
[class.selected]="isSelected(model)">
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
aria-hidden="true"
|
|
58
58
|
svgIcon="{{ model.contentType.iconResourcePath | assetPath }}"></mat-icon>
|
|
59
59
|
<span class="comment content-type-name font-body"
|
|
60
|
-
ng-class="(model.contentType.name | lowercase) + '-color'"
|
|
61
|
-
ng-bind="model.contentType.name"></span>
|
|
60
|
+
data-ng-class="(model.contentType.name | lowercase) + '-color'"
|
|
61
|
+
data-ng-bind="model.contentType.name"></span>
|
|
62
62
|
</div>
|
|
63
63
|
-->
|
|
64
64
|
<h3 class="title">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
(cdkDropListDropped)="onDragDrop($event)"
|
|
39
39
|
class="tree-node-drop-list"></div>
|
|
40
40
|
|
|
41
|
-
<!-- Display Name &
|
|
41
|
+
<!-- Display Name & dialog Button -->
|
|
42
42
|
<!-- {{node.model.data.name}} -->
|
|
43
43
|
<!-- <a mat-raised-button (click)="openDialog(node.model)">-->
|
|
44
44
|
<!-- <i class="fas fa-pencil-alt"></i>-->
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
<!-- (cdkDropListDropped)="onDragDrop($event)"-->
|
|
93
93
|
<!-- class="tree-node-drop-list"></div>-->
|
|
94
94
|
|
|
95
|
-
<!-- Display Name &
|
|
95
|
+
<!-- Display Name & dialog Button -->
|
|
96
96
|
<!-- {{node.model.data.name}} -->
|
|
97
97
|
<!-- <a mat-raised-button (click)="openDialog(node.model)">-->
|
|
98
98
|
<!-- <i class="fas fa-pencil-alt"></i>-->
|