@acorex-platform/module-organization-management-client 0.0.21

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 (53) hide show
  1. package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-Dn8Ss1nL.mjs +433 -0
  2. package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-Dn8Ss1nL.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs +161 -0
  4. package/fesm2022/acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs +137 -0
  6. package/fesm2022/acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs +127 -0
  8. package/fesm2022/acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs +468 -0
  10. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs +19 -0
  12. package/fesm2022/acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs +91 -0
  14. package/fesm2022/acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-DD3jLujN.mjs +61 -0
  16. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-DD3jLujN.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BNhXJfjr.mjs +28 -0
  18. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BNhXJfjr.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-BlUzsSy3.mjs +237 -0
  20. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-BlUzsSy3.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component--pyAaXB4.mjs +233 -0
  22. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component--pyAaXB4.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs +175 -0
  24. package/fesm2022/acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs +229 -0
  26. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-Bz8nVm04.mjs +179 -0
  28. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-Bz8nVm04.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs +168 -0
  30. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C5TItnOp.mjs +338 -0
  32. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C5TItnOp.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-g_3oPPH0.mjs +3744 -0
  34. package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-g_3oPPH0.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs +43 -0
  36. package/fesm2022/acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs +91 -0
  38. package/fesm2022/acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs +64 -0
  40. package/fesm2022/acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DHmUxlnu.mjs +143 -0
  42. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DHmUxlnu.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs +65 -0
  44. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs +400 -0
  46. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-Dnrkq9Ku.mjs +432 -0
  48. package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-Dnrkq9Ku.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-organization-management-client.mjs +2 -0
  50. package/fesm2022/acorex-platform-module-organization-management-client.mjs.map +1 -0
  51. package/package.json +28 -0
  52. package/types/acorex-platform-module-organization-management-client-contracts.d.ts +501 -0
  53. package/types/acorex-platform-module-organization-management-client.d.ts +273 -0
@@ -0,0 +1,432 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { inject } from '@angular/core';
3
+ import { objectKeyValueTransforms } from '@acorex-platform/framework-client/core';
4
+ import { AXPSessionService } from '@acorex-platform/framework-client/auth';
5
+ import { AXPOrganizationManagementSettings, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT } from '@acorex-platform/module-organization-management-client/contracts';
6
+
7
+ const I18N_SECTION = '@organization-management:settings.sections';
8
+ const I18N_LOCATION = '@location-management:locations.entities.location';
9
+ const GEOGRAPHIC_REGION_ENTITY = 'LocationManagement.GeographicRegion';
10
+ const ADDRESS = {
11
+ street1: AXPOrganizationManagementSettings.OrganizationStreet1,
12
+ street2: AXPOrganizationManagementSettings.OrganizationStreet2,
13
+ countryId: AXPOrganizationManagementSettings.OrganizationCountryId,
14
+ stateId: AXPOrganizationManagementSettings.OrganizationStateId,
15
+ cityId: AXPOrganizationManagementSettings.OrganizationCityId,
16
+ postalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,
17
+ };
18
+ class AXMSettingProvider {
19
+ constructor() {
20
+ this.sessionService = inject(AXPSessionService);
21
+ }
22
+ async provide(context) {
23
+ context
24
+ .addGroup('organization-settings', `${I18N_SECTION}.organization-settings.nav-title`, `${I18N_SECTION}.organization-settings.description`, 'fa-light fa-building', `${I18N_SECTION}.organization-settings.title`, -100)
25
+ // Branding Section
26
+ .addSection('branding', `${I18N_SECTION}.branding.title`, `${I18N_SECTION}.branding.description`)
27
+ .addSetting({
28
+ key: AXPOrganizationManagementSettings.OrganizationName,
29
+ title: `${I18N_SECTION}.branding-name.title`,
30
+ scope: 'T',
31
+ overridableAt: [],
32
+ isInherited: false,
33
+ defaultValue: this.sessionService.tenant?.title,
34
+ widget: {
35
+ type: AXPWidgetsList.Editors.TextBox,
36
+ options: { multiLanguage: true },
37
+ },
38
+ description: `${I18N_SECTION}.branding-name.description`,
39
+ })
40
+ .addSetting({
41
+ key: AXPOrganizationManagementSettings.OrganizationNameDisplay,
42
+ title: `${I18N_SECTION}.branding-name-display.title`,
43
+ scope: 'T',
44
+ overridableAt: [],
45
+ isInherited: false,
46
+ defaultValue: true,
47
+ widget: {
48
+ type: AXPWidgetsList.Editors.ToggleSwitch,
49
+ },
50
+ description: `${I18N_SECTION}.branding-name-display.description`,
51
+ })
52
+ .addSetting({
53
+ key: AXPOrganizationManagementSettings.TradingName,
54
+ title: `${I18N_SECTION}.branding-trading-name.title`,
55
+ scope: 'T',
56
+ overridableAt: [],
57
+ isInherited: false,
58
+ defaultValue: undefined,
59
+ widget: {
60
+ type: AXPWidgetsList.Editors.TextBox,
61
+ options: { multiLanguage: true },
62
+ },
63
+ description: `${I18N_SECTION}.branding-trading-name.description`,
64
+ })
65
+ .addSetting({
66
+ key: AXPOrganizationManagementSettings.TradingNameDisplay,
67
+ title: `${I18N_SECTION}.branding-trading-name-display.title`,
68
+ scope: 'T',
69
+ overridableAt: [],
70
+ isInherited: false,
71
+ defaultValue: true,
72
+ widget: {
73
+ type: AXPWidgetsList.Editors.ToggleSwitch,
74
+ },
75
+ description: `${I18N_SECTION}.branding-trading-name-display.description`,
76
+ })
77
+ .addSetting({
78
+ key: AXPOrganizationManagementSettings.BrandingLogo,
79
+ title: `${I18N_SECTION}.branding-logo.title`,
80
+ scope: 'T',
81
+ overridableAt: [],
82
+ isInherited: false,
83
+ defaultValue: undefined,
84
+ widget: {
85
+ type: AXPWidgetsList.Advanced.Image,
86
+ options: {
87
+ type: 'profile-photo',
88
+ fileStorage: {
89
+ refId: this.sessionService.tenant?.id,
90
+ refType: 'TenantManagement.Tenant',
91
+ category: 'logo',
92
+ },
93
+ },
94
+ },
95
+ description: `${I18N_SECTION}.branding-logo.description`,
96
+ })
97
+ .addSetting({
98
+ key: AXPOrganizationManagementSettings.BrandingColor,
99
+ title: `${I18N_SECTION}.branding-color.title`,
100
+ scope: 'T',
101
+ overridableAt: [],
102
+ isInherited: false,
103
+ defaultValue: '#1976d2',
104
+ widget: {
105
+ type: AXPWidgetsList.Editors.ColorBox,
106
+ },
107
+ description: `${I18N_SECTION}.branding-color.description`,
108
+ })
109
+ .addSetting({
110
+ key: AXPOrganizationManagementSettings.CopyrightText,
111
+ title: `${I18N_SECTION}.branding-copyright.title`,
112
+ scope: 'T',
113
+ overridableAt: [],
114
+ isInherited: true,
115
+ defaultValue: AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,
116
+ widget: {
117
+ type: AXPWidgetsList.Editors.TextBox,
118
+ options: { multiLanguage: true },
119
+ },
120
+ description: `${I18N_SECTION}.branding-copyright.description`,
121
+ })
122
+ .addSetting({
123
+ key: AXPOrganizationManagementSettings.CompanyBio,
124
+ title: `${I18N_SECTION}.branding-bio.title`,
125
+ scope: 'T',
126
+ overridableAt: [],
127
+ isInherited: false,
128
+ defaultValue: undefined,
129
+ widget: {
130
+ type: AXPWidgetsList.Editors.LargeTextBox,
131
+ layout: {
132
+ stacked: true,
133
+ },
134
+ options: {
135
+ rows: 6,
136
+ multiLanguage: true,
137
+ },
138
+ },
139
+ description: `${I18N_SECTION}.branding-bio.description`,
140
+ })
141
+ .endSection()
142
+ // Legal & Registration Section
143
+ .addSection('registration', `${I18N_SECTION}.registration.title`, `${I18N_SECTION}.registration.description`)
144
+ .addSetting({
145
+ key: AXPOrganizationManagementSettings.BusinessRegistrationNumber,
146
+ title: `${I18N_SECTION}.business-registration-number.title`,
147
+ scope: 'T',
148
+ overridableAt: [],
149
+ isInherited: false,
150
+ defaultValue: undefined,
151
+ widget: {
152
+ type: AXPWidgetsList.Editors.TextBox,
153
+ },
154
+ description: `${I18N_SECTION}.business-registration-number.description`,
155
+ })
156
+ .addSetting({
157
+ key: AXPOrganizationManagementSettings.CompanyRegistrationNumber,
158
+ title: `${I18N_SECTION}.company-registration-number.title`,
159
+ scope: 'T',
160
+ overridableAt: [],
161
+ isInherited: false,
162
+ defaultValue: undefined,
163
+ widget: {
164
+ type: AXPWidgetsList.Editors.TextBox,
165
+ },
166
+ description: `${I18N_SECTION}.company-registration-number.description`,
167
+ })
168
+ .addSetting({
169
+ key: AXPOrganizationManagementSettings.LicenceNumber,
170
+ title: `${I18N_SECTION}.licence-number.title`,
171
+ scope: 'T',
172
+ overridableAt: [],
173
+ isInherited: false,
174
+ defaultValue: undefined,
175
+ widget: {
176
+ type: AXPWidgetsList.Editors.TextBox,
177
+ },
178
+ description: `${I18N_SECTION}.licence-number.description`,
179
+ })
180
+ .endSection()
181
+ // Contact Details Section
182
+ .addSection('contact', 'Contact Details', 'Set company contact information.')
183
+ .addSetting({
184
+ key: AXPOrganizationManagementSettings.ContactEmail,
185
+ title: 'Company Email',
186
+ scope: 'T',
187
+ overridableAt: [],
188
+ isInherited: false,
189
+ defaultValue: undefined,
190
+ widget: {
191
+ type: AXPWidgetsList.Editors.ContactBox,
192
+ options: {
193
+ type: 'email',
194
+ hasLabel: false,
195
+ },
196
+ },
197
+ description: 'Primary email address for the company.',
198
+ })
199
+ .addSetting({
200
+ key: AXPOrganizationManagementSettings.SupportEmail,
201
+ title: 'Support Email',
202
+ scope: 'T',
203
+ overridableAt: [],
204
+ isInherited: false,
205
+ defaultValue: undefined,
206
+ widget: {
207
+ type: AXPWidgetsList.Editors.ContactBox,
208
+ options: {
209
+ type: 'email',
210
+ hasLabel: false,
211
+ },
212
+ },
213
+ description: 'Support email address for customer inquiries.',
214
+ })
215
+ .addSetting({
216
+ key: AXPOrganizationManagementSettings.InfoEmail,
217
+ title: 'Info Email',
218
+ scope: 'T',
219
+ overridableAt: [],
220
+ isInherited: false,
221
+ defaultValue: undefined,
222
+ widget: {
223
+ type: AXPWidgetsList.Editors.ContactBox,
224
+ options: {
225
+ type: 'email',
226
+ hasLabel: false,
227
+ },
228
+ },
229
+ description: 'General information email address.',
230
+ })
231
+ .addSetting({
232
+ key: AXPOrganizationManagementSettings.ContactPhone,
233
+ title: 'Company Phone',
234
+ scope: 'T',
235
+ overridableAt: [],
236
+ isInherited: false,
237
+ defaultValue: undefined,
238
+ widget: {
239
+ type: AXPWidgetsList.Editors.ContactBox,
240
+ options: {
241
+ type: 'phone',
242
+ hasLabel: false,
243
+ },
244
+ },
245
+ description: 'Primary contact phone number.',
246
+ })
247
+ .addSetting({
248
+ key: AXPOrganizationManagementSettings.FaxNumber,
249
+ title: 'Fax Number',
250
+ scope: 'T',
251
+ overridableAt: [],
252
+ isInherited: false,
253
+ defaultValue: undefined,
254
+ widget: {
255
+ type: AXPWidgetsList.Editors.ContactBox,
256
+ options: {
257
+ type: 'phone',
258
+ hasLabel: false,
259
+ },
260
+ },
261
+ description: 'Fax number for the company.',
262
+ })
263
+ .endSection()
264
+ // Address Section (aligned with location entity address-details)
265
+ .addSection('address', `${I18N_LOCATION}.groups.address-details`, `${I18N_SECTION}.address.description`)
266
+ .addSetting({
267
+ key: ADDRESS.street1,
268
+ title: `${I18N_LOCATION}.fields.street1`,
269
+ scope: 'T',
270
+ overridableAt: [],
271
+ isInherited: false,
272
+ defaultValue: undefined,
273
+ validationRules: [{ rule: 'required' }],
274
+ widget: {
275
+ type: AXPWidgetsList.Editors.TextBox,
276
+ options: {
277
+ placeholder: 'Enter street address',
278
+ },
279
+ },
280
+ })
281
+ .addSetting({
282
+ key: ADDRESS.street2,
283
+ title: `${I18N_LOCATION}.fields.street2`,
284
+ scope: 'T',
285
+ overridableAt: [],
286
+ isInherited: false,
287
+ defaultValue: undefined,
288
+ widget: {
289
+ type: AXPWidgetsList.Editors.TextBox,
290
+ options: {
291
+ placeholder: 'Apartment, suite, etc.',
292
+ },
293
+ },
294
+ })
295
+ .addSetting({
296
+ key: ADDRESS.countryId,
297
+ title: `${I18N_LOCATION}.fields.country`,
298
+ scope: 'T',
299
+ overridableAt: [],
300
+ isInherited: false,
301
+ defaultValue: undefined,
302
+ valueTransforms: objectKeyValueTransforms('id'),
303
+ widget: {
304
+ type: AXPWidgetsList.Editors.LookupBox,
305
+ options: {
306
+ entity: GEOGRAPHIC_REGION_ENTITY,
307
+ look: 'select',
308
+ allowCreate: 'quick',
309
+ create: {
310
+ enable: true,
311
+ },
312
+ expose: [
313
+ { source: 'id', target: 'country.id' },
314
+ { source: 'title', target: 'country.title' },
315
+ ],
316
+ filter: {
317
+ logic: 'and',
318
+ filters: [{ field: 'type.code', operator: { type: 'equal' }, value: 'country' }],
319
+ },
320
+ },
321
+ },
322
+ })
323
+ .addSetting({
324
+ key: ADDRESS.stateId,
325
+ title: `${I18N_LOCATION}.fields.state`,
326
+ scope: 'T',
327
+ overridableAt: [],
328
+ isInherited: false,
329
+ defaultValue: undefined,
330
+ valueTransforms: objectKeyValueTransforms('id'),
331
+ widget: {
332
+ type: AXPWidgetsList.Editors.LookupBox,
333
+ options: {
334
+ entity: GEOGRAPHIC_REGION_ENTITY,
335
+ look: 'select',
336
+ allowCreate: 'quick',
337
+ disabled: `{{ !context.eval('${ADDRESS.countryId}') }}`,
338
+ create: {
339
+ enable: true,
340
+ context: {
341
+ parentId: `{{ context.eval('${ADDRESS.countryId}') }}`,
342
+ type: { code: 'state' },
343
+ },
344
+ },
345
+ expose: [
346
+ { source: 'id', target: 'state.id' },
347
+ { source: 'title', target: 'state.title' },
348
+ ],
349
+ filter: {
350
+ logic: 'and',
351
+ filters: [
352
+ { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.countryId}') }}` },
353
+ { field: 'type.code', operator: { type: 'equal' }, value: 'state' },
354
+ ],
355
+ },
356
+ },
357
+ triggers: [
358
+ {
359
+ event: `{{ events.context('${ADDRESS.countryId}') }}`,
360
+ action: `{{ widget.setValue(null); context.set('${ADDRESS.cityId}', null); widget.refresh(); }}`,
361
+ },
362
+ ],
363
+ },
364
+ })
365
+ .addSetting({
366
+ key: ADDRESS.cityId,
367
+ title: `${I18N_LOCATION}.fields.city`,
368
+ scope: 'T',
369
+ overridableAt: [],
370
+ isInherited: false,
371
+ defaultValue: undefined,
372
+ valueTransforms: objectKeyValueTransforms('id'),
373
+ widget: {
374
+ type: AXPWidgetsList.Editors.LookupBox,
375
+ options: {
376
+ entity: GEOGRAPHIC_REGION_ENTITY,
377
+ look: 'select',
378
+ allowCreate: 'quick',
379
+ disabled: `{{ !context.eval('${ADDRESS.stateId}') }}`,
380
+ create: {
381
+ enable: true,
382
+ context: {
383
+ parentId: `{{ context.eval('${ADDRESS.stateId}') }}`,
384
+ type: { code: 'city' },
385
+ },
386
+ },
387
+ expose: [
388
+ { source: 'id', target: 'city.id' },
389
+ { source: 'title', target: 'city.title' },
390
+ ],
391
+ filter: {
392
+ logic: 'and',
393
+ filters: [
394
+ { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.stateId}') }}` },
395
+ { field: 'type.code', operator: { type: 'equal' }, value: 'city' },
396
+ ],
397
+ },
398
+ },
399
+ triggers: [
400
+ {
401
+ event: `{{ events.context('${ADDRESS.stateId}') }}`,
402
+ action: `{{ widget.setValue(null); widget.refresh(); }}`,
403
+ },
404
+ {
405
+ event: `{{ events.context('${ADDRESS.countryId}') }}`,
406
+ action: `{{ widget.setValue(null); widget.refresh(); }}`,
407
+ },
408
+ ],
409
+ },
410
+ })
411
+ .addSetting({
412
+ key: ADDRESS.postalCode,
413
+ title: `${I18N_LOCATION}.fields.postal-code`,
414
+ scope: 'T',
415
+ overridableAt: [],
416
+ isInherited: false,
417
+ defaultValue: undefined,
418
+ validationRules: [{ rule: 'required' }],
419
+ widget: {
420
+ type: AXPWidgetsList.Editors.TextBox,
421
+ options: {
422
+ placeholder: 'Postal/ZIP code',
423
+ },
424
+ },
425
+ })
426
+ .endSection()
427
+ .endGroup();
428
+ }
429
+ }
430
+
431
+ export { AXMSettingProvider };
432
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-settings.provider-Dnrkq9Ku.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-settings.provider-Dnrkq9Ku.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/settings.provider.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { inject } from '@angular/core';\nimport { objectKeyValueTransforms } from '@acorex-platform/framework-client/core';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport {\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,\n AXPOrganizationManagementSettings,\n} from '@acorex-platform/module-organization-management-client/contracts';\n\nconst I18N_SECTION = '@organization-management:settings.sections';\nconst I18N_LOCATION = '@location-management:locations.entities.location';\nconst GEOGRAPHIC_REGION_ENTITY = 'LocationManagement.GeographicRegion';\n\nconst ADDRESS = {\n street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n countryId: AXPOrganizationManagementSettings.OrganizationCountryId,\n stateId: AXPOrganizationManagementSettings.OrganizationStateId,\n cityId: AXPOrganizationManagementSettings.OrganizationCityId,\n postalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n} as const;\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n context\n .addGroup(\n 'organization-settings',\n `${I18N_SECTION}.organization-settings.nav-title`,\n `${I18N_SECTION}.organization-settings.description`,\n 'fa-light fa-building',\n `${I18N_SECTION}.organization-settings.title`,\n -100,\n )\n // Branding Section\n .addSection('branding', `${I18N_SECTION}.branding.title`, `${I18N_SECTION}.branding.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationName,\n title: `${I18N_SECTION}.branding-name.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: this.sessionService.tenant?.title,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationNameDisplay,\n title: `${I18N_SECTION}.branding-name-display.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n description: `${I18N_SECTION}.branding-name-display.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.TradingName,\n title: `${I18N_SECTION}.branding-trading-name.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-trading-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.TradingNameDisplay,\n title: `${I18N_SECTION}.branding-trading-name-display.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n description: `${I18N_SECTION}.branding-trading-name-display.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingLogo,\n title: `${I18N_SECTION}.branding-logo.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Advanced.Image,\n options: {\n type: 'profile-photo',\n fileStorage: {\n refId: this.sessionService.tenant?.id,\n refType: 'TenantManagement.Tenant',\n category: 'logo',\n },\n },\n },\n description: `${I18N_SECTION}.branding-logo.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingColor,\n title: `${I18N_SECTION}.branding-color.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: '#1976d2',\n widget: {\n type: AXPWidgetsList.Editors.ColorBox,\n },\n description: `${I18N_SECTION}.branding-color.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CopyrightText,\n title: `${I18N_SECTION}.branding-copyright.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: true,\n defaultValue: AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-copyright.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CompanyBio,\n title: `${I18N_SECTION}.branding-bio.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n layout: {\n stacked: true,\n },\n options: {\n rows: 6,\n multiLanguage: true,\n },\n },\n description: `${I18N_SECTION}.branding-bio.description`,\n })\n .endSection()\n\n // Legal & Registration Section\n .addSection(\n 'registration',\n `${I18N_SECTION}.registration.title`,\n `${I18N_SECTION}.registration.description`,\n )\n .addSetting({\n key: AXPOrganizationManagementSettings.BusinessRegistrationNumber,\n title: `${I18N_SECTION}.business-registration-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.business-registration-number.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CompanyRegistrationNumber,\n title: `${I18N_SECTION}.company-registration-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.company-registration-number.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.LicenceNumber,\n title: `${I18N_SECTION}.licence-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.licence-number.description`,\n })\n .endSection()\n\n // Contact Details Section\n .addSection('contact', 'Contact Details', 'Set company contact information.')\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: 'Company Email',\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'Primary email address for the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: 'Support Email',\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'Support email address for customer inquiries.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: 'Info Email',\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'General information email address.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: 'Company Phone',\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: 'Primary contact phone number.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: 'Fax Number',\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: 'Fax number for the company.',\n })\n .endSection()\n\n // Address Section (aligned with location entity address-details)\n .addSection(\n 'address',\n `${I18N_LOCATION}.groups.address-details`,\n `${I18N_SECTION}.address.description`,\n )\n .addSetting({\n key: ADDRESS.street1,\n title: `${I18N_LOCATION}.fields.street1`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n validationRules: [{ rule: 'required' }],\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: 'Enter street address',\n },\n },\n })\n .addSetting({\n key: ADDRESS.street2,\n title: `${I18N_LOCATION}.fields.street2`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: 'Apartment, suite, etc.',\n },\n },\n })\n .addSetting({\n key: ADDRESS.countryId,\n title: `${I18N_LOCATION}.fields.country`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n create: {\n enable: true,\n },\n expose: [\n { source: 'id', target: 'country.id' },\n { source: 'title', target: 'country.title' },\n ],\n filter: {\n logic: 'and',\n filters: [{ field: 'type.code', operator: { type: 'equal' }, value: 'country' }],\n },\n },\n },\n })\n .addSetting({\n key: ADDRESS.stateId,\n title: `${I18N_LOCATION}.fields.state`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n disabled: `{{ !context.eval('${ADDRESS.countryId}') }}`,\n create: {\n enable: true,\n context: {\n parentId: `{{ context.eval('${ADDRESS.countryId}') }}`,\n type: { code: 'state' },\n },\n },\n expose: [\n { source: 'id', target: 'state.id' },\n { source: 'title', target: 'state.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.countryId}') }}` },\n { field: 'type.code', operator: { type: 'equal' }, value: 'state' },\n ],\n },\n },\n triggers: [\n {\n event: `{{ events.context('${ADDRESS.countryId}') }}`,\n action: `{{ widget.setValue(null); context.set('${ADDRESS.cityId}', null); widget.refresh(); }}`,\n },\n ],\n },\n })\n .addSetting({\n key: ADDRESS.cityId,\n title: `${I18N_LOCATION}.fields.city`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n disabled: `{{ !context.eval('${ADDRESS.stateId}') }}`,\n create: {\n enable: true,\n context: {\n parentId: `{{ context.eval('${ADDRESS.stateId}') }}`,\n type: { code: 'city' },\n },\n },\n expose: [\n { source: 'id', target: 'city.id' },\n { source: 'title', target: 'city.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.stateId}') }}` },\n { field: 'type.code', operator: { type: 'equal' }, value: 'city' },\n ],\n },\n },\n triggers: [\n {\n event: `{{ events.context('${ADDRESS.stateId}') }}`,\n action: `{{ widget.setValue(null); widget.refresh(); }}`,\n },\n {\n event: `{{ events.context('${ADDRESS.countryId}') }}`,\n action: `{{ widget.setValue(null); widget.refresh(); }}`,\n },\n ],\n },\n })\n .addSetting({\n key: ADDRESS.postalCode,\n title: `${I18N_LOCATION}.fields.postal-code`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n validationRules: [{ rule: 'required' }],\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: 'Postal/ZIP code',\n },\n },\n })\n .endSection()\n\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;;AAUA,MAAM,YAAY,GAAG,4CAA4C;AACjE,MAAM,aAAa,GAAG,kDAAkD;AACxE,MAAM,wBAAwB,GAAG,qCAAqC;AAEtE,MAAM,OAAO,GAAG;IACd,OAAO,EAAE,iCAAiC,CAAC,mBAAmB;IAC9D,OAAO,EAAE,iCAAiC,CAAC,mBAAmB;IAC9D,SAAS,EAAE,iCAAiC,CAAC,qBAAqB;IAClE,OAAO,EAAE,iCAAiC,CAAC,mBAAmB;IAC9D,MAAM,EAAE,iCAAiC,CAAC,kBAAkB;IAC5D,UAAU,EAAE,iCAAiC,CAAC,sBAAsB;CAC5D;MAEG,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;AACmB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ganizationManagementModule, l as AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID, m as AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON, o as AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY, d as AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID, f as AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON, g as AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY, j as AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID, h as AXM_ORG_CHART_LAYOUT_SUBMENU_ICON, i as AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY, a as AXM_ORG_CHART_NODE_CONTRIBUTOR, e as axmResolveOrgChartFlyoutEmployeeId } from './acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-Dn8Ss1nL.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-organization-management-client.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@acorex-platform/module-organization-management-client",
3
+ "version": "0.0.21",
4
+ "sideEffects": false,
5
+ "peerDependencies": {
6
+ "@angular/common": "^21.0.0",
7
+ "@angular/core": "^21.0.0"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "module": "fesm2022/acorex-platform-module-organization-management-client.mjs",
13
+ "typings": "types/acorex-platform-module-organization-management-client.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./types/acorex-platform-module-organization-management-client.d.ts",
20
+ "default": "./fesm2022/acorex-platform-module-organization-management-client.mjs"
21
+ },
22
+ "./contracts": {
23
+ "types": "./types/acorex-platform-module-organization-management-client-contracts.d.ts",
24
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts.mjs"
25
+ }
26
+ },
27
+ "type": "module"
28
+ }