ngx-sfc-common 0.0.3 → 0.0.5
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/README.md +5 -5
- package/_ngx-sfc-common.styles.scss +26 -0
- package/esm2020/lib/components/button/button.component.mjs +9 -7
- package/esm2020/lib/components/checkmark/checkmark-type.enum.mjs +6 -0
- package/esm2020/lib/components/checkmark/checkmark.component.mjs +24 -9
- package/esm2020/lib/components/close/close.component.mjs +8 -3
- package/esm2020/lib/components/delimeter/delimeter.component.mjs +2 -2
- package/esm2020/lib/components/dots/dots.component.mjs +2 -2
- package/esm2020/lib/components/hamburger/hamburger.component.mjs +2 -2
- package/esm2020/lib/components/index.mjs +7 -2
- package/esm2020/lib/components/load-container/load-container.component.mjs +161 -0
- package/esm2020/lib/components/load-container/load-container.constants.mjs +5 -0
- package/esm2020/lib/components/load-container/load-container.enum.mjs +6 -0
- package/esm2020/lib/components/load-container/models/load-container.model.mjs +2 -0
- package/esm2020/lib/components/load-container/models/load-more-parameters.model.mjs +2 -0
- package/esm2020/lib/components/load-container/models/load-more.model.mjs +2 -0
- package/esm2020/lib/components/load-container/service/load-more.service.mjs +27 -0
- package/esm2020/lib/components/load-more-button/load-more-button.component.mjs +31 -0
- package/esm2020/lib/components/loader/bounce/bounce-loader.component.mjs +2 -2
- package/esm2020/lib/components/loader/circle/circle-loader.component.mjs +2 -2
- package/esm2020/lib/components/loader/service/loader.service.mjs +4 -4
- package/esm2020/lib/components/modal/directive/click/modal-open-on-click.directive.mjs +48 -0
- package/esm2020/lib/components/modal/directive/open/modal-open.directive.mjs +29 -0
- package/esm2020/lib/components/modal/footer/default/default-modal-footer.component.mjs +1 -1
- package/esm2020/lib/components/modal/header/default/default-modal-header.component.mjs +11 -6
- package/esm2020/lib/components/modal/header/default/default-modal-header.model.mjs +1 -1
- package/esm2020/lib/components/modal/modal.component.mjs +3 -3
- package/esm2020/lib/components/modal/service/modal.service.mjs +1 -1
- package/esm2020/lib/components/pagination/pagination.component.mjs +9 -5
- package/esm2020/lib/components/sorting/sorting.component.mjs +5 -4
- package/esm2020/lib/components/sorting/sorting.constants.mjs +4 -3
- package/esm2020/lib/components/sorting/sorting.model.mjs +1 -1
- package/esm2020/lib/components/toggle-switcher/toggle-switcher.component.mjs +11 -4
- package/esm2020/lib/components/toggle-switcher/toggle-switcher.model.mjs +1 -1
- package/esm2020/lib/constants/common.constants.mjs +2 -1
- package/esm2020/lib/constants/date-time.constants.mjs +3 -1
- package/esm2020/lib/constants/file.constants.mjs +2 -0
- package/esm2020/lib/constants/index.mjs +1 -1
- package/esm2020/lib/directives/component-size/component-size.directive.mjs +23 -10
- package/esm2020/lib/directives/dom-changes/dom-changes.directive.mjs +32 -0
- package/esm2020/lib/directives/index.mjs +4 -1
- package/esm2020/lib/directives/scroll-into-view/scroll-into-view.directive.mjs +29 -0
- package/esm2020/lib/directives/scroll-tracker/scroll-tracker.directive.mjs +39 -0
- package/esm2020/lib/enums/index.mjs +2 -1
- package/esm2020/lib/enums/sequence.enum.mjs +9 -0
- package/esm2020/lib/enums/sorting-direction.enum.mjs +1 -1
- package/esm2020/lib/enums/ui.enum.mjs +4 -1
- package/esm2020/lib/ngx-sfc-common.module.mjs +47 -10
- package/esm2020/lib/pipes/index.mjs +2 -0
- package/esm2020/lib/pipes/switch-multi-case/switch-multi-case.pipe.mjs +16 -0
- package/esm2020/lib/utils/collections.utils.mjs +30 -3
- package/esm2020/lib/utils/common.utils.mjs +9 -2
- package/esm2020/lib/utils/date-time.utils.mjs +57 -10
- package/esm2020/lib/utils/file.utils.mjs +4 -3
- package/esm2020/lib/utils/index.mjs +5 -5
- package/esm2020/lib/utils/ui.utils.mjs +9 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/ngx-sfc-common.mjs +599 -78
- package/fesm2015/ngx-sfc-common.mjs.map +1 -1
- package/fesm2020/ngx-sfc-common.mjs +598 -78
- package/fesm2020/ngx-sfc-common.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +3 -2
- package/lib/components/checkmark/checkmark-type.enum.d.ts +4 -0
- package/lib/components/checkmark/checkmark.component.d.ts +7 -3
- package/lib/components/close/close.component.d.ts +1 -0
- package/lib/components/index.d.ts +11 -1
- package/lib/components/load-container/load-container.component.d.ts +49 -0
- package/lib/components/load-container/load-container.constants.d.ts +4 -0
- package/lib/components/load-container/load-container.enum.d.ts +4 -0
- package/lib/components/load-container/models/load-container.model.d.ts +11 -0
- package/lib/components/load-container/models/load-more-parameters.model.d.ts +4 -0
- package/lib/components/load-container/models/load-more.model.d.ts +4 -0
- package/lib/components/load-container/service/load-more.service.d.ts +12 -0
- package/lib/components/load-more-button/load-more-button.component.d.ts +12 -0
- package/lib/components/modal/directive/{modal-open-on-click.directive.d.ts → click/modal-open-on-click.directive.d.ts} +1 -1
- package/lib/components/modal/directive/open/modal-open.directive.d.ts +14 -0
- package/lib/components/modal/header/default/default-modal-header.component.d.ts +2 -0
- package/lib/components/modal/header/default/default-modal-header.model.d.ts +2 -1
- package/lib/components/modal/service/modal.service.d.ts +1 -1
- package/lib/components/pagination/pagination.component.d.ts +2 -0
- package/lib/components/sorting/sorting.component.d.ts +2 -1
- package/lib/components/sorting/sorting.constants.d.ts +2 -2
- package/lib/components/sorting/sorting.model.d.ts +2 -1
- package/lib/components/toggle-switcher/toggle-switcher.component.d.ts +2 -1
- package/lib/components/toggle-switcher/toggle-switcher.model.d.ts +2 -1
- package/lib/constants/common.constants.d.ts +1 -0
- package/lib/constants/date-time.constants.d.ts +2 -0
- package/lib/constants/file.constants.d.ts +1 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/directives/component-size/component-size.directive.d.ts +7 -2
- package/lib/directives/dom-changes/dom-changes.directive.d.ts +12 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/scroll-into-view/scroll-into-view.directive.d.ts +7 -0
- package/lib/directives/scroll-tracker/scroll-tracker.directive.d.ts +11 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/sequence.enum.d.ts +7 -0
- package/lib/enums/ui.enum.d.ts +4 -1
- package/lib/ngx-sfc-common.module.d.ts +28 -20
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/switch-multi-case/switch-multi-case.pipe.d.ts +7 -0
- package/lib/utils/collections.utils.d.ts +16 -2
- package/lib/utils/common.utils.d.ts +5 -0
- package/lib/utils/date-time.utils.d.ts +26 -0
- package/lib/utils/index.d.ts +4 -4
- package/lib/utils/ui.utils.d.ts +6 -0
- package/package.json +5 -2
- package/public-api.d.ts +1 -0
- package/esm2020/lib/components/modal/directive/modal-open-on-click.directive.mjs +0 -50
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { isDefined, isObject, isAsyncData, addPropertyToObject, removePropertyFromObject, mergeDeep, nameof, isNumeric } from './common.utils';
|
|
1
|
+
export { isDefined, isObject, isAsyncData, addPropertyToObject, removePropertyFromObject, mergeDeep, nameof, isNumeric, isChromeBrowser } from './common.utils';
|
|
2
2
|
export { isNullOrEmptyString, contains, trim } from './string.utils';
|
|
3
|
-
export { setMinutes, setHours, setDay, setYear, getNextMonth, getPreviousMonth, getNextYear, getPreviousYear, getFirstDayOfMonth, getLastDayOfMonth, getFirstDayOfYear, getLastDayOfYear, getFirstDayOfMonthByYearAndMonth, getLastDayOfMonthByYearAndMonth, getWeeksNumberInMonth, isEqualDates, isDateGreat, isDateGreatOrEqual, isDateTimeGreat, isDateTimeGreatOrEqual } from './date-time.utils';
|
|
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';
|
|
5
|
-
export { getCssLikeValue, getValueFromCssLikeValue, getCalcValue, addClasses, removeClasses, rgbToHex, hexToRgb, replaceRgbOpacity } from './ui.utils';
|
|
6
|
-
export { any, hasItem, hasItemBy, hasObjectItem, firstOrDefault, firstItem, lastItem, all, where, skip, sortBy, sortByPath, distinct, sum, max, remove, addItem, removeItem,
|
|
5
|
+
export { getCssLikeValue, getValueFromCssLikeValue, getCalcValue, getRotateValue, addClasses, removeClasses, rgbToHex, hexToRgb, replaceRgbOpacity } from './ui.utils';
|
|
6
|
+
export { any, hasItem, hasItemBy, hasObjectItem, firstOrDefault, firstItem, lastItem, all, where, skip, sort, sortBy, sortByPath, distinct, sum, max, remove, addItem, removeItem, removeItemBy, updateItemBy, getCollectionOrEmpty } from './collections.utils';
|
package/lib/utils/ui.utils.d.ts
CHANGED
|
@@ -17,6 +17,12 @@ export declare function getValueFromCssLikeValue(value: string, type?: string):
|
|
|
17
17
|
* @returns Calc value
|
|
18
18
|
*/
|
|
19
19
|
export declare function getCalcValue(part: number, value?: number): string;
|
|
20
|
+
/**
|
|
21
|
+
* Return CCS like rotate value
|
|
22
|
+
* @param value value as degrees
|
|
23
|
+
* @returns Rotate value
|
|
24
|
+
*/
|
|
25
|
+
export declare function getRotateValue(value: number): string;
|
|
20
26
|
/**
|
|
21
27
|
* Add classes to HTML element
|
|
22
28
|
* @param element HTML element
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-sfc-common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Angular common(shared) library for SFC project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Street Football Club",
|
|
@@ -25,7 +25,10 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@angular/common": "^13.2.0",
|
|
28
|
-
"@angular/core": "^13.2.0"
|
|
28
|
+
"@angular/core": "^13.2.0",
|
|
29
|
+
"@fortawesome/angular-fontawesome": "0.10.2",
|
|
30
|
+
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
31
|
+
"@fortawesome/free-solid-svg-icons": "^6.1.1"
|
|
29
32
|
},
|
|
30
33
|
"dependencies": {
|
|
31
34
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { isDefined } from '../../../utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../service/modal.service";
|
|
5
|
-
export class ModalOpenOnClickDirective {
|
|
6
|
-
constructor(templateRef, viewContainer, modalService) {
|
|
7
|
-
this.templateRef = templateRef;
|
|
8
|
-
this.viewContainer = viewContainer;
|
|
9
|
-
this.modalService = modalService;
|
|
10
|
-
this.clickHandler = ((event) => {
|
|
11
|
-
this.viewContainer.clear();
|
|
12
|
-
this.viewContainer.createEmbeddedView(this.templateRef);
|
|
13
|
-
this.modalService.open(event.currentTarget);
|
|
14
|
-
}).bind(this);
|
|
15
|
-
this.elements = [];
|
|
16
|
-
}
|
|
17
|
-
set modalOpenOnClick(elements) {
|
|
18
|
-
if (!isDefined(elements))
|
|
19
|
-
return;
|
|
20
|
-
if (elements instanceof HTMLElement)
|
|
21
|
-
this.elements = [elements];
|
|
22
|
-
else
|
|
23
|
-
this.elements = elements;
|
|
24
|
-
this.elements.forEach(el => {
|
|
25
|
-
el.addEventListener('click', this.clickHandler);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
ngOnInit() {
|
|
29
|
-
this._closeSubscription = this.modalService.close$
|
|
30
|
-
.subscribe(() => {
|
|
31
|
-
this.viewContainer.clear();
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
ngOnDestroy() {
|
|
35
|
-
this._closeSubscription?.unsubscribe();
|
|
36
|
-
this.elements.forEach(el => el.removeEventListener('click', this.clickHandler));
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
ModalOpenOnClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ModalOpenOnClickDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.ModalService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
ModalOpenOnClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: ModalOpenOnClickDirective, selector: "[sfcModalOpenOnClick]", inputs: { modalOpenOnClick: ["sfcModalOpenOnClick", "modalOpenOnClick"] }, ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ModalOpenOnClickDirective, decorators: [{
|
|
42
|
-
type: Directive,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: '[sfcModalOpenOnClick]'
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1.ModalService }]; }, propDecorators: { modalOpenOnClick: [{
|
|
47
|
-
type: Input,
|
|
48
|
-
args: ['sfcModalOpenOnClick']
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtb3Blbi1vbi1jbGljay5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtc2ZjLWNvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvbW9kYWwvZGlyZWN0aXZlL21vZGFsLW9wZW4tb24tY2xpY2suZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQU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