ngx-sfc-common 0.0.13 → 0.0.15
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/esm2020/lib/components/button/button.component.mjs +2 -2
- package/esm2020/lib/utils/common.utils.mjs +8 -1
- package/esm2020/lib/utils/index.mjs +2 -2
- package/fesm2015/ngx-sfc-common.mjs +11 -3
- package/fesm2015/ngx-sfc-common.mjs.map +1 -1
- package/fesm2020/ngx-sfc-common.mjs +11 -3
- package/fesm2020/ngx-sfc-common.mjs.map +1 -1
- package/lib/utils/common.utils.d.ts +5 -0
- package/lib/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/styles/_mixins.scss +0 -1
|
@@ -59,3 +59,8 @@ export declare function isNumeric(number: any): boolean;
|
|
|
59
59
|
* @returns If current browser is Chrome
|
|
60
60
|
*/
|
|
61
61
|
export declare function isChromeBrowser(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Return true if value is valid email address
|
|
64
|
+
* @returns True if it's valid email address
|
|
65
|
+
*/
|
|
66
|
+
export declare function isEmail(value: string): boolean;
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { isDefined, isObject, isAsyncData, addPropertyToObject, removePropertyFromObject, mergeDeep, nameof, isNumeric, isChromeBrowser } from './common.utils';
|
|
1
|
+
export { isDefined, isObject, isAsyncData, addPropertyToObject, removePropertyFromObject, mergeDeep, nameof, isNumeric, isChromeBrowser, isEmail } from './common.utils';
|
|
2
2
|
export { isNullOrEmptyString, contains, trim } from './string.utils';
|
|
3
3
|
export { setMinutes, setHours, setDay, setYear, setSeconds, setMilliseconds, setDefaultSecondsAndMiliseconds, getNextDate, getNextMonth, getPreviousMonth, getNextYear, getPreviousYear, getFirstDayOfMonth, getLastDayOfMonth, getFirstDayOfYear, getLastDayOfYear, getFirstDayOfMonthByYearAndMonth, getLastDayOfMonthByYearAndMonth, getWeeksNumberInMonth, isEqualDates, isDateGreat, isDateGreatOrEqual, isDateTimeGreat, isDateTimeGreatOrEqual } from './date-time.utils';
|
|
4
4
|
export { parseFileSize, getFileExtension, readAsDataURL, isImage } from './file.utils';
|
package/package.json
CHANGED