@libs-ui/components-pages-template-full-screen 0.2.356-1 → 0.2.356-11
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/esm2022/full-screen-v2/full-screen-v2.component.mjs +151 -0
- package/esm2022/full-screen-v2/interfaces/full-screen-v2.interface.mjs +2 -0
- package/esm2022/full-screen-v2/interfaces/index.mjs +2 -0
- package/esm2022/full-screen.component.mjs +3 -2
- package/esm2022/index.mjs +3 -1
- package/fesm2022/libs-ui-components-pages-template-full-screen.mjs +145 -6
- package/fesm2022/libs-ui-components-pages-template-full-screen.mjs.map +1 -1
- package/full-screen-v2/full-screen-v2.component.d.ts +55 -0
- package/full-screen-v2/interfaces/full-screen-v2.interface.d.ts +20 -0
- package/full-screen-v2/interfaces/index.d.ts +1 -0
- package/index.d.ts +2 -0
- package/package.json +10 -10
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { ISkeletonConfig } from '@libs-ui/components-skeleton';
|
|
3
|
+
import { TYPE_FUNCTION } from '@libs-ui/interfaces-types';
|
|
4
|
+
/**
|
|
5
|
+
* Config dành riêng cho vùng body V2 — hỗ trợ lazy load component động.
|
|
6
|
+
*/
|
|
7
|
+
export interface IFullScreenV2BodyConfig {
|
|
8
|
+
/** Hàm trả về Observable<Type<any>> để lazy load component vào body */
|
|
9
|
+
getComponentOutlet?: TYPE_FUNCTION<any>;
|
|
10
|
+
/** Hàm trả về Observable<Record> để truyền dữ liệu (inputs) vào component được load */
|
|
11
|
+
getDataComponentOutlet?: TYPE_FUNCTION<Record<string, unknown>>;
|
|
12
|
+
/** Skeleton tùy chỉnh trong lúc Observable chờ resolve — dùng WritableSignal để reactive */
|
|
13
|
+
skeletonConfig?: WritableSignal<ISkeletonConfig>;
|
|
14
|
+
/** Class thêm vào vùng body wrapper ngoài */
|
|
15
|
+
classInclude?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Dữ liệu reactive truyền vào Component Outlet body */
|
|
18
|
+
export interface IFullScreenV2SectionData {
|
|
19
|
+
disable: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './full-screen-v2.interface';
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-pages-template-full-screen",
|
|
3
|
-
"version": "0.2.356-
|
|
3
|
+
"version": "0.2.356-11",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
|
-
"@libs-ui/components-buttons-button": "0.2.356-
|
|
8
|
-
"@libs-ui/components-buttons-status": "0.2.356-
|
|
9
|
-
"@libs-ui/components-dropdown": "0.2.356-
|
|
10
|
-
"@libs-ui/components-label": "0.2.356-
|
|
11
|
-
"@libs-ui/components-popover": "0.2.356-
|
|
12
|
-
"@libs-ui/components-switch": "0.2.356-
|
|
13
|
-
"@libs-ui/interfaces-types": "0.2.356-
|
|
14
|
-
"@libs-ui/pipes-escape-html": "0.2.356-
|
|
15
|
-
"@libs-ui/utils": "0.2.356-
|
|
7
|
+
"@libs-ui/components-buttons-button": "0.2.356-11",
|
|
8
|
+
"@libs-ui/components-buttons-status": "0.2.356-11",
|
|
9
|
+
"@libs-ui/components-dropdown": "0.2.356-11",
|
|
10
|
+
"@libs-ui/components-label": "0.2.356-11",
|
|
11
|
+
"@libs-ui/components-popover": "0.2.356-11",
|
|
12
|
+
"@libs-ui/components-switch": "0.2.356-11",
|
|
13
|
+
"@libs-ui/interfaces-types": "0.2.356-11",
|
|
14
|
+
"@libs-ui/pipes-escape-html": "0.2.356-11",
|
|
15
|
+
"@libs-ui/utils": "0.2.356-11",
|
|
16
16
|
"dayjs": "1.11.5",
|
|
17
17
|
"rxjs": "~7.8.0",
|
|
18
18
|
"@ngx-translate/core": "^15.0.0"
|