@acorex-platform/module-locale-management-client 0.0.30 → 0.0.33

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 (26) hide show
  1. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-languages.mjs +253 -0
  2. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-languages.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-locales.mjs +251 -0
  4. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-locales.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs +291 -0
  6. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs +56 -0
  8. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs +218 -0
  10. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs +216 -0
  12. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs +256 -0
  14. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog.mjs +2 -0
  16. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-locale-management-client-local-entities.mjs +31 -0
  18. package/fesm2022/acorex-platform-module-locale-management-client-local-entities.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-locale-management-client.mjs +4 -2
  20. package/fesm2022/acorex-platform-module-locale-management-client.mjs.map +1 -1
  21. package/package.json +21 -1
  22. package/types/acorex-platform-module-locale-management-client-contracts-entities-languages.d.ts +5 -0
  23. package/types/acorex-platform-module-locale-management-client-contracts-entities-locales.d.ts +5 -0
  24. package/types/acorex-platform-module-locale-management-client-contracts-entities-timezones.d.ts +5 -0
  25. package/types/acorex-platform-module-locale-management-client-contracts-entity-catalog.d.ts +10 -0
  26. package/types/acorex-platform-module-locale-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,216 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, AXPEntityCommandScope, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs';
4
+
5
+ async function localesFactory() {
6
+ const entityDef = {
7
+ module: RootConfig.module.name,
8
+ name: RootConfig.entities.locales.name,
9
+ title: RootConfig.entities.locales.title,
10
+ formats: {
11
+ individual: RootConfig.entities.locales.title,
12
+ plural: RootConfig.entities.locales.titlePlural,
13
+ searchResult: {
14
+ title: '{{ title }}',
15
+ description: '{{ code }}',
16
+ },
17
+ },
18
+ plugins: [
19
+ { name: 'archive' },
20
+ { name: 'default' },
21
+ ],
22
+ groups: [
23
+ {
24
+ id: 'basic-info',
25
+ title: '@general:terms.interface.basic-info',
26
+ },
27
+ ],
28
+ properties: [
29
+ {
30
+ name: 'languageId',
31
+ title: '@locale-management:locales.entities.locale.fields.language',
32
+ groupId: 'basic-info',
33
+ options: {
34
+ filter: {
35
+ advance: {
36
+ enabled: true,
37
+ },
38
+ },
39
+ },
40
+ schema: {
41
+ dataType: 'object',
42
+ interface: {
43
+ type: AXPWidgetsCatalog.lookup,
44
+ options: {
45
+ entity: `${RootConfig.module.name}.${RootConfig.entities.languages.name}`,
46
+ expose: [
47
+ { source: 'id', target: 'language.id' },
48
+ { source: 'title', target: 'language.title' }
49
+ ]
50
+ }
51
+ }
52
+ },
53
+ validations: [
54
+ {
55
+ rule: 'required',
56
+ },
57
+ ],
58
+ },
59
+ {
60
+ name: 'code',
61
+ title: '@general:terms.common.code',
62
+ groupId: 'basic-info',
63
+ options: {
64
+ sort: {
65
+ enabled: true,
66
+ },
67
+ filter: {
68
+ advance: {
69
+ enabled: true,
70
+ },
71
+ inline: {
72
+ enabled: true,
73
+ },
74
+ },
75
+ },
76
+ schema: {
77
+ dataType: 'string',
78
+ interface: {
79
+ type: AXPWidgetsCatalog.text,
80
+ options: {
81
+ placeholder: 'e.g., en-US, es-MX',
82
+ },
83
+ },
84
+ },
85
+ validations: [
86
+ {
87
+ rule: 'required',
88
+ },
89
+ ],
90
+ },
91
+ {
92
+ name: 'title',
93
+ title: '@general:terms.common.title',
94
+ groupId: 'basic-info',
95
+ options: {
96
+ sort: {
97
+ enabled: true,
98
+ },
99
+ filter: {
100
+ advance: {
101
+ enabled: true,
102
+ },
103
+ inline: {
104
+ enabled: true,
105
+ },
106
+ },
107
+ },
108
+ schema: {
109
+ dataType: 'string',
110
+ interface: {
111
+ type: AXPWidgetsCatalog.text,
112
+ options: {
113
+ placeholder: 'e.g., English (United States)',
114
+ },
115
+ },
116
+ },
117
+ validations: [
118
+ {
119
+ rule: 'required',
120
+ },
121
+ ],
122
+ },
123
+ {
124
+ name: 'countryCode',
125
+ title: '@locale-management:locales.entities.locale.fields.country-code',
126
+ groupId: 'basic-info',
127
+ options: {
128
+ sort: {
129
+ enabled: true,
130
+ },
131
+ filter: {
132
+ advance: {
133
+ enabled: true,
134
+ },
135
+ },
136
+ },
137
+ schema: {
138
+ dataType: 'string',
139
+ interface: {
140
+ type: AXPWidgetsCatalog.text,
141
+ options: {
142
+ placeholder: 'e.g., US, MX',
143
+ },
144
+ },
145
+ },
146
+ validations: [
147
+ {
148
+ rule: 'required',
149
+ },
150
+ ],
151
+ },
152
+ ],
153
+ columns: [
154
+ { name: 'code', options: { width: '120px', order: 1 } },
155
+ { name: 'title', options: { width: '250px', order: 2 } },
156
+ { name: 'countryCode', options: { width: '100px', order: 3 } },
157
+ ],
158
+ interfaces: {
159
+ master: {
160
+ create: {
161
+ sections: [{ id: 'basic-info' }],
162
+ properties: [
163
+ // NOTE: languageId is NOT included here - it's passed via context
164
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
165
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
166
+ { name: 'countryCode', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
167
+ ],
168
+ },
169
+ update: {
170
+ sections: [{ id: 'basic-info' }],
171
+ properties: [
172
+ // NOTE: languageId is NOT included here - it's immutable in update
173
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
174
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
175
+ { name: 'countryCode', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
176
+ ],
177
+ },
178
+ single: {
179
+ title: RootConfig.entities.locales.title,
180
+ sections: [{ id: 'basic-info' }],
181
+ actions: [
182
+ ...entityMasterRecordActions(),
183
+ {
184
+ title: '@general:actions.edit.title',
185
+ command: 'Entity:Edit',
186
+ priority: 'primary',
187
+ type: 'update',
188
+ scope: AXPEntityCommandScope.Individual,
189
+ },
190
+ ],
191
+ },
192
+ list: {
193
+ actions: [
194
+ ...entityMasterCrudActions(),
195
+ {
196
+ title: '@general:actions.edit.title',
197
+ command: 'Entity:Edit',
198
+ priority: 'secondary',
199
+ type: 'update',
200
+ scope: AXPEntityCommandScope.Individual,
201
+ },
202
+ ],
203
+ views: [
204
+ createAllQueryView({
205
+ sorts: [{ name: 'title', dir: 'asc' }],
206
+ }),
207
+ ],
208
+ },
209
+ },
210
+ },
211
+ };
212
+ return entityDef;
213
+ }
214
+
215
+ export { localesFactory };
216
+ //# sourceMappingURL=acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/entities/locales/locales.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function localesFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.locales.name,\n title: RootConfig.entities.locales.title,\n formats: {\n individual: RootConfig.entities.locales.title,\n plural: RootConfig.entities.locales.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'archive' },\n { name: 'default' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'languageId',\n title: '@locale-management:locales.entities.locale.fields.language',\n groupId: 'basic-info',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.languages.name}`,\n expose: [\n { source: 'id', target: 'language.id' },\n { source: 'title', target: 'language.title' }\n ]\n }\n }\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., en-US, es-MX',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., English (United States)',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'countryCode',\n title: '@locale-management:locales.entities.locale.fields.country-code',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., US, MX',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '250px', order: 2 } },\n { name: 'countryCode', options: { width: '100px', order: 3 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n // NOTE: languageId is NOT included here - it's passed via context\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'countryCode', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n // NOTE: languageId is NOT included here - it's immutable in update\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'countryCode', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n },\n single: {\n title: RootConfig.entities.locales.title,\n sections: [{ id: 'basic-info' }],\n actions: [\n ...entityMasterRecordActions(),\n {\n title: '@general:actions.edit.title',\n command: 'Entity:Edit',\n priority: 'primary',\n type: 'update',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@general:actions.edit.title',\n command: 'Entity:Edit',\n priority: 'secondary',\n type: 'update',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}"],"names":[],"mappings":";;;;AAIO,eAAe,cAAc,GAAA;AAEhC,IAAA,MAAM,SAAS,GAAc;AACzB,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI;AACtC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK;AACxC,QAAA,OAAO,EAAE;AACL,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK;AAC7C,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW;AAC/C,YAAA,YAAY,EAAE;AACV,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,YAAY;AAC5B,aAAA;AACJ,SAAA;AACD,QAAA,OAAO,EAAE;YACL,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,SAAS,EAAE;AACtB,SAAA;AACD,QAAA,MAAM,EAAE;AACJ,YAAA;AACI,gBAAA,EAAE,EAAE,YAAY;AAChB,gBAAA,KAAK,EAAE,qCAAqC;AAC/C,aAAA;AACJ,SAAA;AACD,QAAA,UAAU,EAAE;AACR,YAAA;AACI,gBAAA,IAAI,EAAE,YAAY;AAClB,gBAAA,KAAK,EAAE,4DAA4D;AACnE,gBAAA,OAAO,EAAE,YAAY;AACr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oBAAA,OAAO,EAAE;AACL,wBAAA,GAAG,uBAAuB,EAAE;AAC5B,wBAAA;AACI,4BAAA,KAAK,EAAE,6BAA6B;AACpC,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AAC1C,yBAAA;AACJ,qBAAA;AACD,oBAAA,KAAK,EAAE;AACH,wBAAA,kBAAkB,CAAC;4BACf,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACzC,CAAC;AACL,qBAAA;AACJ,iBAAA;AACJ,aAAA;AACJ,SAAA;KACJ;AAED,IAAA,OAAO,SAAS;AACpB;;;;"}
@@ -0,0 +1,256 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs';
4
+
5
+ async function timezonesFactory() {
6
+ const entityDef = {
7
+ module: RootConfig.module.name,
8
+ name: RootConfig.entities.timezones.name,
9
+ title: RootConfig.entities.timezones.title,
10
+ icon: RootConfig.entities.timezones.icon,
11
+ formats: {
12
+ individual: RootConfig.entities.timezones.title,
13
+ plural: RootConfig.entities.timezones.titlePlural,
14
+ searchResult: {
15
+ title: '{{ title }}',
16
+ description: '{{ code }}',
17
+ },
18
+ },
19
+ plugins: [
20
+ { name: 'archive' },
21
+ ],
22
+ groups: [
23
+ {
24
+ id: 'basic-info',
25
+ title: '@general:terms.interface.basic-info',
26
+ },
27
+ {
28
+ id: 'settings',
29
+ title: '@general:terms.interface.settings',
30
+ },
31
+ ],
32
+ properties: [
33
+ {
34
+ name: 'code',
35
+ title: '@general:terms.common.code',
36
+ groupId: 'basic-info',
37
+ options: {
38
+ sort: {
39
+ enabled: true,
40
+ },
41
+ filter: {
42
+ advance: {
43
+ enabled: true,
44
+ },
45
+ inline: {
46
+ enabled: true,
47
+ },
48
+ },
49
+ },
50
+ schema: {
51
+ dataType: 'string',
52
+ interface: {
53
+ type: AXPWidgetsCatalog.text,
54
+ options: {
55
+ placeholder: 'e.g., America/New_York',
56
+ },
57
+ },
58
+ },
59
+ validations: [
60
+ {
61
+ rule: 'required',
62
+ },
63
+ ],
64
+ },
65
+ {
66
+ name: 'title',
67
+ title: '@general:terms.common.title',
68
+ groupId: 'basic-info',
69
+ options: {
70
+ sort: {
71
+ enabled: true,
72
+ },
73
+ filter: {
74
+ advance: {
75
+ enabled: true,
76
+ },
77
+ inline: {
78
+ enabled: true,
79
+ },
80
+ },
81
+ },
82
+ schema: {
83
+ dataType: 'string',
84
+ interface: {
85
+ type: AXPWidgetsCatalog.text,
86
+ options: {
87
+ placeholder: 'e.g., Eastern Standard Time',
88
+ },
89
+ },
90
+ },
91
+ validations: [
92
+ {
93
+ rule: 'required',
94
+ },
95
+ ],
96
+ },
97
+ {
98
+ name: 'abbreviation',
99
+ title: '@locale-management:timezones.entities.timezone.fields.abbreviation',
100
+ groupId: 'basic-info',
101
+ options: {
102
+ sort: {
103
+ enabled: true,
104
+ },
105
+ filter: {
106
+ advance: {
107
+ enabled: true,
108
+ },
109
+ },
110
+ },
111
+ schema: {
112
+ dataType: 'string',
113
+ interface: {
114
+ type: AXPWidgetsCatalog.text,
115
+ options: {
116
+ placeholder: 'e.g., EST, PST',
117
+ },
118
+ },
119
+ },
120
+ },
121
+ {
122
+ name: 'standardOffset',
123
+ title: '@locale-management:timezones.entities.timezone.fields.standard-offset',
124
+ groupId: 'basic-info',
125
+ options: {
126
+ sort: {
127
+ enabled: true,
128
+ },
129
+ filter: {
130
+ advance: {
131
+ enabled: true,
132
+ },
133
+ },
134
+ },
135
+ schema: {
136
+ dataType: 'number',
137
+ interface: {
138
+ type: AXPWidgetsCatalog.number,
139
+ options: {
140
+ placeholder: 'Offset in minutes from UTC',
141
+ },
142
+ },
143
+ },
144
+ validations: [
145
+ {
146
+ rule: 'required',
147
+ },
148
+ ],
149
+ },
150
+ {
151
+ name: 'region',
152
+ title: '@locale-management:timezones.entities.timezone.fields.region',
153
+ groupId: 'basic-info',
154
+ options: {
155
+ sort: {
156
+ enabled: true,
157
+ },
158
+ filter: {
159
+ advance: {
160
+ enabled: true,
161
+ },
162
+ },
163
+ },
164
+ schema: {
165
+ dataType: 'string',
166
+ interface: {
167
+ type: AXPWidgetsCatalog.text,
168
+ options: {
169
+ placeholder: 'e.g., Americas, Europe',
170
+ },
171
+ },
172
+ },
173
+ },
174
+ {
175
+ name: 'supportsDST',
176
+ title: '@locale-management:timezones.entities.timezone.fields.supports-dst',
177
+ groupId: 'settings',
178
+ options: {
179
+ filter: {
180
+ advance: {
181
+ enabled: true,
182
+ },
183
+ },
184
+ },
185
+ schema: {
186
+ dataType: 'boolean',
187
+ interface: {
188
+ type: AXPWidgetsCatalog.toggle,
189
+ },
190
+ },
191
+ },
192
+ ],
193
+ columns: [
194
+ { name: 'code', options: { width: '200px', order: 1 } },
195
+ { name: 'title', options: { width: '250px', order: 2 } },
196
+ { name: 'abbreviation', options: { width: '100px', order: 3 } },
197
+ { name: 'standardOffset', options: { width: '120px', order: 4 } },
198
+ { name: 'supportsDST', options: { width: '80px', order: 5 } },
199
+ ],
200
+ interfaces: {
201
+ master: {
202
+ create: {
203
+ sections: [{ id: 'basic-info' }, { id: 'settings' }],
204
+ properties: [
205
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
206
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
207
+ { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
208
+ { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
209
+ { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
210
+ { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
211
+ ],
212
+ },
213
+ update: {
214
+ sections: [{ id: 'basic-info' }, { id: 'settings' }],
215
+ properties: [
216
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
217
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
218
+ { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
219
+ { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
220
+ { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
221
+ { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
222
+ ],
223
+ },
224
+ single: {
225
+ title: RootConfig.entities.timezones.title,
226
+ sections: [{ id: 'basic-info' }, { id: 'settings' }],
227
+ properties: [
228
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
229
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
230
+ { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
231
+ { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
232
+ { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
233
+ { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
234
+ ],
235
+ actions: [
236
+ ...entityMasterRecordActions(),
237
+ ],
238
+ },
239
+ list: {
240
+ actions: [
241
+ ...entityMasterCrudActions(),
242
+ ],
243
+ views: [
244
+ createAllQueryView({
245
+ sorts: [{ name: 'region', dir: 'asc' }, { name: 'title', dir: 'asc' }],
246
+ }),
247
+ ],
248
+ },
249
+ },
250
+ },
251
+ };
252
+ return entityDef;
253
+ }
254
+
255
+ export { timezonesFactory };
256
+ //# sourceMappingURL=acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/entities/timezones/timezones.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function timezonesFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.timezones.name,\n title: RootConfig.entities.timezones.title,\n icon: RootConfig.entities.timezones.icon,\n formats: {\n individual: RootConfig.entities.timezones.title,\n plural: RootConfig.entities.timezones.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n {\n id: 'settings',\n title: '@general:terms.interface.settings',\n },\n ],\n properties: [\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., America/New_York',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., Eastern Standard Time',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'abbreviation',\n title: '@locale-management:timezones.entities.timezone.fields.abbreviation',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., EST, PST',\n },\n },\n },\n },\n {\n name: 'standardOffset',\n title: '@locale-management:timezones.entities.timezone.fields.standard-offset',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsCatalog.number,\n options: {\n placeholder: 'Offset in minutes from UTC',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'region',\n title: '@locale-management:timezones.entities.timezone.fields.region',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., Americas, Europe',\n },\n },\n },\n },\n {\n name: 'supportsDST',\n title: '@locale-management:timezones.entities.timezone.fields.supports-dst',\n groupId: 'settings',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '200px', order: 1 } },\n { name: 'title', options: { width: '250px', order: 2 } },\n { name: 'abbreviation', options: { width: '100px', order: 3 } },\n { name: 'standardOffset', options: { width: '120px', order: 4 } },\n { name: 'supportsDST', options: { width: '80px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ],\n },\n single: {\n title: RootConfig.entities.timezones.title,\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ],\n actions: [\n ...entityMasterRecordActions(),\n ],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'region', dir: 'asc' }, { name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}"],"names":[],"mappings":";;;;AAIO,eAAe,gBAAgB,GAAA;AAElC,IAAA,MAAM,SAAS,GAAc;AACzB,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,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AI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACzE,CAAC;AACL,qBAAA;AACJ,iBAAA;AACJ,aAAA;AACJ,SAAA;KACJ;AAED,IAAA,OAAO,SAAS;AACpB;;;;"}
@@ -0,0 +1,2 @@
1
+ export { l as localeManagementLocalEntityCatalog } from './acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-locale-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-locale-management-client/contracts';
3
+ export { localeManagementLocalEntityCatalog } from '@acorex-platform/module-locale-management-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers locale-management layouts on the client from packaged factories.
10
+ * Each `import()` targets a secondary entry so unused entities stay out of the
11
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
12
+ * `Domain:GetEntityLayout`.
13
+ */
14
+ function provideLocaleManagementLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.languages.name]: () => import('@acorex-platform/module-locale-management-client/contracts/entities/languages').then((m) => m.languagesFactory()),
19
+ [RootConfig.entities.locales.name]: () => import('@acorex-platform/module-locale-management-client/contracts/entities/locales').then((m) => m.localesFactory()),
20
+ [RootConfig.entities.timezones.name]: () => import('@acorex-platform/module-locale-management-client/contracts/entities/timezones').then((m) => m.timezonesFactory()),
21
+ },
22
+ });
23
+ }
24
+ //#endregion
25
+
26
+ /**
27
+ * Generated bundle index. Do not edit.
28
+ */
29
+
30
+ export { provideLocaleManagementLocalEntities };
31
+ //# sourceMappingURL=acorex-platform-module-locale-management-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-local-entities.mjs","sources":["../../../../libs/modules/locale-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/locale-management/client/src/lib/acorex-platform-module-locale-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-locale-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers locale-management layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideLocaleManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.languages.name]: () =>\n import('@acorex-platform/module-locale-management-client/contracts/entities/languages').then((m) => m.languagesFactory()),\n [RootConfig.entities.locales.name]: () =>\n import('@acorex-platform/module-locale-management-client/contracts/entities/locales').then((m) => m.localesFactory()),\n [RootConfig.entities.timezones.name]: () =>\n import('@acorex-platform/module-locale-management-client/contracts/entities/timezones').then((m) => m.timezonesFactory()),\n },\n });\n}\n\nexport { localeManagementLocalEntityCatalog } from '@acorex-platform/module-locale-management-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,oCAAoC,GAAA;AAClD,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,+EAA+E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,CAAC;AAC3H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,GAAG,MAClC,OAAO,6EAA6E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,CAAC;AACvH,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,+EAA+E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,CAAC;AAC5H,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC/BA;;AAEG;;;;"}
@@ -12,6 +12,7 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
12
12
  import * as i1 from '@acorex/components/dropdown';
13
13
  import { AXDropdownModule } from '@acorex/components/dropdown';
14
14
  import { AXPopoverModule } from '@acorex/components/popover';
15
+ import { AXPLayoutThemeService } from '@acorex-platform/framework-client/themes/shared';
15
16
  import { AXPRegionalSetting, AXPPlatformScope, AXPWidgetsList, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
16
17
  import { AXPSettingsService, resolveEffectiveAvailableLanguageCodes, AXPSearchCommandProvider, createEntityCommandOptions, AXPPlatformSettingsLoadState, AXP_LOCALE_MANAGEMENT_PORT, AXPRegionalCalendarService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';
17
18
  import { AXCalendarService } from '@acorex/core/date-time';
@@ -290,6 +291,7 @@ class AXMLanguageSlotComponent {
290
291
  constructor() {
291
292
  this.localeManagementService = inject(AXMLocaleManagementService);
292
293
  this.store = inject(AXPRegionalStoreService);
294
+ this.themeStore = inject(AXPLayoutThemeService);
293
295
  this.items = signal([], /* @ts-ignore */
294
296
  ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
295
297
  }
@@ -298,11 +300,11 @@ class AXMLanguageSlotComponent {
298
300
  this.items.set(items);
299
301
  }
300
302
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMLanguageSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
301
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMLanguageSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n", dependencies: [{ kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items", "closeParentOnClick", "lockOnLoading"], outputs: ["onItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
303
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMLanguageSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button [color]=\"themeStore.headerButtonColor()\" [look]=\"themeStore.headerButtonLook()\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n", dependencies: [{ kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items", "closeParentOnClick", "lockOnLoading"], outputs: ["onItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
302
304
  }
303
305
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMLanguageSlotComponent, decorators: [{
304
306
  type: Component,
305
- args: [{ imports: [AXDropdownModule, AXDecoratorModule, AXPopoverModule, AXButtonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n" }]
307
+ args: [{ imports: [AXDropdownModule, AXDecoratorModule, AXPopoverModule, AXButtonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-button [color]=\"themeStore.headerButtonColor()\" [look]=\"themeStore.headerButtonLook()\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n" }]
306
308
  }] });
307
309
 
308
310
  /**