bpm-core 0.0.104 → 0.0.105
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/esm2022/bpm-core.mjs +5 -0
- package/esm2022/lib/app/app.component.mjs +79 -0
- package/esm2022/lib/classes/form-validation.mjs +80 -0
- package/esm2022/lib/classes/index.mjs +2 -0
- package/esm2022/lib/components/app-component-sections/activities/activities.component.mjs +44 -0
- package/esm2022/lib/components/app-component-sections/approvals/approvals.component.mjs +23 -0
- package/esm2022/lib/components/app-component-sections/approvals-workflow/approvals-workflow.component.mjs +113 -0
- package/esm2022/lib/components/app-component-sections/faq-sidenav/faq-sidenav.component.mjs +25 -0
- package/esm2022/lib/components/app-component-sections/faqs/faqs.component.mjs +27 -0
- package/esm2022/lib/components/app-component-sections/faqs/index.mjs +2 -0
- package/esm2022/lib/components/app-component-sections/feedback-section/feedback-section.component.mjs +237 -0
- package/esm2022/lib/components/app-component-sections/form-section/form-section.component.mjs +255 -0
- package/esm2022/lib/components/app-component-sections/index.mjs +9 -0
- package/esm2022/lib/components/app-component-sections/layout/header/header.component.mjs +79 -0
- package/esm2022/lib/components/app-component-sections/layout/layout.component.mjs +89 -0
- package/esm2022/lib/components/app-component-sections/layout/side-nav/side-nav.component.mjs +158 -0
- package/esm2022/lib/components/app-component-sections/main-request-details/main-request-details.component.mjs +34 -0
- package/esm2022/lib/components/app-component-sections/previous-requests/previous-requests.component.mjs +345 -0
- package/esm2022/lib/components/app-component-sections/profile-section/profile-section.component.mjs +45 -0
- package/esm2022/lib/components/app-component-sections/service-header/service-header.component.mjs +271 -0
- package/esm2022/lib/components/app-component-sections/status/status.component.mjs +38 -0
- package/esm2022/lib/components/app-component-sections/workflow-section/workflow-section.component.mjs +164 -0
- package/esm2022/lib/components/shared-components/action-buttons/action-buttons.component.mjs +138 -0
- package/esm2022/lib/components/shared-components/dialogs/confirm-dialog/confirm-dialog.component.mjs +30 -0
- package/esm2022/lib/components/shared-components/dialogs/delete-dialog/delete-dialog.component.mjs +29 -0
- package/esm2022/lib/components/shared-components/dialogs/submit-dialog/submit-dialog.component.mjs +67 -0
- package/esm2022/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.mjs +138 -0
- package/esm2022/lib/components/shared-components/form-field/attachment-section/attachment-section.component.mjs +234 -0
- package/esm2022/lib/components/shared-components/form-field/base-component/base-component.component.mjs +198 -0
- package/esm2022/lib/components/shared-components/form-field/checkbox/checkbox.component.mjs +91 -0
- package/esm2022/lib/components/shared-components/form-field/control-value-accessor.directive.mjs +185 -0
- package/esm2022/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.mjs +131 -0
- package/esm2022/lib/components/shared-components/form-field/date-picker/date-format.mjs +31 -0
- package/esm2022/lib/components/shared-components/form-field/date-picker/date-picker.component.mjs +175 -0
- package/esm2022/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.mjs +186 -0
- package/esm2022/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.mjs +525 -0
- package/esm2022/lib/components/shared-components/form-field/form-label/form-label.component.mjs +33 -0
- package/esm2022/lib/components/shared-components/form-field/index.mjs +26 -0
- package/esm2022/lib/components/shared-components/form-field/info-item/info-item.component.mjs +76 -0
- package/esm2022/lib/components/shared-components/form-field/input/input.component.mjs +71 -0
- package/esm2022/lib/components/shared-components/form-field/input-autocomplete/index.mjs +3 -0
- package/esm2022/lib/components/shared-components/form-field/input-autocomplete/input-autocomplete.model.mjs +2 -0
- package/esm2022/lib/components/shared-components/form-field/input-currency/input-currency.component.mjs +73 -0
- package/esm2022/lib/components/shared-components/form-field/input-email/input-email.component.mjs +69 -0
- package/esm2022/lib/components/shared-components/form-field/input-mask/input-mask.component.mjs +61 -0
- package/esm2022/lib/components/shared-components/form-field/input-number/input-number.component.mjs +74 -0
- package/esm2022/lib/components/shared-components/form-field/input-telephone/input-telephone.component.mjs +85 -0
- package/esm2022/lib/components/shared-components/form-field/radio/radio.component.mjs +52 -0
- package/esm2022/lib/components/shared-components/form-field/repeated-list/repeated-list.component.mjs +32 -0
- package/esm2022/lib/components/shared-components/form-field/search-employee/search-employee.component.mjs +192 -0
- package/esm2022/lib/components/shared-components/form-field/select/select.component.mjs +191 -0
- package/esm2022/lib/components/shared-components/form-field/shared-imports.mjs +36 -0
- package/esm2022/lib/components/shared-components/form-field/table-list/table-list.component.mjs +116 -0
- package/esm2022/lib/components/shared-components/form-field/textarea/special-chars.directive.mjs +39 -0
- package/esm2022/lib/components/shared-components/form-field/textarea/textarea.component.mjs +57 -0
- package/esm2022/lib/components/shared-components/form-field/toggle-button/toggle-button.component.mjs +90 -0
- package/esm2022/lib/components/shared-components/form-field/validation-errors/validation-errors.component.mjs +43 -0
- package/esm2022/lib/components/shared-components/index.mjs +9 -0
- package/esm2022/lib/components/shared-components/table/table.component.mjs +243 -0
- package/esm2022/lib/components/shared-components/terms-conditions/terms-conditions.component.mjs +31 -0
- package/esm2022/lib/components/shared-components/title-section/title-section.component.mjs +31 -0
- package/esm2022/lib/constants/constants.mjs +149 -0
- package/esm2022/lib/constants/index.mjs +2 -0
- package/esm2022/lib/directives/ar.directive.mjs +54 -0
- package/esm2022/lib/directives/currency.directive.mjs +92 -0
- package/esm2022/lib/directives/en.directive.mjs +51 -0
- package/esm2022/lib/directives/number.directive.mjs +68 -0
- package/esm2022/lib/directives/skip-location.directive.mjs +28 -0
- package/esm2022/lib/enums/actions.enum.mjs +22 -0
- package/esm2022/lib/enums/colors.enum.mjs +6 -0
- package/esm2022/lib/enums/events.enum.mjs +6 -0
- package/esm2022/lib/functions/data-to-blob.mjs +12 -0
- package/esm2022/lib/functions/encode-password.mjs +14 -0
- package/esm2022/lib/functions/handel-error-response.mjs +12 -0
- package/esm2022/lib/functions/index.mjs +5 -0
- package/esm2022/lib/functions/is-valid-data.mjs +42 -0
- package/esm2022/lib/helpers/shared.helper.mjs +26 -0
- package/esm2022/lib/hooks/index.mjs +3 -0
- package/esm2022/lib/hooks/load-form.mjs +13 -0
- package/esm2022/lib/hooks/save-form.mjs +18 -0
- package/esm2022/lib/i18n/ar.mjs +200 -0
- package/esm2022/lib/i18n/en.mjs +204 -0
- package/esm2022/lib/i18n/index.mjs +3 -0
- package/esm2022/lib/interfaces/action.interface.mjs +2 -0
- package/esm2022/lib/interfaces/api-response.interface.mjs +2 -0
- package/esm2022/lib/interfaces/document-file.interface.mjs +2 -0
- package/esm2022/lib/interfaces/form-items.interface.mjs +2 -0
- package/esm2022/lib/interfaces/form.interface.mjs +150 -0
- package/esm2022/lib/interfaces/igate-user.interface.mjs +2 -0
- package/esm2022/lib/interfaces/index.mjs +8 -0
- package/esm2022/lib/interfaces/lov-list.interface.mjs +2 -0
- package/esm2022/lib/interfaces/lov.interface.mjs +2 -0
- package/esm2022/lib/interfaces/shared.interface.mjs +2 -0
- package/esm2022/lib/pipes/currency.pipe.mjs +66 -0
- package/esm2022/lib/pipes/format-as-password.pipe.mjs +19 -0
- package/esm2022/lib/pipes/index.mjs +3 -0
- package/esm2022/lib/pipes/status-style.pipe.mjs +57 -0
- package/esm2022/lib/pipes/translate.pipe.mjs +36 -0
- package/esm2022/lib/regex/index.mjs +2 -0
- package/esm2022/lib/regex/regex-patterns.mjs +4 -0
- package/esm2022/lib/services/action.service.ts.mjs +25 -0
- package/esm2022/lib/services/core.service.ts.mjs +527 -0
- package/esm2022/lib/services/feedBack.service.mjs +81 -0
- package/esm2022/lib/services/i18n.service.mjs +36 -0
- package/esm2022/lib/services/index.mjs +6 -0
- package/esm2022/lib/services/sidenav.service.mjs +36 -0
- package/esm2022/lib/testComponent/config/segment-dynamic-loader.config.mjs +8 -0
- package/esm2022/lib/testComponent/general-approver-section/general-approver-section.component.mjs +90 -0
- package/esm2022/lib/testComponent/request-details-section/request-details-section.component.mjs +482 -0
- package/esm2022/lib/testComponent/services/i18n.service.mjs +39 -0
- package/esm2022/lib/testComponent/services/segment-dynamic-loader.service.mjs +54 -0
- package/esm2022/lib/validators/id.validator.mjs +66 -0
- package/esm2022/lib/validators/index.mjs +8 -0
- package/esm2022/lib/validators/string-to-boolean.pipe.mjs +16 -0
- package/esm2022/lib/validators/text.directive.mjs +50 -0
- package/esm2022/lib/validators/timer.pipe.mjs +19 -0
- package/esm2022/public-api.mjs +19 -0
- package/fesm2022/bpm-core.mjs +244 -226
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/shared-components/form-field/checkbox/checkbox.component.d.ts +1 -2
- package/lib/components/shared-components/form-field/control-value-accessor.directive.d.ts +1 -1
- package/lib/components/shared-components/form-field/shared-imports.d.ts +2 -2
- package/lib/components/shared-components/form-field/textarea/special-chars.directive.d.ts +1 -1
- package/lib/components/shared-components/title-section/title-section.component.d.ts +1 -1
- package/lib/directives/currency.directive.d.ts +1 -0
- package/lib/pipes/currency.pipe.d.ts +1 -1
- package/lib/pipes/format-as-password.pipe.d.ts +1 -1
- package/lib/validators/string-to-boolean.pipe.d.ts +1 -1
- package/lib/validators/text.directive.d.ts +1 -1
- package/lib/validators/timer.pipe.d.ts +1 -1
- package/package.json +4 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DestroyRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatCheckboxChange } from "@angular/material/checkbox";
|
|
3
2
|
import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
|
|
4
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +14,7 @@ export declare class CheckBoxComponent<Type> extends ControlValueAccessorDirecti
|
|
|
15
14
|
dialog: MatDialog;
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
openUrl(): void;
|
|
18
|
-
valueChange(event:
|
|
17
|
+
valueChange(event: any): void;
|
|
19
18
|
openTermsPopup(): void;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent<any>, never>;
|
|
21
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent<any>, "app-checkbox", never, { "containTerms": { "alias": "containTerms"; "required": false; }; "termsLabel": { "alias": "termsLabel"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "hrefLink": { "alias": "hrefLink"; "required": false; }; "link": { "alias": "link"; "required": false; }; "termsBody": { "alias": "termsBody"; "required": false; }; }, { "downloadCheckBox": "downloadCheckBox"; }, never, never, true, never>;
|
|
@@ -59,5 +59,5 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
|
|
|
59
59
|
registerOnTouched(fn: () => Type): void;
|
|
60
60
|
setDisabledState?(isDisabled: boolean): void;
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ControlValueAccessorDirective<any>, never>;
|
|
62
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueAccessorDirective<any>, "[appControlValueAccessor]", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showErrorMessage": { "alias": "showErrorMessage"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "showIfEmpty": { "alias": "showIfEmpty"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; }; "name": { "alias": "name"; "required": false; }; "randomID": { "alias": "randomID"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "customMaxDate": { "alias": "customMaxDate"; "required": false; }; "customMinDate": { "alias": "customMinDate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mandatory": { "alias": "mandatory"; "required": false; }; }, {}, never, never,
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueAccessorDirective<any>, "[appControlValueAccessor]", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showErrorMessage": { "alias": "showErrorMessage"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "showIfEmpty": { "alias": "showIfEmpty"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; }; "name": { "alias": "name"; "required": false; }; "randomID": { "alias": "randomID"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "customMaxDate": { "alias": "customMaxDate"; "required": false; }; "customMinDate": { "alias": "customMinDate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mandatory": { "alias": "mandatory"; "required": false; }; }, {}, never, never, false, never>;
|
|
63
63
|
}
|
|
@@ -10,6 +10,6 @@ import { ArOnlyDirective } from "../../../directives/ar.directive";
|
|
|
10
10
|
import { NgClass } from "@angular/common";
|
|
11
11
|
import { TranslatePipe } from "../../../pipes/translate.pipe";
|
|
12
12
|
export declare const MatDatePickerImports: (typeof MatDatepickerInput | typeof MatDatepickerToggle | typeof MatDatepickerModule)[];
|
|
13
|
-
export declare const MatFormImports: (typeof
|
|
14
|
-
export declare const Shareds: (typeof NgClass | typeof
|
|
13
|
+
export declare const MatFormImports: (typeof MatFormFieldModule | typeof MatFormField | typeof MatInput)[];
|
|
14
|
+
export declare const Shareds: (typeof NgClass | typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent | typeof ReactiveFormsModule | typeof TranslatePipe)[];
|
|
15
15
|
export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
|
|
@@ -6,5 +6,5 @@ export declare class SpecialCharacterDirective {
|
|
|
6
6
|
blockPaste(event: ClipboardEvent): void;
|
|
7
7
|
onDrop(event: any): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialCharacterDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SpecialCharacterDirective, "[specialIsAlphaNumeric]", never, {}, {}, never, never,
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpecialCharacterDirective, "[specialIsAlphaNumeric]", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -9,5 +9,5 @@ export declare class TitleSectionComponent {
|
|
|
9
9
|
constructor(sidenavService: SidenavService, dialog: MatDialog);
|
|
10
10
|
openFaq(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TitleSectionComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TitleSectionComponent, "app-title-section", never, { "title": { "alias": "title"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, ["[filter]", "[action]", "[search]"],
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TitleSectionComponent, "app-title-section", never, { "title": { "alias": "title"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, ["[filter]", "[action]", "[search]"], false, never>;
|
|
13
13
|
}
|
|
@@ -11,6 +11,7 @@ export declare class MycurrencyDirective implements OnInit {
|
|
|
11
11
|
onFocus(value: any, event: any): any;
|
|
12
12
|
onBlur(value: any): void;
|
|
13
13
|
onKeyDown(event: any): void;
|
|
14
|
+
onPaste(event: ClipboardEvent): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MycurrencyDirective, never>;
|
|
15
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MycurrencyDirective, "[appMycurrency]", never, { "decimals": { "alias": "decimals"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
17
|
}
|
|
@@ -9,5 +9,5 @@ export declare class MycurrencyPipe implements PipeTransform {
|
|
|
9
9
|
transform(value: string, allowNegative?: boolean, decimalPrecision?: number): string;
|
|
10
10
|
parse(value: string, allowNegative?: boolean): string;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MycurrencyPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MycurrencyPipe, "mycurrency",
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MycurrencyPipe, "mycurrency", false>;
|
|
13
13
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class FormatAsPasswordPipe implements PipeTransform {
|
|
4
4
|
transform(value: string | number): unknown;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormatAsPasswordPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FormatAsPasswordPipe, "formatAsPassword",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatAsPasswordPipe, "formatAsPassword", false>;
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class stringToBooleanPipe implements PipeTransform {
|
|
4
4
|
transform(value: string): boolean;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<stringToBooleanPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<stringToBooleanPipe, "stringToBoolean",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<stringToBooleanPipe, "stringToBoolean", false>;
|
|
7
7
|
}
|
|
@@ -8,5 +8,5 @@ export declare class TextDirective {
|
|
|
8
8
|
onKeyDown(event: KeyboardEvent): void;
|
|
9
9
|
onPaste(event: ClipboardEvent): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextDirective, "[textOnly]", never, { "decimals": { "alias": "decimals"; "required": false; }; }, {}, never, never,
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextDirective, "[textOnly]", never, { "decimals": { "alias": "decimals"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class FormatTimePipe implements PipeTransform {
|
|
4
4
|
transform(value: number): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormatTimePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FormatTimePipe, "formatTime",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatTimePipe, "formatTime", false>;
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpm-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.105",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0",
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
},
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
|
+
"esm2022": "./esm2022/bpm-core.mjs",
|
|
23
|
+
"esm": "./esm2022/bpm-core.mjs",
|
|
22
24
|
"default": "./fesm2022/bpm-core.mjs"
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
|
-
}
|
|
27
|
+
}
|