@indice/ng-components 0.2.174 → 0.3.0
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/_styles.scss +63 -15
- package/{esm2020 → esm2022}/indice-ng-components.mjs +4 -4
- package/esm2022/lib/controls/advanced-search/advanced-search.component.mjs +156 -0
- package/esm2022/lib/controls/advanced-search/models.mjs +109 -0
- package/esm2022/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -14
- package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -26
- package/{esm2020 → esm2022}/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -20
- package/esm2022/lib/controls/combobox/combobox.component.mjs +121 -0
- package/esm2022/lib/controls/content-tile/content-tile-header/content-tile-header.component.mjs +17 -0
- package/esm2022/lib/controls/content-tile/content-tile-item/content-tile-item.component.mjs +19 -0
- package/esm2022/lib/controls/content-tile/content-tile.component.mjs +63 -0
- package/esm2022/lib/controls/date-picker/date-picker.component.mjs +300 -0
- package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +72 -0
- package/{esm2020 → esm2022}/lib/controls/kpi-tile/kpi-tile.component.mjs +43 -43
- package/esm2022/lib/controls/language-selection/language-selection.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/controls/list-view/list-column.component.mjs +25 -25
- package/{esm2020 → esm2022}/lib/controls/list-view/list-details-section.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/controls/list-view/list-tile.component.mjs +17 -17
- package/esm2022/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
- package/esm2022/lib/controls/list-view/list-view.component.mjs +210 -0
- package/{esm2020 → esm2022}/lib/controls/nav-links-list/nav-links-list.component.mjs +54 -54
- package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +79 -0
- package/esm2022/lib/controls/pager/pager.component.mjs +130 -0
- package/esm2022/lib/controls/progress-bar/progress-bar.component.mjs +46 -0
- package/esm2022/lib/controls/side-pane/side-pane.component.mjs +87 -0
- package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +29 -0
- package/esm2022/lib/controls/stats-grid/stats-grid.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-info.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-label.directive.mjs +16 -16
- package/esm2022/lib/controls/stepper/lib-step.component.mjs +81 -0
- package/esm2022/lib/controls/stepper/lib-stepper.component.mjs +108 -0
- package/{esm2020 → esm2022}/lib/controls/stepper/types/step-selected-event.mjs +3 -3
- package/{esm2020 → esm2022}/lib/controls/stepper/types/stepper-type.mjs +11 -11
- package/esm2022/lib/controls/tabs/lib-tab-group.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab-label.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab.component.mjs +57 -57
- package/{esm2020 → esm2022}/lib/controls/toaster/toaster-container.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/controls/toaster/toaster.component.mjs +31 -31
- package/esm2022/lib/controls/toggle/toggle.component.mjs +64 -0
- package/esm2022/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
- package/esm2022/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +34 -0
- package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +71 -0
- package/esm2022/lib/directives/click-outside.directive.mjs +189 -0
- package/{esm2020 → esm2022}/lib/directives/dynamic-component-host.directive.mjs +17 -17
- package/esm2022/lib/helpers/base-list.component.mjs +230 -0
- package/esm2022/lib/icons.mjs +36 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -19
- package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +130 -0
- package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +90 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +54 -54
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +45 -45
- package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +20 -20
- package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +86 -0
- package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +101 -0
- package/esm2022/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +106 -0
- package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
- package/esm2022/lib/ng-components.module.mjs +320 -0
- package/esm2022/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
- package/esm2022/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/pages/auth/logged-out/logged-out.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/pages/http-status/error/error.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -14
- package/esm2022/lib/pipes/address.pipe.mjs +21 -0
- package/esm2022/lib/pipes/duration-format.pipe.mjs +64 -0
- package/esm2022/lib/pipes/short-number.pipe.mjs +43 -0
- package/esm2022/lib/services/breadcrumb.service.mjs +174 -0
- package/{esm2020 → esm2022}/lib/services/component-loader/component-loader-options.class.mjs +7 -7
- package/esm2022/lib/services/component-loader/component-loader.class.mjs +188 -0
- package/esm2022/lib/services/component-loader/component-loader.factory.mjs +32 -0
- package/{esm2020 → esm2022}/lib/services/component-loader/content-ref.class.mjs +12 -12
- package/esm2022/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
- package/esm2022/lib/services/modal-service/modal-container-component.mjs +126 -0
- package/{esm2020 → esm2022}/lib/services/modal-service/modal-options.class.mjs +35 -35
- package/esm2022/lib/services/modal-service/modal-service.mjs +220 -0
- package/{esm2020 → esm2022}/lib/services/modal-service/modal-styles.class.mjs +10 -10
- package/{esm2020 → esm2022}/lib/services/modal-service/modal.class.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/toaster.service.mjs +26 -26
- package/esm2022/lib/services/user-settings.service.mjs +35 -0
- package/esm2022/lib/services/utilities.service.mjs +47 -0
- package/{esm2020 → esm2022}/lib/tokens.mjs +7 -7
- package/esm2022/lib/types.mjs +133 -0
- package/{esm2020 → esm2022}/public-api.mjs +78 -70
- package/{fesm2020 → fesm2022}/indice-ng-components.mjs +4898 -4592
- package/fesm2022/indice-ng-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/controls/advanced-search/advanced-search.component.d.ts +40 -40
- package/lib/controls/advanced-search/models.d.ts +91 -91
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -14
- package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -7
- package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -12
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -10
- package/lib/controls/combobox/combobox.component.d.ts +35 -34
- package/lib/controls/content-tile/content-tile-header/content-tile-header.component.d.ts +7 -0
- package/lib/controls/content-tile/content-tile-item/content-tile-item.component.d.ts +8 -0
- package/lib/controls/content-tile/content-tile.component.d.ts +23 -0
- package/lib/controls/date-picker/date-picker.component.d.ts +53 -53
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +26 -26
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +15 -15
- package/lib/controls/language-selection/language-selection.component.d.ts +14 -14
- package/lib/controls/list-view/list-column.component.d.ts +9 -9
- package/lib/controls/list-view/list-details-section.component.d.ts +7 -7
- package/lib/controls/list-view/list-tile.component.d.ts +7 -7
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -11
- package/lib/controls/list-view/list-view.component.d.ts +62 -61
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +21 -21
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +22 -22
- package/lib/controls/pager/pager.component.d.ts +36 -36
- package/lib/controls/progress-bar/progress-bar.component.d.ts +16 -0
- package/lib/controls/side-pane/side-pane.component.d.ts +22 -18
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +12 -11
- package/lib/controls/stats-grid/stats-grid.component.d.ts +16 -0
- package/lib/controls/stepper/lib-step-info.directive.d.ts +8 -8
- package/lib/controls/stepper/lib-step-label.directive.d.ts +8 -8
- package/lib/controls/stepper/lib-step.component.d.ts +34 -34
- package/lib/controls/stepper/lib-stepper.component.d.ts +43 -43
- package/lib/controls/stepper/types/step-selected-event.d.ts +12 -12
- package/lib/controls/stepper/types/stepper-type.d.ts +10 -10
- package/lib/controls/tabs/lib-tab-group.component.d.ts +21 -21
- package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -8
- package/lib/controls/tabs/lib-tab.component.d.ts +24 -24
- package/lib/controls/toaster/toaster-container.component.d.ts +13 -13
- package/lib/controls/toaster/toaster.component.d.ts +15 -15
- package/lib/controls/toggle/toggle.component.d.ts +19 -19
- package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -25
- package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +15 -14
- package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +24 -24
- package/lib/directives/click-outside.directive.d.ts +40 -40
- package/lib/directives/dynamic-component-host.directive.d.ts +9 -9
- package/lib/helpers/base-list.component.d.ts +54 -53
- package/lib/icons.d.ts +34 -34
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -8
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +39 -39
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +26 -26
- package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +20 -20
- package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +14 -14
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +15 -15
- package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +10 -10
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +26 -24
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +42 -42
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +29 -28
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -31
- package/lib/ng-components.module.d.ts +71 -65
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -13
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -12
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -12
- package/lib/pages/http-status/error/error.component.d.ts +8 -8
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -8
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -8
- package/lib/pipes/address.pipe.d.ts +8 -8
- package/lib/pipes/duration-format.pipe.d.ts +8 -8
- package/lib/pipes/short-number.pipe.d.ts +7 -0
- package/lib/services/breadcrumb.service.d.ts +29 -29
- package/lib/services/component-loader/component-loader-options.class.d.ts +30 -30
- package/lib/services/component-loader/component-loader.class.d.ts +92 -92
- package/lib/services/component-loader/component-loader.factory.d.ts +24 -24
- package/lib/services/component-loader/content-ref.class.d.ts +12 -12
- package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -20
- package/lib/services/modal-service/modal-container-component.d.ts +33 -33
- package/lib/services/modal-service/modal-options.class.d.ts +81 -81
- package/lib/services/modal-service/modal-service.d.ts +58 -58
- package/lib/services/modal-service/modal-styles.class.d.ts +10 -10
- package/lib/services/modal-service/modal.class.d.ts +43 -43
- package/lib/services/toaster.service.d.ts +11 -11
- package/lib/services/user-settings.service.d.ts +13 -13
- package/lib/services/utilities.service.d.ts +11 -11
- package/lib/tokens.d.ts +10 -10
- package/lib/types.d.ts +179 -177
- package/package.json +14 -21
- package/public-api.d.ts +68 -60
- package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +0 -156
- package/esm2020/lib/controls/advanced-search/models.mjs +0 -109
- package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +0 -48
- package/esm2020/lib/controls/combobox/combobox.component.mjs +0 -117
- package/esm2020/lib/controls/date-picker/date-picker.component.mjs +0 -292
- package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +0 -72
- package/esm2020/lib/controls/language-selection/language-selection.component.mjs +0 -31
- package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +0 -29
- package/esm2020/lib/controls/list-view/list-view.component.mjs +0 -206
- package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +0 -79
- package/esm2020/lib/controls/pager/pager.component.mjs +0 -130
- package/esm2020/lib/controls/side-pane/side-pane.component.mjs +0 -72
- package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +0 -25
- package/esm2020/lib/controls/stepper/lib-step.component.mjs +0 -81
- package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +0 -108
- package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +0 -66
- package/esm2020/lib/controls/toggle/toggle.component.mjs +0 -64
- package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +0 -87
- package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +0 -31
- package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +0 -71
- package/esm2020/lib/directives/click-outside.directive.mjs +0 -189
- package/esm2020/lib/helpers/base-list.component.mjs +0 -226
- package/esm2020/lib/icons.mjs +0 -36
- package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +0 -130
- package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +0 -90
- package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +0 -30
- package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +0 -80
- package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +0 -101
- package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +0 -98
- package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +0 -104
- package/esm2020/lib/ng-components.module.mjs +0 -288
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +0 -30
- package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +0 -31
- package/esm2020/lib/pipes/address.pipe.mjs +0 -21
- package/esm2020/lib/pipes/duration-format.pipe.mjs +0 -64
- package/esm2020/lib/services/breadcrumb.service.mjs +0 -174
- package/esm2020/lib/services/component-loader/component-loader.class.mjs +0 -188
- package/esm2020/lib/services/component-loader/component-loader.factory.mjs +0 -32
- package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +0 -44
- package/esm2020/lib/services/modal-service/modal-container-component.mjs +0 -126
- package/esm2020/lib/services/modal-service/modal-service.mjs +0 -220
- package/esm2020/lib/services/user-settings.service.mjs +0 -35
- package/esm2020/lib/services/utilities.service.mjs +0 -47
- package/esm2020/lib/types.mjs +0 -132
- package/fesm2015/indice-ng-components.mjs +0 -4852
- package/fesm2015/indice-ng-components.mjs.map +0 -1
- package/fesm2020/indice-ng-components.mjs.map +0 -1
package/lib/types.d.ts
CHANGED
|
@@ -1,177 +1,179 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
text: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
static
|
|
60
|
-
static
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
value: any;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Params } from '@angular/router';
|
|
3
|
+
export interface IAppNotifications {
|
|
4
|
+
messages: Observable<IResultSet<NavLink>>;
|
|
5
|
+
getMessage?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
|
|
6
|
+
markMessageRead?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
|
|
7
|
+
refresh?: () => void | undefined;
|
|
8
|
+
inboxAction?: () => void | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface IAppLanguagesService {
|
|
11
|
+
options: Observable<MenuOption[]> | undefined;
|
|
12
|
+
selected?: string;
|
|
13
|
+
default?: string;
|
|
14
|
+
setSelected?: (lang: string) => void | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface IAppLinks {
|
|
17
|
+
public: Observable<NavLink[]>;
|
|
18
|
+
main: Observable<NavLink[]>;
|
|
19
|
+
profile: Observable<NavLink[]>;
|
|
20
|
+
profileActions: Observable<NavLink[]>;
|
|
21
|
+
legal: Observable<NavLink[]>;
|
|
22
|
+
brand: Observable<NavLink[]>;
|
|
23
|
+
notifications?: Observable<NavLink>;
|
|
24
|
+
}
|
|
25
|
+
export declare class NavLink {
|
|
26
|
+
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, data?: any, queryParams?: Params);
|
|
27
|
+
text: string;
|
|
28
|
+
path: string;
|
|
29
|
+
exact: boolean;
|
|
30
|
+
external: boolean;
|
|
31
|
+
icon: string | undefined;
|
|
32
|
+
type: string;
|
|
33
|
+
data: any | undefined;
|
|
34
|
+
queryParams: Params | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare class ExternalNavLink extends NavLink {
|
|
37
|
+
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
38
|
+
type: string;
|
|
39
|
+
}
|
|
40
|
+
export declare class FragmentNavLink extends NavLink {
|
|
41
|
+
constructor(text: string, path: string, icon?: string);
|
|
42
|
+
type: string;
|
|
43
|
+
}
|
|
44
|
+
export declare class NotificationNavLink extends NavLink {
|
|
45
|
+
isRead: boolean;
|
|
46
|
+
creationDate?: Date | undefined;
|
|
47
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
48
|
+
}
|
|
49
|
+
export declare class ViewAction {
|
|
50
|
+
type: string;
|
|
51
|
+
key: string | null;
|
|
52
|
+
param: any;
|
|
53
|
+
icon: string;
|
|
54
|
+
tooltip: string | null;
|
|
55
|
+
text?: string;
|
|
56
|
+
constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null, text?: string);
|
|
57
|
+
}
|
|
58
|
+
export declare class ListViewType {
|
|
59
|
+
static Tiles: string;
|
|
60
|
+
static Table: string;
|
|
61
|
+
static Map: string;
|
|
62
|
+
static Gallery: string;
|
|
63
|
+
}
|
|
64
|
+
export declare class RouterViewAction extends ViewAction {
|
|
65
|
+
outlet: string | null;
|
|
66
|
+
link: string | null;
|
|
67
|
+
constructor(icon: string, link: string, outlet: string | null, tooltip: string | null, text?: string);
|
|
68
|
+
}
|
|
69
|
+
export declare class SwitchViewAction extends ViewAction {
|
|
70
|
+
constructor(view: string, icon: string, tooltip: string | null);
|
|
71
|
+
}
|
|
72
|
+
export interface IResultSet<T> {
|
|
73
|
+
count: number;
|
|
74
|
+
items: T[];
|
|
75
|
+
}
|
|
76
|
+
export declare class HeaderMetaItem {
|
|
77
|
+
key: string | null;
|
|
78
|
+
icon: string | null;
|
|
79
|
+
text: string | null;
|
|
80
|
+
}
|
|
81
|
+
export declare class MenuOption {
|
|
82
|
+
constructor(text: string, value: any, description?: string, data?: any, icon?: string);
|
|
83
|
+
text: string;
|
|
84
|
+
value: any;
|
|
85
|
+
description: string | undefined;
|
|
86
|
+
data: any | undefined;
|
|
87
|
+
icon: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
export declare enum PagerPosition {
|
|
90
|
+
Top = "top",
|
|
91
|
+
Bottom = "bottom",
|
|
92
|
+
Both = "both"
|
|
93
|
+
}
|
|
94
|
+
export interface IAddress {
|
|
95
|
+
id?: string;
|
|
96
|
+
street?: string | null;
|
|
97
|
+
streetNumber?: string | null;
|
|
98
|
+
city?: string | null;
|
|
99
|
+
region?: string | null;
|
|
100
|
+
postalCode?: string | null;
|
|
101
|
+
country?: string | null;
|
|
102
|
+
}
|
|
103
|
+
export interface IShellConfig {
|
|
104
|
+
appLogo: string;
|
|
105
|
+
appLogoAlt: string;
|
|
106
|
+
breadcrumb: boolean;
|
|
107
|
+
customFooterComponent?: any;
|
|
108
|
+
customHeaderComponent?: any;
|
|
109
|
+
fluid: boolean;
|
|
110
|
+
layout?: ShellLayoutType;
|
|
111
|
+
showAlertsOnHeader?: boolean;
|
|
112
|
+
showFooter: boolean;
|
|
113
|
+
showHeader: boolean;
|
|
114
|
+
showLangsOnHeader?: boolean;
|
|
115
|
+
showUserNameOnHeader?: boolean;
|
|
116
|
+
}
|
|
117
|
+
export declare enum ShellLayoutType {
|
|
118
|
+
Stacked = "Stacked",
|
|
119
|
+
Sidebar = "Sidebar"
|
|
120
|
+
}
|
|
121
|
+
export declare class DefaultShellConfig implements IShellConfig {
|
|
122
|
+
appLogo: string;
|
|
123
|
+
appLogoAlt: string;
|
|
124
|
+
breadcrumb: boolean;
|
|
125
|
+
fluid: boolean;
|
|
126
|
+
layout: ShellLayoutType;
|
|
127
|
+
showAlertsOnHeader: boolean;
|
|
128
|
+
showFooter: boolean;
|
|
129
|
+
showHeader: boolean;
|
|
130
|
+
showUserNameOnHeader: boolean;
|
|
131
|
+
}
|
|
132
|
+
export declare enum SCREEN_SIZE {
|
|
133
|
+
XS = 0,
|
|
134
|
+
SM = 1,
|
|
135
|
+
MD = 2,
|
|
136
|
+
LG = 3,
|
|
137
|
+
XL = 4
|
|
138
|
+
}
|
|
139
|
+
export interface IScreenSize {
|
|
140
|
+
id: SCREEN_SIZE;
|
|
141
|
+
name: string;
|
|
142
|
+
css: string;
|
|
143
|
+
}
|
|
144
|
+
export declare enum ToastType {
|
|
145
|
+
Info = "info",
|
|
146
|
+
Success = "success",
|
|
147
|
+
Error = "error",
|
|
148
|
+
Warning = "warning"
|
|
149
|
+
}
|
|
150
|
+
export declare const NULL_TOAST: Toast;
|
|
151
|
+
export interface Toast {
|
|
152
|
+
type: ToastType;
|
|
153
|
+
title: string;
|
|
154
|
+
body: string;
|
|
155
|
+
delay: number;
|
|
156
|
+
}
|
|
157
|
+
export declare enum SidePaneSize {
|
|
158
|
+
Default = "",
|
|
159
|
+
Small25 = "25%",
|
|
160
|
+
Medium50 = "50%",
|
|
161
|
+
Large75 = "75%"
|
|
162
|
+
}
|
|
163
|
+
export declare enum SidePaneOverlayType {
|
|
164
|
+
Default = "",
|
|
165
|
+
None = "-opacity-0",
|
|
166
|
+
Light = "",
|
|
167
|
+
Dark = "-opacity-50"
|
|
168
|
+
}
|
|
169
|
+
export interface IValidationProblemDetails {
|
|
170
|
+
type?: string | undefined;
|
|
171
|
+
title?: string | undefined;
|
|
172
|
+
status?: number | undefined;
|
|
173
|
+
detail?: string | undefined;
|
|
174
|
+
instance?: string | undefined;
|
|
175
|
+
errors?: {
|
|
176
|
+
[key: string]: string[];
|
|
177
|
+
} | undefined;
|
|
178
|
+
}
|
|
179
|
+
export type UserSettingKey = 'MobileSideBar';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indice/ng-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Indice common components for Angular v12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"typescript",
|
|
13
13
|
"tailwind",
|
|
14
14
|
"components",
|
|
15
|
-
"controls"
|
|
16
|
-
"indice"
|
|
15
|
+
"controls"
|
|
17
16
|
],
|
|
18
17
|
"author": "INDICE",
|
|
19
18
|
"license": "MIT",
|
|
@@ -22,20 +21,16 @@
|
|
|
22
21
|
},
|
|
23
22
|
"homepage": "https://github.com/indice-co/Indice.Angular#readme",
|
|
24
23
|
"peerDependencies": {
|
|
25
|
-
"@angular/common": ">=
|
|
26
|
-
"@angular/core": ">=
|
|
27
|
-
"@angular/router": ">=
|
|
28
|
-
"@indice/ng-auth": "^0.
|
|
29
|
-
"oidc-client": "^
|
|
30
|
-
"rxjs": "^
|
|
31
|
-
"tailwindcss": ">=
|
|
32
|
-
"uuid": "
|
|
24
|
+
"@angular/common": ">=17.0.2",
|
|
25
|
+
"@angular/core": ">=17.0.2",
|
|
26
|
+
"@angular/router": ">=17.0.2",
|
|
27
|
+
"@indice/ng-auth": "^0.3.0",
|
|
28
|
+
"oidc-client-ts": "^3.0.1",
|
|
29
|
+
"rxjs": "^7.8.1",
|
|
30
|
+
"tailwindcss": ">=2.1.2",
|
|
31
|
+
"uuid": "9.0.1"
|
|
33
32
|
},
|
|
34
|
-
"module": "
|
|
35
|
-
"es2020": "fesm2020/indice-ng-components.mjs",
|
|
36
|
-
"esm2020": "esm2020/indice-ng-components.mjs",
|
|
37
|
-
"fesm2020": "fesm2020/indice-ng-components.mjs",
|
|
38
|
-
"fesm2015": "fesm2015/indice-ng-components.mjs",
|
|
33
|
+
"module": "fesm2022/indice-ng-components.mjs",
|
|
39
34
|
"typings": "index.d.ts",
|
|
40
35
|
"exports": {
|
|
41
36
|
"./package.json": {
|
|
@@ -43,11 +38,9 @@
|
|
|
43
38
|
},
|
|
44
39
|
".": {
|
|
45
40
|
"types": "./index.d.ts",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"node": "./fesm2015/indice-ng-components.mjs",
|
|
50
|
-
"default": "./fesm2020/indice-ng-components.mjs"
|
|
41
|
+
"esm2022": "./esm2022/indice-ng-components.mjs",
|
|
42
|
+
"esm": "./esm2022/indice-ng-components.mjs",
|
|
43
|
+
"default": "./fesm2022/indice-ng-components.mjs"
|
|
51
44
|
}
|
|
52
45
|
},
|
|
53
46
|
"sideEffects": false,
|
package/public-api.d.ts
CHANGED
|
@@ -1,60 +1,68 @@
|
|
|
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/breadcrumb/breadcrumb.component';
|
|
5
|
-
export * from './lib/controls/breadcrumb/breadcrumb-item';
|
|
6
|
-
export * from './lib/controls/list-view/list-view.component';
|
|
7
|
-
export * from './lib/controls/list-view/list-column.component';
|
|
8
|
-
export * from './lib/controls/list-view/list-tile.component';
|
|
9
|
-
export * from './lib/controls/list-view/list-details-section.component';
|
|
10
|
-
export * from './lib/controls/list-view/list-view-empty-state.component';
|
|
11
|
-
export * from './lib/controls/skeleton-loader/skeleton-loader.component';
|
|
12
|
-
export * from './lib/controls/collapsible-panel/collapsible-panel.component';
|
|
13
|
-
export * from './lib/controls/kpi-tile/kpi-tile.component';
|
|
14
|
-
export * from './lib/controls/date-picker/date-picker.component';
|
|
15
|
-
export * from './lib/controls/toaster/toaster-container.component';
|
|
16
|
-
export * from './lib/controls/toaster/toaster.component';
|
|
17
|
-
export * from './lib/controls/avatar-initials/avatar-initials.component';
|
|
18
|
-
export * from './lib/controls/toggle/toggle.component';
|
|
19
|
-
export * from './lib/controls/side-pane/side-pane.component';
|
|
20
|
-
export * from './lib/controls/nav-links-list/nav-links-list.component';
|
|
21
|
-
export * from './lib/controls/combobox/combobox.component';
|
|
22
|
-
export * from './lib/controls/tabs/lib-tab.component';
|
|
23
|
-
export * from './lib/controls/tabs/lib-tab-group.component';
|
|
24
|
-
export * from './lib/controls/tabs/lib-tab-label.directive';
|
|
25
|
-
export * from './lib/controls/stepper/lib-stepper.component';
|
|
26
|
-
export * from './lib/controls/stepper/lib-step.component';
|
|
27
|
-
export * from './lib/controls/stepper/lib-step-label.directive';
|
|
28
|
-
export * from './lib/controls/stepper/lib-step-info.directive';
|
|
29
|
-
export * from './lib/controls/stepper/types/stepper-type';
|
|
30
|
-
export * from './lib/controls/toggle-button/toggle-button.component';
|
|
31
|
-
export * from './lib/controls/toggle-buttons-list/toggle-buttons-list.component';
|
|
32
|
-
export * from './lib/
|
|
33
|
-
export * from './lib/
|
|
34
|
-
export * from './lib/
|
|
35
|
-
export * from './lib/
|
|
36
|
-
export * from './lib/
|
|
37
|
-
export * from './lib/
|
|
38
|
-
export * from './lib/
|
|
39
|
-
export * from './lib/layouts/
|
|
40
|
-
export * from './lib/layouts/
|
|
41
|
-
export * from './lib/
|
|
42
|
-
export * from './lib/
|
|
43
|
-
export * from './lib/
|
|
44
|
-
export * from './lib/
|
|
45
|
-
export * from './lib/
|
|
46
|
-
export * from './lib/
|
|
47
|
-
export * from './lib/
|
|
48
|
-
export * from './lib/
|
|
49
|
-
export * from './lib/
|
|
50
|
-
export * from './lib/
|
|
51
|
-
export * from './lib/
|
|
52
|
-
export * from './lib/
|
|
53
|
-
export * from './lib/
|
|
54
|
-
export * from './lib/
|
|
55
|
-
export
|
|
56
|
-
export * from './lib/
|
|
57
|
-
export * from './lib/
|
|
58
|
-
export * from './lib/
|
|
59
|
-
export * from './lib/
|
|
60
|
-
export * from './lib/
|
|
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/breadcrumb/breadcrumb.component';
|
|
5
|
+
export * from './lib/controls/breadcrumb/breadcrumb-item';
|
|
6
|
+
export * from './lib/controls/list-view/list-view.component';
|
|
7
|
+
export * from './lib/controls/list-view/list-column.component';
|
|
8
|
+
export * from './lib/controls/list-view/list-tile.component';
|
|
9
|
+
export * from './lib/controls/list-view/list-details-section.component';
|
|
10
|
+
export * from './lib/controls/list-view/list-view-empty-state.component';
|
|
11
|
+
export * from './lib/controls/skeleton-loader/skeleton-loader.component';
|
|
12
|
+
export * from './lib/controls/collapsible-panel/collapsible-panel.component';
|
|
13
|
+
export * from './lib/controls/kpi-tile/kpi-tile.component';
|
|
14
|
+
export * from './lib/controls/date-picker/date-picker.component';
|
|
15
|
+
export * from './lib/controls/toaster/toaster-container.component';
|
|
16
|
+
export * from './lib/controls/toaster/toaster.component';
|
|
17
|
+
export * from './lib/controls/avatar-initials/avatar-initials.component';
|
|
18
|
+
export * from './lib/controls/toggle/toggle.component';
|
|
19
|
+
export * from './lib/controls/side-pane/side-pane.component';
|
|
20
|
+
export * from './lib/controls/nav-links-list/nav-links-list.component';
|
|
21
|
+
export * from './lib/controls/combobox/combobox.component';
|
|
22
|
+
export * from './lib/controls/tabs/lib-tab.component';
|
|
23
|
+
export * from './lib/controls/tabs/lib-tab-group.component';
|
|
24
|
+
export * from './lib/controls/tabs/lib-tab-label.directive';
|
|
25
|
+
export * from './lib/controls/stepper/lib-stepper.component';
|
|
26
|
+
export * from './lib/controls/stepper/lib-step.component';
|
|
27
|
+
export * from './lib/controls/stepper/lib-step-label.directive';
|
|
28
|
+
export * from './lib/controls/stepper/lib-step-info.directive';
|
|
29
|
+
export * from './lib/controls/stepper/types/stepper-type';
|
|
30
|
+
export * from './lib/controls/toggle-button/toggle-button.component';
|
|
31
|
+
export * from './lib/controls/toggle-buttons-list/toggle-buttons-list.component';
|
|
32
|
+
export * from './lib/controls/content-tile/content-tile-header/content-tile-header.component';
|
|
33
|
+
export * from './lib/controls/content-tile/content-tile-item/content-tile-item.component';
|
|
34
|
+
export * from './lib/controls/content-tile/content-tile.component';
|
|
35
|
+
export * from './lib/controls/stats-grid/stats-grid.component';
|
|
36
|
+
export * from './lib/controls/progress-bar/progress-bar.component';
|
|
37
|
+
export * from './lib/controls/advanced-search/advanced-search.component';
|
|
38
|
+
export * from './lib/controls/advanced-search/models';
|
|
39
|
+
export * from './lib/layouts/shell/shell-layout/shell-layout.component';
|
|
40
|
+
export * from './lib/layouts/shell/shell-header/shell-header.component';
|
|
41
|
+
export * from './lib/layouts/shell/shell-footer/shell-footer.component';
|
|
42
|
+
export * from './lib/layouts/shell/shell-sidebar/shell-sidebar.component';
|
|
43
|
+
export * from './lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component';
|
|
44
|
+
export * from './lib/layouts/views/view-layout/view-layout.component';
|
|
45
|
+
export * from './lib/layouts/views/model-view-layout/model-view-layout.component';
|
|
46
|
+
export * from './lib/layouts/views/side-view-layout/side-view-layout.component';
|
|
47
|
+
export * from './lib/layouts/views/form-layout/form-layout.component';
|
|
48
|
+
export * from './lib/pages/auth/auth-callback/auth-callback.component';
|
|
49
|
+
export * from './lib/pages/auth/auth-renew/auth-renew.component';
|
|
50
|
+
export * from './lib/pages/auth/logged-out/logged-out.component';
|
|
51
|
+
export * from './lib/pages/http-status/error/error.component';
|
|
52
|
+
export * from './lib/pages/http-status/page-not-found/page-not-found.component';
|
|
53
|
+
export * from './lib/pages/http-status/unauthorized/unauthorized.component';
|
|
54
|
+
export * from './lib/pipes/address.pipe';
|
|
55
|
+
export * from './lib/pipes/duration-format.pipe';
|
|
56
|
+
export * from './lib/pipes/short-number.pipe';
|
|
57
|
+
export * from './lib/tokens';
|
|
58
|
+
export * from './lib/types';
|
|
59
|
+
export * from './lib/icons';
|
|
60
|
+
export * from './lib/helpers/base-list.component';
|
|
61
|
+
export * from './lib/services/component-loader/component-loader.factory';
|
|
62
|
+
export * from './lib/services/modal-service/modal-service';
|
|
63
|
+
export { ModalOptions, MODAL_CONFIG_DEFAULT_OVERRIDE, CloseInterceptorFn } from './lib/services/modal-service/modal-options.class';
|
|
64
|
+
export * from './lib/services/modal-service/modal.class';
|
|
65
|
+
export * from './lib/services/toaster.service';
|
|
66
|
+
export * from './lib/services/breadcrumb.service';
|
|
67
|
+
export * from './lib/services/user-settings.service';
|
|
68
|
+
export * from './lib/ng-components.module';
|