@sd-angular/core 19.0.0-beta.94 → 19.0.0-beta.96
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 +10 -10
- package/components/anchor/src/components/anchor/anchor.component.d.ts +4 -1
- package/components/anchor/src/components/anchor-item/anchor-item.component.d.ts +2 -1
- package/components/anchor/src/components/anchor-vertical/anchor-vertical-list.component.d.ts +3 -1
- package/components/badge/src/badge.component.d.ts +3 -4
- package/components/button/src/button.component.d.ts +2 -2
- package/components/document-builder/src/components/header-footer-builder/header-footer-builder.component.d.ts +2 -2
- package/components/document-builder/src/document-builder.model.d.ts +2 -2
- package/components/editor/src/models/editor.model.d.ts +2 -2
- package/components/editor/src/plugins/image-upload/utils/validate.utils.d.ts +2 -2
- package/components/form-generic/src/components/form-builder/components/attribute-table/attribute-table.component.d.ts +4 -2
- package/components/form-generic/src/components/form-builder/components/attribute-template/attribute-template.component.d.ts +2 -2
- package/components/form-generic/src/components/form-builder/components/configure-validation/configure-validation.component.d.ts +2 -2
- package/components/form-generic/src/components/form-builder/components/group/attribute/group-attribute.component.d.ts +23 -0
- package/components/form-generic/src/components/form-builder/components/group/index.d.ts +1 -0
- package/components/form-generic/src/components/form-builder/components/index.d.ts +1 -0
- package/components/form-generic/src/components/form-builder/components/table/control/table-control.component.d.ts +3 -0
- package/components/form-generic/src/components/form-builder/form-builder.component.d.ts +61 -18
- package/components/form-generic/src/components/form-render/form-render.component.d.ts +2 -2
- package/components/form-generic/src/models/form-generic-component.model.d.ts +22 -2
- package/components/index.d.ts +1 -2
- package/components/modal/src/modal.component.d.ts +5 -3
- package/components/preview/index.d.ts +3 -0
- package/components/preview/src/preview-image/preview-image.component.d.ts +84 -24
- package/components/preview/src/preview-image/preview-image.types.d.ts +53 -0
- package/components/preview/src/preview-pdf/preview-pdf.component.d.ts +186 -0
- package/components/preview/src/preview-pdf/preview-pdf.types.d.ts +84 -0
- package/components/quick-action/src/quick-action.component.d.ts +5 -6
- package/components/section/src/section.component.d.ts +1 -2
- package/components/table/src/components/column-filter/column-filter.component.d.ts +3 -3
- package/components/table/src/table.component.d.ts +2 -2
- package/components/upload-file/src/upload-file.component.d.ts +4 -1
- package/configurations/src/sd-core.configuration.d.ts +2 -1
- package/fesm2022/sd-angular-core-components-anchor.mjs +19 -6
- package/fesm2022/sd-angular-core-components-anchor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-code-editor.mjs +3 -3
- package/fesm2022/sd-angular-core-components-code-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-document-builder.mjs +3 -3
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-editor.mjs +3 -3
- package/fesm2022/sd-angular-core-components-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-form-generic.mjs +627 -317
- package/fesm2022/sd-angular-core-components-form-generic.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs +3 -3
- package/fesm2022/sd-angular-core-components-history.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-import-excel.mjs +5 -5
- package/fesm2022/sd-angular-core-components-import-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-modal.mjs +8 -3
- package/fesm2022/sd-angular-core-components-modal.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-preview.mjs +1963 -91
- package/fesm2022/sd-angular-core-components-preview.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-quick-action.mjs +8 -19
- package/fesm2022/sd-angular-core-components-quick-action.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs +31 -26
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +32 -29
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +12 -8
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components.mjs +1 -2
- package/fesm2022/sd-angular-core-components.mjs.map +1 -1
- package/fesm2022/sd-angular-core-configurations.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs +2 -2
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-checkbox.mjs +6 -13
- package/fesm2022/sd-angular-core-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs +6 -5
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip.mjs +6 -12
- package/fesm2022/sd-angular-core-forms-chip.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date-range.mjs +33 -26
- package/fesm2022/sd-angular-core-forms-date-range.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +29 -19
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +98 -57
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +25 -10
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +7 -15
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +4 -4
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-switch.mjs +6 -14
- package/fesm2022/sd-angular-core-forms-switch.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +5 -5
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-handlers.mjs +2 -2
- package/fesm2022/sd-angular-core-handlers.mjs.map +1 -1
- package/fesm2022/sd-angular-core-i18n.mjs +1610 -38
- package/fesm2022/sd-angular-core-i18n.mjs.map +1 -1
- package/fesm2022/sd-angular-core-interceptors.mjs +2 -2
- package/fesm2022/sd-angular-core-interceptors.mjs.map +1 -1
- package/fesm2022/sd-angular-core-models.mjs +6 -0
- package/fesm2022/sd-angular-core-models.mjs.map +1 -0
- package/fesm2022/sd-angular-core-modules-layout.mjs +87 -39
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs +2 -2
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-docx.mjs +2 -2
- package/fesm2022/sd-angular-core-services-docx.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-excel.mjs +27 -23
- package/fesm2022/sd-angular-core-services-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-notify.mjs +21 -21
- package/fesm2022/sd-angular-core-services-notify.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-extensions.mjs +74 -830
- package/fesm2022/sd-angular-core-utilities-extensions.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs +36 -136
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core.mjs +0 -1
- package/fesm2022/sd-angular-core.mjs.map +1 -1
- package/forms/autocomplete/src/autocomplete.component.d.ts +1 -2
- package/forms/checkbox/src/checkbox.component.d.ts +3 -3
- package/forms/chip/src/chip.component.d.ts +4 -4
- package/forms/chip-calendar/src/chip-calendar.component.d.ts +4 -4
- package/forms/date/src/date.component.d.ts +3 -5
- package/forms/date-range/src/date-range.component.d.ts +3 -5
- package/forms/datetime/src/datetime.component.d.ts +2 -2
- package/forms/datetime/src/popup/sd-datetime-picker.component.d.ts +10 -11
- package/forms/input/src/input.component.d.ts +1 -2
- package/forms/input-number/src/input-number.component.d.ts +1 -2
- package/forms/radio/src/radio.component.d.ts +3 -3
- package/forms/select/src/select.component.d.ts +5 -5
- package/forms/switch/src/switch.component.d.ts +3 -3
- package/forms/textarea/src/textarea.component.d.ts +1 -2
- package/i18n/index.d.ts +5 -5
- package/i18n/src/en.d.ts +406 -2
- package/i18n/src/i18n.messages.d.ts +2 -0
- package/i18n/src/i18n.pipe.d.ts +9 -0
- package/i18n/src/i18n.service.d.ts +14 -0
- package/i18n/src/i18n.token.d.ts +1 -0
- package/i18n/src/i18n.types.d.ts +31 -0
- package/i18n/src/ja.d.ts +2 -0
- package/i18n/src/ko.d.ts +2 -0
- package/i18n/src/vi.d.ts +2 -312
- package/i18n/src/zh.d.ts +2 -0
- package/models/index.d.ts +1 -0
- package/models/src/language.model.d.ts +2 -0
- package/modules/layout/modules/home/components/home-page/home-page.component.d.ts +25 -0
- package/package.json +82 -89
- package/public-api.d.ts +0 -1
- package/sd-angular-core-19.0.0-beta.96.tgz +0 -0
- package/services/notify/index.d.ts +1 -1
- package/services/notify/src/components/toast/toast.component.d.ts +3 -3
- package/services/notify/src/components/toast-container.component.d.ts +3 -4
- package/services/notify/src/notify.model.d.ts +1 -1
- package/services/notify/src/notify.service.d.ts +5 -5
- package/utilities/extensions/src/array.extension.d.ts +1 -7
- package/utilities/extensions/src/color.extension.d.ts +5 -20
- package/utilities/extensions/src/date.extension.d.ts +1 -18
- package/utilities/extensions/src/number.extension.d.ts +1 -10
- package/utilities/extensions/src/string.extension.d.ts +30 -4
- package/utilities/extensions/src/utility.extension.d.ts +6 -0
- package/utilities/models/src/color.model.d.ts +4 -1
- package/utilities/models/src/empty.model.d.ts +3 -0
- package/utilities/models/src/filter.model.d.ts +12 -24
- package/utilities/models/src/maybe-async.model.d.ts +10 -4
- package/utilities/models/src/nested-key-of.model.d.ts +4 -5
- package/utilities/models/src/operator.model.d.ts +9 -4
- package/utilities/models/src/order.model.d.ts +4 -5
- package/utilities/models/src/paging.model.d.ts +8 -16
- package/utilities/models/src/pattern.model.d.ts +13 -0
- package/utilities/models/src/size.model.d.ts +4 -1
- package/components/anchor-v2/index.d.ts +0 -1
- package/components/anchor-v2/src/components/anchor-item-v2/anchor-item-v2.component.d.ts +0 -12
- package/components/anchor-v2/src/components/anchor-v2/anchor-v2.component.d.ts +0 -19
- package/components/anchor-v2/src/components/anchor-vertical-v2/anchor-vertical-list-v2.component.d.ts +0 -16
- package/components/anchor-v2/src/components/index.d.ts +0 -2
- package/components/anchor-v2/src/index.d.ts +0 -2
- package/components/anchor-v2/src/models/index.d.ts +0 -1
- package/components/anchor-v2/src/models/sd-anchor-v2.model.d.ts +0 -7
- package/components/workflow/index.d.ts +0 -2
- package/components/workflow/src/configurations/index.d.ts +0 -1
- package/components/workflow/src/configurations/workflow.configuration.d.ts +0 -10
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs +0 -151
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs.map +0 -1
- package/fesm2022/sd-angular-core-components-workflow.mjs +0 -17
- package/fesm2022/sd-angular-core-components-workflow.mjs.map +0 -1
- package/fesm2022/sd-angular-core-services-firebase.mjs +0 -38
- package/fesm2022/sd-angular-core-services-firebase.mjs.map +0 -1
- package/i18n/src/sd-i18n.messages.d.ts +0 -2
- package/i18n/src/sd-i18n.pipe.d.ts +0 -9
- package/i18n/src/sd-i18n.service.d.ts +0 -12
- package/i18n/src/sd-i18n.token.d.ts +0 -1
- package/i18n/src/sd-i18n.types.d.ts +0 -5
- package/sd-angular-core-19.0.0-beta.94.tgz +0 -0
- package/services/firebase/index.d.ts +0 -2
- package/services/firebase/src/firebase.model.d.ts +0 -8
- package/services/firebase/src/firebase.service.d.ts +0 -14
|
@@ -7,7 +7,6 @@ import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-f
|
|
|
7
7
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
8
8
|
import { SdLabelDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
9
9
|
import { SdFormControl } from '@sd-angular/core/forms/models';
|
|
10
|
-
import { SdSize } from '@sd-angular/core/utilities';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
declare class SdChipCalendarErrorStateMatcher implements ErrorStateMatcher {
|
|
13
12
|
private formControl;
|
|
@@ -18,11 +17,12 @@ export declare class SdChipCalendar implements AfterViewInit {
|
|
|
18
17
|
#private;
|
|
19
18
|
menuTrigger: MatMenuTrigger;
|
|
20
19
|
calendar: MatCalendar<Date>;
|
|
21
|
-
|
|
20
|
+
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
21
|
+
autoId: import("@angular/core").Signal<string | undefined>;
|
|
22
22
|
name: import("@angular/core").InputSignal<string | undefined>;
|
|
23
23
|
appearance: import("@angular/core").InputSignal<MatFormFieldAppearance>;
|
|
24
24
|
floatLabel: import("@angular/core").InputSignal<FloatLabelType>;
|
|
25
|
-
size: import("@angular/core").InputSignal<
|
|
25
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
26
26
|
form: import("@angular/core").InputSignal<NgForm | FormGroup<any> | undefined>;
|
|
27
27
|
label: import("@angular/core").InputSignal<string>;
|
|
28
28
|
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -60,6 +60,6 @@ export declare class SdChipCalendar implements AfterViewInit {
|
|
|
60
60
|
onCloseCalendar: () => void;
|
|
61
61
|
dateClass: (cellDate: Date) => "" | "sd-chip-calendar-selected-date";
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdChipCalendar, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdChipCalendar, "sd-chip-calendar", never, { "
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdChipCalendar, "sd-chip-calendar", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "floatLabel": { "alias": "floatLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "hideInlineError": { "alias": "hideInlineError"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "hyperlink": { "alias": "hyperlink"; "required": false; "isSignal": true; }; }, { "modelChange": "modelChange"; "sdChange": "sdChange"; }, ["sdViewDef", "sdLabelDef", "sdLabelTemplate", "sdValueTemplate"], never, true, never>;
|
|
64
64
|
}
|
|
65
65
|
export {};
|
|
@@ -4,14 +4,12 @@ import { MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepi
|
|
|
4
4
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
5
|
import { SdLabelDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
6
6
|
import { SdFormControl } from '@sd-angular/core/forms/models';
|
|
7
|
-
import { SdSize } from '@sd-angular/core/utilities';
|
|
8
|
-
import moment, { Moment } from 'moment';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
export declare class SdDate implements OnDestroy, OnInit {
|
|
11
9
|
#private;
|
|
12
10
|
id: string;
|
|
13
11
|
inputRef: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
14
|
-
datePicker: import("@angular/core").Signal<MatDatepicker<
|
|
12
|
+
datePicker: import("@angular/core").Signal<MatDatepicker<Date> | undefined>;
|
|
15
13
|
sdLabelTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
16
14
|
sdValueTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
17
15
|
sdViewDef: import("@angular/core").Signal<SdViewDefDirective | undefined>;
|
|
@@ -21,7 +19,7 @@ export declare class SdDate implements OnDestroy, OnInit {
|
|
|
21
19
|
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
22
20
|
autoId: import("@angular/core").Signal<string | undefined>;
|
|
23
21
|
name: import("@angular/core").InputSignal<string>;
|
|
24
|
-
size: import("@angular/core").InputSignal<
|
|
22
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
25
23
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
26
24
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
27
25
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -65,7 +63,7 @@ export declare class SdDate implements OnDestroy, OnInit {
|
|
|
65
63
|
focusInputElement(): void;
|
|
66
64
|
onKeyDown: (event: KeyboardEvent) => boolean;
|
|
67
65
|
onKeyup: (event: any) => void;
|
|
68
|
-
onChange: (event: MatDatepickerInputEvent<
|
|
66
|
+
onChange: (event: MatDatepickerInputEvent<Date>) => void;
|
|
69
67
|
clear: ($event: any) => void;
|
|
70
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdDate, never>;
|
|
71
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdDate, "sd-date", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "hideInlineError": { "alias": "hideInlineError"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "inlineError": { "alias": "inlineError"; "required": false; "isSignal": true; }; "hyperlink": { "alias": "hyperlink"; "required": false; "isSignal": true; }; "appearanceInput": { "alias": "appearance"; "required": false; "isSignal": true; }; "floatLabel": { "alias": "floatLabel"; "required": false; "isSignal": true; }; "minInput": { "alias": "min"; "required": false; "isSignal": true; }; "minDateInput": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxInput": { "alias": "max"; "required": false; "isSignal": true; }; "maxDateInput": { "alias": "maxDate"; "required": false; "isSignal": true; }; "valueModel": { "alias": "model"; "required": false; "isSignal": true; }; }, { "valueModel": "modelChange"; "sdChange": "sdChange"; "sdFocus": "sdFocus"; }, ["sdLabelTemplate", "sdValueTemplate", "sdViewDef", "sdLabelDef"], ["[sdLabel]"], true, never>;
|
|
@@ -3,8 +3,6 @@ import { FormControl, FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { MatDatepickerInputEvent, MatDateRangePicker } from '@angular/material/datepicker';
|
|
4
4
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
5
|
import { SdLabelDefDirective } from '@sd-angular/core/forms/directives';
|
|
6
|
-
import { SdSize } from '@sd-angular/core/utilities/models';
|
|
7
|
-
import { Moment } from 'moment';
|
|
8
6
|
import * as i0 from "@angular/core";
|
|
9
7
|
interface Daterange {
|
|
10
8
|
from?: string | null;
|
|
@@ -21,7 +19,7 @@ export declare class SdDateRange implements OnDestroy, OnInit {
|
|
|
21
19
|
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
22
20
|
autoId: import("@angular/core").Signal<string | undefined>;
|
|
23
21
|
name: import("@angular/core").InputSignal<string>;
|
|
24
|
-
size: import("@angular/core").InputSignal<
|
|
22
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
25
23
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
26
24
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
27
25
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -49,8 +47,8 @@ export declare class SdDateRange implements OnDestroy, OnInit {
|
|
|
49
47
|
constructor();
|
|
50
48
|
ngOnInit(): void;
|
|
51
49
|
ngOnDestroy(): void;
|
|
52
|
-
onStartChange: (event: MatDatepickerInputEvent<
|
|
53
|
-
onEndChange: (event: MatDatepickerInputEvent<
|
|
50
|
+
onStartChange: (event: MatDatepickerInputEvent<Date>) => void;
|
|
51
|
+
onEndChange: (event: MatDatepickerInputEvent<Date>) => void;
|
|
54
52
|
clear: () => void;
|
|
55
53
|
onEnter: () => void;
|
|
56
54
|
onFocus: () => void;
|
|
@@ -3,7 +3,6 @@ import { FormGroup, ValidatorFn } from '@angular/forms';
|
|
|
3
3
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
4
|
import { SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
5
5
|
import { SdFormControl } from '@sd-angular/core/forms/models';
|
|
6
|
-
import { SdSize } from '@sd-angular/core/utilities';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SdDatetime implements OnDestroy, OnInit {
|
|
9
8
|
#private;
|
|
@@ -20,7 +19,7 @@ export declare class SdDatetime implements OnDestroy, OnInit {
|
|
|
20
19
|
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
21
20
|
autoId: import("@angular/core").Signal<string | undefined>;
|
|
22
21
|
name: import("@angular/core").InputSignal<string>;
|
|
23
|
-
size: import("@angular/core").InputSignal<
|
|
22
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
24
23
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
25
24
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
26
25
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -47,6 +46,7 @@ export declare class SdDatetime implements OnDestroy, OnInit {
|
|
|
47
46
|
maxDateInput: import("@angular/core").InputSignal<any>;
|
|
48
47
|
resolvedMax: import("@angular/core").Signal<Date | null>;
|
|
49
48
|
valueModel: import("@angular/core").ModelSignal<string | number | Date | null | undefined>;
|
|
49
|
+
viewedDate: import("@angular/core").Signal<Date | null>;
|
|
50
50
|
sdChange: import("@angular/core").OutputEmitterRef<any>;
|
|
51
51
|
sdFocus: import("@angular/core").OutputEmitterRef<void>;
|
|
52
52
|
isMobileOrTablet: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import moment, { Moment } from 'moment';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* Datetime picker popup — Calendar (Angular Material) + Time Spinner + Footer.
|
|
@@ -9,30 +8,30 @@ import * as i0 from "@angular/core";
|
|
|
9
8
|
*/
|
|
10
9
|
export declare class SdDatetimePicker {
|
|
11
10
|
#private;
|
|
12
|
-
/** Giá trị khởi tạo của picker (
|
|
13
|
-
initialValue: import("@angular/core").InputSignal<
|
|
14
|
-
/** Min/max boundary (
|
|
15
|
-
minDate: import("@angular/core").InputSignal<
|
|
16
|
-
maxDate: import("@angular/core").InputSignal<
|
|
11
|
+
/** Giá trị khởi tạo của picker (native Date, có thể null). */
|
|
12
|
+
initialValue: import("@angular/core").InputSignal<Date | null>;
|
|
13
|
+
/** Min/max boundary (Date hoặc bất kỳ giá trị nào hợp lệ cho `new Date(...)`). */
|
|
14
|
+
minDate: import("@angular/core").InputSignal<string | number | Date | null>;
|
|
15
|
+
maxDate: import("@angular/core").InputSignal<string | number | Date | null>;
|
|
17
16
|
/** Hiển thị thêm cột giây (mặc định ẩn — chỉ HH:MM). */
|
|
18
17
|
showSeconds: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
18
|
/** Disabled state. */
|
|
20
19
|
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
-
confirmed: EventEmitter<
|
|
20
|
+
confirmed: EventEmitter<Date>;
|
|
22
21
|
cancelled: EventEmitter<void>;
|
|
23
|
-
selectedDate: import("@angular/core").WritableSignal<
|
|
22
|
+
selectedDate: import("@angular/core").WritableSignal<Date>;
|
|
24
23
|
hours: import("@angular/core").WritableSignal<number>;
|
|
25
24
|
minutes: import("@angular/core").WritableSignal<number>;
|
|
26
25
|
seconds: import("@angular/core").WritableSignal<number>;
|
|
27
26
|
constructor();
|
|
28
27
|
/** Khi user chọn ngày trên MatCalendar. */
|
|
29
|
-
onDateSelected(date:
|
|
28
|
+
onDateSelected(date: Date | null): void;
|
|
30
29
|
onConfirm(): void;
|
|
31
30
|
onCancel(): void;
|
|
32
31
|
/** Đặt nhanh thời gian "Bây giờ". */
|
|
33
32
|
onNow(): void;
|
|
34
|
-
get
|
|
35
|
-
get
|
|
33
|
+
get _minDate(): Date | null;
|
|
34
|
+
get _maxDate(): Date | null;
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdDatetimePicker, never>;
|
|
37
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdDatetimePicker, "sd-datetime-picker", never, { "initialValue": { "alias": "initialValue"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "confirmed": "confirmed"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
38
37
|
}
|
|
@@ -3,7 +3,6 @@ import { FormGroup, ValidatorFn } from '@angular/forms';
|
|
|
3
3
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
4
|
import { SdSuffixDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
5
5
|
import { SdCustomValidator, SdFormControl } from '@sd-angular/core/forms/models';
|
|
6
|
-
import { SdSize } from '@sd-angular/core/utilities/models';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SdInput implements OnDestroy, OnInit, AfterViewInit {
|
|
9
8
|
#private;
|
|
@@ -19,7 +18,7 @@ export declare class SdInput implements OnDestroy, OnInit, AfterViewInit {
|
|
|
19
18
|
appearanceInput: import("@angular/core").InputSignal<MatFormFieldAppearance | undefined>;
|
|
20
19
|
appearance: import("@angular/core").Signal<MatFormFieldAppearance>;
|
|
21
20
|
floatLabel: import("@angular/core").InputSignal<FloatLabelType>;
|
|
22
|
-
size: import("@angular/core").InputSignal<
|
|
21
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
23
22
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
24
23
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
25
24
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -4,7 +4,6 @@ import { ErrorStateMatcher } from '@angular/material/core';
|
|
|
4
4
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
5
|
import { SdSuffixDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
6
6
|
import { SdCustomValidator, SdFormControl } from '@sd-angular/core/forms/models';
|
|
7
|
-
import { SdSize } from '@sd-angular/core/utilities/models';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
declare class SdInputNumberErrotStateMatcher implements ErrorStateMatcher {
|
|
10
9
|
private formControl;
|
|
@@ -26,7 +25,7 @@ export declare class SdInputNumber implements OnDestroy, OnInit, AfterViewInit {
|
|
|
26
25
|
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
27
26
|
autoId: import("@angular/core").Signal<string | undefined>;
|
|
28
27
|
name: import("@angular/core").InputSignal<string>;
|
|
29
|
-
size: import("@angular/core").InputSignal<
|
|
28
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
30
29
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
31
30
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
32
31
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -7,8 +7,8 @@ export declare class SdRadio implements OnInit, AfterViewInit, OnDestroy {
|
|
|
7
7
|
#private;
|
|
8
8
|
ref: ChangeDetectorRef;
|
|
9
9
|
id: string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
readonly autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
11
|
+
readonly autoId: import("@angular/core").Signal<string | undefined>;
|
|
12
12
|
set name(val: string | undefined);
|
|
13
13
|
formControl: SdFormControl;
|
|
14
14
|
set form(val: NgForm | FormGroup | undefined | null);
|
|
@@ -46,5 +46,5 @@ export declare class SdRadio implements OnInit, AfterViewInit, OnDestroy {
|
|
|
46
46
|
customInlineErrorValidator(): ValidatorFn;
|
|
47
47
|
reValidate: () => void;
|
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdRadio, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdRadio, "sd-radio", never, { "
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdRadio, "sd-radio", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; }; "form": { "alias": "form"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "_display": { "alias": "display"; "required": false; }; "model": { "alias": "model"; "required": false; }; "pItems": { "alias": "items"; "required": false; }; "valueField": { "alias": "valueField"; "required": true; }; "displayField": { "alias": "displayField"; "required": true; }; "_required": { "alias": "required"; "required": false; }; "_inlineError": { "alias": "inlineError"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "_viewed": { "alias": "viewed"; "required": false; }; "hyperlink": { "alias": "hyperlink"; "required": false; }; }, { "modelChange": "modelChange"; "sdChange": "sdChange"; "sdSelection": "sdSelection"; }, ["sdSuffixDef", "sdLabelDef", "sdViewDef"], never, true, never>;
|
|
50
50
|
}
|
|
@@ -6,7 +6,7 @@ import { MatInput } from '@angular/material/input';
|
|
|
6
6
|
import { MatSelect, MatSelectChange } from '@angular/material/select';
|
|
7
7
|
import { SdItemDefDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
8
8
|
import { SdCustomValidator, SdFormControl, SdSearch, SdSelectionData } from '@sd-angular/core/forms/models';
|
|
9
|
-
import {
|
|
9
|
+
import { SdNestedKeyOf } from '@sd-angular/core/utilities/models';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class SdSelect<T extends object | string | number = Record<string, unknown>> implements OnInit {
|
|
12
12
|
#private;
|
|
@@ -20,14 +20,14 @@ export declare class SdSelect<T extends object | string | number = Record<string
|
|
|
20
20
|
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
21
21
|
autoId: Signal<string | undefined>;
|
|
22
22
|
name: import("@angular/core").InputSignal<string>;
|
|
23
|
-
size: import("@angular/core").InputSignal<
|
|
23
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
24
24
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
25
25
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
26
26
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
27
27
|
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
28
|
-
valueField: import("@angular/core").InputSignal<T
|
|
29
|
-
displayField: import("@angular/core").InputSignal<T
|
|
30
|
-
disabledField: import("@angular/core").InputSignal<"" |
|
|
28
|
+
valueField: import("@angular/core").InputSignal<SdNestedKeyOf<T>>;
|
|
29
|
+
displayField: import("@angular/core").InputSignal<SdNestedKeyOf<T>>;
|
|
30
|
+
disabledField: import("@angular/core").InputSignal<"" | SdNestedKeyOf<T>>;
|
|
31
31
|
cacheChecksum: import("@angular/core").InputSignal<any>;
|
|
32
32
|
limit: import("@angular/core").InputSignal<number>;
|
|
33
33
|
hyperlink: import("@angular/core").InputSignal<string | null | undefined>;
|
|
@@ -7,8 +7,8 @@ export declare class SdSwitch implements OnInit, AfterViewInit, OnDestroy {
|
|
|
7
7
|
#private;
|
|
8
8
|
private ref;
|
|
9
9
|
id: string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
readonly autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
11
|
+
readonly autoId: import("@angular/core").Signal<string | undefined>;
|
|
12
12
|
set _name(val: string | undefined);
|
|
13
13
|
set form(val: NgForm | FormGroup | undefined | null);
|
|
14
14
|
label?: string;
|
|
@@ -29,5 +29,5 @@ export declare class SdSwitch implements OnInit, AfterViewInit, OnDestroy {
|
|
|
29
29
|
ngAfterViewInit(): void;
|
|
30
30
|
ngOnDestroy(): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdSwitch, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdSwitch, "sd-switch", never, { "
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdSwitch, "sd-switch", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "_name": { "alias": "name"; "required": false; }; "form": { "alias": "form"; "required": false; }; "_label": { "alias": "label"; "required": false; }; "_color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "_hideInlineError": { "alias": "hideInlineError"; "required": false; }; "_required": { "alias": "required"; "required": false; }; }, { "modelChange": "modelChange"; "sdChange": "sdChange"; }, never, never, true, never>;
|
|
33
33
|
}
|
|
@@ -3,7 +3,6 @@ import { FormGroup, ValidatorFn } from '@angular/forms';
|
|
|
3
3
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
4
|
import { SdLabelDefDirective, SdSuffixDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
5
5
|
import { SdCustomValidator, SdFormControl } from '@sd-angular/core/forms/models';
|
|
6
|
-
import { SdSize } from '@sd-angular/core/utilities';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SdTextarea implements OnInit, AfterViewInit, OnDestroy {
|
|
9
8
|
#private;
|
|
@@ -15,7 +14,7 @@ export declare class SdTextarea implements OnInit, AfterViewInit, OnDestroy {
|
|
|
15
14
|
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
16
15
|
autoId: import("@angular/core").Signal<string | undefined>;
|
|
17
16
|
name: import("@angular/core").InputSignal<string>;
|
|
18
|
-
size: import("@angular/core").InputSignal<
|
|
17
|
+
size: import("@angular/core").InputSignal<import("@sdcorejs/utils/models").Size>;
|
|
19
18
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
20
19
|
label: import("@angular/core").InputSignalWithTransform<string | undefined, string | null | undefined>;
|
|
21
20
|
helperText: import("@angular/core").InputSignalWithTransform<string | undefined, string | null | undefined>;
|
package/i18n/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './src/
|
|
2
|
-
export * from './src/
|
|
3
|
-
export * from './src/
|
|
4
|
-
export * from './src/
|
|
5
|
-
export * from './src/
|
|
1
|
+
export * from './src/i18n.token';
|
|
2
|
+
export * from './src/i18n.types';
|
|
3
|
+
export * from './src/i18n.messages';
|
|
4
|
+
export * from './src/i18n.service';
|
|
5
|
+
export * from './src/i18n.pipe';
|