@skysoftware-co/bayan-core-widgets-ui 0.0.6 → 0.0.8

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.
Files changed (46) hide show
  1. package/.editorconfig +17 -0
  2. package/.github/copilot/WidgetDevelopmentGuide.md +632 -0
  3. package/.github/copilot/WidgetProjectStructure.md +81 -0
  4. package/.github/copilot/git.md +176 -0
  5. package/.github/copilot/guideline.md +466 -0
  6. package/.github/copilot-instructions.md +697 -0
  7. package/.github/prompts/As world class developer, create unit tests for.prompt.md +7 -0
  8. package/README.md +1 -337
  9. package/Web.config +7 -0
  10. package/angular.json +43 -0
  11. package/package.json +54 -31
  12. package/projects/bayan-core-ui/README.md +522 -0
  13. package/projects/bayan-core-ui/package.json +36 -0
  14. package/{src → projects/bayan-core-ui/src}/lib/shared/menu.service.ts +1 -1
  15. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.html +1 -1
  16. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.ts +4 -4
  17. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.ts +1 -1
  18. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.ts +9 -10
  19. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/item-widget/item-widget.component.html +2 -2
  20. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/item-widget/item-widget.component.ts +8 -23
  21. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.html +1 -1
  22. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.ts +3 -3
  23. package/projects/bayan-core-ui/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.html +111 -0
  24. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/settings-widget/settings-widget.component.ts +7 -5
  25. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.html +2 -1
  26. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.ts +1 -1
  27. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/top-menu-widget.component.html +6 -2
  28. package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/top-menu-widget.component.ts +21 -5
  29. package/projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.styles.css +1378 -0
  30. package/projects/bayan-core-ui/src/public-api.ts +14 -0
  31. package/tsconfig.json +40 -0
  32. package/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.html +0 -119
  33. package/src/lib/top-menu-widget/top-menu-widget.styles.css +0 -576
  34. package/src/public-api.ts +0 -7
  35. /package/{ng-package.json → projects/bayan-core-ui/ng-package.json} +0 -0
  36. /package/{src → projects/bayan-core-ui/src}/assets/i18n/ar.json +0 -0
  37. /package/{src → projects/bayan-core-ui/src}/assets/i18n/en.json +0 -0
  38. /package/{src → projects/bayan-core-ui/src}/assets/i18n/fr.json +0 -0
  39. /package/{src → projects/bayan-core-ui/src}/lib/shared/common-methods/navigation.utils.ts +0 -0
  40. /package/{src → projects/bayan-core-ui/src}/lib/shared/menu.dtos.ts +0 -0
  41. /package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.html +0 -0
  42. /package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.html +0 -0
  43. /package/{src → projects/bayan-core-ui/src}/lib/top-menu-widget/top-menu-widget.models.ts +0 -0
  44. /package/{tsconfig.lib.json → projects/bayan-core-ui/tsconfig.lib.json} +0 -0
  45. /package/{tsconfig.lib.prod.json → projects/bayan-core-ui/tsconfig.lib.prod.json} +0 -0
  46. /package/{tsconfig.spec.json → projects/bayan-core-ui/tsconfig.spec.json} +0 -0
package/README.md CHANGED
@@ -1,339 +1,3 @@
1
1
  # @skysoftware-co/bayan-core-widgets-ui
2
2
 
3
- Reusable Angular widgets for Bayan top-menu scenarios.
4
-
5
- ## Package Surface
6
-
7
- This package currently exports:
8
-
9
- - `BayanCoreTopMenuWidgetComponent`
10
- - `BayanCoreTopMenuService`
11
- - shared DTOs from `menu.dtos`
12
-
13
- The child widgets are documented below because they make up the top-menu contract, but they are currently intended for internal composition rather than direct package consumption.
14
-
15
- ## Installation
16
-
17
- ```bash
18
- npm install @skysoftware-co/bayan-core-widgets-ui
19
- ```
20
-
21
- ## Basic Usage
22
-
23
- ```html
24
- <bayan-core-top-menu-widget
25
- [baseUrl]="appBaseUrl"
26
- [systemModule]="systemModule"
27
- [sidebarCollapsed]="sidebarCollapsed"
28
- [homeUrl]="homeUrl"
29
- [logoUrl]="logoUrl"
30
- [collapsedLogoUrl]="collapsedLogoUrl"
31
- [menuItems]="menuItems"
32
- [searchItems]="searchItems"
33
- [nameModeItems]="nameModeItems"
34
- [showGlobalSearch]="true"
35
- [showUserPanel]="true"
36
- [showSettings]="true"
37
- [showNotifications]="true"
38
- [showHelp]="true"
39
- [useInternalDialogs]="true"
40
- [aboutDialog]="aboutDialog"
41
- [changePasswordDialog]="changePasswordDialog"
42
- (menuItemClick)="onMenuItemClick($event)"
43
- (searchSubmit)="onSearchSubmit($event)"
44
- (searchItemNavigate)="onSearchItemNavigate($event)"
45
- (propertyChanged)="onPropertyChange($event)"
46
- (signOutClick)="onSignOut()"
47
- (submitPasswordChange)="onSubmitPasswordChange($event)">
48
- </bayan-core-top-menu-widget>
49
- ```
50
-
51
- ## Models
52
-
53
- ```ts
54
- interface TopMenuWidgetItem {
55
- id?: string | number;
56
- menuName: string;
57
- menuUrl?: string | null;
58
- children?: TopMenuWidgetItem[];
59
- }
60
-
61
- interface TopMenuWidgetSearchItem {
62
- id?: string | number;
63
- menuTitle: string;
64
- menuSubTitle: string;
65
- menuUrl?: string | null;
66
- iconClass?: string | null;
67
- isTranslatable?: boolean;
68
- }
69
-
70
- interface TopMenuWidgetNameModeItem {
71
- id: string;
72
- text: string;
73
- selected: boolean;
74
- }
75
-
76
- interface TopMenuWidgetAboutDialogConfig {
77
- title?: string;
78
- logoUrl?: string;
79
- version?: string;
80
- versionLabel?: string;
81
- copyright?: string;
82
- statusLabel?: string;
83
- licenseButtonLabel?: string;
84
- releaseNotesButtonLabel?: string;
85
- supportButtonLabel?: string;
86
- closeButtonLabel?: string;
87
- }
88
-
89
- interface TopMenuWidgetChangePasswordDialogConfig {
90
- title: string;
91
- currentPasswordLabel: string;
92
- newPasswordLabel: string;
93
- confirmNewPasswordLabel: string;
94
- primaryButtonText: string;
95
- }
96
-
97
- interface TopMenuWidgetChangePasswordPayload {
98
- currentPassword: string;
99
- newPassword: string;
100
- confirmNewPassword: string;
101
- }
102
- ```
103
-
104
- ## Top Menu Widget
105
-
106
- Selector: `bayan-core-top-menu-widget`
107
-
108
- ### Inputs
109
-
110
- | Name | Type | Default | Description |
111
- |---|---|---|---|
112
- | `baseUrl` | `string` | `''` | Base URL used to resolve internal and external navigation targets. |
113
- | `systemModule` | `SystemModule \| null` | `null` | Current system module context. |
114
- | `sidebarCollapsed` | `boolean` | `false` | Switches the brand area to the collapsed logo state. |
115
- | `homeUrl` | `string \| null` | `null` | Brand navigation target. |
116
- | `logoUrl` | `string` | Bayan CDN URL | Expanded logo source. |
117
- | `collapsedLogoUrl` | `string` | Bayan CDN URL | Collapsed logo source. |
118
- | `searchPlaceholder` | `string` | `'TopMenu.SearchPlaceholder'` | Search placeholder text or translation key. |
119
- | `menuItems` | `TopMenuWidgetItem[]` | `[]` | Top-level navigation items. |
120
- | `searchItems` | `TopMenuWidgetSearchItem[]` | `[]` | Autocomplete items for global search. |
121
- | `isSsoLogin` | `boolean` | `false` | Fallback SSO flag when the user panel does not provide one. |
122
- | `useAlternateNames` | `boolean` | `false` | Enables alternate-names behavior in settings. |
123
- | `displayAlternateNames` | `boolean` | `false` | Marks alternate names as active. |
124
- | `hrBlocked` | `boolean` | `false` | Current HR block state. |
125
- | `hrCanBlock` | `boolean` | `false` | Enables HR block and release actions. |
126
- | `tkBlocked` | `boolean` | `false` | Current Timekeeping block state. |
127
- | `tkCanBlock` | `boolean` | `false` | Enables Timekeeping block and release actions. |
128
- | `employeeNamesMode` | `AppFramePreferences` | | Name display mode option from preferences. |
129
- | `settingsEnabled` | `boolean` | `true` | Enables settings interactions. |
130
- | `useInternalDialogs` | `boolean` | `false` | Shows built-in About and Change Password dialogs. |
131
- | `changePasswordLoading` | `boolean` | `false` | Loading state for the built-in Change Password dialog. |
132
- | `changePasswordDialog` | `TopMenuWidgetChangePasswordDialogConfig` | default labels | Built-in Change Password dialog labels. |
133
- | `aboutDialog` | `TopMenuWidgetAboutDialogConfig` | default labels | Built-in About dialog content and labels. |
134
- | `showGlobalSearch` | `boolean` | `false` | Shows the global search widget. |
135
- | `showUserPanel` | `boolean` | `false` | Shows the user panel widget. |
136
- | `showSettings` | `boolean` | `false` | Shows the settings widget. |
137
- | `showNotifications` | `boolean` | `true` | Shows the notifications widget. |
138
- | `notificationsTitle` | `string` | `'Notifications'` | Notification link title text or translation key. |
139
- | `showHelp` | `boolean` | `true` | Shows the help action. |
140
- | `helpTitle` | `string` | `'Help'` | Help link title text or translation key. |
141
- | `helpUrl` | `string \| null` | `null` | Help navigation target. |
142
- | `helpIcon` | `IconDefinition` | `faQuestionCircle` | Help icon. |
143
- | `helpAnchorClass` | `string` | `'menu-icon-btn top-menu-widget__help-link'` | CSS classes for the help anchor. |
144
- | `helpUrlTarget` | `'_self' \| '_blank' \| string` | `'_blank'` | Anchor target for the help action. |
145
-
146
- ### Outputs
147
-
148
- | Name | Type | Description |
149
- |---|---|---|
150
- | `logoClick` | `EventEmitter<void>` | Fired when the brand link is clicked. |
151
- | `helpClick` | `EventEmitter<void>` | Fired when the help action is clicked. |
152
- | `menuItemClick` | `EventEmitter<TopMenuWidgetItem>` | Fired when a leaf menu item is activated. |
153
- | `searchSubmit` | `EventEmitter<string>` | Fired when free-text search is submitted. |
154
- | `searchItemNavigate` | `EventEmitter<TopMenuWidgetSearchItem>` | Fired when an autocomplete result is chosen. |
155
- | `propertyChanged` | `EventEmitter<PropertyOption>` | Fired when the active property changes. |
156
- | `signOutClick` | `EventEmitter<void>` | Fired when sign out is requested. |
157
- | `alternateNamesChange` | `EventEmitter<void>` | Fired when alternate names are toggled. |
158
- | `nameModeChange` | `EventEmitter<number>` | Fired when a name mode item is selected. |
159
- | `blockHrClick` | `EventEmitter<void>` | Fired when HR block is requested. |
160
- | `releaseHrClick` | `EventEmitter<void>` | Fired when HR release is requested. |
161
- | `blockTkClick` | `EventEmitter<void>` | Fired when Timekeeping block is requested. |
162
- | `releaseTkClick` | `EventEmitter<void>` | Fired when Timekeeping release is requested. |
163
- | `changePasswordClick` | `EventEmitter<void>` | Fired when Change Password is requested from settings. |
164
- | `openAboutClick` | `EventEmitter<void>` | Fired when About is requested from settings. |
165
- | `aboutLicenseClick` | `EventEmitter<void>` | Fired when the About dialog license action is clicked. |
166
- | `aboutReleaseNotesClick` | `EventEmitter<void>` | Fired when the About dialog release-notes action is clicked. |
167
- | `aboutSupportClick` | `EventEmitter<void>` | Fired when the About dialog support action is clicked. |
168
- | `submitPasswordChange` | `EventEmitter<TopMenuWidgetChangePasswordPayload>` | Fired when the built-in Change Password dialog is submitted. |
169
-
170
- ## Internal Composition Widgets
171
-
172
- These widgets are used by the top-menu component and are documented here so the full contract is visible.
173
-
174
- ### Global Search Widget
175
-
176
- Selector: `bayan-core-global-search-widget`
177
-
178
- Inputs:
179
-
180
- | Name | Type | Default | Description |
181
- |---|---|---|---|
182
- | `baseUrl` | `string` | `''` | Base URL used to resolve selected item URLs. |
183
- | `ActivePropertyChanged` | `boolean` | `false` | Boolean change token used to reset the search input after a property switch. |
184
- | `placeholder` | `string` | `'TopMenu.SearchPlaceholder'` | Placeholder text or translation key. |
185
- | `dataSource` | `TopMenuWidgetSearchItem[]` | `[]` | Search results shown in the autocomplete. |
186
-
187
- Outputs:
188
-
189
- | Name | Type | Description |
190
- |---|---|---|
191
- | `search` | `EventEmitter<string>` | Fired when the user submits free-text search with Enter. |
192
- | `itemNavigate` | `EventEmitter<TopMenuWidgetSearchItem>` | Fired when the user selects a result item. |
193
-
194
- ### Item Widget
195
-
196
- Selector: `bayan-core-item-widget`
197
-
198
- Inputs:
199
-
200
- | Name | Type | Default | Description |
201
- |---|---|---|---|
202
- | `baseUrl` | `string` | `''` | Base URL used to resolve item URLs. |
203
- | `ActivePropertyChanged` | `boolean` | `false` | Boolean change token used to close open menu branches after a property switch. |
204
- | `item` | `TopMenuWidgetItem` | required | Menu item to render. |
205
-
206
- Outputs:
207
-
208
- | Name | Type | Description |
209
- |---|---|---|
210
- | `itemClick` | `EventEmitter<TopMenuWidgetItem>` | Fired when a leaf menu item is activated. |
211
-
212
- ### Notifications Widget
213
-
214
- Selector: `bayan-core-notifications-widget`
215
-
216
- Inputs:
217
-
218
- | Name | Type | Default | Description |
219
- |---|---|---|---|
220
- | `baseUrl` | `string` | `''` | Base URL used to load the notifications summary and resolve its navigation URL. |
221
- | `title` | `string` | `'Notifications'` | Link title text or translation key. |
222
- | `wrapperClass` | `string` | `'notifications-icon-wrap menu-dropdown-host'` | Wrapper CSS classes. |
223
- | `linkClass` | `string` | `'menu-icon-btn cursor-pointer top-menu-widget__notification-btn'` | Anchor CSS classes. |
224
- | `iconClass` | `string` | `'fs-6'` | Bell icon CSS classes. |
225
- | `badgeClass` | `string` | `'top-menu-widget__notification-badge'` | Badge CSS classes. |
226
-
227
- Outputs: none.
228
-
229
- ### Settings Widget
230
-
231
- Selector: `bayan-core-settings-widget`
232
-
233
- Inputs:
234
-
235
- | Name | Type | Default | Description |
236
- |---|---|---|---|
237
- | `ActivePropertyChanged` | `boolean` | `false` | Boolean change token used to close the settings menu after a property switch. |
238
- | `useAlternateNames` | `boolean` | `false` | Enables alternate names behavior. |
239
- | `displayAlternateNames` | `boolean` | `false` | Marks alternate names as active. |
240
- | `hrBlocked` | `boolean` | `false` | Current HR block state. |
241
- | `hrCanBlock` | `boolean` | `false` | Enables HR block and release actions. |
242
- | `tkBlocked` | `boolean` | `false` | Current Timekeeping block state. |
243
- | `tkCanBlock` | `boolean` | `false` | Enables Timekeeping block and release actions. |
244
- | `employeeNamesMode` | `AppFramePreferences` | | Name mode option from preferences. |
245
- | `settingsEnabled` | `boolean` | `true` | Enables settings interactions. |
246
-
247
- Outputs:
248
-
249
- | Name | Type | Description |
250
- |---|---|---|
251
- | `alternateNamesChange` | `EventEmitter<void>` | Fired when alternate names are toggled. |
252
- | `nameModeChange` | `EventEmitter<number>` | Fired when a name mode item is selected. |
253
- | `blockHrClick` | `EventEmitter<void>` | Fired when HR block is requested. |
254
- | `releaseHrClick` | `EventEmitter<void>` | Fired when HR release is requested. |
255
- | `blockTkClick` | `EventEmitter<void>` | Fired when Timekeeping block is requested. |
256
- | `releaseTkClick` | `EventEmitter<void>` | Fired when Timekeeping release is requested. |
257
- | `changePasswordClick` | `EventEmitter<void>` | Fired when Change Password is requested. |
258
- | `openAboutClick` | `EventEmitter<void>` | Fired when About is requested. |
259
-
260
- ### User Panel Widget
261
-
262
- Selector: `bayan-core-user-panel-widget`
263
-
264
- Inputs:
265
-
266
- | Name | Type | Default | Description |
267
- |---|---|---|---|
268
- | `baseUrl` | `string` | `''` | Base URL used to load the current user panel and to switch the active property. |
269
- | `wrapperClass` | `string` | `'menu-dropdown-host'` | Wrapper CSS classes. |
270
- | `dropdownOpenClass` | `string` | `'open'` | CSS class added while the dropdown is open. |
271
- | `toggleButtonClass` | `string` | `'employee-toggle'` | Toggle button CSS classes. |
272
- | `employeeInfoClass` | `string` | `'employee-info'` | Employee info wrapper CSS classes. |
273
- | `userNameClass` | `string` | `'user-name'` | User name text CSS classes. |
274
- | `propertyNameClass` | `string` | `'property-name'` | Active property text CSS classes. |
275
- | `caretClass` | `string` | `'employee-caret'` | Caret CSS classes. |
276
- | `menuClass` | `string` | `'employee-menu menu-dropdown-panel'` | Dropdown menu CSS classes. |
277
- | `sectionLabelClass` | `string` | `'menu-section-label'` | Section label CSS classes. |
278
- | `menuItemClass` | `string` | `'menu-item'` | Property row CSS classes. |
279
- | `menuItemActiveClass` | `string` | `'menu-item-active'` | Active property CSS class. |
280
- | `indicatorClass` | `string` | `'menu-indicator'` | Selection indicator CSS classes. |
281
- | `invisibleIndicatorClass` | `string` | `'invisible'` | Hidden indicator CSS class. |
282
- | `dividerClass` | `string` | `'menu-divider'` | Divider CSS classes. |
283
- | `signOutButtonClass` | `string` | `'menu-item menu-item-signout'` | Sign-out button CSS classes. |
284
- | `showSignOutIcon` | `boolean` | `true` | Shows or hides the sign-out icon. |
285
- | `signOutIconClass` | `string` | `'mx-2'` | Sign-out icon CSS classes. |
286
-
287
- Outputs:
288
-
289
- | Name | Type | Description |
290
- |---|---|---|
291
- | `propertyChanged` | `EventEmitter<PropertyOption>` | Fired after `switchProperty` succeeds and the widget refetches the user panel. |
292
- | `signOutClick` | `EventEmitter<void>` | Fired when sign out is requested. |
293
-
294
- ### Change Password Widget
295
-
296
- Selector: `bayan-core-change-password-widget`
297
-
298
- Inputs:
299
-
300
- | Name | Type | Default | Description |
301
- |---|---|---|---|
302
- | `baseUrl` | `string` | `''` | Reserved for dialog-level extensibility. |
303
- | `visible` | `boolean` | `false` | Controls popup visibility. |
304
- | `config` | `TopMenuWidgetChangePasswordDialogConfig` | required | Dialog labels and title. |
305
- | `isSubmitting` | `boolean` | `false` | Disables editing while submission is in progress. |
306
-
307
- Outputs:
308
-
309
- | Name | Type | Description |
310
- |---|---|---|
311
- | `visibleChange` | `EventEmitter<boolean>` | Fired when the dialog requests a visibility change. |
312
- | `submitPasswordChange` | `EventEmitter<TopMenuWidgetChangePasswordPayload>` | Fired with the form payload when save succeeds validation. |
313
-
314
- ### About Dialog Widget
315
-
316
- Selector: `bayan-core-about-dialog-widget`
317
-
318
- Inputs:
319
-
320
- | Name | Type | Default | Description |
321
- |---|---|---|---|
322
- | `baseUrl` | `string` | `''` | Reserved for dialog-level extensibility. |
323
- | `visible` | `boolean` | `false` | Controls dialog visibility. |
324
- | `config` | `TopMenuWidgetAboutDialogConfig` | required | Dialog content and action labels. |
325
-
326
- Outputs:
327
-
328
- | Name | Type | Description |
329
- |---|---|---|
330
- | `visibleChange` | `EventEmitter<boolean>` | Fired when the dialog requests to close. |
331
- | `licenseClick` | `EventEmitter<void>` | Fired when the license action is clicked. |
332
- | `releaseNotesClick` | `EventEmitter<void>` | Fired when the release-notes action is clicked. |
333
- | `supportClick` | `EventEmitter<void>` | Fired when the support action is clicked. |
334
-
335
- ## Build
336
-
337
- ```bash
338
- npm run build -- --project BayanCoreComponents --configuration development
339
- ```
3
+ See `projects/bayan-core-ui/README.md` for the package documentation used during library publishing.
package/Web.config ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0"?>
2
+ <configuration>
3
+ <system.web>
4
+ <compilation debug="false" targetFramework="4.8"/>
5
+ <pages controlRenderingCompatibilityVersion="4.0"/>
6
+ </system.web>
7
+ </configuration>
package/angular.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "newProjectRoot": "projects",
5
+ "projects": {
6
+ "BayanCoreComponents": {
7
+ "projectType": "library",
8
+ "root": "projects/bayan-core-ui",
9
+ "sourceRoot": "projects/bayan-core-ui/src",
10
+ "prefix": "lib",
11
+ "architect": {
12
+ "build": {
13
+ "builder": "@angular-devkit/build-angular:ng-packagr",
14
+ "options": {
15
+ "project": "projects/bayan-core-ui/ng-package.json"
16
+ },
17
+ "configurations": {
18
+ "production": {
19
+ "tsConfig": "projects/bayan-core-ui/tsconfig.lib.prod.json"
20
+ },
21
+ "development": {
22
+ "tsConfig": "projects/bayan-core-ui/tsconfig.lib.json"
23
+ }
24
+ },
25
+ "defaultConfiguration": "production"
26
+ },
27
+ "test": {
28
+ "builder": "@angular-devkit/build-angular:karma",
29
+ "options": {
30
+ "tsConfig": "projects/bayan-core-ui/tsconfig.spec.json",
31
+ "polyfills": [
32
+ "zone.js",
33
+ "zone.js/testing"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ },
40
+ "cli": {
41
+ "analytics": false
42
+ }
43
+ }
package/package.json CHANGED
@@ -1,36 +1,59 @@
1
1
  {
2
2
  "name": "@skysoftware-co/bayan-core-widgets-ui",
3
- "version": "0.0.6",
4
- "peerDependencies": {
5
- "@angular/common": "19.2.14",
6
- "@angular/core": "19.2.14",
7
- "@ngx-translate/core": ">=15.0.0",
8
- "@skysoftware-co/bayan-components-ui": ">=1.1.0",
9
- "@skysoftware-co/sky-components-ui": ">=1.3.3",
10
- "devextreme-angular": ">=23.0.0",
11
- "@fortawesome/angular-fontawesome": ">=0.14.0",
12
- "@fortawesome/pro-light-svg-icons": ">=6.0.0",
13
- "@fortawesome/pro-solid-svg-icons": ">=6.0.0"
3
+ "version": "0.0.8",
4
+ "scripts": {
5
+ "ng": "ng",
6
+ "start": "ng serve",
7
+ "build": "ng build",
8
+ "watch": "ng build --watch --configuration development",
9
+ "test": "ng test"
14
10
  },
15
- "main": "fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs",
16
- "module": "fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs",
17
- "typings": "index.d.ts",
18
- "sideEffects": false,
19
- "peerDependenciesMeta": {
20
- "@ngx-translate/core": {
21
- "optional": true
22
- },
23
- "devextreme-angular": {
24
- "optional": true
25
- },
26
- "@fortawesome/angular-fontawesome": {
27
- "optional": true
28
- },
29
- "@fortawesome/pro-light-svg-icons": {
30
- "optional": true
31
- },
32
- "@fortawesome/pro-solid-svg-icons": {
33
- "optional": true
34
- }
11
+ "dependencies": {
12
+ "@angular-devkit/core": "^19.2.15",
13
+ "@angular/animations": "^19.2.14",
14
+ "@angular/cdk": "19.2.19",
15
+ "@angular/common": "^19.2.14",
16
+ "@angular/compiler": "^19.2.14",
17
+ "@angular/core": "^19.2.14",
18
+ "@angular/forms": "^19.2.14",
19
+ "@angular/material": "19.2.19",
20
+ "@angular/platform-browser": "^19.2.14",
21
+ "@angular/platform-browser-dynamic": "^19.2.14",
22
+ "@angular/router": "^19.2.14",
23
+ "@fortawesome/free-brands-svg-icons": "^7.0.0",
24
+ "@fortawesome/pro-light-svg-icons": "^7.0.0",
25
+ "@fortawesome/pro-regular-svg-icons": "^7.2.0",
26
+ "@ngx-translate/core": "^17.0.0",
27
+ "@skysoftware-co/bayan-components-ui": "^1.1.0",
28
+ "@skysoftware-co/sky-components-ui": "^1.3.3",
29
+ "crypto-js": "^4.2.0",
30
+ "moment": "^2.30.1",
31
+ "ngx-cookie-service": "^19.1.2",
32
+ "pdfjs-dist": "^5.4.149",
33
+ "rxjs": "~7.8.0",
34
+ "tslib": "^2.3.0",
35
+ "zone.js": "~0.15.1"
36
+ },
37
+ "devDependencies": {
38
+ "@angular-devkit/build-angular": "^19.2.15",
39
+ "@angular/cli": "^19.2.15",
40
+ "@angular/compiler-cli": "^19.2.14",
41
+ "@fortawesome/angular-fontawesome": "^1.0.0",
42
+ "@fortawesome/fontawesome-svg-core": "^7.0.0",
43
+ "@fortawesome/pro-solid-svg-icons": "^7.0.0",
44
+ "@types/jasmine": "~5.1.0",
45
+ "bootstrap": "^5.3.7",
46
+ "devextreme": "^24.1.7",
47
+ "devextreme-angular": "^24.1.7",
48
+ "devextreme-cli": "^1.6.7",
49
+ "devextreme-themebuilder": "^24.1.7",
50
+ "jasmine-core": "~5.2.0",
51
+ "karma": "~6.4.0",
52
+ "karma-chrome-launcher": "~3.2.0",
53
+ "karma-coverage": "~2.2.0",
54
+ "karma-jasmine": "~5.1.0",
55
+ "karma-jasmine-html-reporter": "~2.1.0",
56
+ "ng-packagr": "^19.2.2",
57
+ "typescript": "~5.7.2"
35
58
  }
36
59
  }