@skysoftware-co/bayan-core-widgets-ui 0.0.6 → 0.0.9
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 +183 -0
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs +1232 -0
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/shared/common-methods/navigation.utils.d.ts +3 -0
- package/lib/shared/menu.dtos.d.ts +90 -0
- package/lib/shared/menu.service.d.ts +23 -0
- package/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.d.ts +36 -0
- package/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.d.ts +33 -0
- package/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.d.ts +58 -0
- package/lib/top-menu-widget/components/item-widget/item-widget.component.d.ts +28 -0
- package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts +22 -0
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts +73 -0
- package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts +42 -0
- package/lib/top-menu-widget/top-menu-widget.component.d.ts +57 -0
- package/lib/top-menu-widget/top-menu-widget.models.d.ts +24 -0
- package/package.json +48 -36
- package/public-api.d.ts +10 -0
- package/ng-package.json +0 -7
- package/src/assets/i18n/ar.json +0 -725
- package/src/assets/i18n/en.json +0 -683
- package/src/assets/i18n/fr.json +0 -687
- package/src/lib/shared/common-methods/navigation.utils.ts +0 -21
- package/src/lib/shared/menu.dtos.ts +0 -107
- package/src/lib/shared/menu.service.ts +0 -157
- package/src/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.html +0 -37
- package/src/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.ts +0 -68
- package/src/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.html +0 -56
- package/src/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.ts +0 -158
- package/src/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.html +0 -39
- package/src/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.ts +0 -153
- package/src/lib/top-menu-widget/components/item-widget/item-widget.component.html +0 -39
- package/src/lib/top-menu-widget/components/item-widget/item-widget.component.ts +0 -95
- package/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.html +0 -10
- package/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.ts +0 -89
- package/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.html +0 -119
- package/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.ts +0 -233
- package/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.html +0 -53
- package/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.ts +0 -140
- package/src/lib/top-menu-widget/top-menu-widget.component.html +0 -103
- package/src/lib/top-menu-widget/top-menu-widget.component.ts +0 -148
- package/src/lib/top-menu-widget/top-menu-widget.models.ts +0 -29
- package/src/lib/top-menu-widget/top-menu-widget.styles.css +0 -576
- package/src/public-api.ts +0 -7
- package/tsconfig.lib.json +0 -16
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -13
package/README.md
CHANGED
|
@@ -332,6 +332,189 @@ Outputs:
|
|
|
332
332
|
| `releaseNotesClick` | `EventEmitter<void>` | Fired when the release-notes action is clicked. |
|
|
333
333
|
| `supportClick` | `EventEmitter<void>` | Fired when the support action is clicked. |
|
|
334
334
|
|
|
335
|
+
## Widget API Reference
|
|
336
|
+
|
|
337
|
+
### BayanCoreTopMenuWidgetComponent
|
|
338
|
+
**Inputs:**
|
|
339
|
+
- `baseUrl: string`
|
|
340
|
+
- `systemModule: SystemModule | null`
|
|
341
|
+
- `sidebarCollapsed: boolean`
|
|
342
|
+
- `homeUrl: string | null`
|
|
343
|
+
- `logoUrl: string`
|
|
344
|
+
- `collapsedLogoUrl: string`
|
|
345
|
+
- `isSsoLogin: boolean`
|
|
346
|
+
- `showGlobalSearch: boolean`
|
|
347
|
+
- `showUserPanel: boolean`
|
|
348
|
+
- `showSettings: boolean`
|
|
349
|
+
- `ShowShourtcutMenus: boolean`
|
|
350
|
+
- `showNotifications: boolean`
|
|
351
|
+
- `notificationsTitle: string`
|
|
352
|
+
- `showHelp: boolean`
|
|
353
|
+
- `helpTitle: string`
|
|
354
|
+
- `helpUrl: string | null`
|
|
355
|
+
- `helpIcon: IconDefinition`
|
|
356
|
+
- `helpAnchorClass: string`
|
|
357
|
+
- `helpUrlTarget: '_self' | '_blank' | string`
|
|
358
|
+
- `licenseUrl: string`
|
|
359
|
+
- `releaseNotesUrl: string`
|
|
360
|
+
- `supportUrl: string`
|
|
361
|
+
|
|
362
|
+
**Outputs:**
|
|
363
|
+
- `logoClick: EventEmitter<void>`
|
|
364
|
+
- `helpClick: EventEmitter<void>`
|
|
365
|
+
- `menuItemClick: EventEmitter<TopMenuShortcut>`
|
|
366
|
+
- `searchSubmit: EventEmitter<string>`
|
|
367
|
+
- `propertyChanged: EventEmitter<PropertyOption>`
|
|
368
|
+
- `signOutClick: EventEmitter<void>`
|
|
369
|
+
- `alternateNamesChange: EventEmitter<boolean>`
|
|
370
|
+
- `employeeNameModeChange: EventEmitter<EmployeeNamesModeOption>`
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
### BayanCoreSettingsWidgetComponent
|
|
375
|
+
**Inputs:**
|
|
376
|
+
- `baseUrl: string`
|
|
377
|
+
- `licenseUrl: string`
|
|
378
|
+
- `releaseNotesUrl: string`
|
|
379
|
+
- `supportUrl: string`
|
|
380
|
+
- `ActivePropertyChanged: boolean`
|
|
381
|
+
- `checkIcon: any`
|
|
382
|
+
- `cogIcon: any`
|
|
383
|
+
- `infoIcon: any`
|
|
384
|
+
- `dropdownOpen: Signal<boolean>`
|
|
385
|
+
- `dropdownHostClass: string`
|
|
386
|
+
- `toggleBtnClass: string`
|
|
387
|
+
- `menuPanelClass: string`
|
|
388
|
+
- `sectionLabelClass: string`
|
|
389
|
+
- `menuRowClass: string`
|
|
390
|
+
- `dividerClass: string`
|
|
391
|
+
- `indicatorClass: string`
|
|
392
|
+
- `indicatorActiveClass: string`
|
|
393
|
+
- `indicatorInvisibleClass: string`
|
|
394
|
+
- `alternateNamesLinkClass: string`
|
|
395
|
+
|
|
396
|
+
**Outputs:**
|
|
397
|
+
- `alternateNamesChange: EventEmitter<boolean>`
|
|
398
|
+
- `nameModeChange: EventEmitter<EmployeeNamesModeOption>`
|
|
399
|
+
|
|
400
|
+
---
|
|
401
|
+
|
|
402
|
+
### BayanCoreAboutDialogWidgetComponent
|
|
403
|
+
**Inputs:**
|
|
404
|
+
- `baseUrl: string`
|
|
405
|
+
- `visible: boolean`
|
|
406
|
+
- `config: TopMenuWidgetAboutDialogConfig`
|
|
407
|
+
- `licenseUrl: string`
|
|
408
|
+
- `releaseNotesUrl: string`
|
|
409
|
+
- `supportUrl: string`
|
|
410
|
+
- `backdropClass: string`
|
|
411
|
+
- `modalClass: string`
|
|
412
|
+
- `headerClass: string`
|
|
413
|
+
- `titleClass: string`
|
|
414
|
+
- `closeBtnClass: string`
|
|
415
|
+
- `bodyClass: string`
|
|
416
|
+
- `logoClass: string`
|
|
417
|
+
- `productNameClass: string`
|
|
418
|
+
- `versionTextClass: string`
|
|
419
|
+
- `upToDateClass: string`
|
|
420
|
+
- `copyrightClass: string`
|
|
421
|
+
- `actionsClass: string`
|
|
422
|
+
- `actionBtnClass: string`
|
|
423
|
+
|
|
424
|
+
**Outputs:**
|
|
425
|
+
- `visibleChange: EventEmitter<boolean>`
|
|
426
|
+
- `licenseClick: EventEmitter<void>`
|
|
427
|
+
- `releaseNotesClick: EventEmitter<void>`
|
|
428
|
+
- `supportClick: EventEmitter<void>`
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
### BayanCoreChangePasswordWidgetComponent
|
|
433
|
+
**Inputs:**
|
|
434
|
+
- `baseUrl: string`
|
|
435
|
+
- `visible: boolean`
|
|
436
|
+
- `config: TopMenuWidgetChangePasswordDialogConfig`
|
|
437
|
+
- `isSubmitting: boolean`
|
|
438
|
+
|
|
439
|
+
**Outputs:**
|
|
440
|
+
- `visibleChange: EventEmitter<boolean>`
|
|
441
|
+
|
|
442
|
+
---
|
|
443
|
+
|
|
444
|
+
### BayanCoreGlobalSearchWidgetComponent
|
|
445
|
+
**Inputs:**
|
|
446
|
+
- `baseUrl: string`
|
|
447
|
+
- `ActivePropertyChanged: boolean`
|
|
448
|
+
- `ActivePropertyId: number`
|
|
449
|
+
- `placeholder: string`
|
|
450
|
+
- `searchMode: 'contains' | 'startswith'`
|
|
451
|
+
- `stylingMode: 'filled' | 'outlined' | 'underlined'`
|
|
452
|
+
- `searchWrapperClass: string`
|
|
453
|
+
- `searchItemClass: string`
|
|
454
|
+
- `searchItemTitleClass: string`
|
|
455
|
+
- `searchItemSubtitleClass: string`
|
|
456
|
+
- `iconClass: string`
|
|
457
|
+
|
|
458
|
+
**Outputs:**
|
|
459
|
+
- `search: EventEmitter<string>`
|
|
460
|
+
- `itemNavigate: EventEmitter<GlobalSearchMenu>`
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
### BayanCoreUserPanelWidgetComponent
|
|
465
|
+
**Inputs:**
|
|
466
|
+
- `baseUrl: string`
|
|
467
|
+
- `wrapperClass: string`
|
|
468
|
+
- `dropdownOpenClass: string`
|
|
469
|
+
- `toggleButtonClass: string`
|
|
470
|
+
- `employeeInfoClass: string`
|
|
471
|
+
- `userNameClass: string`
|
|
472
|
+
- `propertyNameClass: string`
|
|
473
|
+
- `caretClass: string`
|
|
474
|
+
- `menuClass: string`
|
|
475
|
+
- `sectionLabelClass: string`
|
|
476
|
+
- `menuItemClass: string`
|
|
477
|
+
- `menuItemActiveClass: string`
|
|
478
|
+
- `indicatorClass: string`
|
|
479
|
+
- `invisibleIndicatorClass: string`
|
|
480
|
+
- `dividerClass: string`
|
|
481
|
+
- `signOutButtonClass: string`
|
|
482
|
+
- `showSignOutIcon: boolean`
|
|
483
|
+
- `signOutIconClass: string`
|
|
484
|
+
|
|
485
|
+
**Outputs:**
|
|
486
|
+
- `propertyChanged: EventEmitter<PropertyOption>`
|
|
487
|
+
- `signOutClick: EventEmitter<void>`
|
|
488
|
+
|
|
489
|
+
---
|
|
490
|
+
|
|
491
|
+
### BayanCoreItemWidgetComponent
|
|
492
|
+
**Inputs:**
|
|
493
|
+
- `baseUrl: string`
|
|
494
|
+
- `ActivePropertyChanged: boolean`
|
|
495
|
+
- `item: TopMenuShortcut`
|
|
496
|
+
- `navItemClass: string`
|
|
497
|
+
- `navLinkClass: string`
|
|
498
|
+
- `dropdownClass: string`
|
|
499
|
+
- `dropdownOpenClass: string`
|
|
500
|
+
- `dropdownToggleClass: string`
|
|
501
|
+
- `caretClass: string`
|
|
502
|
+
- `dropdownMenuClass: string`
|
|
503
|
+
|
|
504
|
+
**Outputs:**
|
|
505
|
+
- `itemClick: EventEmitter<TopMenuShortcut>`
|
|
506
|
+
|
|
507
|
+
---
|
|
508
|
+
|
|
509
|
+
### BayanCoreNotificationsWidgetComponent
|
|
510
|
+
**Inputs:**
|
|
511
|
+
- `baseUrl: string`
|
|
512
|
+
- `title: string`
|
|
513
|
+
- `wrapperClass: string`
|
|
514
|
+
- `linkClass: string`
|
|
515
|
+
- `iconClass: string`
|
|
516
|
+
- `badgeClass: string`
|
|
517
|
+
|
|
335
518
|
## Build
|
|
336
519
|
|
|
337
520
|
```bash
|