angular-dumb-lib 0.0.2 → 0.0.4
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/ng-package.json +7 -0
- package/package.json +3 -16
- package/src/lib/angular-dumb-lib.component.spec.ts +21 -0
- package/src/lib/angular-dumb-lib.component.ts +15 -0
- package/src/lib/angular-dumb-lib.module.ts +19 -0
- package/src/lib/angular-dumb-lib.service.spec.ts +16 -0
- package/src/lib/angular-dumb-lib.service.ts +9 -0
- package/src/lib/components/atoms/button/button.component.html +15 -0
- package/src/lib/components/atoms/button/button.component.scss +76 -0
- package/src/lib/components/atoms/button/button.component.ts +33 -0
- package/src/lib/components/atoms/datetime-picker/datetime-picker.component.html +7 -0
- package/src/lib/components/atoms/datetime-picker/datetime-picker.component.scss +24 -0
- package/src/lib/components/atoms/datetime-picker/datetime-picker.component.ts +59 -0
- package/src/lib/components/atoms/file-selection/file-selection.component.html +24 -0
- package/src/lib/components/atoms/file-selection/file-selection.component.scss +35 -0
- package/src/lib/components/atoms/file-selection/file-selection.component.ts +86 -0
- package/src/lib/components/atoms/input/input.component.html +28 -0
- package/src/lib/components/atoms/input/input.component.scss +64 -0
- package/src/lib/components/atoms/input/input.component.ts +57 -0
- package/src/lib/components/atoms/loading/loading.component.html +3 -0
- package/src/lib/components/atoms/loading/loading.component.scss +36 -0
- package/src/lib/components/atoms/loading/loading.component.ts +21 -0
- package/src/lib/components/atoms/selection/selection.component.html +38 -0
- package/src/lib/components/atoms/selection/selection.component.scss +65 -0
- package/src/lib/components/atoms/selection/selection.component.ts +84 -0
- package/src/lib/components/atoms/slider/slider.component.html +14 -0
- package/src/lib/components/atoms/slider/slider.component.scss +50 -0
- package/src/lib/components/atoms/slider/slider.component.ts +37 -0
- package/src/lib/components/atoms/tags/tags.component.html +25 -0
- package/src/lib/components/atoms/tags/tags.component.scss +58 -0
- package/src/lib/components/atoms/tags/tags.component.ts +62 -0
- package/src/lib/components/molecules/cards/cards.component.html +12 -0
- package/src/lib/components/molecules/cards/cards.component.scss +14 -0
- package/src/lib/components/molecules/cards/cards.component.ts +19 -0
- package/src/lib/components/molecules/content-design/content-design.component.html +14 -0
- package/src/lib/components/molecules/content-design/content-design.component.scss +68 -0
- package/src/lib/components/molecules/content-design/content-design.component.ts +32 -0
- package/src/lib/components/molecules/form/form.component.html +22 -0
- package/src/lib/components/molecules/form/form.component.scss +17 -0
- package/src/lib/components/molecules/form/form.component.ts +64 -0
- package/src/lib/components/molecules/modal/modal.component.html +16 -0
- package/src/lib/components/molecules/modal/modal.component.scss +83 -0
- package/src/lib/components/molecules/modal/modal.component.ts +48 -0
- package/src/lib/components/molecules/paginator/paginator.component.html +25 -0
- package/src/lib/components/molecules/paginator/paginator.component.scss +27 -0
- package/src/lib/components/molecules/paginator/paginator.component.ts +126 -0
- package/src/lib/components/molecules/table/table.component.html +45 -0
- package/src/lib/components/molecules/table/table.component.scss +169 -0
- package/src/lib/components/molecules/table/table.component.ts +40 -0
- package/src/lib/components/pages/footer/footer.component.html +32 -0
- package/src/lib/components/pages/footer/footer.component.scss +69 -0
- package/src/lib/components/pages/footer/footer.component.ts +16 -0
- package/src/lib/components/pages/login/login.component.html +10 -0
- package/src/lib/components/pages/login/login.component.scss +32 -0
- package/src/lib/components/pages/login/login.component.ts +32 -0
- package/src/lib/components/pages/menu/menu.component.html +18 -0
- package/src/lib/components/pages/menu/menu.component.scss +87 -0
- package/src/lib/components/pages/menu/menu.component.ts +26 -0
- package/src/lib/components/pages/version/version.component.html +3 -0
- package/src/lib/components/pages/version/version.component.scss +0 -0
- package/src/lib/components/pages/version/version.component.ts +28 -0
- package/src/lib/shared/constants/constant.ts +7 -0
- package/src/lib/shared/enums/enum.ts +68 -0
- package/src/lib/shared/interfaces/interface.ts +64 -0
- package/{public-api.d.ts → src/public-api.ts} +5 -1
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/angular-dumb-lib.mjs +0 -5
- package/esm2022/lib/angular-dumb-lib.component.mjs +0 -20
- package/esm2022/lib/angular-dumb-lib.module.mjs +0 -32
- package/esm2022/lib/angular-dumb-lib.service.mjs +0 -15
- package/esm2022/lib/components/atoms/button/button.component.mjs +0 -34
- package/esm2022/lib/components/atoms/input/input.component.mjs +0 -57
- package/esm2022/lib/components/molecules/content-design/content-design.component.mjs +0 -32
- package/esm2022/lib/shared/enums/enum.mjs +0 -69
- package/esm2022/lib/shared/interfaces/interface.mjs +0 -2
- package/esm2022/public-api.mjs +0 -10
- package/fesm2022/angular-dumb-lib.mjs +0 -243
- package/fesm2022/angular-dumb-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/angular-dumb-lib.component.d.ts +0 -5
- package/lib/angular-dumb-lib.module.d.ts +0 -9
- package/lib/angular-dumb-lib.service.d.ts +0 -6
- package/lib/components/atoms/button/button.component.d.ts +0 -12
- package/lib/components/atoms/input/input.component.d.ts +0 -19
- package/lib/components/molecules/content-design/content-design.component.d.ts +0 -12
- package/lib/shared/enums/enum.d.ts +0 -59
- package/lib/shared/interfaces/interface.d.ts +0 -58
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export declare enum DesignType {
|
|
2
|
-
normal = "normal",
|
|
3
|
-
contrast = "contrast"
|
|
4
|
-
}
|
|
5
|
-
export declare enum ButtonType {
|
|
6
|
-
submit = "submit",
|
|
7
|
-
button = "button"
|
|
8
|
-
}
|
|
9
|
-
export declare enum InputGroupType {
|
|
10
|
-
textual = "textual",
|
|
11
|
-
datetime = "datetime",
|
|
12
|
-
selection = "selection",
|
|
13
|
-
file = "file"
|
|
14
|
-
}
|
|
15
|
-
export declare enum InputDirection {
|
|
16
|
-
horizontal = "horizontal",
|
|
17
|
-
vertical = "vertical"
|
|
18
|
-
}
|
|
19
|
-
export declare enum InputType {
|
|
20
|
-
image = "image",
|
|
21
|
-
text = "text",
|
|
22
|
-
richText = "richText",
|
|
23
|
-
password = "password",
|
|
24
|
-
email = "email",
|
|
25
|
-
url = "url",
|
|
26
|
-
tel = "tel",
|
|
27
|
-
search = "search",
|
|
28
|
-
number = "number",
|
|
29
|
-
range = "range",
|
|
30
|
-
hidden = "hidden",
|
|
31
|
-
textarea = "textarea",
|
|
32
|
-
datetime = "datetime",
|
|
33
|
-
checkbox = "checkbox",
|
|
34
|
-
radio = "radio",
|
|
35
|
-
select = "select",
|
|
36
|
-
file = "file"
|
|
37
|
-
}
|
|
38
|
-
export declare enum ContentDirection {
|
|
39
|
-
left = "left",
|
|
40
|
-
right = "right",
|
|
41
|
-
up = "up",
|
|
42
|
-
down = "down"
|
|
43
|
-
}
|
|
44
|
-
export declare enum SelectionType {
|
|
45
|
-
dropdown = "dropdown",
|
|
46
|
-
radio = "radio",
|
|
47
|
-
checkbox = "checkbox"
|
|
48
|
-
}
|
|
49
|
-
export declare enum LoadingSize {
|
|
50
|
-
Xbig = "xbig",
|
|
51
|
-
Big = "big",
|
|
52
|
-
Medium = "medium",
|
|
53
|
-
Small = "small",
|
|
54
|
-
Xsmall = "xsmall"
|
|
55
|
-
}
|
|
56
|
-
export declare enum MenuDirection {
|
|
57
|
-
vertical = "vertical",
|
|
58
|
-
horizontal = "horizontal"
|
|
59
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { ButtonType, ContentDirection, DesignType, InputDirection, InputType } from "../enums/enum";
|
|
3
|
-
export interface IButtonConfig {
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
isActive?: boolean;
|
|
6
|
-
designType?: DesignType;
|
|
7
|
-
label?: string;
|
|
8
|
-
iconValue?: string;
|
|
9
|
-
type?: ButtonType;
|
|
10
|
-
action?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IInputConfig {
|
|
13
|
-
required: boolean;
|
|
14
|
-
label?: string;
|
|
15
|
-
name: string;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
type?: InputType;
|
|
18
|
-
direction?: InputDirection;
|
|
19
|
-
isValid?: boolean;
|
|
20
|
-
options?: IDropdownOption[];
|
|
21
|
-
}
|
|
22
|
-
export interface IContentDesign {
|
|
23
|
-
name?: string;
|
|
24
|
-
coverImage?: string;
|
|
25
|
-
issuedDate?: string;
|
|
26
|
-
title?: string;
|
|
27
|
-
contentDirection?: ContentDirection;
|
|
28
|
-
content?: string;
|
|
29
|
-
template: TemplateRef<unknown> | null;
|
|
30
|
-
button?: IButtonConfig;
|
|
31
|
-
}
|
|
32
|
-
export interface IDropdownOption {
|
|
33
|
-
label: string;
|
|
34
|
-
value: any;
|
|
35
|
-
}
|
|
36
|
-
export interface IMenuItem {
|
|
37
|
-
label: string;
|
|
38
|
-
route: string;
|
|
39
|
-
}
|
|
40
|
-
export interface IModalEvent {
|
|
41
|
-
isDialog: boolean;
|
|
42
|
-
isModalVisible: boolean;
|
|
43
|
-
template: TemplateRef<unknown> | null;
|
|
44
|
-
title: string;
|
|
45
|
-
params?: {
|
|
46
|
-
[key: string]: any;
|
|
47
|
-
};
|
|
48
|
-
onOk?: () => void;
|
|
49
|
-
onCancel?: () => void;
|
|
50
|
-
}
|
|
51
|
-
export interface IPaginator {
|
|
52
|
-
itemsPerPage: number;
|
|
53
|
-
selectedPage: number;
|
|
54
|
-
}
|
|
55
|
-
export interface IDataColumnConfig {
|
|
56
|
-
field: string;
|
|
57
|
-
name: string;
|
|
58
|
-
}
|