windows-plus-utilities 0.0.91 → 0.0.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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Pipe } from '@angular/core';
|
|
2
2
|
import { format } from 'date-fns';
|
|
3
|
-
import { replaceAll } from '../../helper/string/string-helper';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* @author Alex Hodson
|
|
@@ -26,7 +25,7 @@ export class FormatDateTimePipe {
|
|
|
26
25
|
* @returns the formatted value
|
|
27
26
|
*/
|
|
28
27
|
format(text) {
|
|
29
|
-
const date = new Date(
|
|
28
|
+
const date = new Date(text);
|
|
30
29
|
return format(date, 'E, d MMMM yyyy H:mm:ss');
|
|
31
30
|
}
|
|
32
31
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
@@ -38,4 +37,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
38
37
|
name: 'formatDateTime'
|
|
39
38
|
}]
|
|
40
39
|
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LWRhdGUtdGltZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2luZG93cy1wbHVzLXV0aWxpdGllcy91dGlsL3BpcGUvZm9ybWF0LWRhdGUtdGltZS9mb3JtYXQtZGF0ZS10aW1lLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUE7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F0ZSh0ZXh0KVxyXG5cdFx0cmV0dXJuIGZvcm1hdChkYXRlLCAnRSwgZCBNTU1NIHl5eXkgSDptbTpzcycpXHJcblx0fVxyXG59XHJcbiJdfQ==
|
|
@@ -122,6 +122,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
122
122
|
}]
|
|
123
123
|
}] });
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* @author Alex Hodson
|
|
127
|
+
* @description a pipe which formats a given date time string into a user friendly UTC string
|
|
128
|
+
*/
|
|
129
|
+
class FormatDateTimePipe {
|
|
130
|
+
/**
|
|
131
|
+
* @author Alex Hodson
|
|
132
|
+
* @description the entry point for the point which calls the format method and returns its value
|
|
133
|
+
* @param value the value of the HTML element
|
|
134
|
+
* @param args any extra arguments passed
|
|
135
|
+
* @returns the formatted value
|
|
136
|
+
*/
|
|
137
|
+
transform(value, ...args) {
|
|
138
|
+
if (!value)
|
|
139
|
+
return '';
|
|
140
|
+
return this.format(value);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @author Alex Hodson
|
|
144
|
+
* @description formats the given date time string into a UTC string
|
|
145
|
+
* @param text the text to be formatted
|
|
146
|
+
* @returns the formatted value
|
|
147
|
+
*/
|
|
148
|
+
format(text) {
|
|
149
|
+
const date = new Date(text);
|
|
150
|
+
return format(date, 'E, d MMMM yyyy H:mm:ss');
|
|
151
|
+
}
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
153
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, name: "formatDateTime" }); }
|
|
154
|
+
}
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, decorators: [{
|
|
156
|
+
type: Pipe,
|
|
157
|
+
args: [{
|
|
158
|
+
name: 'formatDateTime'
|
|
159
|
+
}]
|
|
160
|
+
}] });
|
|
161
|
+
|
|
162
|
+
class FormatDateTimeModule {
|
|
163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
164
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, declarations: [FormatDateTimePipe], imports: [CommonModule], exports: [FormatDateTimePipe] }); }
|
|
165
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, imports: [CommonModule] }); }
|
|
166
|
+
}
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, decorators: [{
|
|
168
|
+
type: NgModule,
|
|
169
|
+
args: [{
|
|
170
|
+
declarations: [
|
|
171
|
+
FormatDateTimePipe
|
|
172
|
+
],
|
|
173
|
+
imports: [
|
|
174
|
+
CommonModule
|
|
175
|
+
],
|
|
176
|
+
exports: [
|
|
177
|
+
FormatDateTimePipe
|
|
178
|
+
]
|
|
179
|
+
}]
|
|
180
|
+
}] });
|
|
181
|
+
|
|
125
182
|
/**
|
|
126
183
|
* @author Alex Hodson
|
|
127
184
|
* @description modifies the given value by capitalizing all letters
|
|
@@ -193,63 +250,6 @@ const findSubstringIndex = (value, target) => {
|
|
|
193
250
|
return value.indexOf(target);
|
|
194
251
|
};
|
|
195
252
|
|
|
196
|
-
/**
|
|
197
|
-
* @author Alex Hodson
|
|
198
|
-
* @description a pipe which formats a given date time string into a user friendly UTC string
|
|
199
|
-
*/
|
|
200
|
-
class FormatDateTimePipe {
|
|
201
|
-
/**
|
|
202
|
-
* @author Alex Hodson
|
|
203
|
-
* @description the entry point for the point which calls the format method and returns its value
|
|
204
|
-
* @param value the value of the HTML element
|
|
205
|
-
* @param args any extra arguments passed
|
|
206
|
-
* @returns the formatted value
|
|
207
|
-
*/
|
|
208
|
-
transform(value, ...args) {
|
|
209
|
-
if (!value)
|
|
210
|
-
return '';
|
|
211
|
-
return this.format(value);
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* @author Alex Hodson
|
|
215
|
-
* @description formats the given date time string into a UTC string
|
|
216
|
-
* @param text the text to be formatted
|
|
217
|
-
* @returns the formatted value
|
|
218
|
-
*/
|
|
219
|
-
format(text) {
|
|
220
|
-
const date = new Date(replaceAll(text, 'Z', ''));
|
|
221
|
-
return format(date, 'E, d MMMM yyyy H:mm:ss');
|
|
222
|
-
}
|
|
223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
224
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, name: "formatDateTime" }); }
|
|
225
|
-
}
|
|
226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimePipe, decorators: [{
|
|
227
|
-
type: Pipe,
|
|
228
|
-
args: [{
|
|
229
|
-
name: 'formatDateTime'
|
|
230
|
-
}]
|
|
231
|
-
}] });
|
|
232
|
-
|
|
233
|
-
class FormatDateTimeModule {
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
235
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, declarations: [FormatDateTimePipe], imports: [CommonModule], exports: [FormatDateTimePipe] }); }
|
|
236
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, imports: [CommonModule] }); }
|
|
237
|
-
}
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FormatDateTimeModule, decorators: [{
|
|
239
|
-
type: NgModule,
|
|
240
|
-
args: [{
|
|
241
|
-
declarations: [
|
|
242
|
-
FormatDateTimePipe
|
|
243
|
-
],
|
|
244
|
-
imports: [
|
|
245
|
-
CommonModule
|
|
246
|
-
],
|
|
247
|
-
exports: [
|
|
248
|
-
FormatDateTimePipe
|
|
249
|
-
]
|
|
250
|
-
}]
|
|
251
|
-
}] });
|
|
252
|
-
|
|
253
253
|
/**
|
|
254
254
|
* @author Alex Hodson
|
|
255
255
|
* @description a pipe which formats a given time string into a user friendly UTC string
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"windows-plus-utilities-util.mjs","sources":["../../../projects/windows-plus-utilities/util/pipe/beautify-text/beautify-text.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/beautify-text/beautify-text.module.ts","../../../projects/windows-plus-utilities/util/pipe/format-date/format-date.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/format-date/format-date.module.ts","../../../projects/windows-plus-utilities/util/helper/string/string-helper.ts","../../../projects/windows-plus-utilities/util/pipe/format-date-time/format-date-time.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/format-date-time/format-date-time.module.ts","../../../projects/windows-plus-utilities/util/pipe/format-time/format-time.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/format-time/format-time.module.ts","../../../projects/windows-plus-utilities/util/pipe/hex-to-rgba/hex-to-rgba.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/hex-to-rgba/hex-to-rgba.module.ts","../../../projects/windows-plus-utilities/util/pipe/initialism/initialism.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/initialism/initialism.module.ts","../../../projects/windows-plus-utilities/util/pipe/replace/replace.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/replace/replace.module.ts","../../../projects/windows-plus-utilities/util/public-api.ts","../../../projects/windows-plus-utilities/util/windows-plus-utilities-util.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'beautify'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the beautify text pipe takes a string and formats it into a more visually pleasing format. The pipe will add a space before any capital letter\r\n * and then capitalise the first letter of the string\r\n */\r\nexport class BeautifyTextPipe implements PipeTransform {\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string, args?: any): any {\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given string. A space will be added before any capital letter and then the first letter is capitalised\r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string): string {\r\n\t\tconst replaceResult: string = text.replace(/([A-Z])/g, \" $1\").trim()\r\n\t\tconst output: string = replaceResult.charAt(0).toUpperCase() + replaceResult.slice(1)\r\n\r\n\t\treturn output\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core'\r\nimport { BeautifyTextPipe } from './beautify-text.pipe'\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [ \r\n BeautifyTextPipe\r\n ],\r\n exports: [\r\n BeautifyTextPipe\r\n ]\r\n})\r\nexport class BeautifyTextModule{}","import { Pipe, PipeTransform } from '@angular/core'\r\n\r\n@Pipe({\r\n\tname: 'formatDate'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which formats a given date string into a user friendly UTC string\r\n */\r\nexport class FormatDatePipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string|null, ...args: unknown[]): string {\r\n\t\tif (!value) return ''\r\n\t\t\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given date string into a UTC string \r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string) {\r\n\t\tif (text === '' || text === '-') return text\r\n\t\tconst date = new Date(text)\r\n\r\n\t\treturn date.toLocaleString('en-GB', {\r\n\t\t\tweekday: 'short', // long, short, narrow\r\n\t\t\tday: 'numeric', // numeric, 2-digit\r\n\t\t\tyear: 'numeric', // numeric, 2-digit\r\n\t\t\tmonth: 'long', // numeric, 2-digit, long, short, narrow\r\n\t\t})\r\n\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormatDatePipe } from './format-date.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tFormatDatePipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tFormatDatePipe\r\n\t]\r\n})\r\nexport class FormatDateModule { }\r\n","/**\r\n * @author Alex Hodson\r\n * @description modifies the given value by capitalizing all letters\r\n * @param {string} value the value to be modified\r\n * @returns {string} the modified value\r\n */\r\n export const capitalizeAll = (value: string): string => {\r\n\tif (!value) return ''\r\n\r\n\treturn value.toUpperCase()\r\n}\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description modifies the given value by capitalizing the first letter\r\n * @param {string} value the value to be modified\r\n * @returns {string} the modified value\r\n */\r\nexport const capitalizeFirst = (value: string): string => {\r\n\tif (!value) return ''\r\n\r\n\tconst startingLetter = 0\r\n\tconst remainingIdx = 1\r\n\r\n\treturn value.charAt(startingLetter).toUpperCase() + value.slice(remainingIdx)\r\n}\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description splits the given string at the specified delimiter\r\n * @param {string} value the value to be split\r\n * @param {string} delimiter the value to be split at\r\n * @returns {string[]} the split value\r\n */\r\nexport const splitAt = (value: string, delimiter: string): string[] => {\r\n\tif (!value) return ['']\r\n\r\n\treturn value.split(delimiter)\r\n}\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description joins the given array using the specified delimiter\r\n * @param {string} delimiter the value to be joined with\r\n * @param {string[]} data the data to be joined\r\n * @returns {string} the joined value\r\n */\r\nexport const joinWith = (delimiter: string, data: string[] = []): string => data.join(delimiter)\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description replaces each substring of the value that matches the given target and replaces the match with the provided replacement value\r\n * @param {string} value the value to be modified\r\n * @param {string} target the value to be replaced\r\n * @param {string} replacement the replacement value\r\n * @returns {string} the modified value\r\n */\r\nexport const replaceAll = (value: string, target: string, replacement: string): string => {\r\n\tif (!value) return ''\r\n\r\n\tconst regex = new RegExp(target, 'g')\r\n\r\n\treturn value.replace(regex, replacement)\r\n}\r\n/**\r\n * @author Alex Hodson\r\n * @description attempts to find the index of a given substring\r\n * @param {string} value the value to be searched\r\n * @param {string} target the value to be identified\r\n * @returns {number} the index of the target string within the given value\r\n */\r\nexport const findSubstringIndex = (value: string, target: string): number => {\r\n\tif (!value) return -1\r\n\r\n\treturn value.indexOf(target)\r\n}","import { Pipe, PipeTransform } from '@angular/core'\r\nimport { format } from 'date-fns'\r\nimport { replaceAll } from '../../helper/string/string-helper'\r\n\r\n@Pipe({\r\n\tname: 'formatDateTime'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which formats a given date time string into a user friendly UTC string\r\n */\r\nexport class FormatDateTimePipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string|null, ...args: unknown[]): string {\r\n\t\tif (!value) return ''\r\n\t\t\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given date time string into a UTC string \r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string) {\r\n\t\tconst date = new Date(replaceAll(text, 'Z', ''))\r\n\t\treturn format(date, 'E, d MMMM yyyy H:mm:ss')\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormatDateTimePipe } from './format-date-time.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tFormatDateTimePipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tFormatDateTimePipe\r\n\t]\r\n})\r\nexport class FormatDateTimeModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core'\r\nimport { format } from 'date-fns'\r\nimport { replaceAll } from '../../helper/string/string-helper'\r\n\r\n@Pipe({\r\n\tname: 'formatTime'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which formats a given time string into a user friendly UTC string\r\n */\r\nexport class FormatTimePipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string, ...args: unknown[]): string {\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given time string into a UTC string \r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string) {\r\n\t\tconst date = new Date(replaceAll(text, 'Z', ''))\r\n\t\treturn format(date, 'h:mm:ss a')\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormatTimePipe } from './format-time.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tFormatTimePipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tFormatTimePipe\r\n\t]\r\n})\r\nexport class FormatTimeModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core'\r\n\r\n@Pipe({\r\n\tname: 'hexToRgba'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which converts a given HEX value into an RGBA value\r\n */\r\nexport class HexToRgbaPipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point which calls the convert method and returns its value\r\n\t * @param hex the hex value to be converted\r\n\t * @param alpha the alpha value to be applied\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(hex: string|null, alpha: number = 1, ...args: unknown[]): string {\r\n\t\tif (!hex) return ''\r\n\t\t\r\n\t\treturn this.convert(hex, alpha)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description converts the specified HEX value to RGB with the applied alpha value\r\n\t * @param hex the hex value to be converted\r\n\t * @param alpha the alpha value to be applied\r\n\t * @returns the converted value\r\n\t */\r\n\tprivate convert(hex: string, alpha: number) {\r\n\t\tif (hex === '' || hex === '-') return hex\r\n\r\n\t\tconst bigint = parseInt(hex.slice(1), 16);\r\n\t\tconst r = (bigint >> 16) & 255;\r\n\t\tconst g = (bigint >> 8) & 255;\r\n\t\tconst b = bigint & 255;\r\n\r\n\t\treturn `rgba(${r},${g},${b},${alpha})`;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HexToRgbaPipe } from './hex-to-rgba.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tHexToRgbaPipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tHexToRgbaPipe\r\n\t]\r\n})\r\nexport class HexToRgbaModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'initialism'\r\n})\r\nexport class InitialismPipe implements PipeTransform {\r\n\r\n transform(value: string, delimiter: string = ''): string {\r\n return this.format(value, delimiter);\r\n }\r\n\r\n\tprivate format(value: string, delimiter: string): string {\r\n\t\tconst elements = !!delimiter ? value.split(delimiter) : [value]\r\n\t\tconst letters = elements.map(element => element[0]).join('').toUpperCase()\r\n\r\n\t\treturn letters\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { InitialismPipe } from './initialism.pipe';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n InitialismPipe\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tInitialismPipe\r\n\t]\r\n})\r\nexport class InitialismModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'replace'\r\n})\r\nexport class ReplacePipe implements PipeTransform {\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param replace the string to be replaced\r\n\t * @param withThis the replacement string\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string, replace: string, withThis: string): string {\r\n\t\treturn this.format(value, replace, withThis)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description replaces a substring with the given replacement in a value\r\n\t * @param value the value of the HTML element\r\n\t * @param replace the string to be replaced\r\n\t * @param withThis the replacement string\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(value: string, replace: string, withThis: string): string {\r\n\t\treturn value.replace(new RegExp(replace, 'g'), withThis)\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core'\r\nimport { ReplacePipe } from './replace.pipe'\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [ \r\n ReplacePipe\r\n ],\r\n exports: [\r\n ReplacePipe\r\n ]\r\n})\r\nexport class ReplaceModule{}","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\nexport * from './pipe/beautify-text/beautify-text.module'\r\nexport * from './pipe/beautify-text/beautify-text.pipe'\r\n\r\nexport * from './pipe/format-date/format-date.module'\r\nexport * from './pipe/format-date/format-date.pipe'\r\n\r\nexport * from './pipe/format-date-time/format-date-time.module'\r\nexport * from './pipe/format-date-time/format-date-time.pipe'\r\n\r\nexport * from './pipe/format-time/format-time.module'\r\nexport * from './pipe/format-time/format-time.pipe'\r\n\r\nexport * from './pipe/hex-to-rgba/hex-to-rgba.module'\r\nexport * from './pipe/hex-to-rgba/hex-to-rgba.pipe'\r\n\r\nexport * from './pipe/initialism/initialism.module'\r\nexport * from './pipe/initialism/initialism.pipe'\r\n\r\nexport * from './pipe/replace/replace.module'\r\nexport * from './pipe/replace/replace.pipe'\r\n\r\nexport * from './helper/string/string-helper'","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;;;AAIG;MACU,gBAAgB,CAAA;AAC5B;;;;;;AAMG;IACH,SAAS,CAAC,KAAa,EAAE,IAAU,EAAA;AAClC,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;KACzB;AAED;;;;;AAKG;AACK,IAAA,MAAM,CAAC,IAAY,EAAA;AAC1B,QAAA,MAAM,aAAa,GAAW,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,IAAI,EAAE,CAAA;AACpE,QAAA,MAAM,MAAM,GAAW,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;AAErF,QAAA,OAAO,MAAM,CAAA;KACb;8GAvBW,gBAAgB,EAAA,IAAA,EAAA,EA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,EAAE,QAAgB,EAAA;AAC9D,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,QAAQ,CAAC,CAAA;KACxD;8GAvBW,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAX,WAAW,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA;;2FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAHvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,SAAS;AAChB,iBAAA,CAAA;;;MCQY,aAAa,CAAA;8GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAb,aAAa,EAAA,YAAA,EAAA,CANtB,WAAW,CAAA,EAAA,OAAA,EAAA,CAGX,WAAW,CAAA,EAAA,CAAA,CAAA,EAAA;+GAGF,aAAa,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBATzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE;wBACZ,WAAW;AACZ,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,WAAW;AACZ,qBAAA;AACF,iBAAA,CAAA;;;ACXD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"windows-plus-utilities-util.mjs","sources":["../../../projects/windows-plus-utilities/util/pipe/beautify-text/beautify-text.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/beautify-text/beautify-text.module.ts","../../../projects/windows-plus-utilities/util/pipe/format-date/format-date.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/format-date/format-date.module.ts","../../../projects/windows-plus-utilities/util/pipe/format-date-time/format-date-time.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/format-date-time/format-date-time.module.ts","../../../projects/windows-plus-utilities/util/helper/string/string-helper.ts","../../../projects/windows-plus-utilities/util/pipe/format-time/format-time.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/format-time/format-time.module.ts","../../../projects/windows-plus-utilities/util/pipe/hex-to-rgba/hex-to-rgba.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/hex-to-rgba/hex-to-rgba.module.ts","../../../projects/windows-plus-utilities/util/pipe/initialism/initialism.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/initialism/initialism.module.ts","../../../projects/windows-plus-utilities/util/pipe/replace/replace.pipe.ts","../../../projects/windows-plus-utilities/util/pipe/replace/replace.module.ts","../../../projects/windows-plus-utilities/util/public-api.ts","../../../projects/windows-plus-utilities/util/windows-plus-utilities-util.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'beautify'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the beautify text pipe takes a string and formats it into a more visually pleasing format. The pipe will add a space before any capital letter\r\n * and then capitalise the first letter of the string\r\n */\r\nexport class BeautifyTextPipe implements PipeTransform {\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string, args?: any): any {\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given string. A space will be added before any capital letter and then the first letter is capitalised\r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string): string {\r\n\t\tconst replaceResult: string = text.replace(/([A-Z])/g, \" $1\").trim()\r\n\t\tconst output: string = replaceResult.charAt(0).toUpperCase() + replaceResult.slice(1)\r\n\r\n\t\treturn output\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core'\r\nimport { BeautifyTextPipe } from './beautify-text.pipe'\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [ \r\n BeautifyTextPipe\r\n ],\r\n exports: [\r\n BeautifyTextPipe\r\n ]\r\n})\r\nexport class BeautifyTextModule{}","import { Pipe, PipeTransform } from '@angular/core'\r\n\r\n@Pipe({\r\n\tname: 'formatDate'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which formats a given date string into a user friendly UTC string\r\n */\r\nexport class FormatDatePipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string|null, ...args: unknown[]): string {\r\n\t\tif (!value) return ''\r\n\t\t\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given date string into a UTC string \r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string) {\r\n\t\tif (text === '' || text === '-') return text\r\n\t\tconst date = new Date(text)\r\n\r\n\t\treturn date.toLocaleString('en-GB', {\r\n\t\t\tweekday: 'short', // long, short, narrow\r\n\t\t\tday: 'numeric', // numeric, 2-digit\r\n\t\t\tyear: 'numeric', // numeric, 2-digit\r\n\t\t\tmonth: 'long', // numeric, 2-digit, long, short, narrow\r\n\t\t})\r\n\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormatDatePipe } from './format-date.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tFormatDatePipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tFormatDatePipe\r\n\t]\r\n})\r\nexport class FormatDateModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core'\r\nimport { format } from 'date-fns'\r\nimport { replaceAll } from '../../helper/string/string-helper'\r\n\r\n@Pipe({\r\n\tname: 'formatDateTime'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which formats a given date time string into a user friendly UTC string\r\n */\r\nexport class FormatDateTimePipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string|null, ...args: unknown[]): string {\r\n\t\tif (!value) return ''\r\n\t\t\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given date time string into a UTC string \r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string) {\r\n\t\tconst date = new Date(text)\r\n\t\treturn format(date, 'E, d MMMM yyyy H:mm:ss')\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormatDateTimePipe } from './format-date-time.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tFormatDateTimePipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tFormatDateTimePipe\r\n\t]\r\n})\r\nexport class FormatDateTimeModule { }\r\n","/**\r\n * @author Alex Hodson\r\n * @description modifies the given value by capitalizing all letters\r\n * @param {string} value the value to be modified\r\n * @returns {string} the modified value\r\n */\r\n export const capitalizeAll = (value: string): string => {\r\n\tif (!value) return ''\r\n\r\n\treturn value.toUpperCase()\r\n}\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description modifies the given value by capitalizing the first letter\r\n * @param {string} value the value to be modified\r\n * @returns {string} the modified value\r\n */\r\nexport const capitalizeFirst = (value: string): string => {\r\n\tif (!value) return ''\r\n\r\n\tconst startingLetter = 0\r\n\tconst remainingIdx = 1\r\n\r\n\treturn value.charAt(startingLetter).toUpperCase() + value.slice(remainingIdx)\r\n}\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description splits the given string at the specified delimiter\r\n * @param {string} value the value to be split\r\n * @param {string} delimiter the value to be split at\r\n * @returns {string[]} the split value\r\n */\r\nexport const splitAt = (value: string, delimiter: string): string[] => {\r\n\tif (!value) return ['']\r\n\r\n\treturn value.split(delimiter)\r\n}\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description joins the given array using the specified delimiter\r\n * @param {string} delimiter the value to be joined with\r\n * @param {string[]} data the data to be joined\r\n * @returns {string} the joined value\r\n */\r\nexport const joinWith = (delimiter: string, data: string[] = []): string => data.join(delimiter)\r\n\r\n/**\r\n * @author Alex Hodson\r\n * @description replaces each substring of the value that matches the given target and replaces the match with the provided replacement value\r\n * @param {string} value the value to be modified\r\n * @param {string} target the value to be replaced\r\n * @param {string} replacement the replacement value\r\n * @returns {string} the modified value\r\n */\r\nexport const replaceAll = (value: string, target: string, replacement: string): string => {\r\n\tif (!value) return ''\r\n\r\n\tconst regex = new RegExp(target, 'g')\r\n\r\n\treturn value.replace(regex, replacement)\r\n}\r\n/**\r\n * @author Alex Hodson\r\n * @description attempts to find the index of a given substring\r\n * @param {string} value the value to be searched\r\n * @param {string} target the value to be identified\r\n * @returns {number} the index of the target string within the given value\r\n */\r\nexport const findSubstringIndex = (value: string, target: string): number => {\r\n\tif (!value) return -1\r\n\r\n\treturn value.indexOf(target)\r\n}","import { Pipe, PipeTransform } from '@angular/core'\r\nimport { format } from 'date-fns'\r\nimport { replaceAll } from '../../helper/string/string-helper'\r\n\r\n@Pipe({\r\n\tname: 'formatTime'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which formats a given time string into a user friendly UTC string\r\n */\r\nexport class FormatTimePipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string, ...args: unknown[]): string {\r\n\t\treturn this.format(value)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description formats the given time string into a UTC string \r\n\t * @param text the text to be formatted\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(text: string) {\r\n\t\tconst date = new Date(replaceAll(text, 'Z', ''))\r\n\t\treturn format(date, 'h:mm:ss a')\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormatTimePipe } from './format-time.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tFormatTimePipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tFormatTimePipe\r\n\t]\r\n})\r\nexport class FormatTimeModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core'\r\n\r\n@Pipe({\r\n\tname: 'hexToRgba'\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description a pipe which converts a given HEX value into an RGBA value\r\n */\r\nexport class HexToRgbaPipe implements PipeTransform {\r\n\t\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point which calls the convert method and returns its value\r\n\t * @param hex the hex value to be converted\r\n\t * @param alpha the alpha value to be applied\r\n\t * @param args any extra arguments passed\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(hex: string|null, alpha: number = 1, ...args: unknown[]): string {\r\n\t\tif (!hex) return ''\r\n\t\t\r\n\t\treturn this.convert(hex, alpha)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description converts the specified HEX value to RGB with the applied alpha value\r\n\t * @param hex the hex value to be converted\r\n\t * @param alpha the alpha value to be applied\r\n\t * @returns the converted value\r\n\t */\r\n\tprivate convert(hex: string, alpha: number) {\r\n\t\tif (hex === '' || hex === '-') return hex\r\n\r\n\t\tconst bigint = parseInt(hex.slice(1), 16);\r\n\t\tconst r = (bigint >> 16) & 255;\r\n\t\tconst g = (bigint >> 8) & 255;\r\n\t\tconst b = bigint & 255;\r\n\r\n\t\treturn `rgba(${r},${g},${b},${alpha})`;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HexToRgbaPipe } from './hex-to-rgba.pipe'\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n\t\tHexToRgbaPipe\r\n\t],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tHexToRgbaPipe\r\n\t]\r\n})\r\nexport class HexToRgbaModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'initialism'\r\n})\r\nexport class InitialismPipe implements PipeTransform {\r\n\r\n transform(value: string, delimiter: string = ''): string {\r\n return this.format(value, delimiter);\r\n }\r\n\r\n\tprivate format(value: string, delimiter: string): string {\r\n\t\tconst elements = !!delimiter ? value.split(delimiter) : [value]\r\n\t\tconst letters = elements.map(element => element[0]).join('').toUpperCase()\r\n\r\n\t\treturn letters\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { InitialismPipe } from './initialism.pipe';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n InitialismPipe\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n\t\tInitialismPipe\r\n\t]\r\n})\r\nexport class InitialismModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'replace'\r\n})\r\nexport class ReplacePipe implements PipeTransform {\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the entry point for the point which calls the format method and returns its value\r\n\t * @param value the value of the HTML element\r\n\t * @param replace the string to be replaced\r\n\t * @param withThis the replacement string\r\n\t * @returns the formatted value\r\n\t */\r\n\ttransform(value: string, replace: string, withThis: string): string {\r\n\t\treturn this.format(value, replace, withThis)\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description replaces a substring with the given replacement in a value\r\n\t * @param value the value of the HTML element\r\n\t * @param replace the string to be replaced\r\n\t * @param withThis the replacement string\r\n\t * @returns the formatted value\r\n\t */\r\n\tprivate format(value: string, replace: string, withThis: string): string {\r\n\t\treturn value.replace(new RegExp(replace, 'g'), withThis)\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core'\r\nimport { ReplacePipe } from './replace.pipe'\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [ \r\n ReplacePipe\r\n ],\r\n exports: [\r\n ReplacePipe\r\n ]\r\n})\r\nexport class ReplaceModule{}","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\nexport * from './pipe/beautify-text/beautify-text.module'\r\nexport * from './pipe/beautify-text/beautify-text.pipe'\r\n\r\nexport * from './pipe/format-date/format-date.module'\r\nexport * from './pipe/format-date/format-date.pipe'\r\n\r\nexport * from './pipe/format-date-time/format-date-time.module'\r\nexport * from './pipe/format-date-time/format-date-time.pipe'\r\n\r\nexport * from './pipe/format-time/format-time.module'\r\nexport * from './pipe/format-time/format-time.pipe'\r\n\r\nexport * from './pipe/hex-to-rgba/hex-to-rgba.module'\r\nexport * from './pipe/hex-to-rgba/hex-to-rgba.pipe'\r\n\r\nexport * from './pipe/initialism/initialism.module'\r\nexport * from './pipe/initialism/initialism.pipe'\r\n\r\nexport * from './pipe/replace/replace.module'\r\nexport * from './pipe/replace/replace.pipe'\r\n\r\nexport * from './helper/string/string-helper'","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;;;AAIG;MACU,gBAAgB,CAAA;AAC5B;;;;;;AAMG;IACH,SAAS,CAAC,KAAa,EAAE,IAAU,EAAA;AAClC,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;KACzB;AAED;;;;;AAKG;AACK,IAAA,MAAM,CAAC,IAAY,EA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AEG;;ACFH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windows-plus-utilities",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.92",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.8",
|
|
6
6
|
"@angular/core": "^17.3.8",
|
|
@@ -37,12 +37,6 @@
|
|
|
37
37
|
"esm": "./esm2022/custom-card/windows-plus-utilities-custom-card.mjs",
|
|
38
38
|
"default": "./fesm2022/windows-plus-utilities-custom-card.mjs"
|
|
39
39
|
},
|
|
40
|
-
"./job-label": {
|
|
41
|
-
"types": "./job-label/index.d.ts",
|
|
42
|
-
"esm2022": "./esm2022/job-label/windows-plus-utilities-job-label.mjs",
|
|
43
|
-
"esm": "./esm2022/job-label/windows-plus-utilities-job-label.mjs",
|
|
44
|
-
"default": "./fesm2022/windows-plus-utilities-job-label.mjs"
|
|
45
|
-
},
|
|
46
40
|
"./main-menu": {
|
|
47
41
|
"types": "./main-menu/index.d.ts",
|
|
48
42
|
"esm2022": "./esm2022/main-menu/windows-plus-utilities-main-menu.mjs",
|
|
@@ -55,23 +49,29 @@
|
|
|
55
49
|
"esm": "./esm2022/empty-display/windows-plus-utilities-empty-display.mjs",
|
|
56
50
|
"default": "./fesm2022/windows-plus-utilities-empty-display.mjs"
|
|
57
51
|
},
|
|
52
|
+
"./job-label": {
|
|
53
|
+
"types": "./job-label/index.d.ts",
|
|
54
|
+
"esm2022": "./esm2022/job-label/windows-plus-utilities-job-label.mjs",
|
|
55
|
+
"esm": "./esm2022/job-label/windows-plus-utilities-job-label.mjs",
|
|
56
|
+
"default": "./fesm2022/windows-plus-utilities-job-label.mjs"
|
|
57
|
+
},
|
|
58
58
|
"./modal-wizard": {
|
|
59
59
|
"types": "./modal-wizard/index.d.ts",
|
|
60
60
|
"esm2022": "./esm2022/modal-wizard/windows-plus-utilities-modal-wizard.mjs",
|
|
61
61
|
"esm": "./esm2022/modal-wizard/windows-plus-utilities-modal-wizard.mjs",
|
|
62
62
|
"default": "./fesm2022/windows-plus-utilities-modal-wizard.mjs"
|
|
63
63
|
},
|
|
64
|
-
"./section-header": {
|
|
65
|
-
"types": "./section-header/index.d.ts",
|
|
66
|
-
"esm2022": "./esm2022/section-header/windows-plus-utilities-section-header.mjs",
|
|
67
|
-
"esm": "./esm2022/section-header/windows-plus-utilities-section-header.mjs",
|
|
68
|
-
"default": "./fesm2022/windows-plus-utilities-section-header.mjs"
|
|
69
|
-
},
|
|
70
64
|
"./util": {
|
|
71
65
|
"types": "./util/index.d.ts",
|
|
72
66
|
"esm2022": "./esm2022/util/windows-plus-utilities-util.mjs",
|
|
73
67
|
"esm": "./esm2022/util/windows-plus-utilities-util.mjs",
|
|
74
68
|
"default": "./fesm2022/windows-plus-utilities-util.mjs"
|
|
69
|
+
},
|
|
70
|
+
"./section-header": {
|
|
71
|
+
"types": "./section-header/index.d.ts",
|
|
72
|
+
"esm2022": "./esm2022/section-header/windows-plus-utilities-section-header.mjs",
|
|
73
|
+
"esm": "./esm2022/section-header/windows-plus-utilities-section-header.mjs",
|
|
74
|
+
"default": "./fesm2022/windows-plus-utilities-section-header.mjs"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"sideEffects": false
|