lib-portal-angular 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/components/advanced-calendar/calendar.component.mjs +135 -0
  3. package/esm2022/lib/components/advanced-calendar/date-picker.component.mjs +113 -0
  4. package/esm2022/lib/components/advanced-calendar/date-time-picker.component.mjs +113 -0
  5. package/esm2022/lib/components/badge/badge.component.mjs +151 -0
  6. package/esm2022/lib/components/button/button.component.mjs +192 -0
  7. package/esm2022/lib/components/card/card.component.mjs +37 -0
  8. package/esm2022/lib/components/checkbox/checkbox.component.mjs +112 -0
  9. package/esm2022/lib/components/code-highlight/code-highlight.component.mjs +51 -0
  10. package/esm2022/lib/components/components.module.mjs +120 -0
  11. package/esm2022/lib/components/form/form.component.mjs +36 -0
  12. package/esm2022/lib/components/imput/input.component.mjs +189 -0
  13. package/esm2022/lib/components/multi-select/multi-select.component.mjs +147 -0
  14. package/esm2022/lib/components/radio/radio.component.mjs +114 -0
  15. package/esm2022/lib/components/select/select.component.mjs +107 -0
  16. package/esm2022/lib/components/tables/bootstrap-table.component.mjs +115 -0
  17. package/esm2022/lib/components/textarea/textarea.component.mjs +184 -0
  18. package/esm2022/lib/enum/ButtonClassesEnum.mjs +13 -0
  19. package/esm2022/lib/lib-portal-angular.module.mjs +20 -0
  20. package/esm2022/lib-portal-angular.mjs +5 -0
  21. package/esm2022/public-api.mjs +28 -0
  22. package/fesm2022/lib-portal-angular.mjs +1887 -0
  23. package/fesm2022/lib-portal-angular.mjs.map +1 -0
  24. package/index.d.ts +5 -0
  25. package/lib/components/advanced-calendar/calendar.component.d.ts +28 -0
  26. package/lib/components/advanced-calendar/date-picker.component.d.ts +25 -0
  27. package/lib/components/advanced-calendar/date-time-picker.component.d.ts +25 -0
  28. package/lib/components/badge/badge.component.d.ts +34 -0
  29. package/lib/components/button/button.component.d.ts +45 -0
  30. package/lib/components/card/card.component.d.ts +6 -0
  31. package/lib/components/checkbox/checkbox.component.d.ts +23 -0
  32. package/lib/components/code-highlight/code-highlight.component.d.ts +15 -0
  33. package/lib/components/components.module.d.ts +26 -0
  34. package/lib/components/form/form.component.d.ts +6 -0
  35. package/lib/components/imput/input.component.d.ts +43 -0
  36. package/lib/components/multi-select/multi-select.component.d.ts +31 -0
  37. package/lib/components/radio/radio.component.d.ts +25 -0
  38. package/lib/components/select/select.component.d.ts +27 -0
  39. package/lib/components/tables/bootstrap-table.component.d.ts +33 -0
  40. package/lib/components/textarea/textarea.component.d.ts +42 -0
  41. package/lib/enum/ButtonClassesEnum.d.ts +11 -0
  42. package/lib/lib-portal-angular.module.d.ts +7 -0
  43. package/package.json +25 -0
  44. package/public-api.d.ts +18 -0
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RadioComponent implements ControlValueAccessor {
5
+ name: string;
6
+ id: string;
7
+ value: string;
8
+ checked: boolean;
9
+ disabled: boolean;
10
+ label: string;
11
+ marginTop: number;
12
+ marginBottom: number;
13
+ marginLeft: number;
14
+ marginRight: number;
15
+ changeEvent: EventEmitter<Event>;
16
+ private onChangeCallback;
17
+ private onTouchedCallback;
18
+ handleRadioChange(event: Event): void;
19
+ writeValue(value: any): void;
20
+ registerOnChange(fn: any): void;
21
+ registerOnTouched(fn: any): void;
22
+ setDisabledState?(isDisabled: boolean): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "sim-app-radio", never, { "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; }, { "changeEvent": "changeEvent"; }, never, never, false, never>;
25
+ }
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectComponent implements ControlValueAccessor {
5
+ label: string;
6
+ id: string;
7
+ disabled: boolean;
8
+ options: {
9
+ value: any;
10
+ label: string;
11
+ }[];
12
+ marginTop: number;
13
+ marginBottom: number;
14
+ marginLeft: number;
15
+ marginRight: number;
16
+ changeEvent: EventEmitter<any>;
17
+ private onChangeCallback;
18
+ private onTouchedCallback;
19
+ value: any;
20
+ onSelectChange(event: Event): void;
21
+ writeValue(value: any): void;
22
+ registerOnChange(fn: any): void;
23
+ registerOnTouched(fn: any): void;
24
+ setDisabledState?(isDisabled: boolean): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "sim-app-select", never, { "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; }, { "changeEvent": "changeEvent"; }, never, never, false, never>;
27
+ }
@@ -0,0 +1,33 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { PaginationInstance } from 'ngx-pagination';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BootstrapTableComponent implements OnInit, OnChanges {
5
+ columns: any[];
6
+ data: any[];
7
+ itemsPerPageOptions: number[];
8
+ defaultItemsPerPage: number;
9
+ marginTop: number;
10
+ marginBottom: number;
11
+ marginLeft: number;
12
+ marginRight: number;
13
+ showActionColumn: boolean;
14
+ actionColumnLabel: string;
15
+ sortChange: EventEmitter<any>;
16
+ pageChange: EventEmitter<number>;
17
+ itemsPerPageChange: EventEmitter<number>;
18
+ onEditTable: EventEmitter<any>;
19
+ onDeleteTable: EventEmitter<any>;
20
+ onViewTable: EventEmitter<any>;
21
+ currentPage: number;
22
+ totalItems: number;
23
+ config: PaginationInstance;
24
+ ngOnInit(): void;
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ updateConfig(): void;
27
+ onSort(column: string): void;
28
+ onPageChange(page: number): void;
29
+ onItemsPerPageChange(event: any): void;
30
+ handleAction(action: string, item: any, index: number): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<BootstrapTableComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<BootstrapTableComponent, "sim-bootstrap-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "itemsPerPageOptions": { "alias": "itemsPerPageOptions"; "required": false; }; "defaultItemsPerPage": { "alias": "defaultItemsPerPage"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "showActionColumn": { "alias": "showActionColumn"; "required": false; }; "actionColumnLabel": { "alias": "actionColumnLabel"; "required": false; }; }, { "sortChange": "sortChange"; "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; "onEditTable": "onEditTable"; "onDeleteTable": "onDeleteTable"; "onViewTable": "onViewTable"; }, never, never, false, never>;
33
+ }
@@ -0,0 +1,42 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TextareaComponent implements ControlValueAccessor {
5
+ label: string;
6
+ placeholder: string;
7
+ id: string;
8
+ rows: number;
9
+ disabled: boolean;
10
+ readonly: boolean;
11
+ maxlength: number | null;
12
+ minlength: number | null;
13
+ required: boolean;
14
+ autofocus: boolean;
15
+ marginTop: number;
16
+ marginBottom: number;
17
+ marginLeft: number;
18
+ marginRight: number;
19
+ inputEvent: EventEmitter<Event>;
20
+ changeEvent: EventEmitter<Event>;
21
+ focusEvent: EventEmitter<FocusEvent>;
22
+ blurEvent: EventEmitter<FocusEvent>;
23
+ keyupEvent: EventEmitter<KeyboardEvent>;
24
+ keydownEvent: EventEmitter<KeyboardEvent>;
25
+ keypressEvent: EventEmitter<KeyboardEvent>;
26
+ private onChangeCallback;
27
+ private onTouchedCallback;
28
+ value: string;
29
+ onInput(event: Event): void;
30
+ onChange(event: Event): void;
31
+ onFocus(event: FocusEvent): void;
32
+ onBlur(event: FocusEvent): void;
33
+ onKeyup(event: KeyboardEvent): void;
34
+ onKeydown(event: KeyboardEvent): void;
35
+ onKeypress(event: KeyboardEvent): void;
36
+ writeValue(value: any): void;
37
+ registerOnChange(fn: any): void;
38
+ registerOnTouched(fn: any): void;
39
+ setDisabledState?(isDisabled: boolean): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "sim-app-textarea", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; }, { "inputEvent": "inputEvent"; "changeEvent": "changeEvent"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "keyupEvent": "keyupEvent"; "keydownEvent": "keydownEvent"; "keypressEvent": "keypressEvent"; }, never, never, false, never>;
42
+ }
@@ -0,0 +1,11 @@
1
+ export declare enum ButtonClasses {
2
+ Primary = "btn-primary",
3
+ Secondary = "btn-secondary",
4
+ Success = "btn-success",
5
+ Danger = "btn-danger",
6
+ Warning = "btn-warning",
7
+ Info = "btn-info",
8
+ Light = "btn-light",
9
+ Dark = "btn-dark",
10
+ Link = "btn-link"
11
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/components.module";
3
+ export declare class LibPortalAngularModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibPortalAngularModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LibPortalAngularModule, never, [typeof i1.ComponentsModule], [typeof i1.ComponentsModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<LibPortalAngularModule>;
7
+ }
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "lib-portal-angular",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^16.2.0",
6
+ "@angular/core": "^16.2.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/lib-portal-angular.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "esm2022": "./esm2022/lib-portal-angular.mjs",
21
+ "esm": "./esm2022/lib-portal-angular.mjs",
22
+ "default": "./fesm2022/lib-portal-angular.mjs"
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,18 @@
1
+ export * from './lib/components/advanced-calendar/calendar.component';
2
+ export * from './lib/components/advanced-calendar/date-picker.component';
3
+ export * from './lib/components/advanced-calendar/date-time-picker.component';
4
+ export * from './lib/components/badge/badge.component';
5
+ export * from './lib/components/button/button.component';
6
+ export * from './lib/components/card/card.component';
7
+ export * from './lib/components/checkbox/checkbox.component';
8
+ export * from './lib/components/code-highlight/code-highlight.component';
9
+ export * from './lib/components/form/form.component';
10
+ export * from './lib/components/imput/input.component';
11
+ export * from './lib/components/multi-select/multi-select.component';
12
+ export * from './lib/components/radio/radio.component';
13
+ export * from './lib/components/select/select.component';
14
+ export * from './lib/components/tables/bootstrap-table.component';
15
+ export * from './lib/components/textarea/textarea.component';
16
+ export * from './lib/enum/ButtonClassesEnum';
17
+ export * from './lib/components/components.module';
18
+ export * from './lib/lib-portal-angular.module';