ng-ipa-library 0.7.10 → 1.0.1
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/{esm2015/lib/core/components/loading/loading.component.js → esm2020/lib/core/components/loading/loading.component.mjs} +5 -9
- package/esm2020/lib/core/interceptors/error.interceptor.mjs +46 -0
- package/{esm2015/lib/core/interceptors/loading.interceptor.js → esm2020/lib/core/interceptors/loading.interceptor.mjs} +3 -3
- package/esm2020/lib/core/interceptors/token.interceptor.mjs +68 -0
- package/esm2020/lib/core/services/auth.service.mjs +47 -0
- package/{esm2015/lib/core/services/error.service.js → esm2020/lib/core/services/error.service.mjs} +3 -3
- package/{esm2015/lib/core/services/loader.service.js → esm2020/lib/core/services/loader.service.mjs} +3 -3
- package/esm2020/lib/generate-form/generate-form.component.mjs +116 -0
- package/esm2020/lib/ipa-form/datepicker/datepicker.component.mjs +66 -0
- package/esm2020/lib/ipa-form/datepicker/gregorian-datepicker/gregorian-datepicker.component.mjs +23 -0
- package/{esm2015/lib/ipa-form/datepicker/gregorian-datepicker/gregorian18n.js → esm2020/lib/ipa-form/datepicker/gregorian-datepicker/gregorian18n.mjs} +3 -3
- package/{esm2015/lib/ipa-form/datepicker/hijri-datepicker/IslamicI18n.js → esm2020/lib/ipa-form/datepicker/hijri-datepicker/IslamicI18n.mjs} +3 -3
- package/esm2020/lib/ipa-form/datepicker/hijri-datepicker/hijri-datepicker.component.mjs +23 -0
- package/esm2020/lib/ipa-form/dropdown-input/dropdown-input.component.mjs +77 -0
- package/{esm2015/lib/ipa-form/file-upload/file-upload.component.js → esm2020/lib/ipa-form/file-upload/file-upload.component.mjs} +5 -9
- package/esm2020/lib/ipa-form/ipa-form.service.mjs +254 -0
- package/esm2020/lib/ipa-form/recaptcha/recaptcha.component.mjs +55 -0
- package/esm2020/lib/ipa-form/text-input/text-input.component.mjs +72 -0
- package/esm2020/lib/ipa-form/textarea-input/textarea-input.component.mjs +69 -0
- package/{esm2015/lib/models/apiException.js → esm2020/lib/models/apiException.mjs} +0 -0
- package/{esm2015/lib/models/apiResponse.js → esm2020/lib/models/apiResponse.mjs} +0 -0
- package/{esm2015/lib/models/breadcrumbs.model.js → esm2020/lib/models/breadcrumbs.model.mjs} +0 -0
- package/{esm2015/lib/models/decodedToken.model.js → esm2020/lib/models/decodedToken.model.mjs} +0 -0
- package/{esm2015/lib/models/exceptionUrl.model.js → esm2020/lib/models/exceptionUrl.model.mjs} +0 -0
- package/{esm2015/lib/models/generateForm.model.js → esm2020/lib/models/generateForm.model.mjs} +1 -1
- package/{esm2015/lib/models/pagedResult.js → esm2020/lib/models/pagedResult.mjs} +0 -0
- package/{esm2015/lib/models/user.model.js → esm2020/lib/models/user.model.mjs} +0 -0
- package/{esm2015/lib/ng-ipa-library.module.js → esm2020/lib/ng-ipa-library.module.mjs} +4 -4
- package/{esm2015/lib/pipes/hijri-date.pipe.js → esm2020/lib/pipes/hijri-date.pipe.mjs} +3 -3
- package/{esm2015/lib/pipes/pipes.module.js → esm2020/lib/pipes/pipes.module.mjs} +4 -4
- package/esm2020/lib/services/breadcrumbs.service.mjs +149 -0
- package/esm2020/lib/services/common.service.mjs +65 -0
- package/{esm2015/lib/share-button/share-button.component.js → esm2020/lib/share-button/share-button.component.mjs} +5 -9
- package/{esm2015/lib/share-button/share-button.module.js → esm2020/lib/share-button/share-button.module.mjs} +4 -4
- package/{esm2015/ng-ipa-library.js → esm2020/ng-ipa-library.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/{ng-ipa-library.js → ng-ipa-library.mjs} +122 -158
- package/fesm2015/ng-ipa-library.mjs.map +1 -0
- package/fesm2020/ng-ipa-library.mjs +1582 -0
- package/fesm2020/ng-ipa-library.mjs.map +1 -0
- package/lib/models/generateForm.model.d.ts +2 -0
- package/package.json +32 -19
- package/src/lib/assets/ngIPAStyle.scss +2 -1
- package/bundles/ng-ipa-library.umd.js +0 -2098
- package/bundles/ng-ipa-library.umd.js.map +0 -1
- package/esm2015/lib/core/interceptors/error.interceptor.js +0 -46
- package/esm2015/lib/core/interceptors/token.interceptor.js +0 -69
- package/esm2015/lib/core/services/auth.service.js +0 -48
- package/esm2015/lib/generate-form/generate-form.component.js +0 -120
- package/esm2015/lib/ipa-form/datepicker/datepicker.component.js +0 -70
- package/esm2015/lib/ipa-form/datepicker/gregorian-datepicker/gregorian-datepicker.component.js +0 -28
- package/esm2015/lib/ipa-form/datepicker/hijri-datepicker/hijri-datepicker.component.js +0 -28
- package/esm2015/lib/ipa-form/dropdown-input/dropdown-input.component.js +0 -81
- package/esm2015/lib/ipa-form/ipa-form.service.js +0 -251
- package/esm2015/lib/ipa-form/recaptcha/recaptcha.component.js +0 -59
- package/esm2015/lib/ipa-form/text-input/text-input.component.js +0 -76
- package/esm2015/lib/ipa-form/textarea-input/textarea-input.component.js +0 -73
- package/esm2015/lib/services/breadcrumbs.service.js +0 -151
- package/esm2015/lib/services/common.service.js +0 -66
- package/fesm2015/ng-ipa-library.js.map +0 -1
|
@@ -18,15 +18,11 @@ export class ShareButtonComponent {
|
|
|
18
18
|
elements[0].before(label);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
ShareButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
ShareButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
ShareButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ShareButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
ShareButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: ShareButtonComponent, selector: "ipa-share-button", inputs: { title: "title", description: "description", btnLabel: "btnLabel" }, ngImport: i0, template: "<share-popup-button [title]=\"title\" [description]=\"description\" [icon]=\"'share-alt'\"\r\n [include]=\"['facebook','twitter','linkedin','telegram','whatsapp','email','copy']\">\r\n</share-popup-button>", styles: [""], components: [{ type: i1.SharePopupComponent, selector: "share-popup-button", inputs: ["theme", "icon", "text", "include", "exclude", "closeIcon", "url", "title", "description", "image", "tags", "autoSetMeta", "show", "showIcon", "showText", "disabled", "hasBackdrop", "backdropClass"], outputs: ["opened", "closed", "popupClosed"] }] });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ShareButtonComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
|
-
args: [{
|
|
26
|
-
selector: 'ipa-share-button',
|
|
27
|
-
templateUrl: './share-button.component.html',
|
|
28
|
-
styleUrls: ['./share-button.component.scss'],
|
|
29
|
-
}]
|
|
25
|
+
args: [{ selector: 'ipa-share-button', template: "<share-popup-button [title]=\"title\" [description]=\"description\" [icon]=\"'share-alt'\"\r\n [include]=\"['facebook','twitter','linkedin','telegram','whatsapp','email','copy']\">\r\n</share-popup-button>", styles: [""] }]
|
|
30
26
|
}], ctorParameters: function () { return []; }, propDecorators: { title: [{
|
|
31
27
|
type: Input
|
|
32
28
|
}], description: [{
|
|
@@ -34,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImpor
|
|
|
34
30
|
}], btnLabel: [{
|
|
35
31
|
type: Input
|
|
36
32
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmUtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWlwYS1saWJyYXJ5L3NyYy9saWIvc2hhcmUtYnV0dG9uL3NoYXJlLWJ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nbGFiZWwnKTtcclxuICAgIGxhYmVsLmlubmVySFRNTCA9IHRoaXMuYnRuTGFiZWw7XHJcbiAgICBsYWJlbC5jbGFzc0xpc3QuYWRkKCdzbS1zaGFyZS10aXRsZScpO1xyXG4gICAgbGFiZWwuY2xhc3NMaXN0LmFkZCgnbWUtMScpO1xyXG4gICAgZWxlbWVudHNbMF0uYmVmb3JlKGxhYmVsKTtcclxuICB9XHJcbn1cclxuIiwiPHNoYXJlLXBvcHVwLWJ1dHRvbiBbdGl0bGVdPVwidGl0bGVcIiBbZGVzY3JpcHRpb25dPVwiZGVzY3JpcHRpb25cIiBbaWNvbl09XCInc2hhcmUtYWx0J1wiXHJcbiAgICBbaW5jbHVkZV09XCJbJ2ZhY2Vib29rJywndHdpdHRlcicsJ2xpbmtlZGluJywndGVsZWdyYW0nLCd3aGF0c2FwcCcsJ2VtYWlsJywnY29weSddXCI+XHJcbjwvc2hhcmUtcG9wdXAtYnV0dG9uPiJdfQ==
|
|
@@ -12,8 +12,8 @@ export class ShareButtonModule {
|
|
|
12
12
|
library.addIconPacks(fas);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
ShareButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
ShareButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15
|
+
ShareButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ShareButtonModule, deps: [{ token: i1.FaIconLibrary }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
ShareButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ShareButtonModule, declarations: [ShareButtonComponent], imports: [ShareIconsModule,
|
|
17
17
|
ShareButtonsPopupModule,
|
|
18
18
|
OverlayModule,
|
|
19
19
|
FontAwesomeModule], exports: [ShareButtonComponent,
|
|
@@ -21,7 +21,7 @@ ShareButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
21
21
|
ShareButtonsPopupModule,
|
|
22
22
|
OverlayModule,
|
|
23
23
|
FontAwesomeModule] });
|
|
24
|
-
ShareButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
24
|
+
ShareButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ShareButtonModule, imports: [[
|
|
25
25
|
ShareIconsModule,
|
|
26
26
|
ShareButtonsPopupModule,
|
|
27
27
|
OverlayModule,
|
|
@@ -30,7 +30,7 @@ ShareButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
30
30
|
ShareButtonsPopupModule,
|
|
31
31
|
OverlayModule,
|
|
32
32
|
FontAwesomeModule] });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ShareButtonModule, decorators: [{
|
|
34
34
|
type: NgModule,
|
|
35
35
|
args: [{
|
|
36
36
|
declarations: [ShareButtonComponent],
|
|
File without changes
|
|
File without changes
|