@yomotech/view-toolkit 1.0.12 → 1.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yomotech/view-toolkit",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",
@@ -26,7 +26,7 @@ declare class RequestService {
26
26
  getInfo(url: string): rxjs.Observable<Object>;
27
27
  dynamicCall(method: string | undefined, body: any | undefined, url: string, passToken?: boolean, selectedProject?: string, userInfo?: any): rxjs.Observable<Object>;
28
28
  createAuthorizationHeader(userInfo: any, tokenExist?: boolean): HttpHeaders;
29
- getLoginUser(token: any, issuer?: string): rxjs.Observable<Object>;
29
+ getLoginUser(token: any, issuer: string): rxjs.Observable<Object>;
30
30
  saveDb(token: any, userInfo: any, order?: any): void;
31
31
  getSaveOrder(token: string, userInfo: any, fromDate: string, toDate: string): rxjs.Observable<Object>;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestService, never>;
@@ -199,6 +199,8 @@ declare class CardComponent {
199
199
  private notificationService;
200
200
  private oauthService;
201
201
  private requestService;
202
+ /** Keep existing checkbox data objects usable; new objects use boolean. */
203
+ renderFieldType(type: string | undefined): string | undefined;
202
204
  itemInfo: any;
203
205
  currentPage: number;
204
206
  pageSize: number;
@@ -290,6 +292,8 @@ declare class CardComponent {
290
292
  }
291
293
 
292
294
  declare class FormComponent implements OnInit, OnChanges, AfterViewInit {
295
+ /** Keep existing checkbox data objects usable; new objects use boolean. */
296
+ renderFieldType(type: string | undefined): string | undefined;
293
297
  customEmailPattern: string;
294
298
  showPassword: boolean;
295
299
  formCopy: any;
@@ -346,6 +350,8 @@ declare class GridComponent implements AfterViewInit {
346
350
  private utilityService;
347
351
  private notificationService;
348
352
  private oktaAuthService;
353
+ /** New data objects use boolean; older projects may still use checkbox. */
354
+ isLegacyCheckboxFieldType(type: string | undefined): boolean;
349
355
  isLogined: boolean;
350
356
  tableitemInfoCopy: any;
351
357
  errorMessages: any;
@@ -529,6 +535,8 @@ declare class ModelComponent implements OnChanges {
529
535
  private readonly dialogConfig;
530
536
  private utilityService;
531
537
  private readonly customKeyboardService;
538
+ /** Keep existing checkbox data objects usable; new objects use boolean. */
539
+ renderFieldType(type: string | undefined): string | undefined;
532
540
  matchData: any[];
533
541
  date2: Date | undefined;
534
542
  private pickerOpening;