@sd-angular/core 19.0.0-beta.103 → 19.0.0-beta.105
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/assets/scss/README.md +433 -353
- package/assets/scss/core/form.scss +43 -1
- package/assets/scss/core/utilities/_base.scss +6 -6
- package/assets/scss/core/utilities/_grid.scss +4 -3
- package/assets/scss/core/utilities/_index.scss +1 -1
- package/assets/scss/core/utilities/_sizing.scss +2 -2
- package/assets/scss/sd-core.scss +0 -2
- package/components/badge/src/badge.component.d.ts +20 -3
- package/components/button/src/button.component.d.ts +2 -1
- package/components/ckeditor-styles/index.d.ts +1 -0
- package/components/ckeditor-styles/src/ckeditor-styles.component.d.ts +25 -0
- package/components/form-generic/src/models/form-generic-component.model.d.ts +5 -6
- package/components/form-generic/src/models/form-generic-expression.model.d.ts +1 -1
- package/components/history/models/history.model.d.ts +2 -2
- package/components/inform/index.d.ts +2 -0
- package/components/inform/src/inform-action.directive.d.ts +9 -0
- package/components/inform/src/inform.component.d.ts +59 -0
- package/components/modal/src/modal.component.d.ts +3 -2
- package/components/query-bar/src/{actions-bar.component.d.ts → components/actions-bar/actions-bar.component.d.ts} +8 -11
- package/components/query-bar/src/{build-chip.component.d.ts → components/build-chip/build-chip.component.d.ts} +2 -2
- package/components/query-bar/src/{chip-popover.component.d.ts → components/chip-popover/chip-popover.component.d.ts} +2 -2
- package/components/query-bar/src/{field-picker.component.d.ts → components/field-picker/field-picker.component.d.ts} +1 -1
- package/components/query-bar/src/{inline-chip.component.d.ts → components/inline-chip/inline-chip.component.d.ts} +2 -2
- package/components/query-bar/src/{inline-value-chip.component.d.ts → components/inline-value-chip/inline-value-chip.component.d.ts} +2 -2
- package/components/query-bar/src/{popover-chip.component.d.ts → components/popover-chip/popover-chip.component.d.ts} +2 -2
- package/components/query-bar/src/{saved-filters-menu.component.d.ts → components/saved-filters-menu/saved-filters-menu.component.d.ts} +1 -1
- package/components/query-bar/src/query-bar.component.d.ts +3 -3
- package/components/query-bar/src/query-bar.model.d.ts +1 -1
- package/components/section/src/section.component.d.ts +2 -1
- package/components/stepper/index.d.ts +2 -0
- package/components/stepper/src/step.component.d.ts +17 -0
- package/components/stepper/src/stepper.component.d.ts +33 -0
- package/components/tab/index.d.ts +2 -0
- package/components/tab/src/tab-group.component.d.ts +37 -0
- package/components/tab/src/tab.component.d.ts +13 -0
- package/components/tab-router/src/decorators/tab.decorator.d.ts +2 -2
- package/components/tab-router/src/models/tab-router.model.d.ts +2 -2
- package/components/table/index.d.ts +1 -0
- package/components/table/src/configurations/table.configuration.d.ts +3 -3
- package/components/table/src/directives/index.d.ts +1 -0
- package/components/table/src/directives/sd-table-group-def.directive.d.ts +44 -0
- package/components/table/src/models/index.d.ts +1 -0
- package/components/table/src/models/table-column.model.d.ts +13 -13
- package/components/table/src/models/table-command.model.d.ts +3 -2
- package/components/table/src/models/table-item.model.d.ts +19 -4
- package/components/table/src/models/table-option-export.model.d.ts +3 -3
- package/components/table/src/models/table-option-group.model.d.ts +19 -2
- package/components/table/src/models/table-option-selector.model.d.ts +17 -1
- package/components/table/src/models/table-option.model.d.ts +11 -2
- package/components/table/src/pipes/sd-group.pipe.d.ts +15 -1
- package/components/table/src/services/table-filter/table-filter.model.d.ts +9 -9
- package/components/table/src/services/table-filter/table-filter.service.d.ts +2 -2
- package/components/table/src/table.component.d.ts +29 -4
- package/fesm2022/sd-angular-core-components-anchor.mjs +2 -2
- package/fesm2022/sd-angular-core-components-anchor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-badge.mjs +18 -3
- package/fesm2022/sd-angular-core-components-badge.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs +2 -2
- package/fesm2022/sd-angular-core-components-button.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-ckeditor-styles.mjs +38 -0
- package/fesm2022/sd-angular-core-components-ckeditor-styles.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-document-builder.mjs +10 -8
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-editor.mjs +3 -2
- package/fesm2022/sd-angular-core-components-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-form-generic.mjs +49 -48
- package/fesm2022/sd-angular-core-components-form-generic.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs +3 -2
- package/fesm2022/sd-angular-core-components-history.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-inform.mjs +190 -0
- package/fesm2022/sd-angular-core-components-inform.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-mini-editor.mjs +4 -3
- package/fesm2022/sd-angular-core-components-mini-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-modal.mjs +2 -2
- package/fesm2022/sd-angular-core-components-modal.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-operator.mjs +1 -1
- package/fesm2022/sd-angular-core-components-operator.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-query-bar.mjs +15 -22
- package/fesm2022/sd-angular-core-components-query-bar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-section.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-splitter.mjs +5 -2
- package/fesm2022/sd-angular-core-components-splitter.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-stepper.mjs +140 -0
- package/fesm2022/sd-angular-core-components-stepper.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-tab-router.mjs +3 -3
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab.mjs +145 -0
- package/fesm2022/sd-angular-core-components-tab.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-table.mjs +284 -95
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +5 -6
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs +4 -4
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +5 -4
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date-range.mjs +3 -2
- package/fesm2022/sd-angular-core-forms-date-range.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +5 -4
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +5 -4
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-color.mjs +117 -0
- package/fesm2022/sd-angular-core-forms-input-color.mjs.map +1 -0
- package/fesm2022/sd-angular-core-forms-input-number.mjs +24 -2
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +26 -2
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +10 -10
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-switch.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-i18n.mjs +10 -0
- package/fesm2022/sd-angular-core-i18n.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-auth.mjs +4 -4
- package/fesm2022/sd-angular-core-modules-auth.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-layout.mjs +14 -14
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-permission.mjs +3 -3
- package/fesm2022/sd-angular-core-modules-permission.mjs.map +1 -1
- package/fesm2022/sd-angular-core-pipes.mjs +2 -2
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-api.mjs +3 -3
- package/fesm2022/sd-angular-core-services-api.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-cache.mjs +3 -2
- package/fesm2022/sd-angular-core-services-cache.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-excel.mjs +6 -5
- package/fesm2022/sd-angular-core-services-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-notify.mjs +3 -3
- package/fesm2022/sd-angular-core-services-notify.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-storage.mjs +2 -2
- package/fesm2022/sd-angular-core-services-storage.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/forms/autocomplete/src/autocomplete.component.d.ts +2 -1
- package/forms/checkbox/src/checkbox.component.d.ts +1 -1
- package/forms/chip/src/chip.component.d.ts +1 -1
- package/forms/chip-calendar/src/chip-calendar.component.d.ts +1 -1
- package/forms/date/src/date.component.d.ts +2 -1
- package/forms/date-range/src/date-range.component.d.ts +2 -1
- package/forms/datetime/src/datetime.component.d.ts +2 -1
- package/forms/input/src/input.component.d.ts +6 -2
- package/forms/input-color/index.d.ts +1 -0
- package/forms/input-color/src/input-color.component.d.ts +32 -0
- package/forms/input-number/src/input-number.component.d.ts +6 -2
- package/forms/radio/src/radio.component.d.ts +1 -1
- package/forms/select/src/select.component.d.ts +5 -5
- package/forms/switch/src/switch.component.d.ts +1 -1
- package/forms/textarea/src/textarea.component.d.ts +2 -1
- package/i18n/src/en.d.ts +2 -0
- package/modules/auth/configurations/auth.configuration.d.ts +4 -4
- package/modules/layout/configurations/layout.configuration.d.ts +3 -3
- package/modules/permission/src/configurations/permission.configuration.d.ts +3 -3
- package/package.json +123 -103
- package/sd-angular-core-19.0.0-beta.105.tgz +0 -0
- package/services/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.d.ts +3 -3
- package/services/confirm/src/lib/confirm.service.d.ts +9 -9
- package/utilities/models/src/icon.model.d.ts +1 -1
- package/assets/scss/bootstrap-4.6.2/_alert.scss +0 -52
- package/assets/scss/bootstrap-4.6.2/_badge.scss +0 -54
- package/assets/scss/bootstrap-4.6.2/_breadcrumb.scss +0 -42
- package/assets/scss/bootstrap-4.6.2/_button-group.scss +0 -163
- package/assets/scss/bootstrap-4.6.2/_buttons.scss +0 -142
- package/assets/scss/bootstrap-4.6.2/_card.scss +0 -286
- package/assets/scss/bootstrap-4.6.2/_carousel.scss +0 -200
- package/assets/scss/bootstrap-4.6.2/_close.scss +0 -40
- package/assets/scss/bootstrap-4.6.2/_code.scss +0 -48
- package/assets/scss/bootstrap-4.6.2/_custom-forms.scss +0 -526
- package/assets/scss/bootstrap-4.6.2/_dropdown.scss +0 -192
- package/assets/scss/bootstrap-4.6.2/_forms.scss +0 -347
- package/assets/scss/bootstrap-4.6.2/_functions.scss +0 -190
- package/assets/scss/bootstrap-4.6.2/_grid.scss +0 -73
- package/assets/scss/bootstrap-4.6.2/_images.scss +0 -42
- package/assets/scss/bootstrap-4.6.2/_input-group.scss +0 -211
- package/assets/scss/bootstrap-4.6.2/_jumbotron.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/_list-group.scss +0 -154
- package/assets/scss/bootstrap-4.6.2/_media.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/_mixins.scss +0 -47
- package/assets/scss/bootstrap-4.6.2/_modal.scss +0 -240
- package/assets/scss/bootstrap-4.6.2/_nav.scss +0 -125
- package/assets/scss/bootstrap-4.6.2/_navbar.scss +0 -332
- package/assets/scss/bootstrap-4.6.2/_pagination.scss +0 -74
- package/assets/scss/bootstrap-4.6.2/_popover.scss +0 -170
- package/assets/scss/bootstrap-4.6.2/_print.scss +0 -132
- package/assets/scss/bootstrap-4.6.2/_progress.scss +0 -47
- package/assets/scss/bootstrap-4.6.2/_reboot.scss +0 -484
- package/assets/scss/bootstrap-4.6.2/_root.scss +0 -19
- package/assets/scss/bootstrap-4.6.2/_spinners.scss +0 -65
- package/assets/scss/bootstrap-4.6.2/_tables.scss +0 -185
- package/assets/scss/bootstrap-4.6.2/_toasts.scss +0 -46
- package/assets/scss/bootstrap-4.6.2/_tooltip.scss +0 -115
- package/assets/scss/bootstrap-4.6.2/_transitions.scss +0 -26
- package/assets/scss/bootstrap-4.6.2/_type.scss +0 -125
- package/assets/scss/bootstrap-4.6.2/_utilities.scss +0 -18
- package/assets/scss/bootstrap-4.6.2/_variables.scss +0 -1150
- package/assets/scss/bootstrap-4.6.2/bootstrap-grid.scss +0 -30
- package/assets/scss/bootstrap-4.6.2/bootstrap-reboot.scss +0 -12
- package/assets/scss/bootstrap-4.6.2/bootstrap.scss +0 -44
- package/assets/scss/bootstrap-4.6.2/mixins/_alert.scss +0 -13
- package/assets/scss/bootstrap-4.6.2/mixins/_background-variant.scss +0 -23
- package/assets/scss/bootstrap-4.6.2/mixins/_badge.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_border-radius.scss +0 -76
- package/assets/scss/bootstrap-4.6.2/mixins/_box-shadow.scss +0 -20
- package/assets/scss/bootstrap-4.6.2/mixins/_breakpoints.scss +0 -123
- package/assets/scss/bootstrap-4.6.2/mixins/_buttons.scss +0 -110
- package/assets/scss/bootstrap-4.6.2/mixins/_caret.scss +0 -62
- package/assets/scss/bootstrap-4.6.2/mixins/_clearfix.scss +0 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_deprecate.scss +0 -10
- package/assets/scss/bootstrap-4.6.2/mixins/_float.scss +0 -14
- package/assets/scss/bootstrap-4.6.2/mixins/_forms.scss +0 -195
- package/assets/scss/bootstrap-4.6.2/mixins/_gradients.scss +0 -45
- package/assets/scss/bootstrap-4.6.2/mixins/_grid-framework.scss +0 -80
- package/assets/scss/bootstrap-4.6.2/mixins/_grid.scss +0 -69
- package/assets/scss/bootstrap-4.6.2/mixins/_hover.scss +0 -37
- package/assets/scss/bootstrap-4.6.2/mixins/_image.scss +0 -36
- package/assets/scss/bootstrap-4.6.2/mixins/_list-group.scss +0 -21
- package/assets/scss/bootstrap-4.6.2/mixins/_lists.scss +0 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_nav-divider.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_pagination.scss +0 -22
- package/assets/scss/bootstrap-4.6.2/mixins/_reset-text.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_resize.scss +0 -6
- package/assets/scss/bootstrap-4.6.2/mixins/_screen-reader.scss +0 -34
- package/assets/scss/bootstrap-4.6.2/mixins/_size.scss +0 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_table-row.scss +0 -39
- package/assets/scss/bootstrap-4.6.2/mixins/_text-emphasis.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_text-hide.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_text-truncate.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/mixins/_transition.scss +0 -26
- package/assets/scss/bootstrap-4.6.2/mixins/_visibility.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_align.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_background.scss +0 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_borders.scss +0 -75
- package/assets/scss/bootstrap-4.6.2/utilities/_clearfix.scss +0 -3
- package/assets/scss/bootstrap-4.6.2/utilities/_display.scss +0 -26
- package/assets/scss/bootstrap-4.6.2/utilities/_embed.scss +0 -39
- package/assets/scss/bootstrap-4.6.2/utilities/_flex.scss +0 -51
- package/assets/scss/bootstrap-4.6.2/utilities/_float.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_interactions.scss +0 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_overflow.scss +0 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_position.scss +0 -32
- package/assets/scss/bootstrap-4.6.2/utilities/_screenreaders.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_shadows.scss +0 -6
- package/assets/scss/bootstrap-4.6.2/utilities/_sizing.scss +0 -20
- package/assets/scss/bootstrap-4.6.2/utilities/_spacing.scss +0 -73
- package/assets/scss/bootstrap-4.6.2/utilities/_stretched-link.scss +0 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_text.scss +0 -72
- package/assets/scss/bootstrap-4.6.2/utilities/_visibility.scss +0 -13
- package/assets/scss/bootstrap-4.6.2/vendor/_rfs.scss +0 -228
- package/assets/scss/core/bootstrap.scss +0 -13
- package/sd-angular-core-19.0.0-beta.103.tgz +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
|
+
import { Size } from '@sdcorejs/utils/models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const SD_INPUT_COLOR_HEX_PATTERN = "^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$";
|
|
6
|
+
export declare class SdInputColor {
|
|
7
|
+
#private;
|
|
8
|
+
readonly hexPattern = "^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$";
|
|
9
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
readonly helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly size: import("@angular/core").InputSignal<Size>;
|
|
13
|
+
readonly appearance: import("@angular/core").InputSignal<MatFormFieldAppearance | undefined>;
|
|
14
|
+
readonly form: import("@angular/core").InputSignal<any>;
|
|
15
|
+
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
16
|
+
readonly autoId: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly viewed: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly valueModel: import("@angular/core").ModelSignal<string | null | undefined>;
|
|
22
|
+
readonly sdChange: import("@angular/core").OutputEmitterRef<string | null | undefined>;
|
|
23
|
+
readonly picker: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
24
|
+
readonly pickerSafeValue: import("@angular/core").Signal<string>;
|
|
25
|
+
readonly swatchColor: import("@angular/core").Signal<string>;
|
|
26
|
+
onInputChange: (v: unknown) => void;
|
|
27
|
+
openPicker: () => void;
|
|
28
|
+
onPickerChange: (ev: Event) => void;
|
|
29
|
+
clear: (ev?: Event) => void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdInputColor, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdInputColor, "sd-input-color", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "valueModel": { "alias": "model"; "required": false; "isSignal": true; }; }, { "valueModel": "modelChange"; "sdChange": "sdChange"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -4,6 +4,7 @@ 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 { Size } from '@sdcorejs/utils/models';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
declare class SdInputNumberErrotStateMatcher implements ErrorStateMatcher {
|
|
9
10
|
private formControl;
|
|
@@ -31,7 +32,7 @@ export declare class SdInputNumber implements OnDestroy, OnInit, AfterViewInit {
|
|
|
31
32
|
readonly dataRequired: import("@angular/core").Signal<"true" | "false">;
|
|
32
33
|
readonly dataErrorMessage: import("@angular/core").Signal<string | null>;
|
|
33
34
|
name: import("@angular/core").InputSignal<string>;
|
|
34
|
-
size: import("@angular/core").InputSignal<
|
|
35
|
+
size: import("@angular/core").InputSignal<Size>;
|
|
35
36
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
36
37
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
37
38
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -62,6 +63,7 @@ export declare class SdInputNumber implements OnDestroy, OnInit, AfterViewInit {
|
|
|
62
63
|
sdFocus: import("@angular/core").OutputEmitterRef<void>;
|
|
63
64
|
sdBlur: import("@angular/core").OutputEmitterRef<any>;
|
|
64
65
|
keyupEnter: import("@angular/core").OutputEmitterRef<any>;
|
|
66
|
+
cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
65
67
|
sdFocusForceBlur: EventEmitter<void>;
|
|
66
68
|
formControl: SdFormControl;
|
|
67
69
|
inputControl: SdFormControl;
|
|
@@ -75,6 +77,8 @@ export declare class SdInputNumber implements OnDestroy, OnInit, AfterViewInit {
|
|
|
75
77
|
ngAfterViewInit(): void;
|
|
76
78
|
ngOnDestroy(): void;
|
|
77
79
|
reValidate: () => void;
|
|
80
|
+
showClear: () => boolean;
|
|
81
|
+
clear: ($event?: Event) => void;
|
|
78
82
|
onKeyupEnter: () => void;
|
|
79
83
|
onKeydown: (event: KeyboardEvent) => void;
|
|
80
84
|
onPaste(event: ClipboardEvent): void;
|
|
@@ -86,6 +90,6 @@ export declare class SdInputNumber implements OnDestroy, OnInit, AfterViewInit {
|
|
|
86
90
|
blur: () => void;
|
|
87
91
|
focus: () => void;
|
|
88
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdInputNumber, never>;
|
|
89
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdInputNumber, "sd-input-number", 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; }; "blurOnEnter": { "alias": "blurOnEnter"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "validator": { "alias": "validator"; "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; }; "valueModel": { "alias": "model"; "required": false; "isSignal": true; }; }, { "valueModel": "modelChange"; "sdChange": "sdChange"; "sdFocus": "sdFocus"; "sdBlur": "sdBlur"; "keyupEnter": "keyupEnter"; "sdFocusForceBlur": "sdFocusForceBlur"; }, ["sdLabelTemplate", "sdValueTemplate", "sdViewDef", "sdSuffixDef"], ["[sdLabel]"], true, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdInputNumber, "sd-input-number", 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; }; "blurOnEnter": { "alias": "blurOnEnter"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "validator": { "alias": "validator"; "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; }; "valueModel": { "alias": "model"; "required": false; "isSignal": true; }; }, { "valueModel": "modelChange"; "sdChange": "sdChange"; "sdFocus": "sdFocus"; "sdBlur": "sdBlur"; "keyupEnter": "keyupEnter"; "cleared": "cleared"; "sdFocusForceBlur": "sdFocusForceBlur"; }, ["sdLabelTemplate", "sdValueTemplate", "sdViewDef", "sdSuffixDef"], ["[sdLabel]"], true, never>;
|
|
90
94
|
}
|
|
91
95
|
export {};
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { SdLabelDefDirective, SdSuffixDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
|
|
4
4
|
import { SdFormControl } from '@sd-angular/core/forms/models';
|
|
5
|
-
import { Color } from '@
|
|
5
|
+
import { Color } from '@sdcorejs/utils/models';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SdRadio implements OnInit, AfterViewInit, OnDestroy {
|
|
8
8
|
#private;
|
|
@@ -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 { Size } from '@sdcorejs/utils/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;
|
|
@@ -27,14 +27,14 @@ export declare class SdSelect<T extends object | string | number = Record<string
|
|
|
27
27
|
readonly dataRequired: Signal<"true" | "false">;
|
|
28
28
|
readonly dataErrorMessage: Signal<string | null>;
|
|
29
29
|
name: import("@angular/core").InputSignal<string>;
|
|
30
|
-
size: import("@angular/core").InputSignal<
|
|
30
|
+
size: import("@angular/core").InputSignal<Size>;
|
|
31
31
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
32
32
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
33
33
|
helperText: import("@angular/core").InputSignal<string | undefined>;
|
|
34
34
|
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
-
valueField: import("@angular/core").InputSignal<
|
|
36
|
-
displayField: import("@angular/core").InputSignal<
|
|
37
|
-
disabledField: import("@angular/core").InputSignal<"" |
|
|
35
|
+
valueField: import("@angular/core").InputSignal<T extends object ? { [Key in keyof T & string]: T[Key] extends string | number | boolean | Function | Date | null | undefined ? Key : T[Key] extends any[] ? Key : T[Key] extends object ? Key | `${Key}.${T[Key] extends infer T_1 ? T_1 extends T[Key] ? T_1 extends object ? { [Key_1 in keyof T_1 & string]: T_1[Key_1] extends string | number | boolean | Function | Date | null | undefined ? Key_1 : T_1[Key_1] extends any[] ? Key_1 : T_1[Key_1] extends object ? Key_1 | `${Key_1}.${T_1[Key_1] extends infer T_2 ? T_2 extends T_1[Key_1] ? T_2 extends object ? { [Key_2 in keyof T_2 & string]: T_2[Key_2] extends string | number | boolean | Function | Date | null | undefined ? Key_2 : T_2[Key_2] extends any[] ? Key_2 : T_2[Key_2] extends object ? Key_2 | `${Key_2}.${T_2[Key_2] extends infer T_3 ? T_3 extends T_2[Key_2] ? T_3 extends object ? { [Key_3 in keyof T_3 & string]: T_3[Key_3] extends string | number | boolean | Function | Date | null | undefined ? Key_3 : T_3[Key_3] extends any[] ? Key_3 : T_3[Key_3] extends object ? Key_3 : Key_3; }[keyof T_3 & string] : string : never : never}` : Key_2; }[keyof T_2 & string] : string : never : never}` : Key_1; }[keyof T_1 & string] : string : never : never}` : Key; }[keyof T & string] : string>;
|
|
36
|
+
displayField: import("@angular/core").InputSignal<T extends object ? { [Key in keyof T & string]: T[Key] extends string | number | boolean | Function | Date | null | undefined ? Key : T[Key] extends any[] ? Key : T[Key] extends object ? Key | `${Key}.${T[Key] extends infer T_1 ? T_1 extends T[Key] ? T_1 extends object ? { [Key_1 in keyof T_1 & string]: T_1[Key_1] extends string | number | boolean | Function | Date | null | undefined ? Key_1 : T_1[Key_1] extends any[] ? Key_1 : T_1[Key_1] extends object ? Key_1 | `${Key_1}.${T_1[Key_1] extends infer T_2 ? T_2 extends T_1[Key_1] ? T_2 extends object ? { [Key_2 in keyof T_2 & string]: T_2[Key_2] extends string | number | boolean | Function | Date | null | undefined ? Key_2 : T_2[Key_2] extends any[] ? Key_2 : T_2[Key_2] extends object ? Key_2 | `${Key_2}.${T_2[Key_2] extends infer T_3 ? T_3 extends T_2[Key_2] ? T_3 extends object ? { [Key_3 in keyof T_3 & string]: T_3[Key_3] extends string | number | boolean | Function | Date | null | undefined ? Key_3 : T_3[Key_3] extends any[] ? Key_3 : T_3[Key_3] extends object ? Key_3 : Key_3; }[keyof T_3 & string] : string : never : never}` : Key_2; }[keyof T_2 & string] : string : never : never}` : Key_1; }[keyof T_1 & string] : string : never : never}` : Key; }[keyof T & string] : string>;
|
|
37
|
+
disabledField: import("@angular/core").InputSignal<"" | (T extends object ? { [Key in keyof T & string]: T[Key] extends string | number | boolean | Function | Date | null | undefined ? Key : T[Key] extends any[] ? Key : T[Key] extends object ? Key | `${Key}.${T[Key] extends infer T_1 ? T_1 extends T[Key] ? T_1 extends object ? { [Key_1 in keyof T_1 & string]: T_1[Key_1] extends string | number | boolean | Function | Date | null | undefined ? Key_1 : T_1[Key_1] extends any[] ? Key_1 : T_1[Key_1] extends object ? Key_1 | `${Key_1}.${T_1[Key_1] extends infer T_2 ? T_2 extends T_1[Key_1] ? T_2 extends object ? { [Key_2 in keyof T_2 & string]: T_2[Key_2] extends string | number | boolean | Function | Date | null | undefined ? Key_2 : T_2[Key_2] extends any[] ? Key_2 : T_2[Key_2] extends object ? Key_2 | `${Key_2}.${T_2[Key_2] extends infer T_3 ? T_3 extends T_2[Key_2] ? T_3 extends object ? { [Key_3 in keyof T_3 & string]: T_3[Key_3] extends string | number | boolean | Function | Date | null | undefined ? Key_3 : T_3[Key_3] extends any[] ? Key_3 : T_3[Key_3] extends object ? Key_3 : Key_3; }[keyof T_3 & string] : string : never : never}` : Key_2; }[keyof T_2 & string] : string : never : never}` : Key_1; }[keyof T_1 & string] : string : never : never}` : Key; }[keyof T & string] : string)>;
|
|
38
38
|
cacheChecksum: import("@angular/core").InputSignal<any>;
|
|
39
39
|
limit: import("@angular/core").InputSignal<number>;
|
|
40
40
|
hyperlink: import("@angular/core").InputSignal<string | null | undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { SdFormControl } from '@sd-angular/core/forms/models';
|
|
4
|
-
import { Color } from '@
|
|
4
|
+
import { Color } from '@sdcorejs/utils/models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SdSwitch implements OnInit, AfterViewInit, OnDestroy {
|
|
7
7
|
#private;
|
|
@@ -3,6 +3,7 @@ import { FormGroup } 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 { Size } from '@sdcorejs/utils/models';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SdTextarea implements OnInit, AfterViewInit, OnDestroy {
|
|
8
9
|
#private;
|
|
@@ -22,7 +23,7 @@ export declare class SdTextarea implements OnInit, AfterViewInit, OnDestroy {
|
|
|
22
23
|
readonly dataPattern: import("@angular/core").Signal<string | null>;
|
|
23
24
|
readonly dataErrorMessage: import("@angular/core").Signal<string | null>;
|
|
24
25
|
name: import("@angular/core").InputSignal<string>;
|
|
25
|
-
size: import("@angular/core").InputSignal<
|
|
26
|
+
size: import("@angular/core").InputSignal<Size>;
|
|
26
27
|
form: import("@angular/core").InputSignalWithTransform<FormGroup<any> | undefined, any>;
|
|
27
28
|
label: import("@angular/core").InputSignalWithTransform<string | undefined, string | null | undefined>;
|
|
28
29
|
helperText: import("@angular/core").InputSignalWithTransform<string | undefined, string | null | undefined>;
|
package/i18n/src/en.d.ts
CHANGED
|
@@ -245,6 +245,8 @@ export declare const EN_MESSAGES: {
|
|
|
245
245
|
readonly 'core.component.form-builder.default': "Default";
|
|
246
246
|
readonly 'core.component.form-builder.show-more': "Show more";
|
|
247
247
|
readonly 'core.component.form-builder.show-less': "Show less";
|
|
248
|
+
readonly 'core.component.inform.show-more': "Show more";
|
|
249
|
+
readonly 'core.component.inform.show-less': "Show less";
|
|
248
250
|
readonly 'core.component.form-builder.row-overflow': "Cannot move to this row because the total size exceeds 12 columns";
|
|
249
251
|
readonly 'core.component.form-builder.upload-source.all': "All";
|
|
250
252
|
readonly 'core.component.form-builder.upload-source.photo-library': "Pick from library";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { CanActivate } from '@angular/router';
|
|
3
|
-
import {
|
|
3
|
+
import { MaybeAsync } from '@sdcorejs/utils/models';
|
|
4
4
|
import { SdAuthInfo } from '../services';
|
|
5
5
|
export interface ISdAuthConfiguration {
|
|
6
6
|
action?: IAuthConfigurationAction;
|
|
@@ -8,12 +8,12 @@ export interface ISdAuthConfiguration {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const SD_AUTH_CONFIGURATION: InjectionToken<ISdAuthConfiguration>;
|
|
10
10
|
interface IAuthConfigurationAction {
|
|
11
|
-
signout: () =>
|
|
12
|
-
changePassword?: () =>
|
|
11
|
+
signout: () => MaybeAsync<void>;
|
|
12
|
+
changePassword?: () => MaybeAsync<void>;
|
|
13
13
|
}
|
|
14
14
|
interface IAuthConfigurationGuard {
|
|
15
15
|
auth?: CanActivate['canActivate'];
|
|
16
16
|
portal?: CanActivate['canActivate'];
|
|
17
|
-
authInfo: () =>
|
|
17
|
+
authInfo: () => MaybeAsync<SdAuthInfo>;
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { MaybeAsync } from '@sdcorejs/utils/models';
|
|
3
3
|
export interface ISdLayoutConfiguration {
|
|
4
4
|
homeUrl?: string;
|
|
5
|
-
sidebar: ISdSidebarConfiguration | (() =>
|
|
6
|
-
userInfo: SdLayoutUserInfo | (() =>
|
|
5
|
+
sidebar: ISdSidebarConfiguration | (() => MaybeAsync<ISdSidebarConfiguration>);
|
|
6
|
+
userInfo: SdLayoutUserInfo | (() => MaybeAsync<SdLayoutUserInfo>);
|
|
7
7
|
signout: () => void | Promise<void>;
|
|
8
8
|
changePassword?: () => void | Promise<void>;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { MaybeAsync } from '@sdcorejs/utils/models';
|
|
3
3
|
/**
|
|
4
4
|
* Cấu hình trung tâm cho module permission.
|
|
5
5
|
*
|
|
@@ -33,7 +33,7 @@ export interface ISdPermissionConfiguration {
|
|
|
33
33
|
* Ví dụ giá trị trả về:
|
|
34
34
|
* - `['PRODUCT_C_EMPLOYEE_VIEW', 'PRODUCT_C_EMPLOYEE_UPDATE']`
|
|
35
35
|
*/
|
|
36
|
-
loadPermissions: () =>
|
|
36
|
+
loadPermissions: () => MaybeAsync<string[]>;
|
|
37
37
|
/**
|
|
38
38
|
* Callback xử lý khi user không có quyền truy cập URL hiện tại.
|
|
39
39
|
* Thường dùng để điều hướng sang trang forbidden hoặc hiển thị thông báo.
|
|
@@ -45,7 +45,7 @@ export interface ISdPermissionConfiguration {
|
|
|
45
45
|
* Cung cấp access token hiện tại cho các tác vụ liên quan permission.
|
|
46
46
|
* Hỗ trợ trả về đồng bộ, Promise hoặc Observable.
|
|
47
47
|
*/
|
|
48
|
-
getToken?: () =>
|
|
48
|
+
getToken?: () => MaybeAsync<string | undefined | null>;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* InjectionToken cho cấu hình permission.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-angular/core",
|
|
3
|
-
"version": "19.0.0-beta.
|
|
3
|
+
"version": "19.0.0-beta.105",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
@@ -32,17 +32,13 @@
|
|
|
32
32
|
"types": "./index.d.ts",
|
|
33
33
|
"default": "./fesm2022/sd-angular-core.mjs"
|
|
34
34
|
},
|
|
35
|
-
"./configurations": {
|
|
36
|
-
"types": "./configurations/index.d.ts",
|
|
37
|
-
"default": "./fesm2022/sd-angular-core-configurations.mjs"
|
|
38
|
-
},
|
|
39
35
|
"./directives": {
|
|
40
36
|
"types": "./directives/index.d.ts",
|
|
41
37
|
"default": "./fesm2022/sd-angular-core-directives.mjs"
|
|
42
38
|
},
|
|
43
|
-
"./
|
|
44
|
-
"types": "./
|
|
45
|
-
"default": "./fesm2022/sd-angular-core-
|
|
39
|
+
"./configurations": {
|
|
40
|
+
"types": "./configurations/index.d.ts",
|
|
41
|
+
"default": "./fesm2022/sd-angular-core-configurations.mjs"
|
|
46
42
|
},
|
|
47
43
|
"./forms": {
|
|
48
44
|
"types": "./forms/index.d.ts",
|
|
@@ -52,6 +48,10 @@
|
|
|
52
48
|
"types": "./handlers/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/sd-angular-core-handlers.mjs"
|
|
54
50
|
},
|
|
51
|
+
"./components": {
|
|
52
|
+
"types": "./components/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/sd-angular-core-components.mjs"
|
|
54
|
+
},
|
|
55
55
|
"./i18n": {
|
|
56
56
|
"types": "./i18n/index.d.ts",
|
|
57
57
|
"default": "./fesm2022/sd-angular-core-i18n.mjs"
|
|
@@ -80,45 +80,113 @@
|
|
|
80
80
|
"types": "./utilities/index.d.ts",
|
|
81
81
|
"default": "./fesm2022/sd-angular-core-utilities.mjs"
|
|
82
82
|
},
|
|
83
|
+
"./forms/autocomplete": {
|
|
84
|
+
"types": "./forms/autocomplete/index.d.ts",
|
|
85
|
+
"default": "./fesm2022/sd-angular-core-forms-autocomplete.mjs"
|
|
86
|
+
},
|
|
87
|
+
"./forms/checkbox": {
|
|
88
|
+
"types": "./forms/checkbox/index.d.ts",
|
|
89
|
+
"default": "./fesm2022/sd-angular-core-forms-checkbox.mjs"
|
|
90
|
+
},
|
|
91
|
+
"./forms/chip": {
|
|
92
|
+
"types": "./forms/chip/index.d.ts",
|
|
93
|
+
"default": "./fesm2022/sd-angular-core-forms-chip.mjs"
|
|
94
|
+
},
|
|
95
|
+
"./forms/chip-calendar": {
|
|
96
|
+
"types": "./forms/chip-calendar/index.d.ts",
|
|
97
|
+
"default": "./fesm2022/sd-angular-core-forms-chip-calendar.mjs"
|
|
98
|
+
},
|
|
99
|
+
"./forms/date": {
|
|
100
|
+
"types": "./forms/date/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/sd-angular-core-forms-date.mjs"
|
|
102
|
+
},
|
|
103
|
+
"./forms/date-range": {
|
|
104
|
+
"types": "./forms/date-range/index.d.ts",
|
|
105
|
+
"default": "./fesm2022/sd-angular-core-forms-date-range.mjs"
|
|
106
|
+
},
|
|
107
|
+
"./forms/datetime": {
|
|
108
|
+
"types": "./forms/datetime/index.d.ts",
|
|
109
|
+
"default": "./fesm2022/sd-angular-core-forms-datetime.mjs"
|
|
110
|
+
},
|
|
111
|
+
"./forms/directives": {
|
|
112
|
+
"types": "./forms/directives/index.d.ts",
|
|
113
|
+
"default": "./fesm2022/sd-angular-core-forms-directives.mjs"
|
|
114
|
+
},
|
|
115
|
+
"./forms/input": {
|
|
116
|
+
"types": "./forms/input/index.d.ts",
|
|
117
|
+
"default": "./fesm2022/sd-angular-core-forms-input.mjs"
|
|
118
|
+
},
|
|
119
|
+
"./forms/input-color": {
|
|
120
|
+
"types": "./forms/input-color/index.d.ts",
|
|
121
|
+
"default": "./fesm2022/sd-angular-core-forms-input-color.mjs"
|
|
122
|
+
},
|
|
123
|
+
"./forms/input-number": {
|
|
124
|
+
"types": "./forms/input-number/index.d.ts",
|
|
125
|
+
"default": "./fesm2022/sd-angular-core-forms-input-number.mjs"
|
|
126
|
+
},
|
|
127
|
+
"./forms/label": {
|
|
128
|
+
"types": "./forms/label/index.d.ts",
|
|
129
|
+
"default": "./fesm2022/sd-angular-core-forms-label.mjs"
|
|
130
|
+
},
|
|
131
|
+
"./forms/models": {
|
|
132
|
+
"types": "./forms/models/index.d.ts",
|
|
133
|
+
"default": "./fesm2022/sd-angular-core-forms-models.mjs"
|
|
134
|
+
},
|
|
135
|
+
"./forms/radio": {
|
|
136
|
+
"types": "./forms/radio/index.d.ts",
|
|
137
|
+
"default": "./fesm2022/sd-angular-core-forms-radio.mjs"
|
|
138
|
+
},
|
|
139
|
+
"./forms/select": {
|
|
140
|
+
"types": "./forms/select/index.d.ts",
|
|
141
|
+
"default": "./fesm2022/sd-angular-core-forms-select.mjs"
|
|
142
|
+
},
|
|
143
|
+
"./forms/switch": {
|
|
144
|
+
"types": "./forms/switch/index.d.ts",
|
|
145
|
+
"default": "./fesm2022/sd-angular-core-forms-switch.mjs"
|
|
146
|
+
},
|
|
147
|
+
"./forms/textarea": {
|
|
148
|
+
"types": "./forms/textarea/index.d.ts",
|
|
149
|
+
"default": "./fesm2022/sd-angular-core-forms-textarea.mjs"
|
|
150
|
+
},
|
|
83
151
|
"./components/autoid-inspector": {
|
|
84
152
|
"types": "./components/autoid-inspector/index.d.ts",
|
|
85
153
|
"default": "./fesm2022/sd-angular-core-components-autoid-inspector.mjs"
|
|
86
154
|
},
|
|
155
|
+
"./components/badge": {
|
|
156
|
+
"types": "./components/badge/index.d.ts",
|
|
157
|
+
"default": "./fesm2022/sd-angular-core-components-badge.mjs"
|
|
158
|
+
},
|
|
87
159
|
"./components/avatar": {
|
|
88
160
|
"types": "./components/avatar/index.d.ts",
|
|
89
161
|
"default": "./fesm2022/sd-angular-core-components-avatar.mjs"
|
|
90
162
|
},
|
|
91
|
-
"./components/
|
|
92
|
-
"types": "./components/
|
|
93
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
163
|
+
"./components/button": {
|
|
164
|
+
"types": "./components/button/index.d.ts",
|
|
165
|
+
"default": "./fesm2022/sd-angular-core-components-button.mjs"
|
|
166
|
+
},
|
|
167
|
+
"./components/chart": {
|
|
168
|
+
"types": "./components/chart/index.d.ts",
|
|
169
|
+
"default": "./fesm2022/sd-angular-core-components-chart.mjs"
|
|
94
170
|
},
|
|
95
171
|
"./components/base": {
|
|
96
172
|
"types": "./components/base/index.d.ts",
|
|
97
173
|
"default": "./fesm2022/sd-angular-core-components-base.mjs"
|
|
98
174
|
},
|
|
99
|
-
"./components/
|
|
100
|
-
"types": "./components/
|
|
101
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
175
|
+
"./components/ckeditor-styles": {
|
|
176
|
+
"types": "./components/ckeditor-styles/index.d.ts",
|
|
177
|
+
"default": "./fesm2022/sd-angular-core-components-ckeditor-styles.mjs"
|
|
102
178
|
},
|
|
103
|
-
"./components/
|
|
104
|
-
"types": "./components/
|
|
105
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
106
|
-
},
|
|
107
|
-
"./components/code-editor": {
|
|
108
|
-
"types": "./components/code-editor/index.d.ts",
|
|
109
|
-
"default": "./fesm2022/sd-angular-core-components-code-editor.mjs"
|
|
179
|
+
"./components/editor": {
|
|
180
|
+
"types": "./components/editor/index.d.ts",
|
|
181
|
+
"default": "./fesm2022/sd-angular-core-components-editor.mjs"
|
|
110
182
|
},
|
|
111
183
|
"./components/document-builder": {
|
|
112
184
|
"types": "./components/document-builder/index.d.ts",
|
|
113
185
|
"default": "./fesm2022/sd-angular-core-components-document-builder.mjs"
|
|
114
186
|
},
|
|
115
|
-
"./components/editor": {
|
|
116
|
-
"types": "./components/editor/index.d.ts",
|
|
117
|
-
"default": "./fesm2022/sd-angular-core-components-editor.mjs"
|
|
118
|
-
},
|
|
119
|
-
"./components/chart": {
|
|
120
|
-
"types": "./components/chart/index.d.ts",
|
|
121
|
-
"default": "./fesm2022/sd-angular-core-components-chart.mjs"
|
|
187
|
+
"./components/code-editor": {
|
|
188
|
+
"types": "./components/code-editor/index.d.ts",
|
|
189
|
+
"default": "./fesm2022/sd-angular-core-components-code-editor.mjs"
|
|
122
190
|
},
|
|
123
191
|
"./components/form-generic": {
|
|
124
192
|
"types": "./components/form-generic/index.d.ts",
|
|
@@ -132,14 +200,26 @@
|
|
|
132
200
|
"types": "./components/import-excel/index.d.ts",
|
|
133
201
|
"default": "./fesm2022/sd-angular-core-components-import-excel.mjs"
|
|
134
202
|
},
|
|
135
|
-
"./components/
|
|
136
|
-
"types": "./components/
|
|
137
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
203
|
+
"./components/inform": {
|
|
204
|
+
"types": "./components/inform/index.d.ts",
|
|
205
|
+
"default": "./fesm2022/sd-angular-core-components-inform.mjs"
|
|
138
206
|
},
|
|
139
207
|
"./components/mini-editor": {
|
|
140
208
|
"types": "./components/mini-editor/index.d.ts",
|
|
141
209
|
"default": "./fesm2022/sd-angular-core-components-mini-editor.mjs"
|
|
142
210
|
},
|
|
211
|
+
"./components/operator": {
|
|
212
|
+
"types": "./components/operator/index.d.ts",
|
|
213
|
+
"default": "./fesm2022/sd-angular-core-components-operator.mjs"
|
|
214
|
+
},
|
|
215
|
+
"./components/modal": {
|
|
216
|
+
"types": "./components/modal/index.d.ts",
|
|
217
|
+
"default": "./fesm2022/sd-angular-core-components-modal.mjs"
|
|
218
|
+
},
|
|
219
|
+
"./components/preview": {
|
|
220
|
+
"types": "./components/preview/index.d.ts",
|
|
221
|
+
"default": "./fesm2022/sd-angular-core-components-preview.mjs"
|
|
222
|
+
},
|
|
143
223
|
"./components/query-bar": {
|
|
144
224
|
"types": "./components/query-bar/index.d.ts",
|
|
145
225
|
"default": "./fesm2022/sd-angular-core-components-query-bar.mjs"
|
|
@@ -148,10 +228,6 @@
|
|
|
148
228
|
"types": "./components/query-builder/index.d.ts",
|
|
149
229
|
"default": "./fesm2022/sd-angular-core-components-query-builder.mjs"
|
|
150
230
|
},
|
|
151
|
-
"./components/preview": {
|
|
152
|
-
"types": "./components/preview/index.d.ts",
|
|
153
|
-
"default": "./fesm2022/sd-angular-core-components-preview.mjs"
|
|
154
|
-
},
|
|
155
231
|
"./components/quick-action": {
|
|
156
232
|
"types": "./components/quick-action/index.d.ts",
|
|
157
233
|
"default": "./fesm2022/sd-angular-core-components-quick-action.mjs"
|
|
@@ -168,18 +244,22 @@
|
|
|
168
244
|
"types": "./components/splitter/index.d.ts",
|
|
169
245
|
"default": "./fesm2022/sd-angular-core-components-splitter.mjs"
|
|
170
246
|
},
|
|
247
|
+
"./components/stepper": {
|
|
248
|
+
"types": "./components/stepper/index.d.ts",
|
|
249
|
+
"default": "./fesm2022/sd-angular-core-components-stepper.mjs"
|
|
250
|
+
},
|
|
171
251
|
"./components/tab-router": {
|
|
172
252
|
"types": "./components/tab-router/index.d.ts",
|
|
173
253
|
"default": "./fesm2022/sd-angular-core-components-tab-router.mjs"
|
|
174
254
|
},
|
|
255
|
+
"./components/tab": {
|
|
256
|
+
"types": "./components/tab/index.d.ts",
|
|
257
|
+
"default": "./fesm2022/sd-angular-core-components-tab.mjs"
|
|
258
|
+
},
|
|
175
259
|
"./components/table": {
|
|
176
260
|
"types": "./components/table/index.d.ts",
|
|
177
261
|
"default": "./fesm2022/sd-angular-core-components-table.mjs"
|
|
178
262
|
},
|
|
179
|
-
"./forms/autocomplete": {
|
|
180
|
-
"types": "./forms/autocomplete/index.d.ts",
|
|
181
|
-
"default": "./fesm2022/sd-angular-core-forms-autocomplete.mjs"
|
|
182
|
-
},
|
|
183
263
|
"./components/view": {
|
|
184
264
|
"types": "./components/view/index.d.ts",
|
|
185
265
|
"default": "./fesm2022/sd-angular-core-components-view.mjs"
|
|
@@ -188,66 +268,6 @@
|
|
|
188
268
|
"types": "./components/upload-file/index.d.ts",
|
|
189
269
|
"default": "./fesm2022/sd-angular-core-components-upload-file.mjs"
|
|
190
270
|
},
|
|
191
|
-
"./forms/checkbox": {
|
|
192
|
-
"types": "./forms/checkbox/index.d.ts",
|
|
193
|
-
"default": "./fesm2022/sd-angular-core-forms-checkbox.mjs"
|
|
194
|
-
},
|
|
195
|
-
"./forms/chip": {
|
|
196
|
-
"types": "./forms/chip/index.d.ts",
|
|
197
|
-
"default": "./fesm2022/sd-angular-core-forms-chip.mjs"
|
|
198
|
-
},
|
|
199
|
-
"./forms/date": {
|
|
200
|
-
"types": "./forms/date/index.d.ts",
|
|
201
|
-
"default": "./fesm2022/sd-angular-core-forms-date.mjs"
|
|
202
|
-
},
|
|
203
|
-
"./forms/chip-calendar": {
|
|
204
|
-
"types": "./forms/chip-calendar/index.d.ts",
|
|
205
|
-
"default": "./fesm2022/sd-angular-core-forms-chip-calendar.mjs"
|
|
206
|
-
},
|
|
207
|
-
"./forms/date-range": {
|
|
208
|
-
"types": "./forms/date-range/index.d.ts",
|
|
209
|
-
"default": "./fesm2022/sd-angular-core-forms-date-range.mjs"
|
|
210
|
-
},
|
|
211
|
-
"./forms/datetime": {
|
|
212
|
-
"types": "./forms/datetime/index.d.ts",
|
|
213
|
-
"default": "./fesm2022/sd-angular-core-forms-datetime.mjs"
|
|
214
|
-
},
|
|
215
|
-
"./forms/directives": {
|
|
216
|
-
"types": "./forms/directives/index.d.ts",
|
|
217
|
-
"default": "./fesm2022/sd-angular-core-forms-directives.mjs"
|
|
218
|
-
},
|
|
219
|
-
"./forms/input-number": {
|
|
220
|
-
"types": "./forms/input-number/index.d.ts",
|
|
221
|
-
"default": "./fesm2022/sd-angular-core-forms-input-number.mjs"
|
|
222
|
-
},
|
|
223
|
-
"./forms/input": {
|
|
224
|
-
"types": "./forms/input/index.d.ts",
|
|
225
|
-
"default": "./fesm2022/sd-angular-core-forms-input.mjs"
|
|
226
|
-
},
|
|
227
|
-
"./forms/label": {
|
|
228
|
-
"types": "./forms/label/index.d.ts",
|
|
229
|
-
"default": "./fesm2022/sd-angular-core-forms-label.mjs"
|
|
230
|
-
},
|
|
231
|
-
"./forms/models": {
|
|
232
|
-
"types": "./forms/models/index.d.ts",
|
|
233
|
-
"default": "./fesm2022/sd-angular-core-forms-models.mjs"
|
|
234
|
-
},
|
|
235
|
-
"./forms/radio": {
|
|
236
|
-
"types": "./forms/radio/index.d.ts",
|
|
237
|
-
"default": "./fesm2022/sd-angular-core-forms-radio.mjs"
|
|
238
|
-
},
|
|
239
|
-
"./forms/select": {
|
|
240
|
-
"types": "./forms/select/index.d.ts",
|
|
241
|
-
"default": "./fesm2022/sd-angular-core-forms-select.mjs"
|
|
242
|
-
},
|
|
243
|
-
"./forms/switch": {
|
|
244
|
-
"types": "./forms/switch/index.d.ts",
|
|
245
|
-
"default": "./fesm2022/sd-angular-core-forms-switch.mjs"
|
|
246
|
-
},
|
|
247
|
-
"./forms/textarea": {
|
|
248
|
-
"types": "./forms/textarea/index.d.ts",
|
|
249
|
-
"default": "./fesm2022/sd-angular-core-forms-textarea.mjs"
|
|
250
|
-
},
|
|
251
271
|
"./modules/auth": {
|
|
252
272
|
"types": "./modules/auth/index.d.ts",
|
|
253
273
|
"default": "./fesm2022/sd-angular-core-modules-auth.mjs"
|
|
@@ -312,13 +332,13 @@
|
|
|
312
332
|
"types": "./utilities/extensions/index.d.ts",
|
|
313
333
|
"default": "./fesm2022/sd-angular-core-utilities-extensions.mjs"
|
|
314
334
|
},
|
|
335
|
+
"./components/anchor": {
|
|
336
|
+
"types": "./components/anchor/index.d.ts",
|
|
337
|
+
"default": "./fesm2022/sd-angular-core-components-anchor.mjs"
|
|
338
|
+
},
|
|
315
339
|
"./utilities/models": {
|
|
316
340
|
"types": "./utilities/models/index.d.ts",
|
|
317
341
|
"default": "./fesm2022/sd-angular-core-utilities-models.mjs"
|
|
318
|
-
},
|
|
319
|
-
"./components/operator": {
|
|
320
|
-
"types": "./components/operator/index.d.ts",
|
|
321
|
-
"default": "./fesm2022/sd-angular-core-components-operator.mjs"
|
|
322
342
|
}
|
|
323
343
|
}
|
|
324
344
|
}
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
2
|
+
import { Color } from '@sdcorejs/utils/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface DialogData {
|
|
5
5
|
icon?: string;
|
|
@@ -7,8 +7,8 @@ export interface DialogData {
|
|
|
7
7
|
message?: string;
|
|
8
8
|
yesTitle?: string;
|
|
9
9
|
noTitle?: string;
|
|
10
|
-
yesButtonColor?:
|
|
11
|
-
noButtonColor?:
|
|
10
|
+
yesButtonColor?: Color;
|
|
11
|
+
noButtonColor?: Color;
|
|
12
12
|
input?: {
|
|
13
13
|
placeholder?: string;
|
|
14
14
|
minlength?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
2
|
+
import { Color } from '@sdcorejs/utils/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdConfirmService {
|
|
5
5
|
#private;
|
|
@@ -9,8 +9,8 @@ export declare class SdConfirmService {
|
|
|
9
9
|
title?: string;
|
|
10
10
|
yesTitle?: string;
|
|
11
11
|
noTitle?: string;
|
|
12
|
-
yesButtonColor?:
|
|
13
|
-
noButtonColor?:
|
|
12
|
+
yesButtonColor?: Color;
|
|
13
|
+
noButtonColor?: Color;
|
|
14
14
|
width?: string;
|
|
15
15
|
disableBackdropClose?: boolean;
|
|
16
16
|
}) => Promise<unknown>;
|
|
@@ -20,8 +20,8 @@ export declare class SdConfirmService {
|
|
|
20
20
|
noTitle?: string;
|
|
21
21
|
required?: boolean;
|
|
22
22
|
maxlength?: number;
|
|
23
|
-
yesButtonColor?:
|
|
24
|
-
noButtonColor?:
|
|
23
|
+
yesButtonColor?: Color;
|
|
24
|
+
noButtonColor?: Color;
|
|
25
25
|
defaultValue?: string;
|
|
26
26
|
disableBackdropClose?: boolean;
|
|
27
27
|
}) => Promise<string>;
|
|
@@ -30,8 +30,8 @@ export declare class SdConfirmService {
|
|
|
30
30
|
yesTitle?: string;
|
|
31
31
|
noTitle?: string;
|
|
32
32
|
required?: boolean;
|
|
33
|
-
yesButtonColor?:
|
|
34
|
-
noButtonColor?:
|
|
33
|
+
yesButtonColor?: Color;
|
|
34
|
+
noButtonColor?: Color;
|
|
35
35
|
defaultValue?: string | number;
|
|
36
36
|
items: any[];
|
|
37
37
|
valueField: string;
|
|
@@ -44,8 +44,8 @@ export declare class SdConfirmService {
|
|
|
44
44
|
yesTitle?: string;
|
|
45
45
|
noTitle?: string;
|
|
46
46
|
required?: boolean;
|
|
47
|
-
yesButtonColor?:
|
|
48
|
-
noButtonColor?:
|
|
47
|
+
yesButtonColor?: Color;
|
|
48
|
+
noButtonColor?: Color;
|
|
49
49
|
defaultValue?: string | Date;
|
|
50
50
|
placeholder?: string;
|
|
51
51
|
disableBackdropClose?: boolean;
|