@updevs/components 1.0.0-alpha.10 → 1.0.0-alpha.12
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/badge/badge-config.model.d.ts +1 -1
- package/badge/badge.component.d.ts +1 -1
- package/badge/badge.config.d.ts +1 -1
- package/button/button.component.d.ts +3 -3
- package/card/card.component.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +2 -2
- package/dropdown/models/dropdown-item.d.ts +2 -1
- package/esm2022/badge/badge-config.model.mjs +1 -1
- package/esm2022/badge/badge.component.mjs +1 -1
- package/esm2022/badge/badge.config.mjs +1 -1
- package/esm2022/button/button.component.mjs +1 -1
- package/esm2022/card/card.component.mjs +1 -1
- package/esm2022/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/dropdown/models/dropdown-item.mjs +1 -1
- package/esm2022/layout/abstractions/base-page.component.mjs +2 -2
- package/esm2022/layout/assets/i18n/en.json +7 -0
- package/esm2022/layout/assets/i18n/pt.json +7 -0
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +4 -18
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +9 -5
- package/esm2022/layout/models/login-page-config.model.mjs +1 -1
- package/esm2022/layout/models/login-page.config.mjs +1 -1
- package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +1 -1
- package/esm2022/layout/pages/auth-flow/login/login.component.mjs +14 -7
- package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +1 -1
- package/esm2022/layout/partials/header/header.component.mjs +101 -49
- package/esm2022/layout/partials/page-header/page-header.component.mjs +8 -8
- package/esm2022/layout/upd-layout.module.mjs +8 -4
- package/esm2022/list/models/list-item.mjs +1 -1
- package/esm2022/list/models/list-item.model.mjs +1 -1
- package/esm2022/modal/components/modal-container/modal-container.component.mjs +1 -1
- package/esm2022/modal/models/modal-config.model.mjs +1 -1
- package/esm2022/modal/models/modal-ref.mjs +1 -1
- package/esm2022/modal/models/modal.config.mjs +1 -1
- package/esm2022/modal/services/modal-alert.service.mjs +1 -1
- package/esm2022/table/abstractions/base-column.model.mjs +1 -1
- package/esm2022/table/components/search-section/search-section.component.mjs +1 -1
- package/esm2022/table/models/columns/boolean-column.model.mjs +1 -1
- package/esm2022/table/models/columns/text-column.model.mjs +1 -1
- package/esm2022/table/services/storages/saved-views.storage.mjs +11 -18
- package/esm2022/table/table.component.mjs +6 -6
- package/fesm2022/updevs-components-badge.mjs.map +1 -1
- package/fesm2022/updevs-components-button.mjs.map +1 -1
- package/fesm2022/updevs-components-card.mjs.map +1 -1
- package/fesm2022/updevs-components-dropdown.mjs +1 -1
- package/fesm2022/updevs-components-dropdown.mjs.map +1 -1
- package/fesm2022/updevs-components-layout.mjs +150 -86
- package/fesm2022/updevs-components-layout.mjs.map +1 -1
- package/fesm2022/updevs-components-list.mjs.map +1 -1
- package/fesm2022/updevs-components-modal.mjs.map +1 -1
- package/fesm2022/updevs-components-table.mjs +14 -21
- package/fesm2022/updevs-components-table.mjs.map +1 -1
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +1 -7
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +2 -1
- package/layout/models/login-page-config.model.d.ts +10 -1
- package/layout/models/login-page.config.d.ts +10 -1
- package/layout/pages/auth-flow/login/login.component.d.ts +3 -0
- package/layout/partials/header/header.component.d.ts +38 -21
- package/layout/partials/page-header/page-header.component.d.ts +2 -2
- package/layout/upd-layout.module.d.ts +2 -1
- package/list/models/list-item.d.ts +1 -1
- package/list/models/list-item.model.d.ts +1 -1
- package/modal/components/modal-container/modal-container.component.d.ts +2 -2
- package/modal/models/modal-config.model.d.ts +2 -2
- package/modal/models/modal-ref.d.ts +1 -1
- package/modal/models/modal.config.d.ts +2 -2
- package/modal/services/modal-alert.service.d.ts +2 -2
- package/package.json +19 -19
- package/table/abstractions/base-column.model.d.ts +2 -2
- package/table/components/search-section/search-section.component.d.ts +2 -2
- package/table/models/columns/boolean-column.model.d.ts +1 -1
- package/table/models/columns/text-column.model.d.ts +1 -1
- package/table/services/storages/saved-views.storage.d.ts +2 -5
- package/table/table.component.d.ts +2 -2
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { PageHeaderModel } from '@updevs/sdk/layout';
|
|
3
1
|
import { BaseLayout } from '../../abstractions/base.layout';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class VerticalSidebarLayoutComponent extends BaseLayout
|
|
6
|
-
showPageHeader: boolean;
|
|
7
|
-
pageHeader?: PageHeaderModel;
|
|
8
|
-
private readonly changeDetectorRef;
|
|
9
|
-
ngOnInit(): void;
|
|
3
|
+
export declare class VerticalSidebarLayoutComponent extends BaseLayout {
|
|
10
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalSidebarLayoutComponent, never>;
|
|
11
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalSidebarLayoutComponent, "upd-vertical-sidebar-layout", never, {}, {}, never, never, false, never>;
|
|
12
6
|
}
|
|
@@ -13,9 +13,10 @@ import * as i10 from "@updevs/icons";
|
|
|
13
13
|
import * as i11 from "@updevs/sdk/layout";
|
|
14
14
|
import * as i12 from "@updevs/components/button";
|
|
15
15
|
import * as i13 from "@updevs/components/link";
|
|
16
|
+
import * as i14 from "@updevs/components/dropdown";
|
|
16
17
|
export declare class VerticalSidebarLayoutModule {
|
|
17
18
|
constructor(translocoService: TranslocoService);
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalSidebarLayoutModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VerticalSidebarLayoutModule, [typeof i1.VerticalSidebarLayoutComponent, typeof i2.FooterComponent, typeof i3.HeaderComponent, typeof i4.SidebarComponent, typeof i5.PageHeaderComponent, typeof i6.FooterCopyrightDirective], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.TranslocoModule, typeof i10.UpdIconsModule, typeof i11.UpdCoreLayoutModule, typeof i12.UpdButtonModule, typeof i13.UpdLinkModule], [typeof i1.VerticalSidebarLayoutComponent, typeof i2.FooterComponent, typeof i3.HeaderComponent, typeof i4.SidebarComponent, typeof i5.PageHeaderComponent, typeof i6.FooterCopyrightDirective]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VerticalSidebarLayoutModule, [typeof i1.VerticalSidebarLayoutComponent, typeof i2.FooterComponent, typeof i3.HeaderComponent, typeof i4.SidebarComponent, typeof i5.PageHeaderComponent, typeof i6.FooterCopyrightDirective], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.TranslocoModule, typeof i10.UpdIconsModule, typeof i11.UpdCoreLayoutModule, typeof i12.UpdButtonModule, typeof i13.UpdLinkModule, typeof i14.UpdDropdownModule], [typeof i1.VerticalSidebarLayoutComponent, typeof i2.FooterComponent, typeof i3.HeaderComponent, typeof i4.SidebarComponent, typeof i5.PageHeaderComponent, typeof i6.FooterCopyrightDirective]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<VerticalSidebarLayoutModule>;
|
|
21
22
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
2
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
2
3
|
import { LoginPageConfig } from './login-page.config';
|
|
3
4
|
/**
|
|
4
5
|
* Configuration of the login page layout.
|
|
@@ -29,6 +30,14 @@ export declare class LoginPageConfigModel implements LoginPageConfig {
|
|
|
29
30
|
* Color of all links in the login page.
|
|
30
31
|
*/
|
|
31
32
|
linksColor: ColorStyleType;
|
|
33
|
+
/**
|
|
34
|
+
* Route with the page to recover the user's password.
|
|
35
|
+
*/
|
|
36
|
+
recoverPasswordRoute?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Route with the page to register a user.
|
|
39
|
+
*/
|
|
40
|
+
signUpRoute?: string;
|
|
32
41
|
/**
|
|
33
42
|
* Buttons used for social login (google, facebook, etc).
|
|
34
43
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
2
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
2
3
|
/**
|
|
3
4
|
* Configuration of the login page layout.
|
|
4
5
|
*/
|
|
@@ -28,6 +29,14 @@ export interface LoginPageConfig {
|
|
|
28
29
|
* Color of all links in the login page.
|
|
29
30
|
*/
|
|
30
31
|
linksColor?: ColorStyleType;
|
|
32
|
+
/**
|
|
33
|
+
* Route with the page to recover the user's password.
|
|
34
|
+
*/
|
|
35
|
+
recoverPasswordRoute?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Route with the page to register a user.
|
|
38
|
+
*/
|
|
39
|
+
signUpRoute?: string;
|
|
31
40
|
/**
|
|
32
41
|
* Buttons used for social login (google, facebook, etc).
|
|
33
42
|
*/
|
|
@@ -13,11 +13,14 @@ export declare class LoginComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
get linkClasses(): string[];
|
|
14
14
|
private get boxBgColor();
|
|
15
15
|
private readonly bodyClasses;
|
|
16
|
+
private readonly router;
|
|
16
17
|
private readonly authService;
|
|
17
18
|
private readonly layoutService;
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
login(): void;
|
|
22
|
+
goToRecoverPasswordPage(): void;
|
|
23
|
+
goToSignUpPage(): void;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
22
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "upd-login", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "formGroup": "formGroupChange"; }, never, never, false, never>;
|
|
23
26
|
}
|
|
@@ -1,31 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BaseComponent } from '@updevs/sdk/layout';
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
3
2
|
import { TablerIconsType } from '@updevs/icons';
|
|
3
|
+
import { TextService } from '@updevs/sdk';
|
|
4
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
5
|
+
import { DropdownItem } from '@updevs/components/dropdown';
|
|
6
|
+
import { NotificationModel } from '@updevs/sdk/notifications';
|
|
4
7
|
import { HeaderStyleType } from './header-style.type';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class HeaderComponent extends BaseComponent implements OnInit
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
export declare class HeaderComponent extends BaseComponent implements OnInit {
|
|
10
|
+
get classes(): string;
|
|
11
|
+
languageSwitcherRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
12
|
+
notificationsRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
13
|
+
loggedUserRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
isLanguageSwitcherDropdownOpen: boolean;
|
|
15
|
+
isNotificationsDropdownOpen: boolean;
|
|
16
|
+
isLoggedUserDropdownOpen: boolean;
|
|
17
|
+
readonly style: import("@angular/core").WritableSignal<HeaderStyleType>;
|
|
18
|
+
readonly nextThemeIcon: import("@angular/core").Signal<TablerIconsType>;
|
|
19
|
+
readonly currentNotificationsIcon: import("@angular/core").Signal<TablerIconsType>;
|
|
20
|
+
readonly hasNewNotifications: import("@angular/core").Signal<boolean>;
|
|
21
|
+
readonly languagesOptions: import("@angular/core").Signal<DropdownItem[]>;
|
|
22
|
+
readonly loggedUserOptions: import("@angular/core").Signal<DropdownItem[]>;
|
|
23
|
+
readonly userInfo: import("@angular/core").Signal<import("@updevs/sdk/types").OptionalType<import("@updevs/sdk/core").UserInfoModel>>;
|
|
24
|
+
readonly userIdentification: import("@angular/core").Signal<string>;
|
|
25
|
+
readonly userDescription: import("@angular/core").Signal<string>;
|
|
26
|
+
readonly shouldBlinkIfNewNotifications: import("@angular/core").Signal<boolean>;
|
|
27
|
+
readonly latestNotifications: import("@angular/core").Signal<NotificationModel[]>;
|
|
28
|
+
readonly textService: TextService;
|
|
29
|
+
private readonly securityStorage;
|
|
18
30
|
private readonly coreLayoutConfigService;
|
|
19
31
|
private readonly layoutService;
|
|
20
32
|
private readonly translocoService;
|
|
33
|
+
private readonly preferencesStorage;
|
|
34
|
+
private readonly notificationsService;
|
|
35
|
+
private readonly currentPreferences;
|
|
36
|
+
private readonly currentNotifications;
|
|
37
|
+
private readonly currentLanguageKey;
|
|
38
|
+
private readonly wrapperClasses;
|
|
39
|
+
readonly config: import("@angular/core").Signal<import("@updevs/sdk/layout/models/main-header.config").MainHeaderConfig>;
|
|
21
40
|
ngOnInit(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
41
|
switchTheme(): void;
|
|
24
|
-
switchLanguage(): void;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
private updateWrapperClasses;
|
|
42
|
+
switchLanguage(item: DropdownItem): void;
|
|
43
|
+
selectLoggedUserMenuItem(item: DropdownItem): void;
|
|
44
|
+
readNotification(notification: NotificationModel): void;
|
|
45
|
+
removeNotification(notification: NotificationModel): void;
|
|
29
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, {
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, {}, {}, never, never, false, never>;
|
|
31
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageHeaderModel } from '@updevs/sdk/layout';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class PageHeaderComponent {
|
|
4
|
-
model: PageHeaderModel
|
|
4
|
+
model: import("@angular/core").InputSignal<PageHeaderModel>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required":
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
7
7
|
}
|
|
@@ -3,6 +3,7 @@ import { UpdLayoutConfig } from './models/upd-layout.config';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@updevs/sdk/layout";
|
|
6
|
+
import * as i3 from "@updevs/sdk/notifications";
|
|
6
7
|
/**
|
|
7
8
|
* Layout module.
|
|
8
9
|
*/
|
|
@@ -13,6 +14,6 @@ export declare class UpdLayoutModule {
|
|
|
13
14
|
*/
|
|
14
15
|
static forRoot(config: UpdLayoutConfig): ModuleWithProviders<UpdLayoutModule>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdLayoutModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule], never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule, typeof i3.UpdNotificationsModule], never>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<UpdLayoutModule>;
|
|
18
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconModel } from '@updevs/icons';
|
|
2
|
-
import { BgColorStyleType } from '@updevs/sdk/
|
|
2
|
+
import { BgColorStyleType } from '@updevs/sdk/types';
|
|
3
3
|
import { ListItem } from './list-item';
|
|
4
4
|
import { BadgePositionType } from './badge-position.type';
|
|
5
5
|
export declare class ListItemModel implements ListItem {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NgComponentOutlet } from '@angular/common';
|
|
2
2
|
import { TemplateRef, Type, ElementRef, ComponentRef } from '@angular/core';
|
|
3
3
|
import { TextModel } from '@updevs/sdk';
|
|
4
|
-
import {
|
|
5
|
-
import { TopBottomLeftRightType, OptionalType } from '@updevs/sdk/types';
|
|
4
|
+
import { BaseComponent, Overlay, ButtonModel } from '@updevs/sdk/layout';
|
|
5
|
+
import { TopBottomLeftRightType, OptionalType, BgColorStyleType } from '@updevs/sdk/types';
|
|
6
6
|
import { IconModel } from '@updevs/icons';
|
|
7
7
|
import { ModalSizeType } from '../../types/modal-size.type';
|
|
8
8
|
import { ModalConfig } from '../../models/modal.config';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
3
3
|
import { TextModel } from '@updevs/sdk';
|
|
4
|
-
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
4
|
+
import { TopBottomLeftRightType, BgColorStyleType } from '@updevs/sdk/types';
|
|
5
5
|
import { IconModel } from '@updevs/icons';
|
|
6
6
|
import { ModalConfig } from './modal.config';
|
|
7
7
|
import { ModalSizeType } from '../types/modal-size.type';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemplateRef, Type } from '@angular/core';
|
|
2
2
|
import { TextModel } from '@updevs/sdk';
|
|
3
|
-
import {
|
|
4
|
-
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
3
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
4
|
+
import { TopBottomLeftRightType, BgColorStyleType } from '@updevs/sdk/types';
|
|
5
5
|
import { IconModel } from '@updevs/icons';
|
|
6
6
|
import { ModalSizeType } from '../types/modal-size.type';
|
|
7
7
|
import { ModalFooterStyleType } from '../types/modal-footer-style.type';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextModel } from '@updevs/sdk';
|
|
2
|
-
import {
|
|
3
|
-
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
2
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
3
|
+
import { TopBottomLeftRightType, BgColorStyleType } from '@updevs/sdk/types';
|
|
4
4
|
import { IconModel } from '@updevs/icons';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { ModalSizeType } from '../types/modal-size.type';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@updevs/components",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.12",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.0.1",
|
|
6
6
|
"@angular/core": "^18.0.1",
|
|
7
7
|
"@jsverse/transloco": "^7.4.2",
|
|
8
8
|
"@updevs/icons": "^1.0.9",
|
|
9
|
-
"@updevs/sdk": "^1.0.0-alpha.
|
|
9
|
+
"@updevs/sdk": "^1.0.0-alpha.21"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|
|
@@ -33,6 +33,12 @@
|
|
|
33
33
|
"esm": "./esm2022/badge/updevs-components-badge.mjs",
|
|
34
34
|
"default": "./fesm2022/updevs-components-badge.mjs"
|
|
35
35
|
},
|
|
36
|
+
"./calendar": {
|
|
37
|
+
"types": "./calendar/index.d.ts",
|
|
38
|
+
"esm2022": "./esm2022/calendar/updevs-components-calendar.mjs",
|
|
39
|
+
"esm": "./esm2022/calendar/updevs-components-calendar.mjs",
|
|
40
|
+
"default": "./fesm2022/updevs-components-calendar.mjs"
|
|
41
|
+
},
|
|
36
42
|
"./card": {
|
|
37
43
|
"types": "./card/index.d.ts",
|
|
38
44
|
"esm2022": "./esm2022/card/updevs-components-card.mjs",
|
|
@@ -45,11 +51,11 @@
|
|
|
45
51
|
"esm": "./esm2022/button/updevs-components-button.mjs",
|
|
46
52
|
"default": "./fesm2022/updevs-components-button.mjs"
|
|
47
53
|
},
|
|
48
|
-
"./
|
|
49
|
-
"types": "./
|
|
50
|
-
"esm2022": "./esm2022/
|
|
51
|
-
"esm": "./esm2022/
|
|
52
|
-
"default": "./fesm2022/updevs-components-
|
|
54
|
+
"./dropdown": {
|
|
55
|
+
"types": "./dropdown/index.d.ts",
|
|
56
|
+
"esm2022": "./esm2022/dropdown/updevs-components-dropdown.mjs",
|
|
57
|
+
"esm": "./esm2022/dropdown/updevs-components-dropdown.mjs",
|
|
58
|
+
"default": "./fesm2022/updevs-components-dropdown.mjs"
|
|
53
59
|
},
|
|
54
60
|
"./drag-and-drop": {
|
|
55
61
|
"types": "./drag-and-drop/index.d.ts",
|
|
@@ -63,12 +69,6 @@
|
|
|
63
69
|
"esm": "./esm2022/form/updevs-components-form.mjs",
|
|
64
70
|
"default": "./fesm2022/updevs-components-form.mjs"
|
|
65
71
|
},
|
|
66
|
-
"./dropdown": {
|
|
67
|
-
"types": "./dropdown/index.d.ts",
|
|
68
|
-
"esm2022": "./esm2022/dropdown/updevs-components-dropdown.mjs",
|
|
69
|
-
"esm": "./esm2022/dropdown/updevs-components-dropdown.mjs",
|
|
70
|
-
"default": "./fesm2022/updevs-components-dropdown.mjs"
|
|
71
|
-
},
|
|
72
72
|
"./layout": {
|
|
73
73
|
"types": "./layout/index.d.ts",
|
|
74
74
|
"esm2022": "./esm2022/layout/updevs-components-layout.mjs",
|
|
@@ -135,18 +135,18 @@
|
|
|
135
135
|
"esm": "./esm2022/form-controls/input/updevs-components-form-controls-input.mjs",
|
|
136
136
|
"default": "./fesm2022/updevs-components-form-controls-input.mjs"
|
|
137
137
|
},
|
|
138
|
-
"./form-controls/radio": {
|
|
139
|
-
"types": "./form-controls/radio/index.d.ts",
|
|
140
|
-
"esm2022": "./esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs",
|
|
141
|
-
"esm": "./esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs",
|
|
142
|
-
"default": "./fesm2022/updevs-components-form-controls-radio.mjs"
|
|
143
|
-
},
|
|
144
138
|
"./form-controls/select": {
|
|
145
139
|
"types": "./form-controls/select/index.d.ts",
|
|
146
140
|
"esm2022": "./esm2022/form-controls/select/updevs-components-form-controls-select.mjs",
|
|
147
141
|
"esm": "./esm2022/form-controls/select/updevs-components-form-controls-select.mjs",
|
|
148
142
|
"default": "./fesm2022/updevs-components-form-controls-select.mjs"
|
|
149
143
|
},
|
|
144
|
+
"./form-controls/radio": {
|
|
145
|
+
"types": "./form-controls/radio/index.d.ts",
|
|
146
|
+
"esm2022": "./esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs",
|
|
147
|
+
"esm": "./esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs",
|
|
148
|
+
"default": "./fesm2022/updevs-components-form-controls-radio.mjs"
|
|
149
|
+
},
|
|
150
150
|
"./form-controls/textarea": {
|
|
151
151
|
"types": "./form-controls/textarea/index.d.ts",
|
|
152
152
|
"esm2022": "./esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextModel } from '@updevs/sdk';
|
|
2
2
|
import { DataTypeEnum } from '@updevs/sdk/stores';
|
|
3
|
-
import {
|
|
4
|
-
import { OptionalType } from '@updevs/sdk/types';
|
|
3
|
+
import { WidthModel } from '@updevs/sdk/layout';
|
|
4
|
+
import { OptionalType, TextAlignmentType, TextDecorationType, OverflowStrategyType, FontWeightType } from '@updevs/sdk/types';
|
|
5
5
|
import { ColumnTypeEnum } from '../models/enums/column-type.enum';
|
|
6
6
|
export declare class BaseColumnModel {
|
|
7
7
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemplateRef, OnInit } from '@angular/core';
|
|
2
2
|
import { SearchRequestModel } from '@updevs/sdk/stores';
|
|
3
|
-
import { BaseComponent
|
|
4
|
-
import { OptionalType } from '@updevs/sdk/types';
|
|
3
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
4
|
+
import { OptionalType, BgColorStyleType } from '@updevs/sdk/types';
|
|
5
5
|
import { BadgeConfig } from '@updevs/components/badge';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { FilterItemModel } from '../../models/filter-item.model';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconModel } from '@updevs/icons';
|
|
2
2
|
import { TextModel } from '@updevs/sdk';
|
|
3
|
-
import { ColorStyleType } from '@updevs/sdk/
|
|
3
|
+
import { ColorStyleType } from '@updevs/sdk/types';
|
|
4
4
|
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
5
5
|
export declare class BooleanColumnModel extends BaseColumnModel {
|
|
6
6
|
displayType: 'text' | 'toggle' | 'icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextTransformType } from '@updevs/sdk/
|
|
1
|
+
import { TextTransformType } from '@updevs/sdk/types';
|
|
2
2
|
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
3
3
|
export declare class TextColumnModel extends BaseColumnModel {
|
|
4
4
|
transform?: TextTransformType;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Signal } from '@angular/core';
|
|
2
|
-
import { BaseSignalStorage } from '@updevs/sdk/core';
|
|
3
2
|
import { OptionalType } from '@updevs/sdk/types';
|
|
3
|
+
import { BaseByUserSignalStorage } from '@updevs/sdk/security';
|
|
4
4
|
import { SavedViewModel } from '../../models/saved-view.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SavedViewsStorage extends
|
|
7
|
-
private readonly securityStorage;
|
|
6
|
+
export declare class SavedViewsStorage extends BaseByUserSignalStorage {
|
|
8
7
|
private readonly lastStateKey;
|
|
9
|
-
private get loggedUserId();
|
|
10
8
|
constructor();
|
|
11
9
|
saveView(data: SavedViewModel): void;
|
|
12
10
|
saveLastState(data: SavedViewModel): void;
|
|
@@ -16,7 +14,6 @@ export declare class SavedViewsStorage extends BaseSignalStorage {
|
|
|
16
14
|
resetAllIsDefault(tableName: string): void;
|
|
17
15
|
removeViews(tableName: string, ...keys: string[]): void;
|
|
18
16
|
getByName(tableName: string, name: string): OptionalType<SavedViewModel>;
|
|
19
|
-
private getUserKey;
|
|
20
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SavedViewsStorage, never>;
|
|
21
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<SavedViewsStorage>;
|
|
22
19
|
}
|
|
@@ -28,10 +28,10 @@ export declare class TableComponent<T> extends BaseComponent implements OnInit {
|
|
|
28
28
|
get isWidthInPixels(): boolean;
|
|
29
29
|
readonly searchRequest: import("@angular/core").ModelSignal<SearchRequestModel>;
|
|
30
30
|
readonly activeFilters: import("@angular/core").ModelSignal<FilterItemModel[]>;
|
|
31
|
-
readonly hasSearchChanged: import("@angular/core").WritableSignal<boolean>;
|
|
32
31
|
readonly currentPage: import("@angular/core").ModelSignal<number>;
|
|
33
|
-
readonly totalRecords: import("@angular/core").WritableSignal<number>;
|
|
34
32
|
readonly pageSize: import("@angular/core").ModelSignal<number>;
|
|
33
|
+
readonly hasSearchChanged: import("@angular/core").WritableSignal<boolean>;
|
|
34
|
+
readonly totalRecords: import("@angular/core").WritableSignal<number>;
|
|
35
35
|
readonly configModel: Signal<TableConfigModel<T>>;
|
|
36
36
|
readonly data: Signal<T[]>;
|
|
37
37
|
readonly selectionModel: Signal<SelectionModel<T>>;
|