@sd-angular/core 19.0.0-beta.4 → 19.0.0-beta.6
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/components/document-builder/src/document-builder.component.d.ts +7 -6
- package/components/document-builder/src/document-builder.model.d.ts +1 -0
- package/components/document-builder/src/plugins/heading/heading.plugin.d.ts +4 -0
- package/components/document-builder/src/plugins/{image-upload.plugin.d.ts → image-upload/image-upload.plugin.d.ts} +0 -4
- package/components/document-builder/src/plugins/index.d.ts +6 -5
- package/components/table/src/models/table-item.model.d.ts +2 -1
- package/components/table/src/models/table-option.model.d.ts +2 -1
- package/fesm2022/sd-angular-core-components-document-builder.mjs +240 -333
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +361 -73
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-workflow.mjs +3 -3
- package/fesm2022/sd-angular-core-components-workflow.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +17 -3
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs +4 -3
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +14 -2
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-pipes.mjs +21 -1
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/forms/datetime/src/datetime.component.d.ts +4 -1
- package/package.json +69 -69
- package/pipes/index.d.ts +1 -0
- package/pipes/src/empty.pipe.d.ts +7 -0
- /package/components/document-builder/src/plugins/{comment.plugin.d.ts → comment/comment.plugin.d.ts} +0 -0
- /package/components/document-builder/src/plugins/{page-orientation.plugin.d.ts → page-orientation/page-orientation.plugin.d.ts} +0 -0
- /package/components/document-builder/src/plugins/{table-fit.plugin.d.ts → table-fit/table-fit.plugin.d.ts} +0 -0
- /package/components/document-builder/src/plugins/{variable.plugin.d.ts → variable/variable.plugin.d.ts} +0 -0
|
@@ -7,23 +7,20 @@ export declare class SdDocumentBuilder {
|
|
|
7
7
|
option: SdDocumentBuilderOption;
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
set _disabled(val: boolean | '' | undefined | null);
|
|
10
|
+
contentChange: EventEmitter<string>;
|
|
10
11
|
Editor: typeof ClassicEditor;
|
|
11
12
|
config: SdEditorConfig;
|
|
12
|
-
contentChange: EventEmitter<string>;
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
onReady(editor: ClassicEditor): void;
|
|
16
|
-
scrollToComment: (markerId: string) => void;
|
|
17
16
|
setContent: (html: string) => void;
|
|
18
17
|
getContent: () => string;
|
|
19
18
|
setOrientation: (orientation: "PORTRAIT" | "LANDSCAPE") => void;
|
|
20
19
|
getOrientation: () => "PORTRAIT" | "LANDSCAPE";
|
|
21
|
-
getVariables: () => SdDocumentBuilderVariable[];
|
|
22
|
-
getComments(): SdDocumentBuilderComment[];
|
|
23
20
|
scrollToTop(): void;
|
|
24
21
|
heading: {
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
all: () => SdDocumentBuilderHeading[];
|
|
23
|
+
scroll: (id: string) => void;
|
|
27
24
|
};
|
|
28
25
|
comment: {
|
|
29
26
|
/**
|
|
@@ -63,6 +60,10 @@ export declare class SdDocumentBuilder {
|
|
|
63
60
|
*/
|
|
64
61
|
scroll: (markerId: string) => void;
|
|
65
62
|
};
|
|
63
|
+
variable: {
|
|
64
|
+
all: () => SdDocumentBuilderVariable[];
|
|
65
|
+
scroll: (uuid: string) => void;
|
|
66
|
+
};
|
|
66
67
|
/**
|
|
67
68
|
* Xuất file Word có Header/Footer
|
|
68
69
|
* @param fileName Tên file
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Plugin } from 'ckeditor5';
|
|
2
|
-
/**
|
|
3
|
-
* Custom base64 upload adapter plugin for CKEditor 5.
|
|
4
|
-
* Converts uploaded images to base64 data URLs instead of uploading to a server.
|
|
5
|
-
*/
|
|
6
2
|
export declare class ImageUploadPlugin extends Plugin {
|
|
7
3
|
static get pluginName(): "ImageUploadPlugin";
|
|
8
4
|
init(): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './comment.plugin';
|
|
3
|
-
export * from './variable.plugin';
|
|
4
|
-
export * from './table-fit.plugin';
|
|
5
|
-
export * from './image-upload.plugin';
|
|
1
|
+
export * from './heading/heading.plugin';
|
|
2
|
+
export * from './comment/comment.plugin';
|
|
3
|
+
export * from './variable/variable.plugin';
|
|
4
|
+
export * from './table-fit/table-fit.plugin';
|
|
5
|
+
export * from './image-upload/image-upload.plugin';
|
|
6
|
+
export * from './page-orientation/page-orientation.plugin';
|
|
@@ -14,7 +14,8 @@ export interface SdTableDisplay {
|
|
|
14
14
|
badge?: {
|
|
15
15
|
type: SdBadge['type'] | undefined | null;
|
|
16
16
|
color: SdBadge['color'] | undefined | null;
|
|
17
|
-
icon
|
|
17
|
+
icon?: string | undefined | null;
|
|
18
|
+
title?: string | number | null | undefined;
|
|
18
19
|
};
|
|
19
20
|
cellStyle?: Record<string, string>;
|
|
20
21
|
data: string | number | undefined | null;
|
|
@@ -10,6 +10,7 @@ import { SdTableOptionGroup } from './table-option-group.model';
|
|
|
10
10
|
import { SdTableOptionSort } from './table-option-sort.model';
|
|
11
11
|
import { SdTableOptionPaginate } from './table-option-paginate.model';
|
|
12
12
|
import { TableOptionConfig } from './table-option-config.model';
|
|
13
|
+
import { SdPagingReq } from '@sd-angular/core/utilities';
|
|
13
14
|
export type SdTableOption<T = any> = SdTableLocalOption<T> | SdTableServerOption<T>;
|
|
14
15
|
interface SdTableBaseOption<T = any> {
|
|
15
16
|
key?: string;
|
|
@@ -32,7 +33,7 @@ interface SdTableLocalOption<T = any> extends SdTableBaseOption<T> {
|
|
|
32
33
|
}
|
|
33
34
|
interface SdTableServerOption<T = any> extends SdTableBaseOption<T> {
|
|
34
35
|
type: 'server';
|
|
35
|
-
items: (filterRequest: SdTableFilterRequest<T
|
|
36
|
+
items: (filterRequest: SdTableFilterRequest<T>, pagingReq?: SdPagingReq) => Promise<{
|
|
36
37
|
items: T[];
|
|
37
38
|
total: number;
|
|
38
39
|
}>;
|