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

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 (18) hide show
  1. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-languages.mjs.map +1 -1
  2. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-locales.mjs.map +1 -1
  3. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs.map +1 -1
  4. 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 -1
  5. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs.map +1 -1
  8. package/fesm2022/acorex-platform-module-locale-management-client-contracts.mjs +2 -2
  9. package/fesm2022/acorex-platform-module-locale-management-client-contracts.mjs.map +1 -1
  10. package/fesm2022/acorex-platform-module-locale-management-client-list-available-locale-profiles.query-30KT5v3V.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-module-locale-management-client-list-locale-profiles.query-D_PLL72r.mjs.map +1 -1
  12. package/fesm2022/acorex-platform-module-locale-management-client-local-entities.mjs.map +1 -1
  13. package/fesm2022/{acorex-platform-module-locale-management-client-profiles-l46U-cgo.mjs → acorex-platform-module-locale-management-client-profiles-C3oWqD10.mjs} +2 -1
  14. package/fesm2022/acorex-platform-module-locale-management-client-profiles-C3oWqD10.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-locale-management-client.mjs +2 -2
  16. package/fesm2022/acorex-platform-module-locale-management-client.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/fesm2022/acorex-platform-module-locale-management-client-profiles-l46U-cgo.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-locale-management-client-contracts.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/lib/context.definitions.ts","../../../../libs/modules/locale-management/contracts/src/menu.keys.ts","../../../../libs/modules/locale-management/contracts/src/permission.keys.ts","../../../../libs/modules/locale-management/contracts/src/locale-profile-catalog.configure.ts","../../../../libs/modules/locale-management/contracts/src/root-config.ts","../../../../libs/modules/locale-management/contracts/src/index.ts","../../../../libs/modules/locale-management/contracts/src/acorex-platform-module-locale-management-client-contracts.ts"],"sourcesContent":["import type { AXPContextDefinition } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Locale & regional context definitions ----\n\nexport const AXM_LOCALE_CONTEXT_DEFINITIONS: AXPContextDefinition[] = [\n {\n name: 'locale',\n title: 'UI locale',\n description:\n 'Active UI language code from the translation service (e.g. en-US, fa-IR). Controls labels and locale-aware explanations.',\n order: 40,\n capabilities: ['ai'],\n },\n {\n name: 'calendarSystem',\n title: 'Calendar system',\n description:\n 'User regional setting for calendar system (e.g. Gregorian, Jalali). Used for date interpretation and scheduling answers.',\n order: 50,\n capabilities: ['ai'],\n },\n {\n name: 'timeZone',\n title: 'Time zone',\n description: 'IANA time zone from user regional settings. Used with current local date/time for scheduling context.',\n order: 60,\n capabilities: ['ai'],\n },\n {\n name: 'country',\n title: 'Country',\n description: 'User regional country setting. Informs locale-specific conventions and regional defaults.',\n order: 70,\n capabilities: ['ai'],\n },\n];\n\n//#endregion\n","export const AXPLocaleManagementMenuKeys = {\n Root: 'locale-management:menu',\n Languages: 'locale-management:menu:languages',\n Divider1: 'locale-management:menu:divider-1',\n Timezones: 'locale-management:menu:timezones',\n} as const;\n\n","/**\n * Applications & Platform capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPApplicationsPlatformPermissionKeys = {\n Access: 'ApplicationsPlatform:Permission:Access',\n MaintainApplications: 'ApplicationsPlatform:Permission:MaintainApplications',\n MaintainTenants: 'ApplicationsPlatform:Permission:MaintainTenants',\n MaintainPlatformShell: 'ApplicationsPlatform:Permission:MaintainPlatformShell',\n MaintainLandingPages: 'ApplicationsPlatform:Permission:MaintainLandingPages',\n MaintainIdentifiers: 'ApplicationsPlatform:Permission:MaintainIdentifiers',\n MaintainTenantSettings: 'ApplicationsPlatform:Permission:MaintainTenantSettings',\n MaintainPlatformSettings: 'ApplicationsPlatform:Permission:MaintainPlatformSettings',\n MaintainLocales: 'ApplicationsPlatform:Permission:MaintainLocales',\n UseDevTools: 'ApplicationsPlatform:Permission:UseDevTools',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPApplicationsPlatformPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPermissionsKeys = {\n LocaleManagement: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Language: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n View: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Edit: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Delete: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Create: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n },\n Timezone: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n View: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Edit: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Delete: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Create: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n },\n },\n} as const;\n","//#region ----- Locale profile catalog (Available Languages picker) -----\n\n/**\n * Optional allow-list of built-in locale profile codes for the Available Languages\n * picker (`getLocaleProfiles`). Empty default (`null`) = all built-in profiles.\n *\n * Product/deploy apps call {@link configureLocaleProfileCatalogCodes} at boot\n * (e.g. AU nest environment omits `fa-IR`).\n */\nlet localeProfileCatalogCodes: readonly string[] | null = null;\n\n/**\n * Restrict which built-in locale profiles appear in the Available Languages picker.\n * Pass `null` or an empty list to restore the full built-in catalog.\n */\nexport function configureLocaleProfileCatalogCodes(codes: readonly string[] | null): void {\n if (!Array.isArray(codes) || codes.length === 0) {\n localeProfileCatalogCodes = null;\n return;\n }\n localeProfileCatalogCodes = codes.map((code) => String(code).trim()).filter(Boolean);\n if (localeProfileCatalogCodes.length === 0) {\n localeProfileCatalogCodes = null;\n }\n}\n\n/** Configured catalog allow-list, or `null` when the full built-in catalog is used. */\nexport function getLocaleProfileCatalogCodes(): readonly string[] | null {\n return localeProfileCatalogCodes;\n}\n\n//#endregion\n","const config = {\n i18n: 'locale-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: 'LocaleManagement',\n title: '@locale-management:module.title',\n icon: 'fa-light fa-globe',\n },\n entities: {\n languages: {\n name: 'Languages',\n title: '@locale-management:languages.entities.language.title',\n titlePlural: '@locale-management:languages.entities.language.plural',\n icon: 'fa-light fa-language',\n },\n locales: {\n name: 'Locales',\n title: '@locale-management:locales.entities.locale.title',\n titlePlural: '@locale-management:locales.entities.locale.plural',\n icon: 'fa-light fa-globe',\n },\n timezones: {\n name: 'Timezones',\n title: '@locale-management:timezones.entities.timezone.title',\n titlePlural: '@locale-management:timezones.entities.timezone.plural',\n icon: 'fa-light fa-clock',\n },\n },\n} as const;\n","//#region ---- Contracts barrel ----\n\nexport * from './lib/context.definitions';\nexport * from './menu.keys';\nexport * from './permission.keys';\nexport * from './locale-profile-catalog.configure';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAEA;AAEO,MAAM,8BAA8B,GAA2B;AACpE,IAAA;AACE,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,KAAK,EAAE,WAAW;AAClB,QAAA,WAAW,EACT,0HAA0H;AAC5H,QAAA,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC,IAAI,CAAC;AACrB,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;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,sDAAsD;AAC7D,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,kDAAkD;AACzD,YAAA,WAAW,EAAE,mDAAmD;AAChE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,sDAAsD;AAC7D,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACF,KAAA;;;AC9BH;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-contracts.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/lib/context.definitions.ts","../../../../libs/modules/locale-management/contracts/src/menu.keys.ts","../../../../libs/modules/locale-management/contracts/src/permission.keys.ts","../../../../libs/modules/locale-management/contracts/src/locale-profile-catalog.configure.ts","../../../../libs/modules/locale-management/contracts/src/root-config.ts","../../../../libs/modules/locale-management/contracts/src/index.ts","../../../../libs/modules/locale-management/contracts/src/acorex-platform-module-locale-management-client-contracts.ts"],"sourcesContent":["import type { AXPContextDefinition } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Locale & regional context definitions ----\n\nexport const AXM_LOCALE_CONTEXT_DEFINITIONS: AXPContextDefinition[] = [\n {\n name: 'locale',\n title: 'UI locale',\n description:\n 'Active UI language code from the translation service (e.g. en-US, fa-IR). Controls labels and locale-aware explanations.',\n order: 40,\n capabilities: ['ai'],\n },\n {\n name: 'calendarSystem',\n title: 'Calendar system',\n description:\n 'User regional setting for calendar system (e.g. Gregorian, Jalali). Used for date interpretation and scheduling answers.',\n order: 50,\n capabilities: ['ai'],\n },\n {\n name: 'timeZone',\n title: 'Time zone',\n description: 'IANA time zone from user regional settings. Used with current local date/time for scheduling context.',\n order: 60,\n capabilities: ['ai'],\n },\n {\n name: 'country',\n title: 'Country',\n description: 'User regional country setting. Informs locale-specific conventions and regional defaults.',\n order: 70,\n capabilities: ['ai'],\n },\n];\n\n//#endregion\n","export const AXPLocaleManagementMenuKeys = {\n Root: 'locale-management:menu',\n Languages: 'locale-management:menu:languages',\n Divider1: 'locale-management:menu:divider-1',\n Timezones: 'locale-management:menu:timezones',\n} as const;\n\n","/**\n * Applications & Platform capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPApplicationsPlatformPermissionKeys = {\n Access: 'ApplicationsPlatform:Permission:Access',\n MaintainApplications: 'ApplicationsPlatform:Permission:MaintainApplications',\n MaintainTenants: 'ApplicationsPlatform:Permission:MaintainTenants',\n MaintainPlatformShell: 'ApplicationsPlatform:Permission:MaintainPlatformShell',\n MaintainLandingPages: 'ApplicationsPlatform:Permission:MaintainLandingPages',\n MaintainIdentifiers: 'ApplicationsPlatform:Permission:MaintainIdentifiers',\n MaintainTenantSettings: 'ApplicationsPlatform:Permission:MaintainTenantSettings',\n MaintainPlatformSettings: 'ApplicationsPlatform:Permission:MaintainPlatformSettings',\n MaintainLocales: 'ApplicationsPlatform:Permission:MaintainLocales',\n UseDevTools: 'ApplicationsPlatform:Permission:UseDevTools',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPApplicationsPlatformPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPermissionsKeys = {\n LocaleManagement: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Language: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n View: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Edit: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Delete: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Create: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n },\n Timezone: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n View: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Edit: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Delete: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n Create: AXPApplicationsPlatformPermissionKeys.MaintainLocales,\n },\n },\n} as const;\n","//#region ----- Locale profile catalog (Available Languages picker) -----\n\n/**\n * Optional allow-list of built-in locale profile codes for the Available Languages\n * picker (`getLocaleProfiles`). Empty default (`null`) = all built-in profiles.\n *\n * Product/deploy apps may call {@link configureLocaleProfileCatalogCodes} at boot.\n * Prefer tenant `AvailableLanguages` when only some tenants should hide a locale.\n */\nlet localeProfileCatalogCodes: readonly string[] | null = null;\n\n/**\n * Restrict which built-in locale profiles appear in the Available Languages picker.\n * Pass `null` or an empty list to restore the full built-in catalog.\n */\nexport function configureLocaleProfileCatalogCodes(codes: readonly string[] | null): void {\n if (!Array.isArray(codes) || codes.length === 0) {\n localeProfileCatalogCodes = null;\n return;\n }\n localeProfileCatalogCodes = codes.map((code) => String(code).trim()).filter(Boolean);\n if (localeProfileCatalogCodes.length === 0) {\n localeProfileCatalogCodes = null;\n }\n}\n\n/** Configured catalog allow-list, or `null` when the full built-in catalog is used. */\nexport function getLocaleProfileCatalogCodes(): readonly string[] | null {\n return localeProfileCatalogCodes;\n}\n\n//#endregion\n","const config = {\n i18n: 'locale-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: 'LocaleManagement',\n title: '@locale-management:module.title',\n icon: 'fa-light fa-globe',\n },\n entities: {\n languages: {\n name: 'Languages',\n title: '@locale-management:languages.entities.language.title',\n titlePlural: '@locale-management:languages.entities.language.plural',\n icon: 'fa-light fa-language',\n },\n locales: {\n name: 'Locales',\n title: '@locale-management:locales.entities.locale.title',\n titlePlural: '@locale-management:locales.entities.locale.plural',\n icon: 'fa-light fa-globe',\n },\n timezones: {\n name: 'Timezones',\n title: '@locale-management:timezones.entities.timezone.title',\n titlePlural: '@locale-management:timezones.entities.timezone.plural',\n icon: 'fa-light fa-clock',\n },\n },\n} as const;\n","//#region ---- Contracts barrel ----\n\nexport * from './lib/context.definitions';\nexport * from './menu.keys';\nexport * from './permission.keys';\nexport * from './locale-profile-catalog.configure';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAEA;AAEO,MAAM,8BAA8B,GAA2B;AACpE,IAAA;AACE,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,KAAK,EAAE,WAAW;AAClB,QAAA,WAAW,EACT,0HAA0H;AAC5H,QAAA,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC,IAAI,CAAC;AACrB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,gBAAgB;AACtB,QAAA,KAAK,EAAE,iBAAiB;AACxB,QAAA,WAAW,EACT,0HAA0H;AAC5H,QAAA,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC,IAAI,CAAC;AACrB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,UAAU;AAChB,QAAA,KAAK,EAAE,WAAW;AAClB,QAAA,WAAW,EAAE,uGAAuG;AACpH,QAAA,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC,IAAI,CAAC;AACrB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,2FAA2F;AACxG,QAAA,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC,IAAI,CAAC;AACrB,KAAA;;AAGH;;ACrCO,MAAM,2BAA2B,GAAG;AACvC,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,SAAS,EAAE,kCAAkC;AAC7C,IAAA,QAAQ,EAAE,kCAAkC;A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yB,GAAG,IAAI;QAChC;IACF;IACA,yBAAyB,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;AACpF,IAAA,IAAI,yBAAyB,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1C,yBAAyB,GAAG,IAAI;IAClC;AACF;AAEA;SACgB,4BAA4B,GAAA;AAC1C,IAAA,OAAO,yBAAyB;AAClC;AAEA;;AC/BA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,mBAAmB;CAC1B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,kBAAkB;AACxB,QAAA,KAAK,EAAE,iCAAiC;AACxC,QAAA,IAAI,EAAE,mBAAmB;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,sDAAsD;AAC7D,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,kDAAkD;AACzD,YAAA,WAAW,EAAE,mDAAmD;AAChE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,sDAAsD;AAC7D,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACF,KAAA;;;AC9BH;;ACAA;;AAEG;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-locale-management-client-list-available-locale-profiles.query-30KT5v3V.mjs","sources":["../../../../libs/modules/locale-management/client/src/lib/features/queries/list-available-locale-profiles.query.ts"],"sourcesContent":["import {\n resolveCollectionSkip,\n resolveCollectionTake,\n type AXPCollectionQuery,\n type AXPCollectionQueryInput,\n type AXPQueryCollectionFetchResultPromise,\n} from '@acorex-platform/framework-shared/runtime';\nimport {\n runtimeQueryFailure,\n runtimeQuerySuccessCollection,\n} from '@acorex-platform/framework-shared/core';\nimport { applyFilterArray, applySortArray } from '@acorex-platform/framework-client/core';\nimport { AXPLocaleProfile } from '@acorex-platform/framework-client/common';\n\nimport { Injectable, inject } from '@angular/core';\n\nimport { AXMLocaleManagementService } from '../shared/locale-management.service';\n\n//#region ---- Types ----\n\nexport type AXMListAvailableLocaleProfilesQueryInput = AXPCollectionQueryInput;\n\nexport type AXMListAvailableLocaleProfilesQueryItem = AXPLocaleProfile;\n\n//#endregion\n\n//#region ---- Query ----\n\n/**\n * Tenant-allowed locale profile catalog — replaces the `available-locale-profiles` DI data source.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMListAvailableLocaleProfilesQuery\n implements\n AXPCollectionQuery<\n AXMListAvailableLocaleProfilesQueryInput,\n AXMListAvailableLocaleProfilesQueryItem\n >\n{\n //#region ---- Services & Dependencies ----\n\n private readonly localeManagement = inject(AXMLocaleManagementService);\n\n //#endregion\n\n //#region ---- Query Execution ----\n\n async fetch(\n input?: AXMListAvailableLocaleProfilesQueryInput | null,\n ): AXPQueryCollectionFetchResultPromise<AXMListAvailableLocaleProfilesQueryItem> {\n try {\n let items = [...(await this.localeManagement.getAvailableLocaleProfiles())];\n\n if (input?.filter) {\n items = applyFilterArray(items, [input.filter]);\n }\n\n const rawSort = Array.isArray(input?.sort) ? input.sort : input?.sort ? [input.sort] : [];\n const sortOpt = rawSort.length > 0 ? rawSort : [{ field: 'code' as const, dir: 'asc' as const }];\n items = applySortArray(items, sortOpt);\n\n const skip = resolveCollectionSkip(input?.skip);\n const take = resolveCollectionTake(input?.take);\n const total = items.length;\n const page = items.slice(skip, skip + take);\n\n return runtimeQuerySuccessCollection({ items: page, total });\n } catch (error) {\n return runtimeQueryFailure(\n error instanceof Error ? error.message : 'Unknown error occurred',\n );\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAwBA;AAEA;AAEA;;AAEG;MAEU,mCAAmC,CAAA;AADhD,IAAA,WAAA,GAAA;;AAUmB,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAkCvE,IAAA;;;IA5BC,MAAM,KAAK,CACT,KAAuD,EAAA;AAEvD,QAAA,IAAI;AACF,YAAA,IAAI,KAAK,GAAG,CAAC,IAAI,MAAM,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,EAAE,CAAC,CAAC;AAE3E,YAAA,IAAI,KAAK,EAAE,MAAM,EAAE;gBACjB,KAAK,GAAG,gBAAgB,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YACjD;AAEA,YAAA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE;YACzF,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,GAAG,CAAC,EAAE,KAAK,EAAE,MAAe,EAAE,GAAG,EAAE,KAAc,EAAE,CAAC;AAChG,YAAA,KAAK,GAAG,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC;YAEtC,MAAM,IAAI,GAAG,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC;YAC/C,MAAM,IAAI,GAAG,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC;AAC/C,YAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM;AAC1B,YAAA,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;YAE3C,OAAO,6BAA6B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;QAC9D;QAAE,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,mBAAmB,CACxB,KAAK,YAAY,KAAK,GAAG,KAAK,CAAC,OAAO,GAAG,wBAAwB,CAClE;QACH;IACF;8GAxCW,mCAAmC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAnC,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mCAAmC,cADtB,MAAM,EAAA,CAAA,CAAA;;2FACnB,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAD/C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-list-available-locale-profiles.query-30KT5v3V.mjs","sources":["../../../../libs/modules/locale-management/client/src/lib/features/queries/list-available-locale-profiles.query.ts"],"sourcesContent":["import {\n resolveCollectionSkip,\n resolveCollectionTake,\n type AXPCollectionQuery,\n type AXPCollectionQueryInput,\n type AXPQueryCollectionFetchResultPromise,\n} from '@acorex-platform/framework-shared/runtime';\nimport {\n runtimeQueryFailure,\n runtimeQuerySuccessCollection,\n} from '@acorex-platform/framework-shared/core';\nimport { applyFilterArray, applySortArray } from '@acorex-platform/framework-client/core';\nimport { AXPLocaleProfile } from '@acorex-platform/framework-client/common';\n\nimport { Injectable, inject } from '@angular/core';\n\nimport { AXMLocaleManagementService } from '../shared/locale-management.service';\n\n//#region ---- Types ----\n\nexport type AXMListAvailableLocaleProfilesQueryInput = AXPCollectionQueryInput;\n\nexport type AXMListAvailableLocaleProfilesQueryItem = AXPLocaleProfile;\n\n//#endregion\n\n//#region ---- Query ----\n\n/**\n * Tenant-allowed locale profile catalog — replaces the `available-locale-profiles` DI data source.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMListAvailableLocaleProfilesQuery\n implements\n AXPCollectionQuery<\n AXMListAvailableLocaleProfilesQueryInput,\n AXMListAvailableLocaleProfilesQueryItem\n >\n{\n //#region ---- Services & Dependencies ----\n\n private readonly localeManagement = inject(AXMLocaleManagementService);\n\n //#endregion\n\n //#region ---- Query Execution ----\n\n async fetch(\n input?: AXMListAvailableLocaleProfilesQueryInput | null,\n ): AXPQueryCollectionFetchResultPromise<AXMListAvailableLocaleProfilesQueryItem> {\n try {\n let items = [...(await this.localeManagement.getAvailableLocaleProfiles())];\n\n if (input?.filter) {\n items = applyFilterArray(items, [input.filter]);\n }\n\n const rawSort = Array.isArray(input?.sort) ? input.sort : input?.sort ? [input.sort] : [];\n const sortOpt = rawSort.length > 0 ? rawSort : [{ field: 'code' as const, dir: 'asc' as const }];\n items = applySortArray(items, sortOpt);\n\n const skip = resolveCollectionSkip(input?.skip);\n const take = resolveCollectionTake(input?.take);\n const total = items.length;\n const page = items.slice(skip, skip + take);\n\n return runtimeQuerySuccessCollection({ items: page, total });\n } catch (error) {\n return runtimeQueryFailure(\n error instanceof Error ? error.message : 'Unknown error occurred',\n );\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAwBA;AAEA;AAEA;;AAEG;MAEU,mCAAmC,CAAA;AADhD,IAAA,WAAA,GAAA;;AAUmB,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAkCvE,IAAA;;;IA5BC,MAAM,KAAK,CACT,KAAuD,EAAA;AAEvD,QAAA,IAAI;AACF,YAAA,IAAI,KAAK,GAAG,CAAC,IAAI,MAAM,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,EAAE,CAAC,CAAC;AAE3E,YAAA,IAAI,KAAK,EAAE,MAAM,EAAE;gBACjB,KAAK,GAAG,gBAAgB,CAAC,KAAK,EAAE,CAAC,K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kBAD/C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-locale-management-client-list-locale-profiles.query-D_PLL72r.mjs","sources":["../../../../libs/modules/locale-management/client/src/lib/features/queries/list-locale-profiles.query.ts"],"sourcesContent":["import {\n resolveCollectionSkip,\n resolveCollectionTake,\n type AXPCollectionQuery,\n type AXPCollectionQueryInput,\n type AXPQueryCollectionFetchResultPromise,\n} from '@acorex-platform/framework-shared/runtime';\nimport {\n runtimeQueryFailure,\n runtimeQuerySuccessCollection,\n} from '@acorex-platform/framework-shared/core';\nimport { applyFilterArray, applySortArray } from '@acorex-platform/framework-client/core';\nimport { AXPLocaleProfile } from '@acorex-platform/framework-client/common';\n\nimport { Injectable, inject } from '@angular/core';\n\nimport { AXMLocaleManagementService } from '../shared/locale-management.service';\n\n//#region ---- Types ----\n\nexport type AXMListLocaleProfilesQueryInput = AXPCollectionQueryInput;\n\nexport type AXMListLocaleProfilesQueryItem = AXPLocaleProfile;\n\n//#endregion\n\n//#region ---- Query ----\n\n/**\n * Built-in locale profile catalog — replaces the `locale-profiles` DI data source.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMListLocaleProfilesQuery\n implements AXPCollectionQuery<AXMListLocaleProfilesQueryInput, AXMListLocaleProfilesQueryItem>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly localeManagement = inject(AXMLocaleManagementService);\n\n //#endregion\n\n //#region ---- Query Execution ----\n\n async fetch(\n input?: AXMListLocaleProfilesQueryInput | null,\n ): AXPQueryCollectionFetchResultPromise<AXMListLocaleProfilesQueryItem> {\n try {\n let items = [...(await this.localeManagement.getLocaleProfiles())];\n\n if (input?.filter) {\n items = applyFilterArray(items, [input.filter]);\n }\n\n const rawSort = Array.isArray(input?.sort) ? input.sort : input?.sort ? [input.sort] : [];\n const sortOpt = rawSort.length > 0 ? rawSort : [{ field: 'code' as const, dir: 'asc' as const }];\n items = applySortArray(items, sortOpt);\n\n const skip = resolveCollectionSkip(input?.skip);\n const take = resolveCollectionTake(input?.take);\n const total = items.length;\n const page = items.slice(skip, skip + take);\n\n return runtimeQuerySuccessCollection({ items: page, total });\n } catch (error) {\n return runtimeQueryFailure(\n error instanceof Error ? error.message : 'Unknown error occurred',\n );\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAwBA;AAEA;AAEA;;AAEG;MAEU,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAMmB,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAkCvE,IAAA;;;IA5BC,MAAM,KAAK,CACT,KAA8C,EAAA;AAE9C,QAAA,IAAI;AACF,YAAA,IAAI,KAAK,GAAG,CAAC,IAAI,MAAM,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAElE,YAAA,IAAI,KAAK,EAAE,MAAM,EAAE;gBACjB,KAAK,GAAG,gBAAgB,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YACjD;AAEA,YAAA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE;YACzF,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,GAAG,CAAC,EAAE,KAAK,EAAE,MAAe,EAAE,GAAG,EAAE,KAAc,EAAE,CAAC;AAChG,YAAA,KAAK,GAAG,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC;YAEtC,MAAM,IAAI,GAAG,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC;YAC/C,MAAM,IAAI,GAAG,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC;AAC/C,YAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM;AAC1B,YAAA,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;YAE3C,OAAO,6BAA6B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;QAC9D;QAAE,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,mBAAmB,CACxB,KAAK,YAAY,KAAK,GAAG,KAAK,CAAC,OAAO,GAAG,wBAAwB,CAClE;QACH;IACF;8GApCW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADb,MAAM,EAAA,CAAA,CAAA;;2FACnB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-list-locale-profiles.query-D_PLL72r.mjs","sources":["../../../../libs/modules/locale-management/client/src/lib/features/queries/list-locale-profiles.query.ts"],"sourcesContent":["import {\n resolveCollectionSkip,\n resolveCollectionTake,\n type AXPCollectionQuery,\n type AXPCollectionQueryInput,\n type AXPQueryCollectionFetchResultPromise,\n} from '@acorex-platform/framework-shared/runtime';\nimport {\n runtimeQueryFailure,\n runtimeQuerySuccessCollection,\n} from '@acorex-platform/framework-shared/core';\nimport { applyFilterArray, applySortArray } from '@acorex-platform/framework-client/core';\nimport { AXPLocaleProfile } from '@acorex-platform/framework-client/common';\n\nimport { Injectable, inject } from '@angular/core';\n\nimport { AXMLocaleManagementService } from '../shared/locale-management.service';\n\n//#region ---- Types ----\n\nexport type AXMListLocaleProfilesQueryInput = AXPCollectionQueryInput;\n\nexport type AXMListLocaleProfilesQueryItem = AXPLocaleProfile;\n\n//#endregion\n\n//#region ---- Query ----\n\n/**\n * Built-in locale profile catalog — replaces the `locale-profiles` DI data source.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMListLocaleProfilesQuery\n implements AXPCollectionQuery<AXMListLocaleProfilesQueryInput, AXMListLocaleProfilesQueryItem>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly localeManagement = inject(AXMLocaleManagementService);\n\n //#endregion\n\n //#region ---- Query Execution ----\n\n async fetch(\n input?: AXMListLocaleProfilesQueryInput | null,\n ): AXPQueryCollectionFetchResultPromise<AXMListLocaleProfilesQueryItem> {\n try {\n let items = [...(await this.localeManagement.getLocaleProfiles())];\n\n if (input?.filter) {\n items = applyFilterArray(items, [input.filter]);\n }\n\n const rawSort = Array.isArray(input?.sort) ? input.sort : input?.sort ? [input.sort] : [];\n const sortOpt = rawSort.length > 0 ? rawSort : [{ field: 'code' as const, dir: 'asc' as const }];\n items = applySortArray(items, sortOpt);\n\n const skip = resolveCollectionSkip(input?.skip);\n const take = resolveCollectionTake(input?.take);\n const total = items.length;\n const page = items.slice(skip, skip + take);\n\n return runtimeQuerySuccessCollection({ items: page, total });\n } catch (error) {\n return runtimeQueryFailure(\n error instanceof Error ? error.message : 'Unknown error occurred',\n );\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAwBA;AAEA;AAEA;;AAEG;MAEU,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAMmB,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAkCvE,IAAA;;;IA5BC,MAAM,KAAK,CACT,KAA8C,EAAA;AAE9C,QAAA,IAAI;AACF,YAAA,IAAI,KAAK,GAAG,CAAC,IAAI,MAAM,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAElE,YAAA,IAAI,KAAK,EAAE,MAAM,EAAE;gB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,CAAA;;2FACnB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
@@ -1 +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;;;;"}
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;;"}
@@ -15,6 +15,7 @@ const profiles = [
15
15
  ...AXIRLocaleProfile.calendar,
16
16
  system: 'solar-hijri',
17
17
  week: {
18
+ ...AXIRLocaleProfile.calendar.week,
18
19
  startsOn: 6,
19
20
  weekends: [4, 5],
20
21
  },
@@ -98,4 +99,4 @@ const profiles = [
98
99
  const DEFAULT_AVAILABLE_LOCALE_PROFILE_CODES = profiles.map((p) => p.code);
99
100
 
100
101
  export { DEFAULT_AVAILABLE_LOCALE_PROFILE_CODES, profiles };
101
- //# sourceMappingURL=acorex-platform-module-locale-management-client-profiles-l46U-cgo.mjs.map
102
+ //# sourceMappingURL=acorex-platform-module-locale-management-client-profiles-C3oWqD10.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-locale-management-client-profiles-C3oWqD10.mjs","sources":["../../../../libs/modules/locale-management/client/src/lib/features/shared/data/profiles.ts"],"sourcesContent":["import { AXAULocaleProfile, AXIRLocaleProfile, AXUSLocaleProfile } from '@acorex/core/locale';\nimport { AXPLocaleProfile } from '@acorex-platform/framework-client/common';\n\n/**\n * Temporary: `calendar.week.weekends` uses AXCalendarConfig.weekend indexes\n * (what ax-calendar checks as dayOfWeek - 1), not JS Date#getDay().\n * Fix properly in @acorex/core / @acorex/components later.\n */\nexport const profiles: AXPLocaleProfile[] = [\n {\n ...AXIRLocaleProfile,\n code: 'fa-IR',\n title: 'Persian (Iran)',\n nativeTitle: 'فارسی (ایران)',\n calendar: {\n ...AXIRLocaleProfile.calendar,\n system: 'solar-hijri',\n week: {\n ...AXIRLocaleProfile.calendar.week,\n startsOn: 6,\n weekends: [4, 5],\n },\n },\n },\n {\n ...AXUSLocaleProfile,\n code: 'en-US',\n title: 'English (United States)',\n nativeTitle: 'English (United States)',\n calendar: {\n ...AXUSLocaleProfile.calendar,\n },\n formats: {\n ...AXUSLocaleProfile.formats,\n date: {\n ...(AXUSLocaleProfile.formats?.date ?? {}),\n short: 'MM/DD/YYYY',\n medium: 'MMM D, YYYY',\n long: 'MMMM D, YYYY',\n },\n },\n },\n {\n ...AXAULocaleProfile,\n code: 'en-AU',\n title: 'English (Australia)',\n nativeTitle: 'English (Australia)',\n calendar: {\n ...AXAULocaleProfile.calendar,\n },\n formats: {\n ...AXAULocaleProfile.formats,\n date: {\n ...(AXAULocaleProfile.formats?.date ?? {}),\n short: 'DD/MM/YYYY',\n medium: 'D/MM/YYYY',\n long: 'D MMMM YYYY',\n },\n },\n },\n // en-NZ: same regional formats as en-AU until @acorex/core ships AXNZLocaleProfile.\n {\n ...AXAULocaleProfile,\n code: 'en-NZ',\n title: 'English (New Zealand)',\n nativeTitle: 'English (New Zealand)',\n localeInfo: {\n ...AXAULocaleProfile.localeInfo,\n code: 'en-NZ',\n region: 'NZ',\n timezone: 'Pacific/Auckland',\n },\n calendar: {\n ...AXAULocaleProfile.calendar,\n },\n formats: {\n ...AXAULocaleProfile.formats,\n date: {\n ...(AXAULocaleProfile.formats?.date ?? {}),\n short: 'DD/MM/YYYY',\n medium: 'D/MM/YYYY',\n long: 'D MMMM YYYY',\n },\n numbers: {\n ...AXAULocaleProfile.formats?.numbers,\n currency: {\n ...(AXAULocaleProfile.formats?.numbers?.currency ?? {}),\n code: 'NZD',\n },\n },\n },\n i18nMeta: {\n ...AXAULocaleProfile.i18nMeta,\n supportedLanguages: ['en-NZ'],\n fallbackLocales: ['en-US'],\n },\n },\n];\n\n/** Default platform allow-list: every built-in locale profile code. */\nexport const DEFAULT_AVAILABLE_LOCALE_PROFILE_CODES: string[] = profiles.map((p) => p.code);\n"],"names":[],"mappings":";;AAGA;;;;AAIG;AACI,MAAM,QAAQ,GAAuB;AAC1C,IAAA;AACE,QAAA,GAAG,iBAAiB;AACpB,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,KAAK,EAAE,gBAAgB;AACvB,QAAA,WAAW,EAAE,eAAe;AAC5B,QAAA,QAAQ,EAAE;YACR,GAAG,iBAAiB,CAAC,QAAQ;AAC7B,YAAA,MAAM,EAAE,aAAa;AACrB,YAAA,IAAI,EAAE;AACJ,gBAAA,GAAG,iBAAiB,CAAC,QAAQ,CAAC,IAAI;AAClC,gBAAA,QAAQ,EAAE,CAAC;AACX,gBAAA,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACjB,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA;AACE,QAAA,GAAG,iBAAiB;AACpB,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,KAAK,EAAE,yBAAyB;AAChC,QAAA,WAAW,EAAE,yBAAyB;AACtC,QAAA,QAAQ,EAAE;YACR,G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ACJ,IAAI,iBAAiB,CAAC,OAAO,EAAE,IAAI,IAAI,EAAE,CAAC;AAC1C,gBAAA,KAAK,EAAE,YAAY;AACnB,gBAAA,MAAM,EAAE,WAAW;AACnB,gBAAA,IAAI,EAAE,aAAa;AACpB,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,GAAG,iBAAiB,CAAC,OAAO,EAAE,OAAO;AACrC,gBAAA,QAAQ,EAAE;oBACR,IAAI,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,IAAI,EAAE,CAAC;AACvD,oBAAA,IAAI,EAAE,KAAK;AACZ,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,QAAQ,EAAE;YACR,GAAG,iBAAiB,CAAC,QAAQ;YAC7B,kBAAkB,EAAE,CAAC,OAAO,CAAC;YAC7B,eAAe,EAAE,CAAC,OAAO,CAAC;AAC3B,SAAA;AACF,KAAA;;AAGH;AACO,MAAM,sCAAsC,GAAa,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI;;"}
@@ -182,7 +182,7 @@ class AXMLocaleManagementService {
182
182
  };
183
183
  }
184
184
  async getLocaleProfiles() {
185
- const { profiles } = await import('./acorex-platform-module-locale-management-client-profiles-l46U-cgo.mjs');
185
+ const { profiles } = await import('./acorex-platform-module-locale-management-client-profiles-C3oWqD10.mjs');
186
186
  const catalogCodes = getLocaleProfileCatalogCodes();
187
187
  if (!catalogCodes?.length) {
188
188
  return profiles;
@@ -300,7 +300,7 @@ class AXMLanguageSlotComponent {
300
300
  this.items.set(items);
301
301
  }
302
302
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMLanguageSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
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 }); }
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", "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 }); }
304
304
  }
305
305
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMLanguageSlotComponent, decorators: [{
306
306
  type: Component,