@pongrass/utils 1.0.2-v20 → 1.0.4-v20
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 +30 -0
- package/fesm2022/pongrass-utils.mjs +64 -6
- package/fesm2022/pongrass-utils.mjs.map +1 -1
- package/index.d.ts +28 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -15,19 +15,20 @@ interface IConfig {
|
|
|
15
15
|
firstDayOfWeek: number;
|
|
16
16
|
defaultBodyTheme: string;
|
|
17
17
|
defaultSidebarTheme: string;
|
|
18
|
-
defaultDateFormat
|
|
19
|
-
contactSupport
|
|
20
|
-
forgetPassword
|
|
21
|
-
websocketUrl
|
|
18
|
+
defaultDateFormat?: string;
|
|
19
|
+
contactSupport?: string;
|
|
20
|
+
forgetPassword?: string;
|
|
21
|
+
websocketUrl?: string;
|
|
22
22
|
apiBaseURL: string;
|
|
23
|
-
apiBaseURLPMC
|
|
23
|
+
apiBaseURLPMC?: string;
|
|
24
24
|
apiBaseURLWebMaint: string;
|
|
25
|
-
apiBaseURLSecurity
|
|
25
|
+
apiBaseURLSecurity?: string;
|
|
26
26
|
project: IProject;
|
|
27
27
|
tableGridConfig: ITableGrid;
|
|
28
|
-
reports
|
|
29
|
-
defaultLoginRoute
|
|
30
|
-
enableMenuFromSecurity
|
|
28
|
+
reports?: IReports;
|
|
29
|
+
defaultLoginRoute?: string;
|
|
30
|
+
enableMenuFromSecurity?: boolean;
|
|
31
|
+
userInactivityMinutes?: number;
|
|
31
32
|
}
|
|
32
33
|
interface ITableGrid {
|
|
33
34
|
defaultPageSize: number;
|
|
@@ -705,6 +706,23 @@ declare class TableGridModule {
|
|
|
705
706
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableGridModule>;
|
|
706
707
|
}
|
|
707
708
|
|
|
709
|
+
declare class BackgroundImageDirective implements OnInit {
|
|
710
|
+
private el;
|
|
711
|
+
/**
|
|
712
|
+
* Flag to enable random background selection
|
|
713
|
+
* Defaults to false
|
|
714
|
+
*/
|
|
715
|
+
random: boolean;
|
|
716
|
+
/**
|
|
717
|
+
* Path to the background image (string) or images (string[])
|
|
718
|
+
*/
|
|
719
|
+
backgroundImage: string | string[];
|
|
720
|
+
ngOnInit(): void;
|
|
721
|
+
private setBackgroundImage;
|
|
722
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundImageDirective, never>;
|
|
723
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundImageDirective, "[appBackgroundImage]", never, { "random": { "alias": "random"; "required": false; }; "backgroundImage": { "alias": "backgroundImage"; "required": false; }; }, {}, never, never, true, never>;
|
|
724
|
+
}
|
|
725
|
+
|
|
708
726
|
interface IExcelHeaders {
|
|
709
727
|
heading: string;
|
|
710
728
|
alignment?: 'center' | 'left' | 'right';
|
|
@@ -769,5 +787,5 @@ declare function regionalDateFormat(date: Date): string;
|
|
|
769
787
|
declare function convertIsoToFormat(date: string | Date, dateFormat?: string): string;
|
|
770
788
|
declare function convertDateShort(dateString: string): string;
|
|
771
789
|
|
|
772
|
-
export { CheckboxCellRendererComponent, CircularFocusDirective, ColorCellRendererComponent, CommentsButtonCellRendererComponent, ConfigurationServiceLib, CustomSelectFilterComponent, DecimalInputDirective, EditionListGroupedComponent, ExcelType, ExportToExcelNames, FormFieldType, GenericFilterModelComponent, ITableGridConfiguration, ITableGridPagination, IndustryUpdateListboxCellRendererComponent, MultiFormComponent, MultiFormModule, MultiSelectStylerDirective, PageStatusCellRendererComponent, ShowTooltipIfTruncatedDirective, StatusSelectCellRendererComponent, TableGridComponent, TableGridModule, UtilsService, convertDateShort, convertIsoToFormat, convertToISOnString, regionalDateFormat };
|
|
790
|
+
export { BackgroundImageDirective, CheckboxCellRendererComponent, CircularFocusDirective, ColorCellRendererComponent, CommentsButtonCellRendererComponent, ConfigurationServiceLib, CustomSelectFilterComponent, DecimalInputDirective, EditionListGroupedComponent, ExcelType, ExportToExcelNames, FormFieldType, GenericFilterModelComponent, ITableGridConfiguration, ITableGridPagination, IndustryUpdateListboxCellRendererComponent, MultiFormComponent, MultiFormModule, MultiSelectStylerDirective, PageStatusCellRendererComponent, ShowTooltipIfTruncatedDirective, StatusSelectCellRendererComponent, TableGridComponent, TableGridModule, UtilsService, convertDateShort, convertIsoToFormat, convertToISOnString, regionalDateFormat };
|
|
773
791
|
export type { IAgPublicEventType, ICellValueChangedEvent, IColDef, IColumnStateEvent, IEmmitedResponse, IExcelHeaders, IExportCellConfig, IFieldConfig, IFilterChangeEvent, IFormConfig, IFormStyles, IFormSubmissionEmit, IFormValidations, IGridApi, IGridReadyEvent, IPaginationChangedEvent, IPrintHeaders, IRowSelectionOptions, ITableGridState, MaintAction, PongrassICellRendererAngularComp, PongrassICellRendererParams };
|