@smartsoft001/angular 2.71.0 → 2.73.0
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/fesm2022/smartsoft001-angular.mjs +176 -269
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +8 -43
- package/package.json +11 -10
package/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as i2$1 from '@angular/forms';
|
|
|
6
6
|
import { ValidatorFn, AsyncValidatorFn, UntypedFormControl, UntypedFormArray, UntypedFormGroup, ControlValueAccessor, AbstractControl } from '@angular/forms';
|
|
7
7
|
import { IEntity, IAddress, IDateRange } from '@smartsoft001/domain-core';
|
|
8
8
|
import * as _smartsoft001_models from '@smartsoft001/models';
|
|
9
|
-
import { IFieldOptions,
|
|
9
|
+
import { IFieldOptions, IModelOptions, FieldTypeDef } from '@smartsoft001/models';
|
|
10
10
|
import * as moment from 'moment';
|
|
11
11
|
import moment__default from 'moment';
|
|
12
12
|
import * as i1 from '@ngx-translate/core';
|
|
@@ -15,21 +15,15 @@ import * as i2 from 'ngx-cookie';
|
|
|
15
15
|
import * as _angular_router from '@angular/router';
|
|
16
16
|
import { Router } from '@angular/router';
|
|
17
17
|
import { Editor, Toolbar } from 'ngx-editor';
|
|
18
|
-
import * as
|
|
18
|
+
import * as i9 from '@angular/cdk/drag-drop';
|
|
19
19
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i10 from '@angular/cdk/table';
|
|
21
21
|
import { CdkTableDataSourceInput } from '@angular/cdk/table';
|
|
22
|
-
import * as i8 from '@angular/material/sort';
|
|
23
|
-
import { MatSort } from '@angular/material/sort';
|
|
24
22
|
import { SafeHtml } from '@angular/platform-browser';
|
|
25
|
-
import * as
|
|
23
|
+
import * as i11 from 'ng-dynamic-component';
|
|
26
24
|
import * as i1$1 from '@angular/common';
|
|
27
25
|
import * as i7 from '@angular/common/http';
|
|
28
|
-
import * as
|
|
29
|
-
import * as i11 from '@angular/material/stepper';
|
|
30
|
-
import * as i12 from '@angular/material/button';
|
|
31
|
-
import * as i13 from '@angular/material/datepicker';
|
|
32
|
-
import * as i14 from '@angular/material/core';
|
|
26
|
+
import * as i8 from 'ng-lazyload-image';
|
|
33
27
|
|
|
34
28
|
declare class AccordionComponent {
|
|
35
29
|
show: ModelSignal<boolean>;
|
|
@@ -308,23 +302,9 @@ declare class InputDateWithEditComponent<T> extends InputBaseComponent<T> implem
|
|
|
308
302
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateWithEditComponent<any>, "smart-input-date-with-edit", never, {}, {}, never, never, true, never>;
|
|
309
303
|
}
|
|
310
304
|
|
|
311
|
-
declare const MY_FORMATS: {
|
|
312
|
-
parse: {
|
|
313
|
-
dateInput: string;
|
|
314
|
-
};
|
|
315
|
-
display: {
|
|
316
|
-
dateInput: string;
|
|
317
|
-
monthYearLabel: string;
|
|
318
|
-
dateA11yLabel: string;
|
|
319
|
-
monthYearA11yLabel: string;
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
305
|
declare class InputDateComponent<T> extends InputBaseComponent<T> implements OnInit {
|
|
323
306
|
private hardwareService;
|
|
324
|
-
private dateAdapter;
|
|
325
|
-
translateService: TranslateService;
|
|
326
307
|
get isMobile(): boolean;
|
|
327
|
-
constructor();
|
|
328
308
|
ngOnInit(): void;
|
|
329
309
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateComponent<any>, never>;
|
|
330
310
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateComponent<any>, "smart-input-date", never, {}, {}, never, never, true, never>;
|
|
@@ -646,7 +626,7 @@ declare class FormComponent<T> extends FormComponent_base implements OnDestroy {
|
|
|
646
626
|
private _mode;
|
|
647
627
|
private _uniqueProvider;
|
|
648
628
|
form: SmartFormGroup;
|
|
649
|
-
type: 'standard' | '
|
|
629
|
+
type: 'standard' | 'custom';
|
|
650
630
|
export: boolean;
|
|
651
631
|
exportHandler: (val: any) => void;
|
|
652
632
|
import: boolean;
|
|
@@ -677,20 +657,6 @@ declare class FormStandardComponent<T> extends FormBaseComponent<T> {
|
|
|
677
657
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormStandardComponent<any>, "smart-form-standard", never, {}, {}, never, never, true, never>;
|
|
678
658
|
}
|
|
679
659
|
|
|
680
|
-
declare class FormStepperComponent<T> extends FormBaseComponent<T> {
|
|
681
|
-
private fb;
|
|
682
|
-
steps: Array<IModelStep & {
|
|
683
|
-
fields: Array<string>;
|
|
684
|
-
form: UntypedFormGroup;
|
|
685
|
-
}>;
|
|
686
|
-
protected afterSetOptions(): void;
|
|
687
|
-
protected afterSetForm(): void;
|
|
688
|
-
private initSteps;
|
|
689
|
-
__smartDisabled(field: string): any;
|
|
690
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormStepperComponent<any>, never>;
|
|
691
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormStepperComponent<any>, "smart-form-stepper", never, {}, {}, never, never, true, never>;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
660
|
declare class ExportComponent {
|
|
695
661
|
value: i0.InputSignal<any>;
|
|
696
662
|
fileName: i0.InputSignal<string | undefined>;
|
|
@@ -1023,7 +989,6 @@ declare class ListDesktopComponent<T extends IEntity<string>> extends ListBaseCo
|
|
|
1023
989
|
desktopList: Signal<T[]>;
|
|
1024
990
|
componentFactories: IListComponentFactories<T> | null;
|
|
1025
991
|
get desktopKeys(): Array<string> | null;
|
|
1026
|
-
sortObj: Signal<MatSort | undefined>;
|
|
1027
992
|
topTpl: Signal<ViewContainerRef | undefined>;
|
|
1028
993
|
protected initList(val: IListInternalOptions<T>): void;
|
|
1029
994
|
onChangeMultiselect(checked: boolean, element: T, list: T[]): void;
|
|
@@ -1796,7 +1761,7 @@ declare class DetailsPage<T extends IEntity<string>> implements OnInit {
|
|
|
1796
1761
|
|
|
1797
1762
|
declare class SharedComponentsModule {
|
|
1798
1763
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
|
|
1799
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, never, [typeof i1$1.CommonModule, typeof i2$1.ReactiveFormsModule, typeof i2$1.FormsModule, typeof i1.TranslateModule, typeof _angular_router.RouterModule, typeof SharedPipesModule, typeof SharedDirectivesModule, typeof i7.HttpClientModule, typeof i8.
|
|
1764
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, never, [typeof i1$1.CommonModule, typeof i2$1.ReactiveFormsModule, typeof i2$1.FormsModule, typeof i1.TranslateModule, typeof _angular_router.RouterModule, typeof SharedPipesModule, typeof SharedDirectivesModule, typeof i7.HttpClientModule, typeof i8.LazyLoadImageModule, typeof i9.DragDropModule, typeof i10.CdkTableModule, typeof i11.DynamicModule, typeof FormStandardComponent, typeof FormComponent, typeof InputComponent, typeof InputIntComponent, typeof InputErrorComponent, typeof InputTextComponent, typeof InputPasswordComponent, typeof InputFlagComponent, typeof InputEnumComponent, typeof InputEmailComponent, typeof InputCurrencyComponent, typeof InputDateComponent, typeof InputDateWithEditComponent, typeof InputFileComponent, typeof InputRadioComponent, typeof InputNipComponent, typeof InputStringsComponent, typeof InputLongTextComponent, typeof InputAddressComponent, typeof InputObjectComponent, typeof InputColorComponent, typeof InputLogoComponent, typeof InputCheckComponent, typeof InputIntsComponent, typeof InputPhoneNumberComponent, typeof InputPhoneNumberPlComponent, typeof InputPeselComponent, typeof InputArrayComponent, typeof InputPdfComponent, typeof InputVideoComponent, typeof InputAttachmentComponent, typeof InputDateRangeComponent, typeof InputImageComponent, typeof InputFloatComponent, typeof PageStandardComponent, typeof PageComponent, typeof AccordionComponent, typeof AccordionHeaderComponent, typeof AccordionBodyComponent, typeof DateRangeComponent, typeof DateRangeModalComponent, typeof DateEditComponent, typeof ButtonComponent, typeof ButtonStandardComponent, typeof CardComponent, typeof ListComponent, typeof ListMobileComponent, typeof ListDesktopComponent, typeof ListMasonryGridComponent, typeof LoaderComponent, typeof DetailComponent, typeof DetailTextComponent, typeof DetailFlagComponent, typeof DetailEnumComponent, typeof DetailEmailComponent, typeof DetailAddressComponent, typeof DetailObjectComponent, typeof DetailColorComponent, typeof DetailLogoComponent, typeof DetailArrayComponent, typeof DetailPdfComponent, typeof DetailVideoComponent, typeof DetailAttachmentComponent, typeof DetailDateRangeComponent, typeof DetailImageComponent, typeof DetailPhoneNumberPlComponent, typeof DetailsComponent, typeof DetailsStandardComponent, typeof i11.DynamicComponent, typeof InfoComponent, typeof InfoModalComponent, typeof ExportComponent, typeof ImportComponent, typeof PasswordStrengthComponent], [typeof FormStandardComponent, typeof FormComponent, typeof InputComponent, typeof InputIntComponent, typeof InputErrorComponent, typeof InputTextComponent, typeof InputPasswordComponent, typeof InputFlagComponent, typeof InputEnumComponent, typeof InputEmailComponent, typeof InputCurrencyComponent, typeof InputDateComponent, typeof InputDateWithEditComponent, typeof InputFileComponent, typeof InputRadioComponent, typeof InputNipComponent, typeof InputStringsComponent, typeof InputLongTextComponent, typeof InputAddressComponent, typeof InputObjectComponent, typeof InputColorComponent, typeof InputLogoComponent, typeof InputCheckComponent, typeof InputIntsComponent, typeof InputPhoneNumberComponent, typeof InputPhoneNumberPlComponent, typeof InputPeselComponent, typeof InputArrayComponent, typeof InputPdfComponent, typeof InputVideoComponent, typeof InputAttachmentComponent, typeof InputDateRangeComponent, typeof InputImageComponent, typeof InputFloatComponent, typeof PageStandardComponent, typeof PageComponent, typeof AccordionComponent, typeof AccordionHeaderComponent, typeof AccordionBodyComponent, typeof DateRangeComponent, typeof DateRangeModalComponent, typeof DateEditComponent, typeof ButtonComponent, typeof ButtonStandardComponent, typeof CardComponent, typeof ListComponent, typeof ListMobileComponent, typeof ListDesktopComponent, typeof ListMasonryGridComponent, typeof LoaderComponent, typeof DetailComponent, typeof DetailTextComponent, typeof DetailFlagComponent, typeof DetailEnumComponent, typeof DetailEmailComponent, typeof DetailAddressComponent, typeof DetailObjectComponent, typeof DetailColorComponent, typeof DetailLogoComponent, typeof DetailArrayComponent, typeof DetailPdfComponent, typeof DetailVideoComponent, typeof DetailAttachmentComponent, typeof DetailDateRangeComponent, typeof DetailImageComponent, typeof DetailPhoneNumberPlComponent, typeof DetailsComponent, typeof DetailsStandardComponent, typeof i11.DynamicComponent, typeof InfoComponent, typeof InfoModalComponent, typeof ExportComponent, typeof ImportComponent, typeof PasswordStrengthComponent]>;
|
|
1800
1765
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
|
|
1801
1766
|
}
|
|
1802
1767
|
|
|
@@ -1813,5 +1778,5 @@ declare class SharedModule {
|
|
|
1813
1778
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
1814
1779
|
}
|
|
1815
1780
|
|
|
1816
|
-
export { AUTH_TOKEN, AccordionBodyComponent, AccordionComponent, AccordionHeaderComponent, AlertService, AppBaseComponent, AppService, AuthService, BaseComponent, ButtonBaseComponent, ButtonComponent, ButtonStandardComponent, CalendarService, CardComponent, CreateDynamicComponent, DYNAMIC_COMPONENTS_STORE, DateEditComponent, DateRangeComponent, DateRangeModalComponent, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailPhoneNumberPlComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EnumToListPipe, ExportComponent, FILE_SERVICE_CONFIG, FileService, FileUrlPipe, FilterBtnConstants, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent,
|
|
1781
|
+
export { AUTH_TOKEN, AccordionBodyComponent, AccordionComponent, AccordionHeaderComponent, AlertService, AppBaseComponent, AppService, AuthService, BaseComponent, ButtonBaseComponent, ButtonComponent, ButtonStandardComponent, CalendarService, CardComponent, CreateDynamicComponent, DYNAMIC_COMPONENTS_STORE, DateEditComponent, DateRangeComponent, DateRangeModalComponent, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailPhoneNumberPlComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EnumToListPipe, ExportComponent, FILE_SERVICE_CONFIG, FileService, FileUrlPipe, FilterBtnConstants, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, ImportComponent, InfoComponent, InfoModalComponent, InputAddressComponent, InputArrayComponent, InputAttachmentComponent, InputBaseComponent, InputCheckComponent, InputColorComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputDateWithEditComponent, InputEmailComponent, InputEnumComponent, InputErrorComponent, InputFileComponent, InputFlagComponent, InputFloatComponent, InputImageComponent, InputIntComponent, InputIntsComponent, InputLogoComponent, InputLongTextComponent, InputNipComponent, InputObjectComponent, InputPasswordComponent, InputPdfComponent, InputPeselComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputRadioComponent, InputStringsComponent, InputTextComponent, InputVideoComponent, ListBaseComponent, ListCellPipe, ListComponent, ListDesktopComponent, ListHeaderPipe, ListMasonryGridComponent, ListMobileComponent, ListMode, LoaderComponent, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MenuService, ModalService, ModelLabelPipe, PIPES, PageBaseComponent, PageComponent, PageStandardComponent, PaginationMode, PagingComponent, PasswordStrengthComponent, PopoverService, SearchbarComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SmartFormGroup, StorageService, StyleService, ToastService, TrustHtmlPipe, UIService };
|
|
1817
1782
|
export type { AppEndButton, CalendarState, DynamicComponentType, IAlertButton, IAlertOptions, IAppOptions, IAppProvider, IButtonOptions, ICardOptions, ICellPipe, IDetailOptions, IDetailsComponentFactories, IDetailsOptions, IDetailsProvider, IDynamicComponent, IDynamicComponentData, IFileServiceConfig, IFormOptions, IFormProvider, IIconButtonOptions, IInputFromFieldOptions, IInputOptions, IItemOptionsForCustom, IItemOptionsForPage, IListComponentFactories, IListInternalOptions, IListOptions, IListPaginationOptions, IListProvider, IMenuItem, IModal, IModalOptions, IModelLabelOptions, IModelPossibilitiesOptions, IModelValidators, IModelValidatorsOptions, IPageOptions, IRemoveProvider, IToastButton, IToastOptions, InputOptions, ItemOptions, month };
|
package/package.json
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001/angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "
|
|
7
|
-
"@angular/core": "
|
|
6
|
+
"@angular/common": "~19.2.0",
|
|
7
|
+
"@angular/core": "~19.2.0",
|
|
8
8
|
"moment": "^2.29.1",
|
|
9
|
-
"jest-preset-angular": "
|
|
10
|
-
"@storybook/angular": "
|
|
9
|
+
"jest-preset-angular": "~14.4.0",
|
|
10
|
+
"@storybook/angular": "^8.6.11",
|
|
11
11
|
"@storybook/jest": "^0.2.3",
|
|
12
12
|
"@storybook/testing-library": "^0.2.2",
|
|
13
13
|
"postcss": "^8.4.5",
|
|
14
|
-
"@nx/angular": "^21.3
|
|
15
|
-
"@types/moment": "^2.13.0"
|
|
14
|
+
"@nx/angular": "^21.1.3",
|
|
15
|
+
"@types/moment": "^2.13.0",
|
|
16
|
+
"jwt-decode": "^3.1.2"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"tslib": "^2.3.0"
|
|
16
20
|
},
|
|
17
21
|
"module": "fesm2022/smartsoft001-angular.mjs",
|
|
18
22
|
"typings": "index.d.ts",
|
|
@@ -24,8 +28,5 @@
|
|
|
24
28
|
"types": "./index.d.ts",
|
|
25
29
|
"default": "./fesm2022/smartsoft001-angular.mjs"
|
|
26
30
|
}
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"tslib": "^2.3.0"
|
|
30
31
|
}
|
|
31
32
|
}
|