herum-shared 0.1.37 → 0.1.39
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/assets/shared/audio-images/purple-pause.svg +4 -0
- package/assets/shared/audio-images/purple-play.svg +3 -0
- package/atoms/index.d.ts +55 -55
- package/constants/index.d.ts +181 -134
- package/dialogs/index.d.ts +4 -3
- package/environment/index.d.ts +2 -35
- package/fesm2022/herum-shared-animations.mjs +4 -0
- package/fesm2022/herum-shared-animations.mjs.map +1 -1
- package/fesm2022/herum-shared-atoms.mjs +110 -108
- package/fesm2022/herum-shared-atoms.mjs.map +1 -1
- package/fesm2022/herum-shared-constants.mjs +198 -167
- package/fesm2022/herum-shared-constants.mjs.map +1 -1
- package/fesm2022/herum-shared-decorators.mjs +4 -0
- package/fesm2022/herum-shared-decorators.mjs.map +1 -1
- package/fesm2022/herum-shared-dialogs.mjs +7 -4
- package/fesm2022/herum-shared-dialogs.mjs.map +1 -1
- package/fesm2022/herum-shared-directives.mjs +5 -1
- package/fesm2022/herum-shared-directives.mjs.map +1 -1
- package/fesm2022/herum-shared-environment.mjs +4 -0
- package/fesm2022/herum-shared-environment.mjs.map +1 -1
- package/fesm2022/herum-shared-errors.mjs +5 -1
- package/fesm2022/herum-shared-errors.mjs.map +1 -1
- package/fesm2022/herum-shared-fetched-message.mjs +39 -30
- package/fesm2022/herum-shared-fetched-message.mjs.map +1 -1
- package/fesm2022/herum-shared-molecules.mjs +57 -28
- package/fesm2022/herum-shared-molecules.mjs.map +1 -1
- package/fesm2022/herum-shared-mongo.mjs +414 -150
- package/fesm2022/herum-shared-mongo.mjs.map +1 -1
- package/fesm2022/herum-shared-objectsExample.mjs +5 -1
- package/fesm2022/herum-shared-objectsExample.mjs.map +1 -1
- package/fesm2022/herum-shared-pipes.mjs +64 -60
- package/fesm2022/herum-shared-pipes.mjs.map +1 -1
- package/fesm2022/herum-shared-services.mjs +144 -321
- package/fesm2022/herum-shared-services.mjs.map +1 -1
- package/fesm2022/herum-shared-static-services.mjs +4 -0
- package/fesm2022/herum-shared-static-services.mjs.map +1 -1
- package/fesm2022/herum-shared-table.mjs +61 -48
- package/fesm2022/herum-shared-table.mjs.map +1 -1
- package/fesm2022/herum-shared-testsObjects.mjs +89 -119
- package/fesm2022/herum-shared-testsObjects.mjs.map +1 -1
- package/fesm2022/herum-shared-tokens.mjs +4 -0
- package/fesm2022/herum-shared-tokens.mjs.map +1 -1
- package/fesm2022/herum-shared-utils.mjs +43 -40
- package/fesm2022/herum-shared-utils.mjs.map +1 -1
- package/fesm2022/herum-shared-validators.mjs +4 -0
- package/fesm2022/herum-shared-validators.mjs.map +1 -1
- package/fesm2022/herum-shared.mjs +9031 -890
- package/fesm2022/herum-shared.mjs.map +1 -1
- package/fetched-message/index.d.ts +11 -11
- package/index.d.ts +1654 -274
- package/molecules/index.d.ts +12 -9
- package/mongo/index.d.ts +125 -66
- package/objectsExample/index.d.ts +3 -1
- package/package.json +2 -5
- package/pipes/index.d.ts +25 -21
- package/services/index.d.ts +56 -67
- package/styles/_mixin.scss +2 -2
- package/styles/dialogs.scss +0 -5
- package/styles/variables/_colors.scss +5 -109
- package/styles/variables/_sizes.scss +2 -9
- package/table/index.d.ts +25 -18
- package/testsObjects/index.d.ts +3 -3
- package/tokens/index.d.ts +6 -4
- package/utils/index.d.ts +14 -10
- package/fesm2022/herum-shared-herum-types.mjs +0 -107
- package/fesm2022/herum-shared-herum-types.mjs.map +0 -1
- package/herum-types/index.d.ts +0 -200
- package/styles/variables/_colors.college.scss +0 -65
|
@@ -163,6 +163,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
163
163
|
}]
|
|
164
164
|
}] });
|
|
165
165
|
|
|
166
|
+
class SafePipe {
|
|
167
|
+
sanitizer;
|
|
168
|
+
constructor(sanitizer) {
|
|
169
|
+
this.sanitizer = sanitizer;
|
|
170
|
+
}
|
|
171
|
+
transform(url) {
|
|
172
|
+
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
173
|
+
}
|
|
174
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
175
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: SafePipe, isStandalone: false, name: "safe" });
|
|
176
|
+
}
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SafePipe, decorators: [{
|
|
178
|
+
type: Pipe,
|
|
179
|
+
args: [{
|
|
180
|
+
standalone: false,
|
|
181
|
+
name: 'safe'
|
|
182
|
+
}]
|
|
183
|
+
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
184
|
+
|
|
185
|
+
class SafeHtmlPipe {
|
|
186
|
+
sanitized;
|
|
187
|
+
constructor(sanitized) {
|
|
188
|
+
this.sanitized = sanitized;
|
|
189
|
+
}
|
|
190
|
+
transform(value) {
|
|
191
|
+
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
192
|
+
}
|
|
193
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
194
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" });
|
|
195
|
+
}
|
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
197
|
+
type: Pipe,
|
|
198
|
+
args: [{
|
|
199
|
+
standalone: false,
|
|
200
|
+
name: 'safeHtml'
|
|
201
|
+
}]
|
|
202
|
+
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
203
|
+
|
|
166
204
|
class ResourceSubscriptionToResourcePipe {
|
|
167
205
|
transform(resourceSubscription, ...args) {
|
|
168
206
|
let resource = {
|
|
@@ -207,43 +245,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
207
245
|
}]
|
|
208
246
|
}] });
|
|
209
247
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
219
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" });
|
|
248
|
+
const userFieldsToValueFormatters = {
|
|
249
|
+
[signUpFormKeys.sections]: { valueFormatter: (sections) => identifiedEntityToSectionListItem(sections) },
|
|
250
|
+
[signUpFormKeys.sagahs]: { valueFormatter: (sagahs) => identifiedEntityToDbListItem(sagahs) },
|
|
251
|
+
[signUpFormKeys.subjectAreas]: { valueFormatter: (subjectAreas) => identifiedEntityToDbListItem(subjectAreas) }
|
|
252
|
+
};
|
|
253
|
+
function identifiedEntityToDbListItem(items) {
|
|
254
|
+
return items.map(item => ({ id: item.id, value: item.name }));
|
|
220
255
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
constructor(sanitizer) {
|
|
232
|
-
this.sanitizer = sanitizer;
|
|
233
|
-
}
|
|
234
|
-
transform(url) {
|
|
235
|
-
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
256
|
+
function identifiedEntityToSectionListItem(items) {
|
|
257
|
+
return items.map(item => ({ id: item.id, section: item.name }));
|
|
258
|
+
}
|
|
259
|
+
class UserIdentifiedEntitiesToBackendModelsPipe {
|
|
260
|
+
transform(user) {
|
|
261
|
+
Object.keys(userFieldsToValueFormatters).forEach(key => {
|
|
262
|
+
if (user[key])
|
|
263
|
+
user[key] = userFieldsToValueFormatters[key].valueFormatter(user[key]);
|
|
264
|
+
});
|
|
265
|
+
return user;
|
|
236
266
|
}
|
|
237
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type:
|
|
238
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type:
|
|
267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UserIdentifiedEntitiesToBackendModelsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
268
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: UserIdentifiedEntitiesToBackendModelsPipe, isStandalone: false, name: "userIdentifiedEntitiesToBackendModels" });
|
|
239
269
|
}
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type:
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UserIdentifiedEntitiesToBackendModelsPipe, decorators: [{
|
|
241
271
|
type: Pipe,
|
|
242
272
|
args: [{
|
|
243
273
|
standalone: false,
|
|
244
|
-
name: '
|
|
274
|
+
name: 'userIdentifiedEntitiesToBackendModels'
|
|
245
275
|
}]
|
|
246
|
-
}]
|
|
276
|
+
}] });
|
|
247
277
|
|
|
248
278
|
class StringArrayToSignUpFieldArrayPipe {
|
|
249
279
|
transform(fields) {
|
|
@@ -280,36 +310,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
280
310
|
}]
|
|
281
311
|
}] });
|
|
282
312
|
|
|
283
|
-
const userFieldsToValueFormatters = {
|
|
284
|
-
[signUpFormKeys.sections]: { valueFormatter: (sections) => identifiedEntityToSectionListItem(sections) },
|
|
285
|
-
[signUpFormKeys.sagahs]: { valueFormatter: (sagahs) => identifiedEntityToDbListItem(sagahs) },
|
|
286
|
-
[signUpFormKeys.subjectAreas]: { valueFormatter: (subjectAreas) => identifiedEntityToDbListItem(subjectAreas) }
|
|
287
|
-
};
|
|
288
|
-
function identifiedEntityToDbListItem(items) {
|
|
289
|
-
return items.map(item => ({ id: item.id, value: item.name }));
|
|
290
|
-
}
|
|
291
|
-
function identifiedEntityToSectionListItem(items) {
|
|
292
|
-
return items.map(item => ({ id: item.id, section: item.name }));
|
|
293
|
-
}
|
|
294
|
-
class UserIdentifiedEntitiesToBackendModelsPipe {
|
|
295
|
-
transform(user) {
|
|
296
|
-
Object.keys(userFieldsToValueFormatters).forEach(key => {
|
|
297
|
-
if (user[key])
|
|
298
|
-
user[key] = userFieldsToValueFormatters[key].valueFormatter(user[key]);
|
|
299
|
-
});
|
|
300
|
-
return user;
|
|
301
|
-
}
|
|
302
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UserIdentifiedEntitiesToBackendModelsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
303
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: UserIdentifiedEntitiesToBackendModelsPipe, isStandalone: false, name: "userIdentifiedEntitiesToBackendModels" });
|
|
304
|
-
}
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UserIdentifiedEntitiesToBackendModelsPipe, decorators: [{
|
|
306
|
-
type: Pipe,
|
|
307
|
-
args: [{
|
|
308
|
-
standalone: false,
|
|
309
|
-
name: 'userIdentifiedEntitiesToBackendModels'
|
|
310
|
-
}]
|
|
311
|
-
}] });
|
|
312
|
-
|
|
313
313
|
class PipesModule {
|
|
314
314
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
315
315
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: PipesModule, declarations: [SafePipe,
|
|
@@ -398,6 +398,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
398
398
|
}]
|
|
399
399
|
}] });
|
|
400
400
|
|
|
401
|
+
/**
|
|
402
|
+
* @file Automatically generated by barrelsby.
|
|
403
|
+
*/
|
|
404
|
+
|
|
401
405
|
/**
|
|
402
406
|
* Generated bundle index. Do not edit.
|
|
403
407
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"herum-shared-pipes.mjs","sources":["../../../projects/herum-shared/pipes/answer-notes-to-text-changes.pipe.ts","../../../projects/herum-shared/pipes/collection-subscription-to-collection-base.pipe.ts","../../../projects/herum-shared/pipes/collection-to-collection-base.pipe.ts","../../../projects/herum-shared/pipes/displayed-submissions-counter-pipe.ts","../../../projects/herum-shared/pipes/ellipsis.pipe.ts","../../../projects/herum-shared/pipes/resource-subscription-to-resource.pipe.ts","../../../projects/herum-shared/pipes/resource-to-resource-subscription.pipe.ts","../../../projects/herum-shared/pipes/safe-html.pipe.ts","../../../projects/herum-shared/pipes/safe.pipe.ts","../../../projects/herum-shared/pipes/sign-up-fields-to-sign-up-field-config.pipe.ts","../../../projects/herum-shared/pipes/to-integer.pipe.ts","../../../projects/herum-shared/pipes/user-identified-entities-to-backend-models.pipe.ts","../../../projects/herum-shared/pipes/pipes-module.ts","../../../projects/herum-shared/pipes/herum-shared-pipes.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\nimport { TextChange } from 'herum-shared/herum-types';\r\nimport { AnswerNote } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'answerNotesToTextChanges'\r\n})\r\nexport class AnswerNotesToTextChangesPipe implements PipeTransform {\r\n\r\n transform(answerNotes: AnswerNote[]): TextChange[] {\r\n return answerNotes?.map(answerNote =>\r\n ({\r\n type: answerNote.type,\r\n creatingUser: answerNote.creatingUser,\r\n id: answerNote.id,\r\n note: answerNote.note,\r\n timeStamp: answerNote.timeStamp,\r\n startOffset: answerNote.startIndex,\r\n endOffset: answerNote.endIndex,\r\n commentText: answerNote.commentText\r\n })\r\n )\r\n .sort((a, b) => new Date(a.startOffset).getTime() - new Date(b.startOffset).getTime());\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { CollectionBase } from 'herum-shared/herum-types';\r\nimport { CollectionSubscription } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'collectionSubscriptionToCollectionBase'\r\n})\r\nexport class CollectionSubscriptionToCollectionBasePipe implements PipeTransform {\r\n\r\n transform(collectionSubscription: CollectionSubscription, ...args: unknown[]): CollectionBase {\r\n let collectionBase: CollectionBase = {\r\n ...collectionSubscription.collectionPreview,\r\n resources: collectionSubscription.resourceSubscriptions.map(resourceSubscription => resourceSubscription.resourcePreview),\r\n grade: collectionSubscription.grade,\r\n };\r\n\r\n return collectionBase;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { Collection, CollectionBase } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'collectionToCollectionBase'\r\n})\r\nexport class CollectionToCollectionBasePipe implements PipeTransform {\r\n\r\n transform(collection: Collection, ...args: unknown[]): CollectionBase {\r\n let collectionBase: CollectionBase = {\r\n ...collection,\r\n resources: collection.resources.map(resource => resource.resourcePreview)\r\n }\r\n\r\n return collectionBase;\r\n }\r\n\r\n transformMulti(collections: Collection[]): CollectionBase[] {\r\n let collectionsBase: CollectionBase[] = collections.map(collection => this.transform(collection))\r\n return collectionsBase;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { QuizData, Resource } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n name: 'displayedSubmissionsCounter',\r\n standalone: false\r\n})\r\nexport class DisplayedSubmissionsCounterPipe implements PipeTransform {\r\n\r\n transform(resource: Resource, quizData: QuizData, areAnswersBlocked?: boolean): number {\r\n let submissionsCounter = quizData.submissionsCounter;\r\n\r\n if (!resource.quiz.maxSubmissions)\r\n return ++submissionsCounter;\r\n\r\n if (quizData.isSubmitted || areAnswersBlocked)\r\n return submissionsCounter || ++submissionsCounter;\r\n\r\n return submissionsCounter < resource.quiz.maxSubmissions ? ++submissionsCounter : submissionsCounter;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'ellipsis'\r\n})\r\nexport class EllipsisPipe implements PipeTransform {\r\n transform(value: string, element: HTMLElement, numberOfRows: number = 1): string {\r\n if (!value || !element || numberOfRows < 1)\r\n return '';\r\n\r\n if (!element.clientWidth)\r\n return value;\r\n\r\n const style: CSSStyleDeclaration = window.getComputedStyle(element);\r\n const fontSize: number = parseFloat(style.fontSize);\r\n const fontFamily: string = style.fontFamily;\r\n const availableWidth: number = element.clientWidth - this.getElementWidth(fontSize, fontFamily, '...');\r\n\r\n return numberOfRows > 1 ?\r\n this.handleMultiRows(value, fontSize, fontFamily, numberOfRows, element.clientWidth, availableWidth)\r\n :\r\n this.ellipsis(value, fontSize, fontFamily, availableWidth);\r\n }\r\n\r\n private handleMultiRows(value: string, fontSize: number, fontFamily: string, numberOfRows: number, maxRowWidth: number, availableWidth: number) {\r\n const words: string[] = value.split(' ');\r\n let text: string = '';\r\n let rowWidthCounter: number = 0;\r\n let rowsCounter: number = 1\r\n let isLastRow: boolean = false\r\n\r\n for (let index = 0; index < words.length; index++) {\r\n const word = words[index];\r\n const wordWidth = this.getElementWidth(fontSize, fontFamily, word) + this.getElementWidth(fontSize, fontFamily, ' ');\r\n\r\n if ((rowWidthCounter + wordWidth >= maxRowWidth)) {\r\n rowsCounter = rowsCounter + 1;\r\n rowWidthCounter = 0;\r\n }\r\n\r\n isLastRow = rowsCounter === numberOfRows;\r\n\r\n if ((Math.ceil(rowWidthCounter + wordWidth) < maxRowWidth) && !isLastRow) {\r\n rowWidthCounter += wordWidth;\r\n text += words[index] + ' ';\r\n }\r\n\r\n if (isLastRow && index < words.length) {\r\n const leftText = words.slice(index).join(' ');\r\n text += this.ellipsis(leftText, fontSize, fontFamily, availableWidth);\r\n break;\r\n }\r\n }\r\n return text;\r\n }\r\n\r\n private ellipsis(text: string, fontSize: number, fontFamily: string, availableWidth: number): string {\r\n let totalWidth: number = 0;\r\n let newText: string = '';\r\n\r\n for (let index = 0; index < text.length; index++) {\r\n const char = text[index];\r\n const charWidth = this.getElementWidth(fontSize, fontFamily, char);\r\n\r\n totalWidth += charWidth;\r\n\r\n if (Math.ceil(totalWidth) >= availableWidth)\r\n return newText + '...';\r\n\r\n newText += char;\r\n }\r\n\r\n return newText;\r\n }\r\n\r\n private getElementWidth(fontSize: number, fontFamily: string, element: string): number {\r\n const canvas: HTMLCanvasElement = document.createElement('canvas');\r\n const context: CanvasRenderingContext2D = canvas.getContext('2d');\r\n context.font = `${fontSize}px ${fontFamily}`;\r\n const metrics: TextMetrics = context.measureText(element);\r\n\r\n return metrics.width;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { ModifiedResource } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'resourceSubscriptionToResource'\r\n})\r\nexport class ResourceSubscriptionToResourcePipe implements PipeTransform {\r\n transform(resourceSubscription: any, ...args: unknown[]): ModifiedResource {\r\n let resource: ModifiedResource = {\r\n positionInCollection: resourceSubscription.positionInCollection,\r\n description: resourceSubscription.resourcePreview.description,\r\n title: resourceSubscription.resourcePreview.title,\r\n resourceType: resourceSubscription.resourcePreview.resourceType,\r\n files: resourceSubscription.resourcePreview.files\r\n };\r\n\r\n return resource;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { ModifiedResource } from 'herum-shared/herum-types';\r\nimport { ResourceSubscription } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'resourceToResourceSubscription'\r\n})\r\nexport class ResourceToResourceSubscriptionPipe implements PipeTransform {\r\n\r\n transform(resource: ModifiedResource, ...args: unknown[]): ResourceSubscription {\r\n let resourceSubscription: ResourceSubscription = {\r\n subscriptionStatus: 0,\r\n positionInCollection: resource.positionInCollection,\r\n resourcePreview: {\r\n ...resource\r\n }\r\n };\r\n\r\n return resourceSubscription;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'safeHtml'\r\n})\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n constructor(private sanitized: DomSanitizer) { }\r\n\r\n transform(value: any): any {\r\n return this.sanitized.bypassSecurityTrustHtml(value);\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'safe'\r\n})\r\nexport class SafePipe implements PipeTransform {\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(url) {\r\n return this.sanitizer.bypassSecurityTrustResourceUrl(url);\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { SignUpField } from 'herum-shared/herum-types';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'stringArrayToSignUpFieldArray'\r\n})\r\nexport class StringArrayToSignUpFieldArrayPipe implements PipeTransform {\r\n\r\n transform(fields: string[] | null | undefined): SignUpField[] {\r\n if (!Array.isArray(fields)) return [];\r\n\r\n return fields.map((field) => ({\r\n field, \r\n showSeparator: false\r\n }));\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'toInteger',\r\n standalone: false\r\n})\r\nexport class ToIntegerPipe implements PipeTransform {\r\n\r\n transform(number: number): number {\r\n return Number.isInteger(number) ? number : Number(number.toFixed(0));\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { signUpFormKeys } from 'herum-shared/constants';\r\nimport { IdentifiedEntity, SectionListItem, DbListItem } from 'herum-shared/herum-types';\r\nimport { User } from 'herum-shared/herum-types';\r\n\r\nconst userFieldsToValueFormatters = {\r\n [signUpFormKeys.sections]: { valueFormatter: (sections: IdentifiedEntity[]) => identifiedEntityToSectionListItem(sections) },\r\n [signUpFormKeys.sagahs]: { valueFormatter: (sagahs: IdentifiedEntity[]) => identifiedEntityToDbListItem(sagahs) },\r\n [signUpFormKeys.subjectAreas]: { valueFormatter: (subjectAreas: IdentifiedEntity[]) => identifiedEntityToDbListItem(subjectAreas) }\r\n};\r\n\r\nfunction identifiedEntityToDbListItem(items: IdentifiedEntity[]): DbListItem<string>[] {\r\n return items.map(item => ({ id: item.id, value: item.name }));\r\n}\r\n\r\nfunction identifiedEntityToSectionListItem(items: IdentifiedEntity[]): SectionListItem[] {\r\n return items.map(item => ({ id: item.id, section: item.name }));\r\n}\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'userIdentifiedEntitiesToBackendModels'\r\n})\r\nexport class UserIdentifiedEntitiesToBackendModelsPipe implements PipeTransform {\r\n\r\n transform(user: User) {\r\n Object.keys(userFieldsToValueFormatters).forEach(key => {\r\n if (user[key])\r\n user[key] = userFieldsToValueFormatters[key].valueFormatter(user[key]);\r\n });\r\n\r\n return user;\r\n }\r\n}","import { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { SafePipe } from './safe.pipe';\r\nimport { CollectionSubscriptionToCollectionBasePipe } from './collection-subscription-to-collection-base.pipe';\r\nimport { CollectionToCollectionBasePipe } from './collection-to-collection-base.pipe';\r\nimport { SafeHtmlPipe } from './safe-html.pipe';\r\nimport { ResourceSubscriptionToResourcePipe } from './resource-subscription-to-resource.pipe';\r\nimport { ResourceToResourceSubscriptionPipe } from './resource-to-resource-subscription.pipe';\r\nimport { EllipsisPipe } from './ellipsis.pipe';\r\nimport { UserIdentifiedEntitiesToBackendModelsPipe } from './user-identified-entities-to-backend-models.pipe';\r\nimport { AnswerNotesToTextChangesPipe } from './answer-notes-to-text-changes.pipe';\r\nimport { StringArrayToSignUpFieldArrayPipe } from './sign-up-fields-to-sign-up-field-config.pipe';\r\nimport { ToIntegerPipe } from './to-integer.pipe';\r\nimport { DisplayedSubmissionsCounterPipe } from './displayed-submissions-counter-pipe';\r\n\r\n@NgModule({\r\n declarations: [\r\n SafePipe,\r\n CollectionSubscriptionToCollectionBasePipe,\r\n CollectionToCollectionBasePipe,\r\n SafeHtmlPipe,\r\n ResourceSubscriptionToResourcePipe,\r\n ResourceToResourceSubscriptionPipe,\r\n EllipsisPipe,\r\n UserIdentifiedEntitiesToBackendModelsPipe,\r\n AnswerNotesToTextChangesPipe,\r\n StringArrayToSignUpFieldArrayPipe,\r\n ToIntegerPipe,\r\n DisplayedSubmissionsCounterPipe,\r\n ],\r\n exports: [\r\n SafePipe,\r\n CollectionSubscriptionToCollectionBasePipe,\r\n CollectionToCollectionBasePipe,\r\n SafeHtmlPipe,\r\n ResourceSubscriptionToResourcePipe,\r\n ResourceToResourceSubscriptionPipe,\r\n EllipsisPipe,\r\n UserIdentifiedEntitiesToBackendModelsPipe,\r\n AnswerNotesToTextChangesPipe,\r\n StringArrayToSignUpFieldArrayPipe,\r\n ToIntegerPipe,\r\n DisplayedSubmissionsCounterPipe,\r\n ],\r\n providers: [\r\n SafePipe,\r\n CollectionSubscriptionToCollectionBasePipe,\r\n CollectionToCollectionBasePipe,\r\n SafeHtmlPipe,\r\n ResourceSubscriptionToResourcePipe,\r\n ResourceToResourceSubscriptionPipe,\r\n EllipsisPipe,\r\n UserIdentifiedEntitiesToBackendModelsPipe,\r\n AnswerNotesToTextChangesPipe,\r\n StringArrayToSignUpFieldArrayPipe,\r\n ToIntegerPipe,\r\n DisplayedSubmissionsCounterPipe,\r\n ]\r\n})\r\nexport class PipesModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAQa,4BAA4B,CAAA;AAEvC,IAAA,SAAS,CAAC,WAAyB,EAAA;QACjC,OAAO,WAAW,EAAE,GAAG,CAAC,UAAU,KACjC;YACC,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,EAAE,EAAE,UAAU,CAAC,EAAE;YACjB,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,WAAW,EAAE,UAAU,CAAC,UAAU;YAClC,SAAS,EAAE,UAAU,CAAC,QAAQ;YAC9B,WAAW,EAAE,UAAU,CAAC;AACzB,SAAA,CAAC;AAEC,aAAA,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,CAAC;IAC1F;wGAhBW,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAA5B,4BAA4B,EAAA,YAAA,EAAA,KAAA,EAAA,IAAA,EAAA,0BAAA,EAAA,CAAA;;4FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAJxC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,UAAU,EAAE,KAAK;AACjB,oBAAA,IAAI,EAAE;AACP,iBAAA;;;MCCY,0CAA0C,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G;;;;"}
|
|
1
|
+
{"version":3,"file":"herum-shared-pipes.mjs","sources":["../../../projects/herum-shared/pipes/answer-notes-to-text-changes.pipe.ts","../../../projects/herum-shared/pipes/collection-subscription-to-collection-base.pipe.ts","../../../projects/herum-shared/pipes/collection-to-collection-base.pipe.ts","../../../projects/herum-shared/pipes/displayed-submissions-counter-pipe.ts","../../../projects/herum-shared/pipes/ellipsis.pipe.ts","../../../projects/herum-shared/pipes/safe.pipe.ts","../../../projects/herum-shared/pipes/safe-html.pipe.ts","../../../projects/herum-shared/pipes/resource-subscription-to-resource.pipe.ts","../../../projects/herum-shared/pipes/resource-to-resource-subscription.pipe.ts","../../../projects/herum-shared/pipes/user-identified-entities-to-backend-models.pipe.ts","../../../projects/herum-shared/pipes/sign-up-fields-to-sign-up-field-config.pipe.ts","../../../projects/herum-shared/pipes/to-integer.pipe.ts","../../../projects/herum-shared/pipes/pipes-module.ts","../../../projects/herum-shared/pipes/index.ts","../../../projects/herum-shared/pipes/herum-shared-pipes.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\nimport { TextChange } from 'herum-types/TrackTextChanges';\r\nimport { AnswerNote } from 'herum-types/User';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'answerNotesToTextChanges'\r\n})\r\nexport class AnswerNotesToTextChangesPipe implements PipeTransform {\r\n\r\n transform(answerNotes: AnswerNote[]): TextChange[] {\r\n return answerNotes?.map(answerNote =>\r\n ({\r\n type: answerNote.type,\r\n creatingUser: answerNote.creatingUser,\r\n id: answerNote.id,\r\n note: answerNote.note,\r\n timeStamp: answerNote.timeStamp,\r\n startOffset: answerNote.startIndex,\r\n endOffset: answerNote.endIndex,\r\n commentText: answerNote.commentText\r\n })\r\n )\r\n .sort((a, b) => new Date(a.startOffset).getTime() - new Date(b.startOffset).getTime());\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { CollectionBase } from 'herum-types/Collection';\r\nimport { CollectionSubscription } from 'herum-types/User';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'collectionSubscriptionToCollectionBase'\r\n})\r\nexport class CollectionSubscriptionToCollectionBasePipe implements PipeTransform {\r\n\r\n transform(collectionSubscription: CollectionSubscription, ...args: unknown[]): CollectionBase {\r\n let collectionBase: CollectionBase = {\r\n ...collectionSubscription.collectionPreview,\r\n resources: collectionSubscription.resourceSubscriptions.map(resourceSubscription => resourceSubscription.resourcePreview),\r\n grade: collectionSubscription.grade,\r\n };\r\n\r\n return collectionBase;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { Collection, CollectionBase } from 'herum-types/Collection';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'collectionToCollectionBase'\r\n})\r\nexport class CollectionToCollectionBasePipe implements PipeTransform {\r\n\r\n transform(collection: Collection, ...args: unknown[]): CollectionBase {\r\n let collectionBase: CollectionBase = {\r\n ...collection,\r\n resources: collection.resources.map(resource => resource.resourcePreview)\r\n }\r\n\r\n return collectionBase;\r\n }\r\n\r\n transformMulti(collections: Collection[]): CollectionBase[] {\r\n let collectionsBase: CollectionBase[] = collections.map(collection => this.transform(collection))\r\n return collectionsBase;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { QuizData, Resource } from 'herum-types/Resource';\r\n\r\n@Pipe({\r\n name: 'displayedSubmissionsCounter',\r\n standalone: false\r\n})\r\nexport class DisplayedSubmissionsCounterPipe implements PipeTransform {\r\n\r\n transform(resource: Resource, quizData: QuizData, areAnswersBlocked?: boolean): number {\r\n let submissionsCounter = quizData.submissionsCounter;\r\n\r\n if (!resource.quiz.maxSubmissions)\r\n return ++submissionsCounter;\r\n\r\n if (quizData.isSubmitted || areAnswersBlocked)\r\n return submissionsCounter || ++submissionsCounter;\r\n\r\n return submissionsCounter < resource.quiz.maxSubmissions ? ++submissionsCounter : submissionsCounter;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'ellipsis'\r\n})\r\nexport class EllipsisPipe implements PipeTransform {\r\n transform(value: string, element: HTMLElement, numberOfRows: number = 1): string {\r\n if (!value || !element || numberOfRows < 1)\r\n return '';\r\n\r\n if (!element.clientWidth)\r\n return value;\r\n\r\n const style: CSSStyleDeclaration = window.getComputedStyle(element);\r\n const fontSize: number = parseFloat(style.fontSize);\r\n const fontFamily: string = style.fontFamily;\r\n const availableWidth: number = element.clientWidth - this.getElementWidth(fontSize, fontFamily, '...');\r\n\r\n return numberOfRows > 1 ?\r\n this.handleMultiRows(value, fontSize, fontFamily, numberOfRows, element.clientWidth, availableWidth)\r\n :\r\n this.ellipsis(value, fontSize, fontFamily, availableWidth);\r\n }\r\n\r\n private handleMultiRows(value: string, fontSize: number, fontFamily: string, numberOfRows: number, maxRowWidth: number, availableWidth: number) {\r\n const words: string[] = value.split(' ');\r\n let text: string = '';\r\n let rowWidthCounter: number = 0;\r\n let rowsCounter: number = 1\r\n let isLastRow: boolean = false\r\n\r\n for (let index = 0; index < words.length; index++) {\r\n const word = words[index];\r\n const wordWidth = this.getElementWidth(fontSize, fontFamily, word) + this.getElementWidth(fontSize, fontFamily, ' ');\r\n\r\n if ((rowWidthCounter + wordWidth >= maxRowWidth)) {\r\n rowsCounter = rowsCounter + 1;\r\n rowWidthCounter = 0;\r\n }\r\n\r\n isLastRow = rowsCounter === numberOfRows;\r\n\r\n if ((Math.ceil(rowWidthCounter + wordWidth) < maxRowWidth) && !isLastRow) {\r\n rowWidthCounter += wordWidth;\r\n text += words[index] + ' ';\r\n }\r\n\r\n if (isLastRow && index < words.length) {\r\n const leftText = words.slice(index).join(' ');\r\n text += this.ellipsis(leftText, fontSize, fontFamily, availableWidth);\r\n break;\r\n }\r\n }\r\n return text;\r\n }\r\n\r\n private ellipsis(text: string, fontSize: number, fontFamily: string, availableWidth: number): string {\r\n let totalWidth: number = 0;\r\n let newText: string = '';\r\n\r\n for (let index = 0; index < text.length; index++) {\r\n const char = text[index];\r\n const charWidth = this.getElementWidth(fontSize, fontFamily, char);\r\n\r\n totalWidth += charWidth;\r\n\r\n if (Math.ceil(totalWidth) >= availableWidth)\r\n return newText + '...';\r\n\r\n newText += char;\r\n }\r\n\r\n return newText;\r\n }\r\n\r\n private getElementWidth(fontSize: number, fontFamily: string, element: string): number {\r\n const canvas: HTMLCanvasElement = document.createElement('canvas');\r\n const context: CanvasRenderingContext2D = canvas.getContext('2d');\r\n context.font = `${fontSize}px ${fontFamily}`;\r\n const metrics: TextMetrics = context.measureText(element);\r\n\r\n return metrics.width;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'safe'\r\n})\r\nexport class SafePipe implements PipeTransform {\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(url) {\r\n return this.sanitizer.bypassSecurityTrustResourceUrl(url);\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'safeHtml'\r\n})\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n constructor(private sanitized: DomSanitizer) { }\r\n\r\n transform(value: any): any {\r\n return this.sanitized.bypassSecurityTrustHtml(value);\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { ModifiedResource } from 'herum-types/Resource';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'resourceSubscriptionToResource'\r\n})\r\nexport class ResourceSubscriptionToResourcePipe implements PipeTransform {\r\n transform(resourceSubscription: any, ...args: unknown[]): ModifiedResource {\r\n let resource: ModifiedResource = {\r\n positionInCollection: resourceSubscription.positionInCollection,\r\n description: resourceSubscription.resourcePreview.description,\r\n title: resourceSubscription.resourcePreview.title,\r\n resourceType: resourceSubscription.resourcePreview.resourceType,\r\n files: resourceSubscription.resourcePreview.files\r\n };\r\n\r\n return resource;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { ModifiedResource } from 'herum-types/Resource';\r\nimport { ResourceSubscription } from 'herum-types/User';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'resourceToResourceSubscription'\r\n})\r\nexport class ResourceToResourceSubscriptionPipe implements PipeTransform {\r\n\r\n transform(resource: ModifiedResource, ...args: unknown[]): ResourceSubscription {\r\n let resourceSubscription: ResourceSubscription = {\r\n subscriptionStatus: 0,\r\n positionInCollection: resource.positionInCollection,\r\n resourcePreview: {\r\n ...resource\r\n }\r\n };\r\n\r\n return resourceSubscription;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { signUpFormKeys } from 'herum-shared/constants';\r\nimport { IdentifiedEntity, SectionListItem, DbListItem } from 'herum-types/Shared';\r\nimport { User } from 'herum-types/User';\r\n\r\nconst userFieldsToValueFormatters = {\r\n [signUpFormKeys.sections]: { valueFormatter: (sections: IdentifiedEntity[]) => identifiedEntityToSectionListItem(sections) },\r\n [signUpFormKeys.sagahs]: { valueFormatter: (sagahs: IdentifiedEntity[]) => identifiedEntityToDbListItem(sagahs) },\r\n [signUpFormKeys.subjectAreas]: { valueFormatter: (subjectAreas: IdentifiedEntity[]) => identifiedEntityToDbListItem(subjectAreas) }\r\n};\r\n\r\nfunction identifiedEntityToDbListItem(items: IdentifiedEntity[]): DbListItem<string>[] {\r\n return items.map(item => ({ id: item.id, value: item.name }));\r\n}\r\n\r\nfunction identifiedEntityToSectionListItem(items: IdentifiedEntity[]): SectionListItem[] {\r\n return items.map(item => ({ id: item.id, section: item.name }));\r\n}\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'userIdentifiedEntitiesToBackendModels'\r\n})\r\nexport class UserIdentifiedEntitiesToBackendModelsPipe implements PipeTransform {\r\n\r\n transform(user: User) {\r\n Object.keys(userFieldsToValueFormatters).forEach(key => {\r\n if (user[key])\r\n user[key] = userFieldsToValueFormatters[key].valueFormatter(user[key]);\r\n });\r\n\r\n return user;\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { SignUpField } from 'herum-types/Shared';\r\n\r\n@Pipe({\r\n standalone: false,\r\n name: 'stringArrayToSignUpFieldArray'\r\n})\r\nexport class StringArrayToSignUpFieldArrayPipe implements PipeTransform {\r\n\r\n transform(fields: string[] | null | undefined): SignUpField[] {\r\n if (!Array.isArray(fields)) return [];\r\n\r\n return fields.map((field) => ({\r\n field, \r\n showSeparator: false\r\n }));\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'toInteger',\r\n standalone: false\r\n})\r\nexport class ToIntegerPipe implements PipeTransform {\r\n\r\n transform(number: number): number {\r\n return Number.isInteger(number) ? number : Number(number.toFixed(0));\r\n }\r\n}","import { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { SafePipe } from './safe.pipe';\r\nimport { CollectionSubscriptionToCollectionBasePipe } from './collection-subscription-to-collection-base.pipe';\r\nimport { CollectionToCollectionBasePipe } from './collection-to-collection-base.pipe';\r\nimport { SafeHtmlPipe } from './safe-html.pipe';\r\nimport { ResourceSubscriptionToResourcePipe } from './resource-subscription-to-resource.pipe';\r\nimport { ResourceToResourceSubscriptionPipe } from './resource-to-resource-subscription.pipe';\r\nimport { EllipsisPipe } from './ellipsis.pipe';\r\nimport { UserIdentifiedEntitiesToBackendModelsPipe } from './user-identified-entities-to-backend-models.pipe';\r\nimport { AnswerNotesToTextChangesPipe } from './answer-notes-to-text-changes.pipe';\r\nimport { StringArrayToSignUpFieldArrayPipe } from './sign-up-fields-to-sign-up-field-config.pipe';\r\nimport { ToIntegerPipe } from './to-integer.pipe';\r\nimport { DisplayedSubmissionsCounterPipe } from './displayed-submissions-counter-pipe';\r\n\r\n@NgModule({\r\n declarations: [\r\n SafePipe,\r\n CollectionSubscriptionToCollectionBasePipe,\r\n CollectionToCollectionBasePipe,\r\n SafeHtmlPipe,\r\n ResourceSubscriptionToResourcePipe,\r\n ResourceToResourceSubscriptionPipe,\r\n EllipsisPipe,\r\n UserIdentifiedEntitiesToBackendModelsPipe,\r\n AnswerNotesToTextChangesPipe,\r\n StringArrayToSignUpFieldArrayPipe,\r\n ToIntegerPipe,\r\n DisplayedSubmissionsCounterPipe,\r\n ],\r\n exports: [\r\n SafePipe,\r\n CollectionSubscriptionToCollectionBasePipe,\r\n CollectionToCollectionBasePipe,\r\n SafeHtmlPipe,\r\n ResourceSubscriptionToResourcePipe,\r\n ResourceToResourceSubscriptionPipe,\r\n EllipsisPipe,\r\n UserIdentifiedEntitiesToBackendModelsPipe,\r\n AnswerNotesToTextChangesPipe,\r\n StringArrayToSignUpFieldArrayPipe,\r\n ToIntegerPipe,\r\n DisplayedSubmissionsCounterPipe,\r\n ],\r\n providers: [\r\n SafePipe,\r\n CollectionSubscriptionToCollectionBasePipe,\r\n CollectionToCollectionBasePipe,\r\n SafeHtmlPipe,\r\n ResourceSubscriptionToResourcePipe,\r\n ResourceToResourceSubscriptionPipe,\r\n EllipsisPipe,\r\n UserIdentifiedEntitiesToBackendModelsPipe,\r\n AnswerNotesToTextChangesPipe,\r\n StringArrayToSignUpFieldArrayPipe,\r\n ToIntegerPipe,\r\n DisplayedSubmissionsCounterPipe,\r\n ]\r\n})\r\nexport class PipesModule { }","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./answer-notes-to-text-changes.pipe\";\nexport * from \"./collection-subscription-to-collection-base.pipe\";\nexport * from \"./collection-to-collection-base.pipe\";\nexport * from \"./displayed-submissions-counter-pipe\";\nexport * from \"./ellipsis.pipe\";\nexport * from \"./pipes-module\";\nexport * from \"./resource-subscription-to-resource.pipe\";\nexport * from \"./resource-to-resource-subscription.pipe\";\nexport * from \"./safe-html.pipe\";\nexport * from \"./safe.pipe\";\nexport * from \"./sign-up-fields-to-sign-up-field-config.pipe\";\nexport * from \"./to-integer.pipe\";\nexport * from \"./user-identified-entities-to-backend-models.pipe\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],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