@pongrass/utils 0.0.1-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 +122 -0
- package/fesm2022/pongrass-utils.mjs +1434 -0
- package/fesm2022/pongrass-utils.mjs.map +1 -0
- package/index.d.ts +436 -0
- package/package.json +40 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { WritableSignal, ElementRef, OnInit, OnDestroy, EventEmitter, OnChanges, SimpleChanges, AfterViewInit } from '@angular/core';
|
|
3
|
+
import { ICellRendererAngularComp, IFilterAngularComp } from '@ag-grid-community/angular';
|
|
4
|
+
import { ICellRendererParams, IFilterParams, IDoesFilterPassParams } from '@ag-grid-community/core';
|
|
5
|
+
import * as i4 from '@angular/forms';
|
|
6
|
+
import { AbstractControl, FormGroup } from '@angular/forms';
|
|
7
|
+
import * as i3 from '@angular/common';
|
|
8
|
+
import * as i5 from '@coreui/angular-pro';
|
|
9
|
+
import * as i6 from '@coreui/icons-angular';
|
|
10
|
+
import * as i9 from 'ngx-bootstrap/datepicker';
|
|
11
|
+
|
|
12
|
+
interface IConfig {
|
|
13
|
+
firstDayOfWeek: number;
|
|
14
|
+
defaultBodyTheme: string;
|
|
15
|
+
defaultSidebarTheme: string;
|
|
16
|
+
defaultDateFormat: string;
|
|
17
|
+
contactSupport: string;
|
|
18
|
+
forgetPassword: string;
|
|
19
|
+
websocketUrl: string;
|
|
20
|
+
apiBaseURL: string;
|
|
21
|
+
apiBaseURLPMC: string;
|
|
22
|
+
apiBaseURLWebMaint: string;
|
|
23
|
+
apiBaseURLSecurity: string;
|
|
24
|
+
project: IProject;
|
|
25
|
+
tableGridConfig: ITableGrid;
|
|
26
|
+
reports: IReports;
|
|
27
|
+
defaultLoginRoute: string;
|
|
28
|
+
enableMenuFromSecurity: boolean;
|
|
29
|
+
}
|
|
30
|
+
interface ITableGrid {
|
|
31
|
+
defaultPageSize: number;
|
|
32
|
+
defaultPageSizeSelector: number[] | boolean;
|
|
33
|
+
}
|
|
34
|
+
interface IReportsConfig {
|
|
35
|
+
showExport: boolean;
|
|
36
|
+
showPrint: boolean;
|
|
37
|
+
canGenerateReport: boolean;
|
|
38
|
+
tableGridConfig: ITableGrid;
|
|
39
|
+
}
|
|
40
|
+
interface IReports {
|
|
41
|
+
DYNAMIC_REPORTS: IReportsConfig;
|
|
42
|
+
NATIONAL_ROP_REPORTS: IReportsConfig;
|
|
43
|
+
APPROVED_AD_LIST: IReportsConfig;
|
|
44
|
+
PAGE_STATUS_REPORT: IReportsConfig;
|
|
45
|
+
MAINTENANCE_REPORT: IReportsConfig;
|
|
46
|
+
}
|
|
47
|
+
interface IProject {
|
|
48
|
+
currentVersion: string;
|
|
49
|
+
lastVersionUpdate: string;
|
|
50
|
+
brandWebsite: string;
|
|
51
|
+
copyrightYear: string;
|
|
52
|
+
brandName: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class ConfigurationServiceLib {
|
|
56
|
+
currentTablePreference: WritableSignal<any>;
|
|
57
|
+
allConfigValues: WritableSignal<IConfig | null>;
|
|
58
|
+
constructor();
|
|
59
|
+
generateUniqueId(): string;
|
|
60
|
+
setTablePreference(tableName: string, preference: any): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationServiceLib, never>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationServiceLib>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
interface IColorOption {
|
|
66
|
+
color_name: string;
|
|
67
|
+
color_code: string;
|
|
68
|
+
label?: string;
|
|
69
|
+
value?: string;
|
|
70
|
+
}
|
|
71
|
+
interface IEditionPublication {
|
|
72
|
+
saturday: string;
|
|
73
|
+
edname: string;
|
|
74
|
+
ed_towww: string;
|
|
75
|
+
groupnumber: string;
|
|
76
|
+
description: string;
|
|
77
|
+
thursday: string;
|
|
78
|
+
groupsequence: string;
|
|
79
|
+
sunday: string;
|
|
80
|
+
gutter: string;
|
|
81
|
+
tuesday: string;
|
|
82
|
+
monthly: string;
|
|
83
|
+
wednesday: string;
|
|
84
|
+
friday: string;
|
|
85
|
+
region: string;
|
|
86
|
+
columnwidth: string;
|
|
87
|
+
monday: string;
|
|
88
|
+
selected: boolean;
|
|
89
|
+
}
|
|
90
|
+
interface IIndustry {
|
|
91
|
+
description: string;
|
|
92
|
+
industry: string;
|
|
93
|
+
s_group_name: string;
|
|
94
|
+
}
|
|
95
|
+
interface IPageStatusList {
|
|
96
|
+
ps_invite_comment: string;
|
|
97
|
+
ps_epsdone_checkpoint: string;
|
|
98
|
+
sitecode: string;
|
|
99
|
+
html_color: string;
|
|
100
|
+
page_status_name: string;
|
|
101
|
+
ps_proof_checkpoint: string;
|
|
102
|
+
ps_active: string;
|
|
103
|
+
ps_description: string;
|
|
104
|
+
ps_ordinal: string;
|
|
105
|
+
ps_revised_checkpoint: string;
|
|
106
|
+
ps_waiting_checkpoint: string;
|
|
107
|
+
ps_complete_checkpoint: string;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare class ColorCellRendererComponent implements ICellRendererAngularComp {
|
|
111
|
+
params: ICellRendererParams;
|
|
112
|
+
colorsList: IColorOption[];
|
|
113
|
+
colorCode: string;
|
|
114
|
+
agInit(params: ICellRendererParams): void;
|
|
115
|
+
refresh(params: ICellRendererParams): boolean;
|
|
116
|
+
setColorCode(colorKey: string): void;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorCellRendererComponent, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorCellRendererComponent, "app-color-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class CustomSelectFilterComponent implements IFilterAngularComp {
|
|
122
|
+
params: IFilterParams;
|
|
123
|
+
uniqueValues: string[];
|
|
124
|
+
filteredValues: string[];
|
|
125
|
+
selectedValues: Set<string>;
|
|
126
|
+
searchText: string;
|
|
127
|
+
isIndeterminate: boolean;
|
|
128
|
+
agInit(params: IFilterParams): void;
|
|
129
|
+
searchInputRef: ElementRef<HTMLInputElement>;
|
|
130
|
+
afterGuiAttached(): void;
|
|
131
|
+
getUniqueValues(): string[];
|
|
132
|
+
isValueSelected(value: string): boolean;
|
|
133
|
+
isAllSelected(): boolean;
|
|
134
|
+
onSelectAllChanged(event: Event): void;
|
|
135
|
+
onValueChanged(value: string, event: Event): void;
|
|
136
|
+
updateIndeterminate(): void;
|
|
137
|
+
onSearchChange(): void;
|
|
138
|
+
doesFilterPass(params: IDoesFilterPassParams): boolean;
|
|
139
|
+
isFilterActive(): boolean;
|
|
140
|
+
getModel(): {
|
|
141
|
+
values: string[];
|
|
142
|
+
};
|
|
143
|
+
setModel(model: {
|
|
144
|
+
values?: string[];
|
|
145
|
+
}): void;
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSelectFilterComponent, never>;
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSelectFilterComponent, "app-custom-set-filter", never, {}, {}, never, never, true, never>;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare class CheckboxCellRendererComponent implements ICellRendererAngularComp {
|
|
151
|
+
value: boolean;
|
|
152
|
+
private params;
|
|
153
|
+
ischeckboxDisabled: boolean;
|
|
154
|
+
agInit(params: ICellRendererParams): void;
|
|
155
|
+
refresh(params: ICellRendererParams): boolean;
|
|
156
|
+
onChangeCheckBox(event: Event): void;
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxCellRendererComponent, never>;
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxCellRendererComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare class CommentsButtonCellRendererComponent implements ICellRendererAngularComp {
|
|
162
|
+
params: ICellRendererParams;
|
|
163
|
+
agInit(params: ICellRendererParams): void;
|
|
164
|
+
refresh(params: ICellRendererParams): boolean;
|
|
165
|
+
onCommentClick(): void;
|
|
166
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsButtonCellRendererComponent, never>;
|
|
167
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsButtonCellRendererComponent, "app-comments-button-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
declare class EditionListGroupedComponent implements OnInit, OnDestroy {
|
|
171
|
+
private readonly utilsService;
|
|
172
|
+
private isActive;
|
|
173
|
+
editionPublicationList: {
|
|
174
|
+
region: string;
|
|
175
|
+
values: IEditionPublication[];
|
|
176
|
+
}[];
|
|
177
|
+
private selectedRegions;
|
|
178
|
+
private selectedEditions;
|
|
179
|
+
selectedEditionsChange: EventEmitter<string[]>;
|
|
180
|
+
label: string;
|
|
181
|
+
multiple: boolean;
|
|
182
|
+
hasFormError: boolean;
|
|
183
|
+
constructor();
|
|
184
|
+
ngOnInit(): void;
|
|
185
|
+
ngOnDestroy(): void;
|
|
186
|
+
private getEditionPublicationList;
|
|
187
|
+
onEditionSelection(option: IEditionPublication[] | IEditionPublication): void;
|
|
188
|
+
onSelectEditionGroup(region: string, index: number): void;
|
|
189
|
+
onVisibleChange(isActive: boolean): void;
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditionListGroupedComponent, never>;
|
|
191
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditionListGroupedComponent, "app-edition-list-grouped", never, { "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "hasFormError": { "alias": "hasFormError"; "required": false; }; }, { "selectedEditionsChange": "selectedEditionsChange"; }, never, never, true, never>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
declare class IndustryUpdateListboxCellRendererComponent implements ICellRendererAngularComp {
|
|
195
|
+
industryList: IIndustry[];
|
|
196
|
+
selectedIndustry: string | undefined;
|
|
197
|
+
private params;
|
|
198
|
+
agInit(params: ICellRendererParams): void;
|
|
199
|
+
refresh(params: ICellRendererParams): boolean;
|
|
200
|
+
onIndustryChange(event: Event): void;
|
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IndustryUpdateListboxCellRendererComponent, never>;
|
|
202
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IndustryUpdateListboxCellRendererComponent, "app-industry-update-listbox-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
declare class PageStatusCellRendererComponent {
|
|
206
|
+
pageStatusList: IPageStatusList[];
|
|
207
|
+
private params;
|
|
208
|
+
pageStatus: any | undefined;
|
|
209
|
+
agInit(params: ICellRendererParams): void;
|
|
210
|
+
refresh(params: ICellRendererParams): boolean;
|
|
211
|
+
updatePageStatus(value: string): void;
|
|
212
|
+
getStatusColor(): string;
|
|
213
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageStatusCellRendererComponent, never>;
|
|
214
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageStatusCellRendererComponent, "app-page-status-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare enum FormFieldType {
|
|
218
|
+
Text = "text",
|
|
219
|
+
Email = "email",
|
|
220
|
+
Number = "number",
|
|
221
|
+
Select = "select",
|
|
222
|
+
Textarea = "textarea",
|
|
223
|
+
Date = "date",
|
|
224
|
+
Checkbox = "checkbox",
|
|
225
|
+
Float = "float",
|
|
226
|
+
Edition = "edition",
|
|
227
|
+
Separator = "seperator",
|
|
228
|
+
FormHeader = "form-header",
|
|
229
|
+
Password = "password",
|
|
230
|
+
Url = "url",
|
|
231
|
+
Tel = "tel"
|
|
232
|
+
}
|
|
233
|
+
interface IFieldConfig {
|
|
234
|
+
/** Form label */
|
|
235
|
+
label: string;
|
|
236
|
+
/** Form field type */
|
|
237
|
+
type: FormFieldType;
|
|
238
|
+
/** id or formControlName */
|
|
239
|
+
controlName: string;
|
|
240
|
+
/** for selects or multi-selects */
|
|
241
|
+
options?: {
|
|
242
|
+
value: string;
|
|
243
|
+
label: string;
|
|
244
|
+
disabled?: boolean;
|
|
245
|
+
}[];
|
|
246
|
+
/** for selects or multi-selects allows create option along with selects */
|
|
247
|
+
allowCreateOptions?: boolean;
|
|
248
|
+
/** for selects or multi-selects allows search option */
|
|
249
|
+
allowSearch?: boolean;
|
|
250
|
+
/** for selects or multi-selects allows clear option */
|
|
251
|
+
allowCleaner?: boolean;
|
|
252
|
+
/** grid column span */
|
|
253
|
+
colspan?: number;
|
|
254
|
+
/** Placeholder */
|
|
255
|
+
placeholder?: string;
|
|
256
|
+
/** For multi-selects */
|
|
257
|
+
selectionType?: 'text' | 'tags' | 'counter';
|
|
258
|
+
/** For textarea rows */
|
|
259
|
+
textareaRows?: number;
|
|
260
|
+
/** For textarea columns */
|
|
261
|
+
textareaColumns?: number;
|
|
262
|
+
/** Validations */
|
|
263
|
+
validations: IFormValidations;
|
|
264
|
+
/** Form Value */
|
|
265
|
+
value?: any;
|
|
266
|
+
/** For multi-selects - Allows multiple selection */
|
|
267
|
+
multiple?: boolean;
|
|
268
|
+
styles?: IFormStyles;
|
|
269
|
+
actionButton?: {
|
|
270
|
+
icon: string;
|
|
271
|
+
tooltip?: string;
|
|
272
|
+
action: string;
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
interface IFormConfig {
|
|
276
|
+
formName?: string;
|
|
277
|
+
rows: IFieldConfig[][];
|
|
278
|
+
unique_key?: string[];
|
|
279
|
+
}
|
|
280
|
+
interface IFormValidations {
|
|
281
|
+
required?: boolean;
|
|
282
|
+
minLength?: number;
|
|
283
|
+
maxLength?: number;
|
|
284
|
+
pattern?: string;
|
|
285
|
+
readonly?: boolean;
|
|
286
|
+
precision?: number;
|
|
287
|
+
min?: number;
|
|
288
|
+
max?: number;
|
|
289
|
+
defaultAdvance?: 'weekly' | 'monthly' | 'quarterly' | 'halfyearly' | 'yearly';
|
|
290
|
+
}
|
|
291
|
+
interface IFormSubmissionEmit {
|
|
292
|
+
/** Reflects the validity of the form */
|
|
293
|
+
isValid: boolean;
|
|
294
|
+
/** Reflects the values of the form controls */
|
|
295
|
+
values: {
|
|
296
|
+
[key: string]: any;
|
|
297
|
+
};
|
|
298
|
+
/** Reflects the controls of the form */
|
|
299
|
+
controls: {
|
|
300
|
+
[key: string]: AbstractControl;
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
interface IFormStyles {
|
|
304
|
+
field?: string;
|
|
305
|
+
label?: string;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare class MultiFormComponent implements OnInit, OnChanges {
|
|
309
|
+
private readonly formBuilder;
|
|
310
|
+
readonly configurationService: ConfigurationServiceLib;
|
|
311
|
+
config: IFormConfig;
|
|
312
|
+
showUnsavedFlags: boolean;
|
|
313
|
+
currentTableGridsSelectedIndex: number;
|
|
314
|
+
formId: string;
|
|
315
|
+
fieldAction: EventEmitter<{
|
|
316
|
+
action: string;
|
|
317
|
+
field: IFieldConfig;
|
|
318
|
+
value?: any;
|
|
319
|
+
}>;
|
|
320
|
+
formSavedUnsavedListen: EventEmitter<any>;
|
|
321
|
+
selectionChangeEvent: EventEmitter<any>;
|
|
322
|
+
multiForm: FormGroup;
|
|
323
|
+
isFormSubmitted: boolean;
|
|
324
|
+
private initialFormValues;
|
|
325
|
+
isFormSaved: boolean;
|
|
326
|
+
isFormSavedModalActive: boolean;
|
|
327
|
+
private isSelectionChange;
|
|
328
|
+
inputType: {
|
|
329
|
+
colorSelect: string;
|
|
330
|
+
};
|
|
331
|
+
colorCodes$: {
|
|
332
|
+
color_name: string;
|
|
333
|
+
color_code: string;
|
|
334
|
+
}[];
|
|
335
|
+
FormFieldType: typeof FormFieldType;
|
|
336
|
+
constructor();
|
|
337
|
+
ngOnInit(): void;
|
|
338
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
339
|
+
private buildFormControls;
|
|
340
|
+
/** Reload the field action */
|
|
341
|
+
onClickFieldAction(action: any, field: IFieldConfig): void;
|
|
342
|
+
private updateFormControls;
|
|
343
|
+
getTruthyOrFalsy(value: any): boolean;
|
|
344
|
+
private getValidators;
|
|
345
|
+
/** Get the form values */
|
|
346
|
+
getFormValues(): IFormSubmissionEmit;
|
|
347
|
+
/** Reset the form */
|
|
348
|
+
resetForm(): void;
|
|
349
|
+
/**Set Value to form */
|
|
350
|
+
setValue(control: string, value: any): void;
|
|
351
|
+
/**Get Value from form */
|
|
352
|
+
getValue(control: string): any;
|
|
353
|
+
/**Get Form Control */
|
|
354
|
+
getFormControl(control: string): any;
|
|
355
|
+
private hasUnsavedChanges;
|
|
356
|
+
private saveInitialFormValues;
|
|
357
|
+
proceedToSaveUnsavedForm(): void;
|
|
358
|
+
proceedWithoutSavingForm(): void;
|
|
359
|
+
onValueChange(event: any, control: string): void;
|
|
360
|
+
onDateValueChange(value: any, control: string): void;
|
|
361
|
+
onEditionChange(event: any): void;
|
|
362
|
+
setDefaultAdvanceDate(currentDate: Date, defaultAdvance: string): any;
|
|
363
|
+
private advanceDate;
|
|
364
|
+
private findStopControl;
|
|
365
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiFormComponent, never>;
|
|
366
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFormComponent, "app-multi-form", never, { "config": { "alias": "config"; "required": false; }; "showUnsavedFlags": { "alias": "showUnsavedFlags"; "required": false; }; "currentTableGridsSelectedIndex": { "alias": "currentTableGridsSelectedIndex"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; }, { "fieldAction": "fieldAction"; "formSavedUnsavedListen": "formSavedUnsavedListen"; "selectionChangeEvent": "selectionChangeEvent"; }, never, never, false, never>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
declare class CircularFocusDirective implements AfterViewInit, OnDestroy {
|
|
370
|
+
private el;
|
|
371
|
+
formId: string;
|
|
372
|
+
formGroup: FormGroup | null;
|
|
373
|
+
private focusableElements;
|
|
374
|
+
private formSubscription;
|
|
375
|
+
ngAfterViewInit(): void;
|
|
376
|
+
ngOnDestroy(): void;
|
|
377
|
+
private collectFocusableElements;
|
|
378
|
+
private getFocusableElements;
|
|
379
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
380
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CircularFocusDirective, never>;
|
|
381
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularFocusDirective, "[appCircularFocus]", never, { "formId": { "alias": "formId"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare class DecimalInputDirective implements OnInit, OnDestroy {
|
|
385
|
+
private el;
|
|
386
|
+
private control;
|
|
387
|
+
private sub;
|
|
388
|
+
appDecimalInput: number;
|
|
389
|
+
private specialKeys;
|
|
390
|
+
ngOnInit(): void;
|
|
391
|
+
ngOnDestroy(): void;
|
|
392
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
393
|
+
onBlur(): void;
|
|
394
|
+
private formatValue;
|
|
395
|
+
private isValidInput;
|
|
396
|
+
private getNextValue;
|
|
397
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecimalInputDirective, never>;
|
|
398
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalInputDirective, "[appDecimalInput]", never, { "appDecimalInput": { "alias": "appDecimalInput"; "required": false; }; }, {}, never, never, true, never>;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
declare class ShowTooltipIfTruncatedDirective {
|
|
402
|
+
tooltipText: string;
|
|
403
|
+
private el;
|
|
404
|
+
constructor();
|
|
405
|
+
onMouseEnter(): void;
|
|
406
|
+
onMouseLeave(): void;
|
|
407
|
+
private isTextTruncated;
|
|
408
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTooltipIfTruncatedDirective, never>;
|
|
409
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipIfTruncatedDirective, "[appShowTooltipIfTruncated]", never, { "tooltipText": { "alias": "appShowTooltipIfTruncated"; "required": false; }; }, {}, never, never, true, never>;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare class MultiSelectStylerDirective implements OnInit, OnDestroy {
|
|
413
|
+
private ngControl;
|
|
414
|
+
private renderer;
|
|
415
|
+
private el;
|
|
416
|
+
private mutationObserver?;
|
|
417
|
+
appMultiSelectStyler: boolean;
|
|
418
|
+
options: IColorOption[];
|
|
419
|
+
private multiSelect;
|
|
420
|
+
ngOnInit(): void;
|
|
421
|
+
private setupMutationObserver;
|
|
422
|
+
private getSelectionContainer;
|
|
423
|
+
private updateSelectedItem;
|
|
424
|
+
ngOnDestroy(): void;
|
|
425
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectStylerDirective, never>;
|
|
426
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectStylerDirective, "[appMultiSelectStyler]", never, { "appMultiSelectStyler": { "alias": "appMultiSelectStyler"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
declare class MultiFormModule {
|
|
430
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiFormModule, never>;
|
|
431
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MultiFormModule, [typeof MultiFormComponent], [typeof CircularFocusDirective, typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.MultiSelectModule, typeof i5.FormModule, typeof i6.IconModule, typeof i5.InputGroupComponent, typeof i5.DatePickerModule, typeof DecimalInputDirective, typeof ShowTooltipIfTruncatedDirective, typeof i5.ModalModule, typeof i5.TooltipModule, typeof i5.ButtonModule, typeof i9.BsDatepickerModule, typeof EditionListGroupedComponent, typeof MultiSelectStylerDirective], [typeof MultiFormComponent]>;
|
|
432
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MultiFormModule>;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export { CheckboxCellRendererComponent, ColorCellRendererComponent, CommentsButtonCellRendererComponent, ConfigurationServiceLib, CustomSelectFilterComponent, EditionListGroupedComponent, FormFieldType, IndustryUpdateListboxCellRendererComponent, MultiFormComponent, MultiFormModule, PageStatusCellRendererComponent };
|
|
436
|
+
export type { IFieldConfig, IFormConfig, IFormStyles, IFormSubmissionEmit, IFormValidations };
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pongrass/utils",
|
|
3
|
+
"version": "0.0.1-v20",
|
|
4
|
+
"description": "A collection of utility components and services for Angular applications",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"angular",
|
|
7
|
+
"utils",
|
|
8
|
+
"components",
|
|
9
|
+
"ag-grid",
|
|
10
|
+
"ui"
|
|
11
|
+
],
|
|
12
|
+
"author": "Pongrass Publishing Systems",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"peerDependencies": {
|
|
15
|
+
"@angular/common": "^20.3.9",
|
|
16
|
+
"@angular/core": "^20.3.9",
|
|
17
|
+
"@ag-grid-community/angular": "^32.3.9",
|
|
18
|
+
"@ag-grid-community/client-side-row-model": "^32.3.9",
|
|
19
|
+
"@ag-grid-community/core": "^32.3.9",
|
|
20
|
+
"@ag-grid-community/csv-export": "^32.3.9",
|
|
21
|
+
"@ag-grid-community/infinite-row-model": "^32.3.9",
|
|
22
|
+
"@ag-grid-community/styles": "^32.3.9",
|
|
23
|
+
"ngx-bootstrap": "^20.0.2"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"tslib": "^2.3.0"
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"module": "fesm2022/pongrass-utils.mjs",
|
|
30
|
+
"typings": "index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": {
|
|
33
|
+
"default": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./index.d.ts",
|
|
37
|
+
"default": "./fesm2022/pongrass-utils.mjs"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|