@indice/ng-components 0.2.139 → 0.2.141
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 +4 -4
- package/{src/assets/styles/indice-ng-icons-inline.css → _styles.css} +3501 -2286
- package/esm2020/indice-ng-components.mjs +5 -0
- package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
- package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -0
- package/esm2020/lib/controls/date-picker/date-picker.component.mjs +260 -0
- package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +68 -0
- package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +36 -0
- package/esm2020/lib/controls/list-view/list-column.component.mjs +25 -0
- package/esm2020/lib/controls/list-view/list-details-section.component.mjs +17 -0
- package/esm2020/lib/controls/list-view/list-tile.component.mjs +17 -0
- package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
- package/esm2020/lib/controls/list-view/list-view.component.mjs +183 -0
- package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +37 -0
- package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +77 -0
- package/esm2020/lib/controls/pager/pager.component.mjs +130 -0
- package/esm2020/lib/controls/side-pane/side-pane.component.mjs +72 -0
- package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +25 -0
- package/esm2020/lib/controls/toaster/toaster-container.component.mjs +28 -0
- package/esm2020/lib/controls/toaster/toaster.component.mjs +31 -0
- package/esm2020/lib/controls/toggle/toggle.component.mjs +64 -0
- package/esm2020/lib/directives/click-outside.directive.mjs +189 -0
- package/esm2020/lib/directives/dynamic-component-host.directive.mjs +17 -0
- package/esm2020/lib/helpers/base-list.component.mjs +181 -0
- package/esm2020/lib/icons.mjs +32 -0
- package/esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -0
- package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +135 -0
- package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +101 -0
- package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +80 -0
- package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +49 -0
- package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +98 -0
- package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
- package/esm2020/lib/ng-components.module.mjs +221 -0
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
- package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
- package/esm2020/lib/pages/auth/logged-out/logged-out.component.mjs +28 -0
- package/esm2020/lib/pages/http-status/error/error.component.mjs +17 -0
- package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -0
- package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -0
- package/esm2020/lib/pipes/address.pipe.mjs +21 -0
- package/esm2020/lib/pipes/duration-format.pipe.mjs +64 -0
- package/esm2020/lib/services/component-loader/component-loader-options.class.mjs +8 -0
- package/esm2020/lib/services/component-loader/component-loader.class.mjs +188 -0
- package/esm2020/lib/services/component-loader/component-loader.factory.mjs +32 -0
- package/esm2020/lib/services/component-loader/content-ref.class.mjs +13 -0
- package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
- package/esm2020/lib/services/modal-service/modal-container-component.mjs +126 -0
- package/esm2020/lib/services/modal-service/modal-options.class.mjs +35 -0
- package/esm2020/lib/services/modal-service/modal-service.mjs +219 -0
- package/esm2020/lib/services/modal-service/modal-styles.class.mjs +11 -0
- package/esm2020/lib/services/modal-service/modal.class.mjs +27 -0
- package/esm2020/lib/services/toaster.service.mjs +24 -0
- package/esm2020/lib/tokens.mjs +5 -0
- package/esm2020/lib/types.mjs +117 -0
- package/esm2020/public-api.mjs +53 -0
- package/fesm2015/indice-ng-components.mjs +3268 -0
- package/fesm2015/indice-ng-components.mjs.map +1 -0
- package/fesm2020/indice-ng-components.mjs +3225 -0
- package/fesm2020/indice-ng-components.mjs.map +1 -0
- package/indice-ng-components.d.ts +5 -0
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -0
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -0
- package/lib/controls/date-picker/date-picker.component.d.ts +48 -0
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +25 -0
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +13 -0
- package/lib/controls/list-view/list-column.component.d.ts +9 -0
- package/lib/controls/list-view/list-details-section.component.d.ts +7 -0
- package/lib/controls/list-view/list-tile.component.d.ts +7 -0
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -0
- package/lib/controls/list-view/list-view.component.d.ts +55 -0
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +15 -0
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +23 -0
- package/lib/controls/pager/pager.component.d.ts +36 -0
- package/lib/controls/side-pane/side-pane.component.d.ts +18 -0
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +11 -0
- package/lib/controls/toaster/toaster-container.component.d.ts +13 -0
- package/lib/controls/toaster/toaster.component.d.ts +15 -0
- package/lib/controls/toggle/toggle.component.d.ts +19 -0
- package/lib/directives/click-outside.directive.d.ts +40 -0
- package/lib/directives/dynamic-component-host.directive.d.ts +9 -0
- package/lib/helpers/base-list.component.d.ts +42 -0
- package/lib/icons.d.ts +30 -0
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -0
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +41 -0
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +28 -0
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +24 -0
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +25 -0
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +28 -0
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -0
- package/lib/ng-components.module.d.ts +49 -0
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -0
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -0
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -0
- package/lib/pages/http-status/error/error.component.d.ts +8 -0
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -0
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -0
- package/lib/pipes/address.pipe.d.ts +8 -0
- package/lib/pipes/duration-format.pipe.d.ts +8 -0
- package/lib/services/component-loader/component-loader-options.class.d.ts +30 -0
- package/lib/services/component-loader/component-loader.class.d.ts +92 -0
- package/lib/services/component-loader/component-loader.factory.d.ts +24 -0
- package/lib/services/component-loader/content-ref.class.d.ts +12 -0
- package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -0
- package/lib/services/modal-service/modal-container-component.d.ts +33 -0
- package/lib/services/modal-service/modal-options.class.d.ts +81 -0
- package/lib/services/modal-service/modal-service.d.ts +58 -0
- package/lib/services/modal-service/modal-styles.class.d.ts +10 -0
- package/lib/services/modal-service/modal.class.d.ts +43 -0
- package/lib/services/toaster.service.d.ts +11 -0
- package/lib/tokens.d.ts +5 -0
- package/lib/types.d.ts +153 -0
- package/{src/assets/styles/modal.css → modal.css} +157 -157
- package/package.json +24 -20
- package/{src/public-api.ts → public-api.d.ts} +43 -60
- package/CHANGELOG.md +0 -1
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -10
- package/scripts/css-bundle.ts +0 -33
- package/src/_styles.css +0 -36
- package/src/_tests/utilities.service.spec.ts +0 -16
- package/src/assets/styles/avatar-initials.css +0 -37
- package/src/assets/styles/base.css +0 -46
- package/src/assets/styles/cards.css +0 -71
- package/src/assets/styles/collapsible-panel.css +0 -25
- package/src/assets/styles/components.css +0 -34
- package/src/assets/styles/date-picker.component.css +0 -0
- package/src/assets/styles/drop-down-menu.css +0 -50
- package/src/assets/styles/form-layout.css +0 -49
- package/src/assets/styles/list-view-empty-state.css +0 -0
- package/src/assets/styles/list-view.css +0 -64
- package/src/assets/styles/model-view-layout.css +0 -45
- package/src/assets/styles/nav-links.css +0 -35
- package/src/assets/styles/notifications-indicator.component.css +0 -43
- package/src/assets/styles/pager.css +0 -29
- package/src/assets/styles/shell-layout.css +0 -232
- package/src/assets/styles/side-pane.css +0 -46
- package/src/assets/styles/side-view-layout.css +0 -58
- package/src/assets/styles/toast.css +0 -72
- package/src/assets/styles/toggle.css +0 -26
- package/src/assets/styles/view-layout.css +0 -58
- package/src/lib/controls/avatar-initials/avatar-initials.component.html +0 -3
- package/src/lib/controls/avatar-initials/avatar-initials.component.ts +0 -47
- package/src/lib/controls/collapsible-panel/collapsible-panel.component.html +0 -15
- package/src/lib/controls/collapsible-panel/collapsible-panel.component.ts +0 -16
- package/src/lib/controls/date-picker/date-picker.component.html +0 -133
- package/src/lib/controls/date-picker/date-picker.component.ts +0 -258
- package/src/lib/controls/drop-down-menu/drop-down-menu.component.html +0 -61
- package/src/lib/controls/drop-down-menu/drop-down-menu.component.ts +0 -59
- package/src/lib/controls/kpi-tile/kpi-tile.component.html +0 -18
- package/src/lib/controls/kpi-tile/kpi-tile.component.ts +0 -26
- package/src/lib/controls/list-view/list-column.component.ts +0 -10
- package/src/lib/controls/list-view/list-details-section.component.ts +0 -8
- package/src/lib/controls/list-view/list-tile.component.ts +0 -8
- package/src/lib/controls/list-view/list-view-empty-state.component.html +0 -20
- package/src/lib/controls/list-view/list-view-empty-state.component.ts +0 -19
- package/src/lib/controls/list-view/list-view.component.html +0 -151
- package/src/lib/controls/list-view/list-view.component.ts +0 -146
- package/src/lib/controls/nav-links-list/nav-links-list.component.html +0 -27
- package/src/lib/controls/nav-links-list/nav-links-list.component.ts +0 -25
- package/src/lib/controls/notifications-indicator/notifications-indicator.component.html +0 -78
- package/src/lib/controls/notifications-indicator/notifications-indicator.component.ts +0 -75
- package/src/lib/controls/pager/pager.component.html +0 -33
- package/src/lib/controls/pager/pager.component.ts +0 -106
- package/src/lib/controls/side-pane/side-pane.component.html +0 -10
- package/src/lib/controls/side-pane/side-pane.component.ts +0 -59
- package/src/lib/controls/skeleton-loader/skeleton-loader.component.html +0 -112
- package/src/lib/controls/skeleton-loader/skeleton-loader.component.ts +0 -20
- package/src/lib/controls/toaster/toaster-container.component.html +0 -1
- package/src/lib/controls/toaster/toaster-container.component.ts +0 -27
- package/src/lib/controls/toaster/toaster.component.html +0 -103
- package/src/lib/controls/toaster/toaster.component.ts +0 -26
- package/src/lib/controls/toggle/toggle.component.html +0 -15
- package/src/lib/controls/toggle/toggle.component.ts +0 -58
- package/src/lib/directives/click-outside.directive.ts +0 -196
- package/src/lib/directives/dynamic-component-host.directive.ts +0 -7
- package/src/lib/directives/screen-size.directive.ts +0 -67
- package/src/lib/helpers/base-list.component.ts +0 -204
- package/src/lib/icons.ts +0 -39
- package/src/lib/layouts/shell/shell-footer/shell-footer.component.html +0 -71
- package/src/lib/layouts/shell/shell-footer/shell-footer.component.ts +0 -14
- package/src/lib/layouts/shell/shell-header/shell-header.component.html +0 -199
- package/src/lib/layouts/shell/shell-header/shell-header.component.ts +0 -111
- package/src/lib/layouts/shell/shell-layout/shell-layout.component.html +0 -36
- package/src/lib/layouts/shell/shell-layout/shell-layout.component.ts +0 -91
- package/src/lib/layouts/views/form-layout/form-layout.component.html +0 -67
- package/src/lib/layouts/views/form-layout/form-layout.component.ts +0 -66
- package/src/lib/layouts/views/model-view-layout/model-view-layout.component.html +0 -43
- package/src/lib/layouts/views/model-view-layout/model-view-layout.component.ts +0 -37
- package/src/lib/layouts/views/side-view-layout/side-view-layout.component.html +0 -36
- package/src/lib/layouts/views/side-view-layout/side-view-layout.component.ts +0 -67
- package/src/lib/layouts/views/view-layout/view-layout.component.html +0 -68
- package/src/lib/layouts/views/view-layout/view-layout.component.ts +0 -82
- package/src/lib/ng-components.module.ts +0 -135
- package/src/lib/pages/auth/auth-callback/auth-callback.component.html +0 -1
- package/src/lib/pages/auth/auth-callback/auth-callback.component.ts +0 -22
- package/src/lib/pages/auth/auth-renew/auth-renew.component.ts +0 -20
- package/src/lib/pages/auth/logged-out/logged-out.component.html +0 -1
- package/src/lib/pages/auth/logged-out/logged-out.component.ts +0 -22
- package/src/lib/pages/http-status/error/error.component.html +0 -13
- package/src/lib/pages/http-status/error/error.component.ts +0 -13
- package/src/lib/pages/http-status/page-not-found/page-not-found.component.html +0 -14
- package/src/lib/pages/http-status/page-not-found/page-not-found.component.ts +0 -14
- package/src/lib/pages/http-status/unauthorized/unauthorized.component.html +0 -15
- package/src/lib/pages/http-status/unauthorized/unauthorized.component.ts +0 -11
- package/src/lib/pipes/address.pipe.ts +0 -17
- package/src/lib/pipes/duration-format.pipe.ts +0 -67
- package/src/lib/services/component-loader/component-loader-options.class.ts +0 -31
- package/src/lib/services/component-loader/component-loader.class.ts +0 -226
- package/src/lib/services/component-loader/component-loader.factory.ts +0 -27
- package/src/lib/services/component-loader/content-ref.class.ts +0 -10
- package/src/lib/services/interceptors/bad-request.interceptor.ts +0 -34
- package/src/lib/services/modal-service/modal-backdrop-component.ts +0 -40
- package/src/lib/services/modal-service/modal-container-component.ts +0 -125
- package/src/lib/services/modal-service/modal-options.class.ts +0 -92
- package/src/lib/services/modal-service/modal-service.ts +0 -237
- package/src/lib/services/modal-service/modal-styles.class.ts +0 -11
- package/src/lib/services/modal-service/modal.class.ts +0 -45
- package/src/lib/services/shell-state-service.service.ts +0 -10
- package/src/lib/services/toaster.service.ts +0 -23
- package/src/lib/services/utilities.service.ts +0 -40
- package/src/lib/tokens.ts +0 -6
- package/src/lib/types.ts +0 -210
- package/src/test.ts +0 -28
- package/tsconfig.lib.json +0 -26
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
- package/webpack.config.js +0 -36
package/lib/types.d.ts
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export interface IAppNotifications {
|
|
3
|
+
messages: Observable<IResultSet<NavLink>>;
|
|
4
|
+
inboxAction?: () => void | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface IAppLinks {
|
|
7
|
+
public: Observable<NavLink[]>;
|
|
8
|
+
main: Observable<NavLink[]>;
|
|
9
|
+
profile: Observable<NavLink[]>;
|
|
10
|
+
profileActions: Observable<NavLink[]>;
|
|
11
|
+
legal: Observable<NavLink[]>;
|
|
12
|
+
brand: Observable<NavLink[]>;
|
|
13
|
+
notifications?: Observable<NavLink>;
|
|
14
|
+
}
|
|
15
|
+
export declare class NavLink {
|
|
16
|
+
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, data?: any);
|
|
17
|
+
text: string;
|
|
18
|
+
path: string;
|
|
19
|
+
exact: boolean;
|
|
20
|
+
external: boolean;
|
|
21
|
+
icon: string | undefined;
|
|
22
|
+
type: string;
|
|
23
|
+
data: any | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare class ExternalNavLink extends NavLink {
|
|
26
|
+
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
27
|
+
type: string;
|
|
28
|
+
}
|
|
29
|
+
export declare class FragmentNavLink extends NavLink {
|
|
30
|
+
constructor(text: string, path: string, icon?: string);
|
|
31
|
+
type: string;
|
|
32
|
+
}
|
|
33
|
+
export declare class NotificationNavLink extends NavLink {
|
|
34
|
+
isRead: boolean;
|
|
35
|
+
creationDate?: Date | undefined;
|
|
36
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
37
|
+
}
|
|
38
|
+
export declare class ViewAction {
|
|
39
|
+
type: string;
|
|
40
|
+
key: string | null;
|
|
41
|
+
param: any;
|
|
42
|
+
icon: string;
|
|
43
|
+
tooltip: string | null;
|
|
44
|
+
constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null);
|
|
45
|
+
}
|
|
46
|
+
export declare class ListViewType {
|
|
47
|
+
static Tiles: string;
|
|
48
|
+
static Table: string;
|
|
49
|
+
static Map: string;
|
|
50
|
+
static Gallery: string;
|
|
51
|
+
}
|
|
52
|
+
export declare class RouterViewAction extends ViewAction {
|
|
53
|
+
outlet: string | null;
|
|
54
|
+
link: string | null;
|
|
55
|
+
constructor(icon: string, link: string, outlet: string | null, tooltip: string | null);
|
|
56
|
+
}
|
|
57
|
+
export declare class SwitchViewAction extends ViewAction {
|
|
58
|
+
constructor(view: string, icon: string, tooltip: string | null);
|
|
59
|
+
}
|
|
60
|
+
export interface IResultSet<T> {
|
|
61
|
+
count: number;
|
|
62
|
+
items: T[];
|
|
63
|
+
}
|
|
64
|
+
export declare class HeaderMetaItem {
|
|
65
|
+
key: string | null;
|
|
66
|
+
icon: string | null;
|
|
67
|
+
text: string | null;
|
|
68
|
+
}
|
|
69
|
+
export declare class MenuOption {
|
|
70
|
+
constructor(text: string, value: any, description?: string, data?: any, icon?: string);
|
|
71
|
+
text: string;
|
|
72
|
+
value: any;
|
|
73
|
+
description: string | undefined;
|
|
74
|
+
data: any | undefined;
|
|
75
|
+
icon: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface IAddress {
|
|
78
|
+
id?: string;
|
|
79
|
+
street?: string | null;
|
|
80
|
+
streetNumber?: string | null;
|
|
81
|
+
city?: string | null;
|
|
82
|
+
region?: string | null;
|
|
83
|
+
postalCode?: string | null;
|
|
84
|
+
country?: string | null;
|
|
85
|
+
}
|
|
86
|
+
export interface IShellConfig {
|
|
87
|
+
appLogo: string;
|
|
88
|
+
appLogoAlt: string;
|
|
89
|
+
showHeader: boolean;
|
|
90
|
+
showUserNameOnHeader?: boolean;
|
|
91
|
+
showAlertsOnHeader?: boolean;
|
|
92
|
+
customHeaderComponent?: any;
|
|
93
|
+
showFooter: boolean;
|
|
94
|
+
customFooterComponent?: any;
|
|
95
|
+
fluid: boolean;
|
|
96
|
+
langs?: string[];
|
|
97
|
+
}
|
|
98
|
+
export declare class DefaultShellConfig implements IShellConfig {
|
|
99
|
+
appLogo: string;
|
|
100
|
+
appLogoAlt: string;
|
|
101
|
+
showHeader: boolean;
|
|
102
|
+
showUserNameOnHeader: boolean;
|
|
103
|
+
showAlertsOnHeader: boolean;
|
|
104
|
+
showFooter: boolean;
|
|
105
|
+
fluid: boolean;
|
|
106
|
+
}
|
|
107
|
+
export declare enum SCREEN_SIZE {
|
|
108
|
+
XS = 0,
|
|
109
|
+
SM = 1,
|
|
110
|
+
MD = 2,
|
|
111
|
+
LG = 3,
|
|
112
|
+
XL = 4
|
|
113
|
+
}
|
|
114
|
+
export interface IScreenSize {
|
|
115
|
+
id: SCREEN_SIZE;
|
|
116
|
+
name: string;
|
|
117
|
+
css: string;
|
|
118
|
+
}
|
|
119
|
+
export declare enum ToastType {
|
|
120
|
+
Info = "info",
|
|
121
|
+
Success = "success",
|
|
122
|
+
Error = "error",
|
|
123
|
+
Warning = "warning"
|
|
124
|
+
}
|
|
125
|
+
export declare const NULL_TOAST: Toast;
|
|
126
|
+
export interface Toast {
|
|
127
|
+
type: ToastType;
|
|
128
|
+
title: string;
|
|
129
|
+
body: string;
|
|
130
|
+
delay: number;
|
|
131
|
+
}
|
|
132
|
+
export declare enum SidePaneSize {
|
|
133
|
+
Default = "",
|
|
134
|
+
Small25 = "25%",
|
|
135
|
+
Medium50 = "50%",
|
|
136
|
+
Large75 = "75%"
|
|
137
|
+
}
|
|
138
|
+
export declare enum SidePaneOverlayType {
|
|
139
|
+
Default = "",
|
|
140
|
+
None = "-opacity-0",
|
|
141
|
+
Light = "",
|
|
142
|
+
Dark = "-opacity-50"
|
|
143
|
+
}
|
|
144
|
+
export interface IValidationProblemDetails {
|
|
145
|
+
type?: string | undefined;
|
|
146
|
+
title?: string | undefined;
|
|
147
|
+
status?: number | undefined;
|
|
148
|
+
detail?: string | undefined;
|
|
149
|
+
instance?: string | undefined;
|
|
150
|
+
errors?: {
|
|
151
|
+
[key: string]: string[];
|
|
152
|
+
} | undefined;
|
|
153
|
+
}
|
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
.modal-open {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
}
|
|
4
|
-
.modal-open .modal {
|
|
5
|
-
overflow-x: hidden;
|
|
6
|
-
overflow-y: auto;
|
|
7
|
-
}
|
|
8
|
-
.modal {
|
|
9
|
-
position: fixed;
|
|
10
|
-
top: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
z-index: 1050;
|
|
13
|
-
display: none;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
outline: 0;
|
|
18
|
-
}
|
|
19
|
-
.modal-dialog {
|
|
20
|
-
position: relative;
|
|
21
|
-
width: auto;
|
|
22
|
-
margin: 0.5rem;
|
|
23
|
-
pointer-events: none;
|
|
24
|
-
}
|
|
25
|
-
.modal.fade .modal-dialog {
|
|
26
|
-
transition: transform 0.3s ease-out;
|
|
27
|
-
transform: translate(0, -50px);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.fade {
|
|
31
|
-
transition: opacity 0.15s linear;
|
|
32
|
-
}
|
|
33
|
-
.fade:not(.show) {
|
|
34
|
-
opacity: 0;
|
|
35
|
-
}
|
|
36
|
-
@media (prefers-reduced-motion: reduce) {
|
|
37
|
-
.modal.fade .modal-dialog {
|
|
38
|
-
transition: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.modal.show .modal-dialog {
|
|
42
|
-
transform: none;
|
|
43
|
-
}
|
|
44
|
-
.modal.modal-static .modal-dialog {
|
|
45
|
-
transform: scale(1.02);
|
|
46
|
-
}
|
|
47
|
-
.modal-dialog-scrollable {
|
|
48
|
-
display: flex;
|
|
49
|
-
max-height: subtract(100%, 1rem);
|
|
50
|
-
}
|
|
51
|
-
.modal-dialog-scrollable .modal-content {
|
|
52
|
-
max-height: subtract(100vh, 1rem);
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
}
|
|
55
|
-
.modal-dialog-scrollable .modal-header,
|
|
56
|
-
.modal-dialog-scrollable .modal-footer {
|
|
57
|
-
flex-shrink: 0;
|
|
58
|
-
}
|
|
59
|
-
.modal-dialog-scrollable .modal-body {
|
|
60
|
-
overflow-y: auto;
|
|
61
|
-
}
|
|
62
|
-
.modal-dialog-centered {
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
min-height: subtract(100%, 1rem);
|
|
66
|
-
}
|
|
67
|
-
.modal-dialog-centered::before {
|
|
68
|
-
display: block;
|
|
69
|
-
height: subtract(100vh, 1rem);
|
|
70
|
-
height: -webkit-min-content;
|
|
71
|
-
height: min-content;
|
|
72
|
-
content: "";
|
|
73
|
-
}
|
|
74
|
-
.modal-dialog-centered.modal-dialog-scrollable {
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
height: 100%;
|
|
78
|
-
}
|
|
79
|
-
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
|
|
80
|
-
max-height: none;
|
|
81
|
-
}
|
|
82
|
-
.modal-dialog-centered.modal-dialog-scrollable::before {
|
|
83
|
-
content: none;
|
|
84
|
-
}
|
|
85
|
-
.modal-content {
|
|
86
|
-
position: relative;
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: column;
|
|
89
|
-
width: 100%;
|
|
90
|
-
pointer-events: auto;
|
|
91
|
-
background-color: #fff;
|
|
92
|
-
background-clip: padding-box;
|
|
93
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
94
|
-
border-radius: 0.3rem;
|
|
95
|
-
outline: 0;
|
|
96
|
-
}
|
|
97
|
-
.modal-backdrop {
|
|
98
|
-
position: fixed;
|
|
99
|
-
top: 0;
|
|
100
|
-
left: 0;
|
|
101
|
-
z-index: 1040;
|
|
102
|
-
width: 100vw;
|
|
103
|
-
height: 100vh;
|
|
104
|
-
background-color: #000;
|
|
105
|
-
}
|
|
106
|
-
.modal-backdrop.fade {
|
|
107
|
-
opacity: 0;
|
|
108
|
-
}
|
|
109
|
-
.modal-backdrop.show {
|
|
110
|
-
opacity: 0.5;
|
|
111
|
-
}
|
|
112
|
-
.modal-scrollbar-measure {
|
|
113
|
-
position: absolute;
|
|
114
|
-
top: -9999px;
|
|
115
|
-
width: 50px;
|
|
116
|
-
height: 50px;
|
|
117
|
-
overflow: scroll;
|
|
118
|
-
}
|
|
119
|
-
@media (min-width: 576px) {
|
|
120
|
-
.modal-dialog {
|
|
121
|
-
max-width: 500px;
|
|
122
|
-
margin: 1.75rem auto;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.modal-dialog-scrollable {
|
|
126
|
-
max-height: subtract(100%, 3.5rem);
|
|
127
|
-
}
|
|
128
|
-
.modal-dialog-scrollable .modal-content {
|
|
129
|
-
max-height: subtract(100vh, 3.5rem);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.modal-dialog-centered {
|
|
133
|
-
min-height: subtract(100%, 3.5rem);
|
|
134
|
-
}
|
|
135
|
-
.modal-dialog-centered::before {
|
|
136
|
-
height: subtract(100vh, 3.5rem);
|
|
137
|
-
height: -webkit-min-content;
|
|
138
|
-
height: min-content;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.modal-sm {
|
|
142
|
-
max-width: 300px;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
@media (min-width: 992px) {
|
|
146
|
-
.modal-lg,
|
|
147
|
-
.modal-xl {
|
|
148
|
-
max-width: 800px;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
@media (min-width: 1200px) {
|
|
152
|
-
.modal-xl {
|
|
153
|
-
max-width: 1140px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/*# sourceMappingURL=styles.css.map*/
|
|
1
|
+
.modal-open {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
}
|
|
4
|
+
.modal-open .modal {
|
|
5
|
+
overflow-x: hidden;
|
|
6
|
+
overflow-y: auto;
|
|
7
|
+
}
|
|
8
|
+
.modal {
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
z-index: 1050;
|
|
13
|
+
display: none;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
outline: 0;
|
|
18
|
+
}
|
|
19
|
+
.modal-dialog {
|
|
20
|
+
position: relative;
|
|
21
|
+
width: auto;
|
|
22
|
+
margin: 0.5rem;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
.modal.fade .modal-dialog {
|
|
26
|
+
transition: transform 0.3s ease-out;
|
|
27
|
+
transform: translate(0, -50px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fade {
|
|
31
|
+
transition: opacity 0.15s linear;
|
|
32
|
+
}
|
|
33
|
+
.fade:not(.show) {
|
|
34
|
+
opacity: 0;
|
|
35
|
+
}
|
|
36
|
+
@media (prefers-reduced-motion: reduce) {
|
|
37
|
+
.modal.fade .modal-dialog {
|
|
38
|
+
transition: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.modal.show .modal-dialog {
|
|
42
|
+
transform: none;
|
|
43
|
+
}
|
|
44
|
+
.modal.modal-static .modal-dialog {
|
|
45
|
+
transform: scale(1.02);
|
|
46
|
+
}
|
|
47
|
+
.modal-dialog-scrollable {
|
|
48
|
+
display: flex;
|
|
49
|
+
max-height: subtract(100%, 1rem);
|
|
50
|
+
}
|
|
51
|
+
.modal-dialog-scrollable .modal-content {
|
|
52
|
+
max-height: subtract(100vh, 1rem);
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
.modal-dialog-scrollable .modal-header,
|
|
56
|
+
.modal-dialog-scrollable .modal-footer {
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
}
|
|
59
|
+
.modal-dialog-scrollable .modal-body {
|
|
60
|
+
overflow-y: auto;
|
|
61
|
+
}
|
|
62
|
+
.modal-dialog-centered {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
min-height: subtract(100%, 1rem);
|
|
66
|
+
}
|
|
67
|
+
.modal-dialog-centered::before {
|
|
68
|
+
display: block;
|
|
69
|
+
height: subtract(100vh, 1rem);
|
|
70
|
+
height: -webkit-min-content;
|
|
71
|
+
height: min-content;
|
|
72
|
+
content: "";
|
|
73
|
+
}
|
|
74
|
+
.modal-dialog-centered.modal-dialog-scrollable {
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
79
|
+
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
|
|
80
|
+
max-height: none;
|
|
81
|
+
}
|
|
82
|
+
.modal-dialog-centered.modal-dialog-scrollable::before {
|
|
83
|
+
content: none;
|
|
84
|
+
}
|
|
85
|
+
.modal-content {
|
|
86
|
+
position: relative;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
width: 100%;
|
|
90
|
+
pointer-events: auto;
|
|
91
|
+
background-color: #fff;
|
|
92
|
+
background-clip: padding-box;
|
|
93
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
94
|
+
border-radius: 0.3rem;
|
|
95
|
+
outline: 0;
|
|
96
|
+
}
|
|
97
|
+
.modal-backdrop {
|
|
98
|
+
position: fixed;
|
|
99
|
+
top: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
z-index: 1040;
|
|
102
|
+
width: 100vw;
|
|
103
|
+
height: 100vh;
|
|
104
|
+
background-color: #000;
|
|
105
|
+
}
|
|
106
|
+
.modal-backdrop.fade {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
.modal-backdrop.show {
|
|
110
|
+
opacity: 0.5;
|
|
111
|
+
}
|
|
112
|
+
.modal-scrollbar-measure {
|
|
113
|
+
position: absolute;
|
|
114
|
+
top: -9999px;
|
|
115
|
+
width: 50px;
|
|
116
|
+
height: 50px;
|
|
117
|
+
overflow: scroll;
|
|
118
|
+
}
|
|
119
|
+
@media (min-width: 576px) {
|
|
120
|
+
.modal-dialog {
|
|
121
|
+
max-width: 500px;
|
|
122
|
+
margin: 1.75rem auto;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.modal-dialog-scrollable {
|
|
126
|
+
max-height: subtract(100%, 3.5rem);
|
|
127
|
+
}
|
|
128
|
+
.modal-dialog-scrollable .modal-content {
|
|
129
|
+
max-height: subtract(100vh, 3.5rem);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.modal-dialog-centered {
|
|
133
|
+
min-height: subtract(100%, 3.5rem);
|
|
134
|
+
}
|
|
135
|
+
.modal-dialog-centered::before {
|
|
136
|
+
height: subtract(100vh, 3.5rem);
|
|
137
|
+
height: -webkit-min-content;
|
|
138
|
+
height: min-content;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.modal-sm {
|
|
142
|
+
max-width: 300px;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
@media (min-width: 992px) {
|
|
146
|
+
.modal-lg,
|
|
147
|
+
.modal-xl {
|
|
148
|
+
max-width: 800px;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
@media (min-width: 1200px) {
|
|
152
|
+
.modal-xl {
|
|
153
|
+
max-width: 1140px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/*# sourceMappingURL=styles.css.map*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indice/ng-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.141",
|
|
4
4
|
"description": "Indice common components for Angular v12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@angular/common": "^12.0.1",
|
|
25
25
|
"@angular/core": "^12.0.1",
|
|
26
26
|
"@angular/router": "^12.0.1",
|
|
27
|
-
"@indice/ng-auth": "^0.1.
|
|
27
|
+
"@indice/ng-auth": "^0.1.26",
|
|
28
28
|
"oidc-client": "^1.11.5",
|
|
29
29
|
"tailwindcss": "^2.1.2",
|
|
30
30
|
"@tailwindcss/aspect-ratio": "^0.2.0",
|
|
@@ -34,22 +34,26 @@
|
|
|
34
34
|
"rxjs": "^6.6.7"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"tslib": "^2.
|
|
37
|
+
"tslib": "^2.4.0"
|
|
38
38
|
},
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
39
|
+
"module": "fesm2015/indice-ng-components.mjs",
|
|
40
|
+
"es2020": "fesm2020/indice-ng-components.mjs",
|
|
41
|
+
"esm2020": "esm2020/indice-ng-components.mjs",
|
|
42
|
+
"fesm2020": "fesm2020/indice-ng-components.mjs",
|
|
43
|
+
"fesm2015": "fesm2015/indice-ng-components.mjs",
|
|
44
|
+
"typings": "indice-ng-components.d.ts",
|
|
45
|
+
"exports": {
|
|
46
|
+
"./package.json": {
|
|
47
|
+
"default": "./package.json"
|
|
48
|
+
},
|
|
49
|
+
".": {
|
|
50
|
+
"types": "./indice-ng-components.d.ts",
|
|
51
|
+
"esm2020": "./esm2020/indice-ng-components.mjs",
|
|
52
|
+
"es2020": "./fesm2020/indice-ng-components.mjs",
|
|
53
|
+
"es2015": "./fesm2015/indice-ng-components.mjs",
|
|
54
|
+
"node": "./fesm2015/indice-ng-components.mjs",
|
|
55
|
+
"default": "./fesm2020/indice-ng-components.mjs"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"sideEffects": false
|
|
59
|
+
}
|
|
@@ -1,60 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from './lib/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export * from './lib/controls/
|
|
7
|
-
export * from './lib/controls/
|
|
8
|
-
export * from './lib/controls/list-view/list-view.component';
|
|
9
|
-
export * from './lib/controls/
|
|
10
|
-
export * from './lib/controls/
|
|
11
|
-
export * from './lib/controls/
|
|
12
|
-
export * from './lib/controls/
|
|
13
|
-
export * from './lib/controls/
|
|
14
|
-
export * from './lib/controls/
|
|
15
|
-
export * from './lib/controls/
|
|
16
|
-
export * from './lib/controls/
|
|
17
|
-
export * from './lib/controls/
|
|
18
|
-
export * from './lib/controls/
|
|
19
|
-
export * from './lib/
|
|
20
|
-
export * from './lib/
|
|
21
|
-
export * from './lib/
|
|
22
|
-
export * from './lib/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export * from './lib/layouts/
|
|
26
|
-
export * from './lib/
|
|
27
|
-
export * from './lib/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export * from './lib/
|
|
31
|
-
export * from './lib/
|
|
32
|
-
export * from './lib/
|
|
33
|
-
export * from './lib/
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export * from './lib/
|
|
37
|
-
export * from './lib/
|
|
38
|
-
export * from './lib/
|
|
39
|
-
export * from './lib/
|
|
40
|
-
export
|
|
41
|
-
export * from './lib/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export * from './lib/pipes/address.pipe';
|
|
45
|
-
export * from './lib/pipes/duration-format.pipe';
|
|
46
|
-
|
|
47
|
-
// common stuff (tokens, types, helper classes)
|
|
48
|
-
export * from './lib/tokens';
|
|
49
|
-
export * from './lib/types';
|
|
50
|
-
export * from './lib/icons';
|
|
51
|
-
export * from './lib/helpers/base-list.component';
|
|
52
|
-
|
|
53
|
-
// services
|
|
54
|
-
export * from './lib/services/component-loader/component-loader.factory';
|
|
55
|
-
export * from './lib/services/modal-service/modal-service';
|
|
56
|
-
export { ModalOptions, MODAL_CONFIG_DEFAULT_OVERRIDE, CloseInterceptorFn } from './lib/services/modal-service/modal-options.class';
|
|
57
|
-
export * from './lib/services/modal-service/modal.class';
|
|
58
|
-
export * from './lib/services/toaster.service';
|
|
59
|
-
|
|
60
|
-
export * from './lib/ng-components.module';
|
|
1
|
+
export * from './lib/directives/click-outside.directive';
|
|
2
|
+
export * from './lib/controls/drop-down-menu/drop-down-menu.component';
|
|
3
|
+
export * from './lib/controls/pager/pager.component';
|
|
4
|
+
export * from './lib/controls/list-view/list-view.component';
|
|
5
|
+
export * from './lib/controls/list-view/list-column.component';
|
|
6
|
+
export * from './lib/controls/list-view/list-tile.component';
|
|
7
|
+
export * from './lib/controls/list-view/list-details-section.component';
|
|
8
|
+
export * from './lib/controls/list-view/list-view-empty-state.component';
|
|
9
|
+
export * from './lib/controls/skeleton-loader/skeleton-loader.component';
|
|
10
|
+
export * from './lib/controls/collapsible-panel/collapsible-panel.component';
|
|
11
|
+
export * from './lib/controls/kpi-tile/kpi-tile.component';
|
|
12
|
+
export * from './lib/controls/date-picker/date-picker.component';
|
|
13
|
+
export * from './lib/controls/toaster/toaster-container.component';
|
|
14
|
+
export * from './lib/controls/toaster/toaster.component';
|
|
15
|
+
export * from './lib/controls/avatar-initials/avatar-initials.component';
|
|
16
|
+
export * from './lib/controls/toggle/toggle.component';
|
|
17
|
+
export * from './lib/controls/side-pane/side-pane.component';
|
|
18
|
+
export * from './lib/controls/nav-links-list/nav-links-list.component';
|
|
19
|
+
export * from './lib/layouts/shell/shell-layout/shell-layout.component';
|
|
20
|
+
export * from './lib/layouts/shell/shell-header/shell-header.component';
|
|
21
|
+
export * from './lib/layouts/shell/shell-footer/shell-footer.component';
|
|
22
|
+
export * from './lib/layouts/views/view-layout/view-layout.component';
|
|
23
|
+
export * from './lib/layouts/views/model-view-layout/model-view-layout.component';
|
|
24
|
+
export * from './lib/layouts/views/side-view-layout/side-view-layout.component';
|
|
25
|
+
export * from './lib/layouts/views/form-layout/form-layout.component';
|
|
26
|
+
export * from './lib/pages/auth/auth-callback/auth-callback.component';
|
|
27
|
+
export * from './lib/pages/auth/auth-renew/auth-renew.component';
|
|
28
|
+
export * from './lib/pages/auth/logged-out/logged-out.component';
|
|
29
|
+
export * from './lib/pages/http-status/error/error.component';
|
|
30
|
+
export * from './lib/pages/http-status/page-not-found/page-not-found.component';
|
|
31
|
+
export * from './lib/pages/http-status/unauthorized/unauthorized.component';
|
|
32
|
+
export * from './lib/pipes/address.pipe';
|
|
33
|
+
export * from './lib/pipes/duration-format.pipe';
|
|
34
|
+
export * from './lib/tokens';
|
|
35
|
+
export * from './lib/types';
|
|
36
|
+
export * from './lib/icons';
|
|
37
|
+
export * from './lib/helpers/base-list.component';
|
|
38
|
+
export * from './lib/services/component-loader/component-loader.factory';
|
|
39
|
+
export * from './lib/services/modal-service/modal-service';
|
|
40
|
+
export { ModalOptions, MODAL_CONFIG_DEFAULT_OVERRIDE, CloseInterceptorFn } from './lib/services/modal-service/modal-options.class';
|
|
41
|
+
export * from './lib/services/modal-service/modal.class';
|
|
42
|
+
export * from './lib/services/toaster.service';
|
|
43
|
+
export * from './lib/ng-components.module';
|
package/CHANGELOG.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# INDICE ANGULAR Components Change log
|